/* Stuchi 3D · loja
   Paleta tirada dos materiais reais: grafite e folha (logo), sálvia (árvores), mostarda (estrela e porta-vela),
   branco PLA (fundo) e o vermelho do Natal (somente na coleção). Tipografia única: Bricolage Grotesque variável. */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2-variations'), url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --grafite: #2e302f;
  --grafite-2: #3b3e3c;
  --grafite-3: #535754;
  --folha: #4d6b2a;
  --folha-escura: #3c5420;
  --broto: #a6c255;
  --salvia: #6d7f62;
  --salvia-clara: #dfe5d8;
  --mostarda: #c99a35;
  --mostarda-clara: #f4e7c8;
  --papel: #eff1ec;
  --papel-2: #e6e9e2;
  --branco: #ffffff;
  --natal: #b8282e;
  --texto: #2e302f;
  --texto-suave: #5d625e;
  --linha: rgba(46, 48, 47, 0.14);
  --linha-forte: rgba(46, 48, 47, 0.28);
  --erro: #a32424;
  --ok: #3f6a2b;
  --raio-s: 6px;
  --raio: 12px;
  --raio-l: 22px;
  --sombra: 0 18px 40px -24px rgba(32, 36, 30, 0.45);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 72px;
  --t-rapida: 160ms;
  --t: 320ms;
  --curva: cubic-bezier(0.2, 0.7, 0.15, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: 'Bricolage', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-weight: 400;
  color: var(--texto);
  background: var(--papel);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--folha); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--folha-escura); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--salvia-clara); }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; font-stretch: 84%; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); line-height: 0.96; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-stretch: 90%; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.5; color: var(--texto-suave); max-width: 60ch; }
