/* =========================================================
   Geogreen · Landing page
   Paleta e tipografia do brand board (League Spartan)
   ========================================================= */

:root {
  --forest: #2B3210;
  --forest-deep: #1E240A;
  --olive: #505631;
  --sand: #E5E2D9;
  --cream: #FAF7EF;
  --white: #FFFFFF;
  --green: #28BE17;
  --leaf: #44AA00;
  --green-text: #2E7A0C;      /* verde legível sobre fundo claro (contraste AA) */
  --ink: #322F30;
  --muted: #5E5A55;
  --line: #D8D3C6;
  --warn: #B4541A;

  --font: "League Spartan", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(30, 36, 10, .06), 0 8px 24px rgba(30, 36, 10, .08);
  --shadow-lg: 0 2px 6px rgba(30, 36, 10, .08), 0 24px 60px rgba(30, 36, 10, .18);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[data-wa] { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; font-weight: 700; color: var(--forest); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.005em; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: .9em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.small { font-size: .95rem; color: var(--muted); }
.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; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green); color: var(--forest-deep); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Conteúdo a confirmar com o cliente: fácil de achar, discreto na tela */
.todo { background: linear-gradient(transparent 62%, rgba(255, 196, 0, .35) 62%); }

/* ---------- Tipografia de apoio ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-text);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .ico { width: 1.1em; height: 1.1em; }
.eyebrow:has(.ico)::before { display: none; }
.eyebrow-light { color: var(--green); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 1.05rem; line-height: 1.1; letter-spacing: .05em; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-primary { --btn-bg: var(--green); --btn-fg: var(--forest-deep); box-shadow: 0 6px 20px rgba(40, 190, 23, .28); }
.btn-primary:hover { --btn-bg: #33CF20; box-shadow: 0 10px 28px rgba(40, 190, 23, .38); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: var(--white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .16); border-color: var(--white); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--forest); border-color: var(--forest); }
.btn-outline:hover { --btn-bg: var(--forest); --btn-fg: var(--white); }
.btn-sm { min-height: 42px; padding: .6em 1.15em; font-size: 1rem; }
.btn-lg { min-height: 56px; padding: .95em 1.7em; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.icon-btn .ico { width: 24px; height: 24px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.is-solid { background: rgba(30, 36, 10, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); backdrop-filter: blur(8px); --header-h: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: color .15s, background-color .15s;
}
.main-nav a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.main-nav a.is-active { color: var(--green); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-wa { display: none; color: var(--green); }
.menu-toggle { display: none; }
.menu-toggle .ico-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px;
  color: var(--white);
  background: var(--forest);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(30, 36, 10, .94) 0%, rgba(30, 36, 10, .82) 38%, rgba(43, 50, 16, .45) 70%, rgba(43, 50, 16, .3) 100%),
    linear-gradient(0deg, rgba(30, 36, 10, .55) 0%, transparent 35%);
}
.hero-grid { display: block; }
.hero-copy { max-width: 720px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .45em; text-wrap: balance; }
.hero-sub { font-size: clamp(1.15rem, 1.9vw, 1.4rem); color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 1.8em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: rgba(255, 255, 255, .85); font-size: .98rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ico { color: var(--green); }

/* ---------- Cartão ---------- */
.card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- Split (problema / região) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.media-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--warn); font-weight: 700; font-size: .92rem;
  transition: color .4s;
}
.media-tag.is-green { color: var(--green-text); }

/* terreno 3D (assets/js/terrain.js): entra no lugar da foto quando o WebGL está disponível */
.split-media[data-terrain] { background: linear-gradient(180deg, #EEF3E7 0%, #D9E6D0 100%); }
.terrain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s; }
.split-media.is-3d .terrain-canvas { opacity: 1; }
.split-media[data-terrain] > img { transition: opacity .7s; }
.split-media.is-3d > img { opacity: 0; }
.split-media.is-draggable { touch-action: pan-y; cursor: grab; }
.split-media.is-dragging { cursor: grabbing; }
.terrain-hint {
  position: absolute; right: 7%; top: 46%; z-index: 2; pointer-events: none;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--green); color: var(--forest-deep); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(40, 190, 23, .35);
  opacity: 0; transition: opacity .5s;
  animation: terrain-hint-pulse 2.4s ease-in-out infinite;
}
.split-media.is-3d .terrain-hint { opacity: 1; }
.split-media.was-dragged .terrain-hint { opacity: 0; animation: none; }
@keyframes terrain-hint-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .terrain-hint { animation: none; } }
.split-copy h2 { text-wrap: balance; }

