:root{
  --green:#006747;
  --green-dark:#004b35;
  --green-light:#eaf7f2;
  --orange:#f59e0b;
  --orange-dark:#d97706;
  --navy:#10213e;
  --text:#172033;
  --muted:#667085;
  --bg:#f6f8fa;
  --white:#ffffff;
  --border:#e1e7ee;
  --shadow:0 8px 28px rgba(15,23,42,.07);
  --radius:18px;
}

*{box-sizing:border-box}

html{
  background:var(--bg)!important;
  scroll-behavior:smooth;
}

body{
  margin:0!important;
  background:var(--bg)!important;
  color:var(--text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* CABEÇALHO */
header,
nav,
.navbar,
.site-header,
.topbar{
  background:rgba(255,255,255,.98)!important;
  color:var(--text)!important;
  border-bottom:1px solid var(--border)!important;
}

header{
  box-shadow:0 4px 20px rgba(15,23,42,.05)!important;
}

header a,
nav a,
.navbar a{
  color:#202938!important;
  font-weight:650!important;
  text-decoration:none!important;
}

header a:hover,
nav a:hover{
  color:var(--green)!important;
}

/* ÁREA PRINCIPAL */
main{
  background:var(--bg)!important;
}

section:not(.hero):not([class*="hero"]){
  background:#fff!important;
  color:var(--text)!important;
}

/* CORRIGE TODOS OS TEXTOS ESCUROS SOBRE FUNDO ESCURO */
section:not(.hero):not([class*="hero"]) h1,
section:not(.hero):not([class*="hero"]) h2,
section:not(.hero):not([class*="hero"]) h3,
section:not(.hero):not([class*="hero"]) h4,
section:not(.hero):not([class*="hero"]) p,
section:not(.hero):not([class*="hero"]) li,
section:not(.hero):not([class*="hero"]) span{
  color:var(--text)!important;
}

section:not(.hero):not([class*="hero"]) small,
section:not(.hero):not([class*="hero"]) .subtitle,
section:not(.hero):not([class*="hero"]) .muted{
  color:var(--muted)!important;
}

/* HERO */
.hero,
[class*="hero"]{
  position:relative;
}

.hero h1,
[class*="hero"] h1{
  color:#10213e!important;
  font-weight:850!important;
  letter-spacing:-1.7px!important;
}

.hero p,
[class*="hero"] p{
  color:#344054!important;
}

/* CARDS */
.card,
.service-card,
.stat-card,
.feature-card,
.section,
.box,
.panel{
  background:#fff!important;
  color:var(--text)!important;
  border:1px solid var(--border)!important;
  border-radius:var(--radius)!important;
  box-shadow:var(--shadow)!important;
}

.card h1,.card h2,.card h3,.card h4,
.service-card h1,.service-card h2,.service-card h3,
.feature-card h1,.feature-card h2,.feature-card h3,
.section h1,.section h2,.section h3{
  color:var(--text)!important;
}

.card p,
.service-card p,
.feature-card p,
.section p{
  color:var(--muted)!important;
}

/* ÁREA "POR QUE ESCOLHER" */
[class*="why"],
[class*="choose"],
[class*="vantag"],
[class*="benefit"]{
  background:#fff!important;
  color:var(--text)!important;
}

[class*="why"] *,
[class*="choose"] *,
[class*="vantag"] *,
[class*="benefit"] *{
  color:var(--text)!important;
}

/* FALE CONOSCO / CONTATO */
[class*="contact"],
[class*="contato"]{
  background:#fff!important;
  color:var(--text)!important;
}

[class*="contact"] h1,
[class*="contact"] h2,
[class*="contact"] h3,
[class*="contato"] h1,
[class*="contato"] h2,
[class*="contato"] h3{
  color:var(--navy)!important;
}

/* destaques laranja */
.eyebrow,
.kicker,
.badge,
.highlight,
.accent{
  color:var(--orange)!important;
}

/* BOTÕES */
button,
.btn,
.button,
a.btn{
  border-radius:10px!important;
  font-weight:750!important;
  transition:.18s ease!important;
}

.primary,
.btn-primary,
button.primary{
  background:linear-gradient(135deg,var(--green),var(--green-dark))!important;
  color:#fff!important;
  border:1px solid var(--green)!important;
  box-shadow:0 7px 18px rgba(0,103,71,.18)!important;
}

.primary:hover,
.btn-primary:hover{
  transform:translateY(-1px);
}

.secondary,
.btn-secondary,
button.secondary{
  background:#fff!important;
  color:var(--green)!important;
  border:1px solid #9fd0bf!important;
}

/* FORMULÁRIOS */
input,
select,
textarea{
  background:#fff!important;
  color:var(--text)!important;
  border:1px solid #d8e0e8!important;
  border-radius:10px!important;
}

input:focus,
select:focus,
textarea:focus{
  outline:none!important;
  border-color:var(--green)!important;
  box-shadow:0 0 0 3px rgba(0,103,71,.10)!important;
}

/* RODAPÉ */
footer,
.footer{
  background:linear-gradient(135deg,#00533d,#003f30)!important;
  color:#fff!important;
}

footer *,
.footer *{
  color:#fff!important;
}

footer a,
.footer a{
  color:#ecfdf5!important;
}

/* MOBILE */
@media(max-width:768px){
  body{
    overflow-x:hidden!important;
  }

  .hero h1,
  [class*="hero"] h1{
    font-size:clamp(2rem,9vw,3rem)!important;
    line-height:1.04!important;
  }

  section{
    overflow:hidden!important;
  }

  .card,
  .service-card,
  .feature-card,
  .section{
    border-radius:14px!important;
  }
}
