/* =========================================================
   Dr. Frederico Martins Advocacia — site.css
   Mobile-first (base = celular). Sem frameworks externos.
   ========================================================= */

:root{
  --navy-950:#050d1c;
  --navy-900:#0a1a33;
  --navy-800:#132a4d;
  --navy-700:#1d3a63;
  --gold-300:#e6cf9c;
  --gold-400:#c9a668;
  --gold-500:#a9824c;
  --paper:#f7f4ee;
  --paper-line:#e7e0d2;
  --ink:#1c2430;
  --ink-soft:#4b5566;
  --health:#0f6b52;
  --health-soft:#e7f2ee;
  --whatsapp:#0f7a3d;
  --whatsapp-dark:#0b6e36;
  --cookie-offset:0px;
  --radius-lg:22px;
  --radius-md:14px;
  --shadow-soft:0 14px 34px rgba(5,13,28,.08);
  --font-serif:Georgia,'Iowan Old Style','Palatino Linotype',"Times New Roman",serif;
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --safe-bottom:env(safe-area-inset-bottom,0px);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--ink);
  background:#fff;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--font-serif);line-height:1.18;margin:0;font-weight:600;letter-spacing:.001em}
p{margin:0;line-height:1.65}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;cursor:pointer}

:focus-visible{outline:3px solid var(--gold-400);outline-offset:3px}

.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}
.skip-link{position:absolute;left:1rem;top:-4rem;z-index:200;background:#fff;color:var(--navy-900);padding:.9rem 1.2rem;border-radius:var(--radius-md);font-weight:600;transition:top .15s ease}
.skip-link:focus{top:1rem}

.container{width:100%;max-width:1180px;margin:0 auto;padding:0 1.25rem}
@media (min-width:640px){.container{padding:0 2rem}}

.section{padding:3.25rem 0}
@media (min-width:900px){.section{padding:5rem 0}}
.section-paper{background:var(--paper)}
.section-navy{background:var(--navy-900);color:#eef1f6}

.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-serif);font-style:italic;
  color:var(--gold-500);font-size:.98rem;margin-bottom:.6rem;
}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--gold-500)}
.section-navy .eyebrow{color:var(--gold-300)}
.section-navy .eyebrow::before{background:var(--gold-300)}

