/* =====================================================================
   Atlas-groupe — Styles des sections (thème bordeaux + animations)
   ===================================================================== */

:root {
    --atlas-primary: #8A3340;
    --atlas-primary-dark: #6E2632;
    --atlas-primary-soft: #F6EEF0;
    --atlas-gold: #C9A24B;
    --atlas-gold-dark: #B08A38;
    --atlas-ink: #2B2226;
    --atlas-muted: #6c5a5e;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--atlas-ink);
}

h1, h2, h3, h4, h5, .atlas-font {
    font-family: 'Jost', sans-serif;
}

/* ---------- Boutons ---------- */
.atlas-btn-gold,
.atlas-btn-primary,
.atlas-btn-outline {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Jost', sans-serif; font-weight: 600;
    padding: .85rem 1.8rem; border-radius: 8px;
    text-decoration: none; border: 2px solid transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.atlas-btn-gold { background: var(--atlas-gold); color: #3a2d10; }
.atlas-btn-gold:hover { background: var(--atlas-gold-dark); color: #2a2009; }
.atlas-btn-primary { background: var(--atlas-primary); color: #fff; }
.atlas-btn-primary:hover { background: var(--atlas-primary-dark); color: #fff; }
.atlas-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.atlas-btn-outline:hover { background: #fff; color: var(--atlas-primary); border-color: #fff; }
.atlas-btn-gold svg, .atlas-btn-primary svg, .atlas-btn-outline svg { width: 18px; height: 18px; }

/* ---------- En-têtes de section ---------- */
.atlas-section { padding: 6rem 0; }
.section-head { max-width: 720px; }
.section-kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Jost', sans-serif; font-weight: 600; font-size: .8rem;
    letter-spacing: 3px; text-transform: uppercase; color: var(--atlas-gold-dark);
    margin-bottom: .8rem;
}
.section-kicker::before { content: ""; width: 28px; height: 2px; background: var(--atlas-gold); display: inline-block; }
.section-title { font-weight: 700; font-size: 2.3rem; color: var(--atlas-ink); line-height: 1.2; }
.section-text { color: var(--atlas-muted); font-size: 1.05rem; margin-top: 1rem; }

/* ---------- HERO ---------- */
.atlas-hero {
    position: relative; min-height: 88vh; display: flex; align-items: center;
    background: linear-gradient(90deg, rgba(46,15,21,.92) 0%, rgba(110,38,50,.78) 45%, rgba(110,38,50,.25) 100%),
                url('https://images.unsplash.com/photo-1776914579657-3396d13eb13e?auto=format&fit=crop&w=1920&q=70') center/cover no-repeat;
}
.atlas-hero-content { max-width: 640px; color: #fff; padding: 5rem 0; }
.atlas-hero .atlas-kicker {
    display: inline-block; font-family: 'Jost', sans-serif; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; font-size: .82rem;
    color: var(--atlas-gold); background: rgba(201,162,75,.12);
    border: 1px solid rgba(201,162,75,.45); padding: .45rem 1rem; border-radius: 40px;
}
.atlas-hero h1 { font-weight: 700; font-size: 3.3rem; line-height: 1.12; margin: 1.4rem 0 1.2rem; }
.atlas-hero p { font-size: 1.15rem; color: #f0e2e4; max-width: 540px; }
.atlas-hero .hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.atlas-badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.atlas-badge { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; color: #f3e7e9; }
.atlas-badge svg { width: 22px; height: 22px; color: var(--atlas-gold); flex: none; }

/* ---------- Bandeau "features" superposé ---------- */
.atlas-features { margin-top: -5.5rem; position: relative; z-index: 5; }
.feature-card {
    background: #fff; border-radius: 14px; padding: 2.2rem 1.8rem; height: 100%;
    box-shadow: 0 18px 40px rgba(46,15,21,.10);
    border-bottom: 3px solid transparent; transition: transform .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--atlas-gold); }
.feature-ic {
    width: 58px; height: 58px; border-radius: 14px; background: var(--atlas-primary-soft);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.feature-ic svg { width: 28px; height: 28px; color: var(--atlas-primary); }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.feature-card p { color: var(--atlas-muted); margin: 0; }

/* ---------- À propos ---------- */
.about-img-wrap { position: relative; border-radius: 18px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
    position: absolute; left: 1.5rem; bottom: 1.5rem; background: var(--atlas-primary);
    color: #fff; border-radius: 14px; padding: 1.1rem 1.4rem; text-align: center;
    box-shadow: 0 14px 30px rgba(46,15,21,.3);
}
.about-badge .num { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 2rem; color: var(--atlas-gold); line-height: 1; }
.about-badge .lbl { font-size: .85rem; display: block; margin-top: .25rem; }
.about-list { list-style: none; padding: 0; margin: 1.6rem 0; }
.about-list li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; font-weight: 500; }
.about-list svg { width: 22px; height: 22px; color: var(--atlas-gold); flex: none; }

/* ---------- Services ---------- */
.atlas-services { background: #faf6f7; }
.service-card {
    background: #fff; border-radius: 16px; padding: 2.4rem 2rem; height: 100%;
    border: 1px solid #efe3e6; transition: transform .3s ease, box-shadow .3s ease;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%;
    background: var(--atlas-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(46,15,21,.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-ic {
    width: 70px; height: 70px; border-radius: 50%; background: var(--atlas-primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
}
.service-ic svg { width: 34px; height: 34px; color: #fff; }
.service-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: .7rem; }
.service-card p { color: var(--atlas-muted); }
.service-more {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem;
    font-family: 'Jost', sans-serif; font-weight: 600; color: var(--atlas-primary); text-decoration: none;
}
.service-more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.service-more:hover svg { transform: translateX(4px); }

/* ---------- Compteurs ---------- */
.atlas-stats {
    background: linear-gradient(90deg, var(--atlas-primary-dark), var(--atlas-primary));
    padding: 4.5rem 0; color: #fff;
}
.stat-item { text-align: center; }
.stat-ic { width: 54px; height: 54px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.12); }
.stat-ic svg { width: 26px; height: 26px; color: var(--atlas-gold); }
.stat-num { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; }
.stat-num .suffix { color: var(--atlas-gold); }
.stat-label { font-size: .95rem; color: #f0dfe2; margin-top: .4rem; }

/* ---------- Processus ---------- */
.proc-step { text-align: center; position: relative; padding: 0 .5rem; }
.proc-num {
    width: 70px; height: 70px; margin: 0 auto 1.2rem; border-radius: 50%;
    background: #fff; border: 2px dashed var(--atlas-gold);
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.proc-num svg { width: 30px; height: 30px; color: var(--atlas-primary); }
.proc-step .step-no {
    position: absolute; top: -6px; right: calc(50% - 46px); width: 26px; height: 26px; border-radius: 50%;
    background: var(--atlas-primary); color: #fff; font-family: 'Jost', sans-serif; font-weight: 600;
    font-size: .85rem; display: flex; align-items: center; justify-content: center; z-index: 3;
}
.proc-step h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: .4rem; }
.proc-step p { color: var(--atlas-muted); font-size: .95rem; }
.proc-row { position: relative; }
.proc-row::before {
    content: ""; position: absolute; top: 35px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--atlas-gold) 0 8px, transparent 8px 16px); z-index: 1;
}
@media (max-width: 991.98px) { .proc-row::before { display: none; } .proc-step { margin-bottom: 2.5rem; } }

/* ---------- CTA ---------- */
.atlas-cta {
    background: linear-gradient(90deg, rgba(46,15,21,.93), rgba(110,38,50,.86)),
                url('https://images.unsplash.com/photo-1752159400890-d906038f1b35?auto=format&fit=crop&w=1600&q=70') center/cover fixed no-repeat;
    padding: 5rem 0; color: #fff;
}
.atlas-cta h2 { font-weight: 700; font-size: 2.4rem; }
.atlas-cta p { color: #f0e2e4; font-size: 1.1rem; margin-top: .6rem; }
.cta-phone { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: 'Jost', sans-serif;
    font-weight: 600; font-size: 1.4rem; text-decoration: none; }
.cta-phone svg { width: 26px; height: 26px; color: var(--atlas-gold); }

/* ---------- Témoignages ---------- */
.atlas-testimonials { background: #faf6f7; }
.testi-card { background: #fff; border-radius: 16px; padding: 2.2rem; border: 1px solid #efe3e6; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testi-stars svg { width: 20px; height: 20px; color: var(--atlas-gold); }
.testi-text { color: var(--atlas-ink); font-style: italic; line-height: 1.7; }
.testi-person { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.testi-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--atlas-primary-soft); }
.testi-name { font-family: 'Jost', sans-serif; font-weight: 600; }
.testi-role { color: var(--atlas-muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.atlas-footer { background: #2a1116; color: #d9c7cb; padding: 4.5rem 0 0; }
.atlas-footer h5 { color: #fff; font-weight: 600; font-size: 1.15rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .7rem; }
.atlas-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--atlas-gold); }
.atlas-footer a { color: #d9c7cb; text-decoration: none; transition: color .2s ease; }
.atlas-footer a:hover { color: var(--atlas-gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .35rem 0; display: flex; align-items: center; gap: .5rem; }
.footer-links svg { width: 14px; height: 14px; color: var(--atlas-gold); flex: none; }
.footer-brand .word-main { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: 2px; }
.footer-brand .word-sub { font-family: 'Jost', sans-serif; font-weight: 600; font-size: .6rem; letter-spacing: 5px; color: var(--atlas-gold); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-social a:hover { background: var(--atlas-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.5rem; padding: 1.4rem 0; font-size: .9rem; }

/* ---------- Back to top (bordeaux) ---------- */
.atlas-top {
    position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--atlas-primary); display: none; text-align: center; line-height: 46px;
    z-index: 99; box-shadow: 0 8px 20px rgba(46,15,21,.35);
}
.atlas-top svg { width: 22px; height: 22px; color: #fff; vertical-align: middle; }
.atlas-top:hover { background: var(--atlas-primary-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .atlas-hero h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.9rem; }
    .atlas-section { padding: 4rem 0; }
    .atlas-features { margin-top: 2rem; }
}

/* =====================================================================
   Pages internes — Bandeau de page + valeurs
   ===================================================================== */
.atlas-page-header {
    position: relative; padding: 7rem 0 4rem; text-align: center; color: #fff;
    background: linear-gradient(rgba(46,15,21,.9), rgba(110,38,50,.82)),
                url('https://images.unsplash.com/photo-1776914579657-3396d13eb13e?auto=format&fit=crop&w=1920&q=70') center/cover no-repeat;
}
.atlas-page-header h1 { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 2.9rem; }
.atlas-breadcrumb {
    display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; list-style: none;
    padding: 0; margin: 1rem 0 0; font-family: 'Jost', sans-serif; font-weight: 500; font-size: .95rem;
}
.atlas-breadcrumb a { color: #f0dfe2; text-decoration: none; }
.atlas-breadcrumb a:hover { color: var(--atlas-gold); }
.atlas-breadcrumb .sep { color: var(--atlas-gold); }
.atlas-breadcrumb .current { color: var(--atlas-gold); }

.value-card {
    background: #fff; border-radius: 16px; padding: 2.4rem 2rem; height: 100%;
    border: 1px solid #efe3e6; text-align: center; transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(46,15,21,.12); }
.value-ic {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.4rem; background: var(--atlas-primary-soft);
    display: flex; align-items: center; justify-content: center;
}
.value-ic svg { width: 34px; height: 34px; color: var(--atlas-primary); }
.value-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .6rem; }
.value-card p { color: var(--atlas-muted); margin: 0; }

@media (max-width: 991.98px) { .atlas-page-header h1 { font-size: 2.1rem; } }

/* =====================================================================
   FAQ — accordéon natif + carte d'aide
   ===================================================================== */
.faq-item { background: #fff; border: 1px solid #efe3e6; border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: border-color .25s ease; }
.faq-item[open] { border-color: var(--atlas-primary); box-shadow: 0 10px 30px rgba(46,15,21,.06); }
.faq-q {
    list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--atlas-ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { width: 20px; height: 20px; color: var(--atlas-primary); flex: none; transition: transform .25s ease; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--atlas-muted); line-height: 1.7; }

.faq-help { background: var(--atlas-primary); color: #fff; border-radius: 16px; padding: 2.2rem; position: sticky; top: 140px; }
.faq-help h3 { color: #fff; font-weight: 600; font-size: 1.35rem; margin-bottom: .6rem; }
.faq-help p { color: #f0e2e4; margin-bottom: 1.4rem; }
.faq-help .atlas-btn-outline { width: 100%; justify-content: center; margin-bottom: .9rem; }
.faq-help .phone { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none;
    font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1.25rem; }
.faq-help .phone svg { width: 22px; height: 22px; color: var(--atlas-gold); }
@media (max-width: 991.98px) { .faq-help { position: static; margin-top: 2rem; } }

/* =====================================================================
   Équipe — cartes membres
   ===================================================================== */
.team-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #efe3e6;
    transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(46,15,21,.12); }
.team-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center;
    gap: .5rem; padding: .9rem; background: linear-gradient(transparent, rgba(46,15,21,.78));
    opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a { width: 34px; height: 34px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center; }
.team-social svg { width: 16px; height: 16px; color: var(--atlas-primary); }
.team-social a:hover { background: var(--atlas-gold); }
.team-info { padding: 1.3rem; text-align: center; }
.team-info h3 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1.25rem; margin-bottom: .2rem; }
.team-info span { color: var(--atlas-gold-dark); font-family: 'Jost', sans-serif; font-weight: 500; font-size: .92rem; }

/* =====================================================================
   Simulateur / Formulaires
   ===================================================================== */
.atlas-form { background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(46,15,21,.08); padding: 2.5rem; }
.form-label-a { font-family: 'Jost', sans-serif; font-weight: 600; font-size: .92rem; color: var(--atlas-ink); margin-bottom: .4rem; display: block; }
.form-control-a {
    width: 100%; border: 1px solid #e3d4d7; border-radius: 10px; padding: .8rem 1rem; font-size: 16px;
    background: #fff; color: var(--atlas-ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control-a:focus { outline: none; border-color: var(--atlas-primary); box-shadow: 0 0 0 3px rgba(138,51,64,.12); }
select.form-control-a {
    appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%238A3340" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat; background-position: right 1rem center;
}
.form-divider { font-family: 'Jost', sans-serif; font-weight: 600; color: var(--atlas-primary);
    margin: 1.8rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--atlas-primary-soft); }

.range-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.range-val { font-family: 'Jost', sans-serif; font-weight: 700; color: var(--atlas-primary); font-size: 1.15rem; }
.range-a { width: 100%; height: 6px; border-radius: 6px; accent-color: var(--atlas-primary); cursor: pointer; }

.sim-estimate {
    background: linear-gradient(135deg, var(--atlas-primary-dark), var(--atlas-primary));
    color: #fff; border-radius: 18px; padding: 2.2rem; position: sticky; top: 140px;
}
.sim-estimate .lab { font-size: .95rem; color: #f0dfe2; }
.sim-estimate .big { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 2.8rem; line-height: 1.1; margin: .2rem 0 1.2rem; }
.sim-estimate .big .cur { color: var(--atlas-gold); }
.sim-line { display: flex; justify-content: space-between; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.sim-line span:last-child { font-family: 'Jost', sans-serif; font-weight: 600; }
.sim-note { font-size: .8rem; color: #e6cfd3; margin-top: 1rem; line-height: 1.5; }
@media (max-width: 991.98px) { .sim-estimate { position: static; margin-top: 2rem; } }

.sim-alert { border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1.8rem; display: flex; gap: .8rem; align-items: flex-start; }
.sim-alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.sim-alert h4 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1.05rem; margin: 0 0 .2rem; }
.sim-alert p { margin: 0; font-size: .95rem; }
.sim-alert-ok { background: #eaf6ec; color: #1e6b32; border: 1px solid #bfe3c6; }
.sim-alert-err { background: #fbeaec; color: #8a1f2c; border: 1px solid #f0c4ca; }
.atlas-form .atlas-btn-primary { width: 100%; justify-content: center; padding: 1rem; font-size: 1.05rem; }

/* =====================================================================
   Contact — cartes coordonnées + carte
   ===================================================================== */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #efe3e6;
    border-radius: 14px; padding: 1.3rem 1.4rem; height: 100%; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--atlas-primary-soft);
    display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .ic svg { width: 24px; height: 24px; color: var(--atlas-primary); }
.contact-card h4 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1rem; margin: 0 0 .25rem; }
.contact-card p, .contact-card a { color: var(--atlas-muted); margin: 0; text-decoration: none; font-size: .95rem; }
.contact-card a:hover { color: var(--atlas-primary); }
.contact-map { border-radius: 18px; overflow: hidden; border: 1px solid #efe3e6; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.form-textarea-a { min-height: 140px; resize: vertical; }

/* =====================================================================
   Anti-débordement horizontal (mobile)
   ===================================================================== */
html, body { overflow-x: hidden; max-width: 100%; }
img, iframe, video, table { max-width: 100%; }
h1, h2, h3, h4, .section-title, .atlas-hero h1 { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }

@media (max-width: 575.98px) {
    .atlas-hero h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.55rem; }
    .atlas-form { padding: 1.4rem; }
    .sim-estimate { padding: 1.6rem; }
    .atlas-page-header h1 { font-size: 1.8rem; }
    .atlas-cta h2 { font-size: 1.7rem; }
    .container, .container-fluid { overflow-x: hidden; }
}

/* =====================================================================
   Demande de crédit — Formulaire en étapes (wizard)
   ===================================================================== */

/* --- Indicateur d'étapes --- */
.wiz-steps {
    display: flex; list-style: none; padding: 0; margin: 0 0 1.6rem;
    counter-reset: none; gap: .4rem;
}
.wiz-steps li {
    flex: 1; display: flex; align-items: center; gap: .6rem;
    font-family: 'Jost', sans-serif; font-weight: 600; font-size: .92rem;
    color: #b9a6aa; padding: .2rem 0; position: relative; cursor: default;
}
.wiz-steps li .num {
    width: 34px; height: 34px; flex: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #efe3e6; color: #b08a92; font-size: .95rem;
    transition: background .25s ease, color .25s ease;
}
.wiz-steps li .txt { line-height: 1.2; }
.wiz-steps li:not(:last-child)::after {
    content: ""; flex: 1; height: 2px; background: #efe3e6; margin-left: .2rem;
}
.wiz-steps li.is-active { color: var(--atlas-primary); }
.wiz-steps li.is-active .num { background: var(--atlas-primary); color: #fff; }
.wiz-steps li.is-done { color: var(--atlas-gold-dark); cursor: pointer; }
.wiz-steps li.is-done .num { background: var(--atlas-gold); color: #fff; }
@media (max-width: 575.98px) {
    .wiz-steps li .txt { display: none; }
    .wiz-steps li { flex: none; }
    .wiz-steps li:not(:last-child)::after { width: 28px; flex: none; }
}

/* --- Panneaux d'étape --- */
.wiz-panel { display: none; animation: wizFade .35s ease; }
.wiz-panel.is-active { display: block; }
@keyframes wizFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-hint { color: var(--atlas-muted); font-size: .95rem; margin: -.4rem 0 1.2rem; }

/* --- Estimation en direct (étape 1) --- */
.wiz-estimate {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin-top: .4rem; padding: 1rem 1.3rem; border-radius: 12px;
    background: linear-gradient(135deg, var(--atlas-primary-dark), var(--atlas-primary)); color: #fff;
}
.wiz-estimate .lab { font-size: .95rem; color: #f0dfe2; }
.wiz-estimate .val { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 1.7rem; color: #fff; }

/* --- Navigation (boutons précédent / suivant) --- */
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.wiz-nav .atlas-btn-primary { width: auto; }
.atlas-btn-outline-a {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Jost', sans-serif; font-weight: 600;
    padding: .85rem 1.6rem; border-radius: 8px; cursor: pointer;
    background: #fff; color: var(--atlas-primary);
    border: 2px solid var(--atlas-primary);
    transition: background .25s ease, color .25s ease;
}
.atlas-btn-outline-a:hover { background: var(--atlas-primary-soft); }
.atlas-btn-outline-a svg { width: 18px; height: 18px; }

/* --- Champ facultatif & erreurs --- */
.opt { font-weight: 500; font-size: .82rem; color: #b9a6aa; }
.field-error { display: block; color: #b3261e; font-size: .82rem; margin-top: .35rem; min-height: 0; }
.form-control-a.is-invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,.12); }

/* --- Récapitulatif (étape 3) --- */
.wiz-recap {
    margin-top: 2rem; background: var(--atlas-primary-soft);
    border: 1px solid #efe3e6; border-radius: 14px; padding: 1.4rem 1.6rem;
}
.wiz-recap h4 { font-family: 'Jost', sans-serif; font-weight: 600; color: var(--atlas-primary); font-size: 1.15rem; margin: 0 0 .2rem; }
.wiz-recap-intro { color: var(--atlas-muted); font-size: .9rem; margin: 0 0 1rem; }
.wiz-recap dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 0; margin: 0; }
.wiz-recap dt { color: var(--atlas-muted); font-size: .9rem; padding: .55rem 1rem .55rem 0; border-top: 1px solid #e7d6da; }
.wiz-recap dd { color: var(--atlas-ink); font-size: .92rem; font-weight: 600; text-align: right; padding: .55rem 0; margin: 0; border-top: 1px solid #e7d6da; }
.wiz-recap dt:first-of-type, .wiz-recap dd:first-of-type { border-top: 0; }

/* --- Consentement RGPD --- */
.wiz-consent { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.4rem; cursor: pointer; }
.wiz-consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--atlas-primary); flex: none; cursor: pointer; }
.wiz-consent span { font-size: .9rem; color: var(--atlas-muted); line-height: 1.5; }

@media (max-width: 575.98px) {
    .wiz-nav { flex-direction: column-reverse; }
    .wiz-nav .atlas-btn-primary, .atlas-btn-outline-a { width: 100%; justify-content: center; }
    .wiz-recap dl { grid-template-columns: 1fr; }
    .wiz-recap dd { text-align: left; padding-top: 0; border-top: 0; }
    .wiz-recap dt { border-top: 1px solid #e7d6da; padding-bottom: .15rem; }
}
