/*
 * Redesign visual premium — Grupo CleanNew & Lusso
 * Alterações exclusivamente visuais: paleta, hierarquia, espaçamento, fundos e responsividade.
 * O conteúdo, links, formulários e funcionalidades originais permanecem preservados.
 */
:root{
  --lux-espresso:#17110e;
  --lux-espresso-2:#261b15;
  --lux-coffee:#4a3426;
  --lux-bronze:#a77442;
  --lux-gold:#c99b5b;
  --lux-champagne:#e5c99a;
  --lux-ivory:#f6f1e8;
  --lux-ivory-2:#eee5d8;
  --lux-white:#fffdf9;
  --lux-ink:#211a16;
  --lux-muted:#71665e;
  --lux-line:rgba(153,108,62,.25);
  --lux-shadow:0 24px 70px rgba(44,29,18,.14);
  --lux-shadow-dark:0 28px 80px rgba(0,0,0,.34);
  --lux-radius:28px;
  --lux-radius-sm:18px;
  --site-gold:var(--lux-gold);
  --site-gold2:var(--lux-champagne);
  --site-line:var(--lux-line);
  --gold:var(--lux-gold);
  --gold2:var(--lux-champagne);
  --line:var(--lux-line);
}

html{background:var(--lux-ivory);}
body{
  background:
    radial-gradient(circle at 8% 4%,rgba(229,201,154,.24),transparent 24%),
    radial-gradient(circle at 94% 13%,rgba(167,116,66,.14),transparent 25%),
    var(--lux-ivory)!important;
  color:var(--lux-ink)!important;
  font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
  letter-spacing:-.005em;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.22;
  background-image:
    linear-gradient(90deg,rgba(68,45,28,.025) 1px,transparent 1px),
    linear-gradient(rgba(68,45,28,.025) 1px,transparent 1px);
  background-size:42px 42px;
}

