/* =========================================================
   NOAH ROSA CHALÉS — visual "roots surf"
   Areia, mar, sol de fim de tarde e madeira.
   ========================================================= */

/* ---------- FONTES (servidas pelo próprio site; o css/fonts.css fica só para a página 404) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts/archivo-var.woff2) format('woff2');
}
/* Fraunces: serifa "macia" dos anos 70, cara de prancha antiga e placa de praia */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../assets/fonts/fraunces-var.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic-var.woff2) format('woff2');
}
/* "Noah Script": a Fraunces itálica usada nos detalhes (no lugar da letra de mão) */
@font-face {
  font-family: 'Noah Script';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic-var.woff2) format('woff2');
}

/* ---------- TOKENS (mude aqui e o site inteiro acompanha) ---------- */
:root {
  /* Paleta: creme, rosa e marrom da logo + azul de mar e amarelo (vibe de praia) */
  --areia: #fdf5e7;     /* creme da logo (fundo das seções claras) */
  --areia-2: #f1dfc8;
  --creme-amarelo: #f9e8c4; /* creme amarelado da logo (fundo dos chalés) */
  --papel: #fffaf2;
  --tinta: #3b1a0c;     /* texto escuro (marrom da logo) */
  --mar: #0e5470;       /* azul de mar (seções escuras) */
  --mar-fundo: #0a3d52; /* azul profundo (menu e rodapé) */
  --agua: #1f8fae;      /* azul água (ícones, detalhes) */
  --espuma: #fef8ec;    /* creme claro */
  --sol: #f4b942;       /* amarelo (destaques em fundo azul, faixa) */
  --coral: #df0d54;     /* rosa da flor da logo (botões, rótulos) */
  --madeira: #632510;   /* marrom das letras da logo */
  --pendente: #ffe9b3;

  --f-titulo: 'Fraunces', 'Georgia', serif;
  --f-texto: 'Archivo', system-ui, sans-serif;
  --f-mao: 'Noah Script', Georgia, serif;

  --raio: 18px;
  --wrap: min(1240px, 100% - 2 * var(--margem));
  --margem: clamp(22px, 5vw, 64px);
  --nav-h: 72px;
  --sombra: 0 18px 40px -18px rgb(10 61 82 / .45);
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--areia);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-titulo); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: 'SOFT' 30, 'WONK' 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--sol); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
/* nada passa da largura da tela (as figurinhas caindo podem sair um pouco para os lados) */
main, .rodape { overflow-x: clip; }

/* Conteúdo provisório: fica bem visível até o dono confirmar */
.pendente { background: var(--pendente); color: #6b4300; outline: 1.5px dashed #c98a00; outline-offset: 1px; border-radius: 4px; padding: 0 .25em; font-style: normal; }

/* ---------- TIPOGRAFIA ---------- */
.h-gigante { font-size: clamp(3rem, 2rem + 6vw, 7.5rem); }
.h-grande { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem); margin-bottom: .35em; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.script { font-family: var(--f-mao); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.6rem); color: var(--sol); line-height: 1; margin-bottom: .2em; }
.rotulo {
  display: inline-flex; align-items: center; gap: .8em;
  font: 700 .78rem/1 var(--f-texto); letter-spacing: .22em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.1em;
}
.rotulo::before { content: ''; width: 32px; height: 1.5px; background: currentColor; }
.rotulo--claro, .secao--mar .rotulo { color: var(--sol); }

/* ---------- BOTÕES ---------- */
.btn {
  --cor: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .85em 1.7em;
  border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--f-texto); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  background: var(--cor); color: #fff;
  box-shadow: 0 12px 26px -14px rgb(0 0 0 / .55);
  transition: transform .25s, box-shadow .25s, background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgb(0 0 0 / .6); background: #c20b49; }
