/* =========================================================================
   Alliance Jiu Jitsu Botânico — Estilos
   Paleta inspirada nos tatames verdes. Editorial, arquitetônico, calmo.
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
  /* Paleta */
  --sage: #535D47;          /* verde sálvia profundo */
  --olive: #384131;         /* verde oliva escuro */
  --sage-mid: #6A7359;      /* verde sálvia médio */
  --sage-soft: #899172;     /* verde sálvia suave */
  --offwhite: #F4F2EC;      /* branco quente */
  --white: #FFFFFF;
  --charcoal: #171A17;
  --gray-soft: #D8D9D3;
  --terracotta: #A46245;    /* acento — uso mínimo (<5%) */

  /* Aplicações */
  --bg: var(--offwhite);
  --text: var(--charcoal);
  --muted: #5c6157;
  --border: rgba(23, 26, 23, 0.12);
  --border-light: rgba(255, 255, 255, 0.18);

  /* Tipografia */
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section-y: clamp(3.5rem, 8vw, 6.75rem);

  /* Sombras suaves */
  --shadow-sm: 0 1px 2px rgba(23,26,23,.06), 0 4px 12px rgba(23,26,23,.05);
  --shadow-md: 0 6px 18px rgba(23,26,23,.08), 0 16px 40px rgba(23,26,23,.08);
  --shadow-lg: 0 20px 60px rgba(23,26,23,.16);

  --header-h: 76px;
}

/* ----------------------------- 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);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--sage-mid);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----------------------------- Utilidades ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.section { padding-block: var(--section-y); }
.section--cream { background: var(--offwhite); }
.section--white { background: var(--white); }
.section--sage  { background: var(--sage); color: #fff; }
.section--olive { background: var(--olive); color: #fff; }
.section--sage h1, .section--sage h2, .section--sage h3,
.section--olive h1, .section--olive h2, .section--olive h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: 0.85rem;
}
.section--sage .eyebrow, .section--olive .eyebrow { color: var(--sage-soft); }

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

h2.h-lg { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3.h-md { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
  margin-top: 0.85rem;
}
.section--sage .lead, .section--olive .lead { color: rgba(255,255,255,.82); }

.text-muted { color: var(--muted); }

/* ----------------------------- Botões ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.82em 1.5em;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  transition: background-color .25s ease, color .25s ease,
              transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--olive); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid rgba(83, 93, 71, 0.5);
}
.btn--outline:hover { border-color: var(--sage); background: rgba(83,93,71,.06); }

/* Em fundos escuros: CTA principal em creme (máximo contraste) */
.btn--cream {
  background: var(--offwhite);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.btn--cream:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.10); }

.btn--full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Link com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--sage);
  border-bottom: 1.5px solid transparent;
  transition: gap .2s ease, border-color .2s ease;
}
.link-arrow:hover { gap: 0.7em; border-color: currentColor; }
.section--sage .link-arrow, .section--olive .link-arrow { color: #fff; }

/* ----------------------------- Skip link ------------------------------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 1000;
  background: var(--olive);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ----------------------------- Cabeçalho ------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header::after {
  /* leve gradiente para legibilidade do logo sobre o herói */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23,26,23,.35), rgba(23,26,23,0));
  opacity: 1; transition: opacity .3s ease;
  pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(41, 48, 37, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 30px rgba(0,0,0,.18);
}
.site-header.is-scrolled::after { opacity: 0; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex: none;
}
.brand__mark img { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand__unit {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-top: 3px;
}

/* Navegação */
.nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.nav__links { display: flex; align-items: center; gap: clamp(0.55rem, 1.1vw, 1.05rem); }
.nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,.9);
  padding: 6px 2px;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--sage-soft);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  transition: background-color .2s ease, border-color .2s ease;
}
.icon-link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.icon-link svg { width: 20px; height: 20px; }

.header-cta { padding: 0.6em 1.15em; min-height: 44px; }

