/* Inscription PlanningPro : parcours en 5 étapes, récapitulatif, offre « changement de logiciel » */
:root {
    --primary: #2563eb; --primary-hover: #1d4ed8; --primary-soft: rgba(37, 99, 235, 0.08); --primary-line: rgba(37, 99, 235, 0.25);
    --primary-glow: rgba(37, 99, 235, 0.28);
    --accent: #059669; --accent-soft: rgba(5, 150, 105, 0.10);
    --violet: #7c3aed; --violet-soft: rgba(124, 58, 237, 0.10);
    --danger: #dc2626; --danger-soft: rgba(220, 38, 38, 0.08);
    --alerte: #d97706;
    --bg-main: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9;
    --text-main: #0f172a; --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.09); --border-strong: rgba(15, 23, 42, 0.16);
    --input-bg: #ffffff;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 50px -24px rgba(15, 23, 42, 0.25);
    --halo-1: rgba(37, 99, 235, 0.10); --halo-2: rgba(5, 150, 105, 0.07);
    --r: 14px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html.dark-mode {
    --primary: #3b82f6; --primary-hover: #60a5fa; --primary-soft: rgba(59, 130, 246, 0.13); --primary-line: rgba(59, 130, 246, 0.35);
    --primary-glow: rgba(59, 130, 246, 0.35);
    --accent: #10b981; --accent-soft: rgba(16, 185, 129, 0.13);
    --violet: #a78bfa; --violet-soft: rgba(167, 139, 250, 0.14);
    --danger: #f87171; --danger-soft: rgba(248, 113, 113, 0.12);
    --alerte: #fbbf24;
    --bg-main: #0b1120; --surface: #131c2e; --surface-2: #1a2438;
    --text-main: #f1f5f9; --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.16);
    --input-bg: #0f182b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -24px rgba(0, 0, 0, 0.75);
    --halo-1: rgba(59, 130, 246, 0.16); --halo-2: rgba(16, 185, 129, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 6% 4%, var(--halo-1) 0%, transparent 34%), radial-gradient(circle at 96% 30%, var(--halo-2) 0%, transparent 36%);
    background-repeat: no-repeat; background-attachment: fixed;
    color: var(--text-main); line-height: 1.55; font-size: 16px; min-height: 100vh;
    -webkit-font-smoothing: antialiased; transition: background-color .3s ease, color .3s ease;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- En-tête ---------- */
.haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px); }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-main); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.marque strong { color: var(--primary); font-weight: 900; }
.marque img { border-radius: 9px; }
.haut-actions { display: flex; align-items: center; gap: 10px; }
.lien-discret { color: var(--text-muted); font-weight: 800; text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 10px; }
.lien-discret:hover { color: var(--primary); background: var(--primary-soft); }
.icone-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); }
.icone-btn .fa-sun { display: none; }
html.dark-mode .icone-btn .fa-sun { display: inline-block; }
html.dark-mode .icone-btn .fa-moon { display: none; }

/* ---------- Mise en page ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 60px; }
.grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.colonne-form { background: var(--surface); border: 1px solid var(--border-color); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 40px); min-width: 0; }
.intro h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 900; margin-bottom: 6px; }
.intro p { color: var(--text-muted); font-weight: 600; margin-bottom: 22px; }
.intro p strong { color: var(--text-main); }

/* ---------- Étapes ---------- */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 24px; counter-reset: e; }
.etapes li button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: none; border: 0; cursor: default; padding: 0; text-align: left; }
.etapes li button::before { content: ''; display: block; width: 100%; height: 5px; border-radius: 99px; background: var(--surface-2); transition: background .3s var(--ease); }
.etapes .num { display: none; }
.etapes .lib { font-size: .78rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.etapes li.fait button { cursor: pointer; }
.etapes li.fait button::before { background: var(--accent); }
.etapes li.fait .lib { color: var(--text-main); }
.etapes li.actif button::before { background: var(--primary); }
.etapes li.actif .lib { color: var(--primary); }

.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; font-size: .92rem;
    background: var(--danger-soft); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.flash.flash-info { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-line); }
.flash i { margin-top: 3px; }

/* ---------- Formulaire ---------- */
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.etape { border: 0; min-width: 0; animation: apparition .35s var(--ease); }
@keyframes apparition { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
legend { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; padding: 0; }
legend i { color: var(--primary); font-size: 1.05rem; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); display: inline-flex; align-items: center; justify-content: center; }
.aide-etape { color: var(--text-muted); font-weight: 600; margin-bottom: 20px; font-size: .95rem; }
.aide-etape strong { color: var(--text-main); }

.ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ligne-cp { grid-template-columns: 160px 1fr; }
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; position: relative; }
.champ > label, .etiquette { font-weight: 800; font-size: .88rem; }
.facult { font-weight: 600; color: var(--text-muted); font-size: .8rem; margin-left: 4px; }
.champ input[type=text], .champ input[type=email], .champ input[type=tel], .champ input[type=password], .champ input[type=date], .champ input[type=number], .champ select {
    width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--input-bg);
    font-size: 1rem; font-weight: 700; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.champ select { cursor: pointer; }
.champ input::placeholder { color: var(--text-muted); opacity: .55; font-weight: 600; }
.champ input:focus, .champ select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.champ input.invalide, .champ select.invalide, .tel.invalide, .depot.invalide { border-color: var(--danger) !important; box-shadow: 0 0 0 4px var(--danger-soft); }
.champ input.valide { border-color: color-mix(in srgb, var(--accent) 60%, var(--border-strong)); }
.champ input[readonly] { background: var(--surface-2); }
html.dark-mode input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important; -webkit-text-fill-color: var(--text-main) !important; caret-color: var(--text-main); }
.majuscules { text-transform: uppercase; }
.erreur { color: var(--danger); font-weight: 700; font-size: .82rem; min-height: 0; }
.erreur:empty { display: none; }
.erreur::before { content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 6px; }
.note { color: var(--text-muted); font-size: .82rem; font-weight: 600; line-height: 1.45; }
.note i { margin-right: 4px; }
.note.centre { text-align: center; margin-top: 14px; }

.tel { display: flex; align-items: stretch; border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--input-bg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tel:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tel-pays { display: flex; align-items: center; padding: 0 12px; font-weight: 800; color: var(--text-muted); border-right: 1.5px solid var(--border-color); background: var(--surface-2); white-space: nowrap; font-size: .92rem; }
.champ .tel input { border: 0 !important; box-shadow: none !important; border-radius: 0; }

.ligne-bouton { display: flex; gap: 8px; }
.ligne-bouton input { flex: 1; min-width: 0; }
.mdp { position: relative; }
.mdp input { padding-right: 46px !important; }
.oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--text-muted); cursor: pointer; border-radius: 9px; }
.oeil:hover { color: var(--primary); background: var(--primary-soft); }
.regles { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.regles li { font-size: .76rem; font-weight: 800; color: var(--text-muted); background: var(--surface-2); border-radius: 99px; padding: 3px 9px; transition: all .2s ease; }
.regles li::before { content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 5px; opacity: .6; }
.regles li.ok { color: var(--accent); background: var(--accent-soft); }
.regles li.ok::before { content: '\f00c'; opacity: 1; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
    font-weight: 800; font-size: .95rem; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn-p { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px var(--primary-glow); }
.btn-p:hover { background: var(--primary-hover); }
.btn-ok { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 60%, transparent); min-width: 250px; }
.btn-ok:hover { filter: brightness(1.06); }
.btn-g { background: transparent; border-color: var(--border-strong); color: var(--text-muted); }
.btn-g:hover { color: var(--text-main); border-color: var(--text-muted); }
.btn-s { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-line); }
.btn-s:hover { background: var(--primary); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.lien { background: none; border: 0; color: var(--primary); font-weight: 800; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.lien:disabled { color: var(--text-muted); cursor: default; text-decoration: none; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--border-color); }

/* ---------- Encarts ---------- */
.encart { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-top: 10px; font-size: .9rem; }
.encart > i:first-child { font-size: 1.3rem; margin-top: 2px; }
.encart div { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.encart span { color: var(--text-muted); font-weight: 600; }
.encart-attente { background: var(--primary-soft); border: 1px dashed var(--primary-line); }
.encart-attente > i:first-child, .encart-attente .roue { color: var(--primary); }
.encart-ok { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.encart-ok > i:first-child { color: var(--accent); }
.encart-entreprise { background: var(--surface-2); border: 1px solid var(--border-color); margin: -4px 0 16px; }
.encart-entreprise > i:first-child { color: var(--accent); }
.encart-entreprise.attention > i:first-child { color: var(--alerte); }
.encart-entreprise .lien { align-self: flex-start; margin-top: 4px; }
.encart-mini { padding: 10px 14px; border-radius: 12px; background: var(--violet-soft); color: var(--text-main); margin: -6px 0 16px; }
.encart-mini i { color: var(--violet); }
.liens-attente { margin-top: 4px; }

/* ---------- Adresse (liste de suggestions accessible) ---------- */
.combo { position: relative; }
.combo-ic { position: absolute; left: 14px; top: 16px; color: var(--text-muted); pointer-events: none; }
.combo input { padding-left: 38px !important; }
.suggestions { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; list-style: none; background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: 14px; box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .45); overflow: hidden; max-height: 300px; overflow-y: auto; }
.suggestions li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; border-bottom: 1px solid var(--border-color); }
.suggestions li:last-child { border-bottom: 0; }
.suggestions li i { color: var(--primary); }
.suggestions li strong { display: block; font-weight: 800; }
.suggestions li span { color: var(--text-muted); font-size: .84rem; font-weight: 600; }
.suggestions li[aria-selected=true], .suggestions li:hover { background: var(--primary-soft); }
.suggestions .vide { cursor: default; color: var(--text-muted); font-weight: 600; font-size: .88rem; }

/* ---------- Choix (offre, formule) ---------- */
.choix-offre, .formules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.carte-choix { position: relative; cursor: pointer; display: block; }
.carte-choix input { position: absolute; opacity: 0; pointer-events: none; }
.carte-choix-corps { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--border-strong); background: var(--input-bg); transition: all .2s var(--ease); position: relative; }
.carte-choix-corps > i { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 4px; }
.carte-choix-corps strong { font-size: 1rem; font-weight: 900; }
.carte-choix-corps > span { color: var(--text-muted); font-size: .86rem; font-weight: 600; }
.carte-choix:hover .carte-choix-corps { border-color: var(--primary-line); }
.carte-choix input:checked + .carte-choix-corps { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); }
.carte-choix input:checked + .carte-choix-corps > i { color: var(--primary); }
.carte-choix input:focus-visible + .carte-choix-corps { outline: 2px solid var(--primary); outline-offset: 2px; }
.carte-choix-offre input:checked + .carte-choix-corps { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 0 0 3px var(--violet-soft); }
.carte-choix-offre input:checked + .carte-choix-corps > i { color: var(--violet); }
.pastille { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--violet); border-radius: 99px; padding: 3px 9px; }
.formule .prix { color: var(--text-main) !important; font-size: 1.25rem !important; font-weight: 900 !important; }
.formule .prix small { font-size: .78rem; color: var(--text-muted); font-weight: 700; }