.btn:active { transform: translateY(0); }
.btn--vidro { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .8); backdrop-filter: blur(8px); }
.btn--vidro:hover { background: rgb(255 255 255 / .24); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--grande { min-height: 58px; font-size: 1.1rem; padding-inline: 1.9em; }

/* ---------- SEÇÕES ---------- */
.secao { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.secao--areia { background: var(--areia); }
.secao--papel { background: var(--papel); }
.secao--mar { background: var(--mar); color: var(--espuma); }
.secao--creme { background: var(--creme-amarelo); color: var(--tinta); }
.secao--praia { color: var(--tinta); background: #f6e7c8; isolation: isolate; overflow: clip; }
.secao--praia .secao__topo { position: relative; color: var(--espuma); max-width: none; }
.secao--praia .secao__topo > * { max-width: 780px; }
/* o mar atrás do título (de ponta a ponta da tela) */
.secao--praia .secao__topo::after {
  content: ''; position: absolute; z-index: -2; left: 50%; width: 100vw; translate: -50% 0;
  top: calc(-1 * clamp(80px, 11vw, 150px)); bottom: -120px;
  background: linear-gradient(to bottom, var(--mar-fundo), var(--mar) 45%, var(--agua) 85%, #79cbd8);
}
/* a espuma da beira da praia, indo e voltando */
.secao--praia .secao__topo::before {
  content: ''; position: absolute; z-index: -1; left: 50%; width: 100vw; translate: -50% 0; bottom: -150px; height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 56' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v24c-20-6-40 6-70 4s-50-16-110-2-70-10-110-2-70 14-110 0z' fill='%2379cbd8'/%3E%3Cpath d='M0 24c40-14 70 10 110 0s70-18 110-4 80 14 110 2 50-10 70-4v8c-20-6-40 6-70 4s-50-16-110-2-70-10-110-2-70 14-110 0z' fill='%23fff' opacity='.75'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 56px;
}
@media (prefers-reduced-motion: no-preference) { .secao--praia .secao__topo::before { animation: beira 6s ease-in-out infinite alternate; } }
@keyframes beira { from { background-position: 0 0; } to { background-position: 80px 0; } }
/* grão de papel/areia por cima das seções claras */
.secao--areia::before, .secao--papel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.secao > .wrap { position: relative; }
.secao__topo { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.secao__topo--lado { max-width: none; display: grid; gap: 1rem 4rem; align-items: end; }
@media (min-width: 900px) { .secao__topo--lado { grid-template-columns: 1.3fr 1fr; } }

/* Ondas que separam uma seção da outra (balançam devagar) */
.onda-divisor { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); z-index: 3; pointer-events: none; }
.onda-divisor path { fill: var(--areia); }
.onda-divisor__tras { opacity: .5; }
.onda-divisor--topo { top: -1px; bottom: auto; transform: scaleY(-1); }
.onda-divisor--topo path { fill: var(--areia); }
.reserva .onda-divisor--topo path { fill: var(--areia); }
.onda-divisor--escuro path { fill: var(--papel); }
.onda-divisor--mar path { fill: var(--mar); }
.onda-divisor--creme path { fill: var(--creme-amarelo); }
@media (prefers-reduced-motion: no-preference) {
  .onda-divisor__tras { animation: balanca 7s ease-in-out infinite alternate; }
  .onda-divisor__frente { animation: balanca 9s ease-in-out infinite alternate-reverse; }
}
@keyframes balanca { to { transform: translateX(-3%); } }
.onda-divisor path { transform-box: fill-box; }

/* =========================================================
   MENU COM ONDAS
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--espuma);
  transition: transform .6s cubic-bezier(.25, 1, .5, 1), opacity .4s;
}
/* Durante a abertura da logo o menu fica escondido */
.js.is-fechado .nav { transform: translateY(-120%); opacity: 0; }
.nav__bar {
  position: relative; z-index: 2;
  height: var(--nav-h); padding-inline: var(--margem);
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--mar-fundo);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.nav__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.nav__nome { font-family: var(--f-titulo); font-weight: 800; font-size: 1.25rem; line-height: 1; font-variation-settings: 'SOFT' 30, 'WONK' 0; }
.nav__nome em { display: block; font: 400 1.05rem/1 var(--f-mao); color: var(--sol); font-style: normal; margin-top: 2px; }
.nav__links ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; text-decoration: none; font-weight: 600; font-size: .97rem; padding-block: .4em; }
/* sublinhado em forma de ondinha */
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3c2.5-3 5-3 7.5 0s5 3 7.5 0 3.5-2 5-1.5' fill='none' stroke='%23f4b942' stroke-width='1.8'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px;
  clip-path: inset(0 100% 0 0); transition: clip-path .35s;
}
.nav__links a:hover::after, .nav__links a.is-ativo::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .nav__links a:hover::after { animation: ondinha .8s linear infinite; }
}
@keyframes ondinha { to { background-position: 20px 0; } }
.nav__cta { min-height: 42px; padding: .6em 1.3em; }

.nav__ondas { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) - 1px); height: 26px; overflow: hidden; pointer-events: none; }
.nav__onda { position: absolute; top: 0; left: 0; width: 200%; height: 100%; }
.nav__onda path { fill: var(--mar-fundo); }
.nav__onda--tras path { fill: var(--agua); opacity: .55; }
.nav__onda--tras { height: 100%; }
.nav__onda--frente { height: 72%; }
@media (prefers-reduced-motion: no-preference) {
  .nav__onda--tras { animation: mar-corre 14s linear infinite; }
  .nav__onda--frente { animation: mar-corre 9s linear infinite reverse; }
}
@keyframes mar-corre { to { transform: translateX(-50%); } }