/* Cabeçalho refinado */
.site-topbar{
  background:linear-gradient(90deg,#1b130f,#2a1d16 55%,#1a120f)!important;
  border-bottom:1px solid rgba(229,201,154,.17)!important;
  color:#e8dccd!important;
  letter-spacing:.02em;
}
.site-topbar a{color:#f4eadf!important;}
.site-header{
  background:rgba(24,17,14,.89)!important;
  border-bottom:1px solid rgba(229,201,154,.19)!important;
  box-shadow:0 14px 45px rgba(0,0,0,.16);
  backdrop-filter:blur(22px) saturate(125%)!important;
}
.site-header-inner{min-height:86px!important;}
.site-brand img{
  width:50px!important;height:50px!important;
  border-radius:15px!important;
  border:1px solid rgba(229,201,154,.25)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.site-nav{gap:20px!important;}
.site-nav a{
  color:#e8ddd2!important;
  font-size:13px!important;
  font-weight:650;
  letter-spacing:.015em;
  padding:13px 1px!important;
}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--lux-champagne)!important;}
.site-nav a[aria-current="page"]::after{
  background:linear-gradient(90deg,var(--lux-bronze),var(--lux-champagne))!important;
  height:2px!important;
  border-radius:999px;
}
.site-system,.button-link.primary,.submit-btn,.btn.primary,.primary,.cookie-actions .accept{
  background:linear-gradient(135deg,#a8753f 0%,#d7ad72 54%,#ead3a7 100%)!important;
  color:#25180f!important;
  border:1px solid rgba(255,255,255,.27)!important;
  border-radius:16px!important;
  box-shadow:0 14px 34px rgba(117,75,37,.24),inset 0 1px rgba(255,255,255,.46)!important;
  font-weight:850!important;
}
.site-system:hover,.button-link.primary:hover,.submit-btn:hover,.btn.primary:hover,.primary:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 42px rgba(117,75,37,.32),inset 0 1px rgba(255,255,255,.52)!important;
}
.site-menu-btn{
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(229,201,154,.29)!important;
  color:#fff7ed!important;
}

/* Estrutura e tipografia */
.wrap,.content-shell,.site-footer-inner{width:min(1180px,92vw)!important;}
h1,h2,h3,.content-hero h1,.institutional-hero h1,.knowledge-article-hero h1,.tech-hero h1{
  text-wrap:balance;
  letter-spacing:-.035em;
}
h1{font-weight:760!important;}
h2{font-weight:740!important;}
h3{font-weight:730!important;}
.eyebrow,.fact-label,.tag{
  color:var(--lux-bronze)!important;
  letter-spacing:.18em!important;
  font-weight:850!important;
}

/* Ambientes de alto padrão nos heróis */
body{
  --lux-hero-image:url("https://images.pexels.com/photos/28853352/pexels-photo-28853352.jpeg?auto=compress&cs=tinysrgb&w=1920");
  --lux-hero-position:center;
}
body.page-lusso{
  --lux-hero-image:url("https://images.pexels.com/photos/30002777/pexels-photo-30002777.jpeg?auto=compress&cs=tinysrgb&w=1920");
  --lux-hero-position:center 46%;
}
body.page-sobre{
  --lux-hero-image:url("../images/direcao-grupo-cleannew-lusso.webp");
  --lux-hero-position:center 35%;
}
body.page-reconhecimento{
  --lux-hero-image:url("../images/franqueados-premiados-cleannew.webp");
  --lux-hero-position:center 40%;
}
body.page-carreiras{
  --lux-hero-image:url("../images/direcao-keviny-daniela.webp");
  --lux-hero-position:center 36%;
}
body.page-contato{
  --lux-hero-image:url("https://images.pexels.com/photos/1571457/pexels-photo-1571457.jpeg?auto=compress&cs=tinysrgb&w=1920");
  --lux-hero-position:center;
}

.site-main>.hero,
.site-main>.institutional-hero,
.site-main>.tech-hero,
.site-main>.knowledge-article-hero,
.site-main>.content-page:first-child{
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  min-height:min(820px,calc(100vh - 116px))!important;
  display:grid!important;
  align-items:center!important;
  padding:92px 0!important;
  background-image:
    linear-gradient(90deg,rgba(17,11,8,.91) 0%,rgba(27,18,13,.77) 48%,rgba(20,13,9,.48) 100%),
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.38)),
    var(--lux-hero-image)!important;
  background-size:cover!important;
  background-position:var(--lux-hero-position)!important;
  background-repeat:no-repeat!important;
  border-bottom:0!important;
  box-shadow:inset 0 -1px rgba(229,201,154,.18);
}
.site-main>.hero::before,
.site-main>.institutional-hero::before,
.site-main>.tech-hero::before,
.site-main>.knowledge-article-hero::before,
.site-main>.content-page:first-child::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 72% 34%,rgba(229,201,154,.18),transparent 29%),
    linear-gradient(180deg,transparent 64%,rgba(17,11,8,.72));
}
.site-main>.hero .wrap,
.site-main>.institutional-hero .wrap,
.site-main>.tech-hero .wrap,
.site-main>.knowledge-article-hero .wrap,
.site-main>.content-page:first-child .content-shell{
  position:relative;
  z-index:1;
}
.hero-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.74fr)!important;
  gap:34px!important;
  align-items:center!important;
}
.hero-grid>div:first-child,
.institutional-hero .institutional-shell>div:first-child,
.tech-hero .tech-shell>div:first-child,
.knowledge-article-hero .knowledge-article-shell>div:first-child,
.content-page:first-child .content-hero{
  max-width:760px;
  padding:clamp(25px,4vw,44px)!important;
  border:1px solid rgba(255,255,255,.18);
  border-radius:32px;
  background:linear-gradient(145deg,rgba(33,22,16,.72),rgba(29,19,14,.48));
  box-shadow:var(--lux-shadow-dark);
  backdrop-filter:blur(16px) saturate(120%);
}
.hero h1,.institutional-hero h1,.tech-hero h1,.knowledge-article-hero h1,.content-page:first-child h1{
  color:#fffaf2!important;
  text-shadow:0 8px 32px rgba(0,0,0,.32);
  font-size:clamp(40px,5.7vw,76px)!important;
  line-height:1.02!important;
}
.hero p,.hero .lead,.institutional-hero p,.tech-hero p,.knowledge-article-hero p,.content-page:first-child p{
  color:#eee4d8!important;
}
.hero .eyebrow,.institutional-hero .eyebrow,.tech-hero .eyebrow,.knowledge-article-hero .eyebrow,.content-page:first-child .eyebrow{
  color:var(--lux-champagne)!important;
}
.hero-card,.hero-art,.hero-collage,.tech-hero-card{
  padding:14px!important;
  border-radius:30px!important;
  border:1px solid rgba(255,255,255,.2)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.055))!important;
  box-shadow:var(--lux-shadow-dark)!important;
  backdrop-filter:blur(12px) saturate(115%);
}
.hero-card>img,.hero-card img,.hero-art img,.hero-collage img,.tech-hero-card img{
  border-radius:22px!important;
  box-shadow:0 20px 46px rgba(0,0,0,.2);
}
.hero .badge,.hero .stat{
  background:rgba(33,22,16,.7)!important;
  border:1px solid rgba(229,201,154,.28)!important;
  backdrop-filter:blur(14px);
}
.hero .stat strong{color:var(--lux-champagne)!important;}

