/* ODRE | Showroom digital B2B
   Paleta do manual: preto #000000 e caramelo #996633. O verde saiu das superfícies (out/2026).
   Auxiliares: linho #F5F1E8, areia #E7E3D6 e noite #16130F (o couro preto da coleção).
   Títulos em Bodoni Moda; texto em Inter. Assinatura: o corte horizontal do logo. */

@font-face {
  font-family: "Inter ODRE";
  src: url("../fonts/inter-var.woff2") format("woff2-variations"), url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-var.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic-var.woff2") format("woff2-variations"), url("../fonts/bodoni-moda-italic-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* espessura do corte do logo, animável */
@property --corte {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

:root {
  --preto: #000000;
  --caramelo: #996633;
  --caramelo-claro: #c08a52;
  --caramelo-texto: #85582B; /* texto pequeno em fundo claro: #996633 dá 4,3:1, este dá 5,4:1 */
  --off: #F5F1E8;
  --areia: #E7E3D6;
  --areia-2: #DDD6C6;
  --noite: #16130F;
  --noite-2: #221C16;
  --branco: #FFFFFF;

  --ink: var(--noite);
  --ink-soft: rgba(22, 19, 15, .68);
  --line: rgba(22, 19, 15, .14);

  --font: "Inter ODRE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --fs-micro: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.3125rem;
  --fs-lg: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
  --fs-xl: clamp(2.375rem, 1.4rem + 3.4vw, 4.375rem);
  --fs-xxl: clamp(3rem, 1.2rem + 6vw, 7rem);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --sec-pad: clamp(80px, 11vw, 168px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  /* sem isso a Bodoni afina os traços finos nos títulos grandes e eles somem no creme */
  font-optical-sizing: none;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px;
  background: var(--noite); color: var(--off); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- tipografia ---------- */
.h-display {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
  max-width: 18ch;
}
.lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--caramelo-texto);
  margin-bottom: 24px;
}
.explorar .kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.tom-marca { color: var(--caramelo); } /* só em texto grande: o caramelo não passa contraste em texto pequeno */
.micro { font-size: var(--fs-micro); line-height: 1.5; color: var(--ink-soft); }
.sec-head { display: grid; gap: 0; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .lead { margin-top: 24px; }

/* ---------- botões ---------- */
.btn {
  --b-bg: var(--noite); --b-fg: var(--off); --b-bd: var(--noite);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border-radius: 1px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
  /* preenchimento: um círculo nasce no centro e cobre o botão (mesmo efeito da LP da Dra. Paula, cantos retos) */
  --b-fill: var(--caramelo); --b-fill-fg: var(--off);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 20px; height: 20px; margin: -10px; border-radius: 50%;
  background: var(--b-fill); transform: scale(0); transition: transform .7s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--b-fill-fg); border-color: var(--b-fill); }
/* 30 × 20px = 600px: cobre até o botão mais largo (envio do formulário, ~480 × 52) */
.btn:hover::before, .btn:focus-visible::before { transform: scale(30); }
.btn-sm { min-height: 40px; padding: 0 18px; letter-spacing: .12em; }
.btn-block { width: 100%; }
.btn-dark { --b-bg: var(--noite); --b-fg: var(--off); --b-bd: var(--noite); }
.btn-light { --b-bg: var(--off); --b-fg: var(--noite); --b-bd: var(--off); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--noite); --b-bd: rgba(22, 19, 15, .4); --b-fill: var(--noite); }
.btn-ghost-light { --b-bg: transparent; --b-fg: var(--off); --b-bd: rgba(245, 241, 232, .45); --b-fill: var(--off); --b-fill-fg: var(--noite); }
.btn-caramelo { --b-bg: var(--caramelo); --b-fg: var(--branco); --b-bd: var(--caramelo); --b-fill: var(--off); --b-fill-fg: var(--noite); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(22, 19, 15, .2); background: transparent; color: var(--noite);
  font-size: 1.25rem; line-height: 1;
}
.icon-btn:hover { border-color: currentColor; }
.icon-btn-light { color: var(--off); border-color: rgba(245, 241, 232, .3); }
.x { position: relative; width: 16px; height: 16px; }
.x::before, .x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.reset { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; }

/* ---------- logo ---------- */
.logo { width: 100%; height: auto; aspect-ratio: 453.2 / 151.09; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--noite);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(245, 241, 232, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  box-shadow: 0 1px 0 rgba(22, 19, 15, .08);
}
.header-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; width: 92px; flex: none; color: inherit; transition: color .35s var(--ease); }
.brand:hover, .brand:focus-visible { color: var(--caramelo); }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 32px; }
.nav-list a { font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
/* rolagem: o texto sobe e uma cópia em caramelo (sombra do próprio texto) entra por baixo; o hover fica no li para não piscar */
@media (min-width: 861px) {
  .nav-list li { overflow: hidden; }
  .nav-list a {
    --roll: calc(1.2em + 16px);
    display: block; line-height: 1.2;
    text-shadow: 0 var(--roll) 0 var(--caramelo-texto);
    transition: translate .55s var(--ease-io);
  }
  .nav-list li:hover a, .nav-list li:focus-within a { translate: 0 calc(var(--roll) * -1); }
  .nav-list a:focus-visible { outline: none; }
  .nav-list li:has(a:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }
}
.site-header .btn-header { --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor; --b-fill: var(--noite); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border: 0; background: none; color: inherit; padding: 0;
  }
  .nav-toggle-bars, .nav-toggle-bars::before {
    display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
    transition: transform .3s var(--ease);
  }
  .nav-toggle-bars::before { content: ""; position: absolute; top: 7px; left: 0; }
  .nav-toggle-bars { transform: translateY(-3.5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(0) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-7px) rotate(-90deg); }
  .nav-list {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--off); color: var(--noite);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 0; font-family: var(--serif); font-size: var(--fs-lg); letter-spacing: 0; text-transform: none; background: none; }
  .site-header:has(.nav-list.is-open) { background: var(--off); }
}
@media (max-width: 640px) {
  .btn-header { display: none; }
  .header-in { gap: 16px; }
}