.nav__toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--espuma); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.nav__toggle-linhas { display: grid; gap: 5px; justify-items: center; }
.nav__toggle-linhas span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] .nav__toggle-linhas span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-linhas span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-linhas span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 1; padding: calc(var(--nav-h) + 50px) var(--margem) 40px;
  background: var(--mar-fundo); display: flex; flex-direction: column; justify-content: space-between;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.menu-mobile a { display: block; font: 800 clamp(2rem, 9vw, 3rem)/1.15 var(--f-titulo); text-decoration: none; padding-block: .1em; font-variation-settings: 'SOFT' 30, 'WONK' 0; }
.menu-mobile__cta { color: var(--sol); }
.menu-mobile__script { font-family: var(--f-mao); font-size: 2rem; color: var(--agua); margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .menu-mobile:not([hidden]) { animation: mar-sobe .6s cubic-bezier(.25, 1, .5, 1); }
}
@keyframes mar-sobe { from { clip-path: circle(0 at calc(100% - 46px) 36px); } to { clip-path: circle(150% at calc(100% - 46px) 36px); } }

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__logo { width: 44px; height: 44px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}

/* =========================================================
   PRANCHA QUE DESCE + RASTRO DE MAR
   Desce pela direita e, no "Bora pro Rosa", atravessa para a esquerda.
   A posição, o giro e a espuma vêm do js/modules/surf.js
   ========================================================= */
.surf {
  --surf-w: 40px;
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  transition: opacity .6s;
}
.js.is-fechado .surf { opacity: 0; }
.surf__canvas { position: absolute; inset: 0; }
.surf__rider { position: absolute; top: 0; left: 0; width: var(--surf-w); transform-origin: 50% 70%; will-change: transform; }
.surf__prancha { width: 100%; height: auto; filter: drop-shadow(3px 8px 6px rgb(10 61 82 / .35)); }
@media (max-width: 700px) {
  .surf { --surf-w: 22px; }
  /* espaço dos dois lados para a prancha não cobrir o texto no celular */
  .wrap { width: min(1240px, 100% - 60px); margin-inline: 30px; }
}

