/* =========================================================
   Igreja Ame · Landing Page
   ========================================================= */

/* Fontes hospedadas localmente (sem requisições ao Google Fonts) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin.woff2") format("woff2");
}

:root {
  --ink: #14110F;
  --ink-2: #2A2521;
  --cream: #FBF6EF;
  --sand: #F2E9DD;
  --sand-2: #E8DCCB;
  --muted: #6E645B;
  --accent: #E4572E;
  --accent-deep: #C2401B;
  --gold: #F2A541;
  --line: rgba(20, 17, 15, .12);
  --line-light: rgba(255, 248, 240, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth; scroll-padding-top: 84px;
  /* impede o iOS de aumentar o texto sozinho ao girar o celular */
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 10px; z-index: 200;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transform-origin: left; }
.eyebrow--light { color: var(--gold); }

/* overflow-x: clip corta o deslize lateral das animações sem criar rolagem (e sem quebrar o sticky) */
.section { padding: clamp(80px, 11vw, 140px) 0; overflow-x: clip; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.section__title em { font-weight: 400; letter-spacing: -.02em; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
/* Efeitos de "levantar" só onde há mouse: no toque eles grudam depois do toque */
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--accent {
  --bg: var(--accent); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(228, 87, 46, .7);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn--accent:hover { --bg: var(--accent-deep); }
/* Reflexo de luz que atravessa o botão principal ao passar o mouse */
.btn--accent::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(0) skewX(-20deg); pointer-events: none;
}
@media (hover: hover) { .btn--accent:hover::after { animation: shine .8s ease-in-out; } }
@keyframes shine { to { transform: translateX(420%) skewX(-20deg); } }
.btn--dark { --bg: var(--ink); --fg: var(--cream); }
.btn--dark:hover { --bg: var(--ink-2); }
.btn--ghost { --bg: rgba(255, 248, 240, .08); --fg: var(--cream); border-color: var(--line-light); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgba(255, 248, 240, .16); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: rgba(255, 248, 240, .4); }
.btn--outline-light:hover { border-color: var(--cream); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 28px; width: auto; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 18px 0;
  transition: padding .35s;
}
/* Fundo de vidro fosco, sempre presente para a barra não se misturar com a página.
   Fica num pseudo-elemento: um backdrop-filter no próprio .nav o tornaria o bloco de
   contenção do menu mobile (position: fixed), que ficaria espremido dentro da barra. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(20, 17, 15, .42);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-light);
  transition: background .35s, box-shadow .35s;
}
/* Linha de progresso da leitura na base da barra (onde o navegador suporta animação por scroll) */
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: -1;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0); transform-origin: left;
}
@supports (animation-timeline: scroll()) {
  .nav::after { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  color: rgba(255, 248, 240, .82); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav.is-scrolled { padding: 12px 0; }
/* Sobre as seções claras o vidro fica mais escuro, para o texto claro continuar legível */
.nav.is-scrolled::before {
  background: rgba(20, 17, 15, .7);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .6);
}

.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); background: rgba(255, 248, 240, .06);
  cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding-top: 110px;
}
.hero--photo {
  background:
    linear-gradient(180deg, rgba(20, 17, 15, .55), rgba(20, 17, 15, .92)),
    url("assets/hero.jpg") center / cover no-repeat,
    var(--ink);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 85% 10%, rgba(228, 87, 46, .45), transparent 60%),
    radial-gradient(50vw 50vw at 0% 100%, rgba(242, 165, 65, .22), transparent 60%),
    radial-gradient(40vw 40vw at 50% 60%, rgba(228, 87, 46, .12), transparent 70%);
  animation: glow 14s ease-in-out infinite alternate;
}
.hero::after {
  /* grão sutil */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes glow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 3%, 0) scale(1.08); }
}

.hero__inner { padding-bottom: 120px; }
.hero .eyebrow { color: var(--gold); }
.hero__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 150px);
  letter-spacing: -.045em;
  line-height: .95;
  margin-bottom: 30px;
  max-width: 12ch;
}
.hero__title em { color: var(--accent); letter-spacing: -.03em; }

/* Entrada do hero ao carregar: o título surge palavra por palavra, o sublinhado de
   "família." se desenha e o resto aparece em sequência */
