/* ==========================================================
   DHAssure - Landing pages par assurance
   (devis-vehicule.php, devis-decennale.php, devis-sante.php, devis-moto.php)
   ========================================================== */

@font-face{font-family:'Outfit';font-style:normal;font-weight:400 900;font-display:swap;src:url('../fonts/outfit-variable.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/plus-jakarta-sans-variable.woff2') format('woff2')}

:root {
    --lp-gold: #D49017;
    --lp-gold-light: #FDF7EA;
    --lp-gold-dark: #B5790C;
    --lp-navy: #0b1a2e;
    --lp-navy-2: #153353;
    --lp-green: #10B981;
    --lp-text: #0F172A;
    --lp-muted: #64748B;
    --lp-border: #E2E8F0;
    --lp-bg: #F8FAFC;
}

[hidden] { display: none !important; }

body {
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .lp-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* --- HEADER --- */
.lp-header {
    background: #fff;
    border-bottom: 1px solid var(--lp-border);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
}
.lp-orias {
    background: #F1F5F9;
    color: #475569;
    font-size: .78rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lp-nav-link {
    color: #334155;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}
.lp-nav-link:hover { color: var(--lp-gold); }
.lp-phone-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, .3);
    transition: transform .2s;
}
.lp-phone-btn:hover { transform: translateY(-2px); }

/* --- HERO --- */
.lp-hero {
    background: radial-gradient(circle at 80% 20%, #173864 0%, var(--lp-navy) 50%, #060e1a 100%);
    color: #fff;
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 144, 23, .18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.lp-breadcrumb { font-size: .82rem; color: #94A3B8; margin-bottom: 14px; }
.lp-breadcrumb a { color: #CBD5E1; text-decoration: none; }
.lp-breadcrumb a:hover { color: #fff; }
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.lp-badge i { color: #FAD961; }
.lp-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
}
.lp-gradient {
    background: linear-gradient(135deg, #FAD961 0%, #F76B1C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lp-lead {
    font-size: 1.1rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 580px;
}
.lp-trust-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.lp-trust-item { display: flex; align-items: flex-start; gap: 10px; color: #E2E8F0; }
.lp-trust-item i { color: var(--lp-gold); font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }
.lp-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 10px 16px;
    min-width: 120px;
}
.lp-hero-stat strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.3rem; color: #FAD961; }
.lp-hero-stat span { font-size: .78rem; color: #CBD5E1; }

/* --- FUNNEL CARD --- */
.lp-funnel {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    color: var(--lp-text);
    padding: 30px 26px 24px;
    position: relative;
    z-index: 5;
    scroll-margin-top: 90px;
}
.lp-funnel-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%);
    color: #fff;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(212, 144, 23, .4);
}
.lp-steps { display: flex; justify-content: space-between; position: relative; margin: 6px 0 22px; }
.lp-steps::before, .lp-steps-fill {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    height: 3px;
}
.lp-steps::before { right: 20px; background: var(--lp-border); }
.lp-steps-fill { background: var(--lp-gold); width: 0; transition: width .35s ease; z-index: 1; }
.lp-step-dot {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--lp-muted);
    background: transparent;
}
.lp-step-dot b {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: all .3s;
}
.lp-step-dot.active b { background: var(--lp-gold); border-color: var(--lp-gold); color: #fff; box-shadow: 0 0 0 4px rgba(212, 144, 23, .25); }
.lp-step-dot.active { color: var(--lp-text); }
.lp-step-dot.done b { background: var(--lp-green); border-color: var(--lp-green); color: #fff; }

.lp-step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
.lp-step-sub { font-size: .85rem; color: var(--lp-muted); margin-bottom: 16px; }
.lp-field-label { font-size: .82rem; font-weight: 700; color: #334155; margin-bottom: 6px; display: block; }

.lp-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.lp-choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-choice {
    position: relative;
    border: 2px solid var(--lp-border);
    border-radius: 14px;
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
    background: #fff;
    transition: all .2s;
    user-select: none;
    margin: 0;
}
.lp-choice:hover { border-color: #CBD5E1; transform: translateY(-2px); }
.lp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.lp-choice i { font-size: 1.4rem; color: #1E293B; display: block; margin-bottom: 4px; }
.lp-choice span { font-weight: 700; font-size: .85rem; line-height: 1.2; display: block; }
.lp-choice small { display: block; font-size: .7rem; color: var(--lp-muted); margin-top: 2px; }
.lp-choice.selected { border-color: var(--lp-gold); background: var(--lp-gold-light); box-shadow: 0 4px 15px rgba(212, 144, 23, .15); }
.lp-choice.selected i { color: var(--lp-gold); }
.lp-choice:focus-within { outline: 2px solid var(--lp-gold); outline-offset: 2px; }

/* Questions courtes (Oui/Non, durées...) en pastilles */
.lp-question {
    padding: 12px 0;
    border-bottom: 1px dashed var(--lp-border);
}
.lp-question:last-of-type { border-bottom: none; }
.lp-question > .lp-field-label { font-size: .88rem; color: var(--lp-text); margin-bottom: 8px; }
.lp-question.lp-sub {
    margin-left: 14px;
    padding-left: 12px;
    border-left: 3px solid var(--lp-gold);
    border-bottom: none;
    background: var(--lp-gold-light);
    border-radius: 0 10px 10px 0;
    margin-bottom: 6px;
}
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pills .lp-choice {
    flex: 1 1 auto;
    min-width: 72px;
    padding: 9px 14px;
    border-radius: 50px;
    border-width: 1.5px;
}
.lp-pills .lp-choice span { font-size: .84rem; font-weight: 600; }
.lp-pills .lp-choice:hover { transform: none; }
.lp-pills .lp-choice.selected { background: var(--lp-navy); border-color: var(--lp-navy); box-shadow: none; }
.lp-pills .lp-choice.selected span { color: #fff; }

.lp-formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.lp-formules .lp-choice { padding: 14px 8px; text-align: center; }
.lp-formules .lp-choice small { font-size: .72rem; }
@media (max-width: 575px) { .lp-formules { grid-template-columns: 1fr; } }

.lp-select, .lp-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid #CBD5E1;
    font-size: .93rem;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.lp-select:focus, .lp-input:focus { border-color: var(--lp-gold); box-shadow: 0 0 0 3px rgba(212, 144, 23, .2); }
.lp-input.is-invalid, .lp-select.is-invalid { border-color: #DC2626; }
.lp-input-wrap { position: relative; margin-bottom: 12px; }
.lp-input-wrap .lp-input { padding-left: 38px; }
.lp-input-wrap > i { position: absolute; left: 13px; bottom: 12px; color: #94A3B8; font-size: 1.05rem; }
.lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-mb { margin-bottom: 14px; }

.lp-btn-next, .lp-btn-submit {
    width: 100%;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all .2s;
}
.lp-btn-next { background: linear-gradient(135deg, #112340 0%, #1A365D 100%); color: #fff; padding: 13px 20px; font-size: 1rem; }
.lp-btn-next:hover { background: #0A1526; transform: translateY(-1px); }
.lp-btn-submit {
    background: linear-gradient(135deg, var(--lp-gold) 0%, var(--lp-gold-dark) 100%);
    color: #fff;
    padding: 14px 20px;
    font-size: 1.08rem;
    box-shadow: 0 8px 25px rgba(212, 144, 23, .4);
}
.lp-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212, 144, 23, .55); }
.lp-btn-submit:disabled { opacity: .7; transform: none; cursor: wait; }
.lp-btn-back {
    background: none;
    border: none;
    color: var(--lp-muted);
    font-size: .85rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}
.lp-btn-back:hover { color: var(--lp-text); }
.lp-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-error { display: none; background: #FEF2F2; color: #B91C1C; border-radius: 10px; padding: 8px 12px; font-size: .84rem; margin-bottom: 12px; }
.lp-error.show { display: block; }
.lp-secure { text-align: center; font-size: .74rem; color: var(--lp-muted); margin-top: 10px; }

.lp-success { text-align: center; padding: 20px 6px; }
.lp-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #D1FAE5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 14px;
}

/* --- PARTNERS --- */
.lp-partners { background: #fff; padding: 24px 0; border-bottom: 1px solid var(--lp-border); }
.lp-partners img { max-height: 38px; max-width: 115px; object-fit: contain; filter: grayscale(100%); opacity: .65; transition: all .3s; }
.lp-partners img:hover { filter: none; opacity: 1; }

/* --- SECTIONS --- */
.lp-section { padding: 70px 0; }
.lp-section-white { background: #fff; }
.lp-kicker {
    display: inline-block;
    background: var(--lp-gold-light);
    color: var(--lp-gold-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
}
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.lp-section-intro { color: var(--lp-muted); max-width: 680px; margin: 0 auto 40px; }

.lp-feature {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    padding: 26px;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .07); }
.lp-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--lp-gold-light);
    color: var(--lp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.lp-feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lp-feature p { color: var(--lp-muted); font-size: .92rem; margin: 0; }

.lp-formula {
    background: #fff;
    border: 2px solid var(--lp-border);
    border-radius: 22px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
}
.lp-formula.featured { border-color: var(--lp-gold); box-shadow: 0 16px 40px rgba(212, 144, 23, .15); }
.lp-formula-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--lp-gold);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}
.lp-formula h3 { font-size: 1.25rem; margin-bottom: 4px; }
.lp-formula .lp-formula-for { color: var(--lp-muted); font-size: .85rem; margin-bottom: 16px; }
.lp-formula ul { list-style: none; padding: 0; margin: 0 0 20px; }
.lp-formula li { padding: 6px 0; font-size: .92rem; display: flex; gap: 8px; }
.lp-formula li i.bi-check-circle-fill { color: var(--lp-green); }
.lp-formula li i.bi-x-circle { color: #CBD5E1; }
.lp-formula li.off { color: #94A3B8; }

.lp-how { counter-reset: how; }
.lp-how-item { text-align: center; padding: 10px 16px; }
.lp-how-num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-2) 100%);
    color: #FAD961;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.lp-how-item h3 { font-size: 1.08rem; }
.lp-how-item p { color: var(--lp-muted); font-size: .92rem; }

.lp-audience {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
}
.lp-audience i { font-size: 1.5rem; color: var(--lp-gold); }
.lp-audience h3 { font-size: 1rem; margin-bottom: 4px; }
.lp-audience p { font-size: .88rem; color: var(--lp-muted); margin: 0; }

.lp-info-box {
    background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-2) 100%);
    color: #E2E8F0;
    border-radius: 24px;
    padding: 36px;
}
.lp-info-box h2 { color: #fff; }
.lp-info-box strong { color: #FAD961; }

.lp-guide h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.lp-guide p, .lp-guide li { color: #334155; line-height: 1.75; }
.lp-guide ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.lp-guide li { margin-bottom: 4px; }
.lp-guide a { color: var(--lp-gold-dark); font-weight: 600; }

.lp-faq .accordion-button { font-weight: 700; color: var(--lp-text); }
.lp-faq .accordion-button:not(.collapsed) { background: var(--lp-gold-light); color: var(--lp-text); box-shadow: none; }
.lp-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(212, 144, 23, .25); }
.lp-faq .accordion-body { color: #475569; font-size: .93rem; }

.lp-cta {
    background: linear-gradient(135deg, #09121d 0%, var(--lp-navy-2) 100%);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.lp-other {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    color: var(--lp-text);
    text-decoration: none;
    font-weight: 700;
    transition: all .2s;
}
.lp-other i { font-size: 1.4rem; color: var(--lp-gold); }
.lp-other:hover { border-color: var(--lp-gold); transform: translateY(-2px); color: var(--lp-text); }

.lp-footer { background: #0b1220; color: #94A3B8; padding: 26px 0; font-size: .82rem; }
.lp-footer a { color: #94A3B8; text-decoration: none; margin-left: 14px; }
.lp-footer a:hover { color: #fff; }

.lp-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
    z-index: 1030;
    gap: 10px;
}

@media (max-width: 991px) {
    .lp-mobile-bar { display: flex; }
    body { padding-bottom: 70px; }
    .lp-hero { padding: 30px 0 50px; }
    .lp-section { padding: 50px 0; }
}
@media (max-width: 575px) {
    .lp-choices.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .lp-row { grid-template-columns: 1fr; gap: 0; }
    .lp-funnel { padding: 28px 16px 20px; }
    .lp-info-box { padding: 24px; }
    .lp-footer a { margin: 0 7px; }
}