/* =========================================================
   HERO + ABERTURA
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--mar-fundo);
}
.hero__media, .hero__poster, .hero__video, .hero__sombra { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -1; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s; }
.hero__video.is-playing { opacity: 1; }
.hero__sombra { background: linear-gradient(to top, rgb(10 61 82 / .85), rgb(10 61 82 / .15) 55%, rgb(10 61 82 / .35)); }
@media (min-width: 768px) {
  .hero__sombra { background: linear-gradient(90deg, rgb(10 61 82 / .8) 0%, rgb(10 61 82 / .35) 50%, transparent 70%), linear-gradient(to top, rgb(10 61 82 / .5), transparent 40%); }
}
.hero__conteudo { padding-block: calc(var(--nav-h) + 70px) clamp(100px, 15vh, 160px); }
.hero__kicker { display: block; width: max-content; max-width: 88vw; font-family: var(--f-mao); font-weight: 500; font-size: clamp(1.15rem, 1rem + .8vw, 1.7rem); line-height: 1.25; letter-spacing: 0; color: var(--sol); margin-bottom: .5em; text-shadow: none; }
.hero__titulo { font-size: clamp(2.9rem, 1.2rem + 4.6vw + 2.2vh, 6rem); line-height: .95; max-width: 11ch; text-shadow: 0 4px 30px rgb(0 0 0 / .25); }
.hero__linha { display: block; }
.hero__linha--mar { font-style: italic; font-weight: 600; color: var(--sol); }
.hero__lead { max-width: 34ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); margin-top: 1.2rem; opacity: .95; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

/* A abertura só existe com JS + movimento permitido (o JS liga a classe) */
.abertura { display: none; }
.js.is-fechado .abertura, .js.is-abrindo .abertura { display: block; position: absolute; inset: 0; z-index: 10; }
.abertura__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.abertura__areia { fill: var(--areia); }
/* A logo da abertura, montada em partes (posições iguais às da logo original) */
.abertura__marca {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%;
  width: min(80vw, 60vh, 460px); aspect-ratio: 1;
}
.abertura__ondas { position: absolute; inset: 0; pointer-events: none; }
.abertura__ondas i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgb(223 13 84 / .35); opacity: 0; will-change: transform, opacity; }
.abertura__circulo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* sombra leve do círculo (box-shadow é bem mais leve que filtro) aparece junto com o creme */
.abertura__marca::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 26px 46px -22px rgb(10 61 82 / .35); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .abertura__marca::before { animation: sombra-aparece .9s .6s ease-out forwards; } }
@keyframes sombra-aparece { to { opacity: 1; } }
.abertura__circulo circle { fill: var(--espuma); fill-opacity: 0; stroke: var(--madeira); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.abertura__peca { position: absolute; display: block; height: auto; will-change: transform, clip-path; opacity: 0; }
/* a flor já aparece pequena desde o primeiro instante e desabrocha a partir dali */
.abertura__peca--flor { opacity: 1; transform: scale(.5) rotate(-18deg); }
/* a dica "Role para abrir" também nasce escondida (o JS mostra no fim da entrada) */
.abertura__dica > * { opacity: 0; }
.abertura__peca--flor { width: 48%; left: 26%; top: 19%; }
.abertura__nome { position: absolute; left: 8.3%; top: 48%; width: 81.6%; aspect-ratio: 881 / 195; }
.abertura__peca--noah { width: 52%; left: 0; top: 0; }
.abertura__peca--rosa { width: 46.2%; left: 53.8%; top: 0; }
.abertura__peca--chales { width: 37.3%; left: 31.4%; top: 67.5%; }
.abertura__anel { fill: none; stroke: var(--coral); stroke-width: 10; opacity: .9; }
.abertura__dica {
  position: absolute; left: 0; right: 0; bottom: 5vh; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--f-mao); font-size: 1.4rem; color: var(--mar);
}
@media (prefers-reduced-motion: no-preference) { .abertura__dica svg { animation: boia 1.6s ease-in-out infinite; } }
@keyframes boia { 50% { transform: translateY(6px); } }

/* =========================================================
   A POUSADA
   ========================================================= */
