/* =========================================================
   CEV Curitiba — Comunidade Esperança e Vida
   Fonte da verdade visual: DESIGN.md (estrutura) + manual da marca (cores).
   Sem sombras, sem linhas finas, sem gradientes (exceto o scrim do hero).
   ========================================================= */

/* Fontes hospedadas no próprio site (licença OFL, ver assets/fonts/OFL-*.txt).
   Bellefair substitui a Silver Linings e Water Brush substitui a Raisteny.
   A Bellefair e a Water Brush só têm peso 400; a Poppins vai em 400, 500 e 600. */
@font-face {
  font-family: "Bellefair";
  src: url("../fonts/Bellefair-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Water Brush";
  src: url("../fonts/WaterBrush-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") /* taste-skill-ignore: fonte do manual da marca */ format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* Paleta oficial (manual da marca) */
  --verde-raiz: #152B12;
  --branco-essencia: #E8EDEB;
  --verde-esperanca: #4D6D48;
  --oliva: #D7CC63;
  --oliva-pressionada: #C4B94F;
  --azul-sereno: #BCD7EA;
  --areia: #F3DAB2;
  --laranja-chama: #ED842B;

  /* Papéis (tokens do DESIGN.md) */
  --canvas-light: var(--branco-essencia);
  --canvas-dark: var(--verde-raiz);
  --surface-soft: #F4F6F5;
  --surface-card: #FFFFFF;
  --surface-elevated: #1F3A1B;
  --ink: #152B12;
  --body: #2B3A28;
  --mute: #566352;
  --on-dark: #E8EDEB;
  --on-dark-strong: #FFFFFF;
  --on-dark-mute: rgba(232, 237, 235, .72);
  --photo-tone: #2E4A2A;
  --hairline-light: #CFD8D2; /* só para inputs de formulário */

  --font-title: "Bellefair", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Water Brush", cursive;

  /* Seis degraus de tipo */
  --t-hero: clamp(3.25rem, 9.4vw, 9.25rem);
  --t-display: clamp(2.5rem, 5.6vw, 5.25rem);
  --t-heading: clamp(1.75rem, 2.8vw, 2.75rem);
  --t-lead: clamp(1.125rem, 1.5vw, 1.375rem);
  --t-statement: clamp(1.375rem, 2.2vw, 2rem); /* frase grande: no máximo 32px e 3 linhas */
  --t-body: 1.0625rem;
  --t-small: .875rem;

  --radius: 20px;
  --radius-md: 12px;
  --radius-xl: 28px;
  --margin: clamp(16px, 4vw, 56px);
  --container: 1440px;
  --band: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Nunca engrossar fontes artificialmente; só o itálico pode ser simulado. */
html { -webkit-text-size-adjust: 100%; font-synthesis: style; color-scheme: light; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--canvas-light);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 600; }
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--laranja-chama); outline-offset: 3px; }
::selection { background: var(--oliva); color: var(--verde-raiz); }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--margin); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--oliva); color: var(--verde-raiz); padding: .7em 1.2em; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent; /* taste-skill-ignore: só o button-outline-dark mostra o contorno */
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: var(--t-body); }
.btn--primary { background: var(--oliva); color: var(--verde-raiz); }
.btn--primary:active { background: var(--oliva-pressionada); }
.btn--dark { background: var(--verde-raiz); color: var(--on-dark); }
.btn--outline-dark { border-color: var(--on-dark); color: var(--on-dark); }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: #E1D778; }
  .btn--dark:hover { background: var(--verde-esperanca); }
  .btn--outline-dark:hover { background: var(--on-dark); color: var(--verde-raiz); }
}

/* ---------- Espaço de foto (até o fotógrafo entregar) ----------
   Cada espaço descreve a foto que vai ocupá-lo; a pauta completa está em
   referencias/pauta-de-fotos.md. Para trocar, substitua o <div> por um <img>
   com a mesma classe de proporção. */
.shot {
  position: relative; overflow: hidden; background: var(--photo-tone); color: var(--on-dark-mute);
}
.shot::after {
  content: attr(data-shot); position: absolute; left: 16px; bottom: 14px; right: 16px;
  font: 500 .875rem/1.4 var(--font-body); max-width: 46ch;
}
.shot--soft { background: #3A5636; }
.shot--sage { background: #5B6E4F; }
.shot > img, .footer__media > img { width: 100%; height: 100%; object-fit: cover; }
/* Enquadramento de cada foto: mantém o assunto à vista em cada recorte */
.hero__media > img { object-position: 70% 40%; }
.intro__panorama > img { object-position: 50% 40%; }
.roots__photo > img { object-position: 50% 30%; }
.footer__media > img { object-position: 50% 45%; }

/* ---------- Faixa de horários ---------- */
.top-strip {
  background: var(--verde-raiz); color: var(--on-dark);
  font: 600 .875rem/1.3 var(--font-body); text-align: center; padding: 10px var(--margin);
}
.top-strip b { color: var(--oliva); }

/* ---------- Cabeçalho: assume a cor do capítulo embaixo dele ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--canvas-light); color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.header.on-dark { background: var(--verde-raiz); color: var(--on-dark); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- Marca (vetores extraídos do manual, em assets/img/marca/) ----------
   Os logos e pictogramas entram como <img> já coloridos (assets/img/marca/cores/),
   e não como máscara CSS: assim aparecem também ao abrir o HTML direto do arquivo.
   Combinações de cor aprovadas: manual, página 22. */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.brand__logo { display: block; height: 40px; width: auto; }
/* o cabeçalho troca o logo junto com a cor do capítulo */
.header .brand__logo--essencia { display: none; }
.header.on-dark .brand__logo--raiz { display: none; }
.header.on-dark .brand__logo--essencia { display: block; }

.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-size: 1rem; font-weight: 500; padding-block: 8px;
  text-decoration-line: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 8px; transition: text-decoration-color .2s;
}
.nav__links a[aria-current="page"] { text-decoration-color: var(--oliva); }
@media (hover: hover) { .nav__links a:hover { text-decoration-color: currentColor; } }
.header__cta { min-height: 44px; padding: 10px 22px; background: var(--verde-raiz); color: var(--on-dark); }
.header.on-dark .header__cta { background: var(--oliva); color: var(--verde-raiz); }

.nav-toggle {
  display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit;
  font: 600 1rem var(--font-body); cursor: pointer; touch-action: manipulation;
}

/* Gaveta do celular */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--verde-raiz); color: var(--on-dark);
  display: flex; flex-direction: column; padding: 20px var(--margin) calc(32px + env(safe-area-inset-bottom));
  overscroll-behavior: contain; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.drawer__links { list-style: none; margin: 40px 0 auto; padding: 0; display: grid; gap: 6px; }