/* Seções alternadas, como uma LP premium */
.site-main>.lux-section-light{
  position:relative;
  background:
    radial-gradient(circle at 88% 15%,rgba(201,155,91,.12),transparent 25%),
    linear-gradient(180deg,var(--lux-ivory),#fbf7f0)!important;
  color:var(--lux-ink)!important;
  border-bottom:1px solid rgba(93,64,40,.1)!important;
}
.site-main>.lux-section-dark{
  position:relative;
  background:
    radial-gradient(circle at 8% 18%,rgba(201,155,91,.16),transparent 28%),
    linear-gradient(135deg,#1b130f,#2e2017 58%,#1a120e)!important;
  color:#fff9f0!important;
  border-bottom:1px solid rgba(229,201,154,.13)!important;
}
.site-main>.lux-section-light::after,
.site-main>.lux-section-dark::after{
  content:"";
  position:absolute;
  width:280px;height:280px;
  right:-120px;top:30px;
  border-radius:50%;
  border:1px solid rgba(201,155,91,.11);
  pointer-events:none;
}
.site-main>.lux-section-light p,
.site-main>.lux-section-light li,
.site-main>.lux-section-light small{color:var(--lux-muted)!important;}
.site-main>.lux-section-light h1,
.site-main>.lux-section-light h2,
.site-main>.lux-section-light h3,
.site-main>.lux-section-light strong{color:var(--lux-ink)!important;}
.site-main>.lux-section-dark p,
.site-main>.lux-section-dark li,
.site-main>.lux-section-dark small{color:#d8cbbd!important;}
.site-main>.lux-section-dark h1,
.site-main>.lux-section-dark h2,
.site-main>.lux-section-dark h3,
.site-main>.lux-section-dark strong{color:#fff9f0!important;}
.site-main>section:not(.hero):not(.institutional-hero):not(.tech-hero):not(.knowledge-article-hero){
  padding:clamp(72px,8vw,112px) 0!important;
}
.head{margin-bottom:42px!important;}

/* Cartões e blocos */
.card,.info-card,.form-card,.panel,.fabric,.method-item,.step,.pillar,.post,.award-card,
.compare .side,.surface-card,.application-card,.tech-card,.institutional-card,.article-card,
.legal-copy,details,.faq details,.result,.location-reference,.evidence-note,.editorial-policy,.press-reference{
  position:relative;
  border-radius:var(--lux-radius)!important;
  border:1px solid var(--lux-line)!important;
  box-shadow:var(--lux-shadow)!important;
  overflow:hidden;
}
.lux-section-light .card,.lux-section-light .info-card,.lux-section-light .form-card,
.lux-section-light .panel,.lux-section-light .fabric,.lux-section-light .method-item,
.lux-section-light .step,.lux-section-light .pillar,.lux-section-light .post,
.lux-section-light .award-card,.lux-section-light .compare .side,
.lux-section-light .surface-card,.lux-section-light .application-card,
.lux-section-light .tech-card,.lux-section-light .institutional-card,
.lux-section-light .article-card,.lux-section-light .legal-copy,
.lux-section-light details,.lux-section-light .result,.lux-section-light .location-reference{
  background:rgba(255,253,249,.86)!important;
  backdrop-filter:blur(10px);
}
.lux-section-dark .card,.lux-section-dark .info-card,.lux-section-dark .form-card,
.lux-section-dark .panel,.lux-section-dark .fabric,.lux-section-dark .method-item,
.lux-section-dark .step,.lux-section-dark .pillar,.lux-section-dark .post,
.lux-section-dark .award-card,.lux-section-dark .compare .side,
.lux-section-dark .surface-card,.lux-section-dark .application-card,
.lux-section-dark .tech-card,.lux-section-dark .institutional-card,
.lux-section-dark .article-card,.lux-section-dark .legal-copy,
.lux-section-dark details,.lux-section-dark .result,.lux-section-dark .location-reference{
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035))!important;
  border-color:rgba(229,201,154,.22)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(9px);
}
.card::before,.info-card::before,.panel::before,.fabric::before,.method-item::before,.step::before,.pillar::before,.post::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--lux-champagne),transparent);
  opacity:.7;
}
.card,.info-card,.panel,.fabric,.method-item,.pillar,.post,.award-card,.application-card,.surface-card{
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important;
}
.card:hover,.info-card:hover,.panel:hover,.fabric:hover,.method-item:hover,.pillar:hover,.post:hover,.award-card:hover,.application-card:hover,.surface-card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(167,116,66,.48)!important;
  box-shadow:0 30px 80px rgba(52,33,20,.19)!important;
}
.cards,.grid,.page-grid,.fabric-grid,.method,.pillars,.award-ledger,.library,.article-grid{
  gap:22px!important;
}
.card,.info-card,.panel,.post,.award-card{padding:clamp(22px,3vw,30px)!important;}
.card>img,.info-card img,.post img{
  border-radius:20px!important;
}
.quote,.notice,.lesson,.cta-mini{
  border-left:0!important;
  border:1px solid rgba(167,116,66,.28)!important;
  border-radius:22px!important;
  padding:22px 24px!important;
  background:linear-gradient(135deg,rgba(201,155,91,.13),rgba(255,255,255,.06))!important;
  box-shadow:0 14px 36px rgba(71,45,25,.09);
}
.num{
  background:linear-gradient(135deg,var(--lux-bronze),var(--lux-champagne))!important;
  color:#2a1a10!important;
  box-shadow:0 10px 24px rgba(127,82,42,.2);
}

