/* Site da Retentus — enxuto: 3D, realidade aumentada e plaquinha. */
@font-face { font-family: "Geist"; src: url("/site/fonts/geist-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --branco: #ffffff;
  --nevoa: #f3f5f8;
  --linha: #e2e6ec;
  --tinta: #0a1f3d;
  --tinta2: #5a6474;
  --azul: #1d4fa3;
  --noite: #04122a;
  --creme: #ece6ce;
  --raio: 999px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
/* quem pede menos movimento no celular: nada se mexe, as coisas só aparecem suavemente (regras no fim do arquivo) */
body { margin: 0; background: var(--branco); color: var(--tinta); font: 400 17px/1.55 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { left: 12px; }
.largura { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

h1, h2 { margin: 0; font-weight: 640; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(48px, 11vw, 116px); }
h2 { font-size: clamp(40px, 8vw, 84px); }
.sub { margin: 22px auto 0; max-width: 34ch; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.45; color: var(--tinta2); text-wrap: pretty; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--raio); background: var(--tinta); color: #fff; font-weight: 560; font-size: 16px; text-decoration: none; transition: background .2s; }
.btn:hover { background: #163764; }
.btn-p { min-height: 36px; padding: 0 16px; font-size: 14px; }
.link { color: var(--azul); font-weight: 520; text-decoration: none; font-size: 16px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.acoes { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }

/* topo: peças flutuantes de vidro (logo, abas e botão) */
.topo { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.topo-in { width: min(1120px, calc(100% - 24px)); margin: 0 auto; display: flex; align-items: center; gap: 10px; position: relative; }
.marca, .nav, .menu-bt { pointer-events: auto; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(10,31,61,.08); box-shadow: 0 6px 24px -12px rgba(10,31,61,.25); }
.marca { display: flex; align-items: center; height: 46px; padding: 0 16px; border-radius: 16px; }
.marca img { width: 104px; height: auto; }
.topo .btn-p { pointer-events: auto; margin-left: auto; min-height: 46px; padding: 0 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 8px 22px -10px rgba(10,31,61,.55); }
.nav { display: none; }
.nav a { font-size: 14px; color: var(--tinta2); text-decoration: none; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--tinta); background: rgba(10,31,61,.06); }
.nav-cta { display: none; }
.menu-bt { display: none; }
/* celular: logo + botão de menu; as abas abrem num painel */
@media (max-width: 759px) {
  .topo .nav ~ .btn-p { display: none; }
  .menu-bt { display: grid; place-content: center; gap: 5px; margin-left: auto; width: 46px; height: 46px; border-radius: 16px; cursor: pointer; padding: 0; }
  .menu-bt span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--tinta); transition: transform .25s; }
  .menu-bt[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .menu-bt[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .nav { position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.97); }
  .nav.aberto { display: flex; animation: abre .22s ease both; }
  .nav a { font-size: 17px; color: var(--tinta); padding: 14px 16px; border-radius: 14px; }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 6px; background: var(--tinta); color: #fff; font-weight: 560; font-size: 16px; }
  .nav .nav-cta:hover { background: #163764; color: #fff; }
}
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) {
  .nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; position: absolute; left: 50%; transform: translateX(-50%); }
}

/* hero com o prato em 3D */
.hero { text-align: center; padding: calc(clamp(64px, 12vw, 132px) + 56px) 0 clamp(72px, 11vw, 120px); overflow: hidden; }
.palco3d { position: relative; width: min(820px, 96vw); margin: clamp(20px, 4vw, 44px) auto 0; animation: sobe 1.4s cubic-bezier(.2,.7,.1,1) .5s backwards; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.palco3d model-viewer { display: block; width: 100%; height: min(520px, 67vw); min-height: 260px; background: transparent; --poster-color: transparent; --progress-bar-color: transparent; }
@keyframes sobe { from { opacity: 0; transform: translateY(48px) scale(.94); } to { opacity: 1; transform: none; } }
.gire { margin: 4px 0 0; font-size: 13px; color: var(--tinta2); }
.escolhas { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
@media (min-width: 600px) { .escolhas { gap: 10px; } }
.escolha { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 10px 8px 9px; border-radius: 18px; border: 1px solid transparent; background: transparent; color: var(--tinta2); cursor: pointer; transition: background .2s, border-color .2s; }
.escolha img { width: 64px; height: 46px; object-fit: contain; }
@media (min-width: 600px) { .escolha { width: 104px; } .escolha img { width: 76px; height: 54px; } }
.escolha span { font-size: 13px; line-height: 1.2; }
.escolha:hover { background: var(--nevoa); }
.escolha[aria-pressed="true"] { background: var(--nevoa); border-color: var(--linha); color: var(--tinta); font-weight: 560; }

/* seções */
.secao { padding: clamp(84px, 13vw, 150px) 0; text-align: center; }
.claro { background: var(--nevoa); }
.escuro { background: var(--noite); color: var(--branco); overflow: hidden; }
.escuro .sub { color: rgba(236,230,206,.72); }

/* realidade aumentada: o prato sobre a mesa, com a mira da câmera */
.ra { position: relative; width: min(640px, 92vw); margin: clamp(36px, 6vw, 64px) auto 0; aspect-ratio: 16 / 11; }
.ra-plano { position: absolute; left: -30%; right: -30%; bottom: 4%; height: 70%; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(236,230,206,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(236,230,206,.3) 1px, transparent 1px); background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 60%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 60%, #000 30%, transparent 75%); }
.ra::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 14%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(236,230,206,.18), transparent); }
.ra-prato { position: absolute; left: 12%; width: 76%; bottom: 12%; z-index: 2; filter: drop-shadow(0 26px 30px rgba(0,0,0,.55)); }
.ra-canto { position: absolute; z-index: 3; width: 34px; height: 34px; border: 0 solid var(--creme); opacity: .9; }
.c1 { left: 6%; top: 10%; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 10px; }
.c2 { right: 6%; top: 10%; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 10px; }
.c3 { left: 6%; bottom: 4%; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 10px; }
.c4 { right: 6%; bottom: 4%; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 10px; }

/* plaquinha */
.duas { display: grid; gap: 56px; align-items: center; }
@media (min-width: 860px) { .duas { grid-template-columns: 1fr 1fr; gap: 72px; text-align: left; } .duas .sub { margin-left: 0; } }
.pq-vis { display: grid; place-items: center; padding: 30px 0; perspective: 900px; }
.pq { position: relative; width: clamp(200px, 52vw, 280px); aspect-ratio: 1; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(150deg, #11346a 0%, #0a2550 46%, #051634 100%); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 40px 60px -24px rgba(4,18,42,.55), 0 12px 18px -8px rgba(4,18,42,.35);
  transform: rotateX(16deg) rotateY(-20deg) rotateZ(2deg); }
.pq img { width: 30%; }
.pq-nfc { position: absolute; right: 13%; top: 12%; width: 18%; color: var(--creme); opacity: .85; }

/* contato */
.contato h2 { font-size: clamp(38px, 7vw, 72px); }

/* rodapé */
.rodape { border-top: 1px solid var(--linha); padding: 36px 0 44px; font-size: 14px; color: var(--tinta2); }
.rod-in { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.rod-in img { width: 104px; }
.rod-in nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rod-in a { text-decoration: none; }
.rod-in a:hover { color: var(--tinta); }
.copy { margin-top: 22px; font-size: 12.5px; }

/* política de privacidade */
.legal { max-width: 720px; padding: 124px 0 88px; }
.legal h1 { font-size: clamp(38px, 7vw, 60px); }
.legal h2 { font-size: clamp(22px, 3.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin-top: 40px; }
.legal p, .legal li { color: #2d3644; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .5em 0; }
.legal a { color: var(--azul); }
.legal-data { color: var(--tinta2); font-size: 14px; margin-top: 12px; }

/* ---------- movimento leve (some para quem pede menos movimento: regra no topo do arquivo) ---------- */
/* menu do celular: cresce a partir do botão; os itens entram em sequência; fecha encolhendo */
@media (max-width: 759px) {
  .nav { transform-origin: calc(100% - 23px) -10px; }
  .nav.aberto { animation: cresce .5s cubic-bezier(.2, .8, .2, 1) both; }
  .nav.fechando { animation: encolhe .22s ease-in both; }
  .nav.aberto a { animation: entra .5s cubic-bezier(.2, .8, .2, 1) both; }
  .nav.aberto a:nth-child(1) { animation-delay: .08s; } .nav.aberto a:nth-child(2) { animation-delay: .14s; }
  .nav.aberto a:nth-child(3) { animation-delay: .2s; } .nav.aberto a:nth-child(4) { animation-delay: .26s; }
  .nav.fechando a { animation: none; }
}
@keyframes cresce { from { opacity: 0; transform: scale(.8) translateY(-10px); filter: blur(16px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes encolhe { to { opacity: 0; transform: scale(.92) translateY(-6px); filter: blur(10px); } }
@keyframes entra { from { opacity: 0; transform: translateY(-10px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
/* véu: com o menu aberto, o site por trás fica embaçado (como no iPhone) */
.veu { position: fixed; inset: 0; z-index: 49; background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s, backdrop-filter .4s, -webkit-backdrop-filter .4s; }
.veu.on { opacity: 1; visibility: visible; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: opacity .4s, backdrop-filter .4s, -webkit-backdrop-filter .4s; }
@media (min-width: 760px) { .veu { display: none; } }
/* topo: ao rolar, as peças de vidro ganham um pouco mais de sombra */
.topo .marca, .topo .menu-bt, .topo .nav { transition: box-shadow .3s, background .3s; }
.topo.rolou .marca, .topo.rolou .menu-bt { box-shadow: 0 10px 30px -12px rgba(10, 31, 61, .35); background: rgba(255, 255, 255, .9); }
/* toque: botões afundam um pouco, como no iPhone */
.btn, .escolha, .menu-bt, .nav a { -webkit-tap-highlight-color: transparent; }
.btn:active, .escolha:active, .menu-bt:active { transform: scale(.96); }
.btn, .escolha, .menu-bt { transition: background .2s, border-color .2s, transform .15s; }
/* aparecer ao rolar (só quando o JS liga: sem JS, tudo aparece normal) */
.rev { opacity: 0; transform: translateY(44px) scale(.97); filter: blur(6px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s; }
.rev.visto { opacity: 1; transform: none; filter: none; }
.ra-3d.rev, .pq-vis.rev { filter: none; }
.secao .sub.rev { transition-delay: .12s; } .secao .acoes.rev { transition-delay: .24s; } .ra-3d.rev, .pq-vis.rev, .ra.rev { transition-delay: .18s; }
/* abertura do topo: o título sobe linha a linha, depois o texto, os botões, o prato e os pratinhos */
/* títulos: cada palavra sobe de trás de uma máscara, uma depois da outra (o JS separa as palavras) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.palavras .w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity .9s ease; transition-delay: var(--d, 0s); }
.palavras.visto .w > span { transform: none; opacity: 1; }
html { --atraso: 0s; } html.intro { --atraso: 1.55s; }
.hero .sub { animation: linha .9s cubic-bezier(.2, .8, .2, 1) calc(var(--atraso) + .45s) backwards; }
.hero .acoes { animation: linha .9s cubic-bezier(.2, .8, .2, 1) calc(var(--atraso) + .58s) backwards; }
.palco3d { animation-delay: calc(var(--atraso) + .5s) !important; }
.escolhas .escolha { animation: chip .6s cubic-bezier(.2, .9, .25, 1.25) backwards; }
.escolhas .escolha:nth-child(1) { animation-delay: calc(var(--atraso) + 1s); } .escolhas .escolha:nth-child(2) { animation-delay: calc(var(--atraso) + 1.07s); }
.escolhas .escolha:nth-child(3) { animation-delay: calc(var(--atraso) + 1.14s); } .escolhas .escolha:nth-child(4) { animation-delay: calc(var(--atraso) + 1.21s); }
/* abertura: tela branca, o símbolo desce embaçado e fica nítido, sobe de novo e a tela se abre */
.intro-tela { display: none; }
html.intro .intro-tela { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: #fff; pointer-events: none; animation: intro-abre .85s cubic-bezier(.76, 0, .24, 1) 1.3s forwards; }
html.intro .intro-tela img { width: 76px; height: 76px; animation: intro-desce .75s cubic-bezier(.2, .8, .2, 1) .1s backwards, intro-sobe .55s cubic-bezier(.6, 0, .8, .3) 1.05s forwards; }
@keyframes intro-desce { from { opacity: 0; transform: translateY(-36vh) scale(.9); filter: blur(14px); } }
@keyframes intro-sobe { to { opacity: 0; transform: translateY(-30vh) scale(.9); filter: blur(12px); } }
@keyframes intro-abre { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes linha { from { opacity: 0; transform: translateY(.7em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chip { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }
/* trocar de prato: o atual encolhe e some, o novo cresce no lugar */
.palco3d.trocando { opacity: .15; transform: scale(.86); }
.escolha[aria-pressed="true"] img { animation: pula .45s cubic-bezier(.2, .9, .25, 1.4); }
@keyframes pula { 40% { transform: translateY(-6px) scale(1.08); } }
/* plaquinha: as ondas de aproximação pulsam quando ela aparece */
.pq-vis.visto .pq-nfc path { animation: onda 2.4s ease-in-out infinite; }
.pq-vis.visto .pq-nfc path:nth-child(1) { animation-delay: 0s; }
.pq-nfc path { stroke-dasharray: none; }
.pq-vis.visto .pq { animation: pairar 6s ease-in-out infinite; }
@keyframes onda { 0%, 100% { opacity: .35; } 40% { opacity: 1; } }
@keyframes pairar { 0%, 100% { transform: rotateX(16deg) rotateY(-20deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateX(14deg) rotateY(-16deg) rotateZ(1deg) translateY(-8px); } }
/* realidade aumentada: a mira se fecha sobre o prato quando a seção aparece */
.ra.visto .ra-canto { animation: mira .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mira { from { opacity: 0; transform: scale(1.25); } to { opacity: .9; transform: none; } }

/* ---------- Na mesa: o prato em 3D e o botão "Ver na mesa" ---------- */
.ra-3d { position: relative; width: min(640px, 92vw); margin: clamp(30px, 5vw, 56px) auto 0; }
.ra-3d[hidden] { display: none; }
.ra-3d model-viewer { display: block; width: 100%; height: min(440px, 80vw); min-height: 260px; background: radial-gradient(ellipse 60% 40% at 50% 78%, rgba(236, 230, 206, .14), transparent 70%); --poster-color: transparent; --progress-bar-color: transparent; }
.btn-mesa { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: var(--creme); color: var(--noite); gap: 8px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.btn-mesa:hover { background: #fff; }
.btn-mesa::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M12 12l8-4.5M12 12v9M12 12L4 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M12 12l8-4.5M12 12v9M12 12L4 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-mesa:active { transform: translateX(-50%) scale(.96); }
.ra-dica { display: none; margin: 10px 0 0; font-size: 14px; color: rgba(236, 230, 206, .7); }
.ra-3d.sem-ra .ra-dica { display: block; }

/* menos movimento: nada desliza nem gira, só aparece com um esmaecer curto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { transform: none !important; filter: none !important; transition: opacity .6s ease !important; }
  html.intro .intro-tela { animation: intro-some .6s ease 1.1s forwards; }
  html.intro .intro-tela img { animation: so-aparece .5s ease .1s backwards; }
  .palavras .w > span { transform: none !important; transition: opacity .6s ease !important; }
  .hero .sub, .hero .acoes, .escolhas .escolha, .palco3d, .nav.aberto, .nav.aberto a, .ra.visto .ra-canto { animation-name: so-aparece !important; }
  .pq-vis.visto .pq, .pq-vis.visto .pq-nfc path, .escolha[aria-pressed="true"] img { animation: none !important; }
  .palco3d.trocando { transform: none; }
  .btn:active, .escolha:active, .menu-bt:active { transform: none; }
}
@keyframes so-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-some { to { opacity: 0; visibility: hidden; } }
