/* Site VLL Solar (/site/) — conceito "Showroom à noite": preto profundo, laranja do sol e brilho de LED
   como o painel da loja. Cores principais vindas de config/site-config.js (variáveis --color-*). */
:root {
  --accent: var(--color-accent, #f47c20);
  --accent-hover: var(--color-button-hover, #ff9234);
  --accent-soft: var(--color-accent-soft, #ffa95c);
  --night: var(--color-primary-deep, #0b0b0d);
  --panel: #111114;
  --card: #16161a;
  --card-2: #1d1d22;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f6f4f1;
  --muted: #a7a5ad;
  --dim: #77757d;
  --whatsapp: #25d366;
  --display: "Sora", "DM Sans", system-ui, sans-serif;
  --led: 0 0 0 1px rgba(244, 124, 32, .7), 0 0 28px rgba(244, 124, 32, .35), 0 0 70px rgba(244, 124, 32, .15);
  --header-h: 76px;
  color-scheme: dark;
  color: var(--text);
  background: var(--night);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--night); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }

/* Botões */
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 16px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 44px; padding: 0 16px; border-radius: 13px; font-size: 14px; }
.btn--accent { background: linear-gradient(120deg, var(--accent), #ff9a3c); color: var(--night); box-shadow: 0 12px 30px rgba(244, 124, 32, .35); }
.btn--accent:hover { box-shadow: 0 16px 40px rgba(244, 124, 32, .5); }
.btn--glass { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .15); }
.btn--glass svg { color: var(--whatsapp); }
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #1f1f24; }
.btn--dark svg:first-child { color: var(--whatsapp); }

/* Cabeçalho: transparente sobre o vídeo, escuro ao rolar */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
/* O fundo desfocado fica numa camada própria: backdrop-filter no próprio .header
   prenderia o menu (position: fixed) dentro da altura do cabeçalho. */
.header::before { position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid transparent; content: ""; pointer-events: none; transition: background .25s ease, border-color .25s ease; }
.header.is-scrolled::before { border-bottom-color: var(--line); background: rgba(11, 11, 13, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(244, 124, 32, .6), 0 0 22px rgba(244, 124, 32, .35); }
.brand span { display: grid; gap: 2px; }
.brand strong { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__logo { display: none; }
.nav > a:not(.btn) { padding: 10px 12px; border-radius: 10px; color: rgba(246, 244, 241, .78); font-size: 14.5px; font-weight: 600; transition: color .2s ease; }
.nav > a:not(.btn):hover { color: var(--accent); }
.nav > a.nav__catalog { color: var(--accent); }
.nav__cta { margin-left: 10px; }
.menu-button { position: relative; z-index: 2; display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255, .06); cursor: pointer; }
.menu-button svg + svg, .header.is-open .menu-button svg:first-child { display: none; }
.header.is-open .menu-button svg + svg { display: block; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 44px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(50% 60% at 78% 45%, rgba(244, 124, 32, .28), rgba(244, 124, 32, 0) 70%),
  radial-gradient(40% 40% at 10% 0%, rgba(255, 169, 92, .1), rgba(255, 169, 92, 0) 70%), var(--night); }
.hero__bg::after { position: absolute; inset: 0; background: url("/assets/vll-solar-logo.jpg") center / 180px repeat; opacity: .035; mix-blend-mode: screen; content: ""; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border: 1px solid rgba(244, 124, 32, .4); border-radius: 99px; background: rgba(244, 124, 32, .12); color: var(--accent-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; backdrop-filter: blur(8px); }
.pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pill i::after { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); content: ""; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { opacity: 0; transform: scale(2.8); } }
.hero h1 { margin-top: 22px; font-family: var(--display); font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero h1 em { display: inline-block; color: var(--accent); font-style: normal; text-shadow: 0 0 40px rgba(244, 124, 32, .45); }
.hero__lead { max-width: 520px; margin-top: 20px; color: rgba(246, 244, 241, .78); font-size: 17.5px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { --frame-h: min(620px, calc(100svh - var(--header-h) - 120px)); position: relative; justify-self: center; height: var(--frame-h); width: auto; max-width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 34px; background: #000; box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .7); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.watch-button { position: absolute; left: 50%; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; background: rgba(11, 11, 13, .62); color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateX(-50%); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.watch-button svg { display: grid; width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--accent); fill: var(--night); stroke: none; box-shadow: 0 0 18px rgba(244, 124, 32, .7); }
.watch-button:hover { border-color: var(--accent); background: rgba(11, 11, 13, .8); }
.video-modal { width: min(92vw, calc(86vh * 9 / 16)); max-width: none; max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; color: #fff; }
.video-modal::backdrop { background: rgba(5, 5, 7, .9); backdrop-filter: blur(6px); }
.video-modal video { width: 100%; max-height: 86vh; border-radius: 24px; background: #000; box-shadow: var(--led); }
.video-modal__close { position: absolute; top: -56px; right: 0; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(11, 11, 13, .8); cursor: pointer; }
.video-modal__close:hover { border-color: var(--accent); color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.stats div { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.stats dd { order: -1; }
.stats dd { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.stats dt { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Faixa de marca */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--accent), #ff9a3c); color: var(--night); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > div { display: flex; align-items: center; gap: 26px; padding: 16px 13px; }
.marquee span { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.marquee i { display: grid; }
.marquee svg { width: 18px; height: 18px; fill: var(--night); stroke: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Seções */
.section { position: relative; padding: 100px 0; }
.section--panel { border-block: 1px solid var(--line); background: var(--panel); }
.section--brand { isolation: isolate; overflow: hidden; }
.section--brand::before { position: absolute; inset: 0; z-index: -1; background: url("/assets/vll-solar-logo.jpg") center / 200px repeat; opacity: .04; content: ""; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__row .section__head { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow::before { width: 28px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(244, 124, 32, .8); content: ""; }
.section__head h2 { margin-top: 12px; font-family: var(--display); font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.footnote { margin-top: 20px; color: var(--dim); font-size: 12.5px; line-height: 1.5; }

/* Quiz "Qual elétrica combina com você?" */
.section--quiz { isolation: isolate; overflow: hidden; }
.section--quiz::before { position: absolute; top: 10%; right: -10%; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 124, 32, .18), rgba(244, 124, 32, 0) 65%); content: ""; }
.quiz-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.quiz-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 14px; font-weight: 600; }
.quiz-facts svg { width: 17px; height: 17px; color: var(--accent); }
.quiz { min-height: 440px; padding: 30px; border-radius: 30px; background: linear-gradient(160deg, var(--card-2), var(--card)); box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .55); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz__count { display: block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.quiz__back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.quiz__back:hover { color: var(--text); }
.quiz__back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.quiz__progress { height: 6px; margin: 16px 0 24px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.quiz__progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffb15c); box-shadow: 0 0 14px rgba(244, 124, 32, .7); transition: width .45s ease; }
.quiz__progress.is-done { margin-top: 0; }
.quiz__title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; outline: none; }
.quiz__title--result { margin-top: 8px; color: var(--accent); font-size: clamp(28px, 3vw, 38px); text-shadow: 0 0 30px rgba(244, 124, 32, .4); }
.quiz__options { display: grid; gap: 10px; margin-top: 22px; }
.quiz__option { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .03); font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; animation: quiz-in .35s ease both; }
.quiz__option:nth-child(2) { animation-delay: .05s; }
.quiz__option:nth-child(3) { animation-delay: .1s; }
.quiz__option:nth-child(4) { animation-delay: .15s; }
.quiz__option:nth-child(5) { animation-delay: .2s; }
.quiz__option:hover, .quiz__option.is-selected { border-color: rgba(244, 124, 32, .7); background: rgba(244, 124, 32, .1); transform: translateX(4px); }
.quiz__option > span:nth-child(2) { flex: 1; }
.quiz__option > svg { width: 18px; height: 18px; color: var(--dim); transition: color .2s ease; }
.quiz__option:hover > svg { color: var(--accent); }
.quiz__icon { display: grid; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 13px; background: rgba(244, 124, 32, .12); color: var(--accent); }
@keyframes quiz-in { from { transform: translateY(8px); } }
.quiz__text { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.quiz__picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.quiz__pick { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s ease, transform .2s ease; animation: quiz-in .4s ease both; }
.quiz__pick:nth-child(2) { animation-delay: .08s; }
.quiz__pick:nth-child(3) { animation-delay: .16s; }
.quiz__pick:hover { border-color: rgba(244, 124, 32, .6); transform: translateY(-3px); }
.quiz__pick-image { display: grid; aspect-ratio: 1 / .85; place-items: center; margin-bottom: 6px; border-radius: 13px; background: radial-gradient(ellipse at 50% 90%, rgba(244, 124, 32, .4), rgba(244, 124, 32, .06) 50%, var(--card-2) 78%); }
.quiz__pick-image img { width: 88%; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.quiz__pick strong { padding: 0 4px; font-size: 14.5px; line-height: 1.25; }
.quiz__pick small { padding: 0 4px; color: var(--muted); font-size: 12px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quiz__actions .btn { min-height: 50px; }
.quiz__restart { margin-top: 16px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz__restart:hover { color: var(--accent); }

/* Produtos */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.product:hover { border-color: rgba(244, 124, 32, .6); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: translateY(-5px); }
.product__image { display: grid; aspect-ratio: 1 / .86; place-items: center; margin: 10px 10px 0; border-radius: 18px; background: radial-gradient(ellipse at 50% 90%, rgba(244, 124, 32, .4) 0%, rgba(244, 124, 32, .07) 45%, var(--card-2) 75%); }
.product__image img { width: 90%; height: auto; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55)); transition: transform .35s ease; }
.product:hover .product__image img { transform: scale(1.05) translateY(-3px); }
.product__body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.product__category { color: var(--accent); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product__body > strong { margin-top: 4px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.product__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product__specs span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 12px; font-weight: 600; }
.product__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; }
.product__colors { display: flex; align-items: center; }
.product__colors i { width: 16px; height: 16px; margin-right: -4px; border: 2px solid var(--card); border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.product__colors small { margin-left: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.product__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13.5px; font-weight: 700; }
.product__cta svg { width: 15px; height: 15px; }

/* Vídeo em moldura vertical (detalhes e showroom) */
.split { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
.phone { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 34px; background: #000; box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .65); }
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.sound-button { position: absolute; left: 50%; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; background: rgba(11, 11, 13, .7); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; backdrop-filter: blur(10px); transform: translateX(-50%); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.sound-button:hover { border-color: var(--accent); }
.sound-button[aria-pressed="true"] { background: var(--accent); color: var(--night); }
.sound-button svg { width: 18px; height: 18px; }
.feature-list { display: grid; gap: 12px; margin-bottom: 30px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.feature-list li > span { display: grid; width: 46px; height: 46px; flex: none; place-items: center; border-radius: 14px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.feature-list strong { display: block; font-size: 16.5px; }
.feature-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* Clientes */
.customers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.customer { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--card); cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.customer:hover { border-color: rgba(244, 124, 32, .7); box-shadow: var(--led); transform: translateY(-5px) rotate(-.4deg); }
.customer img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; transition: transform .5s ease; }
.customer:hover img { transform: scale(1.04); }
.customer__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: rgba(11, 11, 13, .7); color: #fff; backdrop-filter: blur(8px); }
.customer__zoom svg { width: 18px; height: 18px; }
.lightbox { width: min(92vw, 900px); max-width: none; max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(5, 5, 7, .88); backdrop-filter: blur(6px); }
.lightbox img { width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 22px; object-fit: contain; box-shadow: var(--led); }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(11, 11, 13, .8); cursor: pointer; }
.lightbox__close { top: -58px; right: 0; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { right: 10px; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }

/* Nossa história */
.story-section { isolation: isolate; overflow: hidden; }
.story-section::before { position: absolute; inset: 0; z-index: -1; background: url("/assets/vll-solar-logo.jpg") center / 200px repeat; opacity: .03; content: ""; }
.story { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 64px; }
.story__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; max-height: calc(100svh - var(--header-h) - 48px); aspect-ratio: 4 / 5; place-items: center; overflow: hidden; border-radius: 32px; background: #000; box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .6); }
.story__media > * { grid-area: 1 / 1; }
.story__photo { width: 100%; height: 100%; object-fit: cover; }
.story__photo--fallback { opacity: .55; }
/* Vídeo em pé (9:16): a moldura segue o formato do vídeo e cabe na altura da tela */
.story__media--video { width: min(100%, calc((100svh - var(--header-h) - 48px) * 9 / 16)); aspect-ratio: 9 / 16; justify-self: center; }
.story__logo { position: relative; width: 170px; height: 170px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(244, 124, 32, .75), 0 0 60px rgba(244, 124, 32, .45); }
.story__copy h2 { margin-top: 12px; font-family: var(--display); font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.story__lead { margin-top: 16px; color: var(--text); font-size: 19px; font-weight: 600; line-height: 1.5; }
.story__letters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 30px; }
.story__letters li { display: grid; justify-items: center; gap: 6px; padding: 20px 10px 18px; border: 1px solid rgba(244, 124, 32, .35); border-radius: 22px; background: linear-gradient(180deg, rgba(244, 124, 32, .12), rgba(244, 124, 32, .02)); text-align: center; }
.story__letters span { font-family: var(--display); font-size: clamp(54px, 6vw, 76px); font-weight: 800; line-height: 1; color: var(--accent); text-shadow: 0 0 24px rgba(244, 124, 32, .55), 0 0 60px rgba(244, 124, 32, .25); }
.story__letters strong { font-size: 16px; letter-spacing: .02em; }
.story__text { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.story__signature { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: rgba(244, 124, 32, .08); color: var(--text); font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; }

/* Showroom e contato */
.showroom { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 40px; }
.phone--showroom { width: min(100%, 380px); }
.showroom__info { display: grid; gap: 16px; }
.contact { display: grid; gap: 12px; }
.contact__card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .2s ease, transform .2s ease; }
a.contact__card:hover { border-color: rgba(244, 124, 32, .6); transform: translateY(-2px); }
.contact__icon { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 14px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.contact__icon--whatsapp { background: rgba(37, 211, 102, .12); color: var(--whatsapp); }
.contact__text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.contact__label { color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact__text strong { font-size: 16px; line-height: 1.35; }
.contact__action { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 700; }
.contact__action svg { width: 15px; height: 15px; }
.map { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--card); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Vantagens */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 28px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); transition: border-color .25s ease; }
.benefit:hover { border-color: rgba(244, 124, 32, .5); }
.benefit__icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 20px; border-radius: 16px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.benefit h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Como comprar */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(22, 22, 26, .88); }
.step__number { position: absolute; top: 20px; right: 24px; font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: rgba(244, 124, 32, .18); }
.step__icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--accent); color: var(--night); box-shadow: 0 0 30px rgba(244, 124, 32, .4); }
.step h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.steps__cta { margin-top: 34px; }

/* Chamada final */
.cta-banner { display: flex; align-items: center; gap: 28px; margin-top: 20px; padding: 40px 44px; border-radius: 32px; background: linear-gradient(120deg, var(--accent) 0%, #ff9f45 100%); color: var(--night); box-shadow: 0 30px 70px rgba(244, 124, 32, .3); }
.cta-banner__logo { width: 96px; height: 96px; flex: none; border-radius: 50%; box-shadow: 0 0 0 4px rgba(11, 11, 13, .9); }
.cta-banner__copy { flex: 1; }
.cta-banner h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.cta-banner p { margin-top: 8px; color: rgba(11, 11, 13, .75); font-size: 16.5px; }

/* Rodapé */
.footer { margin-top: 100px; padding: 72px 0 28px; border-top: 1px solid var(--line); background: #070708; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__logo { width: 140px; height: 140px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-strong); }
.footer__brand p { max-width: 300px; margin-top: 18px; font-size: 14.5px; line-height: 1.6; }
.footer h3 { margin-bottom: 16px; color: var(--text); font-family: var(--display); font-size: 15px; font-weight: 700; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14.5px; }
.footer__grid a, .footer__grid span { display: inline-flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.footer__grid a:hover { color: var(--accent); }
.footer__grid svg { width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer__bottom strong { color: var(--text); }
.footer__bottom a:hover strong { color: var(--accent); }

/* Entrada suave ao rolar */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .menu-button { display: grid; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: safe center; gap: 6px; height: 100dvh; padding: calc(var(--header-h) + 10px) 24px 32px; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(70% 50% at 50% 20%, rgba(244, 124, 32, .25), rgba(244, 124, 32, 0) 70%), var(--night); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
  .header.is-open .nav { opacity: 1; visibility: visible; }
  .nav__logo { display: block; width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(244, 124, 32, .7), 0 0 50px rgba(244, 124, 32, .4); }
  .nav > a:not(.btn) { padding: 14px; font-family: var(--display); font-size: 22px; font-weight: 700; text-align: center; }
  .nav__cta { width: min(100%, 420px); align-self: center; margin: 14px 0 0; min-height: 56px; }
  .products, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Menu aberto em telas baixas (celular pequeno ou deitado): tudo cabe sem rolar */
@media (max-width: 1100px) and (max-height: 720px) {
  .nav { gap: 2px; }
  .nav__logo { width: 72px; height: 72px; margin-bottom: 8px; }
  .nav > a:not(.btn) { padding: 9px; font-size: 19px; }
  .nav__cta { margin-top: 10px; min-height: 50px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  /* No celular o vídeo vertical vira o fundo do topo */
  .hero { padding: 0 0 32px; }
  .hero__bg::after { display: none; }
  .hero__grid { display: flex; flex-direction: column; gap: 0; width: 100%; }
  .hero__copy { order: 2; width: min(100% - 32px, 1200px); margin: -36px auto 0; position: relative; z-index: 1; }
  .hero__media { order: 1; width: 100%; height: min(64svh, 620px); max-width: none; aspect-ratio: auto; border-radius: 0 0 28px 28px; box-shadow: 0 1px 0 rgba(244, 124, 32, .55), 0 24px 60px rgba(244, 124, 32, .16); }
  .hero__video { object-position: center 30%; }
  .hero__media::before { position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) + 30px); background: linear-gradient(180deg, rgba(11, 11, 13, .7), rgba(11, 11, 13, 0)); content: ""; pointer-events: none; }
  .hero__media::after { position: absolute; inset: auto 0 0; z-index: 1; height: 38%; background: linear-gradient(180deg, rgba(11, 11, 13, 0), rgba(11, 11, 13, .85)); content: ""; pointer-events: none; }
  .watch-button { bottom: 58px; }
  .hero h1 { margin-top: 16px; font-size: clamp(36px, 10.5vw, 52px); }
  .hero__lead { margin-top: 14px; font-size: 16px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { min-height: 52px; padding: 0 12px; }
  .hero__actions .btn svg:last-child:not(:first-child) { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 22px; padding: 16px 18px; }
  .stats dd { font-size: 26px; }
  .stats dt { font-size: 12px; }
  .section { padding: 72px 0; }
  .section__row { flex-direction: column; align-items: flex-start; }
  .split, .showroom { grid-template-columns: 1fr; gap: 36px; }
  .phone--showroom { justify-self: center; }
  .customers { grid-auto-columns: 80%; grid-auto-flow: column; grid-template-columns: none; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phone { width: min(100%, 300px); }
  .phone--showroom { width: min(100%, 320px); }
  .customers::-webkit-scrollbar { display: none; }
  .customer { scroll-snap-align: start; }
  .quiz-layout, .story { grid-template-columns: 1fr; gap: 32px; }
  .story__media { position: relative; top: 0; aspect-ratio: 1 / 1; }
  .story__media--video { width: min(100%, 380px); max-height: none; aspect-ratio: 9 / 16; }
  .quiz { min-height: 0; padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .cta-banner .btn { width: 100%; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .quiz__picks { gap: 8px; }
  .quiz__pick strong { font-size: 13px; }
  .quiz__pick small { font-size: 11px; }
  .quiz__option { padding: 12px; font-size: 15px; }
  .quiz__actions .btn { flex: 1 1 100%; }
  .story__letters { gap: 8px; }
  .story__letters li { padding: 16px 6px 14px; }
  .story__letters strong { font-size: 14px; }
  .story__text { font-size: 16px; }
  .products { gap: 10px; }
  .product__body { padding: 12px; }
  .product__body > strong { font-size: 15.5px; }
  .product__specs span { padding: 4px 7px; font-size: 11px; }
  .product__specs span:nth-child(3) { display: none; }
  .product__footer { flex-direction: column; align-items: flex-start; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .benefit__icon { grid-row: span 2; margin: 0; }
  .contact__card { flex-wrap: wrap; }
  .contact__action { width: 100%; padding-left: 64px; }
  .marquee span { font-size: 15px; }
  .lightbox__nav { top: auto; bottom: -62px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer nav, .footer__grid > div:last-child { gap: 4px; }
  .footer__grid a, .footer__grid span { padding: 7px 0; }
  .footer__logo { width: 110px; height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
