/* =========================================================
   Instituto Reerguer — Folha de estilo principal
   Identidade: verde-floresta + creme + dourado (harmonizada
   com a logomarca oficial: azul-marinho, verde e dourado)
   ========================================================= */

/* ---------- 1. Variáveis de identidade ---------- */
:root {
  /* Cores da marca */
  --verde-900: #0c3b29;
  --verde-800: #124c36;
  --verde-700: #16603f;
  --verde-600: #1e7a52;
  --verde-500: #2e9a63;
  --verde-100: #e4efe7;
  --verde-050: #f1f7f2;

  --marinho-900: #08203f;   /* azul da logomarca */

  --dourado-600: #8a6208;
  --dourado-500: #d0980f;
  --dourado-400: #e2ae2e;

  --terracota: #c2653f;

  /* Neutros */
  --creme: #fbf7f0;
  --creme-2: #f4ece0;
  --branco: #ffffff;
  --texto: #333c44;
  --texto-suave: #5d6a72;
  --borda: #e6ded1;

  /* Tipografia */
  --font-titulo: "Lora", Georgia, "Times New Roman", serif;
  --font-texto: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --raio: 16px;
  --raio-lg: 26px;
  --sombra-sm: 0 2px 10px rgba(12, 59, 41, .06);
  --sombra: 0 10px 30px rgba(12, 59, 41, .09);
  --sombra-lg: 0 24px 60px rgba(12, 59, 41, .16);
  --header-h: 84px;
  --transicao: 220ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset e 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;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--font-texto);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-titulo);
  color: var(--verde-900);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.3; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--verde-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--verde-600); }

ul { margin: 0; padding: 0; }

address { font-style: normal; }

code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

:focus-visible {
  outline: 3px solid var(--dourado-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--verde-900);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transicao);
}
.skip-link:focus { top: 0; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. Elementos utilitários ---------- */
.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dourado-600);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--dourado-400);
  flex: none;
}
.eyebrow--light { color: var(--dourado-400); }
.eyebrow--light::before { background: var(--dourado-400); }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--cream { background: var(--creme); }

.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head__lead { color: var(--texto-suave); font-size: 1.08rem; }

.pull-quote {
  margin: 1.8rem 0;
  padding: 1.1rem 0 1.1rem 1.5rem;
  border-left: 3px solid var(--dourado-400);
  font-family: var(--font-titulo);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--verde-800);
  font-style: italic;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  color: var(--verde-700);
  text-decoration: none;
  border-bottom: 2px solid var(--verde-100);
  padding-bottom: 3px;
  transition: gap var(--transicao), border-color var(--transicao);
}
.link-arrow svg { width: 20px; height: 20px; }
.link-arrow:hover { gap: .9rem; border-color: var(--dourado-400); }
.link-arrow--sm { font-size: .95rem; margin-top: .9rem; }

/* ---------- 4. Botões ---------- */
.btn {
  --btn-bg: var(--verde-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-texto);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transicao), background-color var(--transicao),
              box-shadow var(--transicao), color var(--transicao), border-color var(--transicao);
}
.btn svg { width: 21px; height: 21px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sombra); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }
.nav__extra .btn { white-space: nowrap; }

.btn--primary { --btn-bg: var(--verde-700); }
.btn--primary:hover { --btn-bg: var(--verde-600); }

.btn--gold { --btn-bg: var(--dourado-500); --btn-fg: #26200a; }
.btn--gold:hover { --btn-bg: var(--dourado-400); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--verde-800);
  border-color: var(--verde-700);
}
.btn--outline:hover { --btn-bg: var(--verde-700); --btn-fg: #fff; }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 5. Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color var(--transicao), box-shadow var(--transicao), backdrop-filter var(--transicao);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 240, .94);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 rgba(12, 59, 41, .08), 0 8px 24px rgba(12, 59, 41, .06);
}

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

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand__mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-titulo);
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  transition: color var(--transicao);
}
.brand__text small {
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .78);
  transition: color var(--transicao);
}
.is-scrolled .brand__text strong { color: var(--verde-900); }
.is-scrolled .brand__text small { color: var(--texto-suave); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.55rem, 1.4vw, 1.4rem); list-style: none; }
.nav__list a {
  position: relative;
  color: rgba(255, 255, 255, .92);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: .4rem 0;
  transition: color var(--transicao);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--dourado-400);
  transition: width var(--transicao);
}
.nav__list a:hover::after, .nav__list a.is-active::after { width: 100%; }
.is-scrolled .nav__list a { color: var(--verde-900); }

