/* ==========================================================================
   RESSACA BAR — cardápio digital
   Direção: o mar de ressaca. Azul-marinho da logo, água, espuma e areia.
   Tipografia: Sue Ellen Francisco (a mesma da logo) + Montserrat (o "BAR").
   ========================================================================== */

@font-face {
  font-family: "Sue Ellen Francisco";
  src: url("../fonts/SueEllenFrancisco-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #043575;          /* azul exato da logo */
  --azul-fundo: #021B3F;    /* mar à noite */
  --azul-meio: #0A2B5C;
  --mar: #0E6E8C;           /* água */
  --mar-claro: #8CCBD8;     /* espuma azulada */
  --areia: #F2EBDF;         /* fundo */
  --areia-2: #E6DAC6;
  --espuma: #FBF8F2;
  --tinta: #0B1E3A;
  --tinta-2: #4B5A70;
  --linha: rgba(4, 53, 117, .14);

  --f-marca: "Sue Ellen Francisco", "Amatic SC", "Arial Narrow", sans-serif;
  --f-texto: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 66px;
  --seguro: env(safe-area-inset-bottom, 0px);
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-mare: cubic-bezier(.7, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--areia);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.na-abertura { overflow: hidden; background: var(--azul-fundo); }
body.trava { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mar-claro); outline-offset: 3px; }

/* Ícones de traço (setas, fechar) */
.btn-explorar svg, .capa-semana svg, .proxima svg, .topo svg,
.folha-fechar svg, .semana-fechar svg, .nav-inicio svg, .insta svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.insta svg .cheio { fill: currentColor; stroke: none; }

/* ============================ ABERTURA ============================ */
.abertura {
  position: fixed; inset: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--espuma);
  z-index: 30;
  background: var(--azul-fundo);
  transition: opacity .5s ease, visibility .5s;
}
.abertura.some { opacity: 0; visibility: hidden; }

.ab-midia { position: absolute; inset: -4%; }
.ab-midia img {
  width: 100%; height: 100%; object-fit: cover;
  animation: deriva 22s ease-in-out infinite alternate;
  transform-origin: 50% 30%;
}
.ab-midia::after {           /* mergulha a foto no azul da marca */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,27,63,.25) 0%, rgba(2,27,63,.15) 35%, rgba(2,27,63,.7) 75%, var(--azul-fundo) 100%),
    linear-gradient(0deg, rgba(4,53,117,.35), rgba(4,53,117,.35));
  mix-blend-mode: normal;
}
@keyframes deriva {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2%, 2%, 0); }
}