/* Botão do menu (mobile) */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28);
  align-items: center; justify-content: center;
}
.nav-toggle .bars { position: relative; width: 20px; height: 14px; }
.nav-toggle .bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ----------------------------- Herói ----------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  top: -8%; left: 0; right: 0; bottom: -8%; /* overscan p/ parallax sem expor bordas */
  z-index: -2;
  will-change: transform;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(23,26,23,.86) 0%, rgba(56,65,49,.42) 42%, rgba(23,26,23,.30) 100%),
    linear-gradient(to right, rgba(23,26,23,.55), rgba(23,26,23,0) 60%);
}
.hero__inner { padding-block: clamp(7rem, 16vh, 11rem) clamp(3rem, 8vh, 5rem); width: 100%; }
.hero__content { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: .5rem .9rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero__support {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: rgba(255,255,255,.9);
  margin-top: 1.15rem;
  max-width: 560px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust {
  margin-top: 1.75rem;
  font-size: .92rem;
  color: rgba(255,255,255,.82);
  letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.7);
  display: grid; place-items: center; gap: 6px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero__scroll svg { width: 20px; height: 20px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* ----------------------------- Autoridade / stats ---------------------- */
.stats-band { border-top: 1px solid var(--border-light); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.stat { text-align: left; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: #fff;
  display: inline-block;
}
.stat__prefix { color: var(--sage-soft); font-weight: 600; font-size: .68em; margin-right: 1px; }
.stat__suffix { color: var(--sage-soft); font-weight: 600; font-size: .55em; margin-left: 3px; }
.stat__label { display: block; margin-top: .5rem; color: rgba(255,255,255,.8); font-size: .98rem; }
.stat--text .stat__num { font-size: clamp(1.15rem, 2.4vw, 1.5rem); display: inline-flex; align-items: center; gap: .5rem; }
.stat--text .stat__num svg { width: 26px; height: 26px; color: var(--sage-soft); }

/* Utilidades de visibilidade */
.only-mobile { display: none; }
.only-desktop { display: inline-flex; }

/* Banner de comunidade (imagem de fundo + overlay) */
.banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.banner__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,26,23,.80) 0%, rgba(23,26,23,.55) 45%, rgba(23,26,23,.82) 100%),
    linear-gradient(90deg, rgba(23,26,23,.72) 0%, rgba(23,26,23,.20) 70%);
}
.banner .container { max-width: 760px; }
.banner h2, .banner h3 { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.banner .eyebrow { color: var(--sage-soft); }
.banner .lead { color: rgba(255,255,255,.92); }
.banner .link-arrow { color: #fff; }
.banner .chip { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.45); }

/* ----------------------------- Grade de estrutura ---------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.feature-list { display: grid; gap: .85rem; margin: 1.5rem 0 1.75rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: 1rem;
}
.feature-list .tick {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  color: var(--sage);
}
.section--sage .feature-list .tick, .section--olive .feature-list .tick { color: var(--sage-soft); }

/* Galeria editorial */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(.7rem, 1.5vw, 1rem);
}
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery--tall { grid-row: span 2; }
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 11; }

/* Pilha de mídia (imagem larga + grade) */
.media-stack { display: grid; gap: clamp(.7rem, 1.5vw, 1rem); }
.gallery--even { grid-auto-rows: auto; }
.gallery--even figure { aspect-ratio: 1 / 1; }

/* Par de fotos em proporção natural (sem cortar pessoas) */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.5vw, 1rem); }
.photo-pair img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Mapa incorporado (Google Maps) */
.map-embed {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

/* ----------------------------- Recovery -------------------------------- */
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 2vw, 1.4rem);
}
.recovery-card { margin: 0; }
.recovery-card__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.recovery-card__img img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.recovery-card:hover .recovery-card__img img { transform: scale(1.04); }
.recovery-card figcaption {
  margin-top: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: center;
  color: #fff;
}
.recovery-info {
  max-width: 680px;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  text-align: center;
}
.recovery-info p { color: rgba(255,255,255,.85); margin-bottom: 1.1rem; }
.recovery-info .btn { margin-top: .4rem; }
.recovery-info__note { margin-top: 1rem !important; font-size: .92rem; color: var(--sage-soft); }
@media (max-width: 560px) {
  .recovery-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ----------------------------- Cards genéricos ------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(83,93,71,.10);
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* Cards de aula experimental (dois caminhos) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.path-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.path-card__tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage);
  background: rgba(83,93,71,.10);
  padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.path-card h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.path-card p { color: var(--muted); }
.path-card .support { margin-top: .85rem; color: var(--text); font-weight: 500; }
.path-card--accent { border-color: rgba(83,93,71,.35); background: linear-gradient(180deg, #fff, #fbfaf6); }

/* ----------------------------- Benefícios (badges) --------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0; }
.badge {
  display: flex; flex-direction: column; gap: .2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-sm);
  min-width: 190px;
}
.section--olive .badge, .section--sage .badge {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff;
}
.badge__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.badge__plan { font-size: .9rem; color: var(--muted); }
.section--olive .badge__plan, .section--sage .badge__plan { color: rgba(255,255,255,.72); }

/* Chips de nível */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip {
  font-size: .88rem; font-weight: 500;
  padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
}

/* ----------------------------- Localização ----------------------------- */
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.location-card__media { position: relative; min-height: 320px; }
.location-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-card__body { padding: clamp(1.6rem, 3.5vw, 2.75rem); }
.address-line { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .5rem; }
.address-line svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 3px; }
.address-line address { font-style: normal; font-size: 1.08rem; font-weight: 500; }
.location-note { color: var(--muted); margin: 1rem 0 1.75rem; }

/* ----------------------------- FAQ ------------------------------------- */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--text);
}
.faq-item__trigger .plus {
  flex: none; width: 26px; height: 26px; position: relative;
  transition: transform .3s ease; color: var(--sage);
}
.faq-item__trigger .plus::before, .faq-item__trigger .plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  left: 50%; top: 50%;
}
.faq-item__trigger .plus::before { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item__trigger .plus::after  { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-item__trigger[aria-expanded="true"] .plus { transform: rotate(135deg); }
.faq-item__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item__panel > div { padding-bottom: 1.25rem; color: var(--muted); max-width: 60ch; }

/* ----------------------------- CTA final ------------------------------- */
.final-cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; }
.final-cta__media { position: absolute; inset: 0; z-index: -2; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(56,65,49,.90), rgba(23,26,23,.90));
}
.final-cta .container { max-width: 720px; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.final-cta .lead { color: rgba(255,255,255,.88); }
.final-cta .btn-row { justify-content: center; margin-top: 2rem; }
.final-cta__note { margin-top: 1.25rem; color: rgba(255,255,255,.72); font-size: .95rem; }

/* ----------------------------- Rodapé ---------------------------------- */
.site-footer { background: var(--olive); color: rgba(255,255,255,.82); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 40px; height: auto; }
.footer-brand .brand__name { font-size: 1.05rem; }
.footer p { font-size: .96rem; }
.footer h4 {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-soft); margin-bottom: 1rem;
}
.footer-links { display: grid; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.82); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.7; font-size: .96rem; }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .88rem; color: rgba(255,255,255,.66);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: #fff; }