.vibe__grid { display: grid; gap: 60px; align-items: center; }
@media (min-width: 992px) { .vibe__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.vibe__texto .lead { color: var(--mar); }
.selos { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.selos li { border: 1px solid var(--areia-2); border-radius: 16px; padding: .7em 1.1em; background: var(--papel); box-shadow: 0 10px 24px -18px rgb(10 61 82 / .5); line-height: 1.2; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; cursor: default; }
.selos li:hover { transform: scale(1.1); box-shadow: 0 18px 30px -16px rgb(10 61 82 / .55); }
.selos strong { display: block; font-family: var(--f-titulo); font-size: 1.5rem; color: var(--coral); }
.selos span { font-size: .85rem; }

.vibe__colagem { position: relative; min-height: clamp(440px, 62vw, 640px); }
.polaroid {
  position: absolute; margin: 0; padding: 10px 10px 0; background: #fffdf7;
  box-shadow: var(--sombra); border-radius: 4px;
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--f-mao); font-size: 1.05rem; text-align: center; padding: .5em 0 .6em; color: var(--mar); }
.polaroid--1 { width: 58%; left: 0; top: 4%; rotate: -3deg; z-index: 2; }
.polaroid--1 img { aspect-ratio: 1; }
.polaroid--2 { width: 42%; right: 2%; top: 0; rotate: 3deg; }
.polaroid--3 { width: 46%; right: 8%; bottom: 0; rotate: -2deg; z-index: 3; }


/* ---------- FAIXA QUE CORRE ---------- */
.faixa { position: relative; z-index: 4; background: var(--sol); border-block: 1.5px solid var(--mar-fundo); overflow: hidden; padding-block: .75rem; }
.faixa__trilho { display: flex; width: max-content; align-items: center; gap: 1.4rem; font: italic 800 clamp(1.6rem, 1.2rem + 2vw, 2.8rem)/1.1 var(--f-titulo); color: var(--mar-fundo); white-space: nowrap; }
.faixa__trilho i { font-style: normal; color: var(--agua); }
.faixa__trilho span { display: inline-block; transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .25s; cursor: default; }
.faixa__trilho span:hover { transform: scale(1.28); color: var(--coral); }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) { .faixa__trilho { animation: mar-corre 26s linear infinite; } }

/* =========================================================
   CHALÉS
   ========================================================= */
.chales { padding-bottom: clamp(130px, 15vw, 200px); }
.chales .secao__topo .lead { color: rgb(254 248 236 / .9); }
.chales { padding-bottom: clamp(130px, 15vw, 190px); }