.drawer__links a { font: 400 2rem/1.25 var(--font-title); text-decoration: none; }
.drawer__links a[aria-current="page"] { color: var(--oliva); }
.drawer .btn { margin-top: 32px; }
body.drawer-open { overflow: hidden; }

@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark-strong); background: var(--verde-raiz); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media.shot::after { top: 18px; bottom: auto; left: auto; text-align: right; }
.hero::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 72%; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(21, 43, 18, .92), rgba(21, 43, 18, 0)); /* taste-skill-ignore: scrim do hero, exceção do DESIGN.md */
}
.hero__inner {
  min-height: max(600px, calc(100svh - var(--header-h) - 37px));
  display: grid; grid-template-columns: 1fr auto; align-content: end; align-items: end; gap: 28px 40px;
  padding-block: 120px 48px;
}
.hero h1 { grid-column: 1 / -1; font-size: var(--t-hero); line-height: .92; letter-spacing: -.025em; color: var(--on-dark-strong); }
.hero__lead { font-size: var(--t-lead); max-width: 34ch; color: rgba(255, 255, 255, .9); }
.next-service { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--on-dark); }
.next-service strong { font: 400 var(--t-heading)/1 var(--font-title); color: var(--oliva); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Intro: o título como legenda de um panorama ---------- */
.intro { padding-top: var(--band); }
.intro h2 { font-size: var(--t-display); max-width: 15ch; }
.intro__notes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; margin: 28px 0 40px; }
.intro__notes p { width: 290px; font-size: 1rem; color: var(--body); }
.intro__notes .intro__script { width: auto; font: 400 2.75rem/1 var(--font-script); color: var(--verde-esperanca); }
.intro__panorama { aspect-ratio: 21 / 9; width: 100%; }