.nav__extra { display: flex; align-items: center; gap: .9rem; }
.nav__ig {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: background-color var(--transicao), color var(--transicao), border-color var(--transicao);
}
.nav__ig svg { width: 21px; height: 21px; }
.nav__ig:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.is-scrolled .nav__ig { color: var(--verde-800); border-color: var(--borda); }
.is-scrolled .nav__ig:hover { background: var(--verde-100); color: var(--verde-900); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 100;          /* acima do painel do menu (z-index 99) */
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bars { display: grid; gap: 5px; justify-items: center; }
.nav-toggle__bars i {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transicao), opacity var(--transicao), background-color var(--transicao);
}
.is-scrolled .nav-toggle { border-color: var(--borda); background: var(--branco); }
.is-scrolled .nav-toggle__bars i,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i { background: var(--verde-900); }
.nav-toggle[aria-expanded="true"] { border-color: var(--borda); background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 32, 25, .5);
  backdrop-filter: blur(2px);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(46, 154, 99, .28) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(8, 32, 63, .5) 0%, transparent 60%),
    linear-gradient(165deg, var(--verde-900) 0%, #0a3325 55%, var(--marinho-900) 140%);
  color: #fff;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(251, 247, 240, .06));
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 1.1rem; }
.hero__title em { font-style: normal; color: var(--dourado-400); }
.hero__lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: rgba(255, 255, 255, .86);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__media { position: relative; }
.hero__photo {
  margin: 0;
  border-radius: var(--raio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
  transform: rotate(.6deg);
}
.hero__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hero__photo-sm {
  position: absolute;
  left: -3%;
  bottom: -8%;
  width: 34%;
  max-width: 190px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid var(--creme);
  box-shadow: var(--sombra-lg);
  transform: rotate(-2.5deg);
}
.hero__photo-sm img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hero__badge {
  position: absolute;
  right: -2%;
  top: 6%;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--creme);
  color: var(--verde-900);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--sombra-lg);
  font-size: .92rem;
  line-height: 1.25;
}
.hero__badge svg { width: 24px; height: 24px; color: var(--verde-600); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-titulo); font-size: 1.02rem; }

.hero__values {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 1.35rem var(--gutter);
  margin: 0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  position: relative;
  z-index: 1;
}
.hero__values li { display: flex; align-items: center; gap: .7rem; }
.hero__values li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dourado-400);
}

/* ---------- 7. Blocos alternados (split) ---------- */
.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }

.split__media { position: relative; }
.framed {
  margin: 0;
  border-radius: var(--raio-lg);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.framed img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.stat-card {
  position: absolute;
  right: -1.2rem;
  bottom: -1.6rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--verde-800);
  color: #fff;
  padding: 1.1rem 1.4rem;
  border-radius: var(--raio);
  box-shadow: var(--sombra-lg);
}
.stat-card__num {
  font-family: var(--font-titulo);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dourado-400);
}
.stat-card__label { font-size: .85rem; line-height: 1.3; letter-spacing: .02em; }

/* ---------- 8. Cards de atuação ---------- */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  box-shadow: var(--sombra-sm);
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--verde-100); }
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--verde-050);
  color: var(--verde-700);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--texto-suave); font-size: .99rem; margin: 0; }

/* ---------- 9. Faixas com foto ---------- */
.band {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(400px, 52vw, 540px);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.band__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 32, 24, .72) 0%, rgba(12, 59, 41, .82) 100%);
}
.band__content { max-width: 52rem; }
.band__title {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.band__text { color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin-bottom: 2rem; }
.band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- 10. Como ajudar ---------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
.help {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
  padding: clamp(1.7rem, 2.6vw, 2.4rem);
  box-shadow: var(--sombra-sm);
}
.help h3 { margin-bottom: .5rem; }
.help p { color: var(--texto-suave); font-size: 1rem; }
.help .btn { margin-top: auto; }
.help__icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--verde-050);
  color: var(--verde-700);
  margin-bottom: 1.1rem;
}
.help__icon svg { width: 27px; height: 27px; }
.help__icon--gold { background: #fdf3dd; color: var(--dourado-600); }

.help--pix { grid-column: span 7; background: linear-gradient(180deg, #fff 0%, #fffdf7 100%); }
.help:nth-of-type(2) { grid-column: span 5; }

/* Card horizontal com foto (doação de itens) */
.help--photo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  padding: 0;
  overflow: hidden;
}
.help--photo .help__photo { height: 100%; }
.help--photo .help__photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 35%;
}
.help--photo .help__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.7rem, 2.8vw, 2.4rem);
}
.help--photo .help__body .btn { margin-top: 1.2rem; }