/* Vitrine dos chalés: fotos do interior + informações */
.vitrine { display: grid; gap: 24px; align-items: start; margin-bottom: clamp(70px, 9vw, 120px); }
@media (min-width: 992px) { .vitrine { grid-template-columns: 1.5fr 1fr; gap: 32px; } }
.vitrine__fotos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 13vw, 190px); gap: 10px; }
.vitrine__foto { margin: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 16px 34px -22px rgb(10 61 82 / .7); }
.vitrine__foto img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s cubic-bezier(.25,1,.5,1); }
.vitrine__foto:hover img { scale: 1.06; }
.vitrine__foto--grande { grid-column: span 2; grid-row: span 2; }
.vitrine__info { background: var(--papel); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 24px 50px -30px rgb(10 61 82 / .6); }
.vitrine__titulo { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-bottom: .5rem; }
.vitrine__dados { font-size: .92rem; font-weight: 600; color: var(--madeira); }
.estrutura__topo { display: grid; gap: .6rem 4rem; align-items: end; margin-bottom: 36px; }
@media (min-width: 900px) { .estrutura__topo { grid-template-columns: 1fr 1fr; } }
.estrutura__topo .lead { color: var(--madeira); margin: 0; }
.h-media { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.chales__lista { display: grid; gap: 28px; }
@media (min-width: 760px) { .chales__lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .chales__lista { grid-template-columns: repeat(3, 1fr); } }
.chale {
  display: flex; flex-direction: column;
  background: var(--papel); color: var(--tinta); border-radius: var(--raio); overflow: hidden;
  border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--agua);
  transition: transform .3s, box-shadow .3s;
}
.chale:hover { transform: translateY(-4px); box-shadow: 8px 10px 0 var(--agua); }
.chale.is-escolhido { box-shadow: 8px 10px 0 var(--coral); }
.chale__fotos { position: relative; }
.chale__trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3.4; }
.chale__trilho::-webkit-scrollbar { display: none; }
.chale__trilho img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.chale__pontos { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.chale__pontos button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgb(255 255 255 / .55); cursor: pointer; transition: width .3s, background-color .3s; }
.chale__pontos button[aria-current="true"] { width: 22px; border-radius: 6px; background: #fff; }
.chale__tag { position: absolute; top: 14px; left: 14px; background: var(--coral); color: #fff; font: 700 .7rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; padding: .6em .9em; border-radius: 999px; }
.chale__info { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.chale__nome { font-size: 1.75rem; margin-bottom: .3rem; }
.chale__resumo { font-size: .92rem; color: var(--madeira); font-weight: 600; margin-bottom: 1rem; }
.chale__itens { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 6px; }
.chale__itens li { font-size: .82rem; font-weight: 600; padding: .35em .75em; border-radius: 999px; background: var(--areia); border: 1px solid var(--areia-2);  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background-color .3s; cursor: default; }
.chale__itens li:hover { transform: scale(1.12); background: var(--creme-amarelo); }
.chale__rodape { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chale__preco { margin: 0; font-size: .85rem; line-height: 1.3; }
.chale__preco > span:last-child { display: block; max-width: 30ch; color: var(--madeira); margin-top: .35em; }
.chale__preco-a { font-size: .9rem; color: var(--madeira); }
.chale__preco strong { font-size: 1.6rem; color: var(--coral); }
.chale__preco strong { font-family: var(--f-titulo); font-size: 1.3rem; }
.vitrine__destaque { font-size: 1.1rem; color: var(--mar); }
.vitrine__destaque strong { color: var(--coral); }
.chale .btn { min-height: 44px; padding: .6em 1.2em; }

/* =========================================================
   ESTRUTURA
   ========================================================= */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.bento__item { position: relative; margin: 0; border-radius: var(--raio); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 18px 36px -24px rgb(10 61 82 / .7); }
.bento__item--grande { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s cubic-bezier(.25, 1, .5, 1); }
.bento__item:hover img { scale: 1.06; }
.bento__item figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgb(10 61 82 / .85)); line-height: 1.25; }
.bento__item strong { display: block; font-family: var(--f-titulo); font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); }
.bento__item span { font-size: .88rem; opacity: .9; }
@media (min-width: 992px) {
  .bento { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: min(78vh, 720px); }
  .bento__item { aspect-ratio: auto; }
  .bento__item--grande { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
}
.comodidades { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.comodidades li { display: flex; align-items: center; gap: .7em; font-weight: 600; padding: .9em 1.1em; border-radius: 14px; background: var(--papel); border: 1px solid var(--areia-2); color: var(--tinta);  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; cursor: default; }
.comodidades li:hover { transform: scale(1.08); box-shadow: 0 16px 30px -18px rgb(10 61 82 / .55); }
.comodidades svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--agua); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   REGIÃO
   ========================================================= */
.regiao { color: #fff; overflow: hidden; isolation: isolate; }
.regiao__fundo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.regiao__fundo img { width: 100%; height: 118%; object-fit: cover; }
.regiao__fundo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(10 61 82 / .9), rgb(10 61 82 / .55) 60%, rgb(10 61 82 / .3)); }
.regiao__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 992px) { .regiao__grid { grid-template-columns: 1.1fr 1fr; gap: 90px; } }
.roteiro { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.roteiro li { display: grid; grid-template-columns: 90px 1fr; column-gap: 18px; padding: 18px 20px; border-radius: var(--raio); background: rgb(10 61 82 / .55); border: 1.5px solid rgb(254 248 236 / .3); backdrop-filter: blur(10px); }
.roteiro__tempo { grid-row: span 2; align-self: center; font-family: var(--f-mao); font-size: 1.5rem; color: var(--sol); line-height: 1; }
.roteiro strong { font-family: var(--f-titulo); font-size: 1.3rem; }
.roteiro li > span:last-child { font-size: .93rem; opacity: .85; }

/* =========================================================
   GALERIA
   ========================================================= */
.galeria { overflow: hidden; }
.galeria__faixa { margin-top: 30px; overflow: hidden; }
.galeria__trilho { display: flex; gap: 18px; width: max-content; padding-block: 16px; }
.galeria__trilho img { height: clamp(220px, 30vw, 380px); width: auto; border-radius: 14px; border: 2px solid var(--tinta); object-fit: cover; }
.galeria__trilho img:nth-child(odd) { rotate: -1.5deg; }
.galeria__trilho img:nth-child(even) { rotate: 1.5deg; }
.galeria__insta { margin-top: 24px; font-weight: 700; }
.galeria__insta a { color: var(--coral); }

/* =========================================================
   RESERVA
   ========================================================= */
.reserva { padding-bottom: clamp(130px, 15vw, 190px); }
.reserva__grid { display: grid; gap: 50px; }
@media (min-width: 992px) { .reserva__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; } .reserva__intro { position: sticky; top: calc(var(--nav-h) + 60px); } }
.reserva__intro .lead { color: rgb(254 248 236 / .85); }
.reserva__airbnb { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px dashed rgb(254 248 236 / .35); }
.reserva__airbnb p { font-family: var(--f-mao); font-size: 1.5rem; color: var(--sol); margin-bottom: .6rem; }
.reserva__form {
  background: var(--papel); color: var(--tinta); border-radius: 24px; padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); display: grid; gap: 22px;
}
.campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.campo legend { font-family: var(--f-titulo); font-weight: 800; font-size: 1.3rem; margin-bottom: .6rem; padding: 0; }
.campo__linha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.campo__item { min-width: 0; }
.campo input[type="date"] { min-width: 0; max-width: 100%; display: block; }
/* celular: as datas uma embaixo da outra (a caixa de data do celular é larga) */
@media (max-width: 480px) { .campo--grupo:first-of-type .campo__linha { grid-template-columns: minmax(0, 1fr); } }
.campo__item { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.campo__item small { font-weight: 400; opacity: .7; }
.campo input:not([type="radio"], [type="checkbox"]), .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: .7em .9em; border-radius: 12px;
  border: 2px solid var(--areia-2); background: #fff; color: var(--tinta); font: inherit; font-weight: 500;
  transition: border-color .2s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--agua); outline: none; box-shadow: 0 0 0 3px rgb(223 13 84 / .25); }