.hero__inner > * { animation: rise .9s var(--ease) backwards; }
.hero__inner > .eyebrow { animation-delay: .05s; }
.hero__inner > .hero__title { animation: none; }
.hero__inner > .hero__lead { animation-delay: .6s; }
.hero__inner > .hero__actions { animation-delay: .75s; }
.hero__inner > .next { animation-delay: .9s; }
.hero .eyebrow::before { animation: grow-x .8s var(--ease) .3s backwards; }
.hero__word { display: inline-block; animation: word-in .9s var(--ease) backwards; }
.hero__word:nth-child(1) { animation-delay: .15s; }
.hero__word:nth-child(2) { animation-delay: .27s; }
.hero__word:nth-child(3) { animation-delay: .39s; }
.hero__fam { position: relative; }
.hero__swash {
  position: absolute; left: 3%; bottom: -.2em; width: 96%; height: auto;
  overflow: visible; pointer-events: none;
  fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round;
}
.hero__swash path { stroke-dasharray: 1; animation: draw 1s var(--ease) 1s backwards; }
@keyframes word-in { from { opacity: 0; transform: translateY(.35em); filter: blur(14px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }

/* No desktop o conteúdo do hero sobe e esmaece ao rolar (onde há animação por scroll) */
@supports (animation-timeline: scroll()) {
  @media (min-width: 901px) and (min-height: 700px) {
    .hero__inner { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  }
}
@keyframes hero-out { to { opacity: 0; transform: translateY(-70px); } }
.hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  max-width: 560px;
  color: rgba(255, 248, 240, .78);
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.next {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 240, .06);
  border: 1px solid var(--line-light);
  font-size: 15px;
}
.next__dot {
  position: relative; flex: none;
  width: 10px; height: 10px; border-radius: 50%; background: #3DDC84;
}
/* O pulso anima transform/opacity (roda na GPU), não box-shadow (que repinta a cada quadro) */
.next__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 2s var(--ease) infinite;
}
.next__label { color: rgba(255, 248, 240, .6); }
.next__when { font-weight: 700; }
.next__count { color: var(--gold); font-weight: 600; }
.next__count:empty { display: none; }
@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-light);
  padding: 18px 0;
  overflow: hidden;
}
.marquee {
  display: flex; gap: 36px; width: max-content;
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: rgba(255, 248, 240, .55);
  animation: marquee 32s linear infinite;
}
.marquee i { font-style: normal; color: var(--accent); font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SOBRE ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start;
}
.about__text p { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat:first-child { grid-column: span 2; background: var(--sand); border-color: transparent; }
.stat__num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; /* a contagem não faz o número "tremer" */
}
.stat__num > [data-count] { display: inline-block; }
.stat__num small { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-left: 4px; color: var(--accent); letter-spacing: 0; }
.stat__label { font-size: 14px; color: var(--muted); }
.about__quote {
  grid-column: span 2;
  margin: 8px 0 0;
  padding: 28px 30px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(228, 87, 46, .07), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5;
}
.about__quote cite, .give__verse cite {
  display: block; margin-top: 12px;
  font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* ---------- CULTOS ---------- */
.services { background: var(--sand); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
@media (hover: hover) { .service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(20, 17, 15, .35); } }
.service__day {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.service__time {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(80px, 9vw, 112px); line-height: 1; letter-spacing: -.05em;
  margin: 10px 0 22px;
}
.service__time span { font-size: .42em; font-style: italic; font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.service h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -.01em; }
.service p { color: var(--muted); margin: 0; font-size: 16px; }
.service--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.service--featured p { color: rgba(255, 248, 240, .7); }
.service--featured .service__day { color: var(--gold); }
.service.is-next::before {
  content: "Próximo";
  position: absolute; top: 26px; right: 24px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: #fff;
}
.services__note { margin: 36px 0 0; text-align: center; color: var(--muted); font-size: 16px; }
.services__note a { color: var(--accent); font-weight: 600; }

/* ---------- PRIMEIRA VEZ ---------- */
.first__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.first__grid > div:first-child { position: sticky; top: 120px; }
.first__intro { font-size: 18px; color: var(--ink-2); max-width: 460px; margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start;
  padding: 28px 0;
}
/* Linha divisória como pseudo-elemento, para poder "se desenhar" quando o passo aparece */
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line); transform-origin: left;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent);
}
.step h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- COMUNIDADE ---------- */
.community { background: var(--ink); color: var(--cream); }
.community .section__title em { color: var(--gold); }
.community .eyebrow { color: var(--gold); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
}
.card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  width: 380px; height: 380px; right: -120px; top: -140px;
  filter: blur(10px); opacity: .9;
  transition: transform .6s var(--ease);
  animation: drift 14s ease-in-out infinite alternate; /* a mancha de luz flutua devagar */
}
/* Brilho que segue o mouse (posição vem do script.js) */
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 248, 240, .13), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); }
  .card:hover::before { transform: scale(1.12); }
  .card:hover::after { opacity: 1; }
}
@keyframes drift { to { translate: -40px 30px; } }
.card--gp  { grid-column: span 4; grid-row: span 2; min-height: 460px; }
.card--gp::before  { background: radial-gradient(circle, rgba(228, 87, 46, .75), transparent 65%); width: 620px; height: 620px; right: -160px; top: -200px; }
.card--city { grid-column: span 2; grid-row: span 2; background: var(--accent); border-color: transparent; }
.card--city::before { background: radial-gradient(circle, rgba(242, 165, 65, .9), transparent 65%); animation-duration: 17s; animation-direction: alternate-reverse; }
.card--vol { grid-column: span 3; }
.card--vol::before { background: radial-gradient(circle, rgba(242, 165, 65, .45), transparent 65%); animation-duration: 11s; }
.card--cel { grid-column: span 3; background: var(--cream); color: var(--ink); border-color: transparent; }
.card--cel::before { background: radial-gradient(circle, rgba(228, 87, 46, .28), transparent 65%); animation-duration: 19s; animation-direction: alternate-reverse; }
.card--cel::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(228, 87, 46, .1), transparent 60%); }

