/* ==========================================================================
   AF Ambiental — style.css
   Diagnóstico preciso. Decisão segura.
   Site estático · Montserrat (títulos) + Inter (texto) · WCAG AA
   ========================================================================== */

/* 1. FONTES SELF-HOSTED (variáveis) ====================================== */
/* Montserrat — títulos */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — texto */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. DESIGN TOKENS ====================================================== */
:root {
  /* Verdes (institucional / folha) */
  --green-900: #0E3B2C;   /* verde escuro institucional */
  --green-800: #134736;
  --green-700: #1B5E45;   /* verde principal */
  --green-600: #237a57;
  --green-500: #2E8B5E;   /* verde folha (accent) */
  --green-300: #6FBE94;
  --green-100: #E7F2EB;

  /* Azuis (institucional / claro) */
  --blue-900: #0C2F4A;
  --blue-700: #134B72;    /* azul institucional */
  --blue-500: #2B79AE;
  --blue-300: #6FB3DC;    /* azul claro */
  --blue-100: #E6F1F8;

  /* Neutros */
  --ink: #18211D;         /* grafite — texto principal */
  --ink-soft: #4B574F;    /* texto secundário */
  --ink-faint: #6C786F;
  --line: #E0E7E1;        /* bordas */
  --line-soft: #EEF2EE;
  --bg: #FFFFFF;
  --bg-soft: #F4F8F4;     /* off-white esverdeado */
  --bg-tint: #EFF5F0;

  /* Aplicação */
  --primary: var(--green-700);
  --primary-dark: var(--green-900);
  --accent: var(--green-500);
  --secondary: var(--blue-700);

  /* Tipografia */
  --font-heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Forma */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(14, 59, 44, .06);
  --shadow: 0 10px 34px rgba(14, 59, 44, .10);
  --shadow-lg: 0 24px 60px rgba(12, 47, 74, .16);

  /* Layout */
  --wrap: 1180px;
  --gap: clamp(1.1rem, 2.4vw, 2rem);
  --sec-y: clamp(3.4rem, 7vw, 6rem);
}

/* 3. RESET / BASE ======================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.16;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }
a { color: var(--secondary); text-decoration-color: color-mix(in srgb, var(--secondary) 35%, transparent); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { padding-left: 1.15rem; }
li { margin: .25rem 0; }

strong, b { font-weight: 700; color: var(--primary-dark); }

::selection { background: var(--green-500); color: #fff; }

/* 4. LAYOUT UTILITÁRIOS ================================================= */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.4rem, 820px); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-300));
}
.eyebrow--center { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); }

.sec-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: .7rem; }
.sec-head p { margin-top: .9rem; }

.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 5. SKIP LINK / FOCO / ACESSIBILIDADE ================================= */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary-dark); color: #fff;
  padding: .85rem 1.3rem; font-weight: 600; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 5px;
}
.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;
}

