  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  /* Global focus style — gold outline for keyboard navigation (WCAG 2.1 AA) */
  :focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:4px}
  body{
    margin:0;background:var(--bg);color:var(--text);
    font-family:"Source Sans 3",system-ui,-apple-system,sans-serif;
    font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{font-family:"Lexend",sans-serif;line-height:1.15;margin:0;color:var(--navy);font-weight:600;letter-spacing:-.01em}
  h1{font-size:clamp(2.1rem,5vw,3.4rem);font-weight:700}
  h2{font-size:clamp(1.7rem,3.5vw,2.5rem)}
  h3{font-size:1.18rem}
  p{margin:0}
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  .eyebrow{font-family:"Lexend";font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-text);margin-bottom:14px}
  .lead{color:var(--muted);font-size:1.08rem}

  /* Buttons */
  .btn{display:inline-flex;align-items:center;gap:9px;font-family:"Lexend";font-weight:500;font-size:.98rem;
    padding:13px 26px;border-radius:999px;cursor:pointer;border:1.5px solid transparent;
    transition:transform .14s var(--ease),background-color .14s var(--ease),box-shadow .14s var(--ease);
    transition-delay:0s;min-height:48px}
  .btn:hover{transform:translateY(-2px)}
  .btn:active{transform:translateY(0) scale(.985)}
  .btn-gold{background:var(--gold);color:var(--navy-700);box-shadow:0 6px 18px rgba(var(--gold-rgb),.35)}
  .btn-gold:hover{background:var(--gold-soft);box-shadow:0 8px 24px rgba(var(--gold-rgb),.45)}
  .btn-navy{background:var(--navy);color:#fff}
  .btn-navy:hover{background:var(--navy-600)}
  .btn-ghost{background:transparent;color:var(--navy);border-color:var(--border)}
  .btn-ghost:hover{border-color:var(--navy);background:#fff}
  .btn-light{background:#fff;color:var(--navy)}
  .btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
  .btn-outline-light:hover{background:rgba(255,255,255,.1);border-color:#fff}
  /* Liquid glass (glassmorphism) — used for hero CTAs over the brand image */
  .btn-glass{
    background:rgba(255,255,255,.10);
    -webkit-backdrop-filter:blur(14px) saturate(1.3);
    backdrop-filter:blur(14px) saturate(1.3);
    border:1px solid rgba(255,255,255,.30);
    color:#fff;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 8px 24px rgba(0,0,0,.25);
    text-shadow:0 1px 6px rgba(0,0,0,.45);
  }
  .btn-glass:hover{background:rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.30), 0 10px 28px rgba(0,0,0,.30)}
  .btn-glass--gold{
    background:rgba(var(--gold-rgb),.34);
    border-color:rgba(var(--gold-soft-rgb),.6);
    color:#FFF9EC;
    box-shadow:inset 0 1px 0 rgba(var(--gold-soft-rgb),.5), 0 8px 24px rgba(0,0,0,.25);
  }
  .btn-glass--gold:hover{background:rgba(var(--gold-rgb),.44);border-color:rgba(var(--gold-soft-rgb),.8)}
  .btn svg{width:18px;height:18px;transition:none}

  /* Header */
  header{position:sticky;top:0;z-index:200;background:transparent;backdrop-filter:none;border-bottom:1px solid transparent;transition:border-color .3s,box-shadow .3s,background .3s,backdrop-filter .3s}
  /* Subtle top-down dark scrim behind the transparent header — keeps nav legible without reading heavy */
  header:not(.scrolled)::before{content:"";position:absolute;inset:0 0 auto;width:100%;height:160px;background:linear-gradient(to bottom,rgba(var(--navy-700-rgb),.52) 0%,rgba(var(--navy-rgb),.18) 52%,transparent 100%);pointer-events:none;z-index:-1}
  /* Hairline definition at the base of the scrim while over the cover */
  header:not(.scrolled){border-bottom-color:rgba(255,255,255,.06)}
  header.scrolled{background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-color:var(--border);box-shadow:var(--shadow-sm)}
  /* Header WhatsApp CTA — liquid-glass pill while over the cover (matches hero glass buttons),
     solid gold pill when scrolled (white header). Instant feel — no transition-delay. */
  header:not(.scrolled) .nav-cta .btn-gold{
    background:rgba(255,255,255,.10);
    -webkit-backdrop-filter:blur(14px) saturate(1.3);
    backdrop-filter:blur(14px) saturate(1.3);
    border:1px solid rgba(var(--gold-soft-rgb),.45);
    color:#fff;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.20);
    text-shadow:0 1px 6px rgba(0,0,0,.45);
  }
  header:not(.scrolled) .nav-cta .btn-gold:hover{
    background:rgba(var(--gold-rgb),.20);
    border-color:rgba(var(--gold-soft-rgb),.7);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.30), 0 8px 22px rgba(0,0,0,.26);
  }
  header:not(.scrolled) .nav-cta .btn-gold svg{filter:drop-shadow(0 1px 4px rgba(0,0,0,.4))}
  /* Nav links — premium: refined weight, generous tracking, thin gold underline that
     animates in from center on hover (no background block). Instant feel (.16s, no delay). */
  .nav-links a{position:relative;font-family:"Lexend";font-weight:500;font-size:.92rem;letter-spacing:.04em;color:var(--navy);padding:9px 10px;transition:color .16s var(--ease);transition-delay:0s}
  .nav-links a::after{content:"";position:absolute;left:50%;right:50%;bottom:2px;height:1.5px;border-radius:1px;background:var(--gold);transition:left .16s var(--ease),right .16s var(--ease);transition-delay:0s}
  .nav-links a:hover::after,.nav-links a:focus-visible::after{left:10px;right:10px}
  header:not(.scrolled) .nav-links a{color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.45)}
  header:not(.scrolled) .nav-links a:hover{color:#fff}
  header:not(.scrolled) .nav-links a::after{background:var(--gold-soft)}
  header.scrolled .nav-links a{color:var(--navy)}
  header.scrolled .nav-links a:hover{color:var(--gold-text)}
  /* Brand lockup: SYMBOL image + REAL TEXT wordmark (crisp at any size) */
  /* Symbol: light variant (cream+gold) over dark hero, dark variant (navy+gold) on scrolled white header */
  .brand-mark{height:46px;width:auto;display:block;flex:none}
  .brand-mark--dark{display:none}
  header.scrolled .brand-mark--light{display:none}
  header.scrolled .brand-mark--dark{display:block}
  /* Real text wordmark: Lexend bold "LYBRE" with generous wordmark tracking + aligned subtitle */
  .brand-name{font-family:"Lexend";font-weight:700;font-size:1.42rem;line-height:1;color:var(--navy);letter-spacing:.18em;display:block;padding-left:.18em}
  .brand-name small{display:block;font-weight:600;font-size:.58rem;letter-spacing:.34em;color:var(--gold);margin-top:6px;padding-left:.02em}
  /* Color swap on scroll: white/cream "LYBRE" + gold-soft subtitle over hero; navy + gold when scrolled */
  header:not(.scrolled) .brand-name{color:#F4F7FA}
  header:not(.scrolled) .brand-name small{color:var(--gold-soft)}
  header.scrolled .brand-name{color:var(--navy)}
  header.scrolled .brand-name small{color:var(--gold)}
  /* Drop-shadow ensures symbol + text read clearly on any video frame at scroll=0 */
  header:not(.scrolled) .brand-mark{filter:drop-shadow(0 2px 6px rgba(0,0,0,.55))}
  header:not(.scrolled) .brand-name{text-shadow:0 2px 8px rgba(0,0,0,.65),0 1px 4px rgba(0,0,0,.45)}
  /* Hide header brand over the hero (the image already carries the big LYBRE logo); show it when scrolled */
  .brand{transition:opacity .2s var(--ease),visibility .2s var(--ease)}
  header:not(.scrolled) .brand{opacity:0;visibility:hidden;pointer-events:none}
  @media (max-width:900px){.brand-mark{height:38px}.brand-name{font-size:1.18rem;letter-spacing:.16em}.brand-name small{font-size:.5rem;letter-spacing:.28em}
    /* Wordmark de-dup: the hero image already carries the big "LYBRE / CONTÁBIL & GESTÃO"
       lockup right below the header on mobile. Hide the header TEXT wordmark (keep the symbol)
       so the two stacked wordmarks don't read as a duplicate. Footer brand is unaffected. */
    header .brand .brand-name{display:none}
  }
  /* Burger icon: morphs into an X when open. Color: white when transparent, navy when scrolled */
  /* Visually-hidden but available to screen readers / SEO (the visible H1 is the brand image) */
  .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .burger{display:none;background:none;border:none;cursor:pointer;padding:11px 8px;color:var(--navy)}
  header:not(.scrolled) .burger{color:#fff}
  header.scrolled .burger{color:var(--navy)}
  .burger-box{display:block;position:relative;width:28px;height:22px}
  .burger-line{position:absolute;left:0;width:28px;height:2.5px;border-radius:2px;background:currentColor;transition:transform .28s var(--ease),opacity .2s var(--ease),top .28s var(--ease)}
  .burger-line:nth-child(1){top:2px}
  .burger-line:nth-child(2){top:10px}
  .burger-line:nth-child(3){top:18px}
  .burger.is-open .burger-line:nth-child(1){top:10px;transform:rotate(45deg)}
  .burger.is-open .burger-line:nth-child(2){opacity:0}
  .burger.is-open .burger-line:nth-child(3){top:10px;transform:rotate(-45deg)}
  .nav{display:flex;align-items:center;justify-content:space-between;height:74px}
  .brand{display:flex;align-items:center;gap:14px}
  .nav-links{display:flex;gap:12px;align-items:center}
  .nav-cta{display:flex;align-items:center;gap:12px}

  /* Hero — full-screen premium brand image; glass CTAs sit in the lower-left dark area.
     The header is sticky and in normal flow, so it consumes --header-h at the top;
     subtract it so the whole cover (logo + gold + glass buttons) fits in the first screen. */
  .hero{position:relative;min-height:calc(100vh - var(--header-h));min-height:calc(100svh - var(--header-h));display:flex;align-items:flex-end;overflow:hidden;background:var(--navy-700)}
  /* <picture> wrapper around hero img must be layout-transparent so .hero-bg behaves as a direct child */
  .hero > picture{display:contents}
  /* Full image, no crop transform (no watermark). object-fit:cover keeps logo + gold framed on desktop.
     Slightly over-scaled so the JS depth-parallax can translate it a few px without revealing edges. */
  .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 78%;z-index:0;will-change:transform}
  /* Bottom-left darkening — seats the glass buttons + the headline copy without dulling the gold.
     Two layers: a vertical lift from the floor, plus a diagonal pool in the lower-left where the
     headline lives (the embedded LYBRE wordmark sits center/right, so we keep the left dark). */
  .hero-overlay{position:absolute;inset:0;z-index:1;pointer-events:none;
    background:
      linear-gradient(to top,rgba(var(--scrim-rgb),.66) 0%,rgba(var(--scrim-rgb),.30) 26%,rgba(var(--scrim-rgb),.04) 50%,transparent 64%),
      radial-gradient(120% 90% at 0% 100%,rgba(var(--scrim-rgb),.55) 0%,rgba(var(--scrim-rgb),.18) 38%,transparent 62%);}
  /* Parallax light bloom — a soft gold glow over the streak area that drifts toward the cursor,
     making the gold "catch light". Desktop/fine-pointer only; hidden on touch + reduced-motion. */
  .hero-glow{position:absolute;inset:-12%;z-index:1;pointer-events:none;display:none;mix-blend-mode:screen;
    background:radial-gradient(460px 460px at 68% 58%,rgba(var(--gold-soft-rgb),.28),transparent 60%);
    will-change:transform}
  /* Desktop/fine-pointer only: show the glow + pre-scale the image so the parallax can translate
     without revealing edges. Mobile keeps the image un-scaled (tuned object-position framing). */
  @media (hover:hover) and (pointer:fine){ .hero-glow{display:block} .hero-bg{transform:scale(1.08)} }
  /* Content — only the glass CTAs, anchored bottom-left with generous breathing room
     so both buttons sit comfortably in view on first paint (laptop + desktop). */
  .hero-content{position:relative;z-index:2;color:#fff;width:100%;padding:0 0 clamp(28px,5vh,54px)}
  /* Headline copy — anchored bottom-left, kept narrow so it stays clear of the embedded
     LYBRE wordmark (center/right of the image). Strong text-shadow for AA contrast over photo. */
  .hero-copy{max-width:min(52%,540px);margin-bottom:clamp(18px,3vh,28px)}
  .hero-title{font-size:clamp(1.55rem,2.2vw,2.05rem);font-weight:700;line-height:1.14;color:#fff;
    letter-spacing:-.015em;text-shadow:0 2px 18px rgba(0,0,0,.6),0 1px 4px rgba(0,0,0,.55);text-wrap:balance}
  .hero-sub{margin-top:13px;font-size:clamp(.98rem,1.2vw,1.08rem);line-height:1.5;color:rgba(255,255,255,.92);
    max-width:40ch;text-shadow:0 1px 10px rgba(0,0,0,.6)}
  .hero-actions{display:flex;gap:14px;flex-wrap:wrap}

  /* generic section */
  section.block{padding:84px 0}
  /* Spacing utilities — replace inline padding-top magic values, keep the system in CSS.
     --snug: a touch tighter than full rhythm; --tight: tighter; --flush: no top gap
     (used when the previous block already provides the breathing room). */
  section.block.block--snug{padding-top:36px}
  section.block.block--tight{padding-top:24px}
  section.block.block--flush{padding-top:0}
  /* Rhythm: lift Serviços onto a subtle white band so it reads as a distinct beat between
     the light Intro and the strong navy Segmentos banner — instead of two identical light blocks.
     Top hairline + soft inner shadow seat the band without adding a second accent color. */
  section.block.block--surface{
    background:var(--surface);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  }
  .section-head{max-width:680px;margin-bottom:48px}
  .section-head.center{margin-left:auto;margin-right:auto;text-align:center}
  /* Split header: H2 on the left, supporting lead aligned to the right on desktop —
     a distinct layout family from the centered/left-stacked heads elsewhere. */
  .section-head--split{max-width:none;display:grid;grid-template-columns:1fr auto;align-items:end;gap:18px 48px}
  .section-head--split h2{max-width:18ch}
  .section-head--split .lead{text-align:right;max-width:38ch;padding-bottom:4px}
  @media (max-width:760px){
    .section-head--split{grid-template-columns:1fr;gap:12px}
    .section-head--split .lead{text-align:left}
  }

  /* intro two col */
  .intro{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
  .intro .big{font-family:"Lexend";font-size:clamp(1.7rem,3vw,2.3rem);font-weight:600;color:var(--navy)}
  .intro .cols{display:grid;grid-template-columns:1fr 1fr;gap:26px;color:var(--muted)}

  /* services grid */
  .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
  /* Cards: soft navy-tinted gradient surface + a gold top-accent rule that widens on hover —
     differentiates them from plain white-on-white and adds a single consistent gold accent. */
  .card{position:relative;background:linear-gradient(180deg,#FFFFFF 0%,#FBFCFE 100%);border:1px solid var(--border);border-radius:var(--radius);padding:30px 26px;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease);transition-delay:0s;cursor:default;display:flex;flex-direction:column;overflow:hidden}
  .card::before{content:"";position:absolute;top:0;left:0;width:38px;height:3px;border-radius:0 0 3px 0;background:var(--gold);opacity:.85;transition:width .25s var(--ease),opacity .25s var(--ease)}
  .card:hover{transform:translateY(-5px);box-shadow:0 10px 28px rgba(var(--navy-rgb),.10),0 0 0 1.5px rgba(var(--gold-rgb),.55);border-color:rgba(var(--gold-rgb),.4)}
  .card:hover::before{width:100%;opacity:1}
  /* Icon chip: navy with a subtle gold-tinted inner ring; flips to gold on hover */
  .card .ico{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(155deg,var(--navy) 0%,var(--navy-600) 100%);box-shadow:inset 0 0 0 1px rgba(var(--gold-soft-rgb),.22);margin-bottom:20px;transition:background .25s,box-shadow .25s}
  .card:hover .ico{background:var(--gold);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
  .card .ico svg{width:27px;height:27px;stroke:var(--gold);transition:stroke .25s,transform .35s var(--ease)}
  .card:hover .ico svg{stroke:var(--navy-700);transform:scale(1.12) rotate(-4deg)}
  /* Reserve 2 lines for the title so card bodies start at the same baseline even
     when one title wraps ("IRPF & Imposto de Renda"). Keeps the 4 cards aligned. */
  .card h3{margin-bottom:9px;min-height:2.6em}
  .card p{color:var(--muted);font-size:.97rem}

  /* industries (navy full) */
  .industries{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-700) 100%);color:#fff;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr}
  .industries .pad{padding:60px 52px}
  .industries h2{color:#fff}
  .industries .eyebrow{color:var(--gold-soft)}
  .industries .ind-list{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:34px 0 32px}
  .ind-item{display:flex;gap:14px}
  .ind-item .dot{flex:none;width:44px;height:44px;border-radius:11px;background:rgba(var(--gold-rgb),.16);display:grid;place-items:center}
  .ind-item .dot svg{width:22px;height:22px;stroke:var(--gold-soft)}
  .ind-item h4{font-family:"Lexend";color:#fff;font-size:1.02rem;margin-bottom:3px;font-weight:600}
  .ind-item p{color:rgba(255,255,255,.68);font-size:.88rem;line-height:1.45}
  .industries .ind-img{position:relative;min-height:100%;background:var(--navy-600)}
  .industries .ind-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

  /* trust */
  .trust{display:grid;grid-template-columns:.95fr 1.05fr;gap:54px;align-items:center}
  .trust-img{border-radius:18px;overflow:hidden;box-shadow:var(--shadow-md);aspect-ratio:4/3;background:var(--border)}
  .trust-img img{width:100%;height:100%;object-fit:cover}
  .checklist{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px;margin:28px 0 30px}
  .checklist li{display:flex;align-items:center;gap:11px;list-style:none;font-family:"Lexend";font-weight:500;font-size:1rem;color:var(--navy)}
  .checklist{padding:0}
  .check{flex:none;width:26px;height:26px;border-radius:50%;background:rgba(var(--gold-rgb),.14);display:grid;place-items:center}
  .check svg{width:15px;height:15px;stroke:var(--navy)}
  /* Delight: each ✓ draws itself when the Trust section reveals (staggered). Gated by .js so
     no-JS users always see solid checks; reset to drawn under print + reduced-motion below. */
  .js .check svg path{stroke-dasharray:26;stroke-dashoffset:26;transition:stroke-dashoffset .55s var(--ease)}
  .js .trust.in .check svg path{stroke-dashoffset:0}
  .js .trust.in .checklist li:nth-child(1) .check svg path{transition-delay:.10s}
  .js .trust.in .checklist li:nth-child(2) .check svg path{transition-delay:.15s}
  .js .trust.in .checklist li:nth-child(3) .check svg path{transition-delay:.20s}
  .js .trust.in .checklist li:nth-child(4) .check svg path{transition-delay:.25s}
  .js .trust.in .checklist li:nth-child(5) .check svg path{transition-delay:.30s}
  .js .trust.in .checklist li:nth-child(6) .check svg path{transition-delay:.35s}

  /* blog */
  .posts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
  .post{background:linear-gradient(180deg,#FFFFFF 0%,#FBFCFE 100%);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease);transition-delay:0s}
  .post:hover{transform:translateY(-5px);box-shadow:0 10px 28px rgba(var(--navy-rgb),.10),0 0 0 1.5px rgba(var(--gold-rgb),.55);border-color:rgba(var(--gold-rgb),.4)}
  .post .ph{aspect-ratio:16/10;overflow:hidden;background:var(--border)}
  .post .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
  .post:hover .ph img{transform:scale(1.06)}
  .post .body{padding:22px 24px 26px}
  .post .tag{display:inline-flex;align-items:center;font-family:"Lexend";font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-text);padding:4px 11px;border-radius:999px;background:rgba(var(--gold-rgb),.10);box-shadow:inset 0 0 0 1px rgba(var(--gold-rgb),.22)}
  .post h3{margin:8px 0 8px;font-size:1.08rem}
  .post p{color:var(--muted);font-size:.93rem;margin-bottom:14px}
  .post .more{font-family:"Lexend";font-weight:600;font-size:.9rem;color:var(--navy);display:inline-flex;align-items:center;gap:6px}
  .post .more svg{width:16px;height:16px;transition:transform .2s}
  .post:hover .more svg{transform:translateX(4px)}

  /* clients / testimonial */
  .clients{text-align:center}
  .quote{max-width:760px;margin:0 auto;font-family:"Lexend";font-weight:300;font-size:clamp(1.3rem,2.6vw,1.85rem);line-height:1.4;color:var(--navy)}
  .quote .mark{color:var(--gold-text);font-weight:700}
  .quote-meta{margin-top:24px;color:var(--muted);font-family:"Lexend";font-weight:500}
  .logos{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 46px;margin-top:48px;opacity:.7}
  .logos span{font-family:"Lexend";font-weight:600;color:var(--navy);font-size:1.1rem;letter-spacing:.02em}

  /* CTA banner */
  .cta-banner{background:linear-gradient(150deg,var(--navy) 0%,var(--navy-700) 100%);border-radius:22px;padding:56px 52px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;position:relative;overflow:hidden}
  .cta-banner::before{content:"";position:absolute;left:-60px;bottom:-90px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(var(--gold-rgb),.18),transparent 70%)}
  .cta-banner h2{color:#fff;position:relative}
  .cta-banner p{color:rgba(255,255,255,.78);margin-top:10px;position:relative;max-width:46ch}
  .cta-banner .acts{display:flex;gap:14px;flex-wrap:wrap;position:relative}

  /* footer */
  footer{background:var(--navy-700);color:rgba(255,255,255,.72);padding:64px 0 30px;margin-top:84px}
  .foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px}
  footer .name{font-family:"Lexend";font-weight:700;color:#fff;font-size:1.2rem}
  footer .name small{display:block;font-weight:400;font-size:.62rem;letter-spacing:.22em;color:var(--gold-soft);margin-top:4px}
  /* Footer brand lockup: symbol-light + real text (cream + gold) on navy footer */
  .footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
  .footer-brand .brand-mark{height:46px;width:auto;display:block;flex:none}
  .footer-brand .name{line-height:1.05}
  footer p.desc{margin-top:16px;font-size:.94rem;max-width:32ch}
  footer h4{font-family:"Lexend";color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px;font-weight:600}
  footer ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
  footer ul a{font-size:.95rem;transition:color .2s}
  footer ul a:hover{color:var(--gold-soft)}
  .socials{display:flex;gap:12px;margin-top:18px}
  .socials a{width:44px;height:44px;border-radius:11px;background:rgba(255,255,255,.07);display:grid;place-items:center;transition:background .2s}
  .socials a:hover{background:var(--gold)}
  .socials svg{width:19px;height:19px;fill:#fff}
  .socials a:hover svg{fill:var(--navy-700)}
  .foot-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.85rem;color:rgba(255,255,255,.5)}

  /* WhatsApp float — offset by the safe-area inset so it clears the home indicator / notch */
  .wa-float{position:fixed;right:calc(22px + env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:90;width:58px;height:58px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 8px 24px rgba(37,211,102,.45);transition:transform .2s}
  .wa-float:hover{transform:scale(1.08)}
  .wa-float svg{width:32px;height:32px;fill:#fff}

  /* reveal animation — hidden ONLY when JS is present (no-JS users see all content) */
  .reveal{transition:opacity .7s var(--ease),transform .7s var(--ease)}
  .js .reveal{opacity:0;transform:translateY(24px)}
  .reveal.in{opacity:1;transform:none}
  /* Print/PDF: always show revealed content (no scroll to trigger the observer) */
  @media print{ .reveal{opacity:1!important;transform:none!important} .check svg path{stroke-dashoffset:0!important} }
  /* Cards and posts: override the generic .reveal transition so hover is .18s instant,
     while opacity (used for the reveal fade) still animates at .7s.
     translateY for reveal is handled by the initial state + .in reset, driven by opacity reveal. */
  .card.reveal,.post.reveal{
    transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease),opacity .7s var(--ease);
  }

  /* mobile menu panel */
  .mobile-panel{display:none}

  @media (max-width:900px){
    .nav-links{display:none}
    .nav-cta .btn{display:none}
    .burger{display:block}
    /* MOBILE HEADER: solid white + brand from the very first paint (no empty gray scrim over
       the hero). The header reads as clean nav chrome; the hero image carries the big brand art. */
    header{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm)}
    header:not(.scrolled)::before{display:none}
    header:not(.scrolled){border-bottom-color:var(--border)}
    header:not(.scrolled) .brand{opacity:1;visibility:visible;pointer-events:auto}
    header:not(.scrolled) .brand-mark--light{display:none}
    header:not(.scrolled) .brand-mark--dark{display:block}
    header:not(.scrolled) .brand-mark{filter:none}
    header:not(.scrolled) .brand-name{color:var(--navy);text-shadow:none}
    header:not(.scrolled) .brand-name small{color:var(--gold)}
    header:not(.scrolled) .burger{color:var(--navy)}
    .intro{grid-template-columns:1fr;gap:24px}
    .intro .cols{grid-template-columns:1fr}
    .cards{grid-template-columns:1fr 1fr}
    .industries{grid-template-columns:1fr}
    .industries .ind-img{min-height:260px;order:-1}
    .industries .pad{padding:44px 30px}
    .trust{grid-template-columns:1fr;gap:30px}
    .posts{grid-template-columns:1fr}
    .checklist{grid-template-columns:1fr}
    .foot-grid{grid-template-columns:1fr 1fr}
    .cta-banner{padding:40px 30px}
    .mobile-panel.open{display:block;position:fixed;inset:74px 0 0;background:#fff;z-index:199;padding:24px;animation:fade .25s ease}
    .mobile-panel a{display:block;font-family:"Lexend";font-weight:500;font-size:1.15rem;color:var(--navy);padding:16px 8px;border-bottom:1px solid var(--border)}
    .mobile-panel .btn{margin-top:24px;width:100%;justify-content:center}
    .mobile-panel.open{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
    /* P0: "Para quem atendemos" — stack the segment list in one column so the right
       column never gets clipped by the card's overflow:hidden on narrow phones. */
    .industries .ind-list{grid-template-columns:1fr;gap:18px}
    .ind-item{min-width:0}
    .ind-item p{overflow-wrap:break-word}
    /* Touch targets ≥44px: "Ler mais" and footer links get real tap height */
    .post .more{min-height:44px;padding:8px 2px;margin:-8px 0 -2px}
    footer ul a{display:inline-block;padding:7px 0;min-height:40px}
    footer ul{gap:6px}
    /* P2 #1: keep the fixed WhatsApp float from overlapping content on mobile. Slightly
       smaller float + breathing room under the two spots it would otherwise cover:
       the last service card ("não pagar imposto a mais") and the Segmentos CTA. */
    .wa-float{width:52px;height:52px}
    .wa-float svg{width:28px;height:28px}
    /* Give each card body extra bottom room so a card's last line never runs into the
       float's lower-right corner when that card scrolls to the viewport floor. */
    .cards .card{padding-bottom:34px}
    .cards .card:last-child{margin-bottom:64px}
    .industries .pad{padding-bottom:96px}
  }
  /* MOBILE/TABLET: the hero is a clean full-bleed BRAND image (logo + gold) — no CTA strip.
     The persistent WhatsApp float + each section's own CTA carry the action, so the cover stays
     premium and uncluttered instead of growing an appended button bar. */
  @media (max-width:900px){
    .hero{position:relative;display:block;min-height:0;overflow:hidden;background:var(--navy-700)}
    .hero-bg{position:relative;display:block;width:100%;height:52vh;min-height:340px;max-height:520px;object-fit:cover;object-position:13% center}
    .hero-overlay{display:none}
    /* Mobile: the image carries the big LYBRE art; below it a compact navy strip holds the
       real headline + sub (so mobile still has a visible H1). Buttons stay hidden — the
       persistent WhatsApp float + each section's CTA carry the action. */
    .hero-content{display:block;position:relative;width:100%;padding:26px 0 30px;background:linear-gradient(180deg,var(--navy) 0%,var(--navy-700) 100%)}
    .hero-copy{max-width:none;margin-bottom:0}
    .hero-title{font-size:1.55rem;text-shadow:none}
    .hero-sub{font-size:1rem;color:rgba(255,255,255,.85);text-shadow:none;max-width:42ch}
    .hero-actions{display:none}
  }
  @media (max-width:560px){
    .cards{grid-template-columns:1fr}
    .foot-grid{grid-template-columns:1fr}
    /* Slightly shorter brand cover on small phones */
    .hero-bg{height:46vh;object-position:13% center}
    /* Rhythm: tighten the desktop-scale vertical spacing for phones */
    section.block{padding:52px 0}
    .section-head{margin-bottom:28px}
    .intro .big{font-size:1.5rem}
    footer{margin-top:52px}
    .foot-bottom{margin-top:32px;padding-right:74px}
    .logos{gap:12px 22px;margin-top:32px}
    .logos span{font-size:1rem}
    /* Reading sizes: keep content body ≥16px on phones */
    .card p,.post p{font-size:1rem}
    .ind-item p{font-size:.95rem}
  }
  @media (max-width:400px){
    .wrap{padding:0 18px}
    .card{padding:24px 20px 34px}
    /* keep the float-clearance bottom padding (P2 #1) even at this narrow breakpoint */
    .industries .pad{padding:36px 22px 96px}
    .cta-banner{padding:32px 22px}
    .intro .big br{display:none}
    h2{font-size:clamp(1.45rem,6vw,1.7rem)}
  }
  /* Landscape phones: revert to the whole-image hero so the wide composition reads,
     capped so the CTAs still appear without a long scroll. */
  @media (max-width:900px) and (orientation:landscape){
    .hero-bg{aspect-ratio:1672/941;height:auto;min-height:0;max-height:74vh}
  }
  /* Touch devices: no hover-sticky; give a real tactile :active instead */
  @media (hover:none){
    .card:hover,.post:hover,.btn:hover,.wa-float:hover{transform:none}
    .card:active,.post:active{transform:translateY(-2px);box-shadow:0 6px 18px rgba(var(--navy-rgb),.10)}
  }
  /* Branded tap highlight instead of the default mobile blue flash */
  *{-webkit-tap-highlight-color:rgba(var(--gold-rgb),.18)}
  a,button{-webkit-tap-highlight-color:transparent}
  /* Safe-area: keep footer content above the home indicator */
  footer{padding-bottom:max(30px,calc(30px + env(safe-area-inset-bottom)))}
  @keyframes fade{from{opacity:0}to{opacity:1}}
  @keyframes shine{
    0%{background-position:0% center}
    100%{background-position:200% center}
  }

  @media (prefers-reduced-motion:reduce){
    *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
    .reveal{opacity:1;transform:none}
    /* Show the ✓ checks fully drawn (no draw animation) and drop the hero glow/parallax scale */
    .check svg path{stroke-dashoffset:0!important}
    .hero-glow{display:none!important}
    .hero-bg{transform:none!important}
    /* Fallback: solid gold-soft text when animations disabled */
    .hero-content h1 .hl{
      background:none!important;
      -webkit-background-clip:unset!important;
      background-clip:unset!important;
      color:var(--gold-soft)!important;
    }
  }
