/* suich.ch : feuille de style des pages secondaires (gabarit /fr/devenir-chauffeur/).
   Reprend les jetons de assets/css/styles.css (couleurs, rayons, ombres, typo Inter). */
:root {
  --red:         #E52420;
  --red-dark:    #C41E1A;
  --red-alpha:   rgba(229, 36, 32, 0.10);
  --black:       #111111;
  --white:       #FFFFFF;
  --text-body:   #3a3a3a;
  --text-muted:  #6e6e73;
  --radius-pill: 9999px;
  --radius-sm:   12px;
  --radius-xl:   36px;
  --shadow-red:  0 8px 28px rgba(229,36,32,0.30);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  background: #ffffff;
  color: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- navigation ---------- */
.navbar-wrap { position: fixed; top: 22px; left: 28px; right: 28px; z-index: 200; }
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo__icon     { height: 28px; width: auto; display: block; }
.logo__wordmark { height: 20px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.flags { display: flex; align-items: center; gap: 4px; }
.flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; transition: background 0.18s ease;
}
.flag img { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; display: block; }
.flag:hover { background: rgba(0,0,0,0.05); }
.flag.is-active { background: var(--red-alpha); }
.nav-divider { width: 1px; height: 22px; background: rgba(0,0,0,0.10); }
.btn-nav {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; background: var(--black); color: #fff;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  border-radius: var(--radius-pill); text-decoration: none;
  transition: background 0.2s ease; white-space: nowrap;
}
.btn-nav:hover { background: #2a2a2a; }

/* ---------- en-tête de page ---------- */
.page-hero {
  padding: 160px 28px 64px;
  background: linear-gradient(160deg, #fafafa 0%, #f0f0f3 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,36,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  list-style: none; font-size: 13px; color: #aaa; margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #ccc; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
  padding: 6px 14px; background: var(--red-alpha); border-radius: var(--radius-pill);
}
.page-hero__title {
  font-size: clamp(32px, 4.5vw, 54px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.06;
  color: var(--black); margin-bottom: 20px;
}
.page-hero__lead { font-size: 18px; line-height: 1.65; color: var(--text-body); margin: 0 auto 28px; max-width: 720px; }
.page-hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--radius-pill);
  background: var(--red); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; box-shadow: var(--shadow-red);
  transition: background 0.2s, transform 0.15s;
}
.page-hero__cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ---------- badges stores ---------- */
.stores { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.badge-wrap { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.2s ease, filter 0.2s ease; }
.badge-wrap:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.store-badge { height: 52px; width: auto; object-fit: contain; display: block; border-radius: 11px; }
.store-badge--play { height: 76px; }
.page-hero .stores { margin-top: 6px; }

/* ---------- corps ---------- */
.page-body {
  max-width: 1240px; margin: 0 auto;
  padding: 72px 28px 96px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 80px; align-items: start;
}
.page-body--narrow { grid-template-columns: 1fr; max-width: 860px; }
.toc { position: sticky; top: 100px; }
.toc__label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #bbb; margin-bottom: 16px; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc__item a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 10px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px; line-height: 1.35;
  transition: background 0.15s ease, color 0.15s ease;
}
.toc__item a:hover { background: rgba(0,0,0,0.04); color: var(--black); }
.toc__item a.is-active { color: var(--red); background: var(--red-alpha); font-weight: 600; }
.toc__num { font-size: 11px; font-weight: 700; color: #ccc; min-width: 18px; flex-shrink: 0; }
.toc__item a.is-active .toc__num { color: var(--red); }

.content { min-width: 0; }
.section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(0,0,0,0.07); }
.section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.section__num {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section__title {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 22px; line-height: 1.2;
}
.section h3 { font-size: 17px; font-weight: 700; color: var(--black); margin: 24px 0 10px; }
.section p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }
.section a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.section ul, .section ol { padding: 0; margin: 4px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.section ul { list-style: none; }
.section ul li, .section ol li { font-size: 16px; line-height: 1.75; color: var(--text-body); padding-left: 20px; position: relative; }
.section ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); opacity: 0.6;
}
.section ol { list-style: none; counter-reset: steps; }
.section ol li { padding-left: 44px; counter-increment: steps; }
.section ol li::before {
  content: counter(steps);
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red-alpha); color: var(--red);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.note {
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: #f7f7f8; border-left: 3px solid var(--red);
  font-size: 14.5px; line-height: 1.65; color: var(--text-muted);
}
.section .note + p { margin-top: 16px; }

/* tableau comparatif */
.table-wrap { overflow-x: auto; margin: 4px 0 20px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: top; color: var(--text-body); }
.compare th { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--black); background: #f7f7f8; }
.compare td:first-child { font-weight: 600; color: var(--black); }

/* cartes (catégories, étapes) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 4px 0 20px; }
.card { border: 1.5px solid rgba(0,0,0,0.08); border-radius: 18px; padding: 20px; background: #fff; }
.card__title { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: 6px; letter-spacing: -0.01em; }
.card__text { font-size: 14.5px; line-height: 1.65; color: var(--text-body); }
.card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 12px; display: block; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1.5px solid rgba(0,0,0,0.08); border-radius: var(--radius-sm); padding: 18px 20px; background: #fff; }
.faq__item summary {
  cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--red); flex-shrink: 0; }
.faq__item[open] summary::after { content: '\2013'; }
.faq__item p { margin-top: 12px; font-size: 15.5px; }

/* liens contextuels */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.related a {
  display: block; padding: 16px 18px; border-radius: 14px; text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.08); color: var(--black); font-weight: 600; font-size: 14.5px;
  transition: border-color 0.2s, transform 0.15s;
}
.related a:hover { border-color: var(--red); transform: translateY(-1px); }
.related a span { display: block; font-weight: 400; color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* CTA final */
.cta-final { background: var(--black); color: #fff; border-radius: 28px; padding: 44px 40px; text-align: center; margin-top: 8px; }
.cta-final__title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-final__sub { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 24px; }

/* formulaire (candidature / contact) : mêmes champs que le tiroir de l'accueil */
.apply { background: #f7f7f8; border-radius: 24px; padding: 40px; }
.drawer-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--red); margin-bottom: 14px; }
.drawer-eyebrow-logo { height: 16px; width: auto; filter: brightness(0) saturate(100%) invert(18%) sepia(95%) saturate(2800%) hue-rotate(349deg) brightness(95%); }
.drawer-title { font-size: 30px; font-weight: 900; letter-spacing: -0.8px; color: var(--black); line-height: 1.15; margin-bottom: 8px; }
.drawer-sub { font-size: 14.5px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.55; }
.drawer-form { display: flex; flex-direction: column; gap: 14px; }
.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drawer-field { display: flex; flex-direction: column; gap: 6px; }
.drawer-label { font-size: 12.5px; font-weight: 600; color: var(--black); letter-spacing: 0.01em; }
.drawer-input, .drawer-select, .drawer-textarea {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1.5px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--black); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.drawer-textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.drawer-input::placeholder, .drawer-textarea::placeholder { color: #aab0ba; }
.drawer-input:focus, .drawer-select:focus, .drawer-textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,36,32,0.10); }
.drawer-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555E6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.drawer-vtc-label { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.drawer-radio-group { display: flex; gap: 12px; }
.drawer-radio-opt { flex: 1; position: relative; }
.drawer-radio-opt input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.drawer-radio-opt label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border: 1.5px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; color: var(--text-muted); background: #fff;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.drawer-radio-opt input[type="radio"]:checked + label { border-color: var(--red); background: var(--red-alpha); color: var(--red); }
.drawer-radio-opt label:hover { border-color: rgba(229,36,32,0.4); }
.drawer-divider { height: 1px; background: rgba(0,0,0,0.07); margin: 4px 0; }
.drawer-submit {
  height: 52px; border-radius: 10px; border: none;
  background: var(--red); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-red); margin-top: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.drawer-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.drawer-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.drawer-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px 20px; }
