/* 4BOSS — Boutique luxury automotive. White, immersive, gold-accented. */

:root {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --paper: #FFFFFF;
  --ink: #000000;        /* official 4BOSS — pure black */
  --ink-2: #424242;      /* official secondary text */
  --mute: #898989;       /* official muted */
  --mute-2: #C7C4BC;
  --line: #EDEFF1;       /* official borders */
  --line-2: #F5F5F2;
  --accent: #B08A00;     /* official antique gold */
  --accent-2: #8B6D00;
  --accent-soft: #F7EFD6;
  --shadow-card: 0 1px 0 rgba(0,0,0,.02), 0 30px 50px -36px rgba(0,0,0,.18);
  --shadow-floor: 0 70px 70px -40px rgba(0,0,0,.28);
  --nav-h: 86px;
  --maxw: 1440px;
  --pad: clamp(28px, 5vw, 88px);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); overflow-x: clip; }
body {
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: -0.003em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ─── Fluid background (CSS animated gradient mesh) ───────────────── */
@keyframes fx-1 {
  0%   { transform: translate3d(-12vw, -6vh, 0) scale(1); }
  50%  { transform: translate3d(14vw,  10vh, 0) scale(1.15); }
  100% { transform: translate3d(-12vw, -6vh, 0) scale(1); }
}
@keyframes fx-2 {
  0%   { transform: translate3d(18vw,  -10vh, 0) scale(1.1); }
  50%  { transform: translate3d(-10vw,  8vh, 0) scale(0.95); }
  100% { transform: translate3d(18vw,  -10vh, 0) scale(1.1); }
}
@keyframes fx-3 {
  0%   { transform: translate3d(0, 20vh, 0) scale(1); }
  50%  { transform: translate3d(8vw, -12vh, 0) scale(1.2); }
  100% { transform: translate3d(0, 20vh, 0) scale(1); }
}
body { background: #FFFFFF; }
body::before, body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  filter: blur(60px);
  will-change: transform;
}
body::before {
  background:
    radial-gradient(55% 45% at 20% 25%, rgba(232,169,26,.38), transparent 75%),
    radial-gradient(50% 40% at 80% 22%, rgba(198,143,14,.30), transparent 75%),
    radial-gradient(60% 50% at 50% 50%, rgba(232,169,26,.18), transparent 75%);
  animation: fx-1 26s ease-in-out infinite;
}
body::after {
  background:
    radial-gradient(55% 45% at 50% 85%, rgba(232,169,26,.30), transparent 75%),
    radial-gradient(45% 38% at 85% 70%, rgba(31,31,34,.10), transparent 70%),
    radial-gradient(45% 38% at 15% 72%, rgba(31,31,34,.08), transparent 70%);
  animation: fx-3 32s ease-in-out infinite;
}
/* No stacking context on main — keeps mix-blend-mode blending with body bg */

/* ─── Type system ───────────────────────── */
.display {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--ink);
}
.display.heavy { font-weight: 600; letter-spacing: 0.02em; }
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 10.5px;
  color: var(--accent-2);
}
.label {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 10px;
  color: var(--mute);
}
.brand-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  color: var(--accent-2);
}
.kicker { font-family: "Montserrat", sans-serif; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.serif-i {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1em;
  letter-spacing: 0;
  text-transform: none;
}

/* ─── Layout ────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(72px, 7vw, 108px); padding-bottom: clamp(72px, 7vw, 108px); }
.rule { height: 1px; width: 40px; background: var(--accent); border: 0; margin: 0; }
.thin-rule { height: 1px; width: 100%; background: var(--line); border: 0; margin: 0; }
.gold-dash {
  display: inline-flex; align-items: center; gap: 6px;
  height: 14px;
}
.gold-dash::before, .gold-dash::after {
  content: ""; width: 3px; height: 100%; background: var(--accent);
}

/* ─── Logo ───────────────────────────────── */
.logo-img { height: 26px; width: auto; display: block; }
.logo-img.lg { height: 52px; }
.logo-img.sm { height: 22px; }
.logo-stack { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.logo-stack .logo-img.lg + .logo-tag { font-size: 10px; }
.logo-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.46em;
  color: var(--mute);
  text-transform: uppercase;
  padding-left: 0.46em;
  font-weight: 500;
}

/* ─── Nav ───────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(0,0,0,.04);
  height: 108px;
}
:root { --nav-h: 108px; }
.nav-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  position: relative;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.nav-links button, .nav-links a {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; position: relative;
  transition: color .25s ease;
}
.nav-links button:hover, .nav-links a:hover { color: var(--ink); }
.nav-links button.active { color: var(--ink); }
.nav-links button.active::after {
  content: ""; position: absolute; left: 50%; bottom: -10px;
  width: 14px; height: 2px; background: var(--accent);
  transform: translateX(-50%);
}
.nav-right { justify-content: flex-start; }
.nav-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mute);
  transition: color .25s ease;
  cursor: pointer;
}
.nav-icon:hover { color: var(--ink); }

/* ─── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 28px;
  background: var(--ink);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  border: 1px solid var(--ink);
  cursor: pointer;
  position: relative;
  transition: background .3s ease, color .3s ease, border-color .3s ease, padding .3s ease;
}
.btn::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 14px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .3s ease, left .3s ease;
}
.btn:hover { background: #000; padding-left: 36px; padding-right: 22px; }
.btn:hover::before { opacity: 1; left: 18px; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }
.btn-light { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: var(--ink); color: white; border-color: var(--ink); }
.btn-arrow::after {
  content: "→"; font-size: 14px; margin-left: 2px;
  transition: transform .3s ease;
}
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }
.btn-link {
  background: transparent; border: 0; padding: 8px 0;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.24em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--ink);
  transition: gap .3s ease, color .3s ease;
}
.btn-link::after { content: "→"; transition: transform .3s ease; }
.btn-link:hover { gap: 20px; color: var(--accent-2); border-color: var(--accent); }
.btn-link:hover::after { transform: translateX(4px); }

/* ─── Inputs ────────────────────────────── */
.field {
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.field .label { font-size: 9px; letter-spacing: 0.28em; color: var(--mute); }
.field select, .field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px 0 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .25s ease, background-color .25s ease;
  width: 100%;
}
/* In the listing sidebar, fields get fully bordered + rounded chips. */
.filters .field select,
.filters .field input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--paper);
}
.filters .field select:focus,
.filters .field input:focus { border-color: var(--accent); }
.filters .field-arrow { right: 10px; bottom: 14px; }
.filter-apply .btn { border-radius: var(--radius-sm); }
.field select:focus, .field input:focus { border-color: var(--accent); }
.field-arrow {
  position: absolute; right: 0; bottom: 8px;
  color: var(--mute); pointer-events: none; font-size: 10px;
}

/* ─── Car staging — "floating" immersion ──────────────────────────── */
/* The dealer photos almost always come on white seamless. We blend
   them into the page background so each car reads as floating, with
   no CSS-added floor shadow and a tight mask to crop edge artifacts. */
