/* ═══════════════════════════════════════════════════
   PAGE CHOIX CONTRATS
═══════════════════════════════════════════════════ */

.ch-main {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #f0f5f6;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}

/* Fond hex + dégradés */
.ch-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 0% 40%,  rgba(226,0,26,.07)  0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 100% 70%, rgba(32,80,95,.10)  0%, transparent 55%);
}
.ch-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;
}

.ch-inner { position: relative; z-index: 1; width: 100%; }

/* ── En-tête ── */
.ch-head { text-align: center; margin-bottom: 56px; }
.ch-badge {
  display: inline-flex; align-items: center;
  background: rgba(32,80,95,.08);
  border: 1px solid rgba(32,80,95,.2);
  color: #20505F;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px;
  margin-bottom: 24px;
}
.ch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: 2px; line-height: 1.05;
  color: #0a0a0a; margin-bottom: 16px;
}
.ch-accent { color: var(--red); }
.ch-sub {
  font-size: 17px; font-weight: 300;
  color: #4a5a60;
  line-height: 1.7;
}

/* ── Grille de cartes ── */
.ch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ── Carte générique ── */
.ch-card {
  display: flex; flex-direction: column;
  padding: 40px 36px;
  border-radius: 20px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 16px rgba(32,80,95,.07);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.ch-card::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.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px;
  pointer-events: none;
}
.ch-card:hover {
  transform: translateY(-6px);
}

/* Carte Mécanique */
.ch-card--meca {
  background: linear-gradient(145deg, rgba(226,0,26,.06) 0%, rgba(226,0,26,.02) 50%, #fff 100%);
  border-color: rgba(226,0,26,.2);
}
.ch-card--meca:hover {
  border-color: rgba(226,0,26,.45);
  box-shadow: 0 20px 60px rgba(226,0,26,.12);
}

/* Carte Carrosserie */
.ch-card--carro {
  background: linear-gradient(145deg, rgba(32,80,95,.08) 0%, rgba(32,80,95,.03) 50%, #fff 100%);
  border-color: rgba(32,80,95,.2);
}
.ch-card--carro:hover {
  border-color: rgba(32,80,95,.5);
  box-shadow: 0 20px 60px rgba(32,80,95,.14);
}

/* ── Contenu carte ── */
.ch-card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.ch-card--meca .ch-card-icon  { background: rgba(226,0,26,.18); color: #ff6b6b; }
.ch-card--carro .ch-card-icon { background: rgba(32,80,95,.25); color: #6bb8cc; }

.ch-card-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.ch-card--meca  .ch-card-tag { color: rgba(255,100,100,.8); }
.ch-card--carro .ch-card-tag { color: rgba(100,190,210,.8); }

.ch-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 2px; line-height: 1.05;
  color: #0a0a0a;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

.ch-card-desc {
  font-size: 14px; font-weight: 400;
  color: #5a6870;
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}

.ch-card-points {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 32px;
  position: relative; z-index: 1;
  flex: 1;
}
.ch-card-points li {
  font-size: 13px; font-weight: 600;
  color: #4a5a60;
  padding-left: 18px;
  position: relative;
}
.ch-card-points li::before {
  content: '→';
  position: absolute; left: 0;
  font-size: 11px;
}
.ch-card--meca  .ch-card-points li::before { color: rgba(226,0,26,.8); }
.ch-card--carro .ch-card-points li::before { color: rgba(32,80,95,.9); }

.ch-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 100px;
  transition: gap .2s;
  position: relative; z-index: 1;
  align-self: flex-start;
}
.ch-card--meca  .ch-card-cta { background: var(--red); color: #ffffff; }
.ch-card--carro .ch-card-cta { background: #20505F; color: #ffffff; }
.ch-card:hover .ch-card-cta  { gap: 14px; }

/* ── Note bas de page ── */
.ch-footer-note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px; color: #7a8f95;
}
.ch-footer-note a { color: #20505F; text-decoration: underline; transition: color .2s; }
.ch-footer-note a:hover { color: #0a0a0a; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ch-cards { grid-template-columns: 1fr; max-width: 480px; }
  .ch-card  { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .ch-title { font-size: 48px; }
}