/* Luz entrando na água */
.ab-luz {
  position: absolute; inset: -20% -20% 30% -20%;
  background:
    repeating-linear-gradient(100deg, transparent 0 7%, rgba(255,255,255,.07) 8% 9%, transparent 10% 17%);
  filter: blur(14px);
  mix-blend-mode: screen;
  animation: raios 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes raios {
  from { transform: translateX(-3%) skewX(-4deg); opacity: .55; }
  to   { transform: translateX(3%) skewX(4deg); opacity: 1; }
}

.ab-conteudo {
  position: relative; z-index: 2;
  width: min(100%, 560px);
  padding: 0 28px 14vh;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.ab-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 30px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(251,248,242,.75);
}
.ab-kicker i { width: 22px; height: 1px; background: currentColor; opacity: .6; }
.ab-logo { margin: 0; width: min(82vw, 440px); }
.ab-logo img { width: 100%; height: auto; filter: drop-shadow(0 6px 30px rgba(2,27,63,.45)); }
.ab-frase {
  margin: 34px 0 40px;
  font-family: var(--f-marca);
  font-size: clamp(30px, 8.4vw, 44px);
  text-wrap: balance;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.btn-explorar {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 250px; height: 58px; padding: 0 28px;
  background: var(--espuma); color: var(--azul);
  font-size: 12.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), background .25s;
  position: relative; overflow: hidden;
}
.btn-explorar::before {     /* brilho de água passando */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(140,203,216,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: brilho 4.5s ease-in-out 2.2s infinite;
}
@keyframes brilho { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-explorar span, .btn-explorar svg { position: relative; }
.btn-explorar svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-explorar:hover svg { transform: translateX(4px); }
.btn-explorar:active { transform: scale(.97); }

.link-semana {
  margin-top: 22px;
  font-family: var(--f-marca);
  font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--mar-claro);
  padding: 6px 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 88%;
  opacity: .9;
}

.ab-ondas { position: absolute; left: 0; right: 0; bottom: 0; height: 15vh; min-height: 90px; z-index: 1; pointer-events: none; }
.onda { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.onda path { fill: none; stroke: var(--espuma); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.onda-1 { opacity: .28; animation: marulho 16s linear infinite; }
.onda-2 { opacity: .16; height: 70%; animation: marulho 24s linear infinite reverse; }
@keyframes marulho { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ab-demo {
  position: absolute; bottom: calc(14px + var(--seguro)); left: 0; right: 0; z-index: 3;
  margin: 0; text-align: center;
  font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(251,248,242,.5);
}

/* Entrada da abertura */
.ab-kicker, .ab-logo, .ab-frase, .btn-explorar, .link-semana {
  opacity: 0; transform: translateY(14px);
  animation: emerge 1.1s var(--ease) forwards;
}
.ab-logo { filter: blur(8px); animation-name: emerge-logo; animation-duration: 1.5s; animation-delay: .15s; }
.ab-kicker { animation-delay: .05s; }
.ab-frase { animation-delay: .65s; }
.btn-explorar { animation-delay: .9s; }
.link-semana { animation-delay: 1.1s; }
@keyframes emerge { to { opacity: 1; transform: none; } }
@keyframes emerge-logo { to { opacity: 1; transform: none; filter: blur(0); } }

/* ============================ MARÉ (transição) ============================ */
.mare {
  position: fixed; left: 0; right: 0; top: 0; height: 130svh;
  z-index: 40; pointer-events: none;
  transform: translateY(105svh);
  visibility: hidden;
}
.mare.sobe { visibility: visible; transition: transform .75s var(--ease-mare); transform: translateY(-12svh); }
.mare.passa { visibility: visible; transition: transform .8s var(--ease-mare); transform: translateY(-150svh); }
.mare-crista { position: absolute; left: 0; top: 0; width: 100%; height: 12svh; }
.mare-crista-agua { fill: var(--mar); }
.mare-crista-espuma { fill: none; stroke: var(--espuma); stroke-width: 3; opacity: .8; vector-effect: non-scaling-stroke; }
.mare-corpo {
  position: absolute; left: 0; right: 0; top: calc(12svh - 1px); bottom: 0;
  background: linear-gradient(180deg, var(--mar) 0%, var(--azul) 30%, var(--azul-fundo) 100%);
}

/* ============================ CAPA DA CATEGORIA ============================ */
.cardapio { padding-bottom: calc(var(--nav-h) + var(--seguro)); }
.cardapio.entra { animation: aparece .7s var(--ease) both; }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }

.capa {
  position: relative;
  height: 62svh; min-height: 420px; max-height: 720px;
  overflow: hidden;
  background: var(--azul-fundo);
  color: var(--espuma);
}
.capa-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .55s ease, transform 1.2s var(--ease);
}
.capa.trocando .capa-img { opacity: 0; transform: scale(1.06); }
.capa::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,27,63,.55) 0%, rgba(2,27,63,0) 26%, rgba(2,27,63,0) 42%, rgba(2,27,63,.82) 82%, rgba(2,27,63,.92) 100%);
}
.capa-topo {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 0;
}
.capa-logo img { width: 104px; height: auto; }
.capa-semana {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-marca); font-size: 21px; text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 0;
  border-bottom: 1px solid rgba(251,248,242,.5);
}
.capa-semana svg { width: 15px; height: 15px; }

.capa-texto {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 64px;
}
.capa-indice {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--mar-claro);
}
.capa-indice i { width: 26px; height: 1px; background: currentColor; }
.capa-titulo {
  margin: 0;
  font-family: var(--f-marca); font-weight: 400;
  font-size: clamp(84px, 26vw, 190px);
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-shadow: 0 4px 30px rgba(2,27,63,.35);
}
.capa-chamada { margin: 18px 0 0; max-width: 30ch; font-size: 14px; color: rgba(251,248,242,.86); }
.capa-texto > * { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.capa.trocando .capa-texto > * { opacity: 0; transform: translateY(16px); }
.capa.trocando .capa-titulo { transition-delay: 0s; }
.capa-titulo { transition-delay: .06s !important; }
.capa-chamada { transition-delay: .12s !important; }

.capa-onda {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; width: 100%; height: 42px;
}
.capa-onda path { fill: var(--areia); }

.aviso-demo {
  margin: 4px var(--gutter) 0;
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tinta-2); opacity: .75;
  display: flex; align-items: center; gap: 10px;
}
.aviso-demo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mar); flex: none; }