.car-floor {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.car-floor > img {
  position: relative; z-index: 1;
  mix-blend-mode: multiply;
  /* Softer edge: smaller opaque core + longer feathered fade to fully transparent. */
  -webkit-mask-image: radial-gradient(94% 68% at 50% 46%, #000 35%, rgba(0,0,0,.6) 70%, transparent 100%);
          mask-image: radial-gradient(94% 68% at 50% 46%, #000 35%, rgba(0,0,0,.6) 70%, transparent 100%);
  filter: brightness(1.06) contrast(1.06);
}

/* ─── Card ──────────────────────────────── */
.card {
  display: flex; flex-direction: column;
  padding: 8px 8px 12px;
  position: relative;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: box-shadow .4s ease, transform .4s ease;
}
.card:hover {
  box-shadow: 0 30px 60px -40px rgba(20,16,8,.25);
  transform: translateY(-3px);
}
.card .card-img {
  position: relative;
  aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: transparent;
  border-radius: var(--radius);
}
.card .card-img img {
  width: 104%; height: 104%; object-fit: contain;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.06);
  -webkit-mask-image: radial-gradient(94% 68% at 50% 45%, #000 35%, rgba(0,0,0,.6) 70%, transparent 100%);
          mask-image: radial-gradient(94% 68% at 50% 45%, #000 35%, rgba(0,0,0,.6) 70%, transparent 100%);
}
.card:hover .card-img img { transform: scale(1.05); }
.card .tag {
  position: absolute; top: 12px; left: 12px;
  background: white;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.24em;
  padding: 6px 10px 5px;
  z-index: 2;
  border-radius: 999px;
}
.card .tag.tag-prep { background: var(--ink); border-color: var(--ink); color: white; }
.card .body { padding: 8px 16px 12px; }
.card .brand-line { margin-top: 6px; }
.card .model {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.15;
  min-height: 36px;
}
.card .under-rule {
  width: 24px; height: 1px; background: var(--accent);
  margin: 14px 0 14px;
  transition: width .35s ease;
}
.card:hover .under-rule { width: 56px; }
.card .meta {
  display: flex; gap: 20px;
  font-size: 12px; color: var(--mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.card .price {
  margin-top: 10px;
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.card .price small {
  font-weight: 400; color: var(--mute);
  font-size: 10px; letter-spacing: 0.14em;
  margin-right: 6px;
  text-transform: uppercase;
}

/* ─── Hero (refined, single-stage) ──────── */
.hero {
  position: relative;
  padding-top: 12px;
  padding-bottom: 64px;
  background: transparent;
  overflow: hidden;
}
.hero-search {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 28px;
  align-items: end;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 22px 28px;
  margin: 0 auto;
  max-width: 920px;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 60px -40px rgba(0,0,0,.08);
}
.hero-search .search-label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.35;
}

/* Stage: title centered above, car centered, stats right-aligned. */
.hero-stage { position: relative; margin-top: 8px; }
.hero-anim-wrap { position: relative; }
.hero-head {
  padding-left: 0;
  margin-bottom: 0;
}
.hero-head--centered { text-align: center; }
.hero-head .brand-label {
  font-size: 12px; letter-spacing: 0.32em;
  color: var(--mute);
}
.hero-head .hero-title {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: 0.02em;
  margin: 6px 0 0;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}

.hero-car {
  position: relative;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}
/* Huge model name behind the car — editorial layer positioned near the
   top so the letters peek above/behind the upper body of the car for all
   models (short or long), giving the same editorial cue every time. */
.hero-bg-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(8px, 1.5vw, 24px);
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 140px);
  color: rgba(0, 0, 0, 0.085);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  width: 100%;
  text-align: center;
}
/* Thin gold arc under the car — "podium" stage line. */
.hero-stage-arc {
  position: absolute;
  bottom: 4%;
  left: 4%;
  right: 4%;
  height: 28px;
  width: 92%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
.hero-car-frame {
  position: relative;
  width: 100%;
  max-width: 1180px;
  aspect-ratio: 16/9;
  z-index: 1;
}

/* Slide transition between capa cars ── */
@keyframes hero-slide-from-right {
  0%   { opacity: 0; transform: translateX(8%); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes hero-slide-from-left {
  0%   { opacity: 0; transform: translateX(-8%); }
  100% { opacity: 1; transform: translateX(0); }
}
.hero-anim-wrap.hero-anim--next { animation: hero-slide-from-right .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-anim-wrap.hero-anim--prev { animation: hero-slide-from-left  .7s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim-wrap.hero-anim--next, .hero-anim-wrap.hero-anim--prev { animation: none; }
}
.hero-car-frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.06);
  -webkit-mask-image: radial-gradient(96% 70% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
          mask-image: radial-gradient(96% 70% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
}

.hero-stats {
  display: flex;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 64px);
  padding: 0 12px;
  margin-top: 16px;
}
.hero-stats--right { justify-content: flex-end; }
.hero-stats .stat { text-align: left; }
.hero-stats .stat .label {
  font-size: 10px; letter-spacing: 0.32em; color: var(--mute);
  display: block; margin-bottom: 6px;
}
.hero-stats .stat .stat-val {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.hero-pager {
  display: flex; align-items: center; gap: 22px;
  justify-content: center;
  margin-top: 30px;
  z-index: 6;
}
.hero-pager .progress { width: 180px; height: 1px; background: var(--mute-2); position: relative; }
.hero-pager .progress::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--accent);
  width: calc(33% * var(--p, 1));
  transition: width .5s ease;
}
.hero-pager .dots { display: flex; gap: 8px; }
.hero-pager .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mute-2);
  cursor: pointer;
}
.hero-pager .dot.active { background: var(--ink); }
.hero-pager .arrows { display: flex; gap: 0; margin-left: 14px; }
.hero-pager .arrows button {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.hero-pager .arrows button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.hero-pager .arrows button + button { margin-left: -1px; }

/* ─── Section header (eyebrow + heading) ── */
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(36px, 4.5vw, 64px); margin: 12px 0 0; font-weight: 400; }
.section-head .copy { padding-bottom: 8px; max-width: 360px; }
.section-head .copy h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-head .copy p { color: var(--mute); margin: 0; font-size: 13.5px; line-height: 1.6; }

/* ─── Featured grid ─────────────────────── */
/* Home tem exatamente 6 cards: 3 em cima + 3 embaixo no desktop.
   Em tablet vira 2x3; mobile vira 1x6 (regra abaixo no media query). */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin-top: 8px;
  min-width: 0;
}
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Excellence (refined, white) ─────── */
.excellence { background: transparent; position: relative; }
.excellence-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.excellence-text { padding: 40px 0; max-width: 460px; }
.excellence h2 { font-size: clamp(40px, 5vw, 64px); margin: 12px 0 0; font-weight: 400; }
.excellence .lead {
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 380px;
}
.excellence p {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--mute);
  max-width: 400px;
  line-height: 1.7;
}
.excellence .actions { margin-top: 36px; display: flex; gap: 18px; align-items: center; }
.excellence h2 .ten-years {
  display: block;
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: 0.36em;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.excellence .quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  display: block;
  margin-top: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.excellence p { max-width: 460px; }
.excellence-image {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.excellence-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(31,31,34,.02) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #FCFAF4 0%, #F4EFE3 100%);
}
.excellence-image > img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.excellence-image .ph-tag {
  position: relative; z-index: 2;
  font-family: "Montserrat", monospace;
  font-size: 10px; letter-spacing: 0.32em;
  color: var(--mute);
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.excellence-image .ph-tag span:first-child {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-size: 14px; color: var(--ink-2);
}
/* When the showroom image is loaded, hide the placeholder layer. */
.excellence-image.has-img::before,
.excellence-image.has-img .ph-tag { display: none; }

/* ─── Lead capture (light) ──────────────── */
.lead-section {
  background: transparent;
  padding-top: clamp(72px, 7vw, 96px);
  padding-bottom: clamp(72px, 7vw, 96px);
}
.lead-card {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 56px 56px 48px;
  position: relative;
}
.lead-card::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 2px; height: 56px; background: var(--accent);
}
.lead-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.lead-head h3 {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 400; font-size: 16px; margin: 0;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-transform: uppercase;
}
.lead-head h3 strong {
  font-weight: 500; font-size: 32px;
  display: block; margin-top: 6px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.lead-head .right {
  font-size: 13.5px;
  color: var(--mute);
  text-align: right;
  line-height: 1.6;
  align-self: end;
  padding-bottom: 6px;
}
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px 32px;
}
.lead-form.lead-form--3col {
  grid-template-columns: 1fr 1fr 1fr auto;
}
.lead-form.lead-form--3col .checkbox-row {
  grid-column: 1 / span 3;
}
.lead-form.lead-form--3col .submit-row {
  grid-column: 4;
}
.lead-form .checkbox-row {
  grid-column: 1 / span 3;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 11px; color: var(--mute); line-height: 1.5;
  margin-top: 12px;
}
.lead-form .checkbox-row strong { color: var(--ink); font-weight: 500; }
.lead-form .submit-row { grid-column: 4; display: flex; align-items: flex-end; margin-top: 12px;}
.lead-form .submit-row .btn { width: 100%; justify-content: center; min-width: 200px; }
.checkbox-box {
  width: 16px; height: 16px;
  border: 1px solid var(--mute-2);
  flex-shrink: 0; margin-top: 1px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.checkbox-box.checked { background: var(--ink); border-color: var(--ink); color: var(--accent); font-size: 10px;}

/* ─── Experience teaser ─────────────────── */
.experience { background: transparent; padding: clamp(64px, 7vw, 96px) 0; }
.exp-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Instagram tile (replaces the old video placeholder). */
.exp-instagram {
  aspect-ratio: 16/9;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(232,169,26,.28), transparent 70%),
    radial-gradient(50% 60% at 80% 80%, rgba(31,31,34,.10), transparent 70%),
    linear-gradient(135deg, #FFFFFF 0%, #FAF6EC 100%);
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
  text-decoration: none;
}
.exp-instagram:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.exp-ig-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--ink);
}
.exp-ig-inner svg { color: var(--accent-2); }
.exp-ig-handle {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-size: 26px; letter-spacing: 0.08em;
  color: var(--ink);
}
.exp-ig-follow {
  font-family: "Montserrat", sans-serif;
  font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.exp-content .eyebrow { margin-bottom: 10px; display: block; }
.exp-content h3 {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 400; font-size: 32px;
  margin: 0; line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.exp-content h3 em {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  color: var(--accent-2);
  font-size: 36px; margin-top: 4px;
}
.exp-content .desc {
  color: var(--mute);
  font-size: 13.5px; line-height: 1.7;
  margin-top: 22px; max-width: 360px;
}

/* ─── Media teaser (YouTube + News) ───────────────────────────────── */
.media-section {
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
  background: transparent;
}
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.media-card {
  display: flex; flex-direction: column;
  padding: 36px 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.media-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 100% 0%, rgba(176,138,0,.08), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.media-card:hover::before { opacity: 1; }
.media-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.media-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--accent);
  flex-shrink: 0;
  transition: background .35s ease, color .35s ease;
}
.media-card:hover .media-icon { background: var(--accent); color: white; }
.media-card-head .brand-label { font-size: 11px; }
.media-card h3 {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1;
}
.media-card p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 420px;
  flex-grow: 1;
}
.media-cta {
  align-self: flex-start;
  pointer-events: none; /* card itself is the link */
}
@media (max-width: 980px) {
  .media-grid { grid-template-columns: 1fr; gap: 16px; }
  .media-card { padding: 28px 24px; min-height: auto; }
  .media-card h3 { font-size: 26px; }
}

/* ─── Footer (dark, grounding) ───────── */
.footer {
  background: #131316;
  color: rgba(255,255,255,.7);
  padding: 64px var(--pad) 28px;
  border-top: 1px solid #1f1f22;
}
.footer .footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .logo-img { filter: brightness(0) invert(1); opacity: .95; }
.footer .footer-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic; font-size: 18px;
  color: rgba(255,255,255,.6);
}
.footer .footer-cta { display: flex; align-items: center; gap: 24px; justify-self: end; }
.footer .btn-ghost { border-color: rgba(255,255,255,.4); color: white; }
.footer .btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-mid {
  max-width: var(--maxw); margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 36px;
}
.footer-mid .addr { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-mid .addr strong { color: white; font-weight: 500; display: block; margin-bottom: 8px; font-size: 14px; }
.footer-mid .col-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-mid .links {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; font-family: "Montserrat", sans-serif; font-weight: 400;
}
.footer-mid .links a { color: rgba(255,255,255,.7); transition: color .25s ease; }
.footer-mid .links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.4);
  letter-spacing: 0.04em;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom .socials { display: flex; gap: 16px; align-items: center; color: rgba(255,255,255,.5); }
.footer-bottom .socials .nav-icon { color: rgba(255,255,255,.5); }
.footer-bottom .socials .nav-icon:hover { color: var(--accent); }

/* ─── WhatsApp float (yellow, bouncing) ───────────────────────────── */
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35%      { transform: translateY(-12px) scale(1.05); }
  55%      { transform: translateY(0) scale(.98); }
  72%      { transform: translateY(-4px) scale(1.02); }
  85%      { transform: translateY(0) scale(1); }
}
@keyframes wa-halo {
  0%   { box-shadow: 0 0 0 0 rgba(232,169,26,.55); }
  100% { box-shadow: 0 0 0 24px rgba(232,169,26,0); }
}
.whatsapp {
  position: fixed; bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  z-index: 80;
  box-shadow: 0 12px 28px rgba(232,169,26,.35), 0 4px 10px rgba(0,0,0,.10);
  cursor: pointer;
  animation: wa-bounce 2.6s ease-in-out infinite, wa-halo 2.6s ease-out infinite;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp:hover { background: var(--accent-2); transform: scale(1.06); }

/* ─── Lightbox (full-screen photo carousel) ───────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8,6,4,.92);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 24px 64px;
  animation: fade-in .25s ease;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-close { top: 22px; right: 22px; border-radius: 50%; }
.lb-nav { top: 50%; transform: translateY(-50%); border-radius: 50%; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lb-counter {
  position: absolute; top: 30px; left: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.lb-stage {
  flex: 1;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 8px 12px;
  min-height: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: lb-pop .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
@keyframes lb-pop {
  from { opacity: 0; transform: scale(.98); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-strip {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding: 12px 8px 6px;
  max-width: 100%;
  scrollbar-width: thin;
}
.lb-strip::-webkit-scrollbar { height: 4px; }
.lb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); }
.lb-thumb {
  width: 72px; height: 50px; flex-shrink: 0;
  border: 1px solid transparent;
  outline: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: .55;
  transition: opacity .2s ease, outline-color .2s ease;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.active { opacity: 1; outline-color: var(--accent); }
.lb-thumb:hover { opacity: 1; }

/* Hero car frame as a button ── */
.hero-car-frame--btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}
.hero-car-frame--btn img {
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-car-frame--btn:hover img { transform: scale(1.02); }
.hero-car-frame--btn:focus-visible { outline: none; }

/* ─── Sobre page ──────────────────────────────────────────────────── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-intro .brand-label { display: block; margin-bottom: 14px; font-size: 12px; letter-spacing: 0.4em; font-weight: 600; }
.sobre-title { font-size: clamp(48px, 6vw, 88px); margin: 0; font-weight: 400; line-height: 1; }
.sobre-lead {
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 480px;
}
.sobre-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
}
.sobre-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sobre-photo-tag {
  position: absolute; left: 18px; bottom: 18px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px; letter-spacing: 0.32em;
  color: rgba(255,255,255,.95);
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.sobre-photo-tag span:first-child { font-family: "Bebas Neue", "Saira Condensed", sans-serif; font-size: 13px; letter-spacing: 0.18em; }

.sobre-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.sobre-block h2 { font-size: clamp(32px, 4vw, 52px); margin: 0; font-weight: 400; line-height: 1.05; }
.sobre-paras p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; margin: 0 0 18px; max-width: 640px; }
.sobre-quote {
  margin: 24px 0 24px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
}
.sobre-quote cite {
  display: block;
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 12px;
}

.sobre-stats-wrap {
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(232,169,26,.08), transparent 70%),
    transparent;
}
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 28px 24px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.stat-card .brand-label { display: block; margin-bottom: 10px; }
.stat-card .display.num {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500; font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-card p { font-size: 13px; color: var(--mute); line-height: 1.5; margin: 0; }

/* ─── Contact popup ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,12,8,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: fade-in .25s ease;
  padding: 24px;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal {
  background: var(--paper);
  width: 100%; max-width: 460px;
  padding: 40px 38px 36px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.35);
  animation: pop-in .32s cubic-bezier(.2,.7,.2,1);
}
.modal::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 2px; height: 56px; background: var(--accent);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  color: var(--mute); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .25s ease;
}
.modal-close:hover { color: var(--ink); }
.modal h3 {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500; font-size: 26px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 8px;
}
.modal .sub {
  color: var(--mute); font-size: 13px; line-height: 1.55;
  margin-bottom: 24px;
}
.modal .modal-vehicle {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; margin-bottom: 22px;
  background: var(--line-2);
  border-left: 2px solid var(--accent);
}
.modal .modal-vehicle .mv-img {
  width: 64px; height: 44px; flex-shrink: 0;
  background: white; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal .modal-vehicle .mv-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.modal .modal-vehicle .mv-meta { font-size: 12px; color: var(--ink); }
.modal .modal-vehicle .mv-meta strong { display: block; letter-spacing: 0.06em; }
.modal .modal-vehicle .mv-meta small { color: var(--mute); letter-spacing: 0.18em; text-transform: uppercase; font-size: 10px; }
.modal .modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal .modal-form .field input {
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  padding: 6px 0 10px;
}
.modal .modal-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.modal .legal {
  font-size: 10.5px; color: var(--mute); line-height: 1.5;
  margin-top: 14px;
}
.modal .legal strong { color: var(--ink); font-weight: 500; }

/* ─── Listing page ──────────────────────── */
.list-head {
  display: flex; align-items: end; justify-content: space-between;
  padding: 48px 0 24px;
  gap: 32px;
}
.list-head h1 { font-size: clamp(32px, 3.6vw, 48px); margin: 0; font-weight: 400; }
.list-head .eyebrow { display: block; margin-bottom: 10px; }
.sort {
  display: flex; align-items: center; gap: 14px;
  font-family: "Montserrat", sans-serif; font-size: 12px;
  flex-wrap: wrap;
}
.sort .label { color: var(--mute); font-size: 10px; letter-spacing: 0.28em; }
.sort button {
  background: none; border: 0; cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: 12px;
  letter-spacing: 0.2em; color: var(--ink-2);
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.sort button.active { color: var(--ink); border-bottom-color: var(--accent); }
.list-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding-top: 32px;
}
.filters {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
  display: flex; flex-direction: column;
  gap: 24px;
}
.filters .filter-row { display: flex; flex-direction: column; gap: 8px; }
.filters .filter-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.filters .filter-row.split .field { position: relative; }
.filters .filter-row.split .field .between {
  position: absolute; left: -12px; top: 22px;
  font-size: 10px; color: var(--mute);
}
.filter-toggle {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px; cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2);
}
.filter-toggle .switch {
  width: 30px; height: 16px; border-radius: 8px;
  background: var(--line); position: relative;
  transition: background .25s ease;
}
.filter-toggle .switch::after {
  content: ""; position: absolute; left: 2px; top: 2px;
  width: 12px; height: 12px; background: white; border-radius: 50%;
  transition: transform .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.filter-toggle.on .switch { background: var(--ink); }
.filter-toggle.on .switch::after { transform: translateX(14px); background: var(--accent); }
.filter-apply { margin-top: 8px; }
.filter-apply .btn { width: 100%; justify-content: center; padding: 13px 0; }
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px 20px;
  min-width: 0;  /* prevent grid from growing beyond container */
}
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 64px 0 24px;
  font-family: "Montserrat", sans-serif; font-size: 13px;
}
.pagination .page-num {
  min-width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mute); cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.pagination .page-num.active { color: var(--ink); border-bottom: 1px solid var(--accent); }
