/* Noturno — remodelagem do protótipo: continua escuro e técnico, mas com outra
   família tipográfica (Big Shoulders + Manrope), acento ciano elétrico em vez de
   verde-limão, hero dividido (texto + painel de imagem), cards com borda fina e
   números grandes. Nada de barra de protótipo. */
:root {
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-num: 'Big Shoulders Display', sans-serif;
  --bg: #0b0d12; --bg-2: #12151d; --fg: #e8eaf0; --fg-2: #8b93a7; --line: #232836;
  --brand: #22d3ee; --brand-fg: #06151a; --accent: #f59e0b;
  --dark: #06070a; --dark-fg: #e8eaf0; --dark-fg-2: #8b93a7;
  --card: #12151d; --radius: 14px; --radius-btn: 10px;
  --shadow: 0 0 0 1px rgba(34,211,238,.35), 0 20px 50px rgba(0,0,0,.6);
  --h1: clamp(52px, 8.5vw, 120px); --h2: clamp(34px, 4.8vw, 64px); --h3: 22px; --kicker-ls: .22em;
}
h1, h2, h3 { text-transform: uppercase; font-weight: 900; line-height: .96; letter-spacing: .005em; }
.kicker { color: var(--brand); font-size: 11px; }
.kicker::before { content: "// "; opacity: .6; }
.lead { color: var(--fg-2); }
.btn { font-weight: 700; }
.btn-primary { background: var(--brand); color: var(--brand-fg); border-color: var(--brand); box-shadow: 0 0 24px rgba(34,211,238,.35); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { background: var(--bg); border-color: var(--line); color: var(--fg); }

.site-header { background: rgba(11,13,18,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.menu a { font-size: 13px; letter-spacing: .1em; color: var(--fg-2); }
.menu a:hover, .menu a[aria-current] { background: var(--bg-2); color: var(--fg); }
.btn-whats { background: transparent; color: var(--fg); border-color: var(--line); }
@media (max-width: 980px) { .menu { background: var(--bg); } }

/* hero dividido */
.hero { background: var(--bg); min-height: auto; color: var(--fg); }
.hero::before { display: none; }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.hero-split h1 { text-align: left; display: grid; }
.hero-split .hero-l1 { letter-spacing: 0; }
.hero-split .hero-l2 { color: var(--brand); font-weight: 900; text-transform: uppercase; font-size: .78em; }
.hero-split .lead { margin: 20px 0 0; max-width: 46ch; }
.hero-split .actions { justify-content: flex-start; }
.hero-panel { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--bg-2); }
.hero-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,13,18,.85)); }
.hero-stats { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 24px; z-index: 1; }
.hero-stats li { display: grid; line-height: 1; }
.hero-stats b { font-family: var(--font-num); font-size: 36px; font-weight: 900; }
.hero-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .25; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } .hero-panel { aspect-ratio: 4/3; } }

