/* ============================================================
   Phon'Ethik — styles.css
   Palette extraite du logo : bleu marine #1e3a5f
   Design épuré inspiré iTelier
   ============================================================ */

:root {
  color-scheme: light;
  /* Marque */
  --navy: #1e3a5f;
  --navy-dark: #152c48;
  --navy-light: #2d527a;
  --navy-pale: #e8f1fb;
  --navy-border: #c0d4ea;

  /* Neutres */
  --ink: #0f1f30;
  --muted: #4a6080;
  --soft: #9ab0c8;
  --line: #e2eaf4;
  --paper: #ffffff;
  --surface: #f7f9fc;
  --surface-2: #eef3f9;

  /* Sémantique */
  --green: #0f9d58;
  --green-pale: #e6f6ee;
  --orange: #f47c20;
  --red: #d92d20;

  /* Accent pilule — dégradé énergique */
  --accent-a: #22d3ee;
  --accent-b: #0891b2;

  /* Effets */
  --shadow-sm: 0 1px 8px rgba(30, 58, 95, 0.07);
  --shadow: 0 4px 20px rgba(30, 58, 95, 0.10);
  --shadow-lg: 0 8px 32px rgba(30, 58, 95, 0.14);
  --header-bg: rgba(255, 255, 255, 0.92);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-h: 72px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy-pale: #1a2a3f;
  --navy-border: #2d4566;
  --ink: #f3f7fb;
  --muted: #9ab0c8;
  --soft: #6b8aa8;
  --line: #1f3147;
  --paper: #0a1422;
  --surface: #0f1d30;
  --surface-2: #142640;
  --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(10, 20, 34, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --navy-pale: #1a2a3f;
    --navy-border: #2d4566;
    --ink: #f3f7fb;
    --muted: #9ab0c8;
    --soft: #6b8aa8;
    --line: #1f3147;
    --paper: #0a1422;
    --surface: #0f1d30;
    --surface-2: #142640;
    --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --header-bg: rgba(10, 20, 34, 0.92);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  transition: left 0.2s ease;
}
.skip-link:focus {
  left: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  visibility: hidden;
  transition: opacity 0.75s ease, transform 0.75s ease, visibility 0.75s;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ===== ANNONCE BAR ============================================ */
.announce-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 500;
}
.announce-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* ===== HEADER ================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 58, 95, 0.03);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; object-fit: contain; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.main-nav > a {
  padding: 8px 12px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.main-nav > a:hover,
.main-nav > a.is-active {
  color: var(--navy);
  background: var(--navy-pale);
}
.nav-cta {
  margin-left: 8px;
  padding: 10px 20px !important;
  color: #fff !important;
  background: var(--navy);
  border-radius: 999px !important;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--navy-dark) !important; transform: translateY(-1px); }

.theme-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.theme-switch button {
  padding: 4px 10px;
  border: none;
  background: none;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

/* ===== BOUTONS ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: #fff;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(8, 145, 178, 0.45);
}
.btn-primary:active { transform: translateY(0) scale(0.99); box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35); }
.btn-secondary {
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy-pale); transform: translateY(-2px); }
.btn-secondary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-full { width: 100%; }

/* ===== HERO =================================================== */
main { display: block; }

.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -80px; right: -100px;
  width: 360px; height: 360px;
  background: rgba(255, 255, 255, 0.04);
}
.hero::after {
  bottom: -60px; left: -80px;
  width: 240px; height: 240px;
  background: rgba(255, 255, 255, 0.03);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: #fff;
  box-shadow: 0 4px 18px rgba(8, 145, 178, 0.5);
}
.hero-actions .btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(8, 145, 178, 0.6); }
.hero-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.hero-actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.8); transform: translateY(-2px); }

.hero-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-tags li:nth-child(odd) {
  background: rgba(255, 255, 255, 0.18);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px; height: 16px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.7rem;
  text-align: center;
  line-height: 16px;
  color: #fff;
  font-weight: 700;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 3;
  background: var(--navy-light);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 16px; right: 16px;
  background: #fff;
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-badge strong {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Sora', Inter, sans-serif;
}
.hero-badge span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; }
}