/* ----------------------------- CTA flutuante --------------------------- */
.floating-cta {
  position: fixed;
  z-index: 90;
  right: clamp(16px, 4vw, 28px);
  bottom: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-bottom, 0px));
  transform: translateY(160%);
  opacity: 0;
  transition: transform .4s ease, opacity .3s ease;
}
.floating-cta.is-visible { transform: none; opacity: 1; }
.floating-cta .btn { box-shadow: var(--shadow-lg); }
body.cookie-open .floating-cta { transform: translateY(220%); opacity: 0; }

/* Barra fixa inferior no mobile */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  padding: 10px clamp(14px, 4vw, 20px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(41,48,37,.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(120%);
  transition: transform .4s ease;
}
.mobile-bar.is-visible { transform: none; }
body.cookie-open .mobile-bar { transform: translateY(120%); }

/* ----------------------------- Banner de cookies ----------------------- */
.cookie-banner {
  position: fixed; z-index: 95;
  left: clamp(14px, 4vw, 24px);
  right: clamp(14px, 4vw, 24px);
  bottom: calc(clamp(14px, 4vw, 24px) + env(safe-area-inset-bottom, 0px));
  max-width: 460px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1.4rem;
  transform: translateY(20px);
  opacity: 0; visibility: hidden;
  transition: transform .35s ease, opacity .3s ease, visibility .3s ease;
}
.cookie-banner.is-visible { transform: none; opacity: 1; visibility: visible; }
.cookie-banner p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cookie-banner .btn { min-height: 44px; padding: .6em 1.1em; font-size: .95rem; }
.cookie-banner__link { font-size: .9rem; color: var(--sage); font-weight: 600; margin-left: auto; }
.cookie-banner__link:hover { text-decoration: underline; }

/* ----------------------------- Reveal ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__scroll svg { animation: none; }
  .gallery figure:hover img { transform: none; }
  .recovery-card:hover .recovery-card__img img { transform: none; }
  .btn:active { transform: none; }
}

/* ----------------------------- Responsivo ------------------------------ */
@media (max-width: 1140px) {
  .nav__links, .nav > .nav__actions .header-cta { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(41,48,37,.98);
    backdrop-filter: blur(10px);
    padding: 1rem clamp(20px, 5vw, 32px) 1.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav__link {
    display: block; padding: 1rem 0; font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .nav__link::after { display: none; }
  .nav__actions { display: flex; margin-top: 1.25rem; }
  .nav .header-cta { display: inline-flex; width: 100%; }
  .nav__actions .icon-link { display: none; } /* Instagram fica no menu como texto abaixo */

  .mobile-bar { display: block; }
  .floating-cta { display: none; } /* no mobile usamos a barra inferior */

  .only-mobile { display: block; }
  .only-desktop { display: none; }
}

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  /* No mobile, o texto sempre vem antes das fotos (inclusive no feminino). */
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__body { order: 1; }
  .cards { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .location-card { grid-template-columns: 1fr; }
  .location-card__media { min-height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn--full-mobile { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 781px) and (max-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .stats-grid { gap: 1.25rem; }
}

/* Menu aberto: trava rolagem de fundo */
body.nav-open { overflow: hidden; }

/* ----------------------------- Página de política ---------------------- */
.legal { padding-top: calc(var(--header-h) + 2.5rem); }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin-bottom: .5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: .85rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal ul li { margin-bottom: .5rem; }
.legal a { color: var(--sage); font-weight: 500; text-decoration: underline; }
.legal .updated { color: var(--sage-mid); font-weight: 600; font-size: .95rem; margin-bottom: 2rem; }
.legal-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--olive);
}
.legal-header .header-inner { min-height: 64px; }
.legal-header .brand__name { font-size: .98rem; }