/* ---------- palco (disco cortado do logo: usado pela seção 3D) ---------- */
.stage {
  --line: 64%;     /* altura da linha de corte */
  --disc: 80%;     /* diâmetro do disco */
  --ph: 66%;       /* altura da caixa do produto */
  --disc-c: var(--areia);
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
}
.stage-areia { --disc-c: var(--areia); }

.disc {
  position: absolute; left: 50%; top: var(--line);
  width: var(--disc); aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 0;
}
.disc-top, .disc-bottom {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--disc-c);
}
/* o corte horizontal do logo: 7,8% do diâmetro */
.disc-top { clip-path: inset(0 0 53.9% 0); }
.disc-bottom { clip-path: inset(53.9% 0 0 0); }

.stage-product {
  position: absolute; left: 50%;
  bottom: calc(100% - var(--line) - var(--ph) * .04);
  height: var(--ph); aspect-ratio: 4 / 5;
  translate: -50% var(--py, 0px);
  z-index: 2;
  clip-path: inset(-20% -20% 4% -20%);
}
.stage-product .product-pic {
  position: absolute; inset: 0;
  transition: opacity .4s var(--ease);
}
.stage-product .product-pic img { width: 100%; height: 100%; object-fit: contain; }
.stage-product .product-pic.is-leaving { opacity: 0; }
.stage-product .product-pic.is-entering { opacity: 0; }