/* ---------- Raízes: foto larga, bloco de cor, números ---------- */
.roots { position: relative; isolation: isolate; overflow: hidden; background: var(--verde-raiz); color: var(--on-dark); padding-block: var(--band); }
/* Grafismo da marca: a árvore grande e apagada no canto da faixa escura (no máximo 8%) */
.roots::before {
  content: ""; position: absolute; z-index: -1; top: -6%; right: -8%; width: min(760px, 70vw); aspect-ratio: 105.56 / 91.48;
  opacity: .06; pointer-events: none;
  background: url("../img/marca/cores/arvore-essencia.svg") no-repeat center / contain;
}
.roots h2 { font-size: var(--t-display); color: var(--on-dark-strong); }
.roots__lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 42ch; }
.roots__mosaic { margin-top: 72px; display: grid; grid-template-columns: 8fr 4fr; gap: 16px; align-items: start; }
.roots__photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.roots__note {
  position: absolute; top: 0; right: 0; z-index: 1; width: min(340px, 50%);
  background: var(--surface-soft); color: var(--ink); padding: 22px 24px; font-size: 1rem;
  border-radius: 0 var(--radius) 0 var(--radius);
}
.roots__note a { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--verde-esperanca); text-decoration: none; }
@media (hover: hover) { .roots__note a:hover { text-decoration: underline; } }
.roots__tile { background: var(--verde-esperanca); border-radius: var(--radius); aspect-ratio: 10 / 9; display: grid; place-items: center; }
.roots__tile-logo { width: 46%; height: auto; border-radius: 22%; }
.facts { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.facts div { margin: 0; }
.facts dt { font: 400 var(--t-heading)/1 var(--font-title); color: var(--oliva); font-variant-numeric: tabular-nums; }
.facts dd { margin: 6px 0 0; font-size: var(--t-small); color: var(--on-dark-mute); }

/* ---------- Agenda: frase grande, tabela empurrada à direita ---------- */
.week { padding-block: var(--band); }
.week h2 { font-size: var(--t-display); }
.week h2 span { display: block; padding-left: 3vw; }
.week__grid { margin-top: 96px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 16px; }
.week__photo { grid-column: 1 / 5; align-self: end; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.week__groups { grid-column: 7 / 13; margin: 0; }
.week__group + .week__group { margin-top: 36px; }
.week__group h3 { font: 500 var(--t-small)/1.4 var(--font-body); color: var(--mute); margin-bottom: 4px; }
.week__rows { list-style: none; margin: 0; padding: 0; }
.week__rows li > * { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 1.0625rem; text-decoration: none; }
.week__rows .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.week__rows a .v { transition: transform .2s var(--ease); }
.week__label { display: inline-flex; align-items: center; gap: 14px; }

/* Pictogramas de ministério (manual, página 25), como <img> já coloridos.
   Pastoral e Presbitério foram desenhados no padrão do manual (não são da Larts Design). */
.picto { display: inline-block; flex: none; width: 28px; height: 28px; object-fit: contain; }
@media (hover: hover) { .week__rows a:hover .v { transform: translateX(4px); } .week__rows a:hover > span:first-child { text-decoration: underline; } }

/* ---------- Visite: cartão sobre o mapa ---------- */
.visit { position: relative; min-height: 100svh; background: var(--photo-tone); }
.visit__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55); }
.visit__card {
  position: absolute; top: 60px; right: var(--margin); width: 400px; z-index: 1;
  background: var(--surface-soft); border-radius: var(--radius); padding: 32px;
}
.visit__card h2 { font-size: var(--t-heading); }
.visit__card address { font-style: normal; margin: 14px 0 18px; }
.hours { margin: 0 0 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.hours dt { color: var(--mute); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.visit__mail { display: inline-block; margin-bottom: 22px; font-size: 1rem; overflow-wrap: anywhere; }

/* ---------- Contribua: o cartão do Pix ---------- */
.give { position: relative; overflow: hidden; background: var(--verde-raiz); color: var(--on-dark); padding-top: var(--band); }
.give__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: end; min-height: 62svh; }
.give__text { grid-column: 1 / 6; padding-bottom: 72px; }
.give__lead { font: 400 var(--t-statement)/1.25 var(--font-title); color: var(--on-dark-strong); margin-bottom: 16px; }
.give__text p:not(.give__lead) { color: var(--on-dark); max-width: 42ch; }
.give__link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--oliva); text-decoration: none; }
@media (hover: hover) { .give__link:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Quilo do Amor (home) ---------- */
.quilo { background: var(--areia); padding-block: var(--band); }
.quilo__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.quilo__mark { width: min(100%, 260px); height: auto; justify-self: center; }
.quilo h2 { font-size: var(--t-display); }
.quilo__statement { margin: 20px 0 24px; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 34ch; }
.quilo__text > p:not(.quilo__statement):not(.quilo__motto) { max-width: 58ch; color: var(--body); }
.quilo__text > p + p { margin-top: 16px; }
.quilo__motto { margin-top: 24px !important; font-weight: 600; color: var(--ink); max-width: 46ch; }
@media (max-width: 767px) {
  .quilo__grid { grid-template-columns: minmax(0, 1fr); }
  .quilo__mark { width: 120px; justify-self: start; }
  .quilo__statement, .give__lead { font-size: 1.375rem; }
}
.pix {
  grid-column: 6 / 13; background: var(--surface-soft); color: var(--ink);
  padding: 48px clamp(24px, 5vw, 72px) 72px; text-align: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0; transform: rotate(1deg) translateY(24px); transform-origin: bottom left;
  display: grid; justify-items: center; gap: 14px;
}
.pix h2 { font-size: var(--t-heading); }
.pix__key {
  width: 100%; background: var(--canvas-light); border-radius: var(--radius-md); padding: 14px 18px;
  font: 600 var(--t-body)/1.3 var(--font-body); overflow-wrap: anywhere;
}
.pix .btn { width: 100%; min-height: 56px; }
.pix small { font-size: var(--t-small); color: var(--mute); }

/* ---------- Rodapé: o nome sobre a última foto ---------- */
.footer { position: relative; isolation: isolate; background: var(--surface-elevated); min-height: 100svh; color: var(--on-dark); display: flex; flex-direction: column; }
.footer__media { position: absolute; inset: 0; z-index: -1; filter: brightness(.8) saturate(.85); }
/* Véu Verde Raiz (overlay-photo) para o logo e os links lerem sobre qualquer foto */
.footer__media::after { content: ""; position: absolute; inset: 0; background: rgba(21, 43, 18, .72); }
.footer__top { display: flex; justify-content: space-between; gap: 32px; padding-block: 40px; }
.footer__top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__top a { text-decoration: none; }
@media (hover: hover) { .footer__top a:hover { text-decoration: underline; } }
.footer__contact { text-align: right; font-style: normal; }
/* Canais em destaque no rodapé de todas as páginas */
.footer__channels { margin-top: auto; padding-block: 8px 4px; } /* encostada no rodapé final, a pedido do cliente */
.footer__channels-title { font: 400 var(--t-heading)/1.1 var(--font-title); color: var(--on-dark-strong); margin-bottom: 18px; }
.channel-buttons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.channel {
  display: grid; min-height: 56px; padding: 12px 24px; border-radius: 999px; text-decoration: none;
  background: rgba(21, 43, 18, .78); color: var(--on-dark-strong);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.channel__k { font-size: .8125rem; color: var(--on-dark-mute); transition: color .2s; }
.channel__n { font-weight: 600; overflow-wrap: anywhere; }
@media (hover: hover) {
  .channel:hover { background: var(--oliva); color: var(--verde-raiz); transform: translateY(-2px); }
  .channel:hover .channel__k { color: var(--verde-raiz); }
}
@media (max-width: 767px) {
  .channel-buttons li { flex: 1 1 100%; }
  .channel { border-radius: var(--radius); }
}
.footer__bottom { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.footer__legal { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: var(--t-small); color: var(--on-dark-mute); }

/* =========================================================
   Nossa história: a árvore do Salmo 1:3 como linha do tempo
   (raízes, tronco, ramos e frutos, como os grafismos do manual)
   ========================================================= */
.btn--outline-light { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) { .btn--outline-light:hover { background: var(--ink); color: var(--on-dark); } }

.story-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--verde-raiz); color: var(--on-dark); padding-block: var(--band) 64px; }
.story-hero::before {
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: -10%; width: min(820px, 80vw); aspect-ratio: 105.56 / 91.48;
  opacity: .07; pointer-events: none;
  background: url("../img/marca/cores/arvore-essencia.svg") no-repeat center / contain;
}
.story-hero h1 { font-size: var(--t-display); color: var(--on-dark-strong); max-width: 12ch; }
.story-hero__lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.story-hero__count { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 48px 0 0; }
.story-hero__count div { margin: 0; }
.story-hero__count dt { font: 400 var(--t-heading)/1 var(--font-title); color: var(--oliva); font-variant-numeric: tabular-nums; }
.story-hero__count dd { margin: 6px 0 0; font-size: var(--t-small); color: var(--on-dark-mute); }
.verse { margin: 56px 0 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--oliva); max-width: 920px; } /* taste-skill-ignore: verse-quote do DESIGN.md */
.verse p { font: 400 var(--t-statement)/1.3 var(--font-title); }
.verse cite { display: block; margin-top: 12px; font: 600 var(--t-small)/1.3 var(--font-body); font-style: normal; color: var(--oliva); }
.story-index { margin-top: 72px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.story-index a {
  display: block; padding: 20px 22px; border-radius: var(--radius); background: var(--surface-elevated);
  text-decoration: none; font-size: var(--t-small); color: var(--on-dark-mute); transition: transform .2s var(--ease), background-color .2s;
}
.story-index span { display: block; font: 400 var(--t-heading)/1.1 var(--font-title); color: var(--on-dark-strong); margin-bottom: 4px; }
@media (hover: hover) { .story-index a:hover { transform: translateY(-4px); background: var(--verde-esperanca); } }

.chapter { padding-block: var(--band); }
.chapter--dark { background: var(--verde-raiz); color: var(--on-dark); }
.chapter h2 { font-size: var(--t-display); max-width: 16ch; }
.chapter--dark h2 { color: var(--on-dark-strong); }
.chapter__script { font: 400 clamp(3rem, 4.4vw, 4rem)/1 var(--font-script); color: var(--verde-esperanca); margin-bottom: 12px; }
.chapter--dark .chapter__script { color: var(--oliva); }
.chapter__lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 46ch; }
.chapter h3 { font: 400 var(--t-heading)/1.1 var(--font-title); }