.small { font-size: 0.875rem; }
.muted { color: var(--texto-suave); }
.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--grafite); color: #fff; border-radius: var(--raio-s); }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ botões */
.btn {
  --bg: var(--folha); --fg: #fff; --bd: var(--folha);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.35em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 600; font-stretch: 92%; line-height: 1.1;
  transition: background var(--t-rapida), color var(--t-rapida), border-color var(--t-rapida), transform var(--t-rapida);
  white-space: nowrap;
}
.btn:hover { --bg: var(--folha-escura); --bd: var(--folha-escura); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; }
.btn-ghost { --bg: transparent; --fg: var(--grafite); --bd: var(--linha-forte); }
.btn-ghost:hover { --bg: var(--grafite); --fg: #fff; --bd: var(--grafite); }
.btn-light { --bg: #fff; --fg: var(--grafite); --bd: #fff; }
.btn-light:hover { --bg: var(--broto); --fg: var(--grafite); --bd: var(--broto); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--grafite); --bd: #fff; }
.btn-whatsapp { --bg: #1f7a4a; --bd: #1f7a4a; }
.btn-whatsapp:hover { --bg: #17613a; --bd: #17613a; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0.45em 1em; font-size: 0.9rem; }
.btn .spin { width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--folha); text-decoration: underline; text-underline-offset: 0.18em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ faixa de aviso */
.announce { background: var(--grafite); color: #e9ece6; font-size: 0.86rem; text-align: center; padding: 8px var(--gutter); }
.announce a { color: #fff; }
body.has-hero .announce { position: relative; z-index: 31; }

/* ------------------------------------------------------------------ cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  background: rgba(239, 241, 236, 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--linha);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.brand .brand-light { display: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current='page'] { background: rgba(46, 48, 47, 0.08); color: inherit; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--linha-forte); background: transparent; font-weight: 600;
}
.cart-btn:hover { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--folha); color: #fff; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump 420ms var(--curva); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linha-forte); background: transparent; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* Sobre o vídeo da home o menu é transparente; ao rolar ganha fundo. */
body.has-hero .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.has-hero .site-header .brand-dark { display: none; }
body.has-hero .site-header .brand-light { display: block; }
body.has-hero .site-header .nav a:hover { background: rgba(255, 255, 255, 0.14); }
body.has-hero .site-header .cart-btn, body.has-hero .site-header .menu-btn { border-color: rgba(255, 255, 255, 0.55); }
body.has-hero .site-header .cart-btn:hover { background: #fff; color: var(--grafite); }
body.has-hero.announce-on .site-header { top: var(--announce-h, 0px); }
body.has-hero.scrolled .site-header { top: 0; background: rgba(239, 241, 236, 0.94); color: var(--texto); border-color: var(--linha); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body.has-hero.scrolled .site-header .brand-dark { display: block; }
body.has-hero.scrolled .site-header .brand-light { display: none; }
body.has-hero.scrolled .site-header .cart-btn, body.has-hero.scrolled .site-header .menu-btn { border-color: var(--linha-forte); }
body.has-hero.scrolled .site-header .cart-btn:hover { background: var(--grafite); color: #fff; }

.mobile-nav { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: var(--grafite); color: #fff; padding: 18px var(--gutter) 28px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav nav { display: grid; align-content: center; gap: 6px; }
.mobile-nav nav a { color: #fff; text-decoration: none; font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; font-stretch: 80%; line-height: 1.1; padding: 6px 0; }
.mobile-nav .close-btn { color: #fff; border-color: rgba(255,255,255,.5); }
.close-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linha-forte); background: transparent; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }

/* ------------------------------------------------------------------ hero com vídeo */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; background: var(--grafite); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 21, 0.55) 0%, rgba(20, 22, 21, 0) 26%, rgba(20, 22, 21, 0.1) 52%, rgba(20, 22, 21, 0.78) 100%); }
.hero-content { padding-block: calc(var(--header-h) + 60px) clamp(36px, 7vh, 72px); display: grid; gap: 24px; }
.hero h1 { font-stretch: 84%; font-weight: 720; letter-spacing: -0.012em; line-height: 0.98; font-size: clamp(2.7rem, 7.4vw, 6.2rem); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero p { max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, 0.88); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.video-toggle { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.25); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 14px; font-size: .85rem; }
.video-toggle:hover { background: rgba(0,0,0,.45); }

/* A assinatura: o título "imprime" de baixo para cima, em camadas. */
.print-in .line { clip-path: inset(100% 0 0 0); animation: print-layer 1.3s steps(16, end) forwards; }
.print-in .line:nth-child(2) { animation-delay: 0.55s; }
.print-in .line:nth-child(3) { animation-delay: 1.1s; }
@keyframes print-layer { to { clip-path: inset(0 0 0 0); } }
.fade-late { opacity: 0; animation: fade-in 0.6s ease 1.5s forwards; }
@keyframes fade-in { to { opacity: 1; } }

/* ------------------------------------------------------------------ garantias */
.assurances { background: var(--branco); border-bottom: 1px solid var(--linha); }
.assurances ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.assurances li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; line-height: 1.35; }
.assurances strong { display: block; font-stretch: 90%; }
.assurances span { color: var(--texto-suave); font-size: 0.88rem; }
.assurances svg { color: var(--folha); margin-top: 2px; }

/* ------------------------------------------------------------------ seções */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.kicker { font-weight: 600; font-size: 0.95rem; color: var(--folha); margin: 0; }
.natal-scope .kicker { color: var(--natal); }

/* ------------------------------------------------------------------ produtos */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card > .lead-time { margin-top: auto; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--raio); overflow: hidden; background: var(--papel-2); perspective: 900px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--curva); transform-origin: 50% 60%; }
.card-media .img-2 { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t); }
.card:hover .card-media .img-2 { opacity: 1; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link:hover { color: inherit; }
.card h3 { font-size: 1.18rem; }
.card-sub { color: var(--texto-suave); font-size: 0.92rem; margin: -6px 0 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-stretch: 90%; font-size: 1.18rem; font-variant-numeric: tabular-nums lining-nums; }
.price.consult { font-weight: 600; font-size: 1rem; color: var(--texto-suave); }
.price del { font-weight: 400; color: var(--texto-suave); font-size: 0.85em; margin-right: 6px; }
.card .quick-add { position: relative; z-index: 2; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: #fff; color: var(--grafite); }
.badge.ready { background: var(--mostarda); color: #fff; }
.badge.consult { background: var(--grafite); color: #fff; }
.lead-time { font-size: 0.86rem; color: var(--texto-suave); display: flex; align-items: center; gap: 6px; }
.lead-time .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--salvia); flex: none; }
.lead-time.ready .dot { background: var(--mostarda); }
.skeleton { background: linear-gradient(90deg, var(--papel-2), #f6f7f4, var(--papel-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--raio); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ camada por camada (processo) */
.process { position: relative; background: var(--grafite); color: #f1f3ee; overflow: hidden; isolation: isolate; }
.process-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.3; }
.process-bg video, .process-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.process::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--grafite) 30%, rgba(46, 48, 47, 0.7) 70%, rgba(46, 48, 47, 0.4)); }
.process .kicker { color: var(--broto); }
.process .lead { color: rgba(241, 243, 238, 0.78); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.steps li::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(166, 194, 85, 0.7); color: var(--broto); font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: rgba(241, 243, 238, 0.72); margin: 0; font-size: 0.96rem; }
.layers { position: relative; aspect-ratio: 4 / 5; perspective: 1100px; perspective-origin: 50% 30%; --p: 0; }
.layers-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc((1 - var(--p)) * 38deg)) rotateZ(calc((1 - var(--p)) * -10deg)); transition: transform 120ms linear; }
.layer { position: absolute; left: 0; right: 0; background-size: 100% calc(var(--n) * 100%); background-repeat: no-repeat; border-radius: 2px;
  transform: translate3d(0, calc((1 - var(--p)) * var(--dy)), calc((1 - var(--p)) * var(--dz)));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); transition: transform 120ms linear; }
.layer:first-child { border-radius: var(--raio) var(--raio) 2px 2px; }
.layer:last-child { border-radius: 2px 2px var(--raio) var(--raio); }
.layers-caption { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; font-size: 0.86rem; color: rgba(241, 243, 238, 0.6); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ galeria (carrossel) */
.gallery { overflow: hidden; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { scroll-snap-align: start; position: relative; border-radius: var(--raio-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--papel-2); color: #fff; text-decoration: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--curva); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(20, 22, 21, 0.75)); display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.gallery-item strong { font-size: 1.2rem; font-stretch: 86%; line-height: 1.1; }
.gallery-controls { display: flex; gap: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--linha-forte); background: transparent; display: grid; place-items: center; transition: background var(--t-rapida), color var(--t-rapida); }
.round-btn:hover { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.round-btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ------------------------------------------------------------------ sob medida */
.custom { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.paths { display: grid; gap: 14px; }
.path { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 22px; border-radius: var(--raio-l); background: var(--branco); border: 1px solid var(--linha); }
.path svg { grid-row: span 2; color: var(--folha); width: 34px; height: 34px; }
.path h3 { font-size: 1.2rem; }
.path p { margin: 0; color: var(--texto-suave); font-size: 0.95rem; }
.custom-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ------------------------------------------------------------------ Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-grid a { aspect-ratio: 1; border-radius: var(--raio-s); overflow: hidden; background: var(--papel-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-rapida); }
.insta-grid a:hover img { opacity: 0.85; }

/* ------------------------------------------------------------------ perguntas */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq-list { border-top: 1px solid var(--linha-forte); }
.faq details { border-bottom: 1px solid var(--linha-forte); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; font-stretch: 92%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform var(--t); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 0 22px; color: var(--texto-suave); max-width: 64ch; }

/* ------------------------------------------------------------------ rodapé */
.site-footer { background: var(--grafite); color: #d9ddd5; padding-top: clamp(56px, 8vw, 88px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-grid h2 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: 14px; color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0 28px; display: flex; flex-direction: column; gap: 18px; font-size: 0.85rem; color: #aab0a7; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #aab0a7 !important; text-decoration: none !important; opacity: 0.85; transition: opacity var(--t-rapida); }
.footer-links a:hover { opacity: 1; }
.agencia-ml { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #aab0a7 !important; text-decoration: none !important; font-size: 0.82rem; opacity: 0.85; transition: opacity var(--t-rapida); }
.agencia-ml:hover { opacity: 1; }
.agencia-ml img { height: 22px; width: auto; filter: grayscale(1); transition: filter var(--t-rapida); }
.agencia-ml:hover img { filter: none; }

/* ------------------------------------------------------------------ sacola */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(20, 22, 21, 0.45); opacity: 0; transition: opacity var(--t); }
.drawer-backdrop.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(440px, 100vw); background: var(--papel); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform var(--t) var(--curva); box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.5); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--linha); }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-body { overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--linha); display: grid; gap: 12px; background: var(--branco); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linha); align-items: start; }
.line-item img { width: 76px; height: 95px; object-fit: cover; border-radius: var(--raio-s); background: var(--papel-2); }
.line-item h3 { font-size: 1rem; font-stretch: 95%; }
.line-item .meta { font-size: 0.85rem; color: var(--texto-suave); margin: 2px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--linha-forte); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; font-size: 1.1rem; }
.qty output, .qty input { width: 30px; text-align: center; border: 0; background: transparent; font-variant-numeric: tabular-nums; }
.remove-btn { background: none; border: 0; color: var(--texto-suave); font-size: 0.82rem; text-decoration: underline; padding: 4px 0; }
.totals { display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.2rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--linha); margin-top: 4px; }
.free-progress { font-size: 0.88rem; color: var(--texto-suave); display: grid; gap: 6px; }
.free-progress .bar { height: 6px; border-radius: 3px; background: var(--papel-2); overflow: hidden; }
.free-progress .bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--folha) 0 6px, var(--broto) 6px 8px); width: 0; transition: width var(--t); }
.empty-state { text-align: center; padding: 48px 12px; display: grid; gap: 14px; justify-items: center; color: var(--texto-suave); }

