/* ========== VARIABLES RDV (vert = choix sélectionné) ========== */
    :root {
      --green: #2aaa3c;
      --green-dark: #238a32;
      --green-light: #e9f7ec;
    }

/* ========== HERO ========== */
    .hero { position: relative; min-height: 340px; display: flex; align-items: stretch; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; background: #1a1a1a; }
    .hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.15) 70%, transparent 100%); z-index: 1; }
    .hero-building { position: absolute; right: 0; top: 0; bottom: 0; width: 65%; z-index: 0; }
    .hero-facade { position: absolute; right: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/site/hero-prendre-rdv.png') center/cover no-repeat; }
    .hero-facade::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(0,0,0,0.03) 80px, rgba(0,0,0,0.03) 81px); }
    .hero-sign { position: absolute; top: 12%; right: 18%; background: var(--orange); color: #fff; font-size: 22px; font-weight: 900; font-style: italic; padding: 14px 36px; border-radius: 6px; white-space: nowrap; letter-spacing: 0.5px; box-shadow: 2px 4px 12px rgba(0,0,0,0.3); z-index: 2; display: none; }
    .hero-window { position: absolute; background: linear-gradient(180deg, rgba(140,160,180,0.2) 0%, rgba(100,120,140,0.15) 50%, rgba(180,200,220,0.1) 100%); border: 2px solid rgba(120,110,100,0.3); border-radius: 2px; display: none; }
    .hero-window.hw1 { width: 26%; height: 55%; bottom: 0; left: 3%; }
    .hero-window.hw2 { width: 26%; height: 55%; bottom: 0; left: 32%; }
    .hero-window.hw3 { width: 20%; height: 55%; bottom: 0; right: 3%; }
    .hero-door-label { position: absolute; bottom: 30%; left: 38%; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; padding: 5px 14px; border-radius: 2px; z-index: 2; display: none; }
    .hero-subsign { position: absolute; top: 38%; right: 18%; background: rgba(60,50,40,0.8); color: rgba(255,255,255,0.7); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px; border-radius: 3px; white-space: nowrap; z-index: 2; display: none; }
    .hero-badge { position: absolute; top: 10%; right: 4%; background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 8px; font-weight: 700; text-align: center; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.3px; z-index: 3; box-shadow: 1px 2px 8px rgba(0,0,0,0.2); display: none; }
    .hero-badge svg { display: block; margin: 0 auto 4px; }
    .hero-content { position: relative; z-index: 2; padding: 56px 56px 48px; max-width: 580px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
    .hero-breadcrumb { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; opacity: 0.45; margin-bottom: 12px; font-style: italic; }
    .hero h1 { font-size: 50px; font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.5px; }
    .hero h1 span { color: var(--orange); }
    .hero .hero-desc { font-size: 14px; line-height: 1.7; opacity: 0.75; max-width: 440px; }
    .hero .hero-desc strong { font-weight: 700; opacity: 1; }
    .hero-content > * { opacity: 0; transform: translateY(25px); animation: heroFadeIn .7s cubic-bezier(.25,.46,.45,.94) forwards; }
    .hero-content > *:nth-child(1) { animation-delay: .1s; }
    .hero-content > *:nth-child(2) { animation-delay: .25s; }
    .hero-content > *:nth-child(3) { animation-delay: .4s; }
    @keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

    /* ========== STEPS INDICATOR ========== */
    .steps-bar { background: #fff; padding: 28px 56px; display: flex; justify-content: center; }
    .steps-inner { display: flex; align-items: center; gap: 16px; max-width: 520px; width: 100%; }
    .step-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); background: var(--gray); padding: 7px 16px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; transition: all .3s; }
    .step-label.active { background: var(--orange-light); color: var(--orange); }
    .step-dots { display: flex; gap: 6px; flex: 1; }
    .step-dot { flex: 1; height: 5px; border-radius: 3px; background: #e0e0e0; transition: background .3s; }
    .step-dot.active { background: var(--orange); }

    /* ========== FORM SECTION ========== */
    .form-section { background: var(--gray); padding: 0 20px 64px; display: flex; flex-direction: column; align-items: center; overflow-x: hidden; }
    .form-card { background: #fff; border-radius: 24px; box-shadow: 0 2px 32px rgba(0,0,0,0.06); padding: 44px 48px 48px; max-width: 520px; width: 100%; margin: 0 auto; overflow: hidden; }
    .form-step-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #bbb; margin-bottom: 16px; text-align: center; display: block; }
    .form-card h2 { font-size: 20px; font-weight: 900; text-align: center; margin-bottom: 20px; color: var(--dark); }
    .form-divider { width: 100%; height: 1px; background: #eee; margin-bottom: 28px; }

    /* Step content switching */
    .step-content { display: none; }
    .step-content.active { display: block; animation: fadeInStep .4s ease; }
    @keyframes fadeInStep { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

    /* ========== ÉTAPE 1 ========== */
    .phone-wrap { margin-bottom: 32px; }
    .phone-input { width: 100%; padding: 15px 20px; border-radius: 30px; border: 2px solid #e0e0e0; background: #fff; color: var(--dark); font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; text-align: center; outline: none; transition: border-color .2s, box-shadow .2s; }
    .phone-input::placeholder { color: #bbb; font-weight: 500; }
    .phone-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,101,34,0.12); }
    .form-card h3 { font-size: 15px; font-weight: 800; text-align: center; margin-bottom: 20px; color: var(--dark); }
    .prestation-box { border: 1.5px solid #eee; border-radius: 16px; padding: 24px 16px 20px; margin-bottom: 20px; }
    .prestation-choices { display: flex; justify-content: center; gap: 16px; }
    .prestation-choice { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; padding: 10px 12px; border-radius: 12px; transition: background .2s, box-shadow .2s; border: 2px solid transparent; width: 120px; flex-shrink: 0; }
    .prestation-choice:hover { background: #fafafa; }
    .prestation-choice.selected { background: var(--green-light); border-color: var(--green); box-shadow: 0 2px 6px rgba(42,170,60,.18); }
    .car-top { width: 78px; height: 100px; }
    .car-top svg { width: 100%; height: 100%; }
    .prestation-choice .choice-label { font-size: 11px; font-weight: 700; color: var(--dark); text-align: center; line-height: 1.3; }
    .insurance-box { background: var(--orange); border-radius: 16px; padding: 20px 24px; margin-bottom: 28px; }
    .insurance-q { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
    .insurance-q svg { flex-shrink: 0; }
    .insurance-q span { font-size: 13px; font-weight: 800; color: #fff; }
    .insurance-btns { display: flex; gap: 10px; }
    /* Inactif : neutre (gris clair). Le vert est reservé au choix sélectionné. */
    .btn-ins { flex: 1; padding: 11px 16px; border-radius: 30px; border: 2px solid #e0e0e0; background: #fff; color: #555; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; text-align: center; transition: all .2s; }
    .btn-ins:hover { border-color: #bbb; color: #222; }
    /* Actif : vert (que ce soit OUI ou NON — vert = "c'est mon choix") */
    .btn-ins.active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 2px 6px rgba(42,170,60,.25); }
    .btn-ins.active:hover { background: #238a32; border-color: #238a32; color: #fff; }

    /* ========== ÉTAPE 2 ========== */
    .field-label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
    .field-label-center { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 10px; text-align: center; }
    .field-description { font-size: 13px; color: #666; margin: 24px 0 20px; text-align: center; line-height: 1.5; }
    .dropdown-wrap { position: relative; margin-bottom: 24px; }
    .dropdown-select { width: 100%; padding: 13px 44px 13px 20px; border-radius: 30px; border: 1.5px solid #e0e0e0; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #999; appearance: none; cursor: pointer; outline: none; transition: border-color .2s; }
    .dropdown-select:focus { border-color: var(--orange); }
    .dropdown-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
    .plate-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
    .plate-input { display: flex; align-items: stretch; border: 2px solid #ccc; border-radius: 6px; overflow: hidden; max-width: 300px; width: 100%; transition: border-color .2s; background: #fff; }
    .plate-input:focus-within { border-color: var(--orange); }
    .plate-eu { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #003399; padding: 8px 10px; flex-shrink: 0; gap: 2px; min-width: 36px; }
    .plate-eu-stars { display: flex; align-items: center; justify-content: center; }
    .plate-eu-f { color: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 800; line-height: 1; }
    .immat-input { flex: 1; border: none; padding: 16px 16px; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; text-align: center; letter-spacing: 3px; color: var(--dark); outline: none; text-transform: uppercase; background: transparent; }
    .immat-input::placeholder { color: #ccc; font-weight: 500; letter-spacing: 2px; }
    .info-notice { display: flex; gap: 10px; background: var(--orange-light); border-radius: 10px; padding: 16px 18px; margin-top: 4px; align-items: flex-start; }
    .info-notice-icon { flex-shrink: 0; margin-top: 1px; }
    .info-notice p { font-size: 11px; line-height: 1.6; color: #666; }

    /* ========== ÉTAPE 3 ========== */
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 28px; }
    .form-group { display: flex; flex-direction: column; }
    .form-group.full-width { grid-column: 1 / -1; }
    .form-group label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 12px; text-align: left; }
    .form-input { width: 100%; padding: 15px 18px; border-radius: 12px; border: none; background: var(--orange-light); color: var(--dark); font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 500; outline: none; transition: background .2s, box-shadow .2s; }
    .form-input::placeholder { color: #999; font-weight: 400; }
    .form-input:focus { box-shadow: 0 0 0 3px rgba(242,101,34,0.12); }

    /* ========== ÉTAPE 4 ========== */
    .step4-notice { font-size: 12px; color: #999; font-style: italic; margin-bottom: 24px; line-height: 1.5; text-align: center; }
    .date-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #bbb; margin-bottom: 16px; margin-top: 24px; }
    .date-label:first-of-type { margin-top: 0; }

    /* Conteneur flex : [flèche] [cartes] [flèche] — fonctionne sur TOUS écrans */
    .day-selector,
    .time-selector {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
    }

    /* Flèches navigation — toujours flex inline, jamais absolute */
    .day-arrow {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      min-width: 34px;
      min-height: 34px;
      padding: 0;
      aspect-ratio: 1;
      box-sizing: border-box;
      border: 1.5px solid #e0e0e0;
      border-radius: 50%;
      background: #fff;
      cursor: pointer;
      color: #999;
      font-size: 14px;
      font-weight: bold;
      line-height: 1;
      transition: all .2s;
      box-shadow: 0 2px 6px rgba(0,0,0,.06);
    }
    .day-arrow:hover:not(.arrow-disabled) {
      border-color: var(--orange);
      color: var(--orange);
      background: var(--orange-light);
      box-shadow: 0 3px 10px rgba(242,101,34,.15);
    }
    .day-arrow:active:not(.arrow-disabled) { transform: scale(0.9); }
    .day-arrow.arrow-disabled {
      opacity: 0.25;
      cursor: default;
      pointer-events: none;
    }

    /* Conteneur cartes (JOUR + HEURE) — prend tout l'espace restant */
    .day-cards-wrap,
    .time-cards-wrap {
      display: flex;
      gap: 8px;
      flex: 1;
      min-width: 0;
      overflow: hidden;
      padding: 4px 0;
    }

    /* Cartes JOUR */
    .day-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-width: 68px;
      height: 78px;
      border: 1.5px solid #e0e0e0;
      border-radius: 12px;
      padding: 6px 8px;
      cursor: pointer;
      transition: all .2s;
      background: #fff;
      flex-shrink: 0;
    }
    .day-card:hover { border-color: var(--green); box-shadow: 0 3px 10px rgba(42,170,60,.1); }
    .day-card.selected {
      border-color: var(--green);
      background: var(--green-light);
      box-shadow: 0 4px 12px rgba(42,170,60,.18);
    }
    .day-card.selected .day-name { color: var(--green-dark); }
    .day-card.selected .day-number { color: var(--green-dark); }
    .day-name { font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; margin-bottom: 3px; letter-spacing: .3px; }
    .day-number { font-size: 20px; font-weight: 900; color: var(--dark); line-height: 1; }

    /* Créneaux HEURE */
    .time-slot {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 66px;
      height: 66px;
      border: 1.5px solid #e0e0e0;
      border-radius: 50%;
      cursor: pointer;
      transition: all .2s;
      background: #fff;
      flex-shrink: 0;
    }
    .time-slot:hover { border-color: var(--green); box-shadow: 0 3px 10px rgba(42,170,60,.1); }
    .time-slot.selected {
      border-color: var(--green);
      background: var(--green-light);
      box-shadow: 0 4px 12px rgba(42,170,60,.2);
    }
    .time-slot.selected .time-text { color: var(--green-dark); font-weight: 800; }
    .time-icon { width: 15px; height: 15px; min-width: 15px; min-height: 15px; margin-bottom: 3px; flex-shrink: 0; }
    .time-text { font-size: 13px; font-weight: 700; color: var(--dark); }

    /* ========== BUTTONS ========== */
    .continuer-wrap { text-align: center; padding-top: 28px; width: 100%; max-width: 520px; margin: 0 auto; }
    .btn-continuer { display: inline-block; background: var(--orange); color: #fff; padding: 12px 29px; border-radius: 30px; border: none; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background .2s, box-shadow .2s; }
    .btn-continuer:hover { background: #d9551a; box-shadow: 0 6px 20px rgba(242,101,34,0.3); }

    /* ========== SUCCESS ========== */
    .success-message { display: none; text-align: left; padding: 44px 48px 48px; }
    .success-message.active { display: block; animation: fadeInStep .5s ease; }
    .success-message h2 { font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 8px; text-align: center; }
    .success-divider { width: 100%; height: 1px; background: #eee; margin: 16px 0 24px; }
    .success-message .success-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 24px; }
    .success-warning { background: var(--orange-light); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; display: flex; gap: 10px; align-items: flex-start; }
    .success-warning .warn-icon { flex-shrink: 0; font-size: 16px; }
    .success-warning p { font-size: 12px; color: #666; line-height: 1.6; }
    .success-phone-cta { font-size: 14px; color: var(--dark); margin-bottom: 16px; }
    .success-phone-cta svg { vertical-align: middle; margin-right: 4px; }
    .btn-phone-success { display: inline-block; background: var(--orange); color: #fff; padding: 12px 28px; border-radius: 30px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .2s; }
    .btn-phone-success:hover { background: #d9551a; }
    .success-retry { text-align: center; margin-top: 24px; }
    .success-retry button { background: none; border: none; cursor: pointer; color: #999; font-size: 20px; transition: color .2s; }
    .success-retry button:hover { color: var(--orange); }

    /* ========== FOOTER ========== */
    .footer { background: var(--dark); color: #fff; padding: 56px 56px 28px; }
    .footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-logo-text { font-size: 30px; font-weight: 900; font-style: italic; margin-bottom: 14px; }
    .footer-brand p { font-size: 13px; line-height: 1.6; opacity: 0.6; margin-bottom: 22px; max-width: 280px; }
    .btn-rdv-footer { display: inline-block; background: var(--orange); color: #fff; padding: 14px 26px; border-radius: 30px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
    .btn-rdv-footer:hover { background: #d9551a; }
    .footer-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul li a { font-size: 13px; opacity: 0.55; transition: opacity .2s; }
    .footer-col ul li a:hover { opacity: 1; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
    .footer-bottom .copyright { font-size: 12px; opacity: 0.4; }
    .footer-bottom-links { display: flex; gap: 28px; }
    .footer-bottom-links a { font-size: 12px; opacity: 0.45; transition: opacity .2s; }
    .footer-bottom-links a:hover { opacity: 1; }

    /* ========== ANIMATIONS ========== */
    .anim-fade-up { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
    .anim-fade-up.visible { opacity: 1; transform: translateY(0); }
    .anim-fade-up.delay-1 { transition-delay: .12s; }

    /* ========== TABLET ========== */
    @media (max-width: 1100px) {
      .header { padding: 10px 32px; }
      .header-nav { gap: 18px; }
      .header-nav a { font-size: 13px; }
      .hero h1 { font-size: 40px; }
      .hero-content { padding: 48px 36px 40px; }
      .hero-building { width: 55%; }
      .hero-sign { font-size: 18px; padding: 10px 28px; }
      .steps-bar { padding: 24px 36px; }
      .form-section { padding: 32px 36px 52px; }
      .form-card { padding: 36px 32px 40px; }
      .footer { padding: 48px 36px 24px; }
      .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
      .day-selector, .time-selector { gap: 8px; }
      .day-arrow { width: 30px; height: 30px; min-width: 30px; min-height: 30px; font-size: 13px; }
      .day-card { min-width: 62px; height: 72px; }
      .time-slot { width: 60px; height: 60px; }
      .time-text { font-size: 12px; }
    }

    /* ========== MOBILE ========== */
    @media (max-width: 768px) {
      .header { padding: 10px 20px; }
      .header-nav, .header-actions { display: none; }
      .burger { display: flex; }
      .logo-wrap img { width: 90px; height: 54px; }
      .hero { min-height: 260px; }
      .hero-content { padding: 36px 24px 28px; max-width: 100%; }
      .hero h1 { font-size: 28px; }
      .hero .hero-desc { font-size: 12px; }
      .hero-building { display: none; }
      .steps-bar { padding: 20px 20px; }
      .steps-inner { gap: 10px; }
      .step-dot { height: 4px; }
      .form-section { padding: 0 16px 44px; align-items: stretch; }
      .form-card { padding: 28px 28px 32px; border-radius: 18px; max-width: calc(100vw - 32px); width: auto; box-sizing: border-box; }
      .continuer-wrap { max-width: calc(100vw - 32px); }
      .form-step-label { font-size: 9px; }
      .form-card h2 { font-size: 17px; margin-bottom: 16px; }
      .form-grid { grid-template-columns: 1fr; gap: 16px; }
      .form-group label { font-size: 12px; }
      .field-label { font-size: 12px; }
      .field-label-center { font-size: 12px; }
      .field-description { font-size: 12px; }
      .plate-input { max-width: 100%; }
      .immat-input { font-size: 16px; letter-spacing: 2px; }
      .info-notice p { font-size: 10px; }
      .btn-continuer { padding: 12px 29px; font-size: 13px; }
      .footer { padding: 36px 20px 20px; }
      .footer-main { grid-template-columns: 1fr; gap: 28px; }
      .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
      .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
      .date-label { font-size: 10px; margin-bottom: 12px; margin-top: 18px; }
      .step4-notice { font-size: 11px; margin-bottom: 18px; }
      /* Mobile : flex inline (flèches + cartes) — s'adapte à toute largeur */
      .day-selector, .time-selector { gap: 6px; margin-bottom: 18px; }
      .day-arrow { width: 26px; height: 26px; min-width: 26px; min-height: 26px; font-size: 11px; }
      .day-cards-wrap, .time-cards-wrap { gap: 6px; padding: 3px 0; }
      .day-card { min-width: 52px; height: 62px; border-radius: 10px; padding: 5px 4px; }
      .day-number { font-size: 16px; }
      .day-name { font-size: 8px; letter-spacing: .2px; }
      .time-slot { width: 52px; height: 52px; }
      .time-text { font-size: 11px; }
      .time-icon { width: 12px; height: 12px; margin-bottom: 2px; }
      .prestation-choices { gap: 8px; flex-wrap: wrap; }
      .prestation-choice { width: 100px; }
      .car-top { width: 60px; height: 78px; }
      .prestation-choice .choice-label { font-size: 10px; }
      .success-message { padding: 28px 22px 32px !important; }
      .success-text { font-size: 13px !important; }
      .success-warning { padding: 12px 14px; }
      .success-warning p { font-size: 11px; }
      .success-phone-cta { font-size: 13px; }
      .btn-phone-success { font-size: 13px; padding: 11px 24px; }
    }

    /* ========== 600px ========== */
    @media (max-width: 600px) {
      .form-section { padding: 0 14px 40px; }
      .form-card { max-width: calc(100vw - 28px); padding: 26px 20px 30px; }
      .continuer-wrap { max-width: calc(100vw - 28px); }
    }

    /* ========== 500px ========== */
    @media (max-width: 500px) {
      .form-section { padding: 0 10px 38px; }
      .form-card { max-width: calc(100vw - 20px); padding: 24px 16px 28px; border-radius: 16px; }
      .continuer-wrap { max-width: calc(100vw - 20px); }
    }

    /* ========== 450px ========== */
    @media (max-width: 450px) {
      .form-section { padding: 0 8px 36px; }
      .form-card { max-width: calc(100vw - 16px); padding: 22px 14px 26px; }
      .continuer-wrap { max-width: calc(100vw - 16px); }
    }

    /* ========== SMALL MOBILE ========== */
    @media (max-width: 420px) {
      .header { padding: 8px 16px; }
      .logo-wrap img { width: 80px; height: 48px; }
      .hero { min-height: 220px; }
      .hero-content { padding: 28px 18px 22px; }
      .hero h1 { font-size: 24px; }
      .form-section { padding: 0 6px 34px; }
      .form-card { max-width: calc(100vw - 12px); padding: 22px 12px 26px; }
      .continuer-wrap { max-width: calc(100vw - 12px); }
      .form-card h2 { font-size: 16px; }
      .form-group label { font-size: 11px; }
      .form-input { font-size: 13px; padding: 12px 14px; }
      .immat-input { font-size: 14px; letter-spacing: 1px; }
      .day-selector, .time-selector { gap: 5px; margin-bottom: 14px; }
      .day-arrow { width: 22px; height: 22px; min-width: 22px; min-height: 22px; font-size: 9px; }
      .day-cards-wrap, .time-cards-wrap { gap: 4px; }
      .day-card { min-width: 44px; height: 54px; padding: 4px 3px; border-radius: 8px; }
      .day-number { font-size: 14px; }
      .day-name { font-size: 7px; letter-spacing: 0; }
      .day-closed-tag { font-size: 6px; padding: 1px 3px; }
      .time-slot { width: 44px; height: 44px; }
      .time-text { font-size: 9px; }
      .time-icon { width: 10px; height: 10px; margin-bottom: 1px; }
      .prestation-choice { width: 90px; padding: 8px 6px; }
      .car-top { width: 52px; height: 68px; }
      .prestation-choice .choice-label { font-size: 9px; }
      .success-message { padding: 24px 16px 28px !important; }
      .success-message h2 { font-size: 17px; }
      .success-text { font-size: 12px !important; }
      .success-warning p { font-size: 10px; }
      .success-phone-cta { font-size: 12px; }
      .btn-phone-success { font-size: 12px; padding: 10px 20px; width: 100%; text-align: center; }
    }

    /* ========== TRÈS PETIT MOBILE (< 380px) ========== */
    @media (max-width: 380px) {
      .form-section { padding: 0 4px 30px; }
      .form-card { max-width: calc(100vw - 8px); padding: 18px 8px 22px; border-radius: 14px; }
      .continuer-wrap { max-width: calc(100vw - 8px); }
      .form-card h2 { font-size: 15px; }
      .btn-continuer { padding: 12px 29px; font-size: 12px; }
      .day-selector, .time-selector { gap: 4px; margin-bottom: 12px; }
      .day-arrow { width: 20px; height: 20px; min-width: 20px; min-height: 20px; font-size: 8px; border-width: 1px; }
      .day-cards-wrap, .time-cards-wrap { gap: 3px; }
      .day-card { min-width: 38px; height: 48px; padding: 3px 2px; border-radius: 7px; border-width: 1px; }
      .day-number { font-size: 13px; }
      .day-name { font-size: 6px; letter-spacing: 0; margin-bottom: 1px; }
      .day-closed-tag { font-size: 5px; padding: 0 2px; }
      .time-slot { width: 38px; height: 38px; border-width: 1px; }
      .time-text { font-size: 8px; }
      .time-icon { width: 9px; height: 9px; margin-bottom: 1px; }
      .date-label { font-size: 9px; letter-spacing: 1px; margin-bottom: 10px; margin-top: 14px; }
      .step4-notice { font-size: 10px; }
      .prestation-choices { gap: 4px; }
      .prestation-choice { width: 80px; padding: 6px 4px; }
      .car-top { width: 46px; height: 60px; }
      .prestation-choice .choice-label { font-size: 8px; }
      .phone-input { font-size: 13px; padding: 12px 16px; }
      .dropdown-select { font-size: 12px; padding: 11px 36px 11px 16px; }
      .steps-inner { gap: 6px; }
      .step-label { font-size: 9px; padding: 5px 10px; }
      .validation-msg { font-size: 11px; padding: 8px 10px; }
      .form-input { font-size: 12px; padding: 10px 12px; border-radius: 10px; }
      .form-group label { font-size: 10px; margin-bottom: 8px; }
    }

    /* ========== 350px ========== */
    @media (max-width: 350px) {
      .form-section { padding: 0 3px 28px; }
      .form-card { max-width: calc(100vw - 6px); padding: 16px 7px 20px; border-radius: 12px; }
      .continuer-wrap { max-width: calc(100vw - 6px); }
      .form-card h2 { font-size: 14px; }
      .btn-continuer { padding: 12px 29px; font-size: 10px; }
      .day-arrow { width: 18px; height: 18px; font-size: 7px; }
      .day-card { min-width: 34px; height: 44px; padding: 2px 2px; border-radius: 6px; }
      .day-number { font-size: 12px; }
      .day-name { font-size: 5px; }
      .time-slot { width: 34px; height: 34px; }
      .time-text { font-size: 7px; }
      .time-icon { width: 8px; height: 8px; }
      .steps-inner { gap: 4px; }
      .step-label { font-size: 8px; padding: 4px 8px; }
      .validation-msg { font-size: 10px; padding: 6px 8px; }
      .form-input { font-size: 11px; padding: 9px 10px; }
      .form-group label { font-size: 9px; }
      .phone-input { font-size: 12px; padding: 10px 14px; }
      .dropdown-select { font-size: 11px; padding: 10px 30px 10px 12px; }
      .prestation-choice { width: 72px; padding: 5px 3px; }
      .car-top { width: 40px; height: 54px; }
      .prestation-choice .choice-label { font-size: 7px; }
    }

    /* ========== 320px ========== */
    @media (max-width: 320px) {
      .form-section { padding: 0 2px 26px; }
      .form-card { max-width: calc(100vw - 4px); padding: 14px 6px 18px; }
      .continuer-wrap { max-width: calc(100vw - 4px); }
      .form-card h2 { font-size: 13px; }
      .day-card { min-width: 30px; height: 40px; }
      .day-number { font-size: 11px; }
      .time-slot { width: 30px; height: 30px; }
      .time-text { font-size: 7px; }
      .step-label { font-size: 7px; padding: 3px 6px; }
    }

    /* ========== 300px ========== */
    @media (max-width: 300px) {
      .form-section { padding: 0 1px 24px; }
      .form-card { max-width: calc(100vw - 2px); padding: 12px 5px 16px; border-radius: 10px; }
      .continuer-wrap { max-width: calc(100vw - 2px); }
      .form-card h2 { font-size: 12px; margin-bottom: 10px; }
      .form-step-label { font-size: 7px; }
      .day-selector, .time-selector { gap: 2px; margin-bottom: 10px; }
      .day-arrow { width: 16px; height: 16px; font-size: 6px; }
      .day-card { min-width: 28px; height: 36px; border-radius: 5px; }
      .day-number { font-size: 10px; }
      .day-name { font-size: 5px; }
      .time-slot { width: 28px; height: 28px; }
      .time-text { font-size: 6px; }
      .btn-continuer { padding: 12px 29px; font-size: 9px; }
      .phone-input { font-size: 11px; padding: 8px 10px; }
    }

/* ===== Notice centre fermé aux RDV ===== */
.rdv-closed-notice {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 0 20px;
}
.rdv-closed-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff4e6;
  border: 1px solid #f3c48a;
  color: #8a4a08;
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
}
.form-section.rdv-disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.2);
}

/* ===== Erreurs serveur ===== */
.rdv-errors {
  max-width: 980px;
  margin: 20px auto 0;
  padding: 16px 20px;
  background: #ffebeb;
  border: 1px solid #f3a0a0;
  color: #8a1212;
  border-radius: 10px;
  font-size: 14px;
}
.rdv-errors ul { margin: 8px 0 0 18px; }

/* ===== Succès flash ===== */
.rdv-success-flash {
  max-width: 980px;
  margin: 20px auto 0;
  padding: 16px 20px;
  background: #e7f8ec;
  border: 1px solid #7ccb8e;
  color: #155d2d;
  border-radius: 10px;
  font-size: 15px;
}

/* ===== Téléphone : invalide ===== */
.phone-input.is-invalid {
  border-color: #d9534f !important;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.phone-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}
.phone-hint.is-error { color: #d9534f; }

/* ===== Jours désactivés / complets ===== */
.day-card.disabled {
  opacity: 1;
  cursor: not-allowed;
  position: relative;
  background: #f0f0f0 !important;
  border-color: #ddd !important;
}
.day-card.disabled .day-name,
.day-card.disabled .day-number {
  color: #b0b0b0 !important;
}
.day-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: #ddd !important;
}
.day-closed-tag {
  font-size: 8px;
  text-transform: uppercase;
  color: #c0392b;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: 0.3px;
  background: #ffeaea;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.3;
}

/* ===== Créneaux désactivés ===== */
.time-slot.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f4f4f4 !important;
}
.time-slot.disabled:hover {
  transform: none;
  border-color: #ececec;
  box-shadow: none;
}

/* ===== Créneaux passés (heure < maintenant) ===== */
.time-slot.past {
  opacity: 0.35;
  background: #f0f0f0 !important;
  border-color: #e0e0e0 !important;
}
.time-slot.past .time-text {
  text-decoration: line-through;
  color: #bbb;
}
.time-slot.past .time-icon {
  opacity: 0.4;
}
.time-empty {
  padding: 18px 14px;
  color: #888;
  font-style: italic;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

/* ===== Message validation inline ===== */
.validation-msg {
  display: none;
  align-items: center;
  gap: 8px;
  background: #fff4f4;
  border: 1px solid #f3a0a0;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 12px;
  margin-bottom: 16px;
  animation: shakeMsg .4s ease;
}
.validation-msg {
  position: relative;
}
.validation-msg.show { display: flex; }
.validation-msg svg { flex-shrink: 0; }
.validation-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: #c0392b;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  opacity: .6;
  transition: opacity .2s;
}
.validation-close:hover { opacity: 1; }
@keyframes shakeMsg {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* =================================================================
   SELECT2 — habillage cohérent avec .dropdown-select du formulaire
   Chargé APRES le CSS Select2 du CDN → gagne naturellement en cascade.
   On scope sur .select2-container pour ne toucher que nos instances.
   ================================================================= */
.select2-container .select2-selection--single {
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 30px !important;
  border: 1.5px solid #e0e0e0 !important;
  background: #fff !important;
  font-family: 'Montserrat', sans-serif;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  outline: none;
}
.select2-container .select2-selection--single:hover { border-color: #bbb !important; }
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(242,101,34,.10) !important;
}
/* Texte sélectionné / placeholder */
.select2-container .select2-selection--single .select2-selection__rendered {
  flex: 1;
  line-height: 1.3 !important;
  padding: 0 28px 0 0 !important;
  margin: 0 !important;
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select2-container .select2-selection--single .select2-selection__placeholder {
  color: #999 !important;
  font-weight: 500 !important;
  font-style: normal !important;
}
/* Flèche : on la repositionne proprement, pas de "boîte" autour */
.select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  width: 22px !important;
  top: 0 !important;
  right: 16px !important;
  background: transparent !important;
  border: 0 !important;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: #999 transparent transparent transparent !important;
  border-style: solid !important;
  border-width: 6px 5px 0 5px !important;
  left: 50% !important;
  margin-left: -5px !important;
  margin-top: -3px !important;
}
.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--orange) transparent !important;
  border-width: 0 5px 6px 5px !important;
}
/* Croix "clear" */
.select2-container .select2-selection--single .select2-selection__clear {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb !important;
  font-weight: 700;
  font-size: 16px;
  background: transparent !important;
  border: 0 !important;
  padding: 0 4px !important;
  margin: 0 !important;
  height: auto !important;
  cursor: pointer;
}
.select2-container .select2-selection--single .select2-selection__clear:hover { color: var(--orange) !important; }

/* Panneau déroulant */
.select2-container--default .select2-dropdown {
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4px;
}
.select2-container--default .select2-dropdown--above { margin-top: -4px; }
.select2-container--default .select2-search--dropdown {
  padding: 12px 12px 8px;
  background: #fff;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,.10);
}
.select2-container--default .select2-results__option {
  padding: 10px 18px;
  font-size: 12.5px;
  color: #333;
  line-height: 1.4;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--orange-light) !important;
  color: var(--orange) !important;
  font-weight: 700;
}
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected {
  background: #fafafa;
  color: var(--dark);
  font-weight: 700;
}
.select2-results__options { max-height: 280px; }

/* Le wrap maison gardait une flèche SVG : quand Select2 est actif on la masque */
.dropdown-wrap .select2-container { width: 100% !important; }
.dropdown-wrap:has(.select2-hidden-accessible) .dropdown-arrow { display: none !important; }

/* =================================================================
   PAGE CONFIRMATION DE RDV  (/rendez-vous/confirmation)
   Tailles de texte alignées sur le reste du site (13/11/10 px max)
   ================================================================= */
.confirmation-section {
  background: #f7f7f8;
  padding: 32px 20px 52px;
}
.confirmation-wrap {
  max-width: 880px;
  margin: 0 auto;
}

/* Encart succès */
.confirm-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--green);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 3px 10px rgba(42,170,60,.08);
  margin-bottom: 18px;
}
.confirm-success-icon { flex-shrink: 0; }
.confirm-success-icon svg { width: 42px; height: 42px; }
.confirm-success-text h2 {
  margin: 0 0 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.confirm-success-text p {
  margin: 0;
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

/* Bandeau créneau */
.confirm-slot-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #F26522 0%, #d9531a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
  box-shadow: 0 3px 10px rgba(242,101,34,.22);
}
.confirm-slot-ico {
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 8px;
  display: flex;
}
.confirm-slot-ico svg { width: 22px; height: 22px; }
.confirm-slot-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: .85;
  margin-bottom: 2px;
}
.confirm-slot-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .1px;
}

/* Grille des cartes récap */
.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.confirm-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.confirm-card-wide { grid-column: 1 / -1; }
.confirm-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.confirm-card-head svg { width: 15px; height: 15px; }
.confirm-card-head h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: .5px;
}
.confirm-card-body { display: flex; flex-direction: column; gap: 11px; }
.confirm-grid-inner { flex-direction: row; flex-wrap: wrap; gap: 12px 26px; }
.confirm-grid-inner .confirm-line { flex: 1 1 45%; min-width: 170px; }

.confirm-line { display: flex; flex-direction: column; gap: 3px; }
.confirm-k {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: .5px;
}
.confirm-v {
  font-size: 13.5px;
  font-weight: 500;
  color: #222;
  line-height: 1.45;
  word-break: break-word;
}
.confirm-v strong { font-weight: 700; }
.confirm-v a { color: var(--orange); text-decoration: none; font-weight: 600; }
.confirm-v a:hover { text-decoration: underline; }

.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  vertical-align: middle;
}
.pill-green { background: var(--green-light); color: var(--green-dark); border: 1px solid var(--green); }
.pill-grey  { background: #f1f1f1; color: #666; border: 1px solid #ddd; }

/* Notice infos pratiques */
.confirm-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff7ec;
  border: 1px solid #f5d5a8;
  border-left: 3px solid #F26522;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 11px;
  color: #5b3a12;
  line-height: 1.55;
}
.confirm-notice svg { flex-shrink: 0; margin-top: 1px; width: 16px; height: 16px; }
.confirm-notice strong { font-size: 11px; }
.confirm-notice ul {
  margin: 4px 0 0;
  padding-left: 16px;
}
.confirm-notice li + li { margin-top: 2px; }

/* Actions */
.confirm-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 3px 10px rgba(242,101,34,.22);
}
.btn-primary:hover { background: #d9531a; transform: translateY(-1px); }
.btn-ghost {
  background: #fff;
  color: #555;
  border-color: #ddd;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* Responsive */
@media (max-width: 720px) {
  .confirmation-section { padding: 22px 14px 40px; }
  .confirm-grid { grid-template-columns: 1fr; }
  .confirm-slot-value { font-size: 13px; }
  .confirm-success-text h2 { font-size: 13px; }
  .confirm-actions { flex-direction: column-reverse; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; }
}