/* Raízes: texto ao lado do arquivo de fotos antigas, sempre no tamanho original */
.roots-legacy__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.roots-legacy__text > p:not(.chapter__script):not(.chapter__lead) { margin-top: 16px; max-width: 58ch; color: var(--body); }
.big-number { margin-top: 40px !important; display: flex; align-items: baseline; gap: 16px; color: var(--ink) !important; }
.big-number b { font: 400 var(--t-display)/1 var(--font-title); color: var(--verde-esperanca); }
.archive { display: grid; grid-template-columns: auto auto; gap: 16px; align-items: end; justify-content: start; }
.archive__item { margin: 0; }
.archive__item--main { grid-column: 1 / -1; }
.archive img { border-radius: var(--radius-md); filter: sepia(.25) saturate(.9); height: auto; }
.archive__caption { grid-column: 1 / -1; font-size: var(--t-small); color: var(--mute); }

/* Tronco: os acontecimentos em linhas de data, texto e foto */
.events { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 88px); }
.event { display: grid; grid-template-columns: 2fr 4fr 6fr; gap: 32px; align-items: start; }
.event__date { font: 400 var(--t-heading)/1 var(--font-title); color: var(--verde-esperanca); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chapter--dark .event__date { color: var(--oliva); }
.event__body p { margin-top: 12px; max-width: 42ch; }
.event__media { margin: 0; display: flex; gap: 16px; align-items: flex-start; }
.event__media figure { margin: 0; flex: 1 1 0; }
.event__media img { width: 100%; height: auto; border-radius: var(--radius-md); }
.event__media--pair img { max-width: 508px; }
.event__media:not(.event__media--pair) img { width: auto; max-width: min(100%, 442px); }

/* Ramos: dois retratos em alturas diferentes, como ramos que crescem */
.branches { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); max-width: 1180px; }
.branch__media { margin: 0 0 20px; }
.branch__media img { width: 100%; max-width: 637px; height: auto; border-radius: var(--radius); }
.branch--offset { margin-top: 160px; }
.branch h3 { margin-top: 8px; }
.branch p:last-child { margin-top: 10px; max-width: 40ch; color: var(--body); }

/* Folhas: os três pilares em colunas abertas, sem caixa e sem ícone, separados pelo espaço */
.pillars { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(32px, 4vw, 64px); }
.pillar h3 { color: var(--oliva); max-width: 14ch; }
.pillar p { margin-top: 14px; color: var(--on-dark); max-width: 38ch; }