.ticks { display: grid; gap: 10px; margin: 0 0 1.6em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { margin-top: .2em; color: var(--green-text); }
.ticks-warn .ico { color: var(--warn); }

.solution-box {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; margin-bottom: 28px;
  background: var(--forest); color: rgba(255, 255, 255, .88); border-radius: var(--radius);
}
.solution-box p { margin: 0; }
.solution-box strong { color: var(--white); }
.solution-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--green); color: var(--forest-deep); }
.solution-ico .ico { width: 24px; height: 24px; }

/* ---------- Serviços ---------- */
.services { background: var(--white); padding-block: clamp(48px, 6vw, 76px); }
.services .section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.services .section-head h2 { margin-bottom: .3em; }
.services .lead { max-width: 720px; margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.service { display: flex; flex-direction: column; }
.service-media { position: relative; height: clamp(200px, 22vw, 260px); border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-body { padding-top: 20px; }
.service-body h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: -.02em; margin-bottom: .35em; }
.service-what { font-size: 1.02rem; line-height: 1.55; color: var(--muted); margin-bottom: .8em; max-width: 520px; }
.service-meta { font-size: .92rem; color: var(--ink); opacity: .7; margin-bottom: 1.1em; }
.link-cta {
  display: inline-flex; align-items: center; gap: .5em; padding-bottom: 3px;
  color: var(--forest); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; text-decoration: none;
  border-bottom: 2px solid var(--green); transition: gap .2s, color .2s;
}
.link-cta:hover { gap: .8em; color: var(--green-text); }

/* ---------- Galeria expansível ---------- */
.xg-section {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(68, 170, 0, .18), transparent 60%),
    var(--forest);
  color: rgba(255, 255, 255, .82);
}
.xg-section h2 { color: var(--white); }
.xg-section .lead { color: rgba(255, 255, 255, .72); }
.xg-hint-touch { display: none; }

.xg { display: flex; gap: 10px; height: clamp(360px, 46vw, 480px); }
.xg-item {
  position: relative; overflow: hidden;
  flex: 1 1 0; width: 14rem; min-width: 0;
  border-radius: var(--radius); background: var(--olive); cursor: pointer;
  transition: flex-grow .6s cubic-bezier(.2, .7, .2, 1);
}
.xg-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s; filter: brightness(.82) saturate(.95); }
.xg-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30, 36, 10, .75) 100%); pointer-events: none; }
.xg-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.xg-body h3 { color: var(--white); margin: 14px 0 6px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
.xg-body p { margin: 0; max-width: 460px; font-size: 1rem; color: rgba(255, 255, 255, .88); }
.xg-item.is-active { flex-grow: 9; }
.xg-item.is-active img { filter: none; transform: scale(1.03); }
.xg-item.is-active .xg-body { opacity: 1; transform: none; transition-delay: .25s; }
.xg-hint { margin: 1.2em 0 0; font-size: .95rem; color: rgba(255, 255, 255, .55); }
.xg-item:focus-visible { outline-offset: -3px; }

.app-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--forest-deep); }
.app-ico .ico { width: 22px; height: 22px; }