/* Cartões da Home com ambientes, mantendo as logos originais */
.page-home #solucoes .card{
  min-height:460px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  isolation:isolate;
  background-size:cover!important;
  background-position:center!important;
  border-color:rgba(255,255,255,.24)!important;
  box-shadow:0 28px 70px rgba(44,28,17,.22)!important;
}
.page-home #solucoes .card::after{
  content:"";
  position:absolute;inset:0;z-index:-2;
  background:linear-gradient(180deg,rgba(25,16,11,.03) 0%,rgba(25,16,11,.55) 48%,rgba(20,13,9,.95) 100%);
}
.page-home #solucoes .card:nth-child(1){
  background-image:url("https://images.pexels.com/photos/28853352/pexels-photo-28853352.jpeg?auto=compress&cs=tinysrgb&w=1200")!important;
}
.page-home #solucoes .card:nth-child(2){
  background-image:url("https://images.pexels.com/photos/1571457/pexels-photo-1571457.jpeg?auto=compress&cs=tinysrgb&w=1200")!important;
}
.page-home #solucoes .card:nth-child(3){
  background-image:url("https://images.pexels.com/photos/30002777/pexels-photo-30002777.jpeg?auto=compress&cs=tinysrgb&w=1200")!important;
}
.page-home #solucoes .card>img{
  position:absolute!important;
  top:22px;left:22px;
  width:72px!important;height:72px!important;
  padding:6px!important;
  object-fit:contain!important;
  border-radius:18px!important;
  background:rgba(15,10,8,.72)!important;
  border:1px solid rgba(229,201,154,.28)!important;
  backdrop-filter:blur(12px);
}
.page-home #solucoes .card>img.white{background:rgba(255,255,255,.9)!important;}
.page-home #solucoes .card h3,.page-home #solucoes .card p{color:#fffaf2!important;}
.page-home #solucoes .card .btn{
  align-self:flex-start;
  background:rgba(255,255,255,.11)!important;
  border-color:rgba(255,255,255,.3)!important;
  color:#fffaf2!important;
  backdrop-filter:blur(10px);
}