/* Frutos (faixa clara): o propósito como frase e os quatro princípios em palavras grandes */
.fruits__statement { margin-top: 32px; font: 400 var(--t-statement)/1.3 var(--font-title); color: var(--ink); max-width: 940px; }
.fruits__note { margin-top: 16px; font-size: var(--t-small); color: var(--mute); }
.principles { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.principles li {
  padding: 28px 24px; border-radius: var(--radius); background: var(--surface-card);
  font: 400 clamp(2rem, 3.4vw, 3.25rem)/1 var(--font-title); color: var(--verde-esperanca);
}
.invite__motto { margin-top: 20px; font: 400 var(--t-statement)/1.3 var(--font-title) !important; max-width: 30ch !important; }

/* Convite: a faixa Areia, uma vez por página */
.invite { background: var(--areia); padding-block: var(--band); }
.invite__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.invite h2 { font-size: var(--t-display); max-width: 14ch; }
.invite p { font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.invite__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1023px) {
  .story-index { grid-template-columns: 1fr 1fr; }
  .roots-legacy__grid, .invite__inner { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr 2fr; }
  .event__media { grid-column: 2; }
  .principles { grid-template-columns: 1fr 1fr; }
  .story-index { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .story-hero { padding-block: 64px 48px; }
  .verse p, .fruits__statement, .invite__motto { font-size: 1.375rem !important; }
  .story-index { margin-top: 48px; }
  .story-index a { padding: 16px; }
  .chapter__script { font-size: 3rem; }
  .event { grid-template-columns: 1fr; gap: 12px; }
  .event__media { grid-column: auto; margin-top: 8px; }
  .branches { grid-template-columns: 1fr; margin-top: 40px; }
  .branch--offset { margin-top: 0; }
  .principles li { padding: 20px 16px; }
  .pillars { grid-template-columns: 1fr; margin-top: 48px; }
  .story-index { grid-template-columns: 1fr 1fr; }
  .invite__actions .btn { width: 100%; }
}

/* =========================================================
   Páginas internas: abertura e convite
   ========================================================= */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--verde-raiz); color: var(--on-dark); padding-block: var(--band) 72px; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: -14%; width: min(760px, 76vw); aspect-ratio: 105.56 / 91.48;
  opacity: .07; pointer-events: none;
  background: url("../img/marca/cores/arvore-essencia.svg") no-repeat center / contain;
}
.page-hero h1 { font-size: var(--t-display); color: var(--on-dark-strong); max-width: 14ch; }
.page-hero__lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 44ch; }
.page-hero__index { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__index a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--surface-elevated); color: var(--on-dark); text-decoration: none; font-weight: 500;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
@media (hover: hover) { .page-hero__index a:hover { background: var(--oliva); color: var(--verde-raiz); transform: translateY(-2px); } }

.page-cta { padding-block: var(--band); }
.page-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.page-cta h2 { font-size: var(--t-display); max-width: 12ch; }
.page-cta p { font-size: var(--t-lead); line-height: 1.5; max-width: 42ch; }
.page-cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Pastores
   ========================================================= */
.pastor { padding-block: var(--band); }
.pastor--dark { background: var(--verde-raiz); color: var(--on-dark); }
.pastor__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.pastor--reverse .portrait { order: 2; }
.pastor h2 { font-size: var(--t-display); max-width: 12ch; }
.pastor--dark h2 { color: var(--on-dark-strong); }
.pastor__role { margin: 14px 0 28px; font-size: var(--t-lead); color: var(--verde-esperanca); font-weight: 500; }
.pastor--dark .pastor__role { color: var(--oliva); }
.pastor__text > p:not(.pastor__role) { max-width: 58ch; color: var(--body); }
.pastor--dark .pastor__text > p:not(.pastor__role) { color: var(--on-dark); }
.pastor__text > p + p { margin-top: 16px; }

/* portrait-frame do DESIGN.md: recorte em fundo branco, com um círculo Branco Essência atrás da pessoa */
.portrait {
  position: relative; isolation: isolate; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--surface-card); aspect-ratio: 4 / 4.8; display: flex; align-items: flex-end; justify-content: center;
}
.portrait::before { content: ""; position: absolute; z-index: -1; top: 10%; left: 50%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: var(--canvas-light); transform: translateX(-50%); }
.portrait img { width: auto; max-width: 100%; max-height: 94%; object-fit: contain; mix-blend-mode: multiply; } /* o fundo branco da foto some e o círculo aparece atrás da pessoa */
.portrait--dark { background: var(--surface-card); }
.portrait--dark::before { background: var(--canvas-light); }
.portrait--warm { background: var(--surface-card); }
.portrait--warm::before { background: var(--areia); }

.facts-list { margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; max-width: 640px; }
.facts-list div { margin: 0; }
.facts-list dt { font-size: var(--t-small); color: var(--mute); }
.pastor--dark .facts-list dt { color: var(--on-dark-mute); }
.facts-list dd { margin: 4px 0 0; font-weight: 600; }
.facts-list a { text-decoration-color: var(--oliva); text-underline-offset: 4px; }

.photo-band { margin: 0; height: min(78svh, 760px); overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; }

.couple { background: var(--areia); padding-block: var(--band); }
.couple__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.couple h2 { font-size: var(--t-display); max-width: 18ch; }
.couple__statement { margin: 28px 0 24px; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 30ch; }
.couple__text > p:not(.couple__statement) { max-width: 58ch; color: var(--body); }
.couple__text > p + p { margin-top: 16px; }

@media (max-width: 1023px) {
  .pastor__grid, .couple__grid, .page-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .pastor--reverse .portrait { order: 0; }
  .portrait { width: 100%; max-width: 460px; }
}
@media (max-width: 767px) {
  .page-hero { padding-block: 64px 48px; }
  .page-hero__index { margin-top: 36px; }
  .page-hero__index a { width: 100%; }
  .couple__statement { font-size: 1.375rem; }
  .photo-band { height: 52svh; }
  .page-cta__actions .btn { width: 100%; }
}

/* =========================================================
   Ministérios
   ========================================================= */