.card { border-color: var(--line); }
.card:hover { box-shadow: var(--shadow); }
.card-img { background: #0f1218; }
.card-img img { mix-blend-mode: lighten; }
.card-title { font-size: 24px; }
.card-stats b, .specs-inline b, .specs dd, .preco b, .pdp-preco b { font-weight: 900; }
.card-stats b { font-size: 24px; }
.preco b { font-size: 24px; }
.tag { background: var(--bg); color: var(--brand); border: 1px solid var(--brand); border-radius: 4px; }
.tag-unico { color: var(--accent); border-color: var(--accent); }
.tag-esgotado { color: var(--fg-2); border-color: var(--line); }

.sec-urban { background: var(--bg-2); padding-top: var(--sec-y) !important; border-block: 1px solid var(--line); }
.spot-img img { border-radius: var(--radius); border: 1px solid var(--line); }
.specs-inline b { font-size: 40px; }
.sec-trust li { border-color: var(--line); background: var(--bg-2); }
.sec-trust b { font-size: 22px; }
/* aperta o vao preto entre as 2 experiencias e a barra de confianca na home */
.sec-exp { padding-bottom: clamp(28px, 4vw, 56px); }
.sec-exp + .sec-trust { padding-top: 0 !important; }
.comunidade-fotos img { border: 1px solid var(--line); }
.sec-cta { background: var(--bg-2); border-top: 1px solid var(--line); }
.sec-cta h2 { color: var(--brand); }
.page-head { border-bottom: 1px solid var(--line); }
.grupo-titulo { font-size: 32px; }
.pdp-main { background: #0f1218; border: 1px solid var(--line); }
.pdp-info h1 { font-size: clamp(40px, 5vw, 72px); }
.pdp-preco b { font-size: 48px; }
.est { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; color: var(--fg-2); }
.est-estoque { color: var(--brand); border-color: var(--brand); } .est-unico { color: var(--accent); border-color: var(--accent); } .est-encomenda { color: #93c5fd; border-color: #93c5fd; }
.specs { background: var(--line); }
.specs div { background: var(--bg-2); }
.specs dd { font-size: 22px; }
.chamado, .dica { background: var(--bg-2); border-color: var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.footer-col h4 { color: var(--brand); }

/* ===================================================================
   Home "montada igual" ao mockup RideGood (PDF). Seções exclusivas do
   tema noturno (overrides em themes/noturno/views/).
   =================================================================== */

/* Duas experiências: ONEWHEEL + URBAN */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exp-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 230px; padding: clamp(24px,3vw,36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; transition: border-color .2s, transform .2s; }
.exp-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.exp-txt { position: relative; z-index: 1; max-width: 56%; }
.exp-txt h2 { font-size: clamp(30px,4vw,52px); margin: 0 0 10px; }
.exp-txt .lead { margin: 0 0 18px; }
.exp-img { position: relative; align-self: stretch; width: 44%; }
.exp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right center; mix-blend-mode: lighten; }

/* Barra de confiança com ícones */
.trust-ico { grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-ico li { grid-template-columns: auto 1fr; align-items: center; gap: 14px; background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 8px 18px; }
.trust-ico li:first-child { border-left: 0; padding-left: 0; }
.trust-ico svg { width: 30px; height: 30px; color: var(--brand); flex: none; }
.trust-ico span { font-size: 14px; color: var(--fg-2); font-weight: 600; line-height: 1.3; }

/* Conheça nossos produtos (showcase) */
.showcase { display: grid; grid-template-columns: .82fr 2.3fr; gap: clamp(28px,4vw,56px); align-items: start; }
.showcase-head { margin: 0; max-width: none; }
.showcase-head h2 { margin: 10px 0 12px; }
.showcase-head .btn { margin-top: 22px; }
.showcase-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.prod-card { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); align-content: start; transition: border-color .2s, transform .2s; }
.prod-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.prod-img { aspect-ratio: 1; background: #0f1218; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; }
.prod-card h3 { font-size: 18px; margin: 4px 0 0; }
.prod-card p { font-size: 12px; color: var(--fg-2); margin: 0; line-height: 1.35; }
.prod-sep { position: relative; }
.prod-sep::before { content: ""; position: absolute; left: -7px; top: 10%; bottom: 10%; width: 1px; background: var(--line); }

/* Seminovos + Serviços lado a lado (foto de fundo) */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { position: relative; min-height: 300px; display: flex; align-items: flex-end; padding: clamp(24px,3vw,36px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: transform .2s, border-color .2s; }
.split-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.split-card::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: .6; }
.split-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,10,.94), rgba(6,7,10,.35) 70%, rgba(6,7,10,.15)); }
.split-body { position: relative; z-index: 1; max-width: 76%; }
.split-body h2 { font-size: clamp(26px,3.2vw,44px); margin: 0 0 12px; }
.split-body .lead { margin: 0 0 18px; color: var(--fg); }

/* Comunidade — faixa com foto grande */
.band { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px,5vw,64px); align-items: center; }
.band-txt h2 { font-size: var(--h2); margin: 10px 0 12px; }
.band-txt .btn { margin-top: 20px; }
.band-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }

/* CTA final sobre foto */
.cta-banner { position: relative; background: var(--dark); overflow: hidden; text-align: left; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: .5; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,10,.95) 30%, rgba(6,7,10,.2)); }
.cta-banner .cta-in { position: relative; z-index: 1; max-width: 860px; margin: 0; text-align: left; }
.cta-banner h2 { font-size: clamp(40px,6vw,88px); color: var(--fg); }
.cta-banner h2 span { color: var(--brand); }
.cta-banner .btn { margin-top: 28px; }

/* Responsivo */
@media (max-width: 920px) {
  .exp-grid, .split-grid, .showcase, .band { grid-template-columns: 1fr; }
  .exp-card { min-height: 200px; }
  .exp-txt { max-width: 62%; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-ico { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .trust-ico li, .trust-ico li:first-child { border-left: 0; padding-left: 0; }
  .prod-sep::before { display: none; }
  .band-img { order: -1; }
  .cta-banner::after { background: linear-gradient(0deg, rgba(6,7,10,.96), rgba(6,7,10,.45)); }
}
@media (max-width: 560px) {
  .exp-card { flex-direction: column; align-items: flex-start; }
  .exp-txt { max-width: 100%; }
  .exp-img { width: 100%; height: 150px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   Paginas internas (Onewheel / Urban) no estilo dos mockups RideGood.
   As views base (app/views/onewheel.php, urban.php) ja tem o conteudo;
   aqui so o visual noturno.
   =================================================================== */

/* Hero full-bleed com foto + texto a esquerda */
.hero-onewheel { position: relative; min-height: 76vh; display: flex; align-items: center; background: var(--bg); overflow: hidden; padding: clamp(40px,6vw,80px) 0; }
.hero-onewheel::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; opacity: .62; }
.hero-onewheel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,18,.96) 22%, rgba(11,13,18,.3) 68%, rgba(11,13,18,.55)); }
.hero-onewheel .hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; z-index: 0; }
.hero-onewheel .hero-in { position: relative; z-index: 1; text-align: left; max-width: 760px; margin: 0; }
.hero-onewheel h1 { text-align: left; display: grid; }
.hero-onewheel .hero-l2 { color: var(--brand); }
.hero-onewheel .lead { margin: 18px 0 0; max-width: 48ch; }
.hero-onewheel .hero-sub { color: var(--fg-2); font-size: 13px; letter-spacing: .04em; margin-top: 10px; }
.hero-onewheel .actions { justify-content: flex-start; margin-top: 26px; }