/* ---------- Antes x Depois ---------- */
.works { background: var(--white); }
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 880px; margin-inline: auto; }
.ba figcaption { margin-top: 12px; color: var(--muted); font-size: .97rem; }
.ba figcaption b { color: var(--forest); }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); user-select: none; background: var(--sand); }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-label {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(30, 36, 10, .78); color: var(--white); pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; background: var(--green); color: var(--forest-deep); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232B3210' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6'/%3E%3Cpath d='m15 6 6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-range:focus-visible ~ .ba-handle::after, .ba-frame:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid var(--green); outline-offset: 3px; }


/* ---------- Prova social ---------- */
.proof { background: var(--green); color: var(--forest-deep); padding-block: clamp(44px, 6vw, 72px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats li { display: grid; gap: 4px; }
.stats li + li { border-left: 1px solid rgba(30, 36, 10, .2); }
.stats strong { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--forest-deep); }
.stats span:not(.js-count) { font-weight: 600; font-size: 1rem; }

.testimonials { background: var(--white); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin-bottom: 48px; }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .7; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 28px; background: var(--cream); border-radius: var(--radius-lg); }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--forest); }
.quote-who { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section-head { margin: 0; }
.faq .lead { margin-bottom: 1.4em; }
.accordion { display: grid; gap: 10px; }
.qa { background: var(--white); border-radius: var(--radius); border: 1px solid transparent; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.08rem; color: var(--forest);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green-text); }
.qa summary .ico { width: 28px; height: 28px; padding: 5px; flex: none; border-radius: 50%; background: rgba(40, 190, 23, .14); color: var(--green-text); transition: transform .45s cubic-bezier(.34, 1.4, .5, 1), background-color .3s, color .3s; }
.qa-body { padding: 0 22px 20px; color: var(--muted); }
.qa-body p { margin: 0; }

/* aberto: com JS a classe .is-open acompanha a animação; sem JS vale o atributo [open] */
.js .qa.is-open, html:not(.js) .qa[open] { border-color: rgba(40, 190, 23, .5); box-shadow: var(--shadow); }
.js .qa.is-open summary .ico, html:not(.js) .qa[open] summary .ico { transform: rotate(135deg); background: var(--green); color: var(--forest-deep); }

/* ---------- Orçamento ---------- */
.quote-section { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.contact-list div > a, .contact-list div > span { color: var(--forest); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--green-text); text-decoration: underline; }
.contact-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--forest); color: var(--green); }
/* região de atendimento: só o texto, sem caixa */
.region-info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--forest); margin-bottom: .5em; text-wrap: balance; }
.region-lead { color: var(--muted); margin: 0 0 1.4em; }
.city-list { margin: 0 0 1.8em; font-size: 1.08rem; line-height: 1.85; color: var(--ink); }
.city-list li { display: inline; white-space: normal; }
.city-list li:not(:last-child)::after { content: ", "; }
.city-list li:first-child { font-weight: 700; color: var(--forest); }