.ministries-band { padding-block: var(--band); }
.ministries { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ministry {
  grid-column: span 5; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(420px, 44vw, 600px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--verde-raiz);
}
.ministry--tall { grid-column: span 7; }
.ministry--wide { grid-column: span 7; }
.ministry > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ministry::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(21, 43, 18, .94) 18%, rgba(21, 43, 18, .1) 70%); /* taste-skill-ignore: overlay-photo do ministry-card no DESIGN.md */
}
.ministry__body { padding: clamp(24px, 3vw, 40px); }
.ministry__picto { width: 44px; height: 44px; margin-bottom: 16px; }
.ministry h2 { font: 400 clamp(2rem, 3vw, 2.75rem)/1.05 var(--font-title); color: var(--on-dark-strong); }
.ministry p { margin-top: 10px; max-width: 40ch; color: var(--on-dark); }
@media (hover: hover) { .ministry:hover > img { transform: scale(1.04); } }
#intercessao > img { object-position: 50% 30%; }
#pastoral > img { object-position: 50% 25%; }
#presbiterio > img { object-position: 85% 50%; }

/* CEV Kids: a faixa Areia da página */
.kids { background: var(--areia); padding-block: var(--band); }
.kids__head { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.kids h2 { font-size: var(--t-display); }
.kids__subtitle { margin-top: 12px; font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }
.kids__intro { margin-top: 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.kids__lead { font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 30ch; }
.kids__text p { max-width: 58ch; color: var(--body); }
.kids__text p + p { margin-top: 16px; }
.kids__section-title { margin-top: clamp(72px, 8vw, 112px); font: 400 var(--t-heading)/1.15 var(--font-title); max-width: 26ch; }
.trails { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); }
.trail h4 { font: 600 var(--t-small)/1.4 var(--font-body); color: var(--ink); margin: 0 0 12px; }
.trail ol { margin: 0; padding-left: 2.2em; display: grid; gap: 16px; }
.trail li::marker { font: 400 1.25rem var(--font-title); color: var(--verde-esperanca); }
.trail li { color: var(--body); }
.trail li b { display: block; color: var(--ink); }
.kids__note { margin-top: 32px; font-size: var(--t-small); color: var(--mute); }
.kids__dream { margin-top: clamp(72px, 8vw, 112px); }
.kids__dream h3 { font: 400 var(--t-heading)/1.15 var(--font-title); }
.dream { list-style: none; margin: 20px 0 0; padding: 0; columns: 2; column-gap: clamp(32px, 5vw, 80px); }
.dream li { break-inside: avoid; padding-block: 6px; font: 400 clamp(1.5rem, 2.4vw, 2.25rem)/1.25 var(--font-title); color: var(--verde-raiz); }
.kids__values { margin-top: 28px; max-width: 60ch; color: var(--body); }

/* Célula de Jovens */
.youth { padding-block: var(--band); }
.youth__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.youth__photo { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.youth__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.youth__picto { width: 64px; height: auto; margin-bottom: 20px; }
.youth h2 { font-size: var(--t-display); }
.youth__statement { margin: 20px 0 24px; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 32ch; }
.youth__text > p:not(.youth__statement) { max-width: 58ch; color: var(--body); }
.youth__text > p + p { margin-top: 16px; }
.youth__cta { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface-card); display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.youth__cta p { color: var(--body); }
@media (max-width: 1023px) { .youth__grid { grid-template-columns: minmax(0, 1fr); } .youth__photo { max-width: 480px; } }
@media (max-width: 767px) { .youth__statement { font-size: 1.375rem; } .youth__cta .btn { width: 100%; } }

/* Arte do projeto CEV Kids (ilustrações aprovadas pela igreja; só dentro desta faixa) */
.kids__selo { width: clamp(120px, 13vw, 176px); height: auto; border-radius: 22px; flex: none; }
.kids__intro { align-items: center; }
.kids__cover { margin: 0; }
.kids__cover img { width: 100%; height: auto; border-radius: var(--radius); }
.kids__text .kids__lead { color: var(--ink); margin-bottom: 24px; }
.friends__lead { margin-top: 12px; font-size: var(--t-lead); color: var(--body); max-width: 48ch; }
.friends { margin-bottom: 48px; }
.friends__art { margin: 40px 0 0; }
.friends__art img { width: 100%; height: auto; border-radius: var(--radius); }
.friends__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 16px; }
.friends__list li { font-size: var(--t-small); line-height: 1.45; color: var(--body); }
.friends__list b { display: block; font: 400 var(--t-lead)/1.1 var(--font-title); color: var(--ink); }
.friends__list span { display: block; margin-bottom: 8px; color: var(--mute); }
.friends__list i { display: block; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--ink); }
.ranger { margin-top: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.ranger__art { margin: 0; justify-self: center; background: #FFFFFF; border-radius: var(--radius); padding: 24px 24px 0; overflow: hidden; }
.ranger__art img { width: 100%; max-width: 300px; height: auto; }
.ranger h3 { font: 400 var(--t-display)/1 var(--font-title); }
.ranger__tagline { margin-top: 14px; font-size: var(--t-lead); color: var(--ink); font-weight: 500; }
.ranger__text > p:not(.ranger__tagline):not(.ranger__motto) { margin-top: 16px; max-width: 56ch; color: var(--body); }
.ranger__motto { margin-top: 24px; font: 400 var(--t-statement)/1.3 var(--font-title); color: var(--verde-raiz); }

@media (max-width: 1023px) {
  .ministry, .ministry--tall, .ministry--wide { grid-column: span 6; }
  .friends__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ranger { grid-template-columns: minmax(0, 1fr); }
  .ranger__art { justify-self: start; }
  .kids__cover { max-width: 520px; }
  .kids__intro { grid-template-columns: minmax(0, 1fr); }
  .trails { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ministries { grid-template-columns: minmax(0, 1fr); }
  .ministry, .ministry--tall, .ministry--wide { grid-column: auto; min-height: 440px; }
  .kids__head { align-items: flex-start; }
  .dream { columns: 1; }
  .friends__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranger__art img { max-width: 220px; }
  .ranger__motto { font-size: 1.375rem; }
}

/* =========================================================
   Contribua
   ========================================================= */
.text-link { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--verde-esperanca); text-decoration: none; }
@media (hover: hover) { .text-link:hover { text-decoration: underline; text-underline-offset: 4px; } }

.give-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--verde-raiz); color: var(--on-dark); padding-block: var(--band); }
.give-hero::before {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -16%; width: min(700px, 70vw); aspect-ratio: 105.56 / 91.48;
  opacity: .06; pointer-events: none;
  background: url("../img/marca/cores/arvore-essencia.svg") no-repeat center / contain;
}
.give-hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(40px, 6vw, 96px); align-items: center;
  grid-template-areas: "text panel" "verse panel";
}
.give-hero__text { grid-area: text; align-self: end; }
.pix-panel { grid-area: panel; }
.give-hero__verse { grid-area: verse; align-self: start; }
.nowrap { white-space: nowrap; }
.give-hero h1 { font-size: var(--t-display); color: var(--on-dark-strong); max-width: 12ch; }
.give-hero__lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 42ch; }
.pix-panel { background: var(--surface-elevated); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); }
.pix-panel h2 { font: 400 var(--t-heading)/1.1 var(--font-title); color: var(--on-dark-strong); }
.pix-panel__label { margin-top: 20px; font-size: var(--t-small); color: var(--on-dark-mute); }
.pix-panel__key {
  margin: 8px 0 20px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--branco-essencia); color: var(--ink);
  font: 600 var(--t-body)/1.3 var(--font-body); overflow-wrap: anywhere; user-select: all;
}
.pix-panel__note { margin-top: 16px; font-size: var(--t-small); color: var(--on-dark-mute); }