/* A etiqueta faz parte do fluxo: fica no topo e, quando o texto é longo (celular),
   empurra o conteúdo para baixo em vez de ficar por cima do título. */
.card__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 248, 240, .1); border: 1px solid var(--line-light);
}
.card--gp .card__tag { text-transform: none; letter-spacing: .04em; }
.card--cel .card__tag { background: rgba(20, 17, 15, .06); border-color: var(--line); }
.card h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; margin-bottom: 12px; }
.card__tag + h3 { margin-top: 28px; }
.card--gp h3 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; }
.card p { opacity: .78; max-width: 520px; font-size: 16px; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; font-size: 15px;
}
.card__link span { transition: transform .25s var(--ease); }
@media (hover: hover) { .card__link:hover span, .watch:hover .card__link span { transform: translateX(5px); } }

/* ---------- GENEROSIDADE ---------- */
.give {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(242, 165, 65, .35), transparent 60%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--cream);
}
.give__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.give .section__title em { color: var(--ink); }
.give .eyebrow--light { color: var(--cream); opacity: .85; }
.give__text p { font-size: 18px; color: rgba(255, 248, 240, .88); max-width: 560px; }
.give__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.give__verse {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45;
  padding-left: 26px; border-left: 2px solid rgba(255, 248, 240, .5);
  margin: 0;
}
.give__verse cite { color: rgba(255, 248, 240, .75); }

/* ---------- ONLINE + APP ---------- */
.online__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.watch {
  display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) {
  .watch:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20, 17, 15, .4); }
  .watch:hover .watch__play { transform: scale(1.08); }
}
.watch__screen {
  position: relative; aspect-ratio: 16 / 9;
  background:
    radial-gradient(60% 80% at 20% 20%, rgba(228, 87, 46, .8), transparent 60%),
    radial-gradient(60% 80% at 90% 90%, rgba(242, 165, 65, .6), transparent 60%),
    var(--ink);
  display: grid; place-items: center;
}
.watch__screen::after {
  content: "ame."; position: absolute; left: 28px; bottom: 18px;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 44px; color: rgba(255, 248, 240, .9);
}
.watch__play {
  position: relative;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream);
  box-shadow: 0 0 0 12px rgba(255, 248, 240, .15);
  transition: transform .35s var(--ease);
}
/* Onda que se espalha do botão de play, como um convite para assistir */
.watch__play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 248, 240, .6); opacity: 0;
  animation: ripple 2.8s var(--ease) infinite;
}
.watch__play svg { width: 30px; height: 30px; fill: var(--accent); margin-left: 4px; }
.watch__badge {
  position: absolute; top: 18px; right: 18px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #FF0033; color: #fff;
}
.watch__body { padding: 28px 30px 30px; }
.watch__body h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -.01em; }
.watch__body p { color: var(--muted); }
.watch .card__link { color: var(--accent); }

.app p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 440px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--ink); color: var(--cream);
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s;
}
@media (hover: hover) { .store:hover { transform: translateY(-2px); background: var(--ink-2); } }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.15; }
.store small { font-weight: 500; font-size: 11px; opacity: .7; }