/* ------------------------------------------------------------------ toast e consentimento */
.toast-zone { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--grafite); color: #fff; padding: 14px 18px; border-radius: var(--raio); box-shadow: var(--sombra); display: flex; justify-content: space-between; align-items: center; gap: 12px; animation: toast-in 280ms var(--curva); font-size: 0.95rem; }
.toast a, .toast button { color: var(--broto); background: none; border: 0; font-weight: 600; white-space: nowrap; }
.toast.error { background: var(--erro); }
.toast.error a, .toast.error button { color: #fff; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 45; max-width: 420px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px 18px; box-shadow: var(--sombra); font-size: 0.9rem; display: grid; gap: 12px; }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #1f7a4a; color: #fff; display: grid; place-items: center; box-shadow: var(--sombra); transition: transform var(--t-rapida); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------------ página interna: topo */
.page-top { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.crumbs { font-size: 0.88rem; color: var(--texto-suave); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: inherit; }
.crumbs span[aria-hidden] { opacity: 0.6; }
.collection-hero { border-bottom: 1px solid var(--linha); }
.collection-hero h1 { max-width: 14ch; }
.collection-hero .lead { margin-top: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linha-forte); background: transparent; color: var(--texto); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.chip[aria-pressed='true'], .chip[aria-current='page'], .chip:has(input:checked) { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:focus-within { outline: 3px solid var(--mostarda); outline-offset: 2px; }

/* ------------------------------------------------------------------ produto */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 8vw, 96px); }
.product-gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.main-shot { position: relative; aspect-ratio: 4 / 5; border-radius: var(--raio-l); overflow: hidden; background: var(--papel-2); perspective: 1200px; }
.main-shot img { width: 100%; height: 100%; object-fit: cover; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02); transition: transform 240ms ease-out; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 76px; aspect-ratio: 4 / 5; padding: 0; border-radius: var(--raio-s); overflow: hidden; border: 2px solid transparent; background: var(--papel-2); }
.thumbs button[aria-current='true'] { border-color: var(--grafite); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: grid; gap: 20px; }
.product-info h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.product-info .price { font-size: 1.7rem; }
.buy-box { display: grid; gap: 14px; padding: 22px; border-radius: var(--raio-l); background: var(--branco); border: 1px solid var(--linha); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.color-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--linha-forte); background: #fff; font-size: 0.9rem; }
.swatch i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
.swatch[aria-pressed='true'] { border-color: var(--grafite); box-shadow: inset 0 0 0 1px var(--grafite); }
.ship-calc { display: grid; gap: 10px; }
.ship-calc form { display: flex; gap: 8px; }
.ship-calc input { flex: 1; }
.ship-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.93rem; }
.ship-options li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--raio-s); background: var(--papel); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: 0.95rem; }
.specs dt { color: var(--texto-suave); }
.specs dd { margin: 0; }
.desc { font-size: 1.04rem; line-height: 1.65; max-width: 62ch; white-space: pre-line; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; color: var(--texto-suave); }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list svg { color: var(--folha); margin-top: 2px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--branco); border-top: 1px solid var(--linha); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(100%); transition: transform var(--t) var(--curva); }
.sticky-buy.show { transform: none; }