.howto { padding-block: var(--band); }
.howto__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.howto h2 { font-size: var(--t-display); max-width: 11ch; }
.howto__steps { margin: 0; padding-left: 2.4em; display: grid; gap: 28px; }
.howto__steps li { font-size: var(--t-lead); line-height: 1.5; color: var(--body); padding-left: 8px; }
.howto__steps li::marker { font: 400 var(--t-heading) var(--font-title); color: var(--verde-esperanca); }
.howto__steps b { color: var(--ink); }

.why { background: var(--areia); padding-block: var(--band); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.why__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why__photos { position: relative; padding-bottom: 72px; }
.why__photo--small { position: absolute; right: -24px; bottom: 0; width: 44%; border: 6px solid var(--areia); }
.why .text-link { color: var(--ink); }
.why h2 { font-size: var(--t-display); max-width: 12ch; }
.why__statement { margin: 24px 0; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 38ch; }
.why__text > p:not(.why__statement) { max-width: 56ch; color: var(--body); }
.why__text > p + p { margin-top: 16px; }

@media (max-width: 1023px) {
  .give-hero__grid, .howto__grid, .why__grid { grid-template-columns: minmax(0, 1fr); }
  .give-hero__grid { grid-template-areas: "text" "panel" "verse"; gap: 40px; }
  .give-hero__verse { margin-top: 0; }
  .why__photos { max-width: 480px; }
  .why__photo--small { right: 0; }
}
@media (max-width: 767px) {
  .give-hero { padding-block: 64px; }
  .why__statement { font-size: 1.375rem; }
  .howto__steps li { font-size: 1.0625rem; }
}

/* Contribua (versão de 24/10/2026): convicção, passos no escuro, ISCA e Quilo do Amor */
.belief { padding-block: var(--band); }
.belief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.belief h2 { font-size: var(--t-display); max-width: 11ch; }
.belief__statement { margin-top: 24px; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 30ch; }
.belief__photo { margin: 40px 0 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; max-width: 420px; }
.belief__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.belief__points { display: grid; gap: 40px; padding-top: 8px; }
.belief__point h3 { font: 400 var(--t-heading)/1.15 var(--font-title); }
.belief__point p { margin-top: 12px; max-width: 58ch; color: var(--body); }
.belief__close { font-weight: 600; max-width: 58ch; }

.howto--dark { background: var(--verde-raiz); color: var(--on-dark); }
.howto--dark h2 { color: var(--on-dark-strong); }
.howto--dark .howto__steps li { color: var(--on-dark); }
.howto--dark .howto__steps li::marker { color: var(--oliva); }
.howto--dark .howto__steps b { color: var(--on-dark-strong); }

.isca { background: var(--areia); padding-block: var(--band); }
.isca__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.isca h2 { font-size: var(--t-display); max-width: 13ch; }
.isca__statement { margin: 24px 0; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 34ch; }
.isca__text > p:not(.isca__statement) { max-width: 58ch; color: var(--body); }
.isca__list { margin: 20px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--body); max-width: 56ch; }
.isca .text-link { color: var(--ink); }
.isca__image { margin: 0; }
.isca__image img { width: 100%; height: auto; border-radius: var(--radius); }
.isca__image figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--mute); }

