/* Águas Cantantes — landing de captação
   Paleta e pesos seguem brand-profile.json. */
:root {
  --verde: #305043;
  --verde-escuro: #1D4221;
  --noite: #12291a;
  --areia: #E8D9C5;
  --papel: #F4ECE1;
  --ocre: #CD8A3A;
  --terracota: #A34719;
  --tinta: #10170f;
  --wa: #1FAF54;
  --wa-escuro: #178C43;

  --fonte: "Outfit", "Paralucent", system-ui, sans-serif;
  --raio: 22px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--papel);
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, summary, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; border-radius: 8px; }
.pular {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--areia); color: var(--noite); font-weight: 500; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s ease;
}
.pular:focus { transform: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(34px, 5.6vw, 64px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0; }

.rotulo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 14px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 500 16px/1 var(--fonte);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,175,84,.7); }
.btn--wa:hover { background: var(--wa-escuro); }
.btn--vidro { color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn--vidro:hover { background: rgba(255,255,255,.18); }
.btn--verde { background: var(--verde-escuro); color: var(--areia); }
.btn--verde:hover { background: var(--verde); }
.btn--p { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--g { min-height: 60px; padding: 0 34px; font-size: 18px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-top: max(14px, env(safe-area-inset-top));
  color: var(--areia);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.topo.solido { background: rgba(18,41,26,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(232,217,197,.12); }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 500; letter-spacing: .01em; }
.marca img { width: 22px; height: auto; }
.topo__cta {
  font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid rgba(232,217,197,.5);
}
.topo__cta:hover { background: rgba(232,217,197,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(88px + env(safe-area-inset-top));
  color: #fff;
  background: var(--noite) url("img/hero-poster.jpg") center/cover;
  overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__veu {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,41,26,.55) 0%, rgba(18,41,26,0) 22%),
    linear-gradient(0deg, rgba(18,41,26,.97) 6%, rgba(18,41,26,.72) 48%, rgba(18,41,26,.15) 80%);
}
.hero__conteudo {
  position: relative;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(84px, 12vh, 120px);
}
.selo {
  display: inline-block;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--areia);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(18,41,26,.55); border: 1px solid rgba(232,217,197,.35); backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(44px, 8.4vw, 104px); max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--ocre); }
.hero__sub { font-size: clamp(17px, 1.9vw, 21px); max-width: 40ch; margin: 22px 0 30px; color: rgba(255,255,255,.88); }
.hero__rolar {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px;
  display: none;
}
.hero__rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rolar 1.8s ease-in-out infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* entrada do hero */
.hero__conteudo > * { opacity: 0; transform: translateY(18px); animation: subir .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__conteudo > :nth-child(2) { animation-delay: .12s; }
.hero__conteudo > :nth-child(3) { animation-delay: .24s; }
.hero__conteudo > :nth-child(4) { animation-delay: .36s; }
@keyframes subir { to { opacity: 1; transform: none; } }

/* ---------- Números ---------- */
.numeros { background: var(--noite); color: var(--areia); padding: 8px var(--gutter) 56px; }
.numeros ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(232,217,197,.18);
}
.numeros li { padding: 24px 12px 20px 0; border-bottom: 1px solid rgba(232,217,197,.18); }
.numeros strong { display: block; white-space: nowrap; font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; }
.numeros span { display: block; margin-top: 8px; font-size: 14px; color: rgba(232,217,197,.75); max-width: 20ch; }

/* ---------- Cabeçalhos de seção ---------- */
.cabeca { max-width: var(--max); margin: 0 auto 40px; }
.cabeca h2 { max-width: 16ch; }
.cabeca > p:last-child:not(.rotulo) { margin-top: 16px; font-size: 19px; max-width: 46ch; color: #3b463d; }
.cabeca--claro { color: var(--areia); }
.cabeca--claro .rotulo { color: var(--ocre); }

/* ---------- Eventos ---------- */
.eventos { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.cards { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
.card {
  position: relative; overflow: hidden;
  border-radius: var(--raio);
  min-height: clamp(380px, 108vw, 460px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--verde);
  isolation: isolate;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,41,26,.95) 8%, rgba(18,41,26,.45) 52%, rgba(18,41,26,0) 78%); }
.card:hover img { transform: scale(1.05); }
.card__texto { padding: 26px; }
.card h3 { font-size: 30px; margin-bottom: 10px; }
.card p { color: rgba(255,255,255,.86); margin-bottom: 20px; max-width: 34ch; }

/* ---------- Módulos ---------- */
.modulo {
  display: grid; gap: 36px;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  align-items: center;
}
.modulo--escuro { background: var(--verde-escuro); color: var(--areia); }
.modulo--escuro .rotulo { color: var(--ocre); }
.modulo--escuro p { color: rgba(232,217,197,.82); }
.modulo--claro { background: var(--areia); }
.modulo__texto { max-width: 520px; }
.modulo__texto p:not(.rotulo) { font-size: 19px; margin: 18px 0 28px; }
.modulo__imagem { margin: 0 calc(var(--gutter) * -1); }
.modulo__imagem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Vídeo ---------- */
.filme { background: var(--noite); padding: clamp(72px, 10vw, 128px) var(--gutter); }
.filme__moldura { max-width: var(--max); margin: 0 auto; border-radius: var(--raio); overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.filme video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Estrutura ---------- */
.estrutura { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.colunas { max-width: var(--max); margin: 0 auto; display: grid; gap: 14px; }
.coluna { background: #fff; border-radius: var(--raio); padding: 28px; }
.coluna h3 { color: var(--verde); margin-bottom: 16px; }
.coluna ul { list-style: none; margin: 0; padding: 0; }
.coluna li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid #ece3d6; }
.coluna li:first-child { border-top: 0; }
.coluna li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 12px; height: 15px;
  background: var(--ocre);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; /* gota */
  transform: rotate(180deg);
}

/* ---------- Galeria ---------- */
.galeria { padding: 0 0 clamp(72px, 10vw, 128px); }
.galeria__trilho {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  scrollbar-width: none;
}
.galeria__trilho::-webkit-scrollbar { display: none; }
.galeria__trilho img {
  flex: none; height: clamp(260px, 42vw, 440px); width: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--raio);
  scroll-snap-align: center;
}
.galeria__trilho img:nth-child(odd) { aspect-ratio: 4 / 3; }

/* ---------- Local ---------- */
.local {
  display: grid; gap: 32px;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  background: var(--areia);
}
.local__texto { max-width: 520px; }
.local .endereco { display: flex; gap: 10px; align-items: flex-start; font-size: 20px; font-weight: 500; line-height: 1.35; margin: 20px 0 8px; }
.ico--pin { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--terracota); }
.local__texto > p:not(.rotulo):not(.endereco) { color: #3b463d; margin-bottom: 28px; }
.local__mapa { border-radius: var(--raio); overflow: hidden; min-height: 320px; background: #d9ccb8; }
.local__mapa iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- CTA final ---------- */
.final {
  position: relative; overflow: hidden;
  min-height: 86svh;
  display: grid; place-items: center;
  text-align: center; color: #fff;
  padding: 96px var(--gutter);
  background: var(--noite);
  isolation: isolate;
}
.final__fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(18,41,26,.55), rgba(18,41,26,.9)); }
.final__conteudo { max-width: 640px; display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: clamp(40px, 7vw, 80px); }
.final p { font-size: 19px; color: rgba(255,255,255,.86); max-width: 42ch; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--noite); color: rgba(232,217,197,.75);
  padding: 44px var(--gutter) 120px;
  font-size: 15px; display: grid; gap: 8px;
}
.marca--rodape { color: var(--areia); margin-bottom: 8px; }
.rodape a { color: var(--areia); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Barra fixa (celular) e botão flutuante (desktop) ---------- */
.barra {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  width: min(calc(100% - 24px), 440px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(232,217,197,.18);
  background: rgba(18,41,26,.94); backdrop-filter: blur(10px);
  color: var(--areia); line-height: 1.2;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.55);
  transform: translate(-50%, 160%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.barra.visivel { transform: translate(-50%, 0); }
.barra strong { display: block; font-size: 15px; font-weight: 500; }
.barra small { display: block; font-size: 13px; color: rgba(232,217,197,.7); margin-top: 2px; }
.barra .btn { min-height: 48px; }
.flutuante {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(31,175,84,.8);
  transition: transform .2s ease;
}
.flutuante:hover { transform: scale(1.07); }
.flutuante svg { width: 30px; height: 30px; }

/* ---------- Faixa rolante (brands-scrolling-banner) ---------- */
.faixa {
  background: var(--noite); color: var(--areia);
  padding: 0 0 36px; overflow: hidden; position: relative;
}
.faixa::before, .faixa::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 1; pointer-events: none;
}
.faixa::before { left: 0; background: linear-gradient(90deg, var(--noite), transparent); }
.faixa::after { right: 0; background: linear-gradient(-90deg, var(--noite), transparent); }
.faixa__trilho { display: flex; width: max-content; animation: faixa 32s linear infinite; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa ul { display: flex; list-style: none; margin: 0; padding: 0; }
.faixa li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(22px, 3.4vw, 34px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
}
.faixa li::after {
  content: ""; width: 10px; height: 13px; background: var(--ocre);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: rotate(180deg);
}
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- Perguntas (faqs-with-divider) ---------- */
.faq { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.cabeca--centro { text-align: center; }
.cabeca--centro h2 { margin: 0 auto; }
.faq__lista { max-width: 820px; margin: 0 auto; border-top: 1px solid #ddd0bd; }
.faq details { border-bottom: 1px solid #ddd0bd; }
.faq summary {
  list-style: none;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 0;
  font-size: 19px; font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; flex: none; width: 24px; height: 24px;
  background: var(--terracota);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::before { transform: rotate(-45deg); }
.faq details p { padding: 0 0 22px 40px; color: #3b463d; max-width: 60ch; }
.faq__acao { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Revelar ao rolar ---------- */
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .revelar.visto { opacity: 1; transform: none; }

/* ---------- Tablet / desktop ---------- */
@media (max-width: 380px) {
  .hero h1 { font-size: 40px; }
  .btn { padding: 0 20px; }
  .barra small { display: none; }
}

@media (max-width: 699px) {
  .selo { font-size: 11px; letter-spacing: .1em; white-space: nowrap; margin-bottom: 18px; }
  .hero__sub { margin: 18px 0 24px; }
  .hero .acoes .btn, .local .acoes .btn { width: 100%; }
  .faq summary { font-size: 17px; }
}

@media (min-width: 700px) {
  .numeros ul { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--alto { grid-column: span 2; }
  .colunas { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .hero__rolar { display: block; }
  .numeros ul { grid-template-columns: repeat(6, 1fr); }
  .numeros li { padding-right: 20px; }

  .cards { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 380px; }
  .card:not(.card--alto) h3 { font-size: 26px; }
  .card:not(.card--alto) .card__texto { padding: 22px; }
  .card { min-height: 0; }
  .card--alto { grid-column: span 2; grid-row: span 2; }
  .card--alto h3 { font-size: 44px; }
  .card--alto .card__texto { padding: 36px; }

  .modulo { grid-template-columns: 5fr 7fr; gap: 64px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
  .modulo--escuro, .modulo--claro { max-width: none; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: 0; }
  .modulo--claro { grid-template-columns: 7fr 5fr; padding-left: 0; padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .modulo--claro .modulo__imagem { order: -1; }
  .modulo__imagem { margin: 0; }
  .modulo--escuro .modulo__imagem img { border-radius: var(--raio) 0 0 var(--raio); }
  .modulo--claro .modulo__imagem img { border-radius: 0 var(--raio) var(--raio) 0; }
  .modulo__imagem img { aspect-ratio: 16 / 11; }

  .local { grid-template-columns: 5fr 7fr; align-items: center; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .local__mapa, .local__mapa iframe { min-height: 440px; }

  .rodape { padding-bottom: 44px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .barra { display: none; }
  .flutuante { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__conteudo > * { opacity: 1; transform: none; }
  .js .revelar { opacity: 1; transform: none; }
}
