/* 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%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
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) .15s both; }
.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; }