/* ===== SECTIONS =============================================== */
.section {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}
.section.muted { background: var(--surface); max-width: none; }
.section.compact-section { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }

.section-heading {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-heading .eyebrow {
  background: var(--navy-pale);
  color: var(--navy);
  border: 1px solid var(--navy-border);
}
.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

/* ===== SERVICE GRID =========================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.service-grid-compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.service-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.contact-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card.map-card {
  min-height: 320px;
  justify-content: space-between;
}
.contact-tag {
  display: inline-flex;
  padding: 8px 14px;
  background: var(--navy-pale);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  width: max-content;
}
.contact-actions {
  display: grid;
  gap: 12px;
}
.contact-meta {
  display: grid;
  gap: 16px;
}
.contact-meta-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.contact-meta-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.map-preview {
  display: grid;
  gap: 14px;
  align-items: center;
  justify-items: center;
  min-height: 200px;
  height: 200px;
  padding: 0;
  background: linear-gradient(180deg, rgba(30,58,95,0.08), rgba(30,58,95,0.02));
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
}
.map-pin {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.75rem;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.service-visual {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
}
.service-visual img {
  max-height: 48px;
  max-width: 60px;
  object-fit: contain;
}
.service-visual.logo-cluster {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.service-visual.logo-cluster img { max-height: 32px; max-width: 40px; }
.service-image {
  height: 80px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== SPLIT / HIGHLIGHT SECTIONS ============================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.split-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.split-section > div:first-child p { color: var(--muted); margin-bottom: 24px; font-size: 1rem; }

.highlight-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: 16px clamp(20px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px);
}
.mini-panel {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.mini-panel strong {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.mini-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .split-section { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}

/* ===== BRAND LOGO GRID ======================================== */
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.brand-logo-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.brand-logo-grid span:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.brand-logo-grid img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ===== REVIEW SCORE =========================================== */
.review-score {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.review-score .score {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Sora', Inter, sans-serif;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}
.review-score .stars {
  display: block;
  color: #f59e0b;
  font-size: 1.4rem;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.review-score p { color: var(--muted); font-size: 0.9rem; }

/* ===== FOOTER ================================================= */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px clamp(20px, 5vw, 64px);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.site-footer strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.site-footer p { font-size: 0.85rem; line-height: 1.6; }
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.site-footer nav a:hover { color: #fff; }

@media (min-width: 700px) {
  .site-footer { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ===== TARIFS — WIZARD ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.page-hero h1 em { color: #90b8e0; font-style: normal; }
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 20px;
  font-size: 1rem;
}
.page-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.page-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s;
}
.step-item:hover {
  opacity: 0.85;
}
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--line);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.step-dot.is-active { background: var(--navy); color: #fff; }
.step-dot.is-done { background: var(--green); color: #fff; }
.step-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--soft);
}
.step-label.is-active { color: var(--navy); font-weight: 700; }
.step-sep { color: var(--line); }

.wizard {
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}
.wizard-head { text-align: left; margin-bottom: 28px; }
.wizard-head h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 6px;
}
.wizard-head p { color: var(--muted); font-size: 0.95rem; }
.wizard-head .eyebrow {
  background: var(--navy-pale);
  color: var(--navy);
  border: 1px solid var(--navy-border);
  margin-bottom: 12px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-pale);
  color: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: inherit;
  transition: background 0.2s;
}
.back-btn:hover { background: var(--navy-border); }

/* ─── ÉTAPE 1 : Marques ─────────────────────────────────────── */
.brands-grid-wizard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.brand-card-wizard {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.brand-card-wizard:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.brand-card-wizard.popular::before {
  content: "Populaire";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.brand-card-wizard .brand-logo-wizard {
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.brand-card-wizard .brand-logo-wizard img,
.brand-card-wizard .brand-logo-wizard svg {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.brand-card-wizard .brand-name-wizard {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.brand-card-wizard:hover .brand-name-wizard { color: var(--navy); }

/* ─── ÉTAPE 2 : Modèles avec illustrations ──────────────────── */
.models-grid-wizard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.model-card-wizard {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
.model-card-wizard:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.model-illustration {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
}
.model-illustration svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(30, 58, 95, 0.18));
  transition: transform 0.3s;
}
.model-card-wizard:hover .model-illustration svg { transform: translateY(-2px) scale(1.03); }

.model-info-wizard {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.model-info-wizard .model-name-wizard {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
  font-family: 'Sora', Inter, sans-serif;
}
.model-info-wizard .model-year-wizard {
  font-size: 0.7rem;
  color: var(--soft);
  margin-bottom: 6px;
}
.model-price-wizard {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.model-price-wizard .from {
  font-size: 0.66rem;
  color: var(--soft);
  font-weight: 500;
}
.model-price-wizard .price {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Sora', Inter, sans-serif;
}
.model-price-wizard .price-max {
  font-size: 0.7rem;
  color: var(--soft);
}

/* ─── ÉTAPE 3 : Réparations ─────────────────────────────────── */
.repair-summary {
  background: var(--navy-pale);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.repair-summary-thumb {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.repair-summary-thumb svg { width: 100%; height: 100%; }
.repair-summary-info { flex: 1; min-width: 0; }
.repair-summary-info .label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.repair-summary-info .name {
  font-family: 'Sora', Inter, sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.repair-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.repair-tab {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}
.repair-tab.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.repair-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.repair-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  flex-wrap: wrap;
}
.repair-item:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.repair-item-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.repair-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.repair-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.repair-item-desc {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
.repair-item-right { text-align: right; flex-shrink: 0; }
.repair-item-price {
  font-family: 'Sora', Inter, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}
.repair-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

.note-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--navy-pale);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
}
.note-box p:first-child {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.note-box p:last-of-type {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.note-box-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.no-result {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.no-result p { color: var(--muted); margin-bottom: 12px; font-size: 0.9rem; }

/* ===== STICKY CTA MOBILE ===================================== */
.sticky-cta {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  background: var(--paper);
  border-radius: 99px;
  box-shadow: 0 6px 28px rgba(30, 58, 95, 0.2);
  border: 1px solid var(--line);
}
.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.sticky-cta .cta-tel { background: var(--navy); color: #fff; }
.sticky-cta .cta-rdv { background: var(--navy-pale); color: var(--navy); border: 1px solid var(--navy-border); }

/* ===== UTILS ================================================== */
.hidden { display: none !important; }
.footer-copy {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ============================================= */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: var(--paper);
    padding: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.3s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav > a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.95rem;
  }
  .nav-cta {
    margin: 12px 0 0;
    text-align: center;
    padding: 14px 20px !important;
  }
  .theme-switch { margin: 12px auto 0; }
  .theme-switch button { padding: 8px 14px; font-size: 0.78rem; }
  .sticky-cta { display: flex; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-tags { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-tags { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 1.7rem; }
}
@media (min-width: 901px) {
  .sticky-cta { display: none; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .brand img { height: 44px; }
  .brands-grid-wizard { grid-template-columns: repeat(3, 1fr); }
  .models-grid-wizard { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   TEXTE ROTATIF (smartphone → tablette → ordinateur → ...)
   ═══════════════════════════════════════════════════════════════ */
.rotating-text-wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #90b8e0;
  font-style: italic;
  position: relative;
  min-width: 150px;
}
.rotating-text {
  display: inline-block;
  position: relative;
}
.rotating-text::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  font-weight: 300;
  color: #90b8e0;
  animation: blink 1s steps(2) infinite;
}
.rotating-cursor {
  display: inline-block;
  color: #90b8e0;
  margin-left: -2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   CARROUSEL INFINI DES LOGOS DE MARQUES (marquee)
   ═══════════════════════════════════════════════════════════════ */
.brands-marquee-section {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}
.brands-marquee-section .section-heading {
  padding: 0 clamp(20px, 5vw, 64px);
}
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  align-items: center;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.marquee-item:hover {
  border-color: var(--navy);
  transform: scale(1.05);
}
.marquee-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 24px)); } /* -50% car set dupliqué + half gap */
}
@media (max-width: 600px) {
  .marquee-item { width: 100px; height: 70px; padding: 10px 16px; }
  .marquee-item img { max-height: 40px; }
  .marquee-track { gap: 32px; animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