.drawer-success.is-visible { display: flex; }
.drawer-success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--red-alpha); display: flex; align-items: center; justify-content: center; color: var(--red); }
.drawer-success__title { font-size: 22px; font-weight: 800; color: var(--black); letter-spacing: -0.4px; }
.drawer-success__sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- footer 4 colonnes ---------- */
.footer { background: var(--black); padding: 64px 40px 40px; }
.footer__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; }
.footer__top { display: flex; align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 40px; }
.footer__logo { display: flex; align-items: center; }
.footer__logo-img { height: 48px; width: auto; display: block; filter: brightness(0) saturate(100%) invert(18%) sepia(95%) saturate(2800%) hue-rotate(349deg) brightness(95%); }
.footer__tagline { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.38); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer__col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer__col-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer__divider { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy, .footer__address { font-size: 13px; color: rgba(255,255,255,0.25); }
.footer__link { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.18s ease; }
.footer__link:hover { color: #ffffff; }

/* ---------- barre sociale ---------- */
.social-bar {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.social-bar__link { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--black); transition: background 0.18s, color 0.18s; }
.social-bar__link:hover { background: var(--red-alpha); color: var(--red); }
.social-bar__divider { width: 1px; height: 18px; background: rgba(0,0,0,0.10); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) { .page-body { grid-template-columns: 200px 1fr; gap: 52px; } .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .page-body { grid-template-columns: 1fr; gap: 0; padding: 48px 24px 88px; }
  .toc { position: static; background: #f7f7f8; border-radius: 16px; padding: 20px; margin-bottom: 48px; }
}
@media (max-width: 640px) {
  .navbar-wrap { top: 12px; left: 14px; right: 14px; }
  .navbar { padding: 8px 12px; border-radius: 18px; }
  .nav-right { gap: 8px; }
  .flag { width: 30px; height: 30px; }
  .flag img { width: 22px; height: 15px; }
  .btn-nav { padding: 8px 12px; font-size: 12px; }
  .page-hero { padding: 130px 16px 48px; }
  .page-hero__title { font-size: 28px; }
  .page-hero__lead { font-size: 15.5px; }
  .page-body { padding: 36px 16px 72px; }
  .section { padding-bottom: 44px; margin-bottom: 44px; }
  .section p, .section ul li, .section ol li { font-size: 15px; }
  .apply { padding: 24px 18px; border-radius: 18px; }
  .drawer-row { grid-template-columns: 1fr; }
  .drawer-title { font-size: 26px; }
  .cta-final { padding: 32px 20px; border-radius: 20px; }
  .footer { padding: 48px 16px 88px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .store-badge { height: 44px; } .store-badge--play { height: 64px; }
  .social-bar { right: 12px; bottom: 12px; }
}