/* Faixa de destaque: convite para preencher o formulário */
.help--destaque {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  border-color: transparent;
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(46, 154, 99, .38) 0%, transparent 58%),
    linear-gradient(135deg, var(--verde-900) 0%, #0d4230 55%, var(--marinho-900) 130%);
  box-shadow: var(--sombra);
}
.help--destaque .help__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.9rem, 3.2vw, 3rem);
}
.help--destaque h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  margin-bottom: .7rem;
}
.help--destaque p { color: rgba(255, 255, 255, .84); }
.help--destaque .help__icon { background: rgba(255, 255, 255, .13); color: var(--dourado-400); }

.help__lista {
  list-style: none;
  display: grid;
  gap: .65rem;
  margin: 1.4rem 0 1.8rem;
}
.help__lista li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}
.help__lista svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .18rem;
  color: var(--dourado-400);
}

.help__midia { height: 100%; }
.help__midia img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 40%;
}

.help--destaque .help__actions .btn { flex: 1 1 auto; }

.help__nota {
  margin-top: 1.1rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .66);
}

.pix {
  width: 100%;
  margin-top: 1.2rem;
  padding: 1.3rem;
  border: 1px dashed #e0cfa4;
  border-radius: var(--raio);
  background: #fffaf0;
}
.pix__label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dourado-600);
  margin-bottom: .45rem;
}
.pix__key {
  display: block;
  font-size: clamp(.85rem, 3.2vw, 1.16rem);
  font-weight: 600;
  color: var(--verde-900);
  overflow-wrap: anywhere;
  margin-bottom: 1rem;
  user-select: all;
}
.pix__btn { width: 100%; }
.pix__btn.is-copied { --btn-bg: var(--verde-600); }
.pix__status {
  margin: .7rem 0 0;
  min-height: 1.4em;
  font-size: .92rem;
  font-weight: 600;
  color: var(--verde-700);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ---------- 11. Galeria ---------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.1rem);
}
.gallery__item { margin: 0; }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--creme-2);
  border-radius: var(--raio);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery__btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(.4, 0, .2, 1), filter var(--transicao);
}
.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 59, 41, .35) 100%);
  opacity: 0;
  transition: opacity var(--transicao);
}
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.05); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { opacity: 1; }

.gallery__note {
  margin-top: 2rem;
  text-align: center;
  color: var(--texto-suave);
}