/* ---------- CTA final ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 140px); background: var(--forest); color: var(--white); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 36, 10, .82), rgba(30, 36, 10, .9)); }
.final-inner { max-width: 900px; }
.final-cta h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); text-wrap: balance; margin-bottom: 1em; }
.final-cta h2 span { color: var(--green); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 80px); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.site-footer nav ul { display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--green); margin-top: .15em; }
.footer-contact a { overflow-wrap: anywhere; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: all .2s; }
.social a:hover { background: var(--green); border-color: var(--green); color: var(--forest-deep); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
  background: #25D366; color: var(--white); text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ring 2.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Animações de rolagem ---------- */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* entrada dos blocos: o elemento nasce invisível e anima quando aparece na tela */
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: rv-up .9s var(--ease-out) var(--d, 0ms) backwards; }
.js .reveal-left.is-in { animation-name: rv-left; }
.js .reveal-right.is-in { animation-name: rv-right; }
.js .reveal-zoom.is-in { animation-name: rv-zoom; }
@keyframes rv-up    { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes rv-left  { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
@keyframes rv-right { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes rv-zoom  { from { opacity: 0; transform: translateY(24px) scale(.95); } to { opacity: 1; transform: none; } }

/* galeria: as fotos sobem em sequência */
.js .xg:not(.is-in) .xg-item { opacity: 0; }
.js .xg.is-in .xg-item { animation: rv-up .85s var(--ease-out) calc(var(--i, 0) * 110ms) backwards; }

/* topo da página: entrada ao carregar (sem depender de JS) */
.hero-copy > * { animation: rv-up 1s var(--ease-out) backwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .4s; }
.hero-copy > :nth-child(4) { animation-delay: .55s; }
.hero-media img { transform: scale(1.1); animation: hero-settle 2.4s var(--ease-out) backwards; will-change: translate; }
@keyframes hero-settle { from { transform: scale(1.22); } to { transform: scale(1.1); } }

/* parallax: a foto se move um pouco mais devagar que a página */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }
.final-bg[data-parallax] { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .xg:not(.is-in) .xg-item { opacity: 1; }
  [data-parallax] { translate: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav a:not(.btn) { padding: 10px 8px; font-size: .94rem; }
  .header-cta { display: none; }
  .header-wa { display: inline-grid; }
}

@media (max-width: 960px) {
  .js .reveal-left.is-in, .js .reveal-right.is-in { animation-name: rv-up; }
  :root { --header-h: 66px; }
  .brand img { height: 34px; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    padding: 12px var(--gutter) 24px;
    background: var(--forest-deep); box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
  .menu-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .menu-toggle .ico-open { display: none; }
  .menu-open .menu-toggle .ico-close { display: block; }
  .menu-open .site-header { background: var(--forest-deep); }

  .hero {
    min-height: 100vh;
    min-height: 100lvh; /* ocupa a tela inteira, mesmo com a barra do navegador recolhida */
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 72px;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::after { background: linear-gradient(180deg, rgba(30, 36, 10, .9) 0%, rgba(30, 36, 10, .78) 60%, rgba(30, 36, 10, .92) 100%); }


  .split, .faq-wrap, .quote-grid { grid-template-columns: 1fr; }
  .faq .section-head { text-align: center; }
  .faq .lead { margin-inline: auto; }
  .split-media { aspect-ratio: 16 / 11; }

  .services-grid { grid-template-columns: 1fr; }



  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stats li:nth-child(3) { border-left: 0; }

  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-proof { flex-direction: column; gap: 8px; }

  .service-media { height: 190px; }
  .xg { flex-direction: column; height: 560px; gap: 8px; }
  .xg-item { width: 100%; flex: 1 1 0; }
  .xg-item.is-active { flex-grow: 6; }
  .xg-hint-desktop { display: none; }
  .xg-hint-touch { display: inline; }
  .xg-body { display: flex; flex-direction: column; justify-content: center; top: 0; padding: 0 18px; opacity: 1; transform: none; }
  .xg-body .app-ico, .xg-body p { display: none; }
  .xg-body h3 { margin: 0; font-size: 1.05rem; }
  .xg-item.is-active .xg-body { justify-content: flex-end; padding: 18px; }
  .xg-item.is-active .xg-body .app-ico { display: grid; }
  .xg-item.is-active .xg-body p { display: block; }
  .xg-item.is-active .xg-body h3 { margin: 12px 0 6px; font-size: 1.3rem; }
  .chip { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand .social { justify-content: center; }

  .wa-float { right: 16px; bottom: 16px; width: 60px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
}

/* CTA final: região + contatos (mesmos padrões do resto do site) */
.final-cta h2#final-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; margin-bottom: .5em; }
.final-cta .region-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .72); max-width: 640px; margin: 0 auto 1.2em; }
.final-cta .city-list { margin: 0 auto 2em; max-width: 780px; color: rgba(255, 255, 255, .9); }
.final-cta .city-list li:first-child { color: var(--green); }
.final-cta .final-inner { max-width: 1240px; }
.final-cta .contact-list {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
  gap: 24px;
  margin: 0 auto 2.4em;
  text-align: left;
}
.final-cta .contact-ico { width: 44px; height: 44px; background: var(--green); color: var(--forest-deep); }
.final-cta .contact-ico .ico { width: 22px; height: 22px; }
.final-cta .contact-list li > div { min-width: 0; }
.final-cta .contact-list small {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-transform: none;
}
.final-cta .contact-list div > a, .final-cta .contact-list div > span {
  display: block;
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}
.final-cta .contact-list a:hover { color: var(--green); }

@media (min-width: 640px) {
  .final-cta .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (min-width: 1280px) {
  .final-cta .contact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
}

/* crédito do desenvolvedor no rodapé */
.footer-bottom .credit { font-weight: 700; color: inherit; text-decoration: none; }
.footer-bottom .credit:hover { color: var(--green); }