/* Botões secundários e CTAs */
.btn,.button-link,.source-list a,.filter{
  border-radius:16px!important;
  padding:13px 20px!important;
  border:1px solid rgba(167,116,66,.35)!important;
  font-weight:800!important;
}
.lux-section-light .btn:not(.primary),.lux-section-light .button-link:not(.primary),.lux-section-light .filter{
  background:rgba(255,255,255,.72)!important;
  color:var(--lux-ink)!important;
}
.lux-section-dark .btn:not(.primary),.lux-section-dark .button-link:not(.primary),.lux-section-dark .filter{
  background:rgba(255,255,255,.065)!important;
  color:#fff7ec!important;
  border-color:rgba(229,201,154,.25)!important;
}
.cta{
  border-radius:34px!important;
  padding:clamp(34px,6vw,60px)!important;
  border:1px solid rgba(201,155,91,.32)!important;
  background:
    radial-gradient(circle at 15% 20%,rgba(229,201,154,.2),transparent 27%),
    linear-gradient(135deg,#38271c,#6c482c 58%,#3a281d)!important;
  color:#fff9f0!important;
  box-shadow:0 30px 78px rgba(44,29,18,.25)!important;
}
.cta h2,.cta p,.cta .eyebrow{color:#fff9f0!important;}

/* Formulários */
.field input,.field select,.field textarea,input,select,textarea,.search{
  border-radius:16px!important;
  border:1px solid rgba(124,84,49,.24)!important;
  background:rgba(255,253,249,.95)!important;
  color:#231912!important;
  box-shadow:inset 0 1px 1px rgba(0,0,0,.03),0 8px 22px rgba(67,42,24,.06);
}
.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus,.search:focus{
  border-color:var(--lux-gold)!important;
  box-shadow:0 0 0 4px rgba(201,155,91,.16)!important;
  outline:none!important;
}

/* Rodapé */
.site-footer{
  background:
    radial-gradient(circle at 8% 10%,rgba(201,155,91,.13),transparent 25%),
    linear-gradient(135deg,#17100d,#241811)!important;
  border-top:1px solid rgba(229,201,154,.17)!important;
  color:#f7eee4!important;
  padding-top:66px!important;
}
.site-footer h2,.site-footer h3{color:#fff8ef!important;}
.site-footer p,.site-footer a{color:#cfc1b3!important;}
.site-footer a:hover{color:var(--lux-champagne)!important;}
.site-footer-logos img{border-color:rgba(229,201,154,.23)!important;box-shadow:0 12px 30px rgba(0,0,0,.18);}
.site-footer-values{color:var(--lux-champagne)!important;}
.site-footer-legal{border-top-color:rgba(229,201,154,.14)!important;color:#a99b8d!important;}

/* WhatsApp e cookies */
.site-wa-toggle{
  background:linear-gradient(135deg,#1f9c57,#33c779)!important;
  border:1px solid rgba(255,255,255,.25)!important;
  box-shadow:0 16px 42px rgba(24,123,68,.3)!important;
}
.site-wa-menu,.cookie-banner{
  background:rgba(31,21,16,.97)!important;
  border-color:rgba(229,201,154,.25)!important;
  border-radius:24px!important;
  box-shadow:0 26px 80px rgba(0,0,0,.35)!important;
}
.site-wa-menu a,.cookie-banner p,.cookie-banner a{color:#f6ede3!important;}

/* Páginas institucionais e artigos */
.content-page:not(:first-child),.institutional-section,.knowledge-article-section,.article-page,.tech-section{
  background:transparent;
}
.article-page,.knowledge-article-section .knowledge-article-shell,.institutional-section .institutional-shell{
  width:min(1040px,92vw)!important;
}
.article-page,.knowledge-article-section .article-content{
  background:rgba(255,253,249,.88)!important;
  border:1px solid var(--lux-line)!important;
  border-radius:34px!important;
  box-shadow:var(--lux-shadow)!important;
}

/* Responsividade mobile inspirada na LP */
@media(max-width:1080px){
  .site-nav{
    background:rgba(28,19,15,.98)!important;
    border-bottom:1px solid rgba(229,201,154,.2)!important;
    box-shadow:0 20px 50px rgba(0,0,0,.28);
  }
}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr!important;}
  .hero-grid>div:first-child{max-width:760px;}
  .hero-card,.hero-art,.hero-collage,.tech-hero-card{max-width:680px;}
}
@media(max-width:760px){
  .site-header-inner{min-height:72px!important;}
  .site-brand img{width:40px!important;height:40px!important;border-radius:12px!important;}
  .site-main>.hero,
  .site-main>.institutional-hero,
  .site-main>.tech-hero,
  .site-main>.knowledge-article-hero,
  .site-main>.content-page:first-child{
    min-height:auto!important;
    padding:58px 0 68px!important;
    background-position:center!important;
  }
  .hero-grid>div:first-child,
  .institutional-hero .institutional-shell>div:first-child,
  .tech-hero .tech-shell>div:first-child,
  .knowledge-article-hero .knowledge-article-shell>div:first-child,
  .content-page:first-child .content-hero{
    padding:25px 20px!important;
    border-radius:25px!important;
  }
  .hero h1,.institutional-hero h1,.tech-hero h1,.knowledge-article-hero h1,.content-page:first-child h1{
    font-size:clamp(35px,11vw,50px)!important;
  }
  .hero-card,.hero-art,.hero-collage,.tech-hero-card{padding:9px!important;border-radius:23px!important;}
  .hero-card>img,.hero-card img,.hero-art img,.hero-collage img,.tech-hero-card img{border-radius:17px!important;}
  .stats{gap:10px!important;}
  .stat{padding:15px!important;border-radius:16px!important;}
  .btns{display:grid!important;grid-template-columns:1fr!important;}
  .btn,.button-link,.submit-btn{width:100%;min-height:52px;text-align:center;}
  .page-home #solucoes .card{min-height:420px;}
  .site-main>section:not(.hero):not(.institutional-hero):not(.tech-hero):not(.knowledge-article-hero){padding:68px 0!important;}
  .cta{border-radius:26px!important;padding:34px 22px!important;}
}
@media(max-width:560px){
  .wrap,.content-shell,.site-footer-inner{width:min(100% - 30px,1180px)!important;}
  .site-topbar-inner{padding-left:8px!important;padding-right:8px!important;}
  .card,.info-card,.panel,.post,.award-card{padding:22px!important;border-radius:23px!important;}
  .site-wa{right:12px!important;bottom:12px!important;}
  .site-wa-toggle{padding:13px 15px!important;}
}

@media(prefers-reduced-motion:reduce){
  .card,.info-card,.panel,.fabric,.method-item,.pillar,.post,.award-card,.application-card,.surface-card{transition:none!important;}
}

/* Destaques dourados preservados nas áreas escuras */
.lux-section-dark .eyebrow,.lux-section-dark .fact-label,.lux-section-dark .tag,
.lux-section-dark .gold,.lux-section-dark a:not(.btn):not(.button-link){color:var(--lux-champagne)!important;}

/* Entrada suave dos elementos durante a rolagem */
@media(prefers-reduced-motion:no-preference){
  .lux-reveal{opacity:0;transform:translateY(24px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1);}
  .lux-reveal.lux-visible{opacity:1;transform:none;}
}

/* ======================================================================
   REVISÃO V2 — CONTRASTE, LEGIBILIDADE E CONSISTÊNCIA VISUAL
   Mantém conteúdo e estrutura. Corrige textos apagados em fundos claros,
   escuros, cartões translúcidos, CTAs, tabelas, formulários e rodapé.
   ====================================================================== */

:root{
  --lux-muted:#5f544c;
  --lux-muted-dark:#e5dacf;
  --lux-ink-soft:#3d332d;
  --lux-dark-text:#fffaf4;
  --lux-dark-muted:#e5dacf;
}

/* As páginas antigas usam variáveis diferentes. Elas agora acompanham
   automaticamente o tom claro ou escuro aplicado pelo novo layout. */
.site-main>.lux-section-light{
  --text:#211a16;
  --muted:#5f544c;
  --site-text:#211a16;
  --site-muted:#5f544c;
  --gold:#9b642f;
  --gold2:#805022;
}
.site-main>.lux-section-dark{
  --text:#fffaf4;
  --muted:#e5dacf;
  --site-text:#fffaf4;
  --site-muted:#e5dacf;
  --gold:#d4a767;
  --gold2:#efd5a6;
}

/* Texto principal: contraste mais firme sem perder a elegância. */
.site-main>.lux-section-light p,
.site-main>.lux-section-light li,
.site-main>.lux-section-light small,
.site-main>.lux-section-light dd,
.site-main>.lux-section-light figcaption,
.site-main>.lux-section-light .lead,
.site-main>.lux-section-light .section-intro,
.site-main>.lux-section-light .tech-help,
.site-main>.lux-section-light .article-copy,
.site-main>.lux-section-light .article-copy p,
.site-main>.lux-section-light .article-copy li{
  color:#5f544c!important;
}
.site-main>.lux-section-dark p,
.site-main>.lux-section-dark li,
.site-main>.lux-section-dark small,
.site-main>.lux-section-dark dd,
.site-main>.lux-section-dark figcaption,
.site-main>.lux-section-dark .lead,
.site-main>.lux-section-dark .section-intro,
.site-main>.lux-section-dark .tech-help,
.site-main>.lux-section-dark .article-copy,
.site-main>.lux-section-dark .article-copy p,
.site-main>.lux-section-dark .article-copy li{
  color:#e5dacf!important;
}
.site-main>.lux-section-light h1,
.site-main>.lux-section-light h2,
.site-main>.lux-section-light h3,
.site-main>.lux-section-light h4,
.site-main>.lux-section-light h5,
.site-main>.lux-section-light h6,
.site-main>.lux-section-light strong,
.site-main>.lux-section-light summary,
.site-main>.lux-section-light dt{
  color:#211a16!important;
}
.site-main>.lux-section-dark h1,
.site-main>.lux-section-dark h2,
.site-main>.lux-section-dark h3,
.site-main>.lux-section-dark h4,
.site-main>.lux-section-dark h5,
.site-main>.lux-section-dark h6,
.site-main>.lux-section-dark strong,
.site-main>.lux-section-dark summary,
.site-main>.lux-section-dark dt{
  color:#fffaf4!important;
}

/* Links textuais com contraste suficiente nos dois fundos. */
.site-main>.lux-section-light a:not(.btn):not(.button-link):not(.primary):not(.submit-btn){
  color:#815124!important;
  text-decoration-color:rgba(129,81,36,.45);
}
.site-main>.lux-section-dark a:not(.btn):not(.button-link):not(.primary):not(.submit-btn){
  color:#f0d8ac!important;
  text-decoration-color:rgba(240,216,172,.45);
}

/* Destaques dourados continuam dourados, mas nunca claros demais no marfim. */
.site-main>.lux-section-light .eyebrow,
.site-main>.lux-section-light .fact-label,
.site-main>.lux-section-light .tag,
.site-main>.lux-section-light .gold,
.site-main>.lux-section-light .verse-ref,
.site-main>.lux-section-light .direction-role,
.site-main>.lux-section-light .report-source{
  color:#915b2b!important;
}
.site-main>.lux-section-dark .eyebrow,
.site-main>.lux-section-dark .fact-label,
.site-main>.lux-section-dark .tag,
.site-main>.lux-section-dark .gold,
.site-main>.lux-section-dark .verse-ref,
.site-main>.lux-section-dark .direction-role,
.site-main>.lux-section-dark .report-source{
  color:#efd5a6!important;
}

/* Componentes herdados do layout antigo que tinham fundo escuro translúcido.
   Agora recebem superfícies coerentes com o fundo de cada seção. */
.site-main>.lux-section-light :is(
  .feature-card,.foundation-card,.region-card,.safety-card,.result-card,
  .metric-box,.value,.timeline-content,.promise>div,.myth,.side,.time,
  .guarantee>div,.problem,.finish,.benefit,.library>div,.time-content,
  .tech-flow>div,.tech-unit,.tech-summary,.article-aside>div,.ai-faq details,
  .ai-links a,.technical-card,.direction-card,.comparison-card,.fabric,
  .method-item,.pillar,.step,.surface-card,.application-card,.tech-card
){
  background:rgba(255,253,249,.92)!important;
  border-color:rgba(126,82,43,.26)!important;
  box-shadow:0 18px 48px rgba(55,35,22,.10)!important;
}
.site-main>.lux-section-dark :is(
  .feature-card,.foundation-card,.region-card,.safety-card,.result-card,
  .metric-box,.value,.timeline-content,.promise>div,.myth,.side,.time,
  .guarantee>div,.problem,.finish,.benefit,.library>div,.time-content,
  .tech-flow>div,.tech-unit,.tech-summary,.article-aside>div,.ai-faq details,
  .ai-links a,.technical-card,.direction-card,.comparison-card,.fabric,
  .method-item,.pillar,.step,.surface-card,.application-card,.tech-card
){
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045))!important;
  border-color:rgba(229,201,154,.28)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.24)!important;
}

/* Citações e caixas de observação. */
.site-main>.lux-section-light :is(.quote,.notice,.lesson,.source-note,.cta-mini,blockquote){
  color:#352a23!important;
  background:linear-gradient(135deg,rgba(201,155,91,.18),rgba(255,253,249,.90))!important;
  border-color:rgba(145,91,43,.32)!important;
}
.site-main>.lux-section-light :is(.quote,.notice,.lesson,.source-note,.cta-mini,blockquote) p{
  color:#4f443c!important;
}
.site-main>.lux-section-dark :is(.quote,.notice,.lesson,.source-note,.cta-mini,blockquote){
  color:#fff8ef!important;
  background:linear-gradient(135deg,rgba(201,155,91,.18),rgba(255,255,255,.055))!important;
  border-color:rgba(229,201,154,.30)!important;
}
.site-main>.lux-section-dark :is(.quote,.notice,.lesson,.source-note,.cta-mini,blockquote) p{
  color:#eadfd3!important;
}

/* CTAs são superfícies escuras mesmo quando estão dentro de uma seção clara. */
.site-main>.lux-section-light .cta,
.site-main>.lux-section-dark .cta{
  color:#fffaf4!important;
}
.site-main>.lux-section-light .cta :is(h1,h2,h3,h4,h5,h6,strong,p,small,.eyebrow),
.site-main>.lux-section-dark .cta :is(h1,h2,h3,h4,h5,h6,strong,p,small,.eyebrow){
  color:#fffaf4!important;
}
.site-main .cta .btn:not(.primary),
.site-main .cta .button-link:not(.primary){
  background:rgba(255,255,255,.12)!important;
  color:#fffaf4!important;
  border-color:rgba(255,255,255,.34)!important;
}

/* Home: reforço do degradê e do painel dos cartões ambientados. */
.page-home #solucoes .card::after{
  background:linear-gradient(180deg,rgba(20,13,9,.08) 0%,rgba(20,13,9,.66) 45%,rgba(17,11,8,.97) 100%)!important;
}
.page-home #solucoes .card :is(h2,h3,h4,p,small,strong){
  color:#fffaf4!important;
  text-shadow:0 3px 16px rgba(0,0,0,.34);
}

/* Heróis: painel e texto mais definidos sobre qualquer fotografia. */
.site-main>.hero,
.site-main>.institutional-hero,
.site-main>.tech-hero,
.site-main>.knowledge-article-hero,
.site-main>.content-page:first-child{
  background-image:
    linear-gradient(90deg,rgba(15,10,7,.95) 0%,rgba(25,16,12,.84) 48%,rgba(18,12,8,.62) 100%),
    linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.48)),
    var(--lux-hero-image)!important;
}
.hero-grid>div:first-child,
.institutional-hero .institutional-shell>div:first-child,
.tech-hero .tech-shell>div:first-child,
.knowledge-article-hero .knowledge-article-shell>div:first-child,
.content-page:first-child .content-hero{
  background:linear-gradient(145deg,rgba(27,18,13,.86),rgba(25,16,12,.68))!important;
  border-color:rgba(255,255,255,.23)!important;
}
.hero p,.hero .lead,.institutional-hero p,.institutional-hero .lead,
.tech-hero p,.tech-hero .lead,.knowledge-article-hero p,
.knowledge-article-hero .lead,.content-page:first-child p,
.content-page:first-child .lead{
  color:#f3ebe2!important;
  text-shadow:0 3px 16px rgba(0,0,0,.24);
}
.hero :is(h1,h2,h3,strong),.institutional-hero :is(h1,h2,h3,strong),
.tech-hero :is(h1,h2,h3,strong),.knowledge-article-hero :is(h1,h2,h3,strong),
.content-page:first-child :is(h1,h2,h3,strong){
  color:#fffaf4!important;
}