.sow { padding-block: clamp(56px, 7vw, 96px) 0; }
.sow__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--surface-card); }
.sow__mark { width: clamp(72px, 9vw, 120px); height: auto; }
.sow h2 { font: 400 var(--t-heading)/1.15 var(--font-title); }
.sow p { margin-top: 10px; max-width: 64ch; color: var(--body); }
.sow .text-link { margin-top: 14px; color: var(--ink); }
.page-cta__motto { margin-top: 20px; font: 400 var(--t-statement)/1.3 var(--font-title); max-width: 26ch; color: var(--verde-esperanca); }

@media (max-width: 1023px) {
  .belief__grid, .isca__grid { grid-template-columns: minmax(0, 1fr); }
  .isca__image { max-width: 520px; }
}
@media (max-width: 767px) {
  .belief__statement, .isca__statement, .page-cta__motto { font-size: 1.375rem; }
  .sow__inner { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Contato
   ========================================================= */
.contact-hours { margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 24px 56px; }
.contact-hours div { margin: 0; }
.contact-hours dt { font: 400 var(--t-heading)/1 var(--font-title); color: var(--oliva); }
.contact-hours dd { margin: 6px 0 0; font-size: var(--t-small); color: var(--on-dark-mute); }

.channels { padding-block: var(--band); }
.channels__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.channels h2 { font-size: var(--t-display); }
.channels__list { list-style: none; margin: 40px 0 0; padding: 0; }
.channels__list a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; text-decoration: none; }
.channels__list .k { font-size: var(--t-small); color: var(--mute); }
.channels__list .n { font: 400 var(--t-heading)/1.15 var(--font-title); overflow-wrap: anywhere; }
.channels__list .v { transition: transform .2s var(--ease); }
@media (hover: hover) { .channels__list a:hover .v { transform: translateX(4px); } .channels__list a:hover .n { color: var(--verde-esperanca); } }
.channels__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.channels__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 18%; }

.write { background: var(--areia); padding-block: var(--band); }
.write__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.write h2 { font-size: var(--t-display); max-width: 10ch; }
.write__text > p { margin-top: 20px; font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.write__photo { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; }
.write__photo img { width: 100%; height: auto; }
.write__form { background: var(--surface-card); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
/* text-input do DESIGN.md: fundo branco, borda hairline (a única linha permitida), 56px de altura */
.field label { display: block; margin-bottom: 8px; font-size: var(--t-small); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--hairline-light); border-radius: var(--radius-md); /* taste-skill-ignore: inputs de formulário */
  background: var(--surface-card); color: var(--ink); font: 400 1rem/1.5 var(--font-body);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--laranja-chama); outline-offset: 2px; border-color: var(--verde-esperanca); }
.write__note { font-size: var(--t-small); color: var(--mute); }

@media (max-width: 1023px) {
  .channels__grid, .write__grid { grid-template-columns: minmax(0, 1fr); }
  .channels__photo { max-width: 520px; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .channels__list a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .channels__list .k { grid-column: 1 / -1; }
  .channels__list .n { font-size: 1.375rem; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; transition: transform .2s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.07); } }
[data-whatsapp][hidden] { display: none !important; }

.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; visibility: hidden;
  background: var(--verde-raiz); color: var(--on-dark); padding: .8em 1.4em; border-radius: 999px; font-size: 1rem;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Entradas (só com JS; sem JS tudo aparece) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__media { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.js .hero.is-visible .hero__media { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__media { opacity: 1; transform: none; transition: none; }
  .header, .drawer, .btn, .toast { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .roots__mosaic { grid-template-columns: 1fr 1fr; }
  .roots__photo { grid-column: 1 / -1; }
  .week__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .week__photo, .week__groups { grid-column: auto; }
  .give__text { grid-column: 1 / -1; padding-bottom: 32px; }
  .pix { grid-column: 1 / -1; }
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
  :root { --t-body: 1rem; }
  .hero { display: flex; flex-direction: column; }
  .hero::before { display: none; }
  .hero__media { position: relative; height: 42svh; z-index: 0; }
  .hero__inner { min-height: 0; display: block; padding-block: 28px 40px; }
  .hero h1 { line-height: .95; }
  .hero__lead { margin-top: 16px; }
  .hero__actions { margin-top: 24px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .intro__notes { flex-direction: column; align-items: flex-start; gap: 14px; }
  .intro__notes p { width: auto; font-size: 1rem; }
  .intro__panorama { aspect-ratio: 4 / 5; }
  .intro__panorama > img { object-position: 28% 50%; }
  .hero__media > img { object-position: 72% 50%; }
  .roots__mosaic { display: block; margin-top: 40px; }
  .roots__photo { aspect-ratio: 4 / 3; }
  .roots__note { position: static; width: auto; margin-top: 12px; border-radius: var(--radius); }
  .roots__aside { margin-top: 16px; }
  .roots__tile { aspect-ratio: 3 / 2; }
  .week h2 span { padding-left: 0; }
  .week__grid { display: flex; flex-direction: column-reverse; margin-top: 40px; gap: 32px; }
  .week__photo { width: 60%; align-self: flex-end; }
  .visit { min-height: 0; padding-bottom: 32px; background: var(--canvas-light); }
  .visit__map { position: relative; height: 60svh; }
  .visit__card { position: relative; top: auto; right: auto; width: auto; margin: -80px 16px 0; }
  .give__inner { display: block; min-height: 0; }
  .give__text { padding-bottom: 32px; }
  .pix { transform: translateY(16px); padding: 32px 20px 48px; }
  .pix__key { font-size: 1rem; }
  .footer { min-height: 88svh; }
  .footer__top { flex-direction: column; }
  .footer__contact { text-align: left; }
  .brand__logo { height: 34px; }
}
