/* WessIA V26 — paleta premium, contraste e legibilidade
   Azul-marinho profundo + azul elétrico controlado + ciano pontual. */
:root{
  --bg:#F6F8FC;
  --surface:#FFFFFF;
  --ink:#081A2B;
  --muted:#475569;
  --line:#D7E1EA;
  --navy:#071A2E;
  --navy-2:#0A2B4A;
  --navy2:#0A2B4A;
  --blue:#2457E6;
  --blue-2:#173FB7;
  --blue2:#173FB7;
  --cyan:#14B8C8;
  --violet:#5B55D9;
  --gold:#C7A66A;
  --green:#15803D;
  --soft:#EEF4FF;
  --soft-blue:#EEF4FF;
  --soft-cyan:#ECFBFC;
  --ice:#F8FAFC;
  --graphite:#172B3A;
  --shadow:0 28px 80px rgba(7,24,39,.15);
  --shadow-soft:0 14px 44px rgba(7,24,39,.08);
}

html{scrollbar-color:#94A3B8 #F1F5F9}
body{
  color:var(--ink);
  background:
    radial-gradient(circle at 5% 0,rgba(37,99,235,.075),transparent 28rem),
    radial-gradient(circle at 95% 2%,rgba(34,199,214,.06),transparent 26rem),
    var(--bg);
}
::selection{color:#fff;background:#1D4ED8}

/* Foco visível para teclado */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid #22C7D6;
  outline-offset:3px;
}

/* Cabeçalhos e navegação WessIA */
.topbar,.demo-notice{color:#DDE9F3;background:#04111F}
body>header,.site-header{border-bottom-color:rgba(203,213,225,.9);background:rgba(247,249,252,.94)}
.logo-mark{background:linear-gradient(145deg,#071827,#0B2740)!important;box-shadow:0 14px 34px rgba(7,24,39,.24)}
.menu a,.nav a{color:#475569}
.menu a:hover,.menu a.active,.nav a:hover{color:#1D4ED8}
.menu-toggle,.menu-btn{color:#071827;background:#fff;border-color:#CBD5E1}

/* Botões: contraste AA e estados mais nítidos */
.btn,.nav-cta,.portfolio-button,.footer-link-btn,.floating-wessia,.floating-whatsapp,.direct-whatsapp{
  opacity:1;
  filter:none;
  text-shadow:none;
}
.btn-primary,.nav-cta,.portfolio-button{
  color:#fff!important;
  border-color:#1D4ED8!important;
  background:linear-gradient(135deg,#1D4ED8,#2563EB)!important;
  box-shadow:0 15px 32px rgba(37,99,235,.24)!important;
}
.btn-primary:hover,.nav-cta:hover,.portfolio-button:hover{
  color:#fff!important;
  background:linear-gradient(135deg,#173EA6,#1D4ED8)!important;
  filter:none!important;
}
.btn-secondary{
  color:#071827!important;
  border-color:#CBD5E1!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(7,24,39,.06);
}
.btn-secondary:hover{color:#1D4ED8!important;border-color:#2563EB!important;background:#F8FAFC!important}
.btn-dark{color:#fff!important;background:#071827!important;border-color:#071827!important}
.btn-dark:hover{background:#0B2740!important}
.btn-whatsapp,.floating-whatsapp,.direct-whatsapp{
  color:#fff!important;
  background:#15803D!important;
  border-color:#15803D!important;
  box-shadow:0 14px 30px rgba(21,128,61,.23)!important;
}
.btn-whatsapp:hover,.floating-whatsapp:hover,.direct-whatsapp:hover{background:#116A32!important}
button:disabled,.btn[aria-disabled="true"]{opacity:.64;cursor:not-allowed}

/* Heróis da marca: premium, menos neon */
.hero:not(.clinic-hero):not(.hotel-hero):not(.realestate-hero):not(.pizza-hero),
.blog-hero,.article-hero{
  color:#fff;
  background:
    radial-gradient(circle at 88% 4%,rgba(34,199,214,.14),transparent 24rem),
    linear-gradient(125deg,#071827 0%,#0B2740 58%,#103A5B 100%)!important;
}
.hero:not(.clinic-hero):not(.hotel-hero):not(.realestate-hero):not(.pizza-hero)::after{
  background:radial-gradient(circle,rgba(34,199,214,.2),rgba(37,99,235,.055) 58%,transparent 70%)!important;
}
.eyebrow{color:#7BE3EA}
.gradient-text{background:linear-gradient(90deg,#FFFFFF 0%,#BEEBF0 37%,#8BB4FF 72%,#D6E2FF 100%)!important;-webkit-background-clip:text!important;background-clip:text!important}
.hero p,.blog-hero p,.article-hero .article-deck{color:#DCE7F1}
.hero-panel small,.blog-hero-panel small{color:#7BE3EA}

/* Superfícies e seções */
.section-white,.section-alt{background:#fff}
.section-dark,.strategy{background:linear-gradient(145deg,#071827,#0B2740)!important}
.card,.panel,.solution,.blog-card,.article-toc,.article-related-card,.trust-card,.price-reference-card,.blog-home-card{
  border-color:#D7E1EA;
  box-shadow:var(--shadow-soft);
}
.card.featured,.solution.featured{border-color:#AFC7F8;background:linear-gradient(180deg,#fff,#F1F6FF)}
.label,.blog-card-kicker,.kicker{color:#1D4ED8}
.section-dark .label,.strategy .label{color:#E1C99A}
.section-copy,.card p,.blog-card p,.article-content p,.article-content ul,.article-content ol{color:#475569}
.article-content>p:first-child{color:#273B4C}
.article-callout{border-color:#AFC7F8;background:#F1F6FF}
.article-callout strong{color:#0B2740}
.article-warning{border-left-color:#9A7439;background:#FFF9EC}
.article-answer{border-color:#A7DCCF;background:#F0FBF7}
.article-answer strong{color:#096354}
.article-related{background:#EFF4F8}
.article-cta,.final-cta,.founder-card,.experience-copy,.lead-copy{
  color:#fff;
  background:linear-gradient(145deg,#071827,#0B2740)!important;
}
.article-cta p,.final-cta p,.founder-card p,.experience-copy p,.lead-copy p{color:#D5E1EB}

/* Home — blocos mais sofisticados */
.strategy,.experience-copy,.founder-card,.final-cta,.portfolio-preview{
  background:linear-gradient(145deg,#071827,#0B2740 67%,#103A5B)!important;
}
.solution.featured{color:#fff!important;border-color:#244A68!important;background:linear-gradient(145deg,#071827,#0B2740)!important}
.solution.featured p,.solution.featured li{color:#DCE7F1!important}
.solution-icon,.stage-icon,.mini-cta,.agent-progress,.nexo-cta{
  background:linear-gradient(135deg,#1D4ED8,#2563EB)!important;
}
.portfolio-section{background:linear-gradient(180deg,#F8FAFC 0%,#EEF3F8 100%)!important}
.portfolio-card{border-color:#D7E1EA!important;box-shadow:0 18px 55px rgba(7,24,39,.085)!important}
.portfolio-card:hover{box-shadow:0 28px 76px rgba(7,24,39,.15)!important}
.portfolio-topline i{color:#fff!important}
.signal-strip{background:#071827!important}

/* Formulários */
.field label{color:#475569}
.field input,.field select,.field textarea{
  color:#071827!important;
  background:#fff!important;
  border-color:#CBD5E1!important;
}
.field input::placeholder,.field textarea::placeholder{color:#64748B;opacity:1}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#2563EB!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.14)!important;
}

/* Blog */
.blog-note{border-color:#D4DEE8;background:linear-gradient(135deg,#F1F5FF,#F0FBFA)}
.blog-card-meta{color:#526277}
.article-toc a{color:#475569}
.article-toc a:hover,.article-content a,.article-related-card a,.blog-card-link{color:#1D4ED8}
.article-checklist li::before{background:#15803D}

/* Demonstrações: mantém personalidade dos nichos, mas corrige contraste */
body.theme-clinic{--brand:#1D4ED8;--brand2:#68D0DB}
body.theme-hotel{--brand:#087064;--brand2:#C9A96E}
body.theme-realestate{--brand:#87540F;--brand2:#C9A96E}
body.theme-pizza{--brand:#A62E27;--brand2:#D9A34E;--bg:#FFF9F5}
.demo-notice{background:#04111F}
.site-header{background:rgba(255,255,255,.95)}
.nav-cta{color:#fff!important}
.tab.active,.add-btn,.check-list li:before,.hero-proof i{color:#fff!important}
.floating-wessia{color:#fff!important;background:#071827!important;box-shadow:0 18px 45px rgba(7,24,39,.28)!important}
.floating-wessia span{color:#071827;background:#fff}
.footer{color:#D0DCE7;background:#071827}
.footer p{color:#B7C6D5}.footer-bottom{color:#9FB0C1}
.schedule-strip{background:linear-gradient(135deg,#0B2740,#1D4ED8)!important}

/* Rodapé principal */
footer{color:#C7D4DF;background:#04111F}
footer a{color:#D4E0EA}
footer a:hover{color:#fff}

/* Pequenos ajustes de legibilidade e toque */
.btn,.nav-cta,.portfolio-button,.add-btn,.menu-toggle,.menu-btn,.demo-close,.faq-q{min-height:44px}
.btn-small{min-height:42px}
.mobile-bar{background:rgba(255,255,255,.97)!important;border-top-color:#D7E1EA!important}

@media(max-width:1180px){
  body>header .menu,body>header .nav{background:#fff!important;border-color:#D7E1EA!important}
}
@media(max-width:660px){
  .floating-wessia{background:#071827!important}
}

/* Ajustes finais após auditoria de contraste e 320 px */
.growth-goal.active{
  color:#fff!important;
  background:linear-gradient(135deg,#1D4ED8,#2447B5 58%,#08766B)!important;
}
.solution.featured .solution-link{color:#BEEBF0!important}
.solution.featured .solution-link:hover{color:#fff!important}
.footer-links a,.footer-link-btn{color:#C7D4DF!important}
.footer-links a:hover,.footer-link-btn:hover{color:#fff!important}
.lead>*{min-width:0}
.lead-copy,.lead-form,.form-grid>*{min-width:0}
.portfolio-quick,.footer-link-btn{
  min-height:44px!important;
  padding:10px 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Texto dos heróis da marca sobre fundo escuro */
body:not(.theme-clinic):not(.theme-hotel):not(.theme-realestate):not(.theme-pizza) .hero h1{
  color:#FFFFFF!important;
}
body:not(.theme-clinic):not(.theme-hotel):not(.theme-realestate):not(.theme-pizza) .hero p,
body:not(.theme-clinic):not(.theme-hotel):not(.theme-realestate):not(.theme-pizza) .hero-points span{
  color:#DCE7F1!important;
}
body:not(.theme-clinic):not(.theme-hotel):not(.theme-realestate):not(.theme-pizza) .hero .eyebrow{
  color:#8DE7ED!important;
  border:1px solid rgba(141,231,237,.28)!important;
  background:rgba(7,24,39,.58)!important;
}
.hero .nexo-role,.hero .nexo-caption{color:#BFD0DF!important}
.hero .nexo-name{color:#FFFFFF!important}

/* Revisão completa de contraste de textos */
/* Painéis claros dentro de seções escuras */
.section-dark .panel:not(.dark){color:#071827!important}
.section-dark .panel:not(.dark) h2,
.section-dark .panel:not(.dark) h3,
.section-dark .panel:not(.dark) strong{color:#071827!important}
.section-dark .panel:not(.dark) p,
.section-dark .panel:not(.dark) .check-item span{color:#475569!important}
.section-dark .panel:not(.dark) .label{color:#1D4ED8!important}

/* NEXO e mapa de crescimento */
.hero .nexo-question small,
.hero .nexo-benefits b{color:#8DE7ED!important}
.hero .nexo-benefits span{color:#E4EDF5!important}
.hero .nexo-online,.hero .nexo-badge{color:#F4F8FB!important}
.price-reference-note b{color:#0F6F5E!important}
.clarity-card p{color:#475569!important}
.clarity-external .clarity-kicker{color:#7A5310!important}
.growth-layers small{color:#D0DCE8!important}
.growth-layers span{color:#8DB7FF!important}

/* Verde legível em fundos claros; verde luminoso somente no herói escuro */
.check{color:#15803D!important}
.hero .check{color:#55D9A0!important}
.price-guide-note b{color:#0F6F5E!important}

/* Cores dos conceitos do portfólio na home com contraste em fundo claro */
.portfolio-card.theme-clinic{--portfolio:#1D4ED8!important}
.portfolio-card.theme-hotel{--portfolio:#087064!important}
.portfolio-card.theme-realestate{--portfolio:#87540F!important}
.portfolio-card.theme-pizza{--portfolio:#A62E27!important}

/* Rodapés escuros */
footer .logo,footer .logo>span{color:#FFFFFF!important}
footer .logo small{color:#BFD0DF!important}
footer .logo span[style]{color:#8DB7FF!important}
footer .legal,.legal{color:#AFC0CF!important}

/* Demonstrações: herói claro preserva texto escuro */
body.theme-clinic .hero p,
body.theme-hotel .hero p,
body.theme-realestate .hero p,
body.theme-pizza .hero p{color:#475569!important}
body.theme-clinic .hero .eyebrow,
body.theme-hotel .hero .eyebrow,
body.theme-realestate .hero .eyebrow,
body.theme-pizza .hero .eyebrow{
  color:var(--brand)!important;
  border-color:color-mix(in srgb,var(--brand) 24%,#D7E1EA)!important;
  background:color-mix(in srgb,var(--brand) 8%,#FFFFFF)!important;
}
.schedule-strip .eyebrow{color:#A5EEF2!important;background:transparent!important;border:0!important}
.clarity-external .clarity-kicker{color:#7A5310!important}
.growth-layers span{color:#071827!important}
.solution.featured .check,.panel.dark .check,.section-dark .check{color:#55D9A0!important}
.section-dark .panel:not(.dark) .check{color:#15803D!important}
#investimento-claro .clarity-external .clarity-kicker{color:#7A5310!important}
/* Cabeçalho das demonstrações: marca legível em fundo claro */
.brand img{width:58px!important;height:auto!important}
.brand-name{color:#071827;font-size:1rem;font-weight:950;letter-spacing:-.035em;white-space:nowrap}
.brand-name span{color:#2563EB}
@media(max-width:660px){
  .brand{gap:8px!important}
  .brand img{width:52px!important}
  .brand-name{font-size:.96rem}
}


/* WessIA V26 — acabamento superior */
:root{
  --premium-gradient:linear-gradient(135deg,#173FB7 0%,#2457E6 52%,#14B8C8 100%);
  --premium-dark:linear-gradient(135deg,#061421 0%,#071A2E 52%,#0A2B4A 100%);
}
body{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.btn-primary,.nav-cta,.portfolio-button{background:var(--premium-gradient)!important}
.hero:not(.clinic-hero):not(.hotel-hero):not(.realestate-hero):not(.pizza-hero),.blog-hero,.article-hero{background:radial-gradient(circle at 88% 4%,rgba(20,184,200,.16),transparent 25rem),var(--premium-dark)!important}
.logo-mark{background:var(--premium-dark)!important}
.card,.panel,.solution,.blog-card,.portfolio-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
@media (hover:hover){.card:hover,.panel:hover,.blog-card:hover{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:480px){h1{letter-spacing:-.035em}.btn,.nav-cta,.portfolio-button{width:100%;justify-content:center}.hero-actions,.cta-actions{display:grid;grid-template-columns:1fr}}
