/* Norte Estofos V22 — sistema visual premium unificado
   Camada final: cor, contraste, superfícies, tipografia, espaçamento e componentes. */
:root{
  color-scheme:light;
  --ne-bg:#F7F4ED;
  --ne-paper:#FFFFFF;
  --ne-cream:#F3EEE3;
  --ne-cream-strong:#E9E1D2;
  --ne-ink:#11110F;
  --ne-ink-2:#2A2925;
  --ne-muted:#625E56;
  --ne-dark:#0B0B0A;
  --ne-dark-surface:#171715;
  --ne-dark-hover:#22221F;
  --ne-light:#FFFFFF;
  --ne-light-muted:#D7D3CA;
  --ne-gold:#D4A90D;
  --ne-gold-hover:#BD9300;
  --ne-gold-soft:#F1D978;
  --ne-border:#D9D1C3;
  --ne-border-dark:rgba(255,255,255,.14);
  --ne-shadow-sm:0 8px 24px rgba(17,17,15,.08);
  --ne-shadow-md:0 18px 48px rgba(17,17,15,.13);
  --ne-shadow-lg:0 28px 80px rgba(0,0,0,.22);
  --ne-radius-sm:16px;
  --ne-radius-lg:28px;
  --ne-pill:999px;
  --ne-section:clamp(72px,8vw,124px);
}