/* ============================ LISTA DE PRODUTOS ============================ */
.lista { padding: 8px var(--gutter) 0; transition: opacity .25s ease, transform .3s var(--ease); }
.lista.saindo { opacity: 0; transform: translateY(10px); }

.grupo { margin-top: 30px; }
.grupo-titulo {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--azul);
}
.grupo-titulo .ondinha {
  flex: 1; height: 8px; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q 6 0 12 4 T 24 4' fill='none' stroke='%23043575' stroke-width='1.3'/%3E%3C/svg%3E") repeat-x left center / 24px 8px;
}
.grupo-titulo small { font-size: 11px; letter-spacing: .1em; color: var(--tinta-2); font-weight: 600; }

/* Item comum */
.item {
  display: grid; grid-template-columns: 108px 1fr; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linha);
  cursor: pointer;
  text-align: left; width: 100%;
  transition: transform .2s var(--ease);
}
.item:active { transform: scale(.985); }
.item-foto {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--areia-2);
  border-radius: 2px;
}
.item-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.item:hover .item-foto img { transform: scale(1.05); }
.item-info { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.item-num { font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--mar); }
.item-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.item-nome {
  margin: 10px 0 6px;
  font-family: var(--f-marca); font-weight: 400;
  font-size: 30px; line-height: 1;
  text-transform: uppercase; letter-spacing: .015em;
  color: var(--azul);
}
.item-desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--tinta-2); }
.item-tags { margin-top: auto; padding-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); opacity: .8; }

.preco {
  flex: none; white-space: nowrap;
  font-weight: 600; font-size: 15px; color: var(--azul);
  font-variant-numeric: tabular-nums;
}
.preco small { font-size: .68em; font-weight: 600; margin-right: 3px; letter-spacing: .04em; opacity: .7; }

/* Item destaque: foto grande, sangrando nas bordas */
.item--destaque {
  display: block; width: auto; padding: 6px 0 26px;
  margin: 0 calc(var(--gutter) * -1);
  border-bottom: 1px solid var(--linha);
}
.item--destaque .item-foto {
  aspect-ratio: 4 / 4.4; border-radius: 0; position: relative;
}
.item--destaque .item-foto::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 0 480 0 720 30 S 1200 60 1440 30 V60 H0Z' fill='%23F2EBDF'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.item--destaque .selo {
  position: absolute; z-index: 1; top: 16px; left: var(--gutter);
  font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--espuma); background: rgba(2,27,63,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 11px;
}
.item--destaque .item-info { padding: 4px var(--gutter) 0; }
.item--destaque .item-nome { font-size: 46px; }
.item--destaque .item-desc { font-size: 14.5px; max-width: 42ch; }
.item--destaque .preco { font-size: 18px; }

/* Revelação ao rolar */
.revela { opacity: 0; transform: translateY(22px); }
.revela.visivel { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--atraso, 0s); }

/* Próxima categoria */
.proxima {
  display: block; margin: 34px var(--gutter) 0; padding: 26px 0 30px;
  text-decoration: none; border-top: 1px solid var(--azul);
}
.proxima-rotulo { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--mar); }
.proxima-nome {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-marca); font-size: 54px; line-height: 1; text-transform: uppercase; color: var(--azul);
}
.proxima-nome svg { width: 34px; height: 34px; transition: transform .3s var(--ease); }
.proxima:hover .proxima-nome svg, .proxima:active .proxima-nome svg { transform: translateX(6px); }

/* ============================ RODAPÉ ============================ */
.rodape { position: relative; margin-top: 24px; background: var(--azul-fundo); color: var(--espuma); }
.rodape-onda { position: absolute; top: -1px; left: 0; width: 100%; height: 40px; }
.rodape-onda path { fill: var(--areia); }
.rodape-in { padding: 78px var(--gutter) 36px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rodape-logo { width: 170px; height: auto; }
.rodape-frase { margin: 14px 0 34px; font-family: var(--f-marca); font-size: 28px; text-transform: uppercase; color: var(--mar-claro); }
.unidades { list-style: none; margin: 0 0 30px; padding: 0; width: 100%; max-width: 440px; }
.unidades li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left;
  padding: 16px 0; border-top: 1px solid rgba(251,248,242,.14);
}
.unidades li:last-child { border-bottom: 1px solid rgba(251,248,242,.14); }
.unidade-cidade { display: block; font-family: var(--f-marca); font-size: 30px; line-height: 1; text-transform: uppercase; }
.unidade-end { display: block; font-size: 12.5px; color: rgba(251,248,242,.7); margin-top: 4px; }
.unidade-mapa {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--azul-fundo); background: var(--espuma); padding: 10px 12px; border-radius: 2px;
}
.insta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
}
.insta svg { width: 22px; height: 22px; }
.rodape-legal { margin: 30px 0 0; max-width: 34ch; font-size: 11px; color: rgba(251,248,242,.55); }
.rodape-demo { margin: 10px 0 0; max-width: 36ch; font-size: 11px; color: var(--mar-claro); opacity: .85; }
.rodape-assinatura { margin: 28px 0 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(251,248,242,.4); }
.rodape-assinatura strong { font-weight: 700; color: rgba(251,248,242,.65); }