/* 6. BOTÕES ============================================================= */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .98rem;
  line-height: 1; text-align: center; text-decoration: none;
  padding: .92rem 1.5rem; min-height: 48px;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: color-mix(in srgb, var(--accent) 88%, #000);
  color: #fff;
  box-shadow: 0 8px 22px rgba(46, 139, 94, .28);
}
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 70%, #000); }
.btn-dark { background: var(--primary-dark); color: #fff; }
.btn-dark:hover { background: var(--green-800); }
.btn-ghost {
  background: transparent; color: var(--primary-dark); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); background: var(--green-100); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--green-100); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.04rem; min-height: 54px; }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  text-decoration: none; color: var(--green-700);
}
.arrow-link svg { width: 1.05em; height: 1.05em; transition: transform .18s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* 7. TOPBAR ============================================================= */
.topbar {
  background: var(--primary-dark); color: #d8e6dd;
  font-size: .85rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-tag { display: inline-flex; align-items: center; gap: .5rem; }
.topbar-tag svg { width: 1rem; height: 1rem; color: var(--green-300); }
.topbar-links { display: flex; gap: 1.2rem; align-items: center; }
@media (max-width: 720px) { .topbar-tag span { display: none; } }

/* 8. HEADER / NAV ====================================================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s, background .2s;
}
.site-head.is-stuck { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.head-inner {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-fallback {
  display: inline-flex; align-items: center; gap: .65rem;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--blue-700));
  color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -.03em;
}
.brand-text { line-height: 1.05; }
.brand-mark svg { width: 25px; height: 25px; color: #fff; }
.brand-text strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.18rem; color: var(--primary-dark); letter-spacing: -.02em; }
.brand-text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; margin: 0; }
.main-nav a {
  display: inline-block; padding: .55rem .8rem; border-radius: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: .94rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--green-700); background: var(--green-100); }
.main-nav a[aria-current="page"] { color: var(--green-700); }
.main-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px; margin-top: 2px;
  background: var(--green-500);
}
.head-cta { flex: none; }

/* hamburger */
.hamburger {
  display: none; flex: none;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--primary-dark); transition: transform .2s, opacity .2s;
}
.hamburger span { position: relative; }
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

@media (max-width: 1040px) {
  .main-nav, .head-cta { display: none; }
  .hamburger { display: grid; margin-left: auto; }
}

/* 9. MENU MOBILE ======================================================= */
.mm-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(14, 59, 44, .42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mm-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 120;
  width: min(86vw, 360px); height: 100%;
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding: 1.2rem;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mm-close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.4rem; color: var(--ink);
}
.mobile-menu nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu nav a {
  display: block; padding: .85rem .6rem; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-heading); font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-menu nav a[aria-current="page"] { color: var(--green-700); }
.mm-cta { margin-top: 1.3rem; }
.mm-contact { margin-top: 1.3rem; font-size: .92rem; color: var(--ink-soft); }
.mm-contact a { color: var(--green-700); font-weight: 600; text-decoration: none; }

/* 10. HERO ============================================================= */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(111,179,220,.18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(46,139,94,.12), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center; padding-block: clamp(2.6rem, 6vw, 4.6rem);
}
.hero-copy h1 { margin: .8rem 0 0; }
.hero-copy .lead { margin-top: 1.1rem; max-width: 36ch; }
.hero-actions { margin-top: 1.7rem; }
.hero-trust {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem;
}
.hero-trust div { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.hero-trust svg { width: 1.15rem; height: 1.15rem; color: var(--green-600); flex: none; }

/* 11. MEDIA FRAME (espaço para fotos — placeholder profissional) ======= */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: linear-gradient(150deg, var(--green-800), var(--blue-900));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; isolation: isolate;
}
.media-frame::before {  /* malha técnica / grid de diagnóstico */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 78%);
}
.media-frame::after { /* alvo / mira — conceito "diagnóstico preciso" */
  content: ""; position: absolute; z-index: 0; width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.28);
}
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1; }
.media-spec {
  position: relative; z-index: 1; max-width: 80%; text-align: center;
  color: #eaf3ee; font-size: .82rem; line-height: 1.5;
}
.media-spec b { display: block; color: #fff; font-family: var(--font-heading); font-size: .9rem; margin-bottom: .25rem; }
.media-spec .chip {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .7rem;
  padding: .25rem .65rem; border-radius: 999px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.12); color: #cfe6d8; border: 1px solid rgba(255,255,255,.18);
}
.media-frame--light { background: linear-gradient(150deg, var(--green-100), var(--blue-100)); }
.media-frame--light .media-spec { color: var(--green-800); }
.media-frame--light .media-spec b { color: var(--primary-dark); }
.media-frame--light .media-spec .chip { background: rgba(14,59,44,.07); color: var(--green-700); border-color: rgba(14,59,44,.12); }
.media-frame--light::before { background-image:
    linear-gradient(rgba(14,59,44,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,59,44,.06) 1px, transparent 1px); }
.media-frame--light::after { border-color: rgba(14,59,44,.18); }

/* badge flutuante sobre o hero media */
.media-badge {
  position: absolute; z-index: 2; left: 1.1rem; bottom: 1.1rem; right: 1.1rem;
  background: rgba(255,255,255,.96); border-radius: var(--radius);
  padding: .85rem 1rem; box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center;
}
.media-badge svg { width: 2rem; height: 2rem; color: var(--green-600); flex: none; }
.media-badge p { font-size: .86rem; line-height: 1.4; color: var(--ink-soft); }
.media-badge strong { display: block; color: var(--primary-dark); font-family: var(--font-heading); font-size: .95rem; }