/* ---------- VISITE ---------- */
.visit { background: var(--sand); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.info { margin: 8px 0 36px; }
.info__row {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.info__row:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info dd { margin: 0; font-size: 18px; font-weight: 500; }
.info dd a { color: var(--accent); font-weight: 700; text-decoration: none; }
.info dd a:hover { text-decoration: underline; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* O pino no fundo aparece enquanto o mapa carrega (ou se algo bloquear o Google Maps) */
.visit__map {
  border-radius: var(--radius); overflow: hidden; min-height: 440px;
  border: 1px solid var(--line);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E4572E' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / 44px no-repeat,
    radial-gradient(60% 60% at 50% 50%, rgba(228, 87, 46, .12), transparent 70%),
    var(--sand-2);
}
.visit__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 80px 0 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.logo--footer img { height: 44px; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 22px; color: rgba(255, 248, 240, .6); margin: 14px 0 0; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__cols a, .footer__cols span { color: rgba(255, 248, 240, .75); text-decoration: none; font-size: 15px; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 14px; color: rgba(255, 248, 240, .5); }
.footer__bottom a { text-decoration: none; padding: 4px 0; }
.footer__bottom a:hover { color: var(--cream); }
/* Enquanto o rodapé ocupa a largura toda, reserva o canto do botão flutuante do WhatsApp */
@media (max-width: 1340px) { .footer__bottom { padding-right: 72px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  /* entra "saltando" (curva com leve exagero no fim) */
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s, visibility .3s;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.6);
}
.wa.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .wa:hover { transform: scale(1.07); } }
.wa svg { width: 30px; height: 30px; fill: currentColor; }
/* Onda discreta de tempos em tempos, para lembrar que dá pra chamar no WhatsApp */
.wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0; pointer-events: none;
}
.wa.is-visible::before { animation: ripple 4.5s var(--ease) 1.2s infinite; }
@keyframes ripple {
  0% { transform: scale(1); opacity: .8; }
  35%, 100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Animações de entrada (ao rolar) ----------
   O script.js adiciona .is-in quando o elemento aparece na tela, com um pequeno atraso
   em cascata. São animações (e não transições) para não atrasar os efeitos de hover. */
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: rise .9s var(--ease) backwards; }
/* títulos entram em foco */
.js .section__title.reveal.is-in { animation-name: focus-in; animation-duration: 1s; }
/* cartões sobem crescendo */
.js :is(.stat, .service, .card, .watch).reveal.is-in { animation-name: pop-in; animation-duration: 1s; }
/* a linha antes do sobretítulo e as divisórias dos passos se desenham */
.js .is-in.eyebrow::before, .js .is-in .eyebrow::before { animation: grow-x .8s var(--ease) .25s backwards; }
.js .step.is-in::before { animation: grow-x 1.1s var(--ease) backwards; animation-delay: inherit; }
/* no desktop, a coluna da direita desliza de lado */
@media (min-width: 901px) {
  .js :is(.step, .give__verse, .app, .visit__map).reveal.is-in { animation-name: from-right; animation-duration: 1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes focus-in { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes from-right { from { opacity: 0; transform: translateX(56px); } }
@keyframes grow-x { from { transform: scaleX(0); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--gp { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .card--city, .card--vol, .card--cel { grid-column: span 1; grid-row: auto; }
  .card--city { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; gap: 26px;
    padding: 88px 24px;
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(20, 17, 15, .97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  /* Margens automáticas centralizam a lista sem cortar o topo quando ela não cabe (celular deitado) */
  .nav__links > :first-child { margin-top: auto; }
  .nav__links > :last-child { margin-bottom: auto; }
  .nav__links a:not(.btn) { font-size: 26px; font-weight: 600; color: var(--cream); }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__cta { margin-top: 12px; }

  .about__grid, .first__grid, .give__inner, .online__grid, .visit__grid { grid-template-columns: 1fr; }
  .first__grid > div:first-child { position: static; }
  .services__grid { grid-template-columns: 1fr; }
  .service__time { font-size: 88px; }
  .visit__map, .visit__map iframe { min-height: 340px; }
}

/* Celular deitado: menu mais compacto para caber na altura da tela */
@media (max-width: 900px) and (max-height: 540px) {
  .nav__links { gap: 12px; padding: 72px 24px 20px; }
  .nav__links a:not(.btn) { font-size: 20px; }
  .nav__cta { margin-top: 6px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__inner { padding-bottom: 100px; }
  .hero__actions .btn { width: 100%; }
  .next { border-radius: 18px; }
  .marquee { font-size: 18px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .about__quote { font-size: 18px; padding: 22px; }
  .bento { grid-template-columns: 1fr; }
  .card--gp, .card--city, .card--vol, .card--cel { grid-column: auto; min-height: 320px; }
  .card { padding: 26px; }
  .card__tag + h3 { margin-top: 22px; }
  .watch__screen::after { left: 20px; bottom: 12px; font-size: 32px; }
  .watch__play { width: 64px; height: 64px; box-shadow: 0 0 0 9px rgba(255, 248, 240, .15); }
  .watch__play svg { width: 24px; height: 24px; }
  .watch__badge { top: 14px; right: 14px; }
  .step { grid-template-columns: 52px 1fr; gap: 14px; }
  .step__n { font-size: 32px; }
  .info__row { grid-template-columns: 1fr; gap: 4px; }
  .give__actions .btn, .visit__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 0; }
  .wa { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

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