.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { cursor: pointer; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--border-strong); background: var(--input-bg); font-weight: 800; font-size: .9rem; transition: all .2s ease; }
.puce:hover span { border-color: var(--violet); }
.puce input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.puce input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
#offre_concurrent_autre { margin-top: 8px; }

.estimation { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, var(--violet-soft), var(--primary-soft)); border: 1px solid color-mix(in srgb, var(--violet) 30%, transparent); margin-bottom: 18px; }
.estimation-chiffre { display: flex; align-items: center; gap: 8px; color: var(--violet); }
.estimation-chiffre strong { font-size: 2.6rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.estimation-chiffre span { font-weight: 900; font-size: .78rem; text-transform: uppercase; line-height: 1.2; }
.estimation-texte { font-size: .9rem; font-weight: 600; color: var(--text-main); }
.estimation-texte small { display: block; color: var(--text-muted); margin-top: 3px; }

.depot { position: relative; display: block; border: 2px dashed var(--border-strong); border-radius: 16px; background: var(--input-bg); cursor: pointer; transition: all .2s ease; }
.depot:hover, .depot.survol { border-color: var(--violet); background: var(--violet-soft); }
.depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.depot-vide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 16px; pointer-events: none; }
.depot-vide i { font-size: 1.8rem; color: var(--violet); margin-bottom: 4px; }
.depot-vide span { color: var(--text-muted); font-size: .84rem; font-weight: 600; max-width: 460px; }
.depot-plein { display: flex; align-items: center; gap: 14px; padding: 12px 14px; pointer-events: none; }
.depot-plein .lien { pointer-events: none; }
.depot-apercu { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 1.6rem; color: var(--danger); }
.depot-apercu img { width: 100%; height: 100%; object-fit: cover; }
.depot-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.depot-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.depot-info > span:not(.barre) { color: var(--text-muted); font-size: .82rem; font-weight: 700; }
.depot-info .ok { color: var(--accent) !important; }
.barre { height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.barre span { display: block; height: 100%; width: 0; background: var(--violet); transition: width .2s ease; }

.frise { background: var(--surface-2); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.frise-titre { font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px; }
.frise ol { list-style: none; display: flex; flex-direction: column; gap: 0; }
.frise li { display: flex; gap: 12px; position: relative; padding-bottom: 12px; }
.frise li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border-strong); }
.frise li > i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--violet); }
.frise li div { display: flex; flex-direction: column; font-size: .9rem; }
.frise li strong { font-weight: 800; }
.frise li span { color: var(--text-muted); font-weight: 600; font-size: .84rem; }
.frise-pied { font-size: .84rem; font-weight: 700; color: var(--text-main); border-top: 1px solid var(--border-color); padding-top: 10px; }
.frise-pied i { color: var(--primary); margin-right: 4px; }

.case { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border-color); background: var(--input-bg); margin-bottom: 10px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--text-muted); transition: border-color .2s; }
.case strong { color: var(--text-main); }
.case input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; }
.case input:disabled { cursor: not-allowed; }
.case:has(input:checked) { border-color: var(--primary-line); background: var(--primary-soft); color: var(--text-main); }
.case.invalide { border-color: var(--danger); }