/* ============================ NAVEGAÇÃO (rodapé fixo) ============================ */
.nav {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + var(--seguro)); padding-bottom: var(--seguro);
  display: flex; align-items: stretch;
  background: rgba(2, 27, 63, .94);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  color: var(--espuma);
  transform: translateY(110%);
  transition: transform .6s var(--ease);
}
.nav.ativa { transform: none; }
.nav-inicio {
  flex: none; width: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-right: 1px solid rgba(251,248,242,.12);
  color: var(--mar-claro);
}
.nav-inicio svg { width: 22px; height: 22px; }
.nav-inicio span { font-size: 8.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.nav-trilho {
  position: relative; flex: 1; min-width: 0;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
  scroll-behavior: smooth;
}
.nav-trilho::-webkit-scrollbar { display: none; }
.nav-itens { display: flex; height: 100%; padding: 0 22px 0 8px; width: max-content; }
.nav-item {
  position: relative;
  display: flex; align-items: center;
  padding: 0 13px 6px;
  font-family: var(--f-marca); font-size: 25px; letter-spacing: .03em; text-transform: uppercase;
  color: rgba(251,248,242,.5);
  transition: color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.nav-item[aria-selected="true"] { color: var(--espuma); }
.nav-item:active { transform: scale(.94); }
.nav-marca {           /* a ondinha que desliza até a categoria ativa */
  position: absolute; left: 0; bottom: 12px; height: 8px; width: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 4 Q 4 0 8 4 T 16 4' fill='none' stroke='%238CCBD8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 16px 8px;
  transition: transform .5s var(--ease), width .5s var(--ease);
  animation: ondula 1.6s linear infinite;
}
@keyframes ondula { to { background-position-x: 16px; } }

/* Voltar ao topo */
.topo {
  position: fixed; z-index: 19; right: 16px; bottom: calc(var(--nav-h) + var(--seguro) + 16px);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--espuma); color: var(--azul);
  box-shadow: 0 10px 26px -8px rgba(2,27,63,.45), 0 0 0 1px var(--linha);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.topo svg { width: 20px; height: 20px; }
.topo.mostra { opacity: 1; transform: none; pointer-events: auto; }

/* ============================ FOLHA DO PRODUTO ============================ */
.folha { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.folha.aberta { visibility: visible; }
.folha-fundo { position: absolute; inset: 0; background: rgba(2,27,63,.6); opacity: 0; transition: opacity .35s ease; }
.folha.aberta .folha-fundo { opacity: 1; }
.folha-painel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--areia);
  border-radius: 18px 18px 0 0;
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  padding-bottom: calc(20px + var(--seguro));
}
.folha.aberta .folha-painel { transform: none; }
.folha-painel.arrastando { transition: none; }
.folha-alca { position: absolute; z-index: 2; top: 9px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: rgba(251,248,242,.85); }
.folha-fechar {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(2,27,63,.5); color: var(--espuma);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.folha-fechar svg { width: 18px; height: 18px; }
.folha-foto { margin: 0; aspect-ratio: 1 / 1; max-height: 56svh; width: 100%; overflow: hidden; background: var(--areia-2); position: relative; }
.folha-foto img { width: 100%; height: 100%; object-fit: cover; }
.folha-foto::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 60 480 60 720 30 S 1200 0 1440 30 V60 H0Z' fill='%23F2EBDF'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.folha-corpo { padding: 8px 24px 0; }
.folha-kicker { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--mar); }
.folha-nome { margin: 16px 0 12px; font-family: var(--f-marca); font-weight: 400; font-size: 50px; line-height: .9; text-transform: uppercase; color: var(--azul); }
.folha-desc { margin: 0; font-size: 15px; color: var(--tinta-2); max-width: 44ch; }
.folha-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.folha-tags li {
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 10px; border: 1px solid var(--linha); color: var(--azul);
}
.folha-rodape {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--azul);
}
.preco--grande { font-size: 26px; }
.folha-demo { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-2); opacity: .7; }

