﻿/* =============================================
   UNIT PILATES â€” CSS COMPARTILHADO
   Identidade Visual Aprovada Â· Vitalidade
   ============================================= */
:root {
  --blue:        #1565F2;
  --blue-dark:   #0D1B5E;
  --blue-mid:    #4A84F5;
  --blue-light:  #93B4FA;
  --blue-surface:#EBF1FF;
  --white:       #FFFFFF;
  --off-white:   #F5F8FF;
  --text-dark:   #0D1B5E;
  --text-mid:    #3D5A99;
  --text-light:  #6B7A9A;
  --border:      #D0DCFF;
  --shadow:      rgba(21,101,242,0.12);
  --font-head:   'Montserrat', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --r-sm:6px; --r-md:12px; --r-lg:20px; --r-pill:100px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--white);color:var(--text-dark);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

/* HEADER */
.header{position:sticky;top:0;z-index:100;background:var(--white);border-bottom:3px solid var(--blue);height:80px;display:flex;align-items:center;padding:0 60px;justify-content:space-between;box-shadow:0 2px 16px rgba(21,101,242,.08)}
.header-logo img{height:56px;width:auto}
.header-logo-fallback{display:none;align-items:center;gap:10px}
.logo-mark{width:40px;height:40px;background:var(--blue);border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-family:var(--font-head);font-size:16px;font-weight:800}
.logo-text-name{font-family:var(--font-head);font-size:20px;font-weight:800;letter-spacing:3px;color:var(--blue-dark);text-transform:uppercase}
.logo-text-sub{display:block;font-family:var(--font-body);font-size:9px;font-weight:500;letter-spacing:3px;color:var(--blue);text-transform:uppercase}
.header-nav{display:flex;gap:32px;list-style:none;align-items:center}
.header-nav a{font-family:var(--font-body);font-size:15px;font-weight:500;color:var(--text-mid);transition:color .25s}
.header-nav a:hover{color:var(--blue)}
.header-nav a.active{color:var(--blue);font-weight:600}
.header-nav .btn-header{background:var(--blue);color:var(--white);padding:11px 24px;border-radius:var(--r-sm);font-weight:700;font-size:14px;transition:background .25s,transform .15s}
.header-nav .btn-header:hover{background:#0f53d4;transform:translateY(-1px)}

/* BREADCRUMB */
.breadcrumb{background:var(--off-white);border-bottom:1px solid var(--border);padding:14px 80px;display:flex;align-items:center;gap:8px;font-family:var(--font-body);font-size:12px;color:var(--text-light)}
.breadcrumb a{color:var(--blue);transition:opacity .2s}
.breadcrumb a:hover{opacity:0.7}
.breadcrumb-current{color:var(--text-mid);font-weight:500}

/* PAGE HERO */
.page-hero{background:linear-gradient(135deg,var(--blue-dark) 0%,#1236A0 60%,var(--blue) 100%);padding:80px 80px 72px;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;top:-40%;right:-5%;width:50%;height:200%;background:radial-gradient(ellipse,rgba(147,180,250,.18) 0%,transparent 65%);pointer-events:none}
.page-hero-inner{position:relative;z-index:1;max-width:680px}
.page-hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:var(--r-pill);padding:6px 16px;margin-bottom:28px}
.page-hero-badge-dot{width:6px;height:6px;background:var(--blue-light);border-radius:50%}
.page-hero-badge-text{font-family:var(--font-body);font-size:11px;font-weight:600;color:rgba(255,255,255,.8);letter-spacing:1px;text-transform:uppercase}
.page-hero h1{font-family:var(--font-head);font-size:48px;font-weight:800;color:var(--white);line-height:1.1;margin-bottom:20px;letter-spacing:-1px}
.page-hero h1 span{color:var(--blue-light)}
.page-hero-desc{font-family:var(--font-body);font-size:17px;font-weight:400;color:rgba(255,255,255,.7);line-height:1.75;max-width:540px;margin-bottom:36px}
.page-hero-cta{display:inline-flex;align-items:center;gap:8px;background:var(--white);color:var(--blue-dark);font-family:var(--font-body);font-size:15px;font-weight:700;padding:15px 36px;border-radius:var(--r-md);box-shadow:0 4px 20px rgba(0,0,0,.2);transition:transform .2s,box-shadow .25s}
.page-hero-cta:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(0,0,0,.25)}

/* SECTIONS */
.section{padding:88px 80px}
.section-white{background:var(--white)}
.section-surface{background:var(--off-white)}
.section-dark{background:var(--blue-dark)}
.section-eyebrow{font-family:var(--font-body);font-size:11px;font-weight:700;letter-spacing:3px;color:var(--blue);text-transform:uppercase;text-align:center;margin-bottom:12px}
.section-title{font-family:var(--font-head);font-size:40px;font-weight:800;color:var(--blue-dark);text-align:center;margin-bottom:16px;letter-spacing:-.5px;line-height:1.15}
.section-subtitle{font-family:var(--font-body);font-size:16px;font-weight:400;color:var(--text-mid);text-align:center;max-width:540px;margin:0 auto 60px;line-height:1.75}

/* CARDS GRID 3 */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card{background:var(--off-white);border-radius:var(--r-lg);padding:44px 32px;border:1px solid transparent;transition:transform .3s,box-shadow .3s,border-color .3s}
.card:hover{transform:translateY(-6px);box-shadow:0 24px 48px var(--shadow);border-color:var(--border)}
.card-icon{width:56px;height:56px;background:var(--blue-surface);border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:24px}
.card-num{font-family:var(--font-head);font-size:48px;font-weight:800;color:var(--blue);line-height:1;margin-bottom:6px}
.card-title{font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--blue-dark);margin-bottom:12px}
.card-text{font-family:var(--font-body);font-size:14px;color:var(--text-mid);line-height:1.8}