/* ------------------------------------------------------------------ formulários */
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 600; font-size: 0.93rem; }
.field .hint { font-size: 0.84rem; color: var(--texto-suave); }
.field .error-msg { font-size: 0.85rem; color: var(--erro); }
.input, .field input:not([type='checkbox']):not([type='radio']), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--raio-s); border: 1.5px solid var(--linha-forte); background: #fff;
  transition: border-color var(--t-rapida), box-shadow var(--t-rapida); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--folha); box-shadow: 0 0 0 3px rgba(77, 107, 42, 0.18); }
.field [aria-invalid='true'] { border-color: var(--erro); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.form-grid > * { grid-column: span 6; }
.form-grid .span-2 { grid-column: span 2; } .form-grid .span-3 { grid-column: span 3; } .form-grid .span-4 { grid-column: span 4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--folha); flex: none; }
.option-cards { display: grid; gap: 10px; }
.option-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 18px; border-radius: var(--raio); border: 1.5px solid var(--linha-forte); background: #fff; cursor: pointer; transition: border-color var(--t-rapida), background var(--t-rapida); }
.option-card input { width: 20px; height: 20px; accent-color: var(--folha); margin: 0; }
.option-card:has(input:checked) { border-color: var(--folha); background: #f7faf2; box-shadow: inset 0 0 0 1px var(--folha); }
.option-card .opt-title { font-weight: 600; }
.option-card .opt-sub { grid-column: 2; font-size: 0.86rem; color: var(--texto-suave); }
.option-card .opt-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--raio); font-size: 0.93rem; display: flex; gap: 10px; align-items: flex-start; }
.alert.info { background: var(--salvia-clara); }
.alert.warn { background: var(--mostarda-clara); }
.alert.error { background: #f6dede; color: #6d1717; }
.alert.ok { background: #e3eed9; }

/* ------------------------------------------------------------------ checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
.co-step { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-l); padding: clamp(20px, 3vw, 30px); margin-bottom: 16px; }
.co-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.co-step-head .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grafite); color: #fff; font-weight: 600; flex: none; font-variant-numeric: tabular-nums; }
.co-step-head h2 { font-size: 1.5rem; }
.co-step.done .co-step-head .n { background: var(--folha); }
.co-step.locked { opacity: 0.55; }
.co-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-l); padding: 22px; display: grid; gap: 14px; }
.co-summary h2 { font-size: 1.4rem; }
.mini-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-items li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: 0.93rem; }
.mini-items img { width: 54px; height: 68px; object-fit: cover; border-radius: var(--raio-s); background: var(--papel-2); }
.mini-items .q { color: var(--texto-suave); font-size: 0.85rem; }

/* ------------------------------------------------------------------ pedido e orçamento (páginas públicas) */
.doc { max-width: 920px; margin-inline: auto; padding-block: clamp(32px, 6vw, 64px) 96px; }
.doc-head { display: grid; gap: 10px; margin-bottom: 28px; }
.doc-card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-l); padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; }
.doc-card h2 { font-size: 1.45rem; margin-bottom: 16px; }
.progress-print { display: grid; gap: 0; margin: 8px 0 4px; }
.pp-stage { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.pp-stage:last-child { padding-bottom: 0; }
.pp-stage::before { content: ''; position: absolute; left: 21px; top: 30px; bottom: -2px; width: 2px; background: var(--linha); }
.pp-stage:last-child::before { display: none; }
.pp-dot { width: 44px; height: 30px; display: grid; gap: 2px; align-content: end; }
.pp-dot i { display: block; height: 4px; border-radius: 2px; background: var(--papel-2); }
.pp-stage.done .pp-dot i { background: var(--folha); }
.pp-stage.current .pp-dot i { background: var(--mostarda); animation: layer-pulse 1.6s steps(4) infinite; }
.pp-stage.current .pp-dot i:nth-child(2) { animation-delay: 0.2s; } .pp-stage.current .pp-dot i:nth-child(3) { animation-delay: 0.4s; }
@keyframes layer-pulse { 50% { opacity: 0.35; } }
.pp-stage.done::before { background: var(--folha); }
.pp-text strong { display: block; font-stretch: 92%; }
.pp-text span { font-size: 0.88rem; color: var(--texto-suave); }
.pp-stage.todo .pp-text { opacity: 0.55; }
.pix-box { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.pix-qr { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 10px; }
.pix-qr svg { width: 100%; height: auto; }
.pix-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.8rem; word-break: break-all; background: var(--papel); padding: 10px 12px; border-radius: var(--raio-s); max-height: 92px; overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--texto-suave); padding: 10px 8px; border-bottom: 1px solid var(--linha-forte); }
.table td { padding: 14px 8px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .item-cell { display: flex; gap: 12px; align-items: flex-start; }
.table .item-cell img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--raio-s); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--papel-2); }
.status-pill.ok { background: #e3eed9; color: var(--ok); }
.status-pill.warn { background: var(--mostarda-clara); color: #7a5a12; }
.status-pill.bad { background: #f6dede; color: var(--erro); }
.quote-brand { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--linha); margin-bottom: 24px; }
.quote-brand img { height: 52px; width: auto; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ texto corrido (ajuda e políticas) */
.prose { max-width: 70ch; font-size: 1.04rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin: 28px 0 8px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }

/* ------------------------------------------------------------------ responsivo */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurances ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .cart-btn .label { display: none; }
  .brand img { height: 38px; }
  .process-grid, .custom, .faq, .product, .checkout { grid-template-columns: 1fr; }
  .layers { max-width: 420px; width: 100%; margin: 0 auto 40px; }
  .product-gallery, .co-summary { position: static; }
  .co-summary { order: -1; }
  .section-head.split { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; }
  .pix-box { grid-template-columns: 1fr; }
  .pix-qr { max-width: 240px; }
  .form-grid .span-2, .form-grid .span-3, .form-grid .span-4 { grid-column: span 6; }
  .form-grid .m-span-3 { grid-column: span 3; }
}
@media (max-width: 560px) {
  .product-grid { gap: 14px; }
  .card h3 { font-size: 1.02rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card .quick-add { width: 100%; }
  .assurances ul { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .table .hide-m { display: none; }
  .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .print-in .line { clip-path: none; animation: none; }
  .fade-late { opacity: 1; animation: none; }
  .layers { --p: 1 !important; }
}

@media print {
  .site-header, .site-footer, .announce, .wa-float, .consent, .toast-zone, .quote-actions, .no-print, .drawer, .drawer-backdrop { display: none !important; }
  body { background: #fff; }
  .doc { padding: 0; max-width: none; }
  .doc-card { border: 0; padding: 0 0 12px; }
  a { color: inherit; text-decoration: none; }
}

/* passos em fundo claro (sob medida) e perguntas da central de ajuda */
.steps-light li { border-top-color: var(--linha); }
.steps-light li::before { border-color: var(--folha); color: var(--folha); }
.steps-light p { color: var(--texto-suave); }
.custom .paths { margin-top: 28px; }
.faq-list.prose-faq { max-width: 820px; display: block; }

/* ------------------------------------------------------------------ família (home e Nossa história) */
.family { background: var(--branco); border-block: 1px solid var(--linha); }
.family-grid, .about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.family-photo { margin: 0; border-radius: var(--raio-l); overflow: hidden; aspect-ratio: 1; background: var(--papel-2); transform: rotate(-1.5deg); box-shadow: var(--sombra); }
.about-grid .family-photo { transform: rotate(1.5deg); }
.family-photo img { width: 100%; height: 100%; object-fit: cover; }
.family-sign { font-weight: 700; font-stretch: 88%; font-size: 1.15rem; color: var(--folha); }
.family .lead { margin: 14px 0; }
.about-hero { padding-block: clamp(36px, 6vw, 80px); }
.about-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 18px; }
.about-hero p { max-width: 60ch; }

/* linha do tempo com os Reels */
.timeline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--folha) 0 6px, transparent 6px 10px); }
.tl-item { position: relative; padding-left: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(20px, 4vw, 48px); align-items: start; }
.tl-item::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--papel); border: 3px solid var(--folha); }
.tl-item:not(:has(.reel)) { grid-template-columns: minmax(0, 1fr); }
.tl-date { margin: 0 0 4px; font-weight: 600; color: var(--folha); font-size: 0.92rem; }
.tl-text h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 8px; }
.tl-text p:last-child { color: var(--texto-suave); max-width: 56ch; }
.reel { display: grid; gap: 6px; justify-items: center; }
.reel .vid, .video-slide .vid-instagram { width: 100%; max-width: 340px; aspect-ratio: 9 / 15.5; border: 0; border-radius: var(--raio); background: var(--papel-2); }
.reels-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 20px; margin-bottom: 24px; }
.values { background: var(--branco); border-block: 1px solid var(--linha); }
.values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ ideia sob medida (formulário em etapas) */
.idea-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: 72px; }
.idea-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.idea-aside h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.idea-people { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--raio-l); background: var(--branco); border: 1px solid var(--linha); }
.idea-people img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.idea-people p { margin: 0; font-size: 0.95rem; }
.idea-form { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-l); padding: clamp(20px, 3.4vw, 36px); display: grid; gap: 18px; }
.idea-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.idea-progress i { height: 6px; border-radius: 3px; background: var(--papel-2); transition: background var(--t); }
.idea-progress i.on { background: var(--folha); }
.idea-step-label { margin: -8px 0 0; font-size: 0.85rem; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.idea-step { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; animation: step-in 360ms var(--curva); }
.idea-step legend { padding: 0; margin-bottom: 4px; }
.idea-step h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.idea-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.idea-card { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: var(--raio); border: 1.5px solid var(--linha-forte); cursor: pointer; transition: border-color var(--t-rapida), background var(--t-rapida), transform var(--t-rapida); }
.idea-card:hover { transform: translateY(-2px); border-color: var(--folha); }
.idea-card input { position: absolute; opacity: 0; pointer-events: none; }
.idea-card:has(input:checked) { border-color: var(--folha); background: #f7faf2; box-shadow: inset 0 0 0 1px var(--folha); }
.idea-card:has(input:focus-visible) { outline: 3px solid var(--mostarda); outline-offset: 2px; }
.idea-card span:last-child { font-size: 0.84rem; color: var(--texto-suave); line-height: 1.35; }
.idea-emoji { font-size: 1.7rem; line-height: 1; }
.idea-emoji.big { font-size: 3rem; }
.idea-nav { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-top: 6px; }
.dropzone { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 26px 18px; border: 2px dashed var(--linha-forte); border-radius: var(--raio); cursor: pointer; transition: border-color var(--t-rapida), background var(--t-rapida); font-size: 0.92rem; }
.dropzone span:last-child { color: var(--texto-suave); font-size: 0.84rem; }
.dropzone:hover, .dropzone.over { border-color: var(--folha); background: #f7faf2; }
.drop-icon { font-size: 1.6rem; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--raio-s); background: var(--papel); font-size: 0.9rem; }
.file-list .thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--papel-2); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: var(--texto-suave); text-transform: uppercase; }
.file-list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .state { font-size: 0.8rem; color: var(--texto-suave); }
.file-list .state.ok { color: var(--ok); } .file-list .state.bad { color: var(--erro); }
.file-list .bar { height: 4px; border-radius: 2px; background: var(--papel-2); overflow: hidden; margin-top: 4px; }
.file-list .bar i { display: block; height: 100%; width: 0; background: var(--folha); transition: width 200ms; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row .chip { cursor: pointer; }
.idea-summary { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--raio); background: var(--papel); font-size: 0.92rem; }
.idea-summary:empty { display: none; }
.idea-done { justify-items: center; text-align: center; padding-block: 48px; }