/* ---------- 12. Contato ---------- */
.contact-list { list-style: none; display: grid; gap: 1.35rem; margin: 2rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--verde-050);
  color: var(--verde-700);
}
.contact-list__icon svg { width: 23px; height: 23px; }
.contact-list strong { display: block; color: var(--verde-900); font-size: .95rem; margin-bottom: .15rem; }
.contact-list address, .contact-list p { color: var(--texto-suave); margin: 0; line-height: 1.55; }
.contact-list a { color: var(--verde-700); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

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

/* ---------- 13. Rodapé ---------- */
.site-footer {
  background: var(--verde-900);
  color: rgba(255, 255, 255, .82);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: .97rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand img { border-radius: 50%; background: #fff; margin-bottom: 1.1rem; }
.footer__tagline {
  font-family: var(--font-titulo);
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.footer__note { font-size: .88rem; color: rgba(255, 255, 255, .72); }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  transition: background-color var(--transicao), border-color var(--transicao);
}
.footer__social a svg { width: 22px; height: 22px; }
.footer__social a:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }

.footer__title {
  font-family: var(--font-texto);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dourado-400);
  margin: 0 0 1rem;
}
.footer__col ul { list-style: none; display: grid; gap: .55rem; }
.footer__col a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__col address, .footer__col p { line-height: 1.6; margin-bottom: .5rem; }
.footer__pixlabel { font-size: .8rem; color: rgba(255, 255, 255, .72); margin-bottom: .2rem; }
.footer__pix { color: #fff; font-weight: 600; font-size: .93rem; overflow-wrap: anywhere; margin-bottom: 1.1rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  color: rgba(255, 255, 255, .74);
}
.footer__bottom p { margin: 0; }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-weight: 600;
}
.footer__top svg { width: 18px; height: 18px; }
.footer__top:hover { color: #fff; }

/* ---------- 14. Ações flutuantes ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1aa851;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: transform var(--transicao), box-shadow var(--transicao), background-color var(--transicao);
  animation: wa-entrada 600ms cubic-bezier(.2, 1.1, .4, 1) 900ms both;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover, .wa-float:focus-visible { background: #158f45; color: #fff; transform: scale(1.06); }
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--verde-900);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  padding: .5rem .85rem;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity var(--transicao), transform var(--transicao);
  box-shadow: var(--sombra);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translateX(0); }

@keyframes wa-entrada {
  from { opacity: 0; transform: scale(.4) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: var(--branco);
  color: var(--verde-800);
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: transform var(--transicao), background-color var(--transicao);
}
.to-top svg { width: 21px; height: 21px; }
.to-top:hover { background: var(--verde-050); transform: translateY(-2px); }
.to-top[hidden] { display: none; }

/* ---------- 14b. Formulário de contato (modal) ---------- */
.help__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.help__actions .btn { margin-top: 0; }

.modal {
  width: min(720px, 100%);
  max-width: min(720px, calc(100vw - 2rem));
  max-height: min(92dvh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--raio-lg);
  background: var(--branco);
  color: var(--texto);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
  position: relative;   /* âncora do botão de fechar */
}
.modal::backdrop { background: rgba(6, 26, 19, .74); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-entra 240ms cubic-bezier(.2, .8, .3, 1) both; }
@keyframes modal-entra {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal__box {
  max-height: min(92dvh, 900px);
  overflow-y: auto;
  padding: clamp(1.6rem, 3.4vw, 2.5rem);
  -webkit-overflow-scrolling: touch;
}
.modal__close {
  position: absolute;
  z-index: 2;
  top: .9rem; right: .9rem;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--borda);
  border-radius: 50%;
  background: var(--branco);
  color: var(--verde-800);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(12, 59, 41, .14);
  transition: background-color var(--transicao), color var(--transicao);
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--verde-050); color: var(--verde-900); }

.modal__head { margin-bottom: 1.6rem; padding-right: 3rem; }
.modal__head h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-bottom: .5rem; }
.modal__lead { color: var(--texto-suave); font-size: 1rem; margin: 0; }

/* Campos */
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--verde-900); }
.field__req { color: var(--terracota); }
.field__opc { font-weight: 400; color: var(--texto-suave); }
.field__dica { font-size: .82rem; color: var(--texto-suave); line-height: 1.4; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 1.5px solid var(--borda);
  border-radius: 12px;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--font-texto);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--transicao), box-shadow var(--transicao);
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 18px;
  padding-right: 2.4rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d3c6b2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--verde-600);
  box-shadow: 0 0 0 3px rgba(30, 122, 82, .18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--dourado-500); outline-offset: 2px; }

.field__erro { display: none; font-size: .84rem; font-weight: 600; color: #a83a17; line-height: 1.4; }
.field--erro .field__erro { display: block; }
.field--erro input, .field--erro select, .field--erro textarea { border-color: #c9563a; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .7rem;
  align-items: start;
  margin-top: 1.3rem;
}
.field--check input { width: 20px; height: 20px; margin-top: .18rem; accent-color: var(--verde-700); flex: none; }
.field--check label { font-size: .92rem; font-weight: 400; color: var(--texto); line-height: 1.5; }
.field--check .field__erro { grid-column: 2; }

/* Campo antisspam */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.form__actions .btn { flex: 1 1 auto; }

.form__status {
  margin: 1rem 0 0;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--verde-700);
}
.form__status--erro { color: #a83a17; }
.form__status a { color: inherit; }

.form.is-enviando { opacity: .65; pointer-events: none; }

.form__sucesso { text-align: center; padding: 1rem 0 .5rem; }
.form__sucesso-icone {
  display: inline-grid;
  place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--verde-050);
  color: var(--verde-600);
}
.form__sucesso-icone svg { width: 34px; height: 34px; }
.form__sucesso p { color: var(--texto-suave); max-width: 30rem; margin-inline: auto; margin-bottom: 1.6rem; }

@media (max-width: 620px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; flex: none; }
  .modal { max-height: 94dvh; }
  .modal__box { max-height: 94dvh; }
}