/* CHECKLIST */
.checklist{display:flex;flex-direction:column;gap:16px;max-width:560px}
.check-item{display:flex;align-items:flex-start;gap:14px;font-family:var(--font-body);font-size:15px;color:var(--text-mid);line-height:1.65}
.check-icon{width:24px;height:24px;flex-shrink:0;background:var(--blue);border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:12px;font-weight:700;margin-top:1px}

/* STEPS */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.step{position:relative;padding:36px 28px;background:var(--blue-surface);border-radius:var(--r-lg);border:1px solid var(--border)}
.step-num{font-family:var(--font-head);font-size:48px;font-weight:800;color:var(--blue);opacity:.18;line-height:1;margin-bottom:12px}
.step-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--blue-dark);margin-bottom:10px}
.step-text{font-family:var(--font-body);font-size:13px;color:var(--text-mid);line-height:1.75}

/* FAQ */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:0}
.faq-item{border-bottom:1px solid var(--border);padding:28px 0}
.faq-q{font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--blue-dark);margin-bottom:12px;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.faq-q::after{content:'+';color:var(--blue);font-size:20px;line-height:1;flex-shrink:0}
.faq-a{font-family:var(--font-body);font-size:14px;color:var(--text-mid);line-height:1.85}

/* DEPOIMENTO */
.depo-block{background:linear-gradient(180deg,rgba(21,101,242,.05) 0%,rgba(255,255,255,.96) 100%);border:1px solid rgba(21,101,242,.08);box-shadow:0 14px 40px rgba(13,27,94,.06);backdrop-filter:blur(16px);border-radius:var(--r-lg);padding:48px 52px;position:relative;max-width:760px;margin:0 auto}
.depo-quote{position:absolute;top:24px;right:36px;font-size:80px;color:var(--blue);opacity:.1;font-family:Georgia,serif;line-height:1}
.depo-stars{color:#F5A623;font-size:18px;letter-spacing:2px;margin-bottom:20px}
.depo-text{font-family:var(--font-body);font-size:16px;color:var(--text-dark);line-height:1.9;font-style:italic;margin-bottom:28px}
.depo-author{display:flex;align-items:center;gap:14px}
.depo-avatar{width:48px;height:48px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;color:white;font-family:var(--font-head);font-size:18px;font-weight:700;flex-shrink:0}
.depo-name{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--blue-dark)}
.depo-info{font-family:var(--font-body);font-size:12px;color:var(--text-light);margin-top:3px}