.section-head{max-width:640px}
.section-head h2{font-size:1.7rem}
@media (min-width:640px){.section-head h2{font-size:2.1rem}}
.section-head p{margin-top:.85rem;font-size:1.05rem;color:var(--ink-soft)}
.section-navy .section-head p{color:#c7d0de}

.legal-note{
  font-size:.86rem;color:var(--ink-soft);
  border-left:3px solid var(--gold-400);
  padding-left:.85rem;margin-top:1rem;line-height:1.55;
}
.section-navy .legal-note{color:#aeb9c9;border-left-color:var(--gold-300)}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  min-height:52px;padding:.9rem 1.5rem;border-radius:999px;
  font-weight:700;font-size:.98rem;text-decoration:none;border:1px solid transparent;
  transition:transform .15s ease, background .15s ease, color .15s ease;
}
.btn:active{transform:scale(.98)}
.btn-whatsapp{background:var(--whatsapp);color:#fff}
.btn-whatsapp:hover{background:var(--whatsapp-dark)}
.btn-gold{background:var(--gold-400);color:var(--navy-950)}
.btn-gold:hover{background:var(--gold-300)}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-outline-dark{background:transparent;border-color:var(--navy-800);color:var(--navy-900)}
.btn-outline-dark:hover{background:var(--navy-900);color:#fff}
.btn-block{width:100%}
.btn-sm{min-height:44px;padding:.7rem 1.2rem;font-size:.92rem}
.icon-wa{width:20px;height:20px;flex:none}
.icon-wa-image{border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.28)}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(5,13,28,.96);
  backdrop-filter:blur(6px);
  color:#fff;border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;min-height:66px;
}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;line-height:1.2;min-width:0}
.brand-logo{width:38px;height:38px;object-fit:contain;flex:none}
.brand-copy{display:flex;flex-direction:column;min-width:0}
.brand-copy strong{font-family:var(--font-serif);font-size:.96rem;font-weight:600;white-space:nowrap;color:#fff}
.brand-copy > span{font-size:.64rem;letter-spacing:.08em;color:var(--gold-300);white-space:nowrap}
@media (min-width:640px){
  .brand{gap:.7rem}
  .brand-logo{width:44px;height:44px}
  .brand-copy strong{font-size:1rem}
  .brand-copy > span{font-size:.68rem}
}

.header-actions{display:flex;align-items:center;gap:.6rem}

.nav-desktop{display:none}
@media (min-width:980px){
  .nav-desktop{display:flex;gap:1.8rem;margin:0 1.5rem}
  .nav-desktop a{font-size:.95rem;text-decoration:none;color:#dfe4ea}
  .nav-desktop a:hover{color:var(--gold-300)}
}

.menu-btn{
  display:inline-flex;min-height:44px;min-width:44px;align-items:center;justify-content:center;
  background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:10px;color:#fff;
}
@media (min-width:980px){.menu-btn{display:none}}
.menu-btn svg{width:22px;height:22px}

.mobile-nav{
  display:none;border-top:1px solid rgba(255,255,255,.08);
  background:var(--navy-950);
}
.mobile-nav.is-open{display:block}
@media (min-width:980px){.mobile-nav{display:none!important}}
.mobile-nav ul{padding:.6rem 1.25rem 1.1rem}
.mobile-nav a{display:block;padding:.85rem .4rem;text-decoration:none;color:#e7ebf1;border-bottom:1px solid rgba(255,255,255,.06);font-size:1.02rem}
.mobile-nav a:last-child{border-bottom:0}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#fff;background:var(--navy-950);
}
.hero-photo{position:absolute;inset:0;z-index:0}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 15%;display:block}
.hero-scrim{
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(0deg, rgba(5,13,28,.95) 0%, rgba(5,13,28,.35) 42%, rgba(5,13,28,.08) 68%),
    linear-gradient(100deg, rgba(5,13,28,.92) 0%, rgba(5,13,28,.62) 34%, rgba(5,13,28,.1) 62%);
}
.hero-inner{position:relative;z-index:1;display:flex;align-items:flex-end;min-height:78vh}
@media (min-width:640px){.hero-inner{min-height:600px}}
@media (min-width:900px){.hero-inner{min-height:660px}}
.hero-inner .container{padding-top:2.4rem;padding-bottom:2.6rem}
@media (min-width:900px){.hero-inner .container{padding-bottom:3.4rem}}

.hero-copy{max-width:36ch}
@media (min-width:640px){.hero-copy{max-width:42ch}}

.hero-kicker{font-size:.92rem;color:var(--gold-300);margin-bottom:.9rem}
.hero h1{font-size:1.9rem;letter-spacing:-.01em}
@media (min-width:480px){.hero h1{font-size:2.3rem}}
@media (min-width:900px){.hero h1{font-size:3rem}}

/* Entrada elegante do titulo principal: executa uma unica vez ao carregar. */
.hero-title-animated{overflow:visible}
.hero-title-line{display:block;will-change:transform,opacity}
.hero-title-line-1{
  opacity:0;
  transform:translateY(16px);
  animation:heroTitleReveal .68s cubic-bezier(.22,.8,.26,1) .10s forwards;
}
.hero-title-line-2{
  opacity:0;
  transform:translateY(16px);
  animation:heroTitleReveal .72s cubic-bezier(.22,.8,.26,1) .30s forwards;
}
@keyframes heroTitleReveal{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:639px){
  .hero-title-line-1,.hero-title-line-2{transform:translateY(10px)}
  @keyframes heroTitleReveal{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
  }
}
@media (prefers-reduced-motion:reduce){
  .hero-title-line-1,.hero-title-line-2{opacity:1;transform:none;animation:none}
}
.hero-text{margin-top:1.1rem;font-size:1.05rem;line-height:1.6;color:#dfe4ec;max-width:48ch}
.hero-ctas{margin-top:1.7rem;display:flex;flex-direction:column;gap:.75rem}
@media (min-width:480px){.hero-ctas{flex-direction:row;flex-wrap:wrap}}
.hero-secondary-link{
  display:inline-flex;align-items:center;justify-content:center;gap:.38rem;
  min-height:44px;padding:.65rem .25rem;color:#dfe4ec;font-weight:650;font-size:.94rem;
  text-decoration:none;border-bottom:1px solid rgba(230,207,156,.42);
  transition:color .15s ease,border-color .15s ease;
}
.hero-secondary-link:hover{color:var(--gold-300);border-bottom-color:var(--gold-300)}

/* No celular, a fotografia respira: rosto primeiro, mensagem e CTA depois. */
@media (max-width:639px){
  .hero-photo{
    position:relative;inset:auto;height:clamp(290px,44vh,360px);overflow:hidden;
    background:var(--navy-950);
  }
  .hero-photo img{height:100%;object-fit:cover;object-position:54% 17%}
  .hero-scrim{
    top:0;bottom:auto;height:clamp(290px,44vh,360px);
    background:linear-gradient(180deg,rgba(5,13,28,.02) 0%,rgba(5,13,28,.02) 62%,rgba(5,13,28,.92) 100%);
    pointer-events:none;
  }
  .hero-inner{min-height:auto;align-items:stretch;background:var(--navy-950)}
  .hero-inner .container{padding-top:1.15rem;padding-bottom:1.6rem}
  .hero-copy{max-width:none}
  .hero-kicker{font-size:.86rem;margin-bottom:.7rem}
  .hero h1{font-size:2rem;line-height:1.1;max-width:15ch}
  .hero-text{margin-top:.85rem;font-size:.98rem;line-height:1.55;max-width:36ch}
  .hero-ctas{margin-top:1.2rem;gap:.4rem}
  .hero-primary-cta{width:100%;min-height:54px}
  .hero-primary-cta .icon-wa{width:24px;height:24px}
  .hero-secondary-link{display:none}
}

.hero-banner{position:relative;z-index:1;background:var(--navy-950);border-top:1px solid rgba(230,207,156,.28)}
.hero-banner-inner{
  display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;
  padding-top:1.15rem;
  padding-bottom:1.15rem;
}
@media (min-width:768px){
  .hero-banner-inner{flex-direction:row;align-items:center;gap:1.5rem;padding-top:1rem;padding-bottom:1rem}
}
.hero-banner-tag{
  flex:none;display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.05em;
  color:var(--navy-950);background:var(--gold-300);padding:.32rem .75rem;border-radius:999px;
}
.hero-banner-inner p{flex:1;margin:0;font-size:.98rem;color:#eef1f6}
.hero-banner-inner a{
  flex:none;color:var(--gold-300);font-weight:700;font-size:.95rem;text-decoration:none;
  white-space:nowrap;
}
.hero-banner-inner a:hover{color:#fff}

/* ---------- Cards de necessidade ---------- */
.need-grid{margin-top:2rem;display:grid;gap:1rem}
@media (min-width:640px){.need-grid{grid-template-columns:1fr 1fr}}

.need-card{
  display:flex;flex-direction:column;gap:.7rem;
  background:#fff;border:1px solid var(--paper-line);border-radius:var(--radius-lg);
  padding:1.4rem;box-shadow:var(--shadow-soft);
}
.need-card h3{font-size:1.15rem;color:var(--navy-900)}
.need-card p{color:var(--ink-soft);font-size:.95rem}
.need-card .btn{margin-top:.35rem;align-self:flex-start}

/* ---------- Saúde (seção de maior destaque) ---------- */
.health-block{
  display:flex;flex-direction:column;gap:1.75rem;
  border-radius:var(--radius-lg);
  background:linear-gradient(135deg,var(--health-soft),#fff 60%);
  border:1px solid #cfe4dc;
  padding:1.75rem 1.5rem;
}
@media (min-width:900px){
  .health-block{flex-direction:row;align-items:flex-start;gap:2.75rem;padding:2.75rem}
}
.health-main{flex:1;min-width:0}
.health-block h2{font-size:1.6rem;color:var(--navy-950)}
@media (min-width:640px){.health-block h2{font-size:2rem}}
.health-block .lead{margin-top:1rem;font-size:1.05rem;color:var(--ink-soft);max-width:60ch}

.health-graphic{
  flex:none;width:88px;height:88px;border-radius:50%;
  border:2px solid var(--gold-400);
  display:flex;align-items:center;justify-content:center;align-self:center;
  font-family:var(--font-serif);font-weight:600;font-size:1.4rem;color:var(--navy-900);
  letter-spacing:.02em;
}
@media (min-width:900px){
  .health-graphic{width:116px;height:116px;font-size:1.85rem;align-self:flex-start;margin-top:.2rem}
}
.health-graphic img{width:72%;height:72%;object-fit:contain;display:block}

.doc-list{margin-top:1.4rem;display:grid;gap:.6rem}
@media (min-width:640px){.doc-list{grid-template-columns:1fr 1fr}}
.doc-list li{
  display:flex;gap:.6rem;align-items:flex-start;background:#fff;
  border:1px solid #dcece5;border-radius:var(--radius-md);padding:.75rem .9rem;font-size:.94rem;
}
.doc-list svg{flex:none;width:18px;height:18px;color:var(--health);margin-top:.15rem}

.health-block .btn{margin-top:1.5rem}

/* ---------- Como funciona ---------- */
.steps{margin-top:2rem;display:grid;gap:1.1rem}
@media (min-width:768px){.steps{grid-template-columns:repeat(3,1fr);gap:1.4rem}}
.step{
  position:relative;padding:1.3rem 1.3rem 1.3rem 3.6rem;background:#fff;
  border:1px solid var(--paper-line);border-radius:var(--radius-md);
}
.step-num{
  position:absolute;left:1.2rem;top:1.2rem;width:2rem;height:2rem;border-radius:50%;
  background:var(--navy-900);color:var(--gold-300);font-family:var(--font-serif);
  display:flex;align-items:center;justify-content:center;font-size:1rem;
}
.step p{font-size:.98rem;color:var(--ink)}

/* ---------- Áreas de atuação ---------- */
.areas-grid{margin-top:2rem;display:grid;gap:1rem}
@media (min-width:640px){.areas-grid{grid-template-columns:1fr 1fr}}
.area-card{
  background:#fff;border:1px solid var(--paper-line);border-radius:var(--radius-lg);
  padding:1.35rem;display:flex;flex-direction:column;gap:.6rem;box-shadow:var(--shadow-soft);
}
.area-card h3{font-size:1.08rem;color:var(--navy-900)}
.area-card p{font-size:.94rem;color:var(--ink-soft)}
.area-card .btn{margin-top:.3rem;align-self:flex-start}

/* ---------- Sobre ---------- */
.about-grid{display:grid;gap:2rem}
@media (min-width:900px){.about-grid{grid-template-columns:.8fr 1.2fr;align-items:center;gap:3rem}}
.about-photo{border-radius:var(--radius-lg);overflow:hidden;border:1px solid rgba(255,255,255,.14)}
.about-photo img{width:100%;height:380px;object-fit:cover;object-position:top}
@media (min-width:900px){.about-photo img{height:480px}}
.about-photo figcaption{padding:1.1rem 1.2rem;background:rgba(255,255,255,.05)}
.about-photo figcaption strong{display:block;font-family:var(--font-serif);font-size:1.1rem}
.about-photo figcaption span{display:block;margin-top:.15rem;font-size:.8rem;letter-spacing:.06em;color:var(--gold-300)}
.about-text p{margin-top:1rem;font-size:1.03rem;color:#d3d9e2;max-width:60ch}
.about-text p:first-of-type{margin-top:1.2rem}

/* ---------- Conteúdo jurídico ---------- */
.content-grid{margin-top:2rem;display:grid;gap:1rem}
@media (min-width:768px){.content-grid{grid-template-columns:repeat(3,1fr)}}
.content-card{
  display:block;text-decoration:none;background:#fff;border:1px solid var(--paper-line);
  border-radius:var(--radius-md);padding:1.25rem;transition:box-shadow .15s ease, transform .15s ease;
}
.content-card:hover{box-shadow:var(--shadow-soft);transform:translateY(-2px)}
.content-card h3{font-size:1.02rem;color:var(--navy-900)}
.content-card p{margin-top:.5rem;font-size:.9rem;color:var(--ink-soft)}
.content-card .go{margin-top:.8rem;display:inline-block;font-size:.86rem;font-weight:700;color:var(--gold-500)}


/* ---------- Perguntas frequentes ---------- */
.faq-list{margin-top:2rem;display:grid;gap:.8rem;max-width:860px}
.faq-item{background:#fff;border:1px solid var(--paper-line);border-radius:var(--radius-md);overflow:hidden}
.faq-item summary{position:relative;cursor:pointer;list-style:none;padding:1.05rem 3rem 1.05rem 1.15rem;font-weight:700;color:var(--navy-900);line-height:1.4}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:1.15rem;top:50%;transform:translateY(-50%);font-size:1.35rem;font-weight:500;color:var(--gold-500)}
.faq-item[open] summary::after{content:"−"}
.faq-item p{padding:0 1.15rem 1.15rem;color:var(--ink-soft);font-size:.96rem}

/* ---------- Canal oficial / segurança ---------- */
.official-box{
  border-radius:var(--radius-lg);border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);padding:1.6rem 1.5rem;
}
@media (min-width:900px){.official-box{padding:2.2rem 2.5rem}}
.official-box h2{font-size:1.45rem}
.official-box p{margin-top:.85rem;color:#c7d0de;max-width:62ch}
.official-box .btn{margin-top:1.3rem}

/* ---------- Contato ---------- */
.contact-card{
  background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);
  padding:1.6rem;border:1px solid var(--paper-line);
}
@media (min-width:900px){.contact-card{padding:2.4rem}}
.contact-grid{display:grid;gap:1.75rem}
@media (min-width:900px){.contact-grid{grid-template-columns:1fr 1fr}}
address{font-style:normal}
address h3{font-size:1rem;color:var(--navy-900);margin-top:1.1rem}
address h3:first-child{margin-top:0}
address p,address a{margin-top:.5rem;display:block;font-size:.98rem;text-decoration:none}
address a{color:var(--navy-900);text-decoration:underline;text-decoration-color:var(--paper-line);text-underline-offset:3px}

.map-wrap{margin-top:1.6rem;border-radius:var(--radius-lg);overflow:hidden;background:#fff;border:1px solid var(--paper-line);box-shadow:var(--shadow-soft)}
.map-frame{position:relative;background:var(--paper);min-height:220px;display:flex;align-items:center;justify-content:center}
.map-frame iframe{width:100%;height:100%;min-height:260px;border:0;position:absolute;inset:0}
.map-cta{padding:1.5rem}
.map-cta h3{font-size:1.15rem;color:var(--navy-900)}
.map-cta p{margin-top:.6rem;font-size:.95rem;color:var(--ink-soft)}
.map-cta .btn{margin-top:1.1rem}
/* ---------- Rodapé ---------- */
.site-footer{background:var(--navy-950);color:#b8c1cf;padding:2.6rem 0 6.5rem}
@media (min-width:900px){.site-footer{padding:3.2rem 0}}
.footer-top{display:flex;flex-direction:column;gap:1.4rem;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:1.6rem}
@media (min-width:768px){.footer-top{flex-direction:row;align-items:center;justify-content:space-between}}
.footer-brand{display:flex;align-items:center;gap:.9rem;max-width:560px}
.footer-brand-logo{width:58px;height:58px;object-fit:contain;flex:none}
.footer-top strong{display:block;color:#fff;font-family:var(--font-serif);font-size:1.05rem}
.footer-top p{margin-top:.3rem;font-size:.88rem}
.footer-lawyer-name{display:block}
.footer-oab{display:block;margin-top:.1rem!important}
@media (min-width:640px){.footer-brand-logo{width:68px;height:68px}}
.footer-links{display:flex;flex-wrap:wrap;gap:1.1rem 1.4rem;font-size:.88rem}
.footer-links button,.footer-links a{background:none;border:0;color:#b8c1cf;padding:0;text-decoration:underline;text-decoration-color:rgba(184,193,207,.4);text-underline-offset:3px}

.footer-service-area{
  margin:1.25rem auto 0;padding:1rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#c8ced8;font-size:.84rem;line-height:1.6;max-width:920px;
  text-align:center;
}
.footer-service-area strong{color:var(--gold-300);font-weight:700}
.footer-service-area p{margin:0 auto;max-width:820px}
.footer-service-area p + p{margin-top:.35rem}
.footer-bottom{margin:1.25rem auto 0;max-width:860px;color:#8b95a5;text-align:center}
.footer-legal{font-size:.82rem;line-height:1.65}
.footer-credit{margin-top:.9rem;font-size:.78rem;line-height:1.55;color:#8b95a5}
.footer-rights{display:block;margin-top:.3rem;font-size:.78rem;line-height:1.55;color:#8b95a5}
.footer-bottom a{color:#b8c1cf;text-decoration:underline;text-underline-offset:3px}
@media (max-width:767px){
  .footer-service-area{padding-left:.25rem;padding-right:.25rem}
  .footer-brand p{white-space:normal}
  .footer-oab{margin-top:.08rem!important}
  .footer-credit,.footer-rights{display:block;width:100%;text-align:center}
}

/* ---------- CTA fixo mobile ---------- */
.mobile-cta{
  position:fixed;left:0;right:0;bottom:var(--cookie-offset);z-index:90;
  display:flex;justify-content:center;
  padding:.7rem 1rem calc(.7rem + var(--safe-bottom));
  background:linear-gradient(180deg,rgba(5,13,28,0),rgba(5,13,28,.94) 30%);
}
.mobile-cta .btn{width:100%;max-width:520px;box-shadow:0 10px 26px rgba(5,13,28,.35)}
.mobile-cta,.desktop-float{transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.mobile-cta.is-gated,.desktop-float.is-gated{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px)}
.mobile-cta.is-gated.is-visible,.desktop-float.is-gated.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
@media (min-width:980px){.mobile-cta{display:none}}

.desktop-float{
  display:none;position:fixed;right:1.6rem;bottom:calc(1.6rem + var(--cookie-offset));z-index:90;
}
@media (min-width:980px){.desktop-float{display:inline-flex}}

/* ---------- Dialogs (nativos) ---------- */
dialog{border:0;padding:0}
dialog::backdrop{background:rgba(5,13,28,.7)}
.dialog-card{max-width:640px;width:calc(100% - 2rem);border-radius:var(--radius-lg);overflow:hidden}
.dialog-body{padding:1.6rem;max-height:80vh;overflow:auto}
.dialog-body h2{font-size:1.4rem;color:var(--navy-950)}
.dialog-body section{margin-top:1.2rem}
.dialog-body h3{font-size:1rem;color:var(--navy-900)}
.dialog-body p{margin-top:.5rem;font-size:.94rem;color:var(--ink-soft);line-height:1.6}
.dialog-close{
  position:absolute;right:1rem;top:1rem;width:2.5rem;height:2.5rem;border-radius:50%;
  background:var(--paper);border:1px solid var(--paper-line);font-size:1.3rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.dialog-inner{position:relative}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:95;background:#fff;
  border-top:1px solid var(--paper-line);box-shadow:0 -8px 30px rgba(5,13,28,.12);
  padding:1.1rem 1.25rem calc(1.1rem + var(--safe-bottom));
}
.cookie-banner[hidden]{display:none}
.cookie-inner{display:flex;flex-direction:column;gap:.9rem;max-width:1180px;margin:0 auto}
@media (min-width:768px){.cookie-inner{flex-direction:row;align-items:center;justify-content:space-between}}
.cookie-inner p{font-size:.88rem;color:var(--ink-soft)}
.cookie-inner a{text-decoration:underline;font-weight:600;color:var(--navy-900)}

/* =========================================================
   Páginas internas (conteúdo jurídico) — herdam header/footer
   e reaproveitam .content-card, .btn, .legal-note já definidos.
   ========================================================= */

.crumb{font-size:.82rem;color:#c7d0de;margin-bottom:.9rem}
.crumb a{color:#c7d0de;text-decoration:underline;text-decoration-color:rgba(199,208,222,.4)}
.crumb a:hover{color:#fff}

.page-hero{
  background:linear-gradient(160deg,var(--navy-950) 0%,var(--navy-900) 55%,var(--navy-800) 100%);
  color:#fff;
}
.page-hero .container{padding-top:2.4rem;padding-bottom:2.6rem}
@media (min-width:900px){.page-hero .container{padding-top:3.6rem;padding-bottom:3.4rem}}
.page-hero h1{font-size:1.7rem;max-width:26ch}
@media (min-width:640px){.page-hero h1{font-size:2.15rem}}
.page-hero .lead{margin-top:1rem;font-size:1.04rem;color:#d3d9e2;max-width:60ch;line-height:1.65}

.info-stack{margin-top:-1.5rem;display:grid;gap:1rem;position:relative;z-index:2}
@media (min-width:900px){.info-stack{margin-top:-2.2rem}}

.info-card{
  background:#fff;border:1px solid var(--paper-line);border-radius:var(--radius-lg);
  padding:1.5rem;box-shadow:var(--shadow-soft);
}
@media (min-width:900px){.info-card{padding:2rem 2.2rem}}
.info-card h2{font-size:1.25rem;color:var(--navy-950)}
@media (min-width:640px){.info-card h2{font-size:1.4rem}}
.info-card > p{margin-top:.9rem;color:var(--ink-soft);font-size:1.01rem}

.check-list{margin-top:1.1rem;display:grid;gap:.65rem}
.check-list li{display:flex;gap:.65rem;align-items:flex-start;font-size:.97rem;color:var(--ink)}
.check-list svg{flex:none;width:18px;height:18px;color:var(--gold-500);margin-top:.2rem}

.notice-box{
  background:var(--navy-900);color:#dbe1ea;border-radius:var(--radius-lg);
  padding:1.4rem 1.5rem;
}
@media (min-width:900px){.notice-box{padding:1.8rem 2.2rem}}
.notice-box h2{font-size:1.15rem;color:#fff}
.notice-box p{margin-top:.7rem;font-size:.96rem;line-height:1.6;color:#c7d0de}

.final-cta{
  background:#fff;border:1px solid var(--gold-400);border-radius:var(--radius-lg);
  padding:1.5rem;
}
@media (min-width:900px){.final-cta{padding:2rem 2.2rem}}
.final-cta h2{font-size:1.3rem;color:var(--navy-950)}
.final-cta p{margin-top:.7rem;color:var(--ink-soft)}
.final-cta .btn{margin-top:1.2rem}
.final-cta .fine{margin-top:.7rem;font-size:.82rem;color:var(--ink-soft)}