/* 12. CARDS GENÉRICOS ================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-300); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 1rem;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--blue { background: var(--blue-100); color: var(--blue-700); }

/* 13. SERVIÇOS (hierarquia comercial) ================================= */
.services { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-300); }
.service .rank {
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--line);
}
.service h3 { font-size: 1.2rem; margin: .9rem 0 .5rem; }
.service p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.service .arrow-link { margin-top: 1rem; }
.service--feature { grid-column: span 1; border-color: var(--green-300); background: linear-gradient(180deg, var(--green-100), #fff 60%); }
.service--feature .tag {
  display: inline-block; align-self: flex-start; margin-bottom: .2rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700); background: #fff; border: 1px solid var(--green-300);
  padding: .2rem .55rem; border-radius: 999px;
}

/* 14. MÉTODO / PASSOS ================================================= */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.2rem;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.3rem; top: 1.3rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem;
  color: var(--green-700); background: var(--green-100);
  width: 2.1rem; height: 2.1rem; border-radius: 9px; display: grid; place-items: center;
}
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { font-size: .94rem; color: var(--ink-soft); }

/* 15. FEATURE ALTERNADO (texto + media) ============================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.feature + .feature { margin-top: clamp(2.4rem, 5vw, 4rem); }
.feature--rev .feature-media { order: -1; }
.feature-copy h2 { margin: .6rem 0 0; }
.feature-copy h3 { margin: .6rem 0 0; font-size: 1.4rem; }
.feature-copy p { margin-top: .9rem; color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list svg { width: 1.35rem; height: 1.35rem; color: var(--green-600); flex: none; margin-top: .15rem; }

/* 16. CHECKLIST genérica ============================================= */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.25rem; height: 1.25rem;
  background: var(--green-100); border-radius: 6px;
}
.checklist li::after {
  content: ""; position: absolute; left: .42rem; top: .52em; width: .35rem; height: .65rem;
  border: solid var(--green-700); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* 17. MANIFESTO (faixa escura — ambientalismo de gabinete) =========== */
.manifesto { position: relative; overflow: hidden; background: var(--primary-dark); color: #e7f1ea; }
.manifesto::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(43,121,174,.5), transparent 55%),
    radial-gradient(40% 60% at 0% 100%, rgba(46,139,94,.45), transparent 55%);
}
.manifesto .wrap { position: relative; }
.manifesto .eyebrow { color: var(--green-300); }
.manifesto h2 { color: #fff; max-width: 18ch; }
.manifesto .big { font-size: clamp(1.5rem, 3vw, 2.1rem); font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: #fff; max-width: 24ch; }
.manifesto p { color: #cfe2d7; max-width: 60ch; }
.manifesto .quote-mark { font-size: 4rem; line-height: 0; color: var(--green-500); font-family: var(--font-heading); }

/* 18. STATS =========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .8rem; }
.stat b { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--green-700); }
.stat span { font-size: .92rem; color: var(--ink-soft); }
.stat--onDark b { color: #fff; }
.stat--onDark span { color: #cfe2d7; }

/* 19. CTA BAND ======================================================== */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-800), var(--blue-900)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.18);
}
.cta-band .wrap-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e6dc; margin-top: .7rem; }
.cta-band .actions { margin-top: 1.6rem; }

