/* Página de links VLL Solar — tema "sol nascendo à noite": fundo preto, brilho laranja e cards em vidro escuro.
   Cores vindas de config/site-config.js (variáveis --color-*). */
:root {
  --accent: var(--color-accent, #f47c20);
  --accent-soft: var(--color-accent-soft, #ffa95c);
  --night: var(--color-primary-deep, #0b0b0d);
  --card: #141417;
  --card-2: #1b1b1f;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f6f4f1;
  --muted: #a3a1a8;
  --dim: #75737b;
  --whatsapp: #25d366;
  --radius: 22px;
  --display: "Sora", "DM Sans", system-ui, sans-serif;
  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; }
body { min-width: 320px; margin: 0; background: var(--night); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
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: 12px; }

.page { position: relative; width: min(100%, 520px); margin: 0 auto; padding: 14px 16px calc(36px + env(safe-area-inset-bottom)); }
/* Sol nascendo atrás do topo */
.page__backdrop { position: fixed; inset: -220px 0 auto; z-index: -1; height: 620px; background:
  radial-gradient(60% 55% at 50% 42%, rgba(244, 124, 32, .32), rgba(244, 124, 32, 0) 70%),
  radial-gradient(35% 30% at 50% 45%, rgba(255, 169, 92, .22), rgba(255, 169, 92, 0) 70%); pointer-events: none; }

/* Cabeçalho */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(244, 124, 32, .55), 0 8px 24px rgba(244, 124, 32, .25); }
.brand span { display: grid; gap: 3px; min-width: 0; }
.brand strong { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; }
.icon-button { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255, .05); backdrop-filter: blur(10px); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.icon-button:hover { border-color: rgba(244, 124, 32, .6); background: rgba(244, 124, 32, .1); }
.icon-button svg { width: 18px; height: 18px; }
.icon-button__toast { position: absolute; top: calc(100% + 8px); right: 0; padding: 6px 10px; border-radius: 9px; background: var(--accent); color: var(--night); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: .2s ease; pointer-events: none; }
.icon-button.is-copied .icon-button__toast { opacity: 1; transform: none; }

/* Card principal: texto e moto lado a lado + botão do catálogo */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 18px 16px 16px; border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(165deg, rgba(34, 34, 40, .92) 0%, rgba(16, 16, 19, .96) 70%); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero::before { position: absolute; right: -60px; bottom: 30px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 124, 32, .45), rgba(244, 124, 32, 0) 65%); content: ""; }
.hero__top { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border: 1px solid rgba(244, 124, 32, .35); border-radius: 99px; background: rgba(244, 124, 32, .1); color: var(--accent-soft); font-size: 9.5px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
.pill i { position: relative; width: 7px; height: 7px; flex: none; 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: 12px; font-family: var(--display); font-size: clamp(24px, 7vw, 30px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lead { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.hero__visual { --visual: 150px; position: relative; display: grid; height: var(--visual); place-items: center; margin-right: -10px; }
.hero__visual > * { grid-area: 1 / 1; }
.hero__visual img { position: relative; width: auto; height: var(--visual); filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
.sun-rays { width: auto; height: calc(var(--visual) + 10px); fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; opacity: .85; animation: spin 60s linear infinite; }
.sun-rays circle { stroke: rgba(255, 255, 255, .08); stroke-width: 1.5; fill: rgba(244, 124, 32, .06); }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px 10px 10px; border-radius: 18px; background: linear-gradient(120deg, var(--accent) 0%, #ff9a3c 100%); color: var(--night); box-shadow: 0 12px 30px rgba(244, 124, 32, .35); transition: transform .2s ease, box-shadow .2s ease; }
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(244, 124, 32, .45); }
.hero__cta-icon { display: grid; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 13px; background: var(--night); color: var(--accent); }
.hero__cta-copy { display: grid; flex: 1; gap: 2px; min-width: 0; }
.hero__cta-copy strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.hero__cta-copy small { color: rgba(11, 11, 13, .72); font-size: 12.5px; font-weight: 600; }
.hero__cta-arrow { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 11px; background: rgba(11, 11, 13, .14); transition: transform .2s ease; }
.hero__cta-arrow svg { width: 17px; height: 17px; }
.hero__cta:hover .hero__cta-arrow { transform: translateX(3px); }

/* Topo com vídeo: card estilo story, título por cima do vídeo */
.hero--video { padding: 8px 8px 12px; }
.hero--video::before { right: -80px; bottom: -40px; }
.reel { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #000 url("/assets/vll/videos/links-destaque-capa.jpg") center / cover; box-shadow: 0 0 0 1px rgba(244, 124, 32, .55), 0 0 30px rgba(244, 124, 32, .25); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel::before, .reel::after { position: absolute; inset-inline: 0; z-index: 1; content: ""; pointer-events: none; }
.reel::before { top: 0; height: 90px; background: linear-gradient(180deg, rgba(11, 11, 13, .55), rgba(11, 11, 13, 0)); }
.reel::after { bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, .55) 45%, rgba(11, 11, 13, .94) 100%); }
.reel__progress { position: absolute; top: 12px; left: 14px; right: 58px; z-index: 2; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.reel__progress i { display: block; height: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.reel__toggle { position: absolute; top: 4px; right: 8px; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.reel__toggle svg { width: 18px; height: 18px; padding: 0; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.reel__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.reel__sound { position: absolute; top: 26px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; background: rgba(11, 11, 13, .6); color: #fff; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; animation: sound-call 2.4s ease-in-out 1.5s infinite; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.reel__sound svg { width: 17px; height: 17px; }
.reel__sound:hover { border-color: var(--accent); }
.reel__sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel__sound[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #0b0b0d; animation: none; }
@keyframes sound-call { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 124, 32, .55); } 60% { box-shadow: 0 0 0 9px rgba(244, 124, 32, 0); } }
@media (prefers-reduced-motion: reduce) { .reel__sound { animation: none; } }
.reel__copy { position: absolute; inset: auto 16px 16px; z-index: 2; }
.reel__copy .pill { border-color: rgba(244, 124, 32, .55); background: rgba(11, 11, 13, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.reel__copy h1 { margin-top: 10px; font-size: clamp(28px, 8.6vw, 36px); text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero--video .hero__lead { margin: 12px 8px 0; }
.hero--video .hero__cta { margin-top: 12px; }

.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 16px; }
.stack > * { min-width: 0; }
.eyebrow { display: block; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }

/* Links */
.links { display: grid; gap: 10px; }
.link { display: flex; min-height: 70px; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--card-2), var(--card)); transition: transform .2s ease, border-color .2s ease; }
.link:hover { border-color: rgba(244, 124, 32, .5); transform: translateY(-2px); }
.link__icon { display: grid; width: 46px; height: 46px; flex: none; place-items: center; border-radius: 14px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.link__icon--whatsapp { background: rgba(37, 211, 102, .12); color: var(--whatsapp); }
.link__copy { display: grid; flex: 1; gap: 3px; min-width: 0; }
.link__copy strong { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.link__copy small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.link__arrow { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 10px; color: var(--dim); transition: transform .2s ease, color .2s ease; }
.link__arrow svg { width: 17px; height: 17px; }
.link:hover .link__arrow { color: var(--accent); transform: translateX(3px); }
/* Energia solar: a outra frente da VLL Solar, em dourado de sol para se destacar da mobilidade */
.link--solar { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(255, 196, 61, .45); background: radial-gradient(120% 160% at 100% 0%, rgba(255, 196, 61, .26), rgba(255, 196, 61, 0) 55%), linear-gradient(180deg, #221d12, var(--card)); }
.link--solar::before { position: absolute; top: -60%; right: -12%; z-index: -1; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 102, .35), rgba(255, 214, 102, 0) 65%); content: ""; animation: solar-glow 4s ease-in-out infinite; }
.link--solar .link__icon { background: linear-gradient(135deg, #ffd45e, #f59a1b); color: #2a1a00; box-shadow: 0 0 20px rgba(255, 196, 61, .45); }
.link--solar .link__icon svg { animation: solar-spin 14s linear infinite; }
.link--solar .link__copy small { color: rgba(255, 228, 170, .78); }
.link--solar:hover { border-color: rgba(255, 196, 61, .8); }
.link--solar:hover .link__arrow { color: #ffd45e; }
@keyframes solar-spin { to { transform: rotate(360deg); } }
@keyframes solar-glow { 50% { opacity: .55; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .link--solar::before, .link--solar .link__icon svg { animation: none; } }

/* Seções */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section__head h2 { margin-top: 6px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.section__head p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.footnote { margin-top: 12px; color: var(--dim); font-size: 11.5px; line-height: 1.5; }

/* Carrossel de modelos */
.carousel-controls { display: flex; flex: none; gap: 6px; }
.carousel-controls button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.carousel-controls button:hover { border-color: rgba(244, 124, 32, .6); color: var(--accent); }
.carousel-controls button:first-child svg { transform: rotate(180deg); }
.carousel-controls svg { width: 17px; height: 17px; }
.carousel { display: grid; grid-auto-columns: 72%; grid-auto-flow: column; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.product { display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); scroll-snap-align: start; transition: border-color .2s ease; }
.product:hover { border-color: rgba(244, 124, 32, .5); }
.product__image { display: grid; aspect-ratio: 1 / .8; place-items: center; overflow: hidden; margin-bottom: 12px; border-radius: 16px; background: radial-gradient(ellipse at 50% 88%, rgba(244, 124, 32, .35) 0%, rgba(244, 124, 32, .06) 45%, var(--card-2) 75%); }
.product__image img { width: 90%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); transition: transform .35s ease; }
.product:hover .product__image img { transform: scale(1.04) translateY(-3px); }
.product__category { padding: 0 4px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product > strong { margin-top: 4px; padding: 0 4px; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.product__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0 4px; }
.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: 14px 4px 4px; }
.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: 13px; font-weight: 700; }
.product__cta svg { width: 15px; height: 15px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.carousel-dots span { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); transition: width .3s ease, background .3s ease; }
.carousel-dots span.is-active { width: 20px; background: var(--accent); }

/* Vantagens */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.benefit { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.benefit__icon { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 12px; border-radius: 12px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.benefit h3 { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.benefit p { margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* Localização */
.location { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(160deg, var(--card-2), var(--card)); }
.location::after { position: absolute; top: -50px; right: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 124, 32, .25), rgba(244, 124, 32, 0) 70%); content: ""; pointer-events: none; }
.location__head { display: flex; align-items: flex-start; gap: 14px; }
.location__pin { display: grid; width: 46px; height: 46px; flex: none; place-items: center; border-radius: 14px; background: var(--accent); color: var(--night); }
.location h2 { margin-top: 4px; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.location p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hours { display: grid; gap: 4px; margin: 10px 0 0; font-size: 13px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; }
.btn { position: relative; z-index: 1; display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 0 18px; border: 1px solid rgba(244, 124, 32, .55); border-radius: 15px; color: var(--accent); font-size: 15px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.btn:hover { background: var(--accent); color: var(--night); }
.btn span { flex: 1; }

/* Rodapé */
.footer { display: grid; justify-items: center; gap: 6px; margin-top: 30px; padding: 24px 16px 4px; border-top: 1px solid var(--line); text-align: center; }
.footer img { width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; }
.footer > strong { font-family: var(--display); font-size: 15px; }
.footer p { color: var(--muted); font-size: 13px; }
.footer > span { margin-top: 8px; color: var(--dim); font-size: 12px; }
.footer a { margin-top: 2px; color: var(--dim); font-size: 12px; }
.footer a strong { color: var(--muted); }
.footer a:hover strong { color: var(--accent); }

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

@media (min-width: 480px) {
  .page { padding-top: 24px; }
  .hero { padding: 22px 22px 18px; }
  .hero__visual { --visual: 175px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 14px; }
  .carousel { grid-auto-columns: 46%; margin: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

@media (max-width: 350px) {
  .hero__top { grid-template-columns: 1fr; }
  .hero__visual { --visual: 130px; order: -1; }
}

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