/* ---------- 15. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 26, 19, .92);
  animation: fade-in 200ms ease both;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(860px, 100%); text-align: center; }
.lightbox__figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--raio);
  background: #0a2b1f;
}
.lightbox__figure figcaption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  line-height: 1.5;
}
.lightbox__close {
  position: absolute;
  top: clamp(.8rem, 3vw, 1.6rem);
  right: clamp(.8rem, 3vw, 1.6rem);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--transicao);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

body.is-locked { overflow: hidden; }

/* ---------- 16. Revelação suave ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .3, 1);
}

/* =========================================================
   17. Responsividade
   ========================================================= */
@media (max-width: 1240px) {
  .brand__text small { display: none; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__media { max-width: 460px; margin-inline: auto; margin-top: 1rem; }
  .hero__photo-sm { width: 30%; left: -2%; bottom: -6%; }
  .hero__badge { right: 0; top: -3%; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media, .split--reverse .split__text { order: initial; }
  .split__media { max-width: 520px; margin-inline: auto; }
  .stat-card { right: 0; bottom: -1.2rem; }
  .help, .help--pix, .help--photo, .help--destaque, .help:nth-of-type(2) { grid-column: span 12; }
  .help--photo, .help--destaque { grid-template-columns: 1fr; }
  .help--photo .help__photo img,
  .help--destaque .help__midia img { min-height: 0; aspect-ratio: 21 / 9; }
  .help--destaque .help__midia { order: -1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: grid; place-items: center; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    width: min(340px, 86vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1rem) 1.6rem 2rem;
    background: var(--creme);
    box-shadow: -18px 0 50px rgba(8, 32, 24, .22);
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--borda); }
  .nav__list a {
    display: block;
    color: var(--verde-900);
    font-size: 1.06rem;
    font-weight: 500;
    padding: .95rem 0;
  }
  .nav__list a::after { display: none; }

  .nav__extra { flex-direction: row-reverse; justify-content: flex-end; gap: .8rem; margin-top: 1.6rem; }
  .nav__extra .btn { flex: 1; }
  .nav__ig { color: var(--verde-800); border-color: var(--borda); }

  .brand__mark { width: 46px; height: 46px; }
  .brand__text strong { font-size: 1.05rem; }
  .brand__text small { display: none; }
}

@media (max-width: 620px) {
  .help--destaque .help__body { padding: 1.5rem 1.5rem 1.7rem; }
  .help--destaque .help__actions { width: 100%; }
  .help--destaque .help__actions .btn {
    width: 100%;
    flex: none;
    padding-inline: 1rem;
    font-size: .95rem;
  }
  .help--photo .help__body { padding: 1.5rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__actions .btn { width: 100%; }
  .hero__values { gap: .9rem 1.6rem; font-size: .76rem; }
  .hero__badge { font-size: .82rem; padding: .55rem .9rem; }
  .hero__badge svg { width: 20px; height: 20px; }
  .band__actions .btn, .contact-actions .btn { width: 100%; }
  .stat-card { right: 50%; transform: translateX(50%); bottom: -1.4rem; }
  .split__media { margin-bottom: 2.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 32px; height: 32px; }
  .wa-float__tip { display: none; }
  .to-top { width: 42px; height: 42px; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 64px); }
}

@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Em telas de toque o :hover pode ficar preso após o toque */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .btn--outline:hover { --btn-bg: transparent; --btn-fg: var(--verde-800); }
  .btn--ghost-light:hover { --btn-bg: transparent; border-color: rgba(255, 255, 255, .55); }
  .btn--primary:hover { --btn-bg: var(--verde-700); }
  .btn--gold:hover { --btn-bg: var(--dourado-500); }
  .card:hover { transform: none; box-shadow: var(--sombra-sm); border-color: var(--borda); }
  .gallery__btn:hover img { transform: none; }
  .gallery__btn:hover::after { opacity: 0; }
  .wa-float:hover { transform: none; background: #1aa851; }
  .to-top:hover { transform: none; background: var(--branco); }
  .link-arrow:hover { gap: .55rem; border-color: var(--verde-100); }
  .modal__close:hover { background: var(--branco); color: var(--verde-800); }
}

/* ---------- 18. Preferências de movimento e impressão ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .to-top, .nav, .lightbox { display: none !important; }
  body { color: #000; }
  .hero, .band { background: none; color: #000; }
}