/* ---------- Formule ---------- */
.compteur { display: flex; gap: 8px; }
.compteur button { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--input-bg); cursor: pointer; color: var(--text-main); }
.compteur button:hover { border-color: var(--primary); color: var(--primary); }
.champ .compteur input { text-align: center; font-size: 1.15rem; font-weight: 900; -moz-appearance: textfield; }
.compteur input::-webkit-inner-spin-button, .compteur input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#etatPromo.ok { color: var(--accent); }
#etatPromo.ko { color: var(--danger); }
/* Code de parrainage : encart discret, mis en valeur une fois le code reconnu */
.parrainage-champ { padding: 14px; border-radius: 14px; border: 1.5px dashed var(--border-strong); }
.parrainage-champ label i { color: var(--accent); margin-right: 4px; }
.parrainage-champ.valide { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
#etatParrainage.ok { color: var(--accent); }
#etatParrainage.ko { color: var(--danger); }
#rParrainage.oui { color: var(--accent); }

.addition { border: 1px solid var(--border-color); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 700; }
.addition .l { display: flex; justify-content: space-between; gap: 12px; color: var(--text-muted); }
.addition .l strong { color: var(--text-main); white-space: nowrap; }
.addition .l.remise, .addition .l.remise strong { color: var(--accent); }
.addition .l.offre, .addition .l.offre strong { color: var(--violet); }
.addition .total { border-top: 1px solid var(--border-strong); padding-top: 10px; margin-top: 2px; color: var(--text-main); font-weight: 900; font-size: 1rem; }
.addition .total strong { color: var(--primary); font-size: 1.2rem; }
.addition .calendrier { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--border-strong); padding-top: 10px; margin-top: 2px; }
.addition .calendrier div { display: flex; gap: 10px; align-items: baseline; color: var(--text-main); font-weight: 700; font-size: .86rem; }
.addition .calendrier time { color: var(--text-muted); min-width: 84px; font-weight: 800; }

.cgu { height: 210px; overflow-y: auto; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--input-bg); font-size: .86rem; color: var(--text-muted); line-height: 1.6; font-weight: 600; }
.cgu h3 { color: var(--primary); font-size: 1rem; font-weight: 900; margin: 16px 0 6px; }
.cgu h3:first-child { margin-top: 0; }
.cgu h4 { color: var(--text-main); font-size: .9rem; font-weight: 900; margin: 12px 0 4px; }
.cgu ul { padding-left: 18px; }
.cgu .fin-cgu { text-align: center; font-weight: 900; color: var(--primary); margin-top: 16px; }
#caseCgu { margin-top: 10px; }

/* ---------- Récapitulatif ---------- */
.recap { position: sticky; top: 20px; }
.recap-carte { background: var(--surface); border: 1px solid var(--border-color); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.recap-titre { font-weight: 900; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.recap-titre i { color: var(--primary); }
.recap-liste { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.recap-liste div { display: flex; flex-direction: column; gap: 1px; }
.recap-liste dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 900; color: var(--text-muted); }
.recap-liste dd { font-weight: 700; font-size: .9rem; word-break: break-word; }
.recap-liste dd.vide { color: var(--text-muted); font-weight: 600; }
#rOffre.oui { color: var(--violet); }
.recap-total { border-top: 1px solid var(--border-color); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.recap-total div { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--text-muted); }
.recap-total strong { color: var(--text-main); font-weight: 900; text-align: right; }
.recap-total div:first-child strong { color: var(--accent); }
.recap-garanties { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--text-muted); }
.recap-garanties i { color: var(--accent); margin-right: 6px; }
.recap-aide { margin-top: 14px; font-size: .84rem; font-weight: 700; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .grille { grid-template-columns: 1fr; }
    .recap { position: static; order: 2; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .haut { padding: 12px 16px; }
    .masque-mobile { display: none; }
    .page { padding: 0 10px 40px; }
    .colonne-form { border-radius: 20px; padding: 20px 16px; }
    .ligne-2, .ligne-cp, .choix-offre, .formules { grid-template-columns: 1fr; gap: 0 12px; }
    .choix-offre, .formules { gap: 10px; }
    .etapes { gap: 4px; }
    .etapes .lib { font-size: .62rem; letter-spacing: 0; }
    .ligne-bouton { flex-direction: column; }
    .ligne-bouton .btn { width: 100%; }
    .actions { flex-direction: column-reverse; align-items: stretch; }
    .actions .btn { width: 100%; }
    .actions > span:empty { display: none; }
    .btn-ok { min-width: 0; }
    .estimation { flex-direction: column; align-items: flex-start; gap: 8px; }
    .pastille { position: static; align-self: flex-start; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
