/* ═══════════════════════════════════════════════════
   PAGE CARROSSERIE SÉRÉNITÉ
═══════════════════════════════════════════════════ */

/* ── Hero ── */
.cs-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #f0f5f6;
  overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 0 100px;
}
.cs-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 5% 50%, rgba(226,0,26,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 80%, rgba(32,80,95,.12) 0%, transparent 55%);
}
.cs-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='70'%3E%3Cpolygon points='30,2 58,17 58,53 30,68 2,53 2,17' fill='none' stroke='rgba(32,80,95,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px;
}
.cs-hero-content { position: relative; z-index: 1; max-width: 860px; text-align: center; margin: 0 auto; }

.cs-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(226,0,26,.1);
  border: 1px solid rgba(226,0,26,.25);
  color: var(--red);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.cs-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5.5vw, 76px);
  letter-spacing: 2px; line-height: 1.05;
  color: #0a0a0a; margin-bottom: 22px;
}
.cs-title-accent { color: var(--red); }
.cs-sub {
  font-size: 17px; font-weight: 300;
  color: #4a5a60;
  line-height: 1.75; max-width: 580px;
  margin: 0 auto 48px;
}

/* ── 3 cartes hero ── */
.cs-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-hero-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(32,80,95,.15);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(32,80,95,.08);
  transition: border-color .2s, box-shadow .2s, transform .25s;
}
.cs-hero-card:hover {
  border-color: rgba(32,80,95,.35);
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(32,80,95,.14);
}
.cs-hero-card--pro {
  background: #fff;
  border-color: rgba(32,80,95,.15);
  box-shadow: 0 2px 16px rgba(32,80,95,.08);
}
.cs-hero-card--pro:hover {
  border-color: rgba(32,80,95,.35);
  box-shadow: 0 10px 32px rgba(32,80,95,.14);
}
.cs-hc-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f0f5f6;
  border: 1px solid rgba(32,80,95,.12);
  border-radius: 16px;
  color: #20505F;
}
.cs-hero-card--pro .cs-hc-icon { background: #f0f5f6; border-color: rgba(32,80,95,.12); color: #20505F; }
.cs-hc-body { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.cs-hc-body strong { font-size: 16px; font-weight: 800; color: #0a0a0a; letter-spacing: .3px; }
.cs-hc-body span   { font-size: 13px; color: #7a8f95; line-height: 1.5; }
.cs-hc-body em     { font-size: 15px; color: #20505F; font-style: normal; font-weight: 800; margin-top: 6px; }
.cs-hc-arrow {
  font-size: 20px; color: #ccc;
  transition: color .2s, transform .2s;
  margin-top: 4px;
}
.cs-hero-card:hover .cs-hc-arrow { color: #20505F; transform: translateX(4px); }

/* ── Sections génériques ── */
.cs-section { position: relative; }
.cs-section--light { background: #ffffff; }
.cs-section--teal  { background: #f0f5f6; }
.cs-section--dark  { background: #0a0a0a; overflow: hidden; }

.cs-section-bg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='70'%3E%3Cpolygon points='30,2 58,17 58,53 30,68 2,53 2,17' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px;
}
.cs-section-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 50%, rgba(226,0,26,.1) 0%, transparent 60%);
}

/* ── Split layout ── */
.cs-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

/* ── Features list ── */
.cs-features { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 28px 0 20px; }
.cs-features li { display: flex; align-items: flex-start; gap: 14px; }
.cs-feat-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(226,0,26,.1); border-radius: 50%;
  color: #e2001a; margin-top: 2px;
}
.cs-feat-icon--teal { background: rgba(32,80,95,.1); color: #20505F; }
.cs-features li div { display: flex; flex-direction: column; gap: 3px; }
.cs-features li strong { font-size: 14px; font-weight: 800; color: #111; letter-spacing: .3px; }
.cs-features li span  { font-size: 13px; color: #777; line-height: 1.5; }
.cs-features--dark li strong { color: #1a3a42; }

.cs-exclusion {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: #999; line-height: 1.6;
  margin-top: 4px; padding: 12px 16px;
  background: #f9f9f9; border-radius: 8px;
  border-left: 3px solid #ddd;
}
.cs-exclusion svg { flex-shrink: 0; margin-top: 2px; }

/* ── Carte prix Particulier ── */
.cs-price-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  overflow: hidden;
}
.cs-price-card-head {
  background: var(--red);
  padding: 32px 28px 28px;
  text-align: center;
}
.cs-price-label {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.cs-price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; color: #fff;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.cs-price-amount span { font-size: 72px; line-height: 1; letter-spacing: -1px; }
.cs-price-amount sup  { font-size: 32px; margin-top: -8px; }
.cs-price-per {
  font-size: 12px; color: rgba(255,255,255,.6);
  margin-top: 6px;
}
.cs-price-card-body { padding: 28px; }
.cs-price-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.cs-price-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #333;
}
.cs-ok { color: #1e8c3a; font-weight: 900; font-size: 15px; }
.cs-price-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #bbb;
  margin-top: 12px; line-height: 1.5;
}
.cs-price-note svg { flex-shrink: 0; }

/* ── CTA buttons ── */
.cs-cta-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--red); color: #ffffff;
  border: none; border-radius: 100px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.cs-cta-btn:hover { background: #c00016; transform: translateY(-1px); }
.cs-cta-btn--teal { background: #20505F; }
.cs-cta-btn--teal:hover { background: #1a4049; }
.cs-cta-btn--white { background: #ffffff; color: #0a0a0a; }
.cs-cta-btn--white:hover { background: #f0f0f0; }

/* ══════════════════════════
   SECTION LOA
══════════════════════════ */
.cs-loa-head { text-align: center; margin-bottom: 56px; }
.cs-loa-sub { max-width: 620px; margin: 0 auto; }
.cs-loa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.cs-loa-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 1.5px;
  color: #1a3a42;
  margin-bottom: 20px;
}
.cs-loa-prices {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.cs-loa-price-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.cs-loa-price-item:hover {
  border-color: #20505F;
  box-shadow: 0 4px 16px rgba(32,80,95,.1);
}
.cs-loa-price-cat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: #1a3a42;
}
.cs-loa-price-cat svg { color: #20505F; flex-shrink: 0; }
.cs-loa-price-val {
  display: flex; align-items: baseline; gap: 5px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 1px;
  color: var(--red);
}
.cs-loa-from {
  font-family: 'Barlow', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: #888;
  white-space: nowrap; line-height: 1;
}
.cs-loa-note {
  font-size: 12px; color: #888; font-style: italic;
  margin-top: 12px; line-height: 1.6;
}

/* ══════════════════════════
   SECTION FLOTTE PRO
══════════════════════════ */
.cs-flotte-head { text-align: center; margin-bottom: 56px; }
.cs-flotte-head .stitle--white { color: #ffffff; }
.cs-flotte-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: start;
}

/* ROI block */
.cs-roi-block { color: #444; }
.cs-roi-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 1.5px;
  color: #111; margin-bottom: 24px;
}
.cs-roi-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.cs-roi-item {
  border-radius: 14px;
  padding: 24px;
}
.cs-roi-item--bad  { background: #fafafa; border: 1px solid #eee; }
.cs-roi-item--good { background: rgba(30,140,58,.07); border: 1px solid rgba(30,140,58,.2); }
.cs-roi-item-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.cs-roi-item-head strong { font-size: 13px; font-weight: 800; letter-spacing: .3px; color: #111; }
.cs-roi-cross { color: #e2001a; font-size: 18px; font-weight: 900; }
.cs-roi-check { color: #2a9a4a; font-size: 18px; font-weight: 900; }
.cs-roi-item ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cs-roi-item li { font-size: 13px; color: #666; line-height: 1.5; }
.cs-roi-item li b { color: #111; }
.cs-roi-example {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(226,0,26,.06); border: 1px solid rgba(226,0,26,.18);
  border-radius: 10px; padding: 14px 16px;
  font-size: 13px; color: #555; line-height: 1.6;
}
.cs-roi-example svg { flex-shrink: 0; color: var(--red); margin-top: 2px; }
.cs-roi-example b { color: #111; }

/* Flotte card */
.cs-flotte-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.cs-flotte-card-head {
  background: var(--red);
  padding: 28px 24px;
  text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.cs-flotte-card-head span { font-size: 11px; color: rgba(255,255,255,.65); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.cs-flotte-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px; line-height: 1; color: #ffffff; letter-spacing: -1px;
}
.cs-flotte-price span { font-size: 32px; }
.cs-flotte-price small { font-size: 14px; font-family: 'Barlow', sans-serif; font-weight: 500; color: rgba(255,255,255,.65); letter-spacing: 0; }
.cs-flotte-min { font-size: 11px; color: rgba(255,255,255,.5); font-style: italic; }
.cs-flotte-features {
  list-style: none;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0;
}
.cs-flotte-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #444;
}
.cs-ok--white { color: #2a9a4a; font-size: 15px; font-weight: 900; }
.cs-flotte-card .cs-cta-btn--white {
  margin: 20px 24px 24px;
  width: calc(100% - 48px);
  background: #0a0a0a;
  color: #fff;
}
.cs-flotte-card .cs-cta-btn--white:hover { background: var(--red); }

/* ══════════════════════════
   FORMULAIRE
══════════════════════════ */
.cs-form-section { background: #ffffff; position: relative; overflow: hidden; }
.cs-form-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='70'%3E%3Cpolygon points='30,2 58,17 58,53 30,68 2,53 2,17' fill='none' stroke='rgba(0,0,0,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px; pointer-events: none;
}
.cs-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative; z-index: 1;
}
.cs-form-reassurance {
  list-style: none; margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.cs-form-reassurance li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #555; font-weight: 500;
}
.cs-form-reassurance svg { color: #20505F; flex-shrink: 0; }

/* Sélecteur de type */
.cs-type-selector {
  display: flex;
  background: #f5f5f5;
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}
.cs-type-btn {
  flex: 1;
  padding: 9px 12px;
  border: none; border-radius: 100px;
  background: transparent;
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: #888;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.cs-type-btn--active {
  background: #ffffff;
  color: #111;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.cs-form-confirm {
  margin-top: 12px;
  font-size: 14px; color: #20505F; font-weight: 600;
}

/* tag variations */
.tag--white {
  background: rgba(32,80,95,.1);
  color: #20505F;
  border: 1px solid rgba(32,80,95,.2);
}
.tag--red {
  background: rgba(226,0,26,.1);
  color: var(--red);
  border: 1px solid rgba(226,0,26,.2);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cs-split        { grid-template-columns: 1fr; gap: 48px; }
  .cs-flotte-grid  { grid-template-columns: 1fr; gap: 48px; }
  .cs-split .cs-split-right { max-width: 420px; }
}
@media (max-width: 960px) {
  .cs-hero-cards   { grid-template-columns: 1fr; gap: 12px; }
  .cs-loa-grid     { grid-template-columns: 1fr; gap: 48px; }
  .cs-form-inner   { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .cs-hero { padding: calc(var(--nav-h) + 48px) 0 72px; }
  .cs-hero-card { padding: 16px; }
  .cs-price-amount span { font-size: 56px; }
  .cs-flotte-price { font-size: 44px; }
  .cs-roi-items { flex-direction: column; }
  .cs-type-btn { font-size: 11px; padding: 8px 8px; }
}

/* ══════════════════════════════════════════════
   TABLEAU 3 FORMULES PARTICULIER
══════════════════════════════════════════════ */

.cs-part-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.cs-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

/* ── Carte de base */
.cs-plan-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.cs-plan-card:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,.09);
  transform: translateY(-5px);
}

/* ── Carte recommandée */
.cs-plan-card--featured {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(226,0,26,.12);
}

/* ── Carte dark (Premium) */
.cs-plan-card--dark {
  background: #fff;
  border-color: #eee;
}
.cs-plan-card--dark:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,.09);
}

/* ── Badge "Le plus choisi" */
.cs-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── En-tête prix */
.cs-plan-head {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
}
.cs-plan-card--dark .cs-plan-head     { border-color: #f0f0f0; }
.cs-plan-card--featured .cs-plan-head { border-color: rgba(226,0,26,.15); }

.cs-plan-name {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2.5px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-plan-card--featured .cs-plan-name { color: var(--red); }
.cs-plan-name--dim { color: #999; }

.cs-plan-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: #0a0a0a;
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}
.cs-plan-price span { font-size: 64px; }
.cs-plan-price sup  { font-size: 26px; vertical-align: super; letter-spacing: 0; }
.cs-plan-card--featured .cs-plan-price { color: var(--red); }
.cs-plan-price--white { color: #0a0a0a; }

.cs-plan-per {
  font-size: 11px;
  color: #bbb;
  font-weight: 500;
  margin-top: 8px;
}
.cs-plan-per--white { color: #bbb; }

/* ── Liste de features */
.cs-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
}
.cs-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.cs-plan-features--white { color: #444; }
.cs-nok { color: #ccc; font-weight: 700; flex-shrink: 0; }

/* ── Bouton CTA */
.cs-plan-cta {
  width: 100%;
  padding: 13px 16px;
  background: #f2f2f2;
  color: #333;
  border: none;
  border-radius: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .2s, color .2s, transform .15s;
  margin-bottom: 12px;
}
.cs-plan-cta:hover {
  background: #0a0a0a;
  color: #fff;
  transform: translateY(-2px);
}
.cs-plan-cta--featured {
  background: var(--red);
  color: #fff;
}
.cs-plan-cta--featured:hover { background: #b5001a; }
.cs-plan-cta--dark {
  background: #f2f2f2;
  color: #333;
}
.cs-plan-cta--dark:hover { background: #0a0a0a; color: #fff; }

/* ── Note participation */
.cs-plan-participation {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  font-weight: 500;
  line-height: 1.4;
}
.cs-plan-participation--dim { color: #bbb; }

/* ── Note exclusion centrée */
.cs-exclusion--center {
  justify-content: center;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .cs-plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ══════════════════════════════════════════════
   PRÉ-REMPLISSAGE FORMULAIRE
══════════════════════════════════════════════ */

/* Flash sur champs pré-remplis */
@keyframes csFieldPulse {
  0%   { box-shadow: 0 0 0 3px rgba(32,80,95,.45); background: rgba(32,80,95,.07); border-color: #20505F; }
  65%  { box-shadow: 0 0 0 3px rgba(32,80,95,.15); }
  100% { box-shadow: none; background: transparent; }
}
.cs-prefilled {
  animation: csFieldPulse 1.4s ease forwards !important;
  border-color: #20505F !important;
}

/* Bandeau "type pré-sélectionné" */
@keyframes csBannerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cs-selected-type {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(32,80,95,.08);
  border: 1.5px solid rgba(32,80,95,.28);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #20505F;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  animation: csBannerIn .3s ease;
}
.cs-selected-type svg { flex-shrink: 0; }