.pagination .arrows { display: flex; gap: 0; margin: 0 12px; }
.pagination .arrows button {
  width: 36px; height: 36px; background: white; border: 1px solid var(--line);
  cursor: pointer; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  border-radius: 999px;
}
.pagination .arrows button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.pagination .arrows button + button { margin-left: -1px; }

/* ─── Detail page — sticky image, scroll-reveal sections ──────────── */
.detail-hero {
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
  position: relative;
}
.detail-hero h1 { font-size: clamp(44px, 5.6vw, 84px); margin: 14px 0 28px; font-weight: 400; }
.detail-hero .stats { display: flex; gap: 48px; margin-bottom: 24px; flex-wrap: wrap; }
.detail-hero .stats .stat .label { display: block; }
.detail-hero .stats .stat .val {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500; font-size: 16px;
  letter-spacing: 0.04em; color: var(--ink); margin-top: 4px;
}
.detail-hero .price {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}
.detail-hero .price small {
  font-weight: 400; color: var(--mute); font-size: 12px;
  letter-spacing: 0.18em; margin-right: 8px;
  text-transform: uppercase;
}
.detail-hero .car-img { position: relative; }
.detail-hero .car-img img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.06);
  -webkit-mask-image: radial-gradient(96% 70% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
          mask-image: radial-gradient(96% 70% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
}
.detail-hero .actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Scroll-reveal section: media sticks on one side while content scrolls
   on the other. The --flip modifier puts content on the LEFT and media
   on the RIGHT, mirroring the hero so the eye doesn't zigzag. */
.detail-scroll-wrap { position: relative; background: transparent; padding-top: 24px; padding-bottom: 80px; }
.detail-scroll-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-scroll-layout--flip { grid-template-columns: 1fr 1.05fr; }
.detail-scroll-layout--flip .detail-side { order: 1; }
.detail-scroll-layout--flip .detail-sticky-media { order: 2; }
.detail-sticky-media {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  height: calc(100vh - var(--nav-h) - 48px);
  display: flex; flex-direction: column; gap: 18px;
  align-items: stretch;
}
.detail-sticky-media .stage {
  flex: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  overflow: hidden;
  border: 0;
  padding: 0;
}
.detail-sticky-media .stage--btn { cursor: zoom-in; }
.detail-sticky-media .stage-zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.detail-sticky-media .stage--btn:hover .stage-zoom,
.detail-sticky-media .stage--btn:focus-visible .stage-zoom {
  opacity: 1; transform: translateY(0);
}
.detail-sticky-media .stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.06);
  -webkit-mask-image: radial-gradient(96% 72% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
          mask-image: radial-gradient(96% 72% at 50% 45%, #000 35%, rgba(0,0,0,.6) 72%, transparent 100%);
}
.detail-sticky-media .thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  flex-shrink: 0;
}
.detail-sticky-media .thumbs .t {
  aspect-ratio: 1/1;
  border: 1px solid transparent;
  background: transparent;
  overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: outline-color .2s ease, transform .2s ease, opacity .2s ease;
  outline: 1px solid transparent;
  opacity: .85;
}
.detail-sticky-media .thumbs .t.active {
  opacity: 1;
  outline-color: var(--accent);
  outline-offset: -2px;
}
.detail-sticky-media .thumbs .t:hover { opacity: 1; }
.detail-sticky-media .thumbs .t img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: multiply;
}

.detail-side { display: flex; flex-direction: column; gap: 72px; padding-top: 8px; }
.detail-block { scroll-margin-top: calc(var(--nav-h) + 24px); }
.detail-block h2 {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500; font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 24px;
  position: relative; padding-left: 14px;
}
.detail-block h2::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 3px; height: calc(100% - 12px); background: var(--accent);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}
.specs .spec { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.specs .spec .label { font-size: 9.5px; letter-spacing: 0.28em; }
.specs .spec .val {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.2;
}

.details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
}
.details-list .item { padding-left: 0; display: flex; gap: 12px; }
.details-list .item::before {
  content: ""; flex: 0 0 6px;
  height: 1px; background: var(--accent);
  margin-top: 13px;
}
.details-prose { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.details-prose p { margin: 0 0 18px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── Related ───────────────────────────── */
.related { padding-top: 80px; padding-bottom: 24px; }

/* ─── Tweaks (light surface override) ──── */
.twk-panel { background: rgba(255,255,255,.85) !important; }

/* ─── Intro splash (first visit) ───────────────────────────────────── */
.intro-splash {
  position: fixed; inset: 0; z-index: 200;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .6s ease, transform .6s ease;
}
.intro-splash.is-out {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}
.intro-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: intro-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.intro-logo {
  height: 64px; width: auto;
  filter: drop-shadow(0 12px 40px rgba(232,169,26,.18));
}
.intro-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 10px; letter-spacing: 0.5em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0;
  animation: intro-fade-in .6s ease forwards .55s;
}
.intro-bar {
  margin-top: 22px;
  width: 200px; height: 1px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.intro-bar span {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: intro-bar 1.6s ease forwards .6s;
}
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes intro-fade-in { to { opacity: 1; } }
@keyframes intro-bar {
  0%   { width: 0; left: 0; }
  60%  { width: 100%; left: 0; }
  100% { width: 0; left: 100%; }
}
.intro-streaks {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.intro-streaks span {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(232,169,26,.55), transparent);
  transform-origin: center top;
  animation: intro-streak 1.8s cubic-bezier(.6,0,.3,1) forwards;
  opacity: 0;
}
.intro-streaks span:nth-child(1) { left: 12%; top: -20%; height: 60vh; animation-delay: .15s; }
.intro-streaks span:nth-child(2) { left: 28%; top: -20%; height: 70vh; animation-delay: .25s; }
.intro-streaks span:nth-child(3) { left: 44%; top: -20%; height: 90vh; animation-delay: .10s; width: 1px; }
.intro-streaks span:nth-child(4) { left: 58%; top: -20%; height: 55vh; animation-delay: .35s; }
.intro-streaks span:nth-child(5) { left: 72%; top: -20%; height: 75vh; animation-delay: .20s; }
.intro-streaks span:nth-child(6) { left: 88%; top: -20%; height: 65vh; animation-delay: .30s; width: 1px; }
@keyframes intro-streak {
  0%   { opacity: 0; transform: translateY(-30vh) scaleY(.2); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(120vh) scaleY(1); }
}

/* ─── 3D speed-lines field behind the car (vertical motion) ────────── */
.speed-fx {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(60% 65% at 50% 55%, #000 50%, transparent 100%);
          mask-image: radial-gradient(60% 65% at 50% 55%, #000 50%, transparent 100%);
}
.speed-glow {
  position: absolute;
  left: 50%; top: 55%;
  width: 70%; aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(232,169,26,.30), transparent 70%);
  filter: blur(2px);
  animation: speed-pulse 5s ease-in-out infinite;
}
.speed-line {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(232,169,26,.7) 45%, rgba(255,255,255,0) 100%);
  transform-origin: center top;
  filter: blur(.4px);
  opacity: .85;
}
.speed-line.s1 { left: 12%; top: -25%; height: 36%; animation: speed-line-y 3.4s linear infinite; animation-delay: -0.0s; }
.speed-line.s2 { left: 24%; top: -25%; height: 44%; width: 1px; animation: speed-line-y 4.0s linear infinite; animation-delay: -1.2s; }
.speed-line.s3 { left: 38%; top: -25%; height: 30%; animation: speed-line-y 3.0s linear infinite; animation-delay: -2.0s; opacity: .65; }
.speed-line.s4 { left: 50%; top: -25%; height: 48%; width: 1px; animation: speed-line-y 3.7s linear infinite; animation-delay: -0.6s; opacity: .55; }
.speed-line.s5 { left: 62%; top: -25%; height: 34%; animation: speed-line-y 4.2s linear infinite; animation-delay: -1.8s; opacity: .7; }
.speed-line.s6 { left: 76%; top: -25%; height: 40%; width: 1px; animation: speed-line-y 4.8s linear infinite; animation-delay: -2.6s; opacity: .45; }
.speed-line.s7 { left: 88%; top: -25%; height: 28%; animation: speed-line-y 3.3s linear infinite; animation-delay: -3.0s; opacity: .7; }
.speed-grid {
  position: absolute; left: -10%; top: 0;
  width: 120%; height: 100%;
  transform: perspective(900px) rotateY(0deg);
  background-image:
    linear-gradient(to right,  rgba(31,31,34,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,31,34,.10) 1px, transparent 1px);
  background-size: 8% 14%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 50%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 50%, transparent 100%);
  animation: speed-grid-pan-y 3.6s linear infinite;
  opacity: .35;
}
@keyframes speed-line-y {
  0%   { transform: translateY(0)    scaleY(.4); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: translateY(180%) scaleY(1.2); opacity: .9; }
  100% { transform: translateY(260%) scaleY(1.4); opacity: 0; }
}
@keyframes speed-pulse {
  0%, 100% { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes speed-grid-pan-y {
  from { background-position: 0 0; }
  to   { background-position: 0 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .speed-line, .speed-glow, .speed-grid, .intro-streaks span, .intro-bar span { animation: none; }
}

/* ─── Mobile nav (hamburger + drawer) ──────────────────────────────── */
.nav-burger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 38px; height: 38px;
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-burger span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s ease, top .3s ease, opacity .25s ease;
}
.nav-burger span:nth-child(1) { top: 12px; }
.nav-burger span:nth-child(2) { top: 18px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }
.nav-drawer {
  position: fixed; inset: 0;
  background: rgba(15,12,8,.62);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer-inner {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(380px, 84vw);
  background: #FFFFFF;
  padding: calc(var(--nav-h) + 18px) 28px 24px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: -30px 0 60px -10px rgba(0,0,0,.25);
}
.nav-drawer.is-open .nav-drawer-inner { transform: translateX(0); }
.nav-drawer-links {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.nav-drawer-links button {
  background: none; border: 0; cursor: pointer;
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 500; font-size: 22px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}
.nav-drawer-links button:hover { color: var(--accent-2); padding-left: 6px; }
.nav-drawer-cta .btn { width: 100%; justify-content: center; }
.nav-drawer-foot {
  margin-top: auto;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: var(--mute);
}
.nav-drawer-foot a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-inner { justify-content: center; gap: 0; }
  .nav-desktop { display: none !important; }
  .nav-burger { display: inline-flex; }
  .hero-search { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 28px; justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .excellence-inner { grid-template-columns: 1fr; gap: 32px; }
  .excellence-text { padding: 16px 0; }
  .excellence .quote { font-size: 16px; }
  .lead-card { padding: 32px 24px; }
  .feat-grid, .list-grid { grid-template-columns: 1fr; }
  .lead-head, .footer-top, .footer-mid, .detail-hero { grid-template-columns: 1fr; }
  .footer-top { gap: 28px; padding-bottom: 24px; }
  .footer-top .footer-cta { justify-self: start; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .checkbox-row, .lead-form .submit-row { grid-column: 1; }
  .list-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters {
    position: static; flex-direction: row; flex-wrap: wrap;
    gap: 14px 18px;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .filters .filter-row { flex: 1 1 calc(50% - 18px); min-width: 0; }
  .filter-apply { flex: 1 1 100%; }
  .list-head { flex-direction: column; align-items: flex-start; }
  .sort { gap: 10px 16px; }
  .detail-scroll-layout, .detail-scroll-layout--flip { grid-template-columns: 1fr; gap: 32px; }
  .detail-scroll-layout--flip .detail-side { order: 2; }
  .detail-scroll-layout--flip .detail-sticky-media { order: 1; }
  .detail-sticky-media { position: static; height: auto; }
  .detail-sticky-media .stage { aspect-ratio: 16/10; }
  .detail-sticky-media .thumbs { grid-template-columns: repeat(5, 1fr); }
  .detail-side { gap: 48px; }
  .detail-hero { padding: 32px 0 48px; gap: 24px; }
  .detail-hero h1 { font-size: clamp(36px, 9vw, 56px); margin: 10px 0 20px; }
  .detail-hero .stats { gap: 24px 32px; margin-bottom: 18px; }
  .detail-hero .price { font-size: clamp(24px, 7vw, 32px); margin-bottom: 22px; }
  .specs, .details-list { grid-template-columns: 1fr 1fr; }
  .exp-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-head .hero-title { font-size: clamp(36px, 11vw, 64px); }
  .hero-car-frame { aspect-ratio: 5/3; }
  .modal { padding: 32px 26px 28px; }
  .modal h3 { font-size: 22px; }
  .intro-logo { height: 48px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 32px; }
  .sobre-body-grid { grid-template-columns: 1fr; gap: 24px; }
  .sobre-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 22px 18px; }
  .stat-card .display.num { font-size: 26px; }
  .lightbox { padding: 14px 14px 12px; }
  .lb-stage { padding: 50px 4px 8px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lb-counter { top: 22px; left: 14px; font-size: 10px; }
  .lb-thumb { width: 56px; height: 40px; }
  .lead-section { padding-top: 48px; padding-bottom: 48px; }
  .related { padding-top: 48px; }
  .section { padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(48px, 8vw, 80px); }
  .pagination { padding: 36px 0 16px; }
  .footer { padding: 48px var(--pad) 22px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (max-width: 980px) {
  .nav { height: 86px; }
  :root { --nav-h: 86px; }
  .logo-img.lg { height: 42px; }
}
@media (max-width: 560px) {
  :root { --pad: 22px; }
  .nav { height: 76px; }
  :root { --nav-h: 76px; }
  .logo-img.lg { height: 36px; }
  .specs, .details-list { grid-template-columns: 1fr; }
  .detail-sticky-media .thumbs { grid-template-columns: repeat(4, 1fr); }
  .whatsapp { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .modal { padding: 28px 22px 24px; }
  .modal-vehicle { padding: 10px 12px; }
  .modal-vehicle .mv-img { width: 52px; height: 36px; }
}

/* ─── Listing: search field + perf for full-list rendering ──────── */
.field--search { position: relative; }
.field--search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px 10px 36px;
  font-family: inherit;
  font-size: 13px;
  background: #FFFFFF;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field--search input::placeholder { color: var(--mute); }
.field--search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 138, 0, 0.1);
}
.field--search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; cursor: pointer; }
.field-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
  display: flex;
}

/* Empty state when search/filters return nothing */
.list-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}
.list-empty-icon { color: var(--mute); margin-bottom: 14px; display: inline-flex; }
.list-empty h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  color: var(--ink);
}
.list-empty p { color: var(--mute); font-size: 13px; margin: 0; }

/* Perf: skip rendering offscreen cards (keeps DOM cost flat with 60+ cards).
   contain-intrinsic-size reserves layout space so scrollbar doesn't jump. */
.list-grid .card {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

/* ─── Vehicle version subtitle (Card + Detail + Hero) ──────────── */
/* Card is rendered as <a> now — keep original display:flex from line 311,
   just neutralize anchor defaults (underline + blue color). */
.card { text-decoration: none; color: inherit; min-width: 0; }
.card:hover { text-decoration: none; color: inherit; }
.card .body .version-line {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin-top: 3px;
  line-height: 1.35;
  text-transform: none;
  font-weight: 400;
  /* Truncate to 2 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail-hero .detail-version {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-top: 6px;
  margin-bottom: 4px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 520px;
}
.hero-version {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
  font-weight: 500;
}
/* Hero car frame is now an <a> instead of <button> — reset link styles */
.hero-car-frame--btn {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* ─── PassiveContactPopup (concierge popup, time/session triggered) ── */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: popup-backdrop-fade 0.25s ease-out;
}
.popup-card {
  background: #FFFFFF;
  background-color: #FFFFFF;
  color: #0c0c0d;
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 44px 38px 32px;
  position: relative;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.22),
    0 6px 18px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--accent);
  animation: popup-card-rise 0.45s cubic-bezier(.2, .8, .2, 1);
  isolation: isolate;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.popup-close:hover { background: var(--bg); color: var(--ink); }
.popup-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.popup-title {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 16px;
}
.popup-title em {
  font-family: "Cormorant Garamond", "Bebas Neue", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.popup-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 26px;
}
.popup-form {
  display: grid;
  gap: 12px;
}
.popup-form .field {
  display: grid;
  gap: 5px;
}
.popup-form .label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 600;
}
.popup-form input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--card);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.popup-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 138, 0, 0.12);
}
.popup-form .btn {
  margin-top: 6px;
  justify-content: center;
}
.popup-legal {
  font-size: 11px;
  color: var(--mute);
  line-height: 1.5;
  margin-top: 18px;
  text-align: center;
}
.popup-legal strong { color: var(--ink-2); font-weight: 600; }

@keyframes popup-backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popup-card-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
  .popup-card { padding: 36px 24px 26px; }
  .popup-title { font-size: 28px; }
  .popup-text { font-size: 13px; }
}

/* ─── Submit button disabled state (prevents double-submit) ──────── */
.btn[disabled], .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── CTA estoque (abaixo do featured grid na Home) ────────────── */
.cta-estoque {
  margin-top: 56px;
  padding: 40px 24px 36px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.cta-estoque .brand-label {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-transform: uppercase;
}
.cta-estoque-title {
  font-family: "Bebas Neue", "Saira Condensed", sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  max-width: 640px;
}
.cta-estoque-title em {
  font-family: "Cormorant Garamond", "Bebas Neue", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.cta-estoque-btn {
  margin-top: 8px;
}
.cta-estoque-count {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Gold-filled button variant — for high-emphasis CTAs */
.btn.btn-gold-fill {
  background: linear-gradient(135deg, var(--accent) 0%, #d8b34a 60%, var(--accent) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #FFFFFF;
  border-color: transparent;
  padding: 16px 30px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(176, 138, 0, 0.22), 0 1px 2px rgba(176, 138, 0, 0.18);
  transition: background-position .5s ease, transform .25s ease, box-shadow .25s ease;
}
.btn.btn-gold-fill:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(176, 138, 0, 0.32), 0 2px 4px rgba(176, 138, 0, 0.24);
}
.btn.btn-gold-fill svg { color: #FFFFFF; }
.btn.btn-arrow.btn-gold-fill::after {
  filter: brightness(0) invert(1);  /* arrow icon white on gold bg */
}

@media (max-width: 560px) {
  .cta-estoque { margin-top: 36px; padding: 28px 16px 24px; }
  .cta-estoque-btn { padding: 14px 22px; font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 4BOSS NEWS — Blog                                                    */
/* ═══════════════════════════════════════════════════════════════════ */

/* Hero of the news index page */
.news-hero {
  padding-top: 88px;
  padding-bottom: 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}
.news-hero-head { max-width: 920px; }
.news-title {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}
.news-title em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}
.news-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 620px;
  font-weight: 300;
}

/* Filter bar */
.news-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.news-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.news-cat-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.18s ease;
}
.news-cat-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.news-cat-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.news-count {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Category badges (color-coded) */
.news-cat {
  display: inline-block;
  padding: 4px 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
}
.news-cat--curadoria-4boss { background: var(--accent); color: #fff; }
.news-cat--lancamentos     { background: #1a1a1a;       color: #fff; }
.news-cat--lifestyle       { background: #7B5E2D;       color: #fff; }
.news-cat--mercado         { background: #2C4A3E;       color: #fff; }
.news-cat--bastidores      { background: #4A3A60;       color: #fff; }

/* Featured hero card */
.news-featured-wrap { padding-top: 56px; padding-bottom: 24px; }
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.news-featured-img {
  aspect-ratio: 16 / 11;
  background: var(--line);
  overflow: hidden;
  border-radius: 4px;
}
.news-featured-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.news-featured:hover .news-featured-img img { transform: scale(1.03); }
.news-featured-body { display: flex; flex-direction: column; gap: 16px; }
.news-featured-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.news-featured-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0;
}
.news-featured-cta {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 8px;
  font-weight: 600;
}

@media (max-width: 880px) {
  .news-featured { grid-template-columns: 1fr; gap: 22px; }
}

/* Article grid */
.news-list-wrap { padding-bottom: 56px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px 28px;
  margin-top: 8px;
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
}
.news-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--line);
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 18px;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-img-placeholder {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, var(--line-2) 0 1px, transparent 1px 16px), var(--bg-2);
}
.news-card .news-cat {
  position: absolute;
  top: 12px; left: 12px;
}
.news-card-body { display: flex; flex-direction: column; gap: 8px; }
.news-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.news-card-meta .dot { color: var(--mute-2); }

/* Loading / empty states */
.news-loading, .news-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--mute);
  font-size: 14px;
}
.news-empty strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.news-empty p { margin: 0; }
.news-empty--lg { padding: 120px 24px; }

/* ─── Article detail page ─────────────────────────────────────────── */
.news-article { padding-top: 88px; }

.news-article-hero {
  position: relative;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.news-article-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 600px;
  overflow: hidden;
  background: var(--line);
  margin-bottom: 40px;
}
.news-article-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.news-article-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
}
.news-breadcrumb {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--mute);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}
.news-breadcrumb:hover { color: var(--accent-2); }

.news-article-head .news-cat { align-self: flex-start; }

.news-article-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.news-article-excerpt {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  margin: 0;
  max-width: 720px;
}
.news-article-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.news-article-meta strong { color: var(--ink-2); font-weight: 600; }
.news-article-meta .dot { color: var(--mute-2); }

/* Article body */
.news-article-body-wrap {
  padding: 56px 0 32px;
}
.news-article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-2);
  font-weight: 300;
}
.news-article-body p { margin: 0 0 28px; }
.news-article-body p:first-child::first-letter {
  /* Drop cap on first paragraph */
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  line-height: 0.9;
  float: left;
  padding: 4px 12px 0 0;
  color: var(--accent-2);
  font-weight: 500;
}
.news-article-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 500;
  color: var(--ink);
  margin: 56px 0 20px;
  letter-spacing: -0.01em;
}
.news-article-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 14px;
}
.news-article-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.news-article-body a:hover { color: var(--accent); }
.news-article-body strong { color: var(--ink); font-weight: 600; }
.news-article-body em { font-style: italic; font-family: "Cormorant Garamond", serif; font-size: 1.05em; }
.news-article-body ul, .news-article-body ol {
  margin: 0 0 28px;
  padding-left: 28px;
}
.news-article-body li { margin-bottom: 8px; }
.news-article-body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}
.news-article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
  border-radius: 3px;
}
.news-article-body figure { margin: 32px 0; }
.news-article-body figcaption {
  font-size: 13px;
  color: var(--mute);
  text-align: center;
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
}
.news-article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

/* Share buttons */
.news-share {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-share-label {
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-right: 4px;
}
.news-share-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
}
.news-share-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Related articles */
.news-related-wrap {
  background: var(--bg-2);
  padding: 64px 0 48px;
  border-top: 1px solid var(--line);
}
.news-related-head { margin-bottom: 32px; }
.news-related-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  margin: 12px 0 0;
  letter-spacing: -0.01em;
}
.news-related-head h2 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}

/* Article CTA at bottom */
.news-cta-wrap { padding: 72px 0; }
.news-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.news-cta h3 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 12px 0 16px;
  letter-spacing: -0.01em;
}
.news-cta h3 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}
.news-cta p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 300;
  margin: 0 auto 32px;
  max-width: 540px;
}
.news-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .news-hero { padding-top: 64px; }
  .news-article { padding-top: 64px; }
  .news-article-cover { aspect-ratio: 16 / 10; margin-bottom: 24px; }
  .news-article-body {
    font-size: 16.5px;
    padding: 0 4px;
  }
  .news-article-body p:first-child::first-letter {
    font-size: 50px;
    padding: 2px 10px 0 0;
  }
  .news-article-body h2 { font-size: 26px; margin: 40px 0 14px; }
  .news-article-body h3 { font-size: 21px; margin: 32px 0 10px; }
  .news-article-body blockquote { font-size: 20px; padding-left: 18px; margin: 28px 0; }
  .news-share { margin-top: 36px; padding-top: 24px; }
  .news-related-wrap { padding: 48px 0 32px; }
  .news-cta-wrap { padding: 48px 0; }
}

/* ─── News Carousel (cinematic hero for featured articles) ────────── */
.news-carousel-wrap {
  position: relative;
  padding: 0;
  background: #0c0c0d;
}
.news-carousel {
  position: relative;
  width: 100%;
  height: clamp(440px, 70vh, 660px);
  overflow: hidden;
}

.news-carousel-slide {
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: #FFF;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  cursor: pointer;
}
.news-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Parallax-ready bg with subtle zoom on active slide */
.news-carousel-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1d;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.news-carousel-slide.is-active .news-carousel-bg {
  transform: scale(1.08);
}

/* Layered gradient overlay for legibility */
.news-carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,13,0.35) 0%, rgba(12,12,13,0.15) 35%, rgba(12,12,13,0.78) 100%),
    linear-gradient(90deg, rgba(12,12,13,0.55) 0%, rgba(12,12,13,0.0) 60%);
}

/* Body content */
.news-carousel-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 28px 64px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 100%;
}
.news-carousel-body > .news-cat { align-self: flex-start; }

.news-carousel-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: #FFF;
  margin: 0;
  max-width: 880px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.news-carousel-excerpt {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
  margin: 0;
  max-width: 640px;
}

.news-carousel-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.news-carousel-meta .dot { color: rgba(255, 255, 255, 0.4); }

.news-carousel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.news-carousel-slide:hover .news-carousel-cta {
  color: #FFF;
  border-color: #FFF;
}

/* Arrows */
.news-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: #FFF;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0.6;
}
.news-carousel-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-50%) scale(1.06);
}
.news-carousel-arrow--prev { left: 28px; }
.news-carousel-arrow--next { right: 28px; }

/* Dots + counter */
.news-carousel-controls {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
}
.news-carousel-dots {
  display: flex;
  gap: 10px;
}
.news-carousel-dot {
  width: 32px; height: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.news-carousel-dot:hover { background: rgba(255, 255, 255, 0.6); }
.news-carousel-dot.is-active {
  background: var(--accent);
  width: 48px;
}
.news-carousel-counter {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: #FFF;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.news-carousel-counter-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}
.news-carousel-counter .num:last-of-type {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

/* Hide the old static featured wrapper when not used */
.news-featured-wrap + .news-list-wrap { padding-top: 0; }

@media (max-width: 720px) {
  .news-carousel { height: clamp(420px, 80vh, 580px); }
  .news-carousel-body {
    padding: 0 20px 40px;
    gap: 10px;
  }
  .news-carousel-arrow { width: 44px; height: 44px; }
  .news-carousel-arrow--prev { left: 12px; }
  .news-carousel-arrow--next { right: 12px; }
  .news-carousel-controls {
    bottom: 16px;
    right: 20px;
    left: 20px;
    justify-content: space-between;
  }
  .news-carousel-excerpt {
    font-size: 15px;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ─── Slim brand band above carousel ─── */
.news-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.news-band-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.news-band-sep {
  width: 1px;
  height: 14px;
  background: var(--line-2);
}
.news-band-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 400;
}
@media (max-width: 640px) {
  .news-band { padding: 12px 0; }
  .news-band-tag { font-size: 14px; }
  .news-band-sep { display: none; }
}

/* ─── Toolbar: search + categories ───────────────────────────────── */
.news-toolbar {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: center;
  padding: 32px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}
@media (max-width: 880px) {
  .news-toolbar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.news-search {
  position: relative;
  display: flex;
  align-items: center;
}
.news-search-icon {
  position: absolute;
  left: 14px;
  color: var(--mute);
  pointer-events: none;
}
.news-search-input {
  width: 100%;
  padding: 12px 38px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.news-search-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.news-search-input::placeholder { color: var(--mute); }
.news-search-clear {
  position: absolute;
  right: 12px;
  width: 22px; height: 22px;
  border: 0;
  background: var(--mute-2);
  color: #FFF;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-bottom: 2px;
}
.news-search-clear:hover { background: var(--ink-2); }

.news-results-count {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  font-weight: 500;
}

/* ─── Pagination ──────────────────────────────────────────────────── */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.news-pag-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.18s ease;
}
.news-pag-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-2);
}
.news-pag-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-pag-nums {
  display: flex;
  gap: 4px;
  align-items: center;
}
.news-pag-num {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: "Bebas Neue", sans-serif;
  font-size: 17px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.news-pag-num:hover { background: var(--line-2); color: var(--ink); }
.news-pag-num.is-active {
  background: var(--ink);
  color: #FFF;
  border-color: var(--ink);
  pointer-events: none;
}
.news-pag-ellipsis {
  width: 28px;
  text-align: center;
  color: var(--mute);
  font-size: 14px;
}
@media (max-width: 640px) {
  .news-pagination { gap: 10px; }
  .news-pag-arrow span { display: none; }
  .news-pag-arrow { padding: 9px 11px; }
  .news-pag-num { min-width: 34px; height: 34px; font-size: 15px; }
}

/* ─── Newsletter cards ───────────────────────────────────────────── */
.news-newsletter {
  background: linear-gradient(135deg, #0c0c0d 0%, #1a1a1d 100%);
  color: #FFF;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.news-newsletter::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #d8b34a 50%, var(--accent) 100%);
}
.news-newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 44px 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .news-newsletter-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
}

.news-newsletter--article-end {
  margin-top: 56px;
  border-radius: 8px;
}
.news-newsletter-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.news-newsletter-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #FFF;
  margin: 0 0 14px;
}
.news-newsletter-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.news-newsletter-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 300;
  max-width: 480px;
}

.news-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-newsletter-row {
  display: flex;
  gap: 8px;
}
.news-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: all 0.18s ease;
}
.news-newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.news-newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}
.news-newsletter-input:disabled { opacity: 0.5; }

.news-newsletter-btn {
  padding: 12px 20px;
  background: var(--accent);
  border: 0;
  color: #0c0c0d;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.news-newsletter-btn:hover:not(:disabled) {
  background: #d8b34a;
  transform: translateY(-1px);
}
.news-newsletter-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.news-newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  cursor: pointer;
}
.news-newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
}
.news-newsletter-consent strong { color: rgba(255, 255, 255, 0.8); }

.news-newsletter-error {
  font-size: 12px;
  color: #ff9090;
  padding: 6px 0;
}
.news-newsletter-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(176, 138, 0, 0.12);
  border: 1px solid rgba(176, 138, 0, 0.4);
  border-radius: 4px;
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
}

@media (max-width: 480px) {
  .news-newsletter-row { flex-direction: column; }
  .news-newsletter-btn { width: 100%; }
}

/* Newsletter at end of article: tighter container */
.news-article-newsletter {
  max-width: 720px;
  margin: 56px auto 0;
}

/* ─── Reading progress bar ──────────────────────────────────────── */
.news-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #d8b34a 100%);
  z-index: 1000;
  pointer-events: none;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(176, 138, 0, 0.4);
}

/* ─── Scroll-to-top button ─────────────────────────────────────── */
.news-scroll-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFF;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.18s ease, color 0.18s ease;
}
.news-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.news-scroll-top:hover {
  background: var(--ink);
  color: #FFF;
  border-color: var(--ink);
}
@media (max-width: 720px) {
  .news-scroll-top {
    bottom: 80px;
    right: 16px;
    width: 40px; height: 40px;
  }
}

/* ─── Skeleton loaders ─────────────────────────────────────────── */
.news-card-skeleton { cursor: default; pointer-events: none; }
.skeleton-shimmer {
  background: linear-gradient(90deg, var(--line-2) 0%, var(--line) 50%, var(--line-2) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 3px;
}
.skeleton-line { border-radius: 3px; }
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Related/recommendations sub line */
.news-related-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 620px;
  margin: 14px 0 0;
  line-height: 1.6;
}
.news-related-sub strong { color: var(--ink); font-weight: 600; }

/* ─── Mobile: tighten everything ─────────────────────────────── */
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .news-toolbar { padding: 24px 0 14px; }
  .news-cats { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .news-cats::-webkit-scrollbar { display: none; }
  .news-cat-btn { white-space: nowrap; flex-shrink: 0; }
  .news-newsletter-title { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* NEWS v3 — Sticky search, refined cards, 2-col grid                  */
/* ═══════════════════════════════════════════════════════════════════ */

/* ─── Sticky search bar (top of /news) ───────────────────────────── */
.news-sticky-search {
  position: sticky;
  top: var(--nav-h, 108px); /* sits right below the nav */
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(237, 239, 241, 0.6);
  padding: 12px 0;
  transition: padding 0.2s ease, background 0.2s ease;
}
.news-sticky-search.is-focused {
  background: rgba(255, 255, 255, 0.95);
}
.news-sticky-search-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.news-search--sticky {
  flex: 1;
  max-width: 640px;
}
.news-search--sticky .news-search-input {
  background: rgba(250, 250, 248, 0.7);
  border-color: rgba(237, 239, 241, 0.8);
  font-size: 14px;
}
.news-search--sticky .news-search-input:focus {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 138, 0, 0.08);
}
.news-sticky-count {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.news-sticky-count strong { color: var(--accent-2); font-weight: 600; }

@media (max-width: 640px) {
  .news-sticky-search { padding: 10px 0; } /* mobile: --nav-h still applies */
  .news-search--sticky .news-search-input { font-size: 13px; padding: 11px 36px 11px 40px; }
  .news-sticky-count { display: none; }
}

/* ─── Refined card cover treatment ──────────────────────────────── */
/* Updated: glass-effect badge, better image proportions, hover bloom */

.news-card-img {
  aspect-ratio: 3 / 2; /* was 16/10 — taller frame, more cinematic with bigger cards */
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
  isolation: isolate;
}

/* Subtle top gradient on the image for badge legibility (always-on, very soft) */
.news-card-img::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news-card:hover .news-card-img::before { opacity: 1; }

/* Refined glass badge — overrides earlier solid backgrounds */
.news-card .news-cat,
.news-carousel-body .news-cat,
.news-article-head .news-cat {
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFF;
  padding: 5px 11px 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

/* Per-category color accent: 4px left bar inside the badge */
.news-card .news-cat,
.news-carousel-body .news-cat {
  padding-left: 14px;
  position: relative;
}
.news-card .news-cat::before,
.news-carousel-body .news-cat::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px; bottom: 6px;
  width: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.news-card .news-cat--curadoria-4boss::before,
.news-carousel-body .news-cat--curadoria-4boss::before { background: #d8b34a; }
.news-card .news-cat--lancamentos::before,
.news-carousel-body .news-cat--lancamentos::before    { background: #ffffff; }
.news-card .news-cat--lifestyle::before,
.news-carousel-body .news-cat--lifestyle::before      { background: #c89a5a; }
.news-card .news-cat--mercado::before,
.news-carousel-body .news-cat--mercado::before        { background: #6db792; }
.news-card .news-cat--bastidores::before,
.news-carousel-body .news-cat--bastidores::before     { background: #a98bd6; }

.news-card .news-cat { top: 14px; left: 14px; }

/* On the article hero (light bg), use the dark glass + invert subtle */
.news-article-head .news-cat {
  background: rgba(12, 12, 13, 0.85);
}

/* Card hover: subtle lift + gold-tinted shadow */
.news-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover {
  transform: translateY(-3px);
}
.news-card:hover .news-card-img {
  box-shadow: 0 14px 32px -10px rgba(12, 12, 13, 0.18),
              0 4px 12px -4px rgba(176, 138, 0, 0.12);
}

/* ─── Grid: 2 columns × 3 rows on desktop ───────────────────────── */
.news-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 40px;
}

/* Cards in 2-col grid: bigger title, more breathing room */
.news-card-title {
  font-size: 28px;
  line-height: 1.12;
  -webkit-line-clamp: 3;
}
.news-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  margin-top: 2px;
}
.news-card-meta {
  font-size: 12px;
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .news-grid { gap: 44px 32px; }
  .news-card-title { font-size: 24px; }
}
@media (max-width: 720px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .news-card-img { aspect-ratio: 16 / 10; margin-bottom: 16px; }
  .news-card-title { font-size: 22px; }
  .news-card-excerpt { font-size: 14px; }
}

/* Toolbar mode "categories only" (search moved to sticky) */
.news-toolbar--cats-only {
  display: block;
  padding: 32px 0 22px;
  scroll-margin-top: 140px;
}
.news-toolbar--cats-only .news-cats {
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .news-toolbar--cats-only { padding: 22px 0 14px; }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 4BOSS JOURNAL — dedicated page (/journal) — horizontal carousel      */
/* ═══════════════════════════════════════════════════════════════════ */

.journal-page {
  background:
    radial-gradient(circle at 80% 5%, rgba(176, 138, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 95%, rgba(176, 138, 0, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0c 0%, #14141a 100%);
  color: #FFFFFF;
  min-height: 100vh;
  padding: 32px 0 64px;
}

/* Header */
.journal-page-head {
  text-align: center;
  padding: 16px 0 32px;
  position: relative;
}
.journal-back {
  position: absolute;
  left: 28px;
  top: 16px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
  padding: 0;
}
.journal-back:hover { color: var(--accent); }
.journal-eyebrow {
  color: var(--accent) !important;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
}
.journal-page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: #FFFFFF;
  margin: 10px 0 0;
}
.journal-page-edition {
  display: inline-block;
  margin-left: 8px;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ─── Stage: page frame + side arrows ─── */
.journal-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 24px 24px;
  user-select: none;
  -webkit-user-select: none;
}

.journal-page-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 3 / 4;  /* magazine portrait */
  background: #1a1a1d;
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 12px 32px -8px rgba(176, 138, 0, 0.12);
}

.journal-page-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #14141a;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.journal-page-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Side arrows (big, glassy, outside the frame area) */
.journal-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.journal-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0c0c0d;
  transform: scale(1.06);
}

/* Mobile: arrows overlay the frame */
@media (max-width: 760px) {
  .journal-stage { gap: 0; padding: 12px 0 12px; }
  .journal-page-frame { max-width: 92%; aspect-ratio: 3 / 4.1; }
  .journal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 5;
    background: rgba(12, 12, 13, 0.5);
  }
  .journal-arrow--prev { left: 8px; }
  .journal-arrow--next { right: 8px; }
}

/* ─── Bottom controls bar ─── */
.journal-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0;
  padding: 0 28px;
  max-width: 760px !important;
}
.journal-arrow-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.journal-arrow-sm:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.32);
}

.journal-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  min-width: 64px;
  white-space: nowrap;
}
.journal-counter-sep { color: rgba(255, 255, 255, 0.32); font-size: 15px; }
.journal-counter-total { color: rgba(255, 255, 255, 0.45); font-size: 14px; }

.journal-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.journal-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #d8b34a 100%);
  border-radius: 1px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Thumbnail strip (horizontal scroll) ─── */
.journal-thumb-strip {
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.journal-thumb-strip-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.journal-thumb-strip-inner::-webkit-scrollbar { height: 4px; }
.journal-thumb-strip-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.journal-mini {
  flex-shrink: 0;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1d;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.55;
}
.journal-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journal-mini:hover {
  opacity: 1;
  border-color: rgba(176, 138, 0, 0.5);
}
.journal-mini.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(176, 138, 0, 0.3);
}

/* ─── Foot CTA ─── */
.journal-foot {
  text-align: center;
  padding: 48px 28px 16px;
}
.journal-foot p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 18px;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Journal teaser card (on /news, links to /journal)                    */
/* ═══════════════════════════════════════════════════════════════════ */

.journal-teaser-wrap {
  padding: 56px 0 8px;
}
.journal-teaser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 32px;
  background: linear-gradient(135deg, #0c0c0d 0%, #1a1a1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.journal-teaser::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), #d8b34a);
}
.journal-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.4);
  border-color: rgba(176, 138, 0, 0.3);
}
.journal-teaser-img {
  aspect-ratio: 3 / 4;
  background: #1a1a1d;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}
.journal-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.journal-teaser:hover .journal-teaser-img img {
  transform: scale(1.05);
}
.journal-teaser-body {
  color: #FFFFFF;
}
.journal-teaser-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 14px 0 14px;
  color: #FFFFFF;
}
.journal-teaser-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.journal-teaser-body p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 22px;
  font-weight: 300;
  max-width: 520px;
}
.journal-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
}
.journal-teaser:hover .journal-teaser-cta { color: #d8b34a; }
.journal-teaser:hover .journal-teaser-cta svg { transform: translateX(4px); }
.journal-teaser-cta svg { transition: transform 0.2s ease; }

@media (max-width: 760px) {
  .journal-teaser {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
    text-align: center;
  }
  .journal-teaser-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .journal-teaser-cta { align-self: center; }
  .journal-teaser-body p { margin-left: auto; margin-right: auto; }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Legal pages (privacy + terms)                                        */
/* ═══════════════════════════════════════════════════════════════════ */

.legal-page {
  background: var(--bg);
  min-height: 100vh;
  padding-top: 32px;
}

.legal-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
}
.legal-back {
  background: transparent;
  border: 0;
  color: var(--mute);
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 28px;
  transition: color 0.18s ease;
}
.legal-back:hover { color: var(--accent-2); }

.legal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin: 14px 0 16px;
}
.legal-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 300;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  max-width: 720px;
  margin: 0 0 16px;
}
.legal-updated {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
  margin: 0;
}

.legal-body-wrap {
  padding: 56px 0 80px;
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-2);
  font-weight: 300;
}
.legal-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 10px;
}
.legal-body p { margin: 0 0 18px; }
.legal-body ul {
  margin: 0 0 22px;
  padding-left: 26px;
}
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body em { font-style: italic; }
.legal-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-body a:hover { color: var(--accent); }

.legal-foot {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 40px 28px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  text-align: left;
}
.legal-foot .brand-label {
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.legal-foot h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 8px 0 10px;
  color: var(--ink);
}
.legal-foot p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0;
}
.legal-foot a { color: var(--accent-2); font-weight: 500; }

@media (max-width: 720px) {
  .legal-hero { padding: 40px 0 24px; }
  .legal-body-wrap { padding: 32px 0 56px; }
  .legal-body { font-size: 14.5px; padding: 0 4px; }
  .legal-body h2 { font-size: 25px; margin: 40px 0 12px; }
  .legal-body h3 { font-size: 19px; margin: 28px 0 8px; }
  .legal-foot { padding: 28px 22px; margin-top: 40px; }
}

/* ─── Footer legal links row ─── */
.footer-legal {
  padding: 16px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal-sep {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.25);
}
