/* Fluir — estilo comum a todas as páginas (cabeçalho, menu, rodapé, peças de papel, botões, transições).
   Cores = as do app (src/theme.ts): papel quente, lavanda, sálvia; as partes escuras usam o "papel ao entardecer"
   do modo escuro do próprio app. Letra = Georgia (a da marca) + a letra do sistema nos textinhos.
   Quem pede "reduzir movimento" no aparelho (ou desliga as animações no site) vê tudo parado e legível. */

@font-face { font-family: 'Gelasio'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/gelasio-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Gelasio'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/gelasio-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gelasio'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/gelasio-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Gelasio'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/gelasio-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --papel: #faf6ef; --papel-2: #f5f0e8; --cartao: #fffdf9; --tinta: #3b342a; --tinta-2: #766b56; --borda: #e8e2d5; --borda-2: #ded5c5;
  --lav: #8677c2; --lav-forte: #6c58ab; --lav-clara: #a596e0; --nevoa: #ece7f2;
  --salvia: #84a98c; --salvia-forte: #4f7a5a; --salvia-fita: rgba(143, 174, 154, .62);
  --noite: #1c1912; --noite-2: #26221a; --noite-borda: #3a3427; --bege: #e6d2a8; --bege-2: #a89d84;
  --serif: Georgia, 'Gelasio', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --topo-h: 76px;
  --margem: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--sans); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .5s ease, color .5s ease; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--lav-forte); color: #fff; padding: 10px 14px; border-radius: 10px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lav-forte); outline-offset: 3px; border-radius: 6px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ——— peças comuns ——— */
.rotulo { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); display: inline-flex; gap: 6px; align-items: center; }
.rotulo .ic-gota { fill: var(--lav); }
.ic-gota { width: 14px; height: 14px; fill: currentColor; flex: none; }
.ic-seta { width: 18px; height: 18px; flex: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); padding: 12px 18px; border-radius: 999px;
  text-decoration: none; border: 0; cursor: pointer; transition: background-color .3s, transform .3s; white-space: nowrap; }
.btn-lav { background: var(--lav-forte); color: #fff; }
.btn-lav:hover { background: #5b4897; }
.btn:active { transform: scale(.97); }
.papel { position: relative; background: var(--cartao); border: 1px solid var(--borda); border-radius: 6px;
  box-shadow: 0 1px 0 rgba(59, 52, 42, .04), 0 14px 34px -14px rgba(59, 52, 42, .28); color: var(--tinta); }
.fita { position: absolute; top: -11px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%) rotate(-3deg);
  background: var(--salvia-fita); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); z-index: 1; }
.seta-redonda { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lav-forte);
  color: #fff; transition: transform .35s cubic-bezier(.2, .8, .2, 1); flex: none; }
a:hover > .seta-redonda, .seta-redonda:hover { transform: rotate(-45deg) scale(1.06); }
.doodle { stroke: var(--lav); }
.doodle-estrela { position: absolute; width: 34px; height: 34px; }
.doodle-estrela .doodle { stroke: var(--salvia); }
.moldura { border-radius: clamp(14px, 1.8vw, 26px); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(59, 52, 42, .06), 0 24px 50px -24px rgba(59, 52, 42, .45); }
.moldura img { width: 100%; height: auto; }
[data-ampliar] { cursor: zoom-in; }
.alternar-anim { background: none; border: 1px solid currentColor; border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; opacity: .8; }
.alternar-anim:hover { opacity: 1; }

/* ——— transição em gota entre páginas ——— */
.transicao { position: fixed; inset: 0; z-index: 110; background: var(--lav); pointer-events: none; clip-path: circle(0% at 50% 50%); }
html.chegando:not(.calmo) .transicao { clip-path: circle(150% at 50% 50%); }

