:root {
      --navy:    #0D2240;
      --blue:    #1457C8;
      --sky:     #4A9FFF;
      --teal:    #0B7A75;
      --accent:  #FF6B35;
      --amber:   #F5A623;
      --green:   #16A34A;
      --light:   #F0F5FF;
      --cream:   #FAFAF7;
      --border:  #DDE6F5;
      --text:    #18263C;
      --muted:   #566880;
      --white:   #FFFFFF;
      --r:       16px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: 'Bricolage Grotesque', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

    /* ── NAV ── */
    nav {
      position: sticky; top: 0; z-index: 200;
      height: 64px; padding: 0 5%;
      display: flex; align-items: center; justify-content: space-between;
      background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .logo { font-size: 1.25rem; font-weight: 800; color: var(--navy); text-decoration: none; }
    .logo span { color: var(--blue); }
    .nav-links { display: flex; gap: 28px; align-items: center; }
    .nav-links a { font-size: .88rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
    .nav-links a:hover { color: var(--navy); }
    .nav-pill {
      background: var(--accent); color: var(--white);
      padding: 9px 22px; border-radius: 100px; font-size: .88rem; font-weight: 700;
      text-decoration: none; transition: opacity .2s;
    }
    .nav-pill:hover { opacity: .85; }

    /* ── hero-prev ── */
    .hero-prev {
      background: var(--navy);
      padding: 72px 5% 56px;
      display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start;
      position: relative; overflow: hidden;
    }
    .hero-prev::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 80% 50%, rgba(74,159,255,.12) 0%, transparent 60%),
                  radial-gradient(ellipse at 20% 80%, rgba(255,107,53,.08) 0%, transparent 50%);
      pointer-events: none;
    }
    .hero-prev-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.3);
      color: #FF9E7A; border-radius: 100px; padding: 5px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
      margin-bottom: 24px;
    }
    .hero-prev h1 {
      font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--white);
      line-height: 1.12; margin-bottom: 20px; letter-spacing: -.02em;
    }
    .hero-prev h1 .hl { color: var(--sky); }
    .hero-prev-lead { font-size: 1.05rem; color: #9BB4D4; line-height: 1.65; margin-bottom: 36px; max-width: 520px; }
    .hero-prev-lead strong { color: var(--white); }
    .hero-prev-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
    .pill-tag {
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
      color: #B8CCEE; border-radius: 100px; padding: 5px 14px; font-size: .78rem;
    }
    .hero-prev-trust { display: flex; align-items: center; gap: 20px; }
    .trust-item { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: #7A99BC; }
    .trust-item svg { color: var(--green); }

    /* ── DEVIS CARD ── */
    .devis-card {
      background: var(--white); border-radius: 20px;
      padding: 32px 28px; box-shadow: 0 32px 80px rgba(0,0,0,.4);
      position: relative; z-index: 1;
    }
    .devis-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--amber));
      border-radius: 20px 20px 0 0;
    }
    .dc-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
    .dc-sub { font-size: .83rem; color: var(--muted); margin-bottom: 24px; }
    .fg { margin-bottom: 13px; }
    .fg label { display: block; font-size: .81rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
    .fg input, .fg select {
      width: 100%; padding: 11px 14px;
      border: 1.5px solid var(--border); border-radius: 10px;
      font-family: 'Bricolage Grotesque', sans-serif; font-size: .9rem; color: var(--text);
      background: #F8FAFF; transition: border-color .2s;
      appearance: none; -webkit-appearance: none;
    }
    .fg input:focus, .fg select:focus { outline: none; border-color: var(--blue); background: var(--white); }
    .btn-devis {
      width: 100%; padding: 15px; border: none; border-radius: 12px;
      background: linear-gradient(135deg, var(--accent), #E55B28);
      color: var(--white); font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1rem; font-weight: 800; cursor: pointer;
      transition: transform .15s, box-shadow .2s;
      box-shadow: 0 6px 24px rgba(255,107,53,.35);
      margin-top: 6px;
    }
    .btn-devis:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(255,107,53,.45); }
    .btn-devis:active { transform: translateY(0); }
    .dc-mentions { text-align: center; font-size: .73rem; color: var(--muted); margin-top: 10px; }

    /* ── SUCCESS ── */
    #form-success { display: none; text-align: center; padding: 20px 0; }
    #form-success .big { font-size: 3.5rem; margin-bottom: 12px; }
    #form-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
    #form-success p { font-size: .88rem; color: var(--muted); }

    /* ── URGENCE BAND ── */
    .urgence {
      background: linear-gradient(90deg, #FFF4EE, #FFF8F0);
      border-left: 6px solid var(--accent);
      padding: 22px 5%; display: flex; align-items: center; gap: 20px;
    }
    .urgence .icon { font-size: 2.2rem; flex-shrink: 0; }
    .urgence strong { color: var(--navy); font-weight: 700; }
    .urgence p { font-size: .92rem; color: var(--muted); margin-top: 4px; }

    /* ── SECTIONS ── */
    .section { padding: 80px 5%; }
    .section.bg-light { background: var(--light); }
    .section.bg-cream { background: var(--cream); }
    .section.bg-navy { background: var(--navy); }
    .s-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
    .s-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.18; margin-bottom: 14px; letter-spacing: -.02em; }
    .s-title.white { color: var(--white); }
    .s-sub { font-size: 1rem; color: var(--muted); max-width: 620px; line-height: 1.65; }
    .s-sub.light { color: #8AABCF; }

    /* ── RÉPONSES RAPIDES ── */
    .quick-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 28px; }
    .qtab {
      padding: 8px 20px; border-radius: 100px;
      border: 1.5px solid var(--border); background: var(--white);
      font-size: .88rem; font-weight: 600; color: var(--muted);
      cursor: pointer; transition: all .2s;
    }
    .qtab.active, .qtab:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
    .quick-panels {}
    .qpanel { display: none; }
    .qpanel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .qcard {
      background: var(--white); border-radius: var(--r);
      border: 1.5px solid var(--border); padding: 26px 24px;
      transition: box-shadow .2s, border-color .2s;
    }
    .qcard:hover { box-shadow: 0 6px 24px rgba(20,87,200,.1); border-color: var(--sky); }
    .qcard-icon { font-size: 1.8rem; margin-bottom: 12px; }
    .qcard-title { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .qcard-text { font-size: .87rem; color: var(--muted); line-height: 1.6; }
    .qcard-amount { font-size: 1.4rem; font-weight: 800; color: var(--blue); margin-top: 12px; }

    /* ── GARANTIES ── */
    .garanties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
    .gcard {
      border-radius: var(--r); padding: 28px 24px;
      border: 1.5px solid var(--border); background: var(--white);
      position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
    }
    .gcard:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(20,87,200,.12); }
    .gcard::after {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    }
    .gcard.g1::after { background: var(--accent); }
    .gcard.g2::after { background: var(--blue); }
    .gcard.g3::after { background: var(--teal); }
    .gcard.g4::after { background: var(--amber); }
    .gcard.g5::after { background: #8B5CF6; }
    .gcard.g6::after { background: var(--green); }
    .g-icon { font-size: 2rem; margin-bottom: 16px; }
    .g-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
    .g-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
    .g-tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
    .g-tag.red { background: #FEE2E2; color: #DC2626; }
    .g-tag.blue { background: var(--light); color: var(--blue); }
    .g-tag.green { background: #DCFCE7; color: var(--green); }

    /* ── MADELIN ── */
    .madelin-wrap {
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
      margin-top: 48px;
    }
    .madelin-visual {
      background: var(--navy); border-radius: 20px; padding: 36px 32px;
      position: relative; overflow: hidden;
    }
    .madelin-visual::before {
      content: ''; position: absolute; top: -40px; right: -40px;
      width: 180px; height: 180px; border-radius: 50%;
      background: radial-gradient(circle, rgba(74,159,255,.2) 0%, transparent 70%);
    }
    .mv-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--sky); margin-bottom: 16px; }
    .mv-amount { font-size: 3.5rem; font-weight: 800; color: var(--white); line-height: 1; }
    .mv-unit { font-size: 1rem; color: #7A99BC; margin-top: 4px; margin-bottom: 24px; }
    .mv-formula { background: rgba(255,255,255,.06); border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; }
    .mv-formula p { font-size: .83rem; color: #A8C6F5; line-height: 1.8; }
    .mv-formula strong { color: var(--white); }
    .mv-example { font-size: .85rem; color: #7A99BC; font-style: italic; }
    .madelin-text .benefit { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
    .benefit-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
    .benefit-label { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
    .benefit-desc { font-size: .87rem; color: var(--muted); line-height: 1.6; }

    /* ── PROFILS ── */
    .profils-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
    .profil-card {
      border-radius: var(--r); padding: 22px 18px;
      border: 1.5px solid var(--border); background: var(--white); text-align: center;
      cursor: pointer; transition: all .2s;
    }
    .profil-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,87,200,.12); }
    .pc-icon { font-size: 2.2rem; margin-bottom: 10px; }
    .pc-title { font-size: .93rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .pc-sub { font-size: .78rem; color: var(--muted); }
    .pc-badge { display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; background: var(--light); color: var(--blue); }

    /* ── SIMULATION ── */
    .simu-wrap {
      background: var(--white); border-radius: 20px; border: 1.5px solid var(--border);
      padding: 36px 40px; max-width: 820px; margin: 48px auto 0;
      box-shadow: 0 4px 32px rgba(20,87,200,.08);
    }
    .simu-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
    .simu-sub { font-size: .87rem; color: var(--muted); margin-bottom: 28px; }
    .simu-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
    .simu-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
    .simu-group input, .simu-group select {
      width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
      font-family: 'Bricolage Grotesque', sans-serif; font-size: .9rem; background: #F8FAFF;
      appearance: none;
    }
    .simu-group input:focus, .simu-group select:focus { outline: none; border-color: var(--blue); }
    .btn-simu {
      margin-top: 24px; padding: 13px 32px; border: none; border-radius: 10px;
      background: var(--navy); color: var(--white);
      font-family: 'Bricolage Grotesque', sans-serif; font-size: .95rem; font-weight: 700;
      cursor: pointer; transition: background .2s;
    }
    .btn-simu:hover { background: var(--blue); }
    .simu-result { display: none; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
    .simu-result.show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .sr-box { border-radius: 12px; padding: 18px 20px; text-align: center; }
    .sr-box.blue { background: var(--light); }
    .sr-box.orange { background: #FFF4EE; }
    .sr-box.green { background: #F0FDF4; }
    .sr-num { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
    .sr-box.blue .sr-num { color: var(--blue); }
    .sr-box.orange .sr-num { color: var(--accent); }
    .sr-box.green .sr-num { color: var(--green); }
    .sr-label { font-size: .8rem; color: var(--muted); }

    /* ── COMPARATIF ── */
    .comp-table-wrap { margin-top: 44px; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--border); }
    .comp-table { width: 100%; border-collapse: collapse; }
    .comp-table thead tr { background: var(--navy); }
    .comp-table th { padding: 16px 20px; font-size: .85rem; font-weight: 700; color: var(--white); text-align: left; }
    .comp-table th.hl { background: var(--blue); }
    .comp-table td { padding: 13px 20px; font-size: .87rem; border-bottom: 1px solid var(--border); }
    .comp-table tbody tr:last-child td { border-bottom: none; }
    .comp-table tbody tr:nth-child(even) { background: #FAFCFF; }
    .comp-table .ok { color: var(--green); font-weight: 700; }
    .comp-table .ko { color: #DC2626; font-weight: 700; }
    .comp-table .so { color: var(--amber); font-weight: 600; }

    /* ── FAQ ── */
    .faq-wrap { max-width: 860px; margin-top: 48px; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-q {
      padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
      font-size: .97rem; font-weight: 700; color: var(--navy);
    }
    .faq-q:hover { color: var(--blue); }
    .faq-chevron { font-size: 1rem; color: var(--blue); transition: transform .25s; flex-shrink: 0; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; font-size: .9rem; color: var(--muted); line-height: 1.75; }
    .faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
    .faq-item.open .faq-chevron { transform: rotate(180deg); }

    /* ── ÉTAPES ── */
    .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; position: relative; }
    .steps-grid::after {
      content: ''; position: absolute; top: 30px; left: 12.5%; right: 12.5%;
      height: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%); z-index: 0;
    }
    .step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
    .step-ball {
      width: 60px; height: 60px; border-radius: 50%;
      background: var(--blue); color: var(--white);
      font-size: 1.25rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
      border: 4px solid var(--white);
      box-shadow: 0 0 0 2px var(--blue);
    }
    .step h4 { font-size: .93rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
    .step p { font-size: .82rem; color: var(--muted); }

    /* ── CTA FINAL ── */
    .cta-section-prev {
      background: var(--navy); padding: 80px 5%; text-align: center;
      position: relative; overflow: hidden;
    }
    .cta-section-prev::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse at 50% 100%, rgba(74,159,255,.15) 0%, transparent 60%);
      pointer-events: none;
    }
    .cta-section-prev h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
    .cta-section-prev p { font-size: 1rem; color: #8AABCF; max-width: 560px; margin: 0 auto 40px; }
    .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-cta-main {
      background: var(--accent); color: var(--white);
      padding: 16px 36px; border-radius: 100px;
      font-weight: 800; font-size: 1rem; text-decoration: none;
      transition: opacity .2s, transform .15s;
      box-shadow: 0 8px 28px rgba(255,107,53,.4);
    }
    .btn-cta-main:hover { opacity: .9; transform: translateY(-1px); }
    .btn-cta-sec {
      border: 2px solid rgba(255,255,255,.25); color: var(--white);
      padding: 16px 36px; border-radius: 100px;
      font-weight: 600; font-size: 1rem; text-decoration: none;
      transition: border-color .2s;
    }
    .btn-cta-sec:hover { border-color: rgba(255,255,255,.7); }

    /* ── FOOTER ── */
    footer { background: #080F1E; padding: 36px 5%; text-align: center; font-size: .8rem; color: #4A6080; line-height: 2; }
    footer strong { color: #7A99BC; font-weight: 700; font-size: .85rem; }

    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      .hero-prev { grid-template-columns: 1fr; gap: 40px; }
      .devis-card { max-width: 480px; }
      .madelin-wrap { grid-template-columns: 1fr; }
      .profils-grid { grid-template-columns: 1fr 1fr; }
      .garanties-grid { grid-template-columns: 1fr 1fr; }
      .steps-grid { grid-template-columns: 1fr 1fr; }
      .steps-grid::after { display: none; }
    }
    @media (max-width: 700px) {
      .nav-links { display: none; }
      .garanties-grid, .profils-grid, .qpanel.active, .simu-row { grid-template-columns: 1fr; }
      .simu-result.show { grid-template-columns: 1fr; }
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
    .hero-prev > * { animation: fadeUp .65s ease both; }
    .hero-prev > *:nth-child(2) { animation-delay: .12s; }