/* ============================================================
   AutoChineLux — theme-auto.css
   Pro template design system adapted for Symfony Twig
   Mobile-first · Bootstrap 5.3 · Thèmes clair/sombre via data-bs-theme
   Header: sticky (NOT fixed)
   ============================================================ */

/* ------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------ */
:root {
  --accent: #00d4aa;
  --accent-hover: #008866;
  --accent-soft: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.3);
  --on-accent: #06231d;
  --accent-text: #007a61;
  --accent-text-hover: #005d4a;
  --danger: #e74c3c;
  --warning: #f39c12;
  --info: #3498db;
  --whatsapp: #25d366;

  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(22, 33, 62, 0.08);
  --border: rgba(22, 33, 62, 0.12);
  --heading: #16213e;
  --text-primary: #1c2540;
  --text-secondary: #57617a;
  --hero-bg: #0a0a1a;
  --footer-bg: #10162b;

  --shadow-sm: 0 2px 8px rgba(22, 33, 62, 0.06);
  --shadow-md: 0 8px 28px rgba(22, 33, 62, 0.1);
  --shadow-lg: 0 20px 50px rgba(22, 33, 62, 0.16);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --section-y: 4.5rem;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --fab-size: 3.25rem;
  --float-offset: 1.25rem;
  --float-base: 1.25rem;
  --bottomnav-h: 4.25rem;
  --header-offset: 92px;

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text-primary);
  --bs-border-color: var(--border);
  --bs-link-color: var(--accent-text);
  --bs-link-hover-color: var(--accent-text-hover);
}

[data-bs-theme="dark"] {
  --bg: #0f0f1a;
  --surface: #161d33;
  --surface-2: #131829;
  --glass: rgba(22, 33, 62, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --heading: #f2f5fb;
  --text-primary: #e6eaf4;
  --text-secondary: #9aa4bd;
  --footer-bg: #0b0f1e;
  --accent-soft: rgba(0, 212, 170, 0.14);
  --accent-text: var(--accent);
  --accent-text-hover: var(--accent-hover);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-text-hover); }
[data-bs-theme="dark"] a { color: var(--accent); }
[data-bs-theme="dark"] a:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 2000;
  padding: 0.6rem 1.2rem; background: var(--accent); color: var(--on-accent);
  font-weight: 600; border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; color: var(--on-accent); }

/* ------------------------------------------------------------
   3. UTILITAIRES
   ------------------------------------------------------------ */
.section { padding-block: var(--section-y); }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
[data-bs-theme="dark"] .section-badge { color: var(--accent); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 2.6vw + 0.8rem, 2.5rem); margin: 0.9rem 0 0.6rem; }
.section-head p { color: var(--text-secondary); margin: 0; }
.glass-card {
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (min-width: 992px) {
  @supports (backdrop-filter: blur(12px)) {
    .glass-card { background: var(--glass); backdrop-filter: blur(12px); }
  }
}
.btn-accent {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-color: var(--on-accent); --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-hover); --bs-btn-hover-color: var(--on-accent);
  --bs-btn-active-bg: var(--accent-hover); --bs-btn-active-border-color: var(--accent-hover);
  --bs-btn-active-color: var(--on-accent);
  font-weight: 600; border-radius: var(--radius-pill); padding-inline: 1.5rem;
}
.btn-accent:hover { box-shadow: 0 6px 20px var(--accent-glow); }
.btn-outline-accent {
  --bs-btn-color: var(--accent-hover); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent);
  --bs-btn-hover-color: var(--on-accent); --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-hover); --bs-btn-active-color: var(--on-accent);
  font-weight: 600; border-radius: var(--radius-pill); padding-inline: 1.5rem;
}
[data-bs-theme="dark"] .btn-outline-accent { --bs-btn-color: var(--accent); }
.btn-ghost {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, 0.5);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12); --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff; font-weight: 600;
  border-radius: var(--radius-pill); padding-inline: 1.5rem;
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.gauge {
  position: relative; height: 4px; border-radius: var(--radius-pill);
  background: var(--surface-2); overflow: hidden;
}
[data-bs-theme="dark"] .gauge { background: rgba(255, 255, 255, 0.1); }
.gauge-fill {
  position: absolute; inset: 0; width: var(--val, 50%);
  border-radius: inherit; background: linear-gradient(90deg, var(--accent-hover), var(--accent));
}
.stars { color: var(--warning); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ------------------------------------------------------------
   4. TOP BAR
   ------------------------------------------------------------ */
.topbar {
  display: none; background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.78); font-size: 0.82rem;
}
.topbar a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s ease; }
.topbar a:hover, .topbar a:focus-visible { color: var(--accent); }
.topbar .container-xl {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; gap: 1rem;
}
.topbar-contacts { display: flex; gap: 1.25rem; }
.topbar-socials { display: flex; gap: 0.35rem; }
.topbar-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
}
@media (min-width: 768px) { .topbar { display: block; } }

/* ------------------------------------------------------------
   5. HEADER / NAVBAR — STICKY (NOT FIXED)
   ⚠️ CRITICAL: position: sticky instead of fixed
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform 0.3s ease;
}
.acl-navbar {
  padding-block: 1.25rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled .topbar { display: none; }
.site-header.scrolled .acl-navbar {
  padding-block: 0.6rem;
  background: var(--glass);
  border-bottom-color: var(--glass-border);
  box-shadow: var(--shadow-sm);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header.scrolled .acl-navbar { backdrop-filter: blur(14px); }
}
.site-header.solid .acl-navbar {
  background: var(--glass);
  border-bottom-color: var(--glass-border);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header.solid .acl-navbar { backdrop-filter: blur(14px); }
}
.navbar-brand img { height: 36px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .navbar-brand img { height: 28px; }
.logo-light { display: inline; }
.logo-dark { display: none; }
[data-bs-theme="dark"] .logo-light,
.header-on-hero .logo-light { display: none; }
[data-bs-theme="dark"] .logo-dark,
.header-on-hero .logo-dark { display: inline; }
.acl-navbar .nav-link {
  font-weight: 500; color: var(--text-primary);
  padding-inline: 0.85rem; transition: color 0.2s ease;
}
.header-on-hero:not(.scrolled) .acl-navbar .nav-link { color: rgba(255, 255, 255, 0.88); }
.acl-navbar .nav-link:hover, .acl-navbar .nav-link:focus-visible { color: var(--accent-text); }
.acl-navbar .nav-link.active { color: var(--accent-hover); }
[data-bs-theme="dark"] .acl-navbar .nav-link.active,
.header-on-hero:not(.scrolled) .acl-navbar .nav-link.active { color: var(--accent); }
[data-bs-theme="dark"] .acl-navbar .nav-link:hover,
[data-bs-theme="dark"] .acl-navbar .nav-link:focus-visible { color: var(--accent); }
.header-on-hero:not(.scrolled) .acl-navbar .nav-link:hover,
.header-on-hero:not(.scrolled) .acl-navbar .nav-link:focus-visible { color: var(--accent); }
.acl-navbar .dropdown-menu {
  border-radius: var(--radius); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md); background: var(--surface); overflow: hidden;
}
.acl-navbar .dropdown-item { padding-block: 0.5rem; color: var(--text-primary); }
.acl-navbar .dropdown-item:hover, .acl-navbar .dropdown-item:focus {
  background: var(--accent-soft); color: var(--accent-hover);
}
.acl-navbar .dropdown-item.active {
  background: var(--accent-soft); color: var(--accent-hover); font-weight: 600;
}
@media (min-width: 992px) {
  .acl-navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.nav-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-primary);
  font-size: 1rem; transition: background-color 0.2s ease, color 0.2s ease;
}
.header-on-hero:not(.scrolled) .nav-icon-btn { color: rgba(255, 255, 255, 0.88); }
.nav-icon-btn:hover, .nav-icon-btn:focus-visible {
  background: var(--accent-soft); color: var(--accent-hover);
}
.nav-search { display: flex; align-items: center; }
.nav-search input {
  width: 0; padding: 0; border: none; border-bottom: 2px solid var(--accent);
  background: transparent; color: inherit; font-size: 0.9rem;
  opacity: 0; transition: width 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}
.nav-search.open input {
  width: clamp(140px, 22vw, 220px); padding: 0.3rem 0.5rem; opacity: 1;
}
.nav-search input:focus { outline: none; }
.theme-toggle i { transition: transform 0.45s ease; }
.theme-toggle.spinning i { transform: rotate(360deg); }
.offcanvas-menu { background: var(--surface); }
.offcanvas-menu .nav-link {
  font-family: var(--font-display); font-size: 1.15rem;
  padding-block: 0.7rem; color: var(--text-primary);
  border-bottom: 1px solid var(--glass-border);
}
.offcanvas-menu .nav-link.active { color: var(--accent-hover); }
.offcanvas-brands { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.offcanvas-brands a {
  padding: 0.35rem 0.85rem; border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 0.85rem; color: var(--text-secondary);
}
.offcanvas-brands a:hover { border-color: var(--accent); color: var(--accent-hover); }

/* ------------------------------------------------------------
   6. HERO SLIDER
   ------------------------------------------------------------ */
.hero {
  position: relative; height: 70vh; min-height: 540px;
  overflow: hidden; background: var(--hero-bg); color: #fff;
}
@media (min-width: 992px) { .hero { height: 100vh; min-height: 640px; } }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 62%, rgba(0, 212, 170, 0.16), transparent 65%),
    linear-gradient(160deg, #10182e 0%, var(--hero-bg) 55%, #0d1226 100%);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 14, 0.8) 0%, rgba(4, 6, 14, 0.45) 45%, transparent 75%);
  pointer-events: none;
}
.hero-car {
  position: absolute; right: -6%; bottom: 6%;
  width: 62%; max-width: 860px; z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.hero-slide.active .hero-car { animation: heroCarIn 1.1s ease both; }
@keyframes heroCarIn {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.hero-content h1, .hero-content .h1 {
  font-size: clamp(2.4rem, 5vw + 0.8rem, 4.3rem);
  font-weight: 700; color: #fff; margin-bottom: 1rem;
}
.hero-sub { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); margin-bottom: 1.75rem; }
.hero-sub .sep { color: var(--accent); margin-inline: 0.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-badges {
  position: absolute; z-index: 3; left: 0; right: 0;
  bottom: 4.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92); font-size: 0.85rem; font-weight: 500;
}
@supports (backdrop-filter: blur(8px)) { .hero-badge { backdrop-filter: blur(8px); } }
.hero-badge i { color: var(--accent); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }
@media (min-width: 1400px) {
  .hero-arrow.prev { left: 2.5rem; }
  .hero-arrow.next { right: 2.5rem; }
}
.hero-charge {
  position: absolute; z-index: 4; left: 50%; bottom: 1.5rem;
  transform: translateX(-50%); display: flex; gap: 0.5rem;
}
.hero-charge button {
  position: relative; width: 46px; height: 8px; padding: 0;
  border: none; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22); overflow: hidden; cursor: pointer;
}
.hero-charge button .fill {
  position: absolute; inset: 0; transform: scaleX(0);
  transform-origin: left; background: var(--accent); border-radius: inherit;
}
.hero-charge button.done .fill { transform: scaleX(1); }
.hero-charge button.charging .fill { animation: chargeFill 5s linear forwards; }
.hero.paused .hero-charge button.charging .fill { animation-play-state: paused; }
@keyframes chargeFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 767.98px) {
  .hero-car { right: -18%; width: 92%; bottom: 14%; opacity: 0.55; }
  .hero-badges { bottom: 3.5rem; }
  .hero-badge { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
  .hero-arrow { display: none; }
}

/* ------------------------------------------------------------
   7. BRAND TILES
   ------------------------------------------------------------ */
.brand-tile {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.4rem; padding: 2rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.brand-tile:hover, .brand-tile:focus-visible {
  transform: scale(1.05); border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.brand-tile .brand-wordmark {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 700; letter-spacing: 0.04em; color: var(--heading);
}
.brand-tile .brand-origin {
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-secondary);
}
.brand-tile:hover .brand-wordmark { color: var(--accent-hover); }

/* ------------------------------------------------------------
   8. PRODUCT CARDS
   ------------------------------------------------------------ */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pills .pill {
  padding: 0.4rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--radius-pill); background: transparent;
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  transition: all 0.2s ease;
}
.filter-pills .pill:hover { border-color: var(--accent); color: var(--accent-hover); }
.filter-pills .pill.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  height: 100%; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(ellipse 75% 70% at 55% 75%, rgba(0, 212, 170, 0.14), transparent 70%),
              linear-gradient(155deg, #1a2440, #0e1428);
}
.product-media img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 0.75rem 1rem 0; transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.badge-state {
  display: inline-block; padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.product-media .badge-state { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.badge-state.new { background: var(--accent); color: var(--on-accent); }
.badge-state.used { background: var(--warning); color: #3d2800; }
.badge-state.promo { background: var(--danger); color: #fff; }
.product-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1.15rem 1.25rem 1.35rem; gap: 0.55rem;
}
.product-brand {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-secondary);
}
.product-title { font-size: 1.3rem; margin: 0; }
.product-price { display: flex; align-items: baseline; gap: 0.6rem; }
.product-price .price {
  font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 700; color: var(--accent-hover);
  font-variant-numeric: tabular-nums;
}
[data-bs-theme="dark"] .product-price .price { color: var(--accent); }
.product-price .price-old {
  font-size: 0.95rem; color: var(--text-secondary); text-decoration: line-through;
}
.spec-gauges { display: grid; gap: 0.5rem; margin-top: 0.25rem; }
.spec-gauges .spec {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 0.6rem; font-size: 0.82rem;
}
.spec-gauges .spec i {
  width: 1.1rem; text-align: center; color: var(--accent-hover); font-size: 0.78rem;
}
[data-bs-theme="dark"] .spec-gauges .spec i { color: var(--accent); }
.spec-gauges .spec .spec-label { color: var(--text-secondary); }
.spec-gauges .spec .spec-val { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--heading); }
.spec-gauges .gauge { grid-column: 1 / -1; }
.product-body .btn { margin-top: auto; }

/* ------------------------------------------------------------
   9. WHY-US
   ------------------------------------------------------------ */
.why-item { height: 100%; padding: 1.75rem 1.5rem; text-align: center; }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-hover);
  font-size: 1.4rem;
}
[data-bs-theme="dark"] .why-icon { color: var(--accent); }
.why-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }

/* ------------------------------------------------------------
   10. STATS
   ------------------------------------------------------------ */
.stats-band {
  background: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(0, 212, 170, 0.12), transparent 60%),
              linear-gradient(150deg, #131b33, var(--hero-bg));
  color: #fff;
}
.stat-readout { padding: 1.5rem 1rem; text-align: center; }
.stat-readout .num {
  font-family: var(--font-display); font-size: clamp(2.1rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--heading); line-height: 1.1;
}
.stat-readout .num .suffix { color: var(--accent-hover); }
[data-bs-theme="dark"] .stat-readout .num .suffix { color: var(--accent); }
.stat-readout .label { display: block; margin-top: 0.35rem; font-size: 0.88rem; color: var(--text-secondary); }
.stat-readout .gauge { max-width: 140px; margin: 0.85rem auto 0; }
.stats-band .stat-readout .num { color: #fff; }
.stats-band .stat-readout .num .suffix { color: var(--accent); }
.stats-band .stat-readout .label { color: rgba(255, 255, 255, 0.72); }
.stats-band .stat-readout .gauge { background: rgba(255, 255, 255, 0.14); }

/* ------------------------------------------------------------
   11. TESTIMONIALS
   ------------------------------------------------------------ */
.testimonial-slider { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: testimonialIn 0.5s ease; }
@keyframes testimonialIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.testimonial-card { position: relative; max-width: 720px; margin-inline: auto; padding: 2.5rem 2rem 2rem; }
.testimonial-card::before {
  content: "\201C"; position: absolute; top: -0.5rem; left: 1.25rem;
  font-family: var(--font-display); font-size: 6rem; line-height: 1;
  color: var(--accent); opacity: 0.2;
}
.testimonial-card blockquote { font-size: 1.05rem; margin-bottom: 1.5rem; }
.testimonial-who { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-who .avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1b6fd8); color: #fff;
  font-family: var(--font-display); font-weight: 700;
}
.testimonial-who .name { font-weight: 600; color: var(--heading); }
.testimonial-who .city { font-size: 0.85rem; color: var(--text-secondary); }
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.testimonial-dots button {
  width: 10px; height: 10px; padding: 0; border: none;
  border-radius: 50%; background: var(--border);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.testimonial-dots button.active { background: var(--accent); transform: scale(1.25); }

/* ------------------------------------------------------------
   12. NEWSLETTER
   ------------------------------------------------------------ */
.newsletter-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse 55% 100% at 12% 0%, rgba(0, 212, 170, 0.35), transparent 60%),
              linear-gradient(135deg, #10403a 0%, #16213e 55%, #10162b 100%);
  color: #fff; text-align: center;
}
.newsletter-band h2 { color: #fff; }
.newsletter-band p { color: rgba(255, 255, 255, 0.78); }
.newsletter-form {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; max-width: 480px; margin: 1.5rem auto 0.75rem;
}
.newsletter-form input {
  flex: 1 1 240px; padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1); color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.newsletter-note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.newsletter-feedback { min-height: 1.4rem; font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.newsletter-feedback.error { color: #ff9d8f; }

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--footer-bg); color: rgba(255, 255, 255, 0.75);
  padding-top: 3.5rem; font-size: 0.92rem;
}
.site-footer .footer-title {
  font-size: 1rem; color: #fff; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%; transition: border-color 0.2s ease, background-color 0.2s ease;
}
.footer-socials a:hover { border-color: var(--accent); background: rgba(0, 212, 170, 0.12); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem; margin-top: 2.5rem;
  padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}
.footer-payments { display: flex; gap: 0.75rem; font-size: 1.5rem; color: rgba(255, 255, 255, 0.55); }

/* ------------------------------------------------------------
   14. BOTTOM NAV (mobile)
   ------------------------------------------------------------ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1040; display: flex;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--glass); border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 20px rgba(10, 14, 30, 0.12);
}
@supports (backdrop-filter: blur(16px)) { .bottom-nav { backdrop-filter: blur(16px); } }
.bottom-nav a, .bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.2rem; border: none; background: transparent;
  color: var(--text-secondary); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.02em; -webkit-tap-highlight-color: transparent;
}
.bottom-nav i { font-size: 1.15rem; }
.bottom-nav .active { color: var(--accent-hover); }
[data-bs-theme="dark"] .bottom-nav .active { color: var(--accent); }
.bottom-nav .active::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@media (max-width: 991.98px) {
  :root { --float-base: calc(var(--bottomnav-h) + 0.75rem + env(safe-area-inset-bottom, 0px)); --header-offset: 76px; }
  body { padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 992px) { .bottom-nav { display: none; } }

/* ------------------------------------------------------------
   15. FLOATING ACTION BUTTONS
   ------------------------------------------------------------ */
.fab {
  position: fixed; z-index: 1050;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--fab-size); height: var(--fab-size); border: none;
  border-radius: 50%; font-size: 1.3rem; box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.fab:hover, .fab:focus-visible { transform: translateY(-3px); }
.fab-whatsapp { left: var(--float-offset); bottom: var(--float-base); background: var(--whatsapp); color: #fff; }
.fab-whatsapp:hover { color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
.fab-ai {
  right: var(--float-offset); bottom: var(--float-base);
  background: linear-gradient(135deg, var(--accent), #0aa88c); color: var(--on-accent);
}
.fab-ai:hover { box-shadow: 0 8px 24px var(--accent-glow); }
.fab-ai .fab-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent); animation: aiPulse 2.4s ease-out infinite;
}
@keyframes aiPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
.back-to-top {
  right: var(--float-offset);
  bottom: calc(var(--float-base) + var(--fab-size) + 0.75rem);
  width: 2.75rem; height: 2.75rem; font-size: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--heading); opacity: 0; visibility: hidden;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------
   16. AI CHAT PANEL
   ------------------------------------------------------------ */
.ai-chat {
  position: fixed; z-index: 1060; right: var(--float-offset);
  bottom: calc(var(--float-base) + var(--fab-size) + 0.75rem);
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  height: min(560px, 72vh); overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border); background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.ai-chat.open { opacity: 1; visibility: visible; transform: none; }
.ai-chat-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(135deg, #10403a, #16213e); color: #fff;
}
.ai-chat-header .ai-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 1rem;
}
.ai-chat-header .title { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.ai-chat-header .status {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
}
.ai-chat-header .status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.ai-chat-close {
  margin-left: auto; border: none; background: transparent;
  color: rgba(255, 255, 255, 0.8); font-size: 1.1rem;
  width: 34px; height: 34px; border-radius: 50%;
}
.ai-chat-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ai-chat-body {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.65rem; background: var(--bg);
}
.ai-msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; }
.ai-msg.bot {
  align-self: flex-start; background: var(--surface);
  border: 1px solid var(--glass-border); border-bottom-left-radius: 4px; color: var(--text-primary);
}
.ai-msg.user {
  align-self: flex-end; background: var(--accent);
  color: var(--on-accent); border-bottom-right-radius: 4px;
}
.ai-msg.typing { display: inline-flex; gap: 4px; align-items: center; }
.ai-msg.typing .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-secondary); animation: typingDot 1.2s ease-in-out infinite; }
.ai-msg.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.ai-msg.typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ai-suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.6rem; background: var(--bg); }
.ai-suggestions button {
  padding: 0.3rem 0.8rem; border: 1px solid var(--border);
  border-radius: var(--radius-pill); background: var(--surface);
  color: var(--accent-hover); font-size: 0.78rem; font-weight: 500;
  transition: all 0.2s ease;
}
.ai-suggestions button:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ai-chat-input { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--glass-border); background: var(--surface); }
.ai-chat-input input {
  flex: 1; padding: 0.55rem 0.9rem; border: 1px solid var(--border);
  border-radius: var(--radius-pill); background: var(--bg);
  color: var(--text-primary); font-size: 0.9rem;
}
.ai-chat-input input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ai-chat-input button {
  width: 42px; height: 42px; flex-shrink: 0; border: none;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
}
.ai-chat-input button:hover { background: var(--accent-hover); }
@media (max-width: 575.98px) {
  .ai-chat { right: 0.75rem; left: 0.75rem; width: auto; height: min(520px, calc(100dvh - var(--float-base) - var(--fab-size) - 2rem)); }
}

/* ------------------------------------------------------------
   17. INNER PAGES
   ------------------------------------------------------------ */
.page-head { padding: 2.5rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 3.4vw + 0.6rem, 3rem); margin: 0.75rem 0 0.5rem; }
.page-head .lead { max-width: 620px; color: var(--text-secondary); font-size: 1.05rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb-item.active { color: var(--heading); font-weight: 500; }

/* Catalog filters */
.filters-panel h3 { font-size: 1.1rem; }
.filters-panel .filter-group { padding-block: 1.1rem; border-bottom: 1px solid var(--glass-border); }
.filters-panel .filter-group:last-of-type { border-bottom: none; }
.filters-panel legend {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 0.6rem;
}
.filters-panel .form-check { margin-bottom: 0.35rem; }
.filters-panel .form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.filters-panel .form-check-input:focus { border-color: var(--accent); box-shadow: 0 0 0 0.25rem var(--accent-soft); }
.results-count { font-size: 0.9rem; color: var(--text-secondary); }
.results-count strong { color: var(--accent-hover); font-variant-numeric: tabular-nums; }
.range-budget { position: relative; height: 28px; margin-top: 0.5rem; }
.range-budget input[type="range"] {
  position: absolute; inset-inline: 0; top: 50%;
  transform: translateY(-50%); width: 100%; height: 4px;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-budget::before {
  content: ""; position: absolute; inset-inline: 0; top: 50%;
  transform: translateY(-50%); height: 4px; border-radius: var(--radius-pill); background: var(--surface-2);
}
.range-budget input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid var(--surface); background: var(--accent); box-shadow: var(--shadow-sm); pointer-events: auto; cursor: pointer;
}
.range-budget input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid var(--surface); background: var(--accent); box-shadow: var(--shadow-sm); pointer-events: auto; cursor: pointer;
}
.range-values { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--heading); }
.sort-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.5rem; }
.sort-bar select { border-radius: var(--radius-pill); border-color: var(--border); background-color: var(--surface); color: var(--text-primary); }
.empty-state { padding: 4rem 1.5rem; text-align: center; }
.empty-state .empty-icon { font-size: 2.6rem; color: var(--accent); opacity: 0.55; margin-bottom: 1rem; }
.pagination {
  --bs-pagination-color: var(--text-primary); --bs-pagination-bg: var(--surface);
  --bs-pagination-border-color: var(--border); --bs-pagination-hover-color: var(--accent-hover);
  --bs-pagination-hover-bg: var(--accent-soft); --bs-pagination-hover-border-color: var(--accent);
  --bs-pagination-focus-color: var(--accent-hover); --bs-pagination-focus-bg: var(--accent-soft);
  --bs-pagination-active-bg: var(--accent); --bs-pagination-active-border-color: var(--accent);
  --bs-pagination-active-color: var(--on-accent); --bs-pagination-disabled-bg: var(--surface-2);
  --bs-pagination-disabled-color: var(--text-secondary); --bs-pagination-disabled-border-color: var(--border);
}

/* Product detail */
.gallery-main {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(ellipse 75% 70% at 55% 75%, rgba(0, 212, 170, 0.14), transparent 70%),
              linear-gradient(155deg, #1a2440, #0e1428);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gallery-thumbs button {
  aspect-ratio: 16 / 10; padding: 0.3rem; border: 2px solid transparent;
  border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse 75% 70% at 55% 75%, rgba(0, 212, 170, 0.1), transparent 70%),
              linear-gradient(155deg, #1a2440, #0e1428);
  transition: border-color 0.2s ease;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button.active { border-color: var(--accent); }
.detail-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent-hover); font-variant-numeric: tabular-nums; }
[data-bs-theme="dark"] .detail-price { color: var(--accent); }
.availability { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 500; color: var(--accent-hover); }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.specs-table { --bs-table-bg: transparent; --bs-table-color: var(--text-primary); --bs-table-border-color: var(--glass-border); }
.specs-table th { width: 45%; font-weight: 500; color: var(--text-secondary); }
.specs-table td { font-weight: 600; color: var(--heading); }
.nav-tabs { --bs-nav-tabs-link-active-color: var(--accent-hover); --bs-nav-tabs-link-active-bg: transparent; --bs-nav-tabs-link-active-border-color: transparent transparent var(--accent); --bs-nav-link-color: var(--text-secondary); --bs-nav-link-hover-color: var(--accent-hover); border-bottom-color: var(--glass-border); }
.nav-tabs .nav-link { font-weight: 600; border-bottom-width: 2px; }
.review-card { padding: 1.25rem 1.35rem; height: 100%; }
.review-card .who { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 600; color: var(--heading); }
.review-card p { font-size: 0.92rem; color: var(--text-secondary); margin: 0; }

/* Brands */
.brand-card { height: 100%; padding: 2rem 1.6rem; text-align: center; display: flex; flex-direction: column; gap: 0.75rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px var(--accent-glow); }
.brand-card .brand-wordmark { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--heading); }
.brand-card .brand-origin { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-secondary); }
.brand-card .brand-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.brand-card .brand-tags span { padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-hover); font-size: 0.75rem; font-weight: 600; }
.brand-card .brand-stats { display: flex; justify-content: center; gap: 1.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.brand-card .brand-stats strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.brand-card .btn { margin-top: auto; }
.brand-hero { padding: 3.5rem 0 2.5rem; background: radial-gradient(ellipse 55% 90% at 80% 10%, rgba(0, 212, 170, 0.16), transparent 60%), linear-gradient(150deg, #141c36, var(--hero-bg)); color: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.brand-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw + 0.5rem, 3.4rem); }
.brand-hero .brand-origin { color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.82rem; font-weight: 600; }
.brand-hero p { color: rgba(255, 255, 255, 0.78); max-width: 640px; }

/* Services */
.service-card { height: 100%; padding: 1.75rem 1.5rem; }
.service-card .why-icon { margin-bottom: 0.9rem; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: 0.93rem; color: var(--text-secondary); margin: 0; }
.delivery-timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.75rem; }
.delivery-timeline li { position: relative; padding-left: 3.4rem; counter-increment: step; }
.delivery-timeline li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--accent-soft);
  color: var(--accent-hover); font-family: var(--font-display); font-weight: 700;
}
.delivery-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.2rem - 1px);
  top: 2.7rem; bottom: -1.5rem; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-soft));
}
.delivery-timeline h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.delivery-timeline .duration { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-hover); }
.delivery-timeline p { font-size: 0.92rem; color: var(--text-secondary); margin: 0.25rem 0 0; }

/* Blog */
.post-card { height: 100%; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card .post-media { aspect-ratio: 16 / 9; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(ellipse 75% 70% at 55% 75%, rgba(0, 212, 170, 0.14), transparent 70%), linear-gradient(155deg, #1a2440, #0e1428); }
.post-card .post-media img { width: 78%; padding-bottom: 0.5rem; }
.post-body { display: flex; flex-direction: column; flex: 1; gap: 0.5rem; padding: 1.25rem 1.35rem 1.4rem; }
.post-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; color: var(--text-secondary); }
.post-meta .badge-cat { padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.post-body h3 { font-size: 1.25rem; }
.post-body p { font-size: 0.93rem; color: var(--text-secondary); }
.post-body .read-more { margin-top: auto; font-weight: 600; }
.article-content { max-width: 760px; font-size: 1.02rem; }
.article-content h2 { font-size: 1.6rem; margin: 2.25rem 0 0.9rem; }
.article-content h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
.article-content blockquote { margin: 1.75rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags a { padding: 0.3rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 0.82rem; color: var(--text-secondary); }
.article-tags a:hover { border-color: var(--accent); color: var(--accent-hover); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.post-nav a { font-weight: 600; max-width: 46%; }
.post-nav .dir { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); }

/* FAQ */
.faq-cat-title { display: flex; align-items: center; gap: 0.65rem; font-size: 1.25rem; margin: 2.25rem 0 1rem; }
.faq-cat-title i { color: var(--accent-hover); }
.accordion { --bs-accordion-bg: var(--surface); --bs-accordion-color: var(--text-primary); --bs-accordion-border-color: var(--glass-border); --bs-accordion-btn-color: var(--heading); --bs-accordion-active-bg: var(--accent-soft); --bs-accordion-active-color: var(--accent-hover); --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem var(--accent-soft); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: calc(var(--radius) - 1px); }

/* Contact */
.contact-form .form-control, .contact-form .form-select { background-color: var(--surface); border-color: var(--border); color: var(--text-primary); border-radius: var(--radius); padding: 0.65rem 0.9rem; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 0.25rem var(--accent-soft); }
.contact-form label { font-weight: 500; margin-bottom: 0.35rem; }
.contact-form .invalid-feedback { font-size: 0.82rem; }
.form-success { display: none; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-hover); font-weight: 600; }
.form-success.show { display: block; }
.contact-info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--glass-border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .why-icon { width: 46px; height: 46px; font-size: 1rem; margin: 0; flex-shrink: 0; }
.contact-info-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-info-item p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); }

/* Order tracking */
.order-steps { list-style: none; padding: 0; margin: 0; }
.order-steps li { position: relative; padding: 0 0 1.9rem 3.4rem; }
.order-steps li:last-child { padding-bottom: 0; }
.order-steps .step-icon { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--border); background: var(--surface-2); color: var(--text-secondary); font-size: 0.95rem; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.order-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.7rem; bottom: 0.3rem; width: 2px; background: var(--border); }
.order-steps li.done .step-icon { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.order-steps li.done:not(:last-child)::after { background: var(--accent); }
.order-steps li.current .step-icon { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); box-shadow: 0 0 0 5px var(--accent-soft); }
[data-bs-theme="dark"] .order-steps li.current .step-icon { color: var(--accent); }
.order-steps h3 { font-size: 1.02rem; margin: 0.35rem 0 0; color: var(--text-secondary); }
.order-steps li.done h3, .order-steps li.current h3 { color: var(--heading); }
.order-steps .msg { display: none; margin: 0.3rem 0 0; font-size: 0.92rem; color: var(--text-secondary); }
.order-steps li.current .msg { display: block; }

/* Legal */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-secondary); font-size: 0.96rem; }

/* Status badges */
.status-badge { display: inline-block; padding: 0.28rem 0.7rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-secondary); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.s-quote { background: rgba(127, 140, 141, 0.16); color: #5d6d6e; }
[data-bs-theme="dark"] .s-quote { color: #a9b6b7; }
.s-pending { background: rgba(243, 156, 18, 0.16); color: #b06f00; }
[data-bs-theme="dark"] .s-pending { color: #f5b04c; }
.s-approved { background: var(--accent-soft); color: var(--accent-hover); }
[data-bs-theme="dark"] .s-approved { color: var(--accent); }
.s-precontract { background: rgba(155, 89, 182, 0.15); color: #8e44ad; }
[data-bs-theme="dark"] .s-precontract { color: #c9a2dd; }
.s-contract { background: rgba(108, 122, 224, 0.16); color: #4d5ac0; }
[data-bs-theme="dark"] .s-contract { color: #9aa5f0; }
.s-paid { background: var(--accent); color: var(--on-accent); }
.s-shipping { background: rgba(52, 152, 219, 0.16); color: #21618c; }
[data-bs-theme="dark"] .s-shipping { color: #6ab5e8; }
.s-delivered { background: transparent; border: 1px solid var(--accent); color: var(--accent-hover); }
[data-bs-theme="dark"] .s-delivered { color: var(--accent); }
.s-refused { background: rgba(231, 76, 60, 0.14); color: #b03a2e; }
[data-bs-theme="dark"] .s-refused { color: #f1948a; }

/* Admin card overrides for frontend compatibility */
.admin-card { padding: 1.4rem 1.5rem; margin-bottom: 1.5rem; }
.admin-card > h2, .admin-card .card-title { font-size: 1.15rem; margin-bottom: 1rem; }
.admin-table { --bs-table-bg: transparent; --bs-table-color: var(--text-primary); --bs-table-border-color: var(--glass-border); margin-bottom: 0.5rem; }
.admin-table th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; }
.admin-table td { vertical-align: middle; }

/* ------------------------------------------------------------
   28. ACCESSIBILITÉ
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Symfony-specific overrides for auto theme
   ============================================================ */

/* Mettre la section badge accent-text en mode clair */
.section-badge {
  color: #007a61;
}
[data-bs-theme="dark"] .section-badge {
  color: var(--accent);
}

/* Cart badge styling */
.cart-badge-count {
  font-size: 0.6rem;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