/* ——— topo fixo ——— */
.topo { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--topo-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 var(--margem); pointer-events: none; color: var(--tinta); transition: color .5s; }
.topo > * { pointer-events: auto; }
.topo-logo { display: block; }
.topo-logo .logo { height: 36px; width: auto; }
.topo-dir { display: flex; align-items: center; gap: 12px; }
.topo-idiomas { font: 500 12px var(--sans); letter-spacing: .1em; display: flex; gap: 8px; }
.topo-idiomas a { text-decoration: none; opacity: .62; }
.topo-idiomas a:hover { opacity: 1; }
.topo-idiomas b { color: var(--lav-forte); }
.topo-menu { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(59, 52, 42, .16); background: rgba(255, 253, 249, .82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; display: grid; place-content: center; gap: 6px; position: relative; z-index: 70; }
.topo-menu span { display: block; width: 18px; height: 1.6px; background: var(--tinta); border-radius: 2px; transition: transform .4s cubic-bezier(.7, 0, .2, 1); }
.topo-menu span:last-child { width: 12px; }
.topo-menu[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.topo-menu[aria-expanded="true"] span:last-child { width: 18px; transform: translateY(-3.8px) rotate(-45deg); }
html[data-topo="escuro"] .topo { color: var(--bege); }
html[data-topo="escuro"] .topo-idiomas b { color: var(--lav-clara); }
html[data-topo="escuro"] .topo-menu { background: rgba(38, 34, 26, .7); border-color: rgba(230, 210, 168, .2); }
html[data-topo="escuro"] .topo-menu span { background: var(--bege); }
html.menu-aberto .topo { color: var(--bege); z-index: 65; }
html.menu-aberto .topo-menu { background: transparent; border-color: rgba(230, 210, 168, .25); }
html.menu-aberto .topo-menu span { background: var(--bege); }
html.menu-aberto .topo-lista { opacity: 0; pointer-events: none; }

/* ——— menu de tela cheia ——— */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--noite); color: var(--bege); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 5vw; padding: calc(var(--topo-h) + 4vh) var(--margem) 28px; clip-path: circle(0% at calc(100% - 44px) 38px); }
.menu[hidden] { display: none; }
.menu-imgs { position: relative; border-radius: 22px; overflow: hidden; align-self: stretch; max-height: 74vh;
  background: radial-gradient(circle at 50% 58%, #f6f2fa 0, #e4dbf5 45%, #c5b8ea 100%); }   /* a Flu é translúcida: fundo claro, nunca escuro atrás dela */
.menu-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; opacity: 0; transform: scale(1.04);
  transition: opacity .5s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.menu-imgs img[src*="sala-"] { object-fit: cover; padding: 0; }
.menu-imgs img.on { opacity: 1; transform: none; }
.menu-links { display: flex; flex-direction: column; justify-content: center; }
.menu-links a { text-decoration: none; font: 400 clamp(36px, 5.2vw, 78px)/1.08 var(--serif); overflow: hidden; display: block; padding: .04em 0; width: fit-content; }
.menu-links a span { display: inline-block; position: relative; white-space: nowrap; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.menu-links a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; font-style: italic; color: var(--lav-clara); }
.menu-links a:hover span, .menu-links a:focus-visible span { transform: translateY(-100%); }
.menu-rodape { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font: 500 13px var(--sans); color: var(--bege-2); }
.menu-rodape a { text-decoration: none; }
.menu-rodape a:hover { color: var(--bege); }
.menu-idiomas { margin-left: auto; display: flex; gap: 8px; letter-spacing: .1em; }
.menu-idiomas b { color: var(--lav-clara); }

/* ——— formulário da lista de espera (lista.js) com o visual novo, em qualquer página ——— */
[data-alvo="lista"] .lf { text-align: left; max-width: 470px; margin: 28px 0 0; border-radius: 8px; padding: 22px 22px 18px; background: var(--cartao);
  border-color: var(--borda); box-shadow: 0 18px 44px -22px rgba(59, 52, 42, .35); }
[data-alvo="lista"]:not([data-manter-titulo]) .lf:has(input[type=email]) > h2,
[data-alvo="lista"]:not([data-manter-titulo]) .lf:has(input[type=email]) > p { display: none; }
[data-alvo="lista"] .lf h2 { font-family: var(--serif); font-weight: 400; }
[data-alvo="lista"] .lf input[type=email] { font-size: 16px; }
[data-alvo="lista"] .lf .lf-ap { justify-content: flex-start; }
[data-alvo="lista"] .lf button { background: var(--lav-forte); border-radius: 999px; }
[data-alvo="lista"] .lf .lf-ap label.on { background: var(--lav-forte); border-color: var(--lav-forte); }
[data-alvo="lista"] .lf a { color: var(--lav-forte); }
[data-alvo="lista"] .lf .lf-priv { font-size: 12.5px; }

/* ——— rodapé com a Flu 3D ——— */
.rodape { position: relative; padding: 0 clamp(8px, 1.4vw, 18px) clamp(8px, 1.4vw, 18px); }
.rodape-brilho { position: absolute; left: 0; right: 0; top: -38vh; height: 62vh; pointer-events: none;
  background: radial-gradient(75% 80% at 50% 100%, rgba(165, 150, 224, .62), rgba(165, 150, 224, .18) 45%, rgba(165, 150, 224, 0) 72%); }
.rodape-painel { position: relative; background: var(--noite); color: var(--bege); border-radius: clamp(22px, 3vw, 40px); padding: clamp(56px, 9vh, 100px) var(--margem) 22px; overflow: hidden; }
.rodape-compacto .rodape-painel { padding-top: 6px; }
.rodape-compacto .rodape-base { margin-top: 0; border-top: 0; }
.rodape-logo { width: 150px; margin: 0 auto; }
.rodape-logo svg { width: 100%; height: auto; overflow: visible; }
.rodape-grande { margin-top: 3vh; text-align: center; font: 400 clamp(46px, 7.4vw, 124px)/.95 var(--serif); letter-spacing: -.02em; }
.rodape-grande em { color: var(--lav-clara); }
.rodape-cols { display: grid; grid-template-columns: 1fr minmax(260px, 440px) 1fr; gap: 24px; align-items: end; margin-top: 4vh; }
.rodape-col { display: grid; gap: 6px; align-content: end; padding-bottom: 60px; }
.rodape-col .rotulo { color: var(--bege-2); margin-bottom: 6px; }
.rodape-col a { font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--serif); text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.rodape-col a:hover { background-size: 100% 1px; }
.rodape-col-dir { justify-items: end; text-align: right; }
.rodape-col-dir a[href^="mailto"] { font-size: clamp(15px, 1.2vw, 18px); font-family: var(--sans); }
.rodape-flu { position: relative; height: clamp(320px, 38vw, 470px); display: grid; justify-items: center; }
.rodape-flu::before { content: ''; position: absolute; left: 50%; bottom: 30px; width: 118%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244, 239, 250, .96) 0, rgba(226, 216, 246, .78) 34%, rgba(165, 150, 224, .32) 62%, rgba(165, 150, 224, 0) 100%); }
.flu3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.flu3d-reserva { position: absolute; bottom: 40px; height: 82%; width: auto; }
.rodape-flu.com-3d .flu3d-reserva { opacity: 0; transition: opacity .6s; }
.rodape-btn { position: absolute; bottom: 10px; left: 50%; translate: -50% 0; z-index: 2; box-shadow: 0 10px 30px -8px rgba(108, 88, 171, .7); }
.rodape-base { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--noite-borda); font: 500 12px var(--sans); color: var(--bege-2); }
.rodape-legal { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rodape-legal a, .rodape-idiomas a { text-decoration: none; }
.rodape-legal a:hover, .rodape-idiomas a:hover { color: var(--bege); }
.rodape-idiomas { display: flex; gap: 8px; letter-spacing: .1em; }
.rodape-idiomas b { color: var(--lav-clara); }

/* ——— telas ampliadas, vídeo, Flu comemorando ——— */
.zoom-caixa, .video-caixa { position: fixed; inset: 0; z-index: 90; background: rgba(28, 25, 18, .88); display: grid; place-items: center; padding: var(--margem); }
.zoom-caixa[hidden], .video-caixa[hidden] { display: none; }
.zoom-dentro { position: relative; height: min(88vh, 900px); display: grid; place-items: center; }
.zoom-dentro img { max-height: 100%; width: auto; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); background: #fff; }
.video-dentro { position: relative; width: min(1100px, 100%); }
.video-dentro video { width: 100%; border-radius: 10px; background: #000; }
.video-fechar { position: absolute; right: -6px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(230, 210, 168, .4); background: none; color: var(--bege); font-size: 26px; line-height: 1; cursor: pointer; }
.zoom-dentro .video-fechar { right: -56px; top: 0; }
.flu-viva { position: fixed; z-index: 95; left: 50%; bottom: 18px; translate: -50% 160%; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
  background: var(--cartao); border: 1px solid var(--borda); border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(59, 52, 42, .45); transition: translate .6s cubic-bezier(.2, 1.3, .3, 1); pointer-events: none; }
.flu-viva.on { translate: -50% 0; }
.flu-viva img { width: 54px; height: auto; }
.flu-viva p { font: italic 400 18px var(--serif); color: var(--tinta); white-space: nowrap; }

/* ——— celular ——— */
@media (max-width: 760px) {
  :root { --topo-h: 64px; }
  .topo-logo .logo { height: 30px; }
  .topo-idiomas { display: none; }
  .topo-lista { padding: 10px 13px; font-size: 13px; }
  .topo-lista .ic-gota { display: none; }
  .rodape-brilho { top: -22vh; height: 36vh; }
  .rodape-painel { padding-top: 44px; }
  .rodape-logo { width: 110px; }
  .rodape-grande { font-size: clamp(36px, 10.5vw, 46px); margin-top: 2vh; }
  .rodape-flu { height: 250px; }
  .rodape-col a { font-size: 19px; }
  .rodape-cols { grid-template-columns: 1fr 1fr; margin-top: 2vh; }
  .rodape-flu { grid-column: 1 / -1; grid-row: 1; }
  .rodape-col { padding-bottom: 0; }
  .rodape-base { justify-content: flex-start; }
  .menu { grid-template-columns: 1fr; padding-top: calc(var(--topo-h) + 2vh); }
  .menu-imgs { display: none; }
  .menu-idiomas { margin-left: 0; }
  .zoom-dentro .video-fechar { right: 0; top: -54px; }
  .zoom-dentro { height: min(78vh, 760px); }
}

/* ——— movimento reduzido (sistema) ou animações desligadas (botão do site) ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .transicao { display: none !important; }
}
html.calmo *, html.calmo *::before, html.calmo *::after { animation: none !important; transition-duration: .01ms !important; }