/* ------------------------------------------------------------------ vídeo na página do produto */
.main-shot.is-video { aspect-ratio: auto; display: grid; place-items: center; background: var(--grafite); min-height: 420px; }
.main-shot .vid-mp4 { width: 100%; height: 100%; object-fit: cover; max-height: 80vh; }
.main-shot .vid-youtube { width: 100%; aspect-ratio: 9 / 16; max-height: 80vh; border: 0; }
.main-shot .vid-instagram { width: 100%; max-width: 420px; aspect-ratio: 9 / 15.5; max-height: 86vh; border: 0; background: #fff; }
.thumbs .thumb-video { display: grid; place-items: center; background: var(--grafite); color: #fff; font-size: 0.72rem; font-weight: 600; gap: 2px; }
.thumbs .thumb-video span:first-child { font-size: 1.2rem; }
.video-note { font-size: 0.84rem; color: var(--texto-suave); margin: 0; }

@media (max-width: 860px) {
  .family-grid, .about-grid, .idea-layout { grid-template-columns: 1fr; }
  .family-photo { max-width: 420px; }
  .about-grid .family-photo { order: -1; }
  .tl-item { grid-template-columns: 1fr; }
  .idea-aside { position: static; }
  .idea-cards { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
.video-note { margin: 8px 0 0; text-align: center; }