/* 20. ÁREAS (rural / empresarial / topografia) ======================= */
.area-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  padding: 1.6rem; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, rgba(14,59,44,.1), rgba(14,59,44,.85)), linear-gradient(135deg, var(--green-700), var(--blue-800));
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.area-card h3 { color: #fff; font-size: 1.45rem; }
.area-card p { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: .4rem; }
.area-card .arrow-link { color: #fff; margin-top: 1rem; }
.area-card .area-spec {
  position: absolute; top: 1rem; left: 1rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: .2rem .55rem; border-radius: 999px;
}
.area-card--blue { background: linear-gradient(180deg, rgba(12,47,74,.1), rgba(12,47,74,.85)), linear-gradient(135deg, var(--blue-700), var(--green-800)); }

/* 21. POSTS / CONTEÚDOS ============================================== */
.posts { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post .media-frame { aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }
.post h3 { font-size: 1.12rem; margin: .5rem 0; }
.post h3 a { color: var(--primary-dark); text-decoration: none; }
.post h3 a:hover { color: var(--green-700); }
.post p { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.post .arrow-link { margin-top: 1rem; }
.post time { font-size: .82rem; color: var(--ink-faint); }

/* 22. FAQ ============================================================= */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.3rem; position: relative;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.04rem; color: var(--primary-dark);
}
.faq-q::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: .7rem; height: .7rem;
  border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); }

/* 23. FORMULÁRIO ===================================================== */
.lead-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--primary-dark); }
.field .req { color: var(--green-600); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--green-600); }
.consent a { color: var(--green-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-ok, .lead-err { border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .95rem; }
.lead-ok { background: var(--green-100); border: 1px solid var(--green-300); color: var(--green-800); }
.lead-err { background: #fdeceb; border: 1px solid #f3b9b4; color: #8a2a22; }
.lead-err a { color: #8a2a22; font-weight: 700; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }

/* 24. INFO LIST (contato) =========================================== */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .icon-badge { margin: 0; width: 46px; height: 46px; }
.info-list b { display: block; font-family: var(--font-heading); color: var(--primary-dark); }
.info-list a { color: var(--green-700); text-decoration: none; }
.info-list span { color: var(--ink-soft); font-size: .95rem; }

/* 25. PAGE HERO (páginas internas) ================================== */
.page-hero { position: relative; overflow: hidden; background: var(--primary-dark); color: #fff; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background:
    radial-gradient(50% 70% at 90% 10%, rgba(43,121,174,.5), transparent 55%),
    radial-gradient(45% 60% at 5% 100%, rgba(46,139,94,.45), transparent 55%);
}
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .eyebrow { color: var(--green-300); }
.page-hero h1 { color: #fff; margin-top: .6rem; max-width: 18ch; }
.page-hero p { color: #d6e6dc; margin-top: 1rem; max-width: 60ch; }

/* breadcrumb */
.breadcrumb { font-size: .85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { color: rgba(255,255,255,.45); }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }
/* breadcrumb sobre fundo claro */
.breadcrumb--light a { color: var(--ink-soft); }
.breadcrumb--light .sep { color: var(--line); }
.breadcrumb--light [aria-current="page"] { color: var(--primary-dark); }

/* 26. PROSE (textos longos / política) ============================== */
.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.4rem 0 .5rem; }
.prose p { margin: .8rem 0; color: var(--ink-soft); }
.prose ul, .prose ol { margin: .8rem 0; color: var(--ink-soft); }
.prose a { color: var(--green-700); }

/* 27. FOOTER ======================================================== */
.site-foot { background: var(--primary-dark); color: #c8dace; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 3.8rem); }
.foot-brand .brand-text strong { color: #fff; }
.foot-brand .brand-text span { color: var(--green-300); }
.foot-brand p { margin-top: 1rem; font-size: .92rem; color: #aac4b5; max-width: 34ch; }
.foot-brand .brand-mark { background: linear-gradient(135deg, var(--green-500), var(--blue-500)); }
.foot-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot-col a { color: #c8dace; text-decoration: none; font-size: .95rem; }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; margin-bottom: .6rem; }
.foot-contact svg { width: 1.1rem; height: 1.1rem; color: var(--green-300); flex: none; margin-top: .25rem; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.foot-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.foot-social svg { width: 1.2rem; height: 1.2rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; font-size: .85rem; color: #9fbaab; }
.foot-bottom a { color: #c8dace; text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; }
.foot-bottom .dev { color: #7e9c8c; }

/* 28. WHATSAPP FLUTUANTE ============================================ */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  color: #fff; border: 0; cursor: pointer; transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 29. REVEAL ON SCROLL (graceful — só com JS) ====================== */
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in-view { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* 30. RESPONSIVO =================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature-media { order: 0; }
  .cols-4, .stats, .services, .posts { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .stats, .services, .posts, .steps, .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: .8rem 1.2rem; }
  .foot-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .topbar-links { gap: .9rem; }
}