/* Secao "Escolha o seu ..." + cards de modelo */
.sec-modelos .sec-head.center { text-align: left; margin-inline: 0; }
.modelos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modelos-grid-2 { grid-template-columns: repeat(2, 1fr); }
.modelo-card { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s, transform .2s; }
.modelo-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.modelo-img { aspect-ratio: 16/10; background: #0f1218; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.modelo-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; }
.modelo-card h3 { font-size: clamp(24px,2.4vw,32px); margin-top: 6px; }
.modelo-card p { color: var(--fg-2); font-size: 14px; margin: 0 0 8px; }
.modelo-card .btn { justify-self: start; }

/* Banda de experiencia + tagline ciano + pilares com divisorias */
.sec-experiencia .destaque { color: var(--brand); font-weight: 800; font-size: clamp(18px,2.2vw,26px); margin: 10px 0 28px; }
.sec-experiencia .trust { grid-template-columns: repeat(4, 1fr); gap: 0; }
.sec-experiencia .trust li { border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 4px 20px; background: transparent; }
.sec-experiencia .trust li:first-child { border-left: 0; padding-left: 0; }
.sec-experiencia .trust b { color: var(--brand); font-size: 18px; display: block; margin-bottom: 6px; font-family: var(--font-display); }
.sec-experiencia .trust span { color: var(--fg-2); font-size: 14px; }

/* Como funciona — passos em linha */
.sec-como-funciona .sec-head.center { text-align: left; }
.sec-como-funciona .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sec-como-funciona .steps li { border: 0; background: transparent; border-radius: 0; padding: 0; border-top: 2px solid var(--brand); padding-top: 16px; }
.sec-como-funciona .steps b { color: var(--fg); font-size: 18px; display: block; margin-bottom: 8px; font-family: var(--font-display); }
.sec-como-funciona .steps span { color: var(--fg-2); font-size: 14px; }

/* "Mais que uma loja / Criada pela RideGood" */
.sec-sobre-onewheel .trust { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; }
.sec-sobre-onewheel .trust li { border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 4px 20px; background: transparent; }
.sec-sobre-onewheel .trust li:first-child { border-left: 0; padding-left: 0; }
.sec-sobre-onewheel .trust b { font-size: 16px; color: var(--fg); }

@media (max-width: 920px) {
  .modelos-grid, .modelos-grid-2 { grid-template-columns: 1fr; }
  .sec-experiencia .trust, .sec-como-funciona .steps, .sec-sobre-onewheel .trust { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .sec-experiencia .trust li, .sec-sobre-onewheel .trust li { padding-left: 16px; }
  .sec-experiencia .trust li:nth-child(odd), .sec-sobre-onewheel .trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-onewheel { min-height: 64vh; }
}

/* ===================================================================
   Seminovos / Servicos / Comunidade / Sobre — estilo dos mockups.
   Conteudo ja existe nas views base; aqui so o visual noturno.
   =================================================================== */

/* .page-head vira hero branded com foto (servicos, sobre, categorias/seminovos) */
.page-head { position: relative; min-height: 46vh; display: flex; align-items: center; overflow: hidden; background: var(--bg); padding: clamp(40px,6vw,76px) 0; border-bottom: 0; }
.page-head::before { content: ""; position: absolute; inset: 0; background: url('../../assets/img/hero/hero.jpg') center/cover no-repeat; opacity: .38; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,18,.96) 24%, rgba(11,13,18,.45) 72%, rgba(11,13,18,.7)); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { text-align: left; font-size: clamp(42px,6vw,90px); }
.page-head .kicker, .page-head .lead { text-align: left; }
.page-head .lead { max-width: 54ch; margin-top: 16px; }
.page-head .trust { margin-top: 28px; grid-template-columns: repeat(4,1fr); gap: 0; }
.page-head .trust li { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; padding: 4px 18px; }
.page-head .trust li:first-child { border-left: 0; padding-left: 0; }
.page-head .trust b { color: var(--fg); font-size: 15px; }

/* Faixa de icones da comunidade */
.icones-faixa { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.icones-faixa li { display: grid; justify-items: start; gap: 8px; border-left: 1px solid var(--line); padding: 6px 18px; font-size: 24px; }
.icones-faixa li:first-child { border-left: 0; padding-left: 0; }
.icones-faixa span { font-size: 14px; color: var(--fg-2); font-weight: 600; }

/* Galeria de fotos da comunidade */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galeria img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* CTA interno um pouco maior (mantem o acento ciano do noturno) */
.sec-cta h2 { font-size: clamp(34px,4.5vw,66px); }

@media (max-width: 920px) {
  .page-head { min-height: 38vh; }
  .page-head .trust { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .page-head .trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .icones-faixa { grid-template-columns: 1fr 1fr 1fr; gap: 18px 0; }
  .icones-faixa li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .galeria { grid-template-columns: 1fr 1fr; }
}