/* sombra de contato sobre a linha */
.stage::after {
  content: ""; position: absolute; z-index: 1;
  left: 50%; top: var(--line); translate: -50% -50%;
  width: calc(var(--ph) * .62); height: 3.2%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* ---------- hero ---------- */
/* fundo = cor do estúdio da foto, para a imagem se fundir na página */
.hero {
  --hero-bg: #EFE8D9;
  position: relative;
  background: var(--hero-bg); color: var(--noite);
  min-height: max(100svh, 640px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; z-index: -1; left: 0; top: 0; bottom: 0;
  height: 100%; aspect-ratio: 1; max-width: 64%;
  translate: 0 calc(var(--py, 0%) * .5);
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 99%);
  mask-image: linear-gradient(to right, #000 70%, transparent 99%);
}
.hero-pic, .hero-pic img { width: 100%; height: 100%; }
.hero-pic img { object-fit: cover; object-position: 30% 50%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero-copy { grid-column: 2; position: relative; padding-block: 48px; }

/* assinatura: a primeira linha do título leva o corte horizontal do logo, na mesma proporção
   (só a primeira: nas demais o corte cai na altura de um tachado) */
.hero-tag {
  --corte: .05em;
  font-family: var(--serif);
  /* teto de 6rem: a coluna para de crescer em 1360px e "A sua também." (~6,1em) precisa caber numa linha */
  font-size: clamp(3rem, 1rem + 4.6vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: -.02em;
}
.hero-tag span { display: block; }
@media (min-width: 1024px) { .hero-tag span { white-space: nowrap; } }
.hero-tag span:first-child {
  -webkit-mask-image: linear-gradient(#000 0 .52em, transparent .52em calc(.52em + var(--corte)), #000 calc(.52em + var(--corte)));
  mask-image: linear-gradient(#000 0 .52em, transparent .52em calc(.52em + var(--corte)), #000 calc(.52em + var(--corte)));
}
.hero-tag span:last-child { font-style: italic; color: var(--caramelo); }
.hero-h1 {
  margin-top: 36px; max-width: 38ch;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.6;
  color: var(--ink-soft);
}
.hero .actions { margin-top: 40px; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding-bottom: 28px;
  font-size: var(--fs-micro);
}
.hero-ref { font-family: var(--serif); font-size: var(--fs-sm); }
.hero-ref span { font-family: var(--font); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; margin-right: 10px; color: var(--caramelo-texto); }
.hero-micro { color: var(--ink-soft); text-align: right; }

@media (prefers-reduced-motion: no-preference) {
  .hero-tag { animation: corte 1.4s var(--ease-io) both .5s; }
  .hero-tag span, .hero-h1, .hero .actions, .hero-foot { animation: rise 1.1s var(--ease) both; }
  .hero-tag span + span { animation-delay: .1s; }
  .hero-h1 { animation-delay: .2s; }
  .hero .actions { animation-delay: .3s; }
  .hero-foot { animation-delay: .5s; }
  .hero-media { animation: fade 1.6s var(--ease) both; }
}
@keyframes corte { from { --corte: 0px; } to { --corte: .05em; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .hero { min-height: auto; grid-template-rows: auto auto auto; }
  .hero-media {
    position: relative; z-index: 0; height: auto; width: 100%; max-width: none;
    aspect-ratio: 1 / 1; margin-top: var(--header-h);
    translate: none; overflow: hidden;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 78%, transparent);
    mask-image: linear-gradient(transparent, #000 14%, #000 78%, transparent);
  }
  /* a bolsa fica a ~40% da foto quadrada: amplia 25% e sobe 12% para centralizá-la sem cortar a base */
  .hero-pic img { width: 125%; height: 125%; max-width: none; margin-top: -12%; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 0; position: relative; }
  .hero-copy { grid-column: 1; padding-block: 0 40px; }
  .hero-tag { font-size: clamp(2.75rem, 1.4rem + 6.4vw, 4.5rem); }
  .hero-h1 { margin-top: 24px; }
  .hero .actions { margin-top: 28px; }
  .hero-foot { flex-direction: column; align-items: start; gap: 6px; }
  .hero-micro { text-align: left; }
}

/* ---------- coleção (índice tipográfico + painel com a peça em foco) ---------- */
.colecao { background: var(--off); padding-block: var(--sec-pad); }
.col-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
  gap: 32px clamp(32px, 5vw, 96px); margin-bottom: clamp(48px, 6vw, 88px);
}
.col-micro { margin-top: 20px; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo-texto); }

.col-body {
  --g: clamp(40px, 8vw, 160px);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--g); align-items: start;
}
.col-list { grid-column: 1; grid-row: 1; }
.col-stage { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 4 / 5; }
/* sombra de contato sob a peça */
.col-stage::after {
  content: ""; position: absolute; left: 50%; top: 96%; translate: -50% -50%; width: 70%; height: 3%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.col-item { border-top: 1px solid var(--line); }
.col-item:last-child { border-bottom: 1px solid var(--line); }
.col-link {
  display: grid; grid-template-columns: 7.5rem max-content minmax(0, 1fr); align-items: baseline; gap: 24px;
  padding: clamp(16px, 1.8vw, 26px) 0; text-decoration: none; color: inherit;
}
.col-num { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--caramelo-texto); }
.col-name {
  font-family: var(--serif); font-size: clamp(2.25rem, 1.1rem + 3.2vw, 4.25rem); line-height: 1; letter-spacing: -.015em;
  padding-right: 14px; /* espaço do deslize no hover, para o nome não encostar na frase */
  transition: color .35s var(--ease), translate .5s var(--ease);
}
.col-title { font-family: var(--serif); font-style: italic; font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-soft); text-align: right; }
.col-link:hover .col-name, .col-link:focus-visible .col-name { color: var(--caramelo); translate: 14px 0; }

/* foto da peça: fica sobre o painel; aparece a do nome em foco, ou a primeira */
.col-pic {
  position: absolute; z-index: 1; right: 0; top: 0;
  width: calc((100% - var(--g)) * 5 / 12); aspect-ratio: 4 / 5;
  opacity: 0; translate: 0 3%; pointer-events: none;
  transition: opacity .45s var(--ease), translate .6s var(--ease);
}
.col-pic .prod-pic { inset: 0; } /* a foto tem ~4% de respiro embaixo; a sombra fica em 96% */
.col-item:hover .col-pic,
.col-link:focus-visible + .col-pic,
.col-list:not(:hover):not(:has(:focus-visible)) .col-item:first-child .col-pic { opacity: 1; translate: 0 0; }

@media (max-width: 1023px) {
  .col-head, .col-body { grid-template-columns: 1fr; }
  .col-stage { display: none; }
  .col-item { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: center; gap: 16px; }
  .col-link { grid-template-columns: 1fr; gap: 6px; }
  .col-title { text-align: left; }
  .col-pic { position: relative; width: 84px; opacity: 1; translate: none; background: var(--areia); }
  .col-pic .prod-pic { inset: 10% 8% 6%; }
}

/* ---------- showroom ---------- */
.show { position: relative; padding-block: clamp(64px, 8vw, 128px); }
.tema-off { background: var(--off); color: var(--noite); }
.tema-areia { background: var(--areia); color: var(--noite); }
/* .tema-verde fica como nome de classe (seção 3D e Reserve) e agora é escura, sem verde */
.tema-preto, .tema-verde { background: var(--noite); color: var(--off); --ink-soft: rgba(245, 241, 232, .72); --line: rgba(245, 241, 232, .16); }

.show-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: clamp(32px, 6vw, 112px);
}
.show-flip .show-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.show-flip .show-stage { order: 2; }
/* sem painel nem linha: a peça fica solta no fundo da seção, só com a sombra de contato */
.show-stage {
  --line: 90%; --ph: 82%;
  width: 100%; aspect-ratio: 5 / 6;
}
.show-info { max-width: 500px; }
.show-flip .show-info { justify-self: end; }
.show-name { display: grid; gap: 14px; }
.show-line { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--caramelo-texto); }
.tema-preto .show-line, .tema-verde .show-line { color: var(--caramelo-claro); }
.show-model { font-family: var(--serif); font-size: var(--fs-xxl); font-weight: 400; line-height: .92; letter-spacing: -.02em; }
.show-title { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: var(--fs-lg); line-height: 1.2; text-wrap: balance; }
.show-desc { margin-top: 18px; color: var(--ink-soft); text-wrap: pretty; }
.show-build { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-soft); }
.choice { margin-top: 32px; }
.choice legend { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; padding: 0; }
.choice + .choice { margin-top: 24px; }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -6px 10px rgba(0, 0, 0, .18);
  outline: 1.5px solid transparent; outline-offset: 4px;
  transition: outline-color .25s var(--ease), transform .25s var(--ease);
}
.swatch-preto { --sw: #16130f; }
.swatch-cafe { --sw: #3a271d; }
.swatch-conhaque { --sw: #8c4524; }
.swatch-caramelo { --sw: #b8793a; }
.swatch-consulta .swatch-dot { outline: 1.5px dashed currentColor; outline-color: color-mix(in srgb, currentColor 45%, transparent); outline-offset: 4px; }
.swatch:hover .swatch-dot { transform: scale(1.06); }
.swatch input:checked + .swatch-dot { outline-style: solid; outline-color: currentColor; }
.swatch input:focus-visible + .swatch-dot { outline: 2px solid currentColor; outline-offset: 6px; }
.swatch-status { margin-top: 12px; font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.swatch-status [data-color-name] { font-family: var(--serif); font-style: italic; font-size: var(--fs-md); }
.swatch-note { color: var(--ink-soft); font-size: var(--fs-micro); }

.segment { display: inline-flex; border: 1px solid var(--line); padding: 4px; gap: 4px; }
.segment-opt { position: relative; }
.segment-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segment-opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  font-size: var(--fs-sm); transition: background-color .25s var(--ease), color .25s var(--ease);
}
.segment-opt input:checked + span { background: var(--off); color: var(--noite); font-weight: 500; }
.tema-off .segment-opt input:checked + span, .tema-areia .segment-opt input:checked + span { background: var(--noite); color: var(--off); }
.segment-opt input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }

.traits { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; font-size: var(--fs-sm); }
.traits li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.show .actions { margin-top: 36px; }


/* entrada: o produto nasce da linha */
@media (prefers-reduced-motion: no-preference) {
  .js .show-stage .stage-product > .product-pic:only-child,
  .js .show-stage .stage-product > .product-pic:first-child { transform: translateY(26%); opacity: 0; }
  .js .show-stage.is-in .stage-product > .product-pic { transform: none; opacity: 1; transition: transform 1.3s var(--ease), opacity .9s var(--ease); }
  .js .show-stage.is-in .stage-product > .product-pic.is-entering,
  .js .show-stage.is-in .stage-product > .product-pic.is-leaving { opacity: 0; transition: opacity .4s var(--ease); }
}

@media (max-width: 1023px) {
  .show-grid, .show-flip .show-grid { grid-template-columns: 1fr; gap: 32px; }
  .show-flip .show-stage { order: 0; }
  .show-flip .show-info { justify-self: start; }
  .show-info { max-width: 560px; display: flex; flex-direction: column; }
  .show-info > * { order: 2; }
  .show-info > .show-name { order: 0; }
  .show-info > .choice-cor { order: 1; margin-top: 8px; }
  .show-stage { width: min(100%, 560px); justify-self: center; }
  /* celular: nome e frase de cada modelo centralizados */
  .show-name, .show-title { text-align: center; justify-items: center; }
}

/* ---------- capítulo fechado (no lugar do 3D): o botão abre o visualizador de fotos ---------- */
.capitulo { position: relative; overflow: hidden; background: var(--noite); color: var(--off); padding-block: var(--sec-pad); }
/* a peça (recorte de estúdio) ocupa a metade direita, nítida; no celular vira fundo esmaecido */
.cap-bg { position: absolute; inset: 6% var(--gutter) 6% 52%; }
.cap-bg .fill-pic img { object-fit: contain; }
@media (max-width: 1023px) {
  /* celular: a peça vira fundo esmaecido, centralizada atrás do texto */
  .cap-bg { inset: 0; opacity: .28; }
  .cap-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .cap-title { max-width: 12ch; }
  .cap-teaser { margin-inline: auto; }
}
.cap-in { position: relative; z-index: 1; }
.capitulo .kicker { color: var(--caramelo-claro); }
.cap-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 1rem + 6vw, 7.5rem); line-height: .98; letter-spacing: -.015em; max-width: 11ch; text-wrap: balance; }
.cap-teaser { margin-top: 32px; font-size: var(--fs-md); line-height: 1.55; color: rgba(245, 241, 232, .78); max-width: 40ch; }
.cap-open {
  margin-top: 48px; display: inline-flex; align-items: center; gap: 16px;
  background: none; border: 0; padding: 0; color: var(--off);
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.cap-ring {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(192, 138, 82, .6); transition: transform .5s var(--ease), border-color .3s var(--ease);
}
.cap-ring::before, .cap-ring::after { content: ""; position: absolute; background: var(--off); }
.cap-ring::before { width: 14px; height: 1px; }
.cap-ring::after { width: 1px; height: 14px; }
.cap-open:hover .cap-ring, .cap-open:focus-visible .cap-ring { transform: rotate(90deg); border-color: var(--caramelo-claro); }

/* ---------- explorar em 3D ---------- */
.explorar { padding-block: var(--sec-pad); }
.explorar .kicker { color: var(--off); }
.explorar-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center; gap: clamp(32px, 5vw, 96px);
}
.explorar-media { min-width: 0; }
.explorar-stage { --line: 68%; --disc: 86%; --ph: 72%; width: 100%; }
.explorar-stage .stage-product { transition: opacity .5s var(--ease); }
.explorar-stage::after { transition: opacity .5s var(--ease); }
/* o modelo ocupa a área acima da linha, como a foto: a base apoia no corte do disco */
.x3d-mount { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: calc(var(--line) + 2%); }
.x3d-mount model-viewer {
  display: block; width: 100%; height: 100%;
  background-color: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--caramelo);
  --progress-bar-height: 2px;
}
.x3d-mount model-viewer:focus-visible { outline: 2px solid var(--off); outline-offset: -2px; }
.explorar-stage.is-ready [data-x3d-poster],
.explorar-stage.is-ready::after { opacity: 0; }
.x3d-start { position: absolute; z-index: 4; left: 50%; bottom: 7%; translate: -50% 0; }
.x3d-reset { position: absolute; z-index: 4; right: 8px; top: 8px; }
.x3d-help { margin-top: 16px; text-align: center; font-size: var(--fs-micro); color: var(--ink-soft); }
.x3d-status { margin-top: 8px; text-align: center; font-size: var(--fs-sm); }
.x3d-status:empty { display: none; }
.explorar-info { max-width: 460px; }
.explorar-info .actions { margin-top: 32px; }
.x3d-choice { margin-top: 0; margin-bottom: 32px; }
.x3d-detail {
  background: none; border: 0; padding: 0; color: inherit; text-align: left;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.x3d-detail:hover { text-decoration-color: currentColor; }
.x3d-hotspot {
  position: relative; display: block; width: 28px; height: 28px; padding: 0;
  border-radius: 50%; border: 2px solid var(--off); background: var(--caramelo);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.x3d-hotspot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; } /* área de toque de 44px */
.x3d-hotspot:not([data-visible]) { opacity: .35; }
.x3d-hotspot:focus-visible { outline: 2px solid var(--off); outline-offset: 3px; }
.x3d-hotspot-label {
  position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%;
  padding: 6px 10px; border-radius: 4px; white-space: nowrap;
  background: var(--preto); color: var(--off); font-size: var(--fs-micro);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.x3d-hotspot.is-active .x3d-hotspot-label,
.x3d-hotspot:hover .x3d-hotspot-label,
.x3d-hotspot:focus-visible .x3d-hotspot-label { opacity: 1; }

@media (max-width: 1023px) {
  .explorar-grid { grid-template-columns: 1fr; gap: 28px; }
  .explorar-media { width: min(100%, 560px); justify-self: center; }
  .explorar-info { max-width: 560px; }
}

/* ---------- personalização ---------- */
.perso { background: var(--off); padding-block: var(--sec-pad); }
.perso-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.perso-step h3 { margin-top: 28px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; line-height: 1.1; }
.perso-step p { margin-top: 10px; color: var(--ink-soft); max-width: 34ch; }
.perso-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--areia); }
.prod-pic { position: absolute; inset: 12% 10% 6%; }
.prod-pic img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.fill-pic { position: absolute; inset: 0; }
.fill-pic img { width: 100%; height: 100%; object-fit: cover; }
.perso-foot { margin-top: clamp(48px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (max-width: 860px) {
  .perso-steps { grid-template-columns: 1fr; gap: 48px; }
  .perso-media { max-width: 520px; }
}

/* ---------- detalhes (lupa: foto central + recortes circulares) ---------- */
.detalhes { background: var(--areia); padding-block: var(--sec-pad); }
.det-head { display: grid; justify-items: center; text-align: center; }
.det-head .h-display { margin-inline: auto; }
.det-head .lead { margin-top: 24px; margin-inline: auto; font-size: var(--fs-base); }

.lupa {
  --dot: clamp(96px, 8.5vw, 140px);
  --reach: clamp(32px, 3.5vw, 56px);   /* vão entre o círculo e a foto */
  --foto: 36cqw;                       /* largura da foto central */
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1fr) 36% minmax(0, 1fr);
  grid-template-areas: "l m r";
  margin-top: clamp(56px, 7vw, 96px);
}
/* posição de cada detalhe na foto 3/4 da Carry (fração da largura e da altura) */
.lupa-ziper-sup { --x: .5; --y: .308; }
.lupa-textura { --x: .36; --y: .6; }
.lupa-base { --x: .45; --y: .892; }
.lupa-alca { --x: .565; --y: .07; }
.lupa-ziper-vert { --x: .728; --y: .436; }
.lupa-costuras { --x: .79; --y: .856; }
.lupa-main { grid-area: m; position: relative; aspect-ratio: 4 / 5; }
/* legenda logo abaixo da foto, fora da área que define a posição dos pontos */
.lupa-main figcaption { position: absolute; left: 0; right: 0; top: 100%; margin-top: 16px; text-align: center; font-family: var(--serif); font-size: var(--fs-md); }
.lupa-main figcaption span, .lupa-t span {
  display: block; margin-top: 4px;
  font-family: var(--font); font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.lupa-main figcaption span { color: var(--ink-soft); }
.lupa-side { position: relative; z-index: 2; }
.lupa-l { grid-area: l; }
.lupa-r { grid-area: r; }
.lupa-item {
  position: absolute; top: calc(var(--y) * 100%); translate: 0 -50%;
  display: grid; align-items: center; gap: clamp(14px, 1.6vw, 24px);
}
.lupa-l .lupa-item { left: 0; right: var(--reach); grid-template-columns: minmax(0, 1fr) var(--dot); text-align: right; }
.lupa-r .lupa-item { right: 0; left: var(--reach); grid-template-columns: var(--dot) minmax(0, 1fr); }
.lupa-l .lupa-t { order: -1; }
.lupa-dot {
  position: relative; display: block; width: var(--dot); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; background: var(--noite);
  box-shadow: 0 0 0 1px rgba(22, 19, 15, .12), 0 14px 30px -18px rgba(22, 19, 15, .6);
}
.lupa-t { font-family: var(--serif); font-size: var(--fs-md); line-height: 1.2; }
/* linha do círculo até o detalhe na foto */
.lupa-item::before, .lupa-item::after { content: ""; position: absolute; top: 50%; pointer-events: none; }
.lupa-item::before { height: 1px; background: var(--noite); }
.lupa-item::after { width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--caramelo); box-shadow: 0 0 0 2px var(--off); }
.lupa-l .lupa-item::before { left: 100%; width: calc(var(--reach) + var(--x) * var(--foto)); }
.lupa-l .lupa-item::after { left: calc(100% + var(--reach) + var(--x) * var(--foto) - 4px); }
.lupa-r .lupa-item::before { right: 100%; width: calc(var(--reach) + (1 - var(--x)) * var(--foto)); }
.lupa-r .lupa-item::after { right: calc(100% + var(--reach) + (1 - var(--x)) * var(--foto) - 4px); }
.lupa-dot img, .lupa-main img { transition: transform 1.2s var(--ease); }
.lupa-item:hover .lupa-dot img { transform: scale(1.08); }


@media (max-width: 1023px) {
  .lupa { grid-template-columns: 1fr 1fr; grid-template-areas: "m m" "l r"; gap: 40px 16px; }
  .lupa-main { width: min(100%, 520px); justify-self: center; margin-bottom: 56px; }
  .lupa-l, .lupa-r { display: grid; align-content: start; gap: 32px; }
  .lupa-item { position: relative; top: auto; translate: none; }
  .lupa-l .lupa-item, .lupa-r .lupa-item { left: auto; right: auto; text-align: center; grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .lupa-l .lupa-t { order: 0; }
  .lupa-item::before, .lupa-item::after { display: none; }
  .lupa { --dot: clamp(96px, 30vw, 140px); }
}

/* ---------- corporate ---------- */
.corp { background: var(--off); padding-block: var(--sec-pad); }
/* cabeçalho na mesma grade de 4 colunas das fotos: o texto começa na borda da 3ª foto */
.corp-head, .corp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.corp-head { margin-bottom: clamp(48px, 6vw, 88px); text-align: center; }
.corp-head .kicker { justify-content: center; }
.corp-head .kicker { grid-column: 1 / -1; }
/* tamanho calculado para a linha em itálico caber inteira a partir de 1024px */
.corp-h { grid-column: 1 / -1; max-width: none; font-size: clamp(2.5rem, 1rem + 3.5vw, 4.25rem); line-height: 1.02; }
.corp-h span, .corp-h em { display: block; }
.corp-h em { color: var(--caramelo); }
/* quatro fotos iguais, alinhadas: as fotos já são 4:5 */
.corp-grid { row-gap: 48px; }
.corp-pic { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; }
.corp-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.corp-item:hover .corp-pic img { transform: scale(1.04); }
.corp-item h3 { margin-top: 22px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; line-height: 1.1; }
.corp-item p { margin-top: 8px; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 32ch; }
@media (max-width: 1023px) {
  .corp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) { .corp-grid { grid-template-columns: 1fr; } }

/* ---------- como funciona ---------- */
.como { background: var(--areia); padding-block: var(--sec-pad); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 40px); margin-bottom: clamp(48px, 5vw, 72px); }
.steps li { border-top: 1px solid var(--noite); padding-top: 22px; }
.step-n { display: block; font-family: var(--serif); font-size: clamp(2.75rem, 2rem + 2.6vw, 4.5rem); line-height: 1; color: var(--caramelo); font-variant-numeric: lining-nums; }
.steps h3 { margin-top: 28px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; line-height: 1.1; }
.steps p { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 28ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; }
  .step-n { grid-row: span 2; font-size: 2.75rem; }
  .steps h3 { margin-top: 2px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--off); padding-block: var(--sec-pad); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.faq-grid > * { min-width: 0; }
.h-faq { font-size: var(--fs-xl); max-width: 10ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--serif); font-size: var(--fs-md); font-weight: 400; line-height: 1.3; }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; color: var(--caramelo); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- final ---------- */
.final { background: var(--noite); color: var(--off); padding-block: var(--sec-pad); text-align: center; --ink-soft: rgba(245, 241, 232, .72); }
.final-in { display: grid; justify-items: center; }
.final-logo { width: clamp(180px, 22vw, 300px); color: var(--caramelo); margin-bottom: clamp(48px, 6vw, 80px); }
.kicker-light { color: var(--caramelo-claro); justify-content: center; }
.final .h-display { max-width: 16ch; font-size: var(--fs-xxl); line-height: .98; }
.final .lead { margin-top: 28px; margin-inline: auto; }
.final .actions { margin-top: 44px; }
.final .micro { margin-top: 24px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { background: var(--noite); color: var(--off); padding-block: 56px calc(40px + env(safe-area-inset-bottom)); font-size: var(--fs-sm); border-top: 1px solid rgba(245, 241, 232, .1); }
.footer-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; }
.footer-logo { width: 96px; color: var(--off); }
.footer-claim { font-family: var(--serif); font-style: italic; color: rgba(245, 241, 232, .8); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-links .linklike { color: rgba(245, 241, 232, .86); text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-column: 1 / -1; color: rgba(245, 241, 232, .55); font-size: var(--fs-micro); border-top: 1px solid rgba(245, 241, 232, .14); padding-top: 24px; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr; } }

/* ---------- CTA fixo no mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(245, 241, 232, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- formulário (painel lateral) ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; }
.drawer {
  margin: 0 0 0 auto; height: 100dvh; width: min(560px, 100vw);
  background: var(--off); color: var(--noite);
  box-shadow: -24px 0 48px rgba(0, 0, 0, .18);
  overscroll-behavior: contain;
}
.drawer::backdrop { background: rgba(22, 19, 15, .55); }
.drawer[open] { animation: drawerIn .45s var(--ease) both; }
.drawer[open]::backdrop { animation: fade .35s var(--ease) both; }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer-in { min-height: 100%; padding: 24px clamp(20px, 4vw, 40px) 40px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-title:focus { outline: none; }
.drawer-title { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; line-height: 1.1; }
.form-intro { margin: 20px 0 8px; color: var(--ink-soft); font-size: var(--fs-sm); }
.lead-form { display: grid; gap: 0; }
.field { display: grid; gap: 6px; margin-top: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid rgba(22, 19, 15, .28); border-radius: 2px;
  background: var(--branco); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--caramelo); box-shadow: 0 0 0 3px rgba(153, 102, 51, .22); }
.field [aria-invalid="true"] { border-color: #a32020; }
.field-err { font-size: var(--fs-micro); color: #a32020; min-height: 0; }
.field-err:empty { display: none; }
.field-check { grid-template-columns: 24px 1fr; align-items: start; gap: 4px 12px; margin-top: 24px; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--noite); }
.field-check label { font-weight: 400; font-size: var(--fs-sm); line-height: 1.5; }
.field-check .field-err { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 20px; padding: 14px 16px; border-radius: 2px; background: #f6e3e0; color: #7a1a12; font-size: var(--fs-sm); }
.form-actions { display: grid; gap: 10px; margin-top: 24px; }
.form-done { padding-top: 40px; display: grid; gap: 16px; justify-items: start; }
.form-done:focus { outline: none; }
.done-title { font-family: var(--serif); font-size: var(--fs-lg); }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- visualizador ---------- */
.viewer {
  width: 100vw; height: 100dvh; margin: 0;
  background: #0b0a09; color: var(--off);
}
.viewer::backdrop { background: #0b0a09; }
.viewer[open] { animation: fade .3s var(--ease) both; }
.viewer-in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); gap: 16px; }
.viewer-title { font-family: var(--serif); font-size: var(--fs-md); font-weight: 400; }
.viewer-stage {
  position: relative; overflow: hidden; touch-action: none; cursor: grab;
  background: radial-gradient(60% 60% at 50% 55%, #2a2622, #0b0a09);
  user-select: none; -webkit-user-select: none;
}
.viewer-stage:focus-visible { outline: 2px solid var(--off); outline-offset: -4px; }
.viewer-stage.is-panning { cursor: grabbing; }
.viewer-canvas { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.viewer-canvas picture { position: absolute; inset: 4%; transition: opacity .5s var(--ease); }
.viewer-canvas picture.is-photo { inset: 0; display: flex; align-items: center; justify-content: center; }
/* a foto de detalhe ocupa só o tamanho dela, para o canto arredondado cair na foto e não na caixa */
.viewer-canvas picture.is-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 12px; }
.viewer-canvas img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.viewer-canvas picture.is-leaving { opacity: 0; }
.viewer-help { text-align: center; font-size: var(--fs-micro); color: rgba(245, 241, 232, .6); padding: 10px var(--gutter) 0; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.viewer-thumbs { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.viewer-thumb {
  flex: none; display: grid; gap: 6px; justify-items: center;
  background: none; border: 0; padding: 4px; color: rgba(245, 241, 232, .7); font-size: var(--fs-micro);
}
.viewer-thumb span.t-img { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #24201c; outline: 1.5px solid transparent; outline-offset: 3px; }
.viewer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer-thumb span.t-3d { display: grid; place-items: center; font-size: var(--fs-sm); font-weight: 500; color: var(--off); }
.viewer-thumb[aria-selected="true"] { color: var(--off); }
.viewer-thumb[aria-selected="true"] span.t-img { outline-color: var(--off); }
@media (max-width: 599px) {
  .viewer-thumbs { flex-basis: 100%; overflow: visible; justify-content: center; }
  .viewer-thumb { font-size: 0; flex: 0 1 72px; min-width: 0; }
  .viewer-thumb span.t-img { width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; }
}
.viewer-zoom { display: flex; align-items: center; gap: 8px; }
.zoom-level { min-width: 52px; text-align: center; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.viewer model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; }

/* ---------- consentimento ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-inline: auto;
  display: grid; gap: 16px; padding: 20px;
  background: var(--noite); color: var(--off); border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  font-size: var(--fs-sm);
}
.consent a { color: var(--off); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) { .consent { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-child] > * { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js [data-reveal-child].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-child].is-visible > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-child].is-visible > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-child].is-visible > *:nth-child(4) { transition-delay: .24s; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  /* resposta curta ao hover (preenchimento do botão, rolagem do menu) continua, como na LP da Dra. Paula */
  .btn { transition-duration: .5s !important; }
  .btn::before { transition-duration: .7s !important; }
  .nav-list a { transition-duration: .55s !important; }
  /* trocas de foto: só opacidade, sem deslocamento — permitido em reduced-motion */
  .viewer-canvas picture { transition-duration: .5s !important; }
  .stage-product .product-pic { transition-duration: .4s !important; }
  .col-pic { transition-duration: .45s !important; }
  .corp-pic img { transition-duration: .8s !important; }
  .lupa-dot img, .lupa-main img { transition-duration: .8s !important; }
  /* scroll reveal: só opacidade, sem translate */
  .js [data-reveal] { transform: none !important; transition-duration: .5s !important; }
  .js [data-reveal-child] > * { transform: none !important; transition-duration: .4s !important; }
}

@media print {
  .site-header, .mobile-cta, .consent, dialog, .actions { display: none !important; }
  .hero, .show, .final { background: none !important; color: #000 !important; }
}

/* ---------- página legal ---------- */
.legal-head { padding-block: 24px; border-bottom: 1px solid var(--line); }
.legal-back { font-size: var(--fs-sm); color: var(--caramelo-texto); }
.legal-main { padding-block: 56px 96px; max-width: 760px; }
.legal-main .h-display { margin-bottom: 12px; }
.legal-main h2 { margin-top: 40px; font-family: var(--serif); font-size: var(--fs-md); font-weight: 400; }
.legal-main p { margin-top: 12px; color: var(--ink-soft); }

/* botões de ação centralizados */
.como .btn { display: flex; width: fit-content; margin-inline: auto; }