/* ============================ RESSACA DA SEMANA ============================ */
.semana {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  color: var(--espuma);
  background: var(--azul-fundo);
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s;
  overflow-y: auto;
}
.semana.aberta { opacity: 1; visibility: visible; }
.semana-midia { position: fixed; inset: 0; }
.semana-midia img { width: 100%; height: 100%; object-fit: cover; animation: deriva 26s ease-in-out infinite alternate; }
.semana-midia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,70,96,.55), rgba(2,27,63,.7)); }
.semana-fechar {
  position: fixed; z-index: 2; top: max(16px, env(safe-area-inset-top)); right: 16px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(251,248,242,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.semana-fechar svg { width: 20px; height: 20px; }
.semana-in { position: relative; z-index: 1; width: min(100%, 460px); padding: 70px 24px 40px; }
.semana-titulo {
  margin: 0 0 28px; text-align: center;
  font-family: var(--f-marca); font-weight: 400; font-size: clamp(64px, 19vw, 96px); line-height: .85; text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(2,27,63,.4);
}
.semana-dias { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.semana-dias li {           /* as barras de vidro dos stories do Ressaca */
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 10px 18px;
  background: rgba(251,248,242,.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(251,248,242,.75);
  border-radius: 10px;
  color: var(--azul);
  font-family: var(--f-marca); text-transform: uppercase;
  box-shadow: 0 10px 24px -14px rgba(2,27,63,.6);
  opacity: 0; transform: translateX(-18px);
}
.semana.aberta .semana-dias li { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.15s + var(--i) * .08s); }
.semana-dia { font-size: 32px; line-height: 1; }
.semana-atracao { font-size: 25px; line-height: 1; text-align: right; }
.semana-nota { margin: 22px 0 0; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(251,248,242,.75); }
.semana-voltar {
  display: block; margin: 26px auto 0;
  font-family: var(--f-marca); font-size: 24px; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid currentColor; padding: 2px 4px;
}

/* ============================ DESKTOP ============================ */
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .capa { height: 66vh; max-height: 760px; }
  .capa-texto { left: 0; right: 0; margin: 0 auto; width: min(100% - 96px, 1120px); bottom: 84px; }
  .capa-topo { width: min(100% - 96px, 1120px); margin: 0 auto; padding-left: 0; padding-right: 0; padding-top: 26px; }
  .capa-logo img { width: 130px; }
  .capa-chamada { font-size: 16px; }
  .capa-onda { height: 70px; }
  .aviso-demo, .lista, .proxima { width: min(100% - 96px, 1120px); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
  .grupo-itens { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .item { grid-template-columns: 132px 1fr; }
  .item--destaque {
    grid-column: 1 / -1; margin: 0;
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
    padding: 24px 0 32px;
  }
  .item--destaque .item-foto { aspect-ratio: 5 / 4; }
  .item--destaque .item-foto::after { display: none; }
  .item--destaque .item-info { padding: 0; }
  .item--destaque .item-nome { font-size: 72px; }
  .item--destaque .selo { left: 16px; }
  .proxima-nome { font-size: 84px; }
  .nav { justify-content: center; }
  .nav-trilho { flex: 0 1 auto; -webkit-mask-image: none; mask-image: none; }
  .nav-item { font-size: 28px; padding: 0 18px 6px; }
  .folha { display: grid; place-items: center; }
  .folha-painel {
    position: relative; left: auto; right: auto; bottom: auto;
    width: min(920px, 92vw); max-height: 86vh;
    display: grid; grid-template-columns: 1fr 1fr;
    border-radius: 4px; padding-bottom: 0;
    transform: translateY(30px) scale(.98); opacity: 0;
    transition: transform .45s var(--ease), opacity .35s ease;
  }
  .folha.aberta .folha-painel { transform: none; opacity: 1; }
  .folha-alca { display: none; }
  .folha-foto { aspect-ratio: auto; max-height: none; height: 100%; min-height: 520px; }
  .folha-foto::after { display: none; }
  .folha-corpo { padding: 56px 44px 44px; align-self: center; }
  .folha-nome { font-size: 64px; }
}

@media (hover: hover) {
  .nav-item:hover { color: var(--espuma); }
  .unidade-mapa:hover { background: var(--mar-claro); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .revela { opacity: 1; transform: none; }
}