.campo textarea { resize: vertical; }
.campo__erro { display: none; color: #b3261e; font-size: .85rem; font-weight: 600; margin: .3rem 0 0; }
.is-invalido .campo__erro, .campo__item.is-invalido .campo__erro { display: block; }
.campo__item.is-invalido input { border-color: #b3261e; }
.opcoes-chale { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opcao-chale { position: relative; cursor: pointer; }
.opcao-chale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcao-chale span { display: block; height: 100%; padding: .8em 1em; border-radius: 14px; border: 2px solid var(--areia-2); background: #fff; line-height: 1.25; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opcao-chale strong { display: block; font-size: .98rem; }
.opcao-chale small { font-size: .8rem; opacity: .75; }
.opcao-chale input:checked + span { border-color: var(--tinta); background: var(--areia); box-shadow: 3px 3px 0 var(--coral); }
.opcao-chale input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.reserva__noites { margin: .6rem 0 0; font-family: var(--f-mao); font-size: 1.3rem; color: var(--agua); min-height: 1.3em; }
.check { display: flex; align-items: center; gap: .6em; margin-top: 12px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--coral); }
.reserva__form .btn { width: 100%; }
.reserva__depois { margin: 0; font-size: .95rem; text-align: center; }

/* =========================================================
   AVALIAÇÕES
   ========================================================= */
.avaliacoes__grid { display: grid; gap: 50px; }
@media (min-width: 992px) { .avaliacoes__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.avaliacoes__numero { font: 900 clamp(5rem, 4rem + 5vw, 8rem)/.9 var(--f-titulo); color: var(--sol); margin: .1em 0 .15em; font-variation-settings: 'SOFT' 30, 'WONK' 0; }
.avaliacoes__numero small { font-size: .35em; color: var(--espuma); }
.avaliacoes__lista { display: grid; gap: 18px; }
@media (min-width: 700px) { .avaliacoes__lista { grid-template-columns: 1fr 1fr; } }
.barras { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.barras li { display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; }
.barras b { height: 8px; border-radius: 4px; background: rgb(255 255 255 / .18); position: relative; overflow: hidden; }
.barras b::after { content: ''; position: absolute; inset: 0; background: var(--sol); transform-origin: left; transform: scaleX(var(--v)); border-radius: 4px; }
.barras em { font-style: normal; }
.depo { margin: 0; padding: 30px 30px 24px; border-radius: var(--raio); background: var(--papel); color: var(--tinta); box-shadow: 0 24px 44px -28px rgb(0 0 0 / .6); position: relative; }
.depo::before { content: '\201C'; position: absolute; top: -6px; left: 22px; font: 700 3.6rem/1 var(--f-titulo); color: var(--coral); }
.depo footer span { font-weight: 400; color: #7a5a4a; font-size: .9rem; }
.depo p { font-size: 1.05rem; }
.depo footer { font-weight: 700; color: var(--madeira); }

/* =========================================================
   DÚVIDAS + MAPA
   ========================================================= */
.duvidas__grid { display: grid; gap: 50px; }
@media (min-width: 992px) { .duvidas__grid { grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; } }
.faq { margin-top: 1.5rem; border-top: 2px solid var(--tinta); }
.faq details { border-bottom: 2px solid var(--tinta); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1em 0; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--tinta); font: 700 1.3rem/1 var(--f-texto); transition: rotate .3s, background-color .3s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--sol); }
.faq details p { padding-bottom: 1.1em; margin: 0; max-width: 60ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s, content-visibility .4s; transition-behavior: allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.mapa { border-radius: var(--raio); overflow: hidden; box-shadow: 0 24px 44px -28px rgb(10 61 82 / .6); background: #fff; }
.mapa iframe { display: block; width: 100%; height: clamp(300px, 40vw, 460px); border: 0; }
.mapa__legenda { padding: 16px 20px; margin: 0; }
.mapa__legenda a { color: var(--coral); font-weight: 700; }

/* =========================================================
   CHAMADA FINAL + RODAPÉ
   ========================================================= */
.final { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; background: var(--areia); padding-block: 120px 160px; overflow: hidden; }
.final__conteudo { display: grid; justify-items: center; gap: 1.2rem; }
.final__logo { width: min(560px, 82vw); display: grid; justify-items: center; gap: .4rem; margin-bottom: 1.2rem; }
.final__peca { display: block; height: auto; will-change: transform; }
.final__peca--flor { width: 50%; margin-bottom: .2rem; }
.final__nome { display: flex; align-items: flex-end; justify-content: center; gap: 2%; width: 100%; }
.final__peca--noah { width: 50%; }
.final__peca--rosa { width: 44%; }
.final__peca--chales { width: 44%; margin-top: .3rem; }
.final__titulo { color: var(--mar-fundo); }

.rodape { position: relative; background: var(--mar-fundo); color: var(--espuma); padding: clamp(110px, 12vw, 150px) 0 30px; }
.rodape .onda-divisor--topo path { fill: var(--mar-fundo); }
.rodape .onda-divisor--topo { top: -1px; transform: translateY(-99%); }
.rodape__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .rodape__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape__logo { width: 130px; height: 130px; border-radius: 50%; object-fit: contain; margin-bottom: 1rem; }
.rodape__marca p { font-family: var(--f-mao); font-size: 1.5rem; color: var(--sol); }
.rodape__titulo { font-family: var(--f-texto); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd6e4; margin-bottom: 1rem; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--sol); }
.rodape__fim { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgb(254 248 236 / .2); font-size: .85rem; display: grid; gap: .4rem; justify-items: start; }
.rodape__fim p { margin: 0; opacity: .75; }
.rodape__fim p.credito { opacity: 1; }
.credito a { font-weight: 700; color: var(--sol); }
.credito a:hover { text-decoration: underline; }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutua {
  position: fixed; left: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; border: 2px solid var(--tinta); box-shadow: 3px 3px 0 var(--tinta);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .4s, translate .4s;
}
.wa-flutua.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }

/* ---------- Revelações (estado inicial só quando o JS de animação está ativo) ---------- */

/* Área de toque confortável (mín. ~44px) nos links de texto, sem mudar o visual */
.rodape a, .galeria__insta a, .mapa__legenda a, .credito a { display: inline-block; padding-block: .7em; }
.check { min-height: 44px; }

/* Textos animados ficam invisíveis até chegar a vez deles (só quando a animação carregou) */
.anima [data-reveal="chars"], .anima [data-reveal="lines"] { opacity: 0; }

.rodape__email { overflow-wrap: anywhere; }