html{background:var(--ne-bg);scroll-behavior:smooth}
body{background:var(--ne-bg);color:var(--ne-ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
::selection{background:var(--ne-gold-soft);color:var(--ne-ink)}

/* Escala tipográfica única */
h1,h2,h3,h4,h5,h6{color:inherit;text-wrap:balance}
p,li{color:inherit}
.section-title{letter-spacing:-.035em;line-height:1.02}
.eyebrow{color:var(--ne-gold-hover)!important;letter-spacing:.16em;font-weight:800}

/* Ritmo e superfícies principais */
.section{padding-block:var(--ne-section)}
.process,.services,.lifestyle-section,.pricing,.faq,.areas{background:var(--ne-bg);color:var(--ne-ink)}
.hero,.results,.specialist-section,.about,.social-proof-bar,.final-cta,.price-promise,.quote-box,.hero-enterprise,footer,.footer-e,.cta-e{background:var(--ne-dark);color:var(--ne-light)}

/* Contraste determinístico em áreas escuras */
:is(.hero,.results,.specialist-section,.about,.social-proof-bar,.final-cta,.price-promise,.quote-box,.hero-enterprise,footer,.footer-e,.cta-e)
:is(h1,h2,h3,h4,h5,h6,strong,b,summary){color:var(--ne-light)!important;opacity:1!important;filter:none!important;text-shadow:none!important}
:is(.hero,.results,.specialist-section,.about,.social-proof-bar,.final-cta,.price-promise,.quote-box,.hero-enterprise,footer,.footer-e,.cta-e)
:is(p,li,small){color:var(--ne-light-muted)!important;opacity:1!important;filter:none!important}

/* Qualquer superfície clara volta sempre ao esquema claro */
:is(.surface-light,.trust-pills,.health-card,.card,.service-card,.price-card,.faq details,.process-card,.lifestyle-feature,.preventive-band,.about-card,.quote-card){
  background:var(--ne-paper);color:var(--ne-ink);border-color:var(--ne-border)
}
:is(.surface-light,.trust-pills,.health-card,.card,.service-card,.price-card,.faq details,.process-card,.lifestyle-feature,.preventive-band,.about-card,.quote-card)
:is(h1,h2,h3,h4,h5,h6,strong,b,summary){color:var(--ne-ink)!important;opacity:1!important;filter:none!important;text-shadow:none!important}
:is(.surface-light,.trust-pills,.health-card,.card,.service-card,.price-card,.faq details,.process-card,.lifestyle-feature,.preventive-band,.about-card,.quote-card)
:is(p,li,small){color:var(--ne-muted)!important;opacity:1!important;filter:none!important;text-shadow:none!important}

/* Cartões e componentes */
:is(.service-card,.price-card,.process-card,.faq details,.card-link,.quote-card){border:1px solid var(--ne-border);border-radius:var(--ne-radius-sm);box-shadow:var(--ne-shadow-sm);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media(hover:hover){:is(.service-card,.price-card,.process-card,.faq details,.card-link,.quote-card):hover{transform:translateY(-3px);box-shadow:var(--ne-shadow-md);border-color:#C8BDAA}}

/* Botões */
.btn,.nav-cta,.mobile-contact-bar a{border-radius:var(--ne-pill);font-weight:800;min-height:48px;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease}
.btn.gold,.nav-cta,.mobile-contact-bar .primary{background:var(--ne-gold)!important;color:var(--ne-ink)!important;border-color:var(--ne-gold)!important}
@media(hover:hover){.btn.gold:hover,.nav-cta:hover,.mobile-contact-bar .primary:hover{background:var(--ne-gold-hover)!important;border-color:var(--ne-gold-hover)!important;transform:translateY(-1px)}}
.btn.ghost{background:transparent!important;color:var(--ne-light)!important;border-color:rgba(255,255,255,.34)!important}

/* Cabeçalho */
.site-header{background:rgba(11,11,10,.92)!important;border-bottom:1px solid var(--ne-border-dark)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.site-header .navlinks a,.site-header .menu{color:var(--ne-light-muted)!important}
.site-header .navlinks a:hover,.site-header .navlinks a[aria-current="page"]{color:var(--ne-light)!important}
.langs{border-color:var(--ne-border-dark)!important;background:var(--ne-dark-surface)!important}

/* Resultados e benefícios: bloco claro dentro da secção escura */
.results .trust-pills{background:var(--ne-cream)!important;color:var(--ne-ink)!important;border:1px solid var(--ne-border)!important;border-radius:var(--ne-radius-lg)!important;box-shadow:var(--ne-shadow-lg)!important}
.results .trust-pills article{background:transparent!important;border-color:var(--ne-border)!important}
.results .trust-pills article>span:first-child{color:var(--ne-gold-hover)!important}
.results .trust-pills strong{color:var(--ne-ink)!important}
.results .trust-pills small{color:var(--ne-muted)!important}

/* Serviço premium */
.specialist-section{border-block:1px solid var(--ne-border-dark)}
.specialist-item{border-color:var(--ne-border-dark)!important}
.specialist-number,.specialist-arrow{color:var(--ne-gold)!important}

/* Faixas claras e douradas */
.health-card,.preventive-band{background:var(--ne-cream)!important;color:var(--ne-ink)!important;border:1px solid var(--ne-border)!important;box-shadow:var(--ne-shadow-md)!important}
.health-card :is(h2,h3,strong),.preventive-band :is(h2,h3,strong){color:var(--ne-ink)!important}
.health-card p,.preventive-band p{color:var(--ne-muted)!important}

/* FAQ */
.faq details{background:var(--ne-paper)!important}
.faq summary{color:var(--ne-ink)!important}
.faq details[open]{border-color:#CBBFAD;box-shadow:var(--ne-shadow-md)}

/* Formulários */
input,textarea,select{background:var(--ne-paper);color:var(--ne-ink);border:1px solid var(--ne-border);border-radius:12px}
input::placeholder,textarea::placeholder{color:#777168}
input:focus,textarea:focus,select:focus{outline:3px solid rgba(212,169,13,.24);border-color:var(--ne-gold-hover)}

/* Rodapé */
footer a,.footer-e a{color:var(--ne-light-muted)!important}
footer a:hover,.footer-e a:hover{color:var(--ne-gold-soft)!important}

/* Foco acessível */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--ne-gold-soft)!important;outline-offset:3px}

/* Animações nunca escondem conteúdo */
.reveal,.reveal.show{opacity:1!important;transform:none!important}

@media(max-width:900px){
  :root{--ne-section:clamp(60px,11vw,88px)}
  .section-title{letter-spacing:-.03em}
}

@media(max-width:768px){
  body{overflow-x:hidden}
  .section{padding-block:var(--ne-section)}
  .container{padding-inline:18px}
  .hero-actions .btn{width:100%}
  .results .trust-pills{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
  .results .trust-pills article{background:var(--ne-cream)!important;border:1px solid var(--ne-border)!important;border-radius:var(--ne-radius-sm)!important;box-shadow:var(--ne-shadow-sm)!important}
  .mobile-contact-bar{background:rgba(11,11,10,.96)!important;border-top:1px solid var(--ne-border-dark)!important;backdrop-filter:blur(12px)}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