/* CTA FINAL */
.cta-final{background:linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 100%);padding:96px 80px;text-align:center;position:relative;overflow:hidden}
.cta-final::before,.cta-final::after{content:'';position:absolute;pointer-events:none}
.cta-final::before{top:-60%;left:-10%;width:60%;height:200%;background:radial-gradient(ellipse,rgba(147,180,250,.15) 0%,transparent 70%)}
.cta-final::after{bottom:-60%;right:-10%;width:60%;height:200%;background:radial-gradient(ellipse,rgba(147,180,250,.1) 0%,transparent 70%)}
.cta-label{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:var(--r-pill);padding:6px 20px;font-family:var(--font-body);font-size:11px;font-weight:600;letter-spacing:2px;color:rgba(255,255,255,.85);text-transform:uppercase;margin-bottom:28px}
.cta-title{font-family:var(--font-head);font-size:48px;font-weight:800;color:var(--white);margin-bottom:20px;letter-spacing:-1px;line-height:1.1}
.cta-title span{color:var(--blue-light)}
.cta-text{font-family:var(--font-body);font-size:17px;color:rgba(255,255,255,.72);margin-bottom:48px;line-height:1.75}
.btn-cta-white{display:inline-flex;align-items:center;gap:8px;background:var(--white);color:var(--blue-dark);font-family:var(--font-body);font-size:16px;font-weight:700;padding:18px 52px;border-radius:var(--r-md);transition:transform .2s,box-shadow .25s;box-shadow:0 8px 32px rgba(0,0,0,.2)}
.btn-cta-white:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.25)}
.cta-sub{margin-top:24px;font-family:var(--font-body);font-size:14px;color:rgba(255,255,255,.5)}
.cta-sub a{display:inline-flex;align-items:center;gap:8px;background:rgba(37,211,102,.16);border:1px solid rgba(37,211,102,.32);border-radius:999px;padding:8px 14px;color:#B9F4CE;font-weight:700;text-decoration:none;transition:background .25s,border-color .25s,transform .2s}
.cta-sub a:hover{background:rgba(37,211,102,.24);border-color:rgba(37,211,102,.45);transform:translateY(-1px)}

/* BRAND STRIP */
.brand-strip{background:var(--off-white);padding:56px 80px;display:flex;align-items:center;justify-content:center;gap:48px;border-top:1px solid var(--border)}
.brand-strip-divider{width:1px;height:72px;background:var(--border)}
.brand-strip-text-label{font-family:var(--font-body);font-size:11px;font-weight:700;letter-spacing:3px;color:var(--blue);text-transform:uppercase;margin-bottom:8px}
.brand-strip-text-main{font-family:var(--font-head);font-size:22px;font-weight:700;color:var(--blue-dark)}

/* FOOTER */
.footer{background:#040A1F;padding:48px 80px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:40px;border-top:3px solid var(--blue)}
.footer-logo img{height:60px;width:auto;border-radius:4px}
.footer-logo-fallback{font-family:var(--font-head);font-size:20px;font-weight:800;letter-spacing:3px;color:var(--blue-light);text-transform:uppercase}
.footer-info{display:flex;gap:40px;justify-content:center}
.footer-info-item{font-family:var(--font-body);font-size:12px;color:rgba(255,255,255,.4);line-height:1.7}
.footer-info-item strong{display:block;color:rgba(255,255,255,.7);font-size:11px;letter-spacing:1px;text-transform:uppercase;margin-bottom:4px}
.footer-right{display:flex;gap:20px;align-items:center}
.footer-social{width:36px;height:36px;background:rgba(255,255,255,.08);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;transition:background .25s}
.footer-social:hover{background:var(--blue)}
.footer-copy{font-family:var(--font-body);font-size:11px;color:rgba(255,255,255,.2);letter-spacing:.5px}

/* BTNS */
.btn-primary{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:var(--white);font-family:var(--font-body);font-size:15px;font-weight:600;padding:14px 32px;border-radius:var(--r-md);transition:background .25s,transform .15s,box-shadow .25s;box-shadow:0 4px 18px rgba(21,101,242,.35)}
.btn-primary:hover{background:#0f53d4;transform:translateY(-2px);box-shadow:0 8px 26px rgba(21,101,242,.4)}
.btn-ghost{display:inline-flex;align-items:center;gap:6px;color:var(--blue-dark);font-family:var(--font-body);font-size:14px;font-weight:500;transition:gap .25s,color .2s}
.btn-ghost:hover{gap:10px;color:var(--blue)}

/* 2-COL LAYOUT */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.img-placeholder{background:linear-gradient(135deg,var(--blue-surface) 0%,#c4d7ff 50%,var(--blue-light) 100%);border-radius:var(--r-lg);min-height:380px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;overflow:hidden}
.img-ph-icon{opacity:.22}
.img-ph-note{font-family:var(--font-body);font-size:10px;letter-spacing:2.5px;color:rgba(13,27,94,.5);text-transform:uppercase;text-align:center;padding:0 32px}

/* HIGHLIGHT BOX */
.highlight-box{background:var(--blue-surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:36px 40px;margin-top:32px}
.highlight-box p{font-family:var(--font-body);font-size:15px;color:var(--text-dark);line-height:1.8;font-style:italic}
.highlight-box strong{color:var(--blue);font-style:normal}

/* SCIENCE BOX */
.science-box{background:var(--blue-dark);border-radius:var(--r-lg);padding:52px 60px;color:white;text-align:center}
.science-stats{display:flex;gap:48px;justify-content:center;margin-top:40px;flex-wrap:wrap}
.science-stat-num{font-family:var(--font-head);font-size:52px;font-weight:800;color:var(--blue-light);line-height:1}
.science-stat-label{font-family:var(--font-body);font-size:13px;color:rgba(255,255,255,.6);margin-top:8px;line-height:1.5}
.science-source{font-family:var(--font-body);font-size:11px;color:rgba(255,255,255,.3);margin-top:32px;font-style:italic}

/* PREVIEW NOTE */
.preview-note{position:fixed;bottom:20px;right:20px;background:#1a1a1a;color:#ddd;font-family:'Inter',sans-serif;font-size:11px;padding:12px 18px;border-radius:8px;line-height:1.6;box-shadow:0 4px 20px rgba(0,0,0,.4);max-width:240px;z-index:9999}
.preview-note strong{color:#1565F2}
.preview-note a{color:#93B4FA;text-decoration:underline}

/* Codex mobile fix */
/* Mobile-first override patch for the production theme `unit-pilates-integration-v3`. */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.unit-mobile-nav-open {
  overflow: hidden;
}

.unit-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 101, 242, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(13, 27, 94, 0.1);
  cursor: pointer;
}

.unit-mobile-toggle svg {
  width: 20px;
  height: 20px;
}

.unit-mobile-toggle .unit-mobile-toggle-close {
  display: none;
}

body.unit-mobile-nav-open .unit-mobile-toggle .unit-mobile-toggle-open {
  display: none;
}

body.unit-mobile-nav-open .unit-mobile-toggle .unit-mobile-toggle-close {
  display: block;
}

@media (max-width: 1080px) {
  .header,
  .section,
  .page-hero,
  .cta-final,
  .brand-strip,
  .reviews-banner,
  .footer,
  .breadcrumb {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header {
    gap: 18px;
  }

  .header-nav {
    gap: 18px;
  }

  .hero,
  .metodo-grid,
  .two-col,
  .contact-grid,
  .cards-grid,
  .steps,
  .post-featured,
  .newsletter {
    gap: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    min-height: 420px;
  }

  .diff-grid,
  .forquem-grid,
  .depo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metodo-grid,
  .two-col,
  .contact-grid,
  .steps,
  .cards-grid,
  .post-featured,
  .newsletter,
  .science-stats,
  .footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    justify-items: start;
  }

  .footer-info {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  body.unit-mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 31, 0.45);
    z-index: 109;
  }

  .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    height: auto;
    min-height: 76px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-logo {
    min-width: 0;
  }

  .header-logo img {
    height: 48px !important;
  }

  .unit-mobile-toggle {
    display: inline-flex;
    z-index: 112;
  }

  .header nav {
    position: fixed;
    top: 88px;
    left: 12px;
    right: 12px;
    z-index: 111;
    display: none;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(21, 101, 242, 0.12);
    box-shadow: 0 24px 60px rgba(4, 10, 31, 0.18);
    padding: 10px;
  }

  body.unit-mobile-nav-open .header nav {
    display: block;
  }

  .header-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-nav li {
    width: 100%;
    list-style: none;
  }

  .header-nav a,
  .header-nav .btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 14px;
    text-align: center;
  }

  .header-nav .btn-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .breadcrumb {
    display: none;
  }

  .hero,
  .metodo-grid,
  .two-col,
  .contact-grid,
  .cards-grid,
  .steps,
  .post-featured,
  .newsletter,
  .posts-grid,
  .vlog-grid,
  .diff-grid,
  .forquem-grid,
  .depo-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-text,
  .hero-visual,
  .contact-form,
  .whatsapp-box,
  .info-block,
  .post-featured-content,
  .post-card-body,
  .vlog-card-body,
  .newsletter,
  .diff-card,
  .forquem-item,
  .depo-card,
  .step,
  .card,
  .depo-block,
  .highlight-box,
  .science-box {
    padding: 24px 20px;
  }

  .page-hero,
  .section,
  .blog-main,
  .cta-final,
  .brand-strip,
  .reviews-banner,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero,
  .section,
  .blog-main,
  .cta-final {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .page-hero::before,
  .page-hero::after,
  .cta-final::before,
  .cta-final::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-text {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-h1,
  .hero-h1-light,
  .section-title,
  .metodo-title,
  .cta-title,
  .page-hero h1 {
    overflow-wrap: anywhere;
  }

  .hero-h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.02;
  }

  .hero-h1-light {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
    line-height: 1.04;
    margin-bottom: 20px;
  }

  .page-hero h1,
  .cta-title,
  .section-title,
  .metodo-title {
    font-size: clamp(2rem, 8vw, 2.9rem);
    line-height: 1.06;
  }

  .hero-desc,
  .section-subtitle,
  .page-hero-desc,
  .cta-text,
  .metodo-text,
  .diff-text,
  .forquem-text,
  .depo-text,
  .card-text,
  .step-text,
  .faq-a,
  .info-value,
  .highlight-box p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-badge,
  .page-hero-badge,
  .cta-label {
    max-width: 100%;
  }

  .hero-badge-text,
  .page-hero-badge-text,
  .section-eyebrow,
  .metodo-eyebrow,
  .cta-label {
    letter-spacing: 0.08em;
  }

  .hero-buttons,
  .hero-stats,
  .post-meta,
  .reviews-banner,
  .brand-strip,
  .footer-info,
  .footer-right,
  .newsletter-form,
  .science-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-stats > div {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost,
  .btn-header,
  .btn-read,
  .btn-form,
  .btn-whatsapp,
  .btn-cta-white,
  .btn-newsletter,
  .page-hero-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .newsletter-input {
    min-width: 0;
    width: 100%;
    font-size: 16px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .post-featured-thumb,
  .post-card-thumb,
  .vlog-thumb {
    min-height: 200px;
    height: 200px;
  }

  .post-featured-content,
  .post-card-body,
  .vlog-card-body {
    gap: 10px;
  }

  .post-featured-title,
  .post-card-title,
  .vlog-title {
    font-size: 1.2rem;
    line-height: 1.34;
  }

  .post-featured-excerpt,
  .post-card-excerpt,
  .vlog-desc {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .post-card-footer,
  .vlog-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .post-meta-sep {
    display: none;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
    overflow: visible;
  }

  .filter-btn {
    width: 100%;
    padding: 14px 16px;
    white-space: normal;
    margin-bottom: 0;
    border: 1px solid rgba(21, 101, 242, 0.14);
    border-radius: 14px;
  }

  .posts-grid,
  .vlog-grid {
    gap: 18px;
  }

  .section [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .section [style*="display:flex;gap:12px;margin-top:8px"] {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cards-float {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-card-float {
    flex: 1 1 calc(50% - 5px);
    min-width: 132px;
    padding: 16px 14px;
  }

  .reviews-banner {
    text-align: center;
  }

  .reviews-divider {
    display: none;
  }

  .reviews-stars {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .reviews-score {
    font-size: 2rem;
  }

  .metodo-img,
  .img-placeholder,
  .map-placeholder {
    min-height: 240px;
    height: auto;
  }

  .footer {
    gap: 24px;
  }

  .footer-info-item,
  .footer-copy {
    font-size: 0.84rem;
  }

  .footer-right {
    align-items: center;
    justify-content: flex-start;
  }

  .contact-grid,
  .form-grid {
    gap: 18px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  .preview-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .header,
  .section,
  .page-hero,
  .blog-main,
  .cta-final,
  .brand-strip,
  .reviews-banner,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-text,
  .hero-visual,
  .contact-form,
  .whatsapp-box,
  .info-block,
  .post-featured-content,
  .post-card-body,
  .vlog-card-body,
  .newsletter,
  .diff-card,
  .forquem-item,
  .depo-card,
  .step,
  .card,
  .depo-block,
  .highlight-box,
  .science-box {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-card-float {
    flex-basis: 100%;
    min-width: 100%;
  }

  .filter-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .hero-h1-light,
  .page-hero h1,
  .cta-title,
  .section-title,
  .metodo-title {
    font-size: clamp(1.72rem, 8.8vw, 2.3rem);
  }

  .hero-desc,
  .section-subtitle,
  .page-hero-desc,
  .cta-text,
  .metodo-text,
  .diff-text,
  .forquem-text,
  .depo-text,
  .card-text,
  .step-text,
  .faq-a,
  .info-value,
  .highlight-box p {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .btn-primary,
  .btn-ghost,
  .btn-header,
  .btn-form,
  .btn-whatsapp,
  .btn-cta-white,
  .page-hero-cta {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Codex public mobile/media fix */
.preview-note {
  display: none !important;
}

.unit-mobile-quick-actions {
  display: none;
}

.unit-mobile-only-link {
  display: none !important;
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  body.unit-mobile-nav-open::before {
    pointer-events: none;
  }

  body.unit-mobile-nav-open .unit-mobile-quick-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .header nav {
    pointer-events: auto;
  }

  .unit-mobile-only-link {
    display: list-item !important;
  }

  .unit-mobile-quick-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 114;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(21, 101, 242, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(13, 27, 94, 0.16);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .unit-mobile-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }

  .unit-mobile-quick-action-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(21, 101, 242, 0.28);
  }

  .unit-mobile-quick-action-secondary {
    background: var(--off-white);
    color: var(--blue-dark);
    border: 1px solid var(--border);
  }

  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    overflow: visible;
  }

  .filter-btn {
    flex: 0 1 auto;
    margin-bottom: 0;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    line-height: 1.2;
  }

  .filter-btn.active {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    border-bottom-color: var(--blue);
  }

  .header-nav .unit-mobile-only-link a {
    background: var(--blue-surface);
    color: var(--blue-dark);
    border: 1px solid var(--border);
  }

  .form-input,
  .form-textarea,
  .newsletter-input,
  .btn-newsletter,
  .btn-form,
  input[type="email"],
  input[type="tel"],
  input[type="text"],
  select,
  textarea {
    font-size: 16px;
  }

  .form-input,
  .newsletter-input,
  .btn-newsletter,
  .btn-form,
  select {
    min-height: 52px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .unit-mobile-quick-actions {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .filter-bar {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }

  .filter-btn {
    width: auto;
  }
}