/* Tabelas: leitura nítida em desktop e celular. */
.site-main table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden;
  border-radius:18px!important;
  border:1px solid rgba(139,91,47,.25)!important;
}
.site-main>.lux-section-light table{
  background:#fffdf9!important;
  color:#2b211b!important;
}
.site-main>.lux-section-light table th{
  background:#2c1e17!important;
  color:#fff8ef!important;
  border-color:rgba(255,255,255,.13)!important;
}
.site-main>.lux-section-light table td{
  background:rgba(255,253,249,.96)!important;
  color:#4b4038!important;
  border-color:rgba(126,82,43,.18)!important;
}
.site-main>.lux-section-dark table{
  background:rgba(24,16,12,.76)!important;
  color:#fff8ef!important;
  border-color:rgba(229,201,154,.26)!important;
}
.site-main>.lux-section-dark table th{
  background:rgba(229,201,154,.17)!important;
  color:#fffaf4!important;
  border-color:rgba(229,201,154,.18)!important;
}
.site-main>.lux-section-dark table td{
  background:rgba(255,255,255,.055)!important;
  color:#eadfd3!important;
  border-color:rgba(229,201,154,.14)!important;
}

/* Formulários e campos auxiliares. */
.site-main>.lux-section-light label{color:#2d231d!important;}
.site-main>.lux-section-dark label{color:#fff8ef!important;}
.field-error,.tech-error{color:#a52323!important;font-weight:700;}
input::placeholder,textarea::placeholder,.search::placeholder{
  color:#6b5f56!important;
  opacity:1!important;
}
.form-status,.tech-form-status{font-weight:750;}

/* FAQ e detalhes. */
.site-main>.lux-section-light details summary{color:#2a201a!important;}
.site-main>.lux-section-dark details summary{color:#fff8ef!important;}
.site-main>.lux-section-light details[open] summary{color:#815124!important;}
.site-main>.lux-section-dark details[open] summary{color:#efd5a6!important;}

/* Rodapé, menu de WhatsApp e cookies. */
.site-footer p,.site-footer a{color:#ded1c5!important;}
.site-footer small{color:#cdbfb2!important;}
.site-footer-legal,.site-footer-legal a{color:#c5b6a8!important;}
.site-wa-menu small{color:#cfc2b6!important;}
.cookie-banner p,.cookie-banner a{color:#f4ebe2!important;}
.cookie-actions button:not(.accept){color:#fff7ed!important;border-color:rgba(229,201,154,.34)!important;}

/* A animação nunca pode deixar conteúdo invisível se o observador falhar. */
@media(prefers-reduced-motion:no-preference){
  .lux-reveal{opacity:.01;}
  .lux-reveal.lux-visible{opacity:1;}
}

/* Ajustes específicos para telas pequenas. */
@media(max-width:760px){
  .site-main>.hero,
  .site-main>.institutional-hero,
  .site-main>.tech-hero,
  .site-main>.knowledge-article-hero,
  .site-main>.content-page:first-child{
    background-image:
      linear-gradient(180deg,rgba(15,10,7,.90) 0%,rgba(20,13,9,.78) 55%,rgba(15,10,7,.92) 100%),
      var(--lux-hero-image)!important;
  }
  .hero-grid>div:first-child,
  .institutional-hero .institutional-shell>div:first-child,
  .tech-hero .tech-shell>div:first-child,
  .knowledge-article-hero .knowledge-article-shell>div:first-child,
  .content-page:first-child .content-hero{
    background:rgba(25,16,12,.84)!important;
    backdrop-filter:blur(12px) saturate(115%);
  }
  .site-main table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

/* Botões secundários dos heróis e textos dos indicadores. */
.hero .btn:not(.primary),
.institutional-hero .btn:not(.primary),
.tech-hero .btn:not(.primary),
.knowledge-article-hero .btn:not(.primary),
.content-page:first-child .btn:not(.primary),
.hero .button-link:not(.primary),
.institutional-hero .button-link:not(.primary),
.tech-hero .button-link:not(.primary),
.knowledge-article-hero .button-link:not(.primary),
.content-page:first-child .button-link:not(.primary){
  background:rgba(255,255,255,.10)!important;
  color:#fffaf4!important;
  border-color:rgba(255,255,255,.32)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08)!important;
}
.hero .btn:not(.primary):hover,
.institutional-hero .btn:not(.primary):hover,
.tech-hero .btn:not(.primary):hover,
.knowledge-article-hero .btn:not(.primary):hover,
.content-page:first-child .btn:not(.primary):hover{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(229,201,154,.52)!important;
}
.hero .stat span,
.institutional-hero .stat span,
.tech-hero .stat span{
  color:#d9cec3!important;
}

/* Conteúdos e formulários que permanecem dentro do primeiro bloco hero. */
.site-main>.content-page:first-child :is(label,legend,li,small,figcaption,dd){
  color:#e9ded3!important;
}
.site-main>.content-page:first-child :is(.field label,.contact-list strong,.form-card h2,.form-card h3){
  color:#fffaf4!important;
}
.site-main>.content-page:first-child .field-error{
  color:#ffb2a8!important;
}

.goiania-operation{background:linear-gradient(135deg,#100c09,#2d1d11);color:#fff}.goiania-operation h2,.goiania-operation p{color:#fff}.operation-logo{overflow:hidden;border-radius:24px;border:1px solid rgba(227,187,111,.28);box-shadow:0 28px 65px rgba(0,0,0,.32)}.operation-logo img{display:block;width:100%;height:auto}
