/* ============================================================
   BARRACA CUMBUCO BEACH — site público
   Cores da marca: oceano (azul do logo), sol (laranja), ouro (raios),
   mar (onda turquesa) e areia.
   ============================================================ */
:root {
  --oceano: #0D3A50;
  --oceano-2: #082A3A;
  --oceano-3: #134C66;
  --sol: #EF5A24;
  --sol-2: #D9481A;
  --ouro: #F7A823;
  --mar: #1C9AA0;
  --mar-claro: #BFE6E3;
  --areia: #F1E6D2;
  --areia-2: #E7D7BB;
  --branco: #FFFDF9;
  --tinta: #13262F;
  --tinta-2: #4B5D66;
  --linha: rgba(13, 58, 80, .14);
  --erro: #C2361B;

  --f-display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --f-texto: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --raio: 18px;
  --sombra: 0 24px 60px -24px rgba(8, 42, 58, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --larg: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--branco); color: var(--tinta);
  font-family: var(--f-texto); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 78; letter-spacing: -.01em; line-height: .98; margin: 0; color: var(--oceano); text-wrap: balance; }
h1 { font-size: clamp(46px, 8.4vw, 112px); }
h2 { font-size: clamp(36px, 5.6vw, 68px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--tinta-2); max-width: 46ch; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--sol); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--f-texto); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .5s var(--ease), background-color .25s ease, box-shadow .5s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(239, 90, 36, .8);
  -webkit-tap-highlight-color: transparent; isolation: isolate; overflow: hidden;
}
.btn:hover { background: var(--sol-2); transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(239, 90, 36, .9); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--zap { --bg: #1FAF5A; box-shadow: 0 14px 30px -14px rgba(31, 175, 90, .8); }
.btn--zap:hover { background: #17964C; box-shadow: 0 20px 38px -16px rgba(31, 175, 90, .9); }
.btn--claro { --bg: transparent; --fg: var(--oceano); box-shadow: inset 0 0 0 1.5px var(--linha); }
.btn--claro:hover { background: rgba(13, 58, 80, .06); box-shadow: inset 0 0 0 1.5px rgba(13, 58, 80, .4); }
.btn--escuro { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn--escuro:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.link { color: var(--sol-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ---------- cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.topo.rolou { border-color: var(--linha); box-shadow: 0 10px 30px -24px rgba(8, 42, 58, .5); }
.topo__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.topo__logo { display: flex; align-items: center; flex: none; }
.topo__logo img { height: 50px; width: auto; transition: transform .6s var(--ease); }
.topo__logo:hover img { transform: rotate(-4deg) scale(1.04); }
.topo__nav { display: flex; gap: 4px; margin-left: auto; }
.topo__nav a {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--tinta-2); border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.topo__nav a:hover { color: var(--oceano); background: rgba(13, 58, 80, .06); }
.topo__nav a[aria-current="page"] { color: var(--oceano); }
.topo__nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sol); }
.topo .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(13, 58, 80, .07); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--oceano); border-radius: 2px; transition: transform .45s var(--ease), opacity .2s ease; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-aberto .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-aberto .menu-btn span:nth-child(2) { opacity: 0; }
.menu-aberto .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.gaveta {
  position: fixed; inset: 76px 0 0; z-index: 49; background: var(--oceano); color: #fff;
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 40px) 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
.menu-aberto .gaveta { clip-path: circle(150% at calc(100% - 40px) 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.gaveta a:not(.btn) { font-family: var(--f-display); font-variation-settings: 'wdth' 78; font-weight: 800; font-size: 40px; line-height: 1.2; color: #fff; text-decoration: none; opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .6s var(--ease); }
.menu-aberto .gaveta a:not(.btn) { opacity: 1; transform: none; }
.menu-aberto .gaveta a:nth-child(2) { transition-delay: .05s; } .menu-aberto .gaveta a:nth-child(3) { transition-delay: .1s; }
.menu-aberto .gaveta a:nth-child(4) { transition-delay: .15s; } .menu-aberto .gaveta a:nth-child(5) { transition-delay: .2s; }
.gaveta .btn { margin-top: 24px; align-self: flex-start; }
.gaveta__rodape { margin-top: auto; color: rgba(255, 255, 255, .6); font-size: 15px; }

@media (max-width: 900px) {
  .topo__nav, .topo__cta { display: none; }
  .menu-btn { display: block; }
  .topo__in { height: 76px; }
}
@media (min-width: 901px) { .gaveta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(80px, 10vw, 140px); }
.hero__grade { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--oceano); }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .l > span { display: block; }
.hero .lead { margin-top: 26px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__info { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 15px; color: var(--tinta-2); }
.hero__info span { display: inline-flex; align-items: center; gap: 8px; }
.hero__info svg { width: 18px; height: 18px; color: var(--mar); flex: none; }

/* cena: sol nascendo atrás de três arcos (guarda-sóis) com as fotos reais */
.cena { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: end; width: 100%; }
.cena__sol { position: absolute; left: 50%; top: 2%; width: 74%; aspect-ratio: 1; transform: translateX(-50%); z-index: 0; }
.cena__sol svg { width: 100%; height: 100%; overflow: visible; }
.cena__raios { transform-origin: 50% 50%; animation: girar 90s linear infinite; }
.cena__arcos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5%; align-items: end; z-index: 1; }
.arco { margin: 0; position: relative; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--areia); box-shadow: var(--sombra); }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.arco:nth-child(1) { height: 72%; } .arco:nth-child(2) { height: 92%; } .arco:nth-child(3) { height: 64%; }
.arco figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 12px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(8, 42, 58, .75)); text-align: center; }
.cena__onda { position: absolute; left: -8%; right: -8%; bottom: -6%; z-index: 2; height: 16%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.cena__onda svg { width: 100%; height: 100%; }
.onda-mov { animation: onda 7s ease-in-out infinite alternate; }

@media (max-width: 900px) {
  .hero__grade { grid-template-columns: 1fr; }
  .cena { justify-self: center; max-width: 520px; aspect-ratio: 1 / .9; }
}

/* entrada orquestrada do hero (uma única sequência) */
.js .hero h1 .l > span { transform: translateY(105%); }
.js .hero .lead, .js .hero__acoes, .js .hero__info { opacity: 0; transform: translateY(16px); }
.js .cena__sol { opacity: 0; transform: translate(-50%, 34%) scale(.85); }
.js .arco { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); }
.js .arco img { transform: scale(1.25); }
.pronto .hero h1 .l > span { transform: none; transition: transform 1.1s var(--ease); }
.pronto .hero h1 .l:nth-child(2) > span { transition-delay: .08s; }
.pronto .hero h1 .l:nth-child(3) > span { transition-delay: .16s; }
.pronto .hero .lead, .pronto .hero__acoes, .pronto .hero__info { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s var(--ease); }
.pronto .hero .lead { transition-delay: .45s; } .pronto .hero__acoes { transition-delay: .55s; } .pronto .hero__info { transition-delay: .65s; }
.pronto .cena__sol { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 1.2s ease .5s, transform 2.2s var(--ease) .5s; }
.pronto .arco { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); transition: clip-path 1.3s var(--ease); }
.pronto .arco img { transform: scale(1); transition: transform 2s var(--ease); }
.pronto .arco:nth-child(1), .pronto .arco:nth-child(1) img { transition-delay: .2s; }
.pronto .arco:nth-child(2), .pronto .arco:nth-child(2) img { transition-delay: .32s; }
.pronto .arco:nth-child(3), .pronto .arco:nth-child(3) img { transition-delay: .44s; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes onda { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

/* ---------- seções ---------- */
.secao { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.secao__cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.secao__cab .lead { justify-self: end; }
@media (max-width: 800px) { .secao__cab { grid-template-columns: 1fr; } .secao__cab .lead { justify-self: start; } }

/* revelação ao rolar — discreta, só em blocos de conteúdo */
.js [data-rev] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.1s var(--ease); }
.js [data-rev].visto { opacity: 1; transform: none; }

/* ---------- ambientes ---------- */
.abas { display: inline-flex; gap: 4px; padding: 5px; background: var(--areia); border-radius: 999px; position: relative; flex-wrap: wrap; }
.aba { position: relative; z-index: 1; border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--tinta-2); cursor: pointer; transition: color .3s ease; }
.aba[aria-selected="true"] { color: #fff; }
.abas__marca { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--oceano); transition: transform .6s var(--ease), width .6s var(--ease); }
.abas { max-width: 100%; }
.aba { white-space: nowrap; }
@media (max-width: 560px) {
  .abas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .abas::-webkit-scrollbar { display: none; }
  .aba { padding: 10px 14px; font-size: 14px; }
  .trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .trilho::-webkit-scrollbar { display: none; }
  .trilho .amb { flex: 0 0 80%; scroll-snap-align: start; }
}
.abas__resumo { margin-top: 18px; color: var(--tinta-2); min-height: 1.6em; }

.trilho { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: 34px; }
.amb { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.amb__foto { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--raio) var(--raio); overflow: hidden; background: var(--areia); }
.amb__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.amb:hover .amb__foto img { transform: scale(1.06); }
.amb__cap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 253, 249, .92); color: var(--oceano); font-size: 13px; font-weight: 700; }
.amb__cap svg { width: 16px; height: 16px; color: var(--mar); }
.amb__txt { padding: 18px 4px 0; }
.amb__txt p { margin-top: 8px; color: var(--tinta-2); font-size: 15.5px; line-height: 1.55; }
.amb__ir { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--sol-2); font-size: 15px; }
.amb__ir svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.amb:hover .amb__ir svg { transform: translateX(5px); }
.trilho.trocando .amb { animation: entrar .8s var(--ease) both; }
.trilho.trocando .amb:nth-child(2) { animation-delay: .07s; } .trilho.trocando .amb:nth-child(3) { animation-delay: .14s; } .trilho.trocando .amb:nth-child(4) { animation-delay: .21s; }
@keyframes entrar { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- como funciona (faixa oceano) ---------- */
.mar { background: var(--oceano); color: #fff; position: relative; }
.mar h2, .mar h3 { color: #fff; }
.mar .lead { color: rgba(255, 255, 255, .72); }
.mar__borda { position: absolute; left: 0; right: 0; height: clamp(40px, 6vw, 80px); color: var(--oceano); }
.mar__borda--topo { top: 1px; transform: translateY(-100%); }
.mar__borda--base { bottom: 1px; transform: translateY(100%) scaleY(-1); }
.mar__borda svg { width: 100%; height: 100%; display: block; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: passo; }
.passo { position: relative; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.passo::before { counter-increment: passo; content: counter(passo); position: absolute; top: -1px; left: 0; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ouro); color: var(--oceano-2); font-weight: 800; font-size: 17px; }
.passo h3 { margin-top: 14px; }
.passo p { margin-top: 10px; color: rgba(255, 255, 255, .72); }
@media (max-width: 800px) { .passos { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- sabores ---------- */
.sabores { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sabores__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.sabores__fotos figure { margin: 0; border-radius: var(--raio); overflow: hidden; aspect-ratio: 3 / 4; }
.sabores__fotos figure:nth-child(2) { margin-top: 18%; }
.sabores__fotos img { width: 100%; height: 100%; object-fit: cover; }
.sabores .lead { margin-top: 22px; }
.sabores__lista { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.sabores__lista li { display: flex; gap: 14px; align-items: flex-start; }
.sabores__lista svg { width: 26px; height: 26px; flex: none; color: var(--sol); margin-top: 1px; }
@media (max-width: 860px) { .sabores { grid-template-columns: 1fr; } }

/* ---------- visite ---------- */
.visite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.visite__mapa { border-radius: var(--raio); overflow: hidden; min-height: 380px; background: var(--areia); }
.visite__mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.dados { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.dados li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.dados .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--areia); color: var(--oceano); }
.dados .ic svg { width: 21px; height: 21px; }
.dados strong { display: block; font-size: 15px; color: var(--tinta-2); font-weight: 600; }
.dados span, .dados a { font-size: 18px; font-weight: 600; color: var(--oceano); text-decoration: none; }
.dados a:hover { text-decoration: underline; }
.visite__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 860px) { .visite { grid-template-columns: 1fr; } }

/* ---------- chamada final ---------- */
.chamada { background: var(--sol); color: #fff; border-radius: clamp(24px, 4vw, 40px); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.chamada h2 { color: #fff; max-width: 14ch; position: relative; z-index: 1; }
.chamada p { color: rgba(255, 255, 255, .88); margin-top: 16px; max-width: 40ch; position: relative; z-index: 1; }
.chamada .btn { --bg: var(--oceano); box-shadow: 0 18px 40px -16px rgba(8, 42, 58, .8); position: relative; z-index: 1; }
.chamada .btn:hover { background: var(--oceano-2); }
.chamada__sol { position: absolute; right: -8%; bottom: -55%; width: min(560px, 80vw); aspect-ratio: 1; color: var(--ouro); opacity: .55; pointer-events: none; }
.chamada__sol svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .chamada { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.rodape { background: var(--oceano-2); color: rgba(255, 255, 255, .72); padding: clamp(56px, 8vw, 96px) 0 32px; margin-top: clamp(72px, 10vw, 140px); font-size: 15.5px; }
.rodape__grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.rodape__marca img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.rodape__marca p { margin-top: 16px; max-width: 30ch; }
.rodape h4 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 700; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rodape a { text-decoration: none; color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.rodape a:hover { color: #fff; }
.rodape__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .rodape__grade { grid-template-columns: 1fr 1fr; } .rodape__marca { grid-column: 1 / -1; } }
@media (max-width: 480px) { .rodape__grade { grid-template-columns: 1fr; } }

/* botão flutuante do WhatsApp */
.zap-flutua { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1FAF5A; color: #fff; box-shadow: 0 16px 34px -12px rgba(8, 42, 58, .55); transition: transform .5s var(--ease); }
.zap-flutua:hover { transform: scale(1.08) rotate(-6deg); }
.zap-flutua svg { width: 28px; height: 28px; }
.pag-reserva .zap-flutua { display: none; }

/* ---------- páginas internas ---------- */
.cab-pag { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.cab-pag .lead { margin-top: 20px; }
.texto { max-width: 68ch; }
.texto h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 12px; }
.texto p, .texto li { color: var(--tinta-2); }
.texto p + p { margin-top: 14px; }

/* ============================================================
   RESERVA
   ============================================================ */
.pag-reserva { background: var(--branco); }
.reserva { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 40px; }
@media (max-width: 980px) { .reserva { grid-template-columns: minmax(0, 1fr); } }

.etapas { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.etapa { font-size: 13.5px; font-weight: 700; color: var(--tinta-2); }
.etapa__barra { height: 4px; border-radius: 4px; background: var(--areia); overflow: hidden; margin-bottom: 10px; }
.etapa__barra i { display: block; height: 100%; width: 0; background: var(--sol); transition: width .8s var(--ease); }
.etapa.feita .etapa__barra i, .etapa.atual .etapa__barra i { width: 100%; }
.etapa.atual { color: var(--oceano); }
.etapa button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; width: 100%; }
.etapa button:disabled { cursor: default; }
.etapa-txt { display: none; }
@media (max-width: 560px) { .etapa__nome { display: none; } .etapas { margin-bottom: 8px; } .etapa-txt { display: block; margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--oceano); } .etapa-txt span { color: var(--tinta-2); font-weight: 600; } }

.painel-etapa { position: relative; }
.passo-form { display: none; }
.passo-form.ativo { display: block; animation: passoEntra .7s var(--ease) both; }
.passo-form.volta { animation-name: passoVolta; }
@keyframes passoEntra { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes passoVolta { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.passo-form h2 { font-size: clamp(32px, 4.4vw, 52px); }
.passo-form > p.lead { margin-top: 10px; font-size: 17px; }

/* escolha do local */
.grupo-locais { margin-top: 28px; }
.grupo-locais h3 { font-size: 20px; margin-bottom: 12px; color: var(--oceano); font-variation-settings: 'wdth' 85; }
.locais { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.local { position: relative; display: block; cursor: pointer; }
.local input { position: absolute; opacity: 0; pointer-events: none; }
.local__card { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); transition: box-shadow .3s ease, transform .4s var(--ease), background-color .3s ease; }
.local__card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.local__nome { font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--oceano); }
.local__cap { font-size: 13px; color: var(--tinta-2); margin-top: 3px; }
.local:hover .local__card { box-shadow: inset 0 0 0 1.5px rgba(13, 58, 80, .4); }
.local input:checked + .local__card { box-shadow: inset 0 0 0 2.5px var(--sol); background: #FFF6F1; }
.local input:focus-visible + .local__card { outline: 3px solid var(--ouro); outline-offset: 2px; }
.local__ok { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--sol); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .5s var(--ease); }
.local__ok svg { width: 14px; height: 14px; }
.local input:checked ~ .local__ok { transform: scale(1); }

/* data / hora / pessoas */
.bloco { margin-top: 30px; }
.bloco__rot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--oceano); margin-bottom: 12px; }
.bloco__rot small { font-weight: 500; color: var(--tinta-2); font-size: 14px; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dia { flex: none; scroll-snap-align: start; width: 72px; padding: 12px 0; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); cursor: pointer; text-align: center; transition: background-color .3s ease, box-shadow .3s ease, transform .4s var(--ease), color .3s ease; }
.dia:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px rgba(13, 58, 80, .4); }
.dia small { display: block; font-size: 12px; font-weight: 600; color: var(--tinta-2); text-transform: lowercase; }
.dia b { display: block; font-family: var(--f-display); font-variation-settings: 'wdth' 80; font-size: 30px; line-height: 1.05; color: var(--oceano); }
.dia[aria-pressed="true"] { background: var(--oceano); box-shadow: none; transform: translateY(-3px); }
.dia[aria-pressed="true"] small, .dia[aria-pressed="true"] b { color: #fff; }
.dia:disabled { opacity: .35; cursor: not-allowed; }
.outra-data { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 15px; color: var(--tinta-2); }
.outra-data input { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fff; color: var(--tinta); }

.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.hora { border: 0; min-height: 48px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); font-weight: 700; font-size: 16px; color: var(--oceano); cursor: pointer; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease, transform .4s var(--ease); font-variant-numeric: tabular-nums; }
.hora:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px rgba(13, 58, 80, .4); }
.hora[aria-pressed="true"] { background: var(--sol); color: #fff; box-shadow: none; transform: scale(1.04); }
.hora:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.aviso-encerrado { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #E8F4F4; border-left: 4px solid var(--mar); font-size: 15px; line-height: 1.5; color: #164E52; }
.aviso-encerrado[hidden] { display: none; }
.aviso-encerrado svg { width: 22px; height: 22px; flex: none; color: var(--mar); margin-top: 1px; }
.aviso-encerrado b { color: #0E3B3E; }
.aviso-chegada { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #FFF4E5; border-left: 4px solid var(--ouro); font-size: 15px; line-height: 1.5; color: #5C3B07; }
.aviso-chegada svg { width: 22px; height: 22px; flex: none; color: #C27C0E; margin-top: 1px; }
.aviso-chegada b { color: #4A2F05; }
.vazio-horas { padding: 16px 18px; border-radius: 14px; background: var(--areia); color: var(--tinta-2); font-size: 15px; }

.contador { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); }
.contador button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--areia); color: var(--oceano); font-size: 24px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, transform .3s var(--ease); display: grid; place-items: center; }
.contador button:hover { background: var(--areia-2); }
.contador button:active { transform: scale(.9); }
.contador output { min-width: 84px; text-align: center; font-family: var(--f-display); font-variation-settings: 'wdth' 80; font-size: 38px; font-weight: 800; color: var(--oceano); line-height: 1; font-variant-numeric: tabular-nums; }
.contador output small { display: block; font-family: var(--f-texto); font-size: 12px; font-weight: 600; color: var(--tinta-2); margin-top: 2px; }
.contador output.pula { animation: pula .45s var(--ease); }
@keyframes pula { 0% { transform: translateY(0); } 40% { transform: translateY(-6px) scale(1.08); } 100% { transform: none; } }

/* campos */
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo--cheio { grid-column: 1 / -1; }
.campo label { font-weight: 700; font-size: 15px; color: var(--oceano); }
.campo label small { font-weight: 500; color: var(--tinta-2); }
.campo input, .campo textarea, .campo select {
  font: inherit; font-size: 17px; width: 100%; padding: 15px 16px; border-radius: 14px; border: 0; background: #fff; color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px var(--linha); transition: box-shadow .25s ease; appearance: none;
}
.campo textarea { min-height: 104px; resize: vertical; }
.campo input:hover, .campo textarea:hover { box-shadow: inset 0 0 0 1.5px rgba(13, 58, 80, .35); }
.campo input:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--oceano); }
.campo.erro input, .campo.erro textarea { box-shadow: inset 0 0 0 2px var(--erro); }
.campo__erro, .msg-erro { color: var(--erro); font-size: 14px; font-weight: 600; min-height: 0; }
.msg-erro:empty { display: none; }
.msg-erro { margin-top: 14px; padding: 12px 14px; background: #FDEDE8; border-radius: 12px; }
@media (max-width: 620px) { .campos { grid-template-columns: 1fr; } }
.treme { animation: treme .5s ease; }
@keyframes treme { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.nav-form { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--linha); }
.nav-form .btn { min-width: 160px; }
.voltar { border: 0; background: none; padding: 12px 4px; font-weight: 700; color: var(--tinta-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.voltar:hover { color: var(--oceano); }
.voltar svg { width: 18px; height: 18px; }
.voltar[hidden] { display: inline-flex; visibility: hidden; }

/* revisão */
.revisao { margin-top: 26px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); }
.revisao__foto { height: 160px; position: relative; }
.revisao__foto img { width: 100%; height: 100%; object-fit: cover; }
.revisao__foto span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-family: var(--f-display); font-variation-settings: 'wdth' 80; font-weight: 800; font-size: 28px; line-height: 1; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.revisao__foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8, 42, 58, .7)); }
.revisao__foto span { z-index: 1; }
.revisao dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.revisao dl > div { padding: 16px 20px; border-top: 1px solid var(--linha); }
.revisao dl > div:nth-child(odd) { border-right: 1px solid var(--linha); }
.revisao dl > div.cheio { grid-column: 1 / -1; border-right: 0; }
.revisao dt { font-size: 13px; color: var(--tinta-2); font-weight: 600; }
.revisao dd { margin: 2px 0 0; font-weight: 700; color: var(--oceano); word-break: break-word; }
.revisao__editar { border: 0; background: none; color: var(--sol-2); font-weight: 700; cursor: pointer; font-size: 14px; padding: 0; margin-left: 6px; text-decoration: underline; }
.aceite { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; color: var(--tinta-2); cursor: pointer; }
.aceite input { width: 22px; height: 22px; accent-color: var(--sol); flex: none; margin: 1px 0 0; }
.aviso-zap { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; background: #EAF7EF; border-radius: 14px; font-size: 15px; color: #1D5A36; }
.aviso-zap svg { width: 22px; height: 22px; flex: none; color: #1FAF5A; }

/* resumo lateral (ticket) */
.ticket { position: sticky; top: 100px; background: var(--oceano); color: #fff; border-radius: 24px; overflow: hidden; }
.ticket__topo { position: relative; height: 150px; overflow: hidden; background: var(--oceano-3); }
.ticket__topo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .6s ease, transform 1.2s var(--ease); }
.ticket__topo img.on { opacity: 1; transform: none; }
.ticket__topo::after { z-index: 2; content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, var(--oceano)); }
.ticket__sol { position: absolute; left: 50%; top: 50%; width: 90px; transform: translate(-50%, -50%); color: var(--ouro); z-index: 0; }
.ticket__corpo { padding: 4px 24px 24px; position: relative; }
.ticket h3 { color: #fff; font-size: 26px; }
.ticket dl { margin: 18px 0 0; display: grid; gap: 0; }
.ticket dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed rgba(255, 255, 255, .2); font-size: 15px; }
.ticket dt { color: rgba(255, 255, 255, .6); }
.ticket dd { margin: 0; font-weight: 700; text-align: right; }
.ticket dd.vazio { color: rgba(255, 255, 255, .35); font-weight: 500; }
.ticket dd.muda { animation: muda .6s var(--ease); }
@keyframes muda { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ticket__nota { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.5; }
@media (max-width: 980px) { .ticket { display: none; } }

/* sucesso */
.sucesso { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(40px, 8vw, 96px) 0 0; }
.sucesso__sol { width: 140px; height: 140px; margin: 0 auto 28px; color: var(--sol); }
.sucesso__sol svg { width: 100%; height: 100%; overflow: visible; }
.sucesso h1 { font-size: clamp(42px, 7vw, 76px); }
.sucesso .lead { margin: 18px auto 0; }
.sucesso__cod { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 28px; padding: 14px 26px; border-radius: 18px; background: var(--areia); }
.sucesso__cod small { font-size: 13px; color: var(--tinta-2); font-weight: 600; }
.sucesso__cod b { font-family: var(--f-display); font-variation-settings: 'wdth' 80; font-size: 32px; letter-spacing: .02em; color: var(--oceano); }
.sucesso__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.sucesso .revisao { text-align: left; }
.desenha { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenha 1.2s var(--ease) forwards; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
.raio-sai { transform-origin: 70px 70px; animation: raio .9s var(--ease) both; }
@keyframes raio { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
