/* ============================================================
   LegalPass — Refonte design type LegalPlace
   Palette : bleu profond + CTA jaune + vert Trustpilot
   ============================================================ */

:root {
    --primary:        #1B3A8A;       /* Bleu LegalPlace */
    --primary-dark:   #102765;
    --primary-light:  #E8EEFB;
    --primary-soft:   #F4F7FE;
    --accent:         #FFD23F;       /* Jaune CTA signature */
    --accent-dark:    #F5B800;
    --trust-green:    #00B67A;       /* Vert Trustpilot */
    --text:           #1A1A2E;
    --text-muted:     #6B7280;
    --text-soft:      #9CA3AF;
    --border:         #E5E7EB;
    --border-soft:    #F1F3F7;
    --bg:             #ffffff;
    --bg-soft:        #F9FAFB;
    --bg-dark:        #0E1430;
    --radius:         10px;
    --radius-lg:      16px;
    --radius-xl:      24px;
    --shadow-xs:      0 1px 2px rgba(15, 23, 42, .04);
    --shadow-sm:      0 2px 6px rgba(15, 23, 42, .06);
    --shadow:         0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg:      0 24px 48px rgba(15, 23, 42, .12);
    --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all .2s;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-accent {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 6px 16px rgba(255, 210, 63, .35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 210, 63, .45); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover { background: var(--bg-soft); }

.btn-ghost { color: var(--text); padding: 10px 16px; }
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }

/* ============================================================
   HEADER
   ============================================================ */
.header-trustbar {
    background: var(--trust-green);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.header-trustbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.header-trustbar .stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.header-trustbar strong { font-weight: 700; }
.header-trustbar a { text-decoration: underline; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 2px 14px rgba(15, 23, 42, .06); }

.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}
.header-main > .logo { justify-self: start; }
.header-main > .nav { justify-self: center; }
.header-main > .header-actions { justify-self: end; }

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    margin-left: 4px;
    transform: translateY(-2px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.nav-link svg { transition: transform .2s; flex-shrink: 0; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-item:hover > .nav-link { color: var(--primary); background: var(--primary-soft); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 110;
}
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

/* Aligner le dropdown du dernier item à droite pour éviter qu'il déborde */
.nav-item:last-child .nav-dropdown { left: auto; right: 0; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.header-phone:hover { background: var(--primary-soft); }
.header-phone svg { color: var(--primary); flex-shrink: 0; }

.header-actions .btn { padding: 10px 18px; font-size: 14px; }
.header-actions .btn-ghost { padding: 9px 12px; font-size: 14px; }

.burger {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 8px;
    color: var(--text);
    flex-shrink: 0;
}
.burger:hover { background: var(--bg-soft); }
.burger svg { transition: transform .2s; }
.burger.open svg { transform: rotate(90deg); }

/* Téléphone réduit (icône seule) — affiché entre 1024 et 1200px */
.header-phone-icon {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 8px;
    color: var(--primary);
    background: var(--primary-soft);
}
.header-phone-icon:hover { background: var(--primary-light); }

/* ============================================================
   HERO — style LegalPlace avec widget de sélection
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(800px 400px at -10% 10%, rgba(27, 58, 138, .08), transparent 60%),
        radial-gradient(700px 350px at 110% 80%, rgba(255, 210, 63, .15), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
    padding: 56px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    color: var(--text);
}
.hero h1 .highlight { color: var(--primary); }
.hero h1 .underline {
    background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
    padding: 0 4px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

/* Widget de sélection dans le hero */
.hero-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin-bottom: 28px;
    border: 1px solid var(--border-soft);
}
.hero-form-field {
    flex: 1;
    position: relative;
}
.hero-form-label {
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-soft);
    font-weight: 600;
    pointer-events: none;
}
.hero-form-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 26px 40px 12px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}
.hero-form-select:focus { outline: none; }
.hero-form-arrow {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}
.hero-form .btn { padding: 0 28px; }

.hero-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 32px;
}
.hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}
.hero-bullets svg { color: var(--trust-green); flex-shrink: 0; }

/* Trustpilot widget */
.trustpilot {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-xs);
}
.trustpilot-stars { display: inline-flex; gap: 2px; }
.trustpilot-stars span {
    width: 22px; height: 22px;
    background: var(--trust-green);
    display: grid; place-items: center;
}
.trustpilot-text { font-size: 13px; line-height: 1.3; }
.trustpilot-text strong { display: block; font-size: 14px; }
.trustpilot-text span { color: var(--text-muted); }
.trustpilot-logo {
    color: var(--trust-green);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -.3px;
}

/* Illustration côté droit du hero */
.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-illustration .blob {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-illustration .blob::before {
    content: '';
    position: absolute;
    top: 10%; right: 5%;
    width: 80%; height: 80%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
    opacity: .25;
    filter: blur(40px);
    border-radius: 50%;
}
.hero-illustration svg { position: relative; z-index: 1; }

.hero-floating {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    font-size: 13px;
    font-weight: 600;
}
.hero-floating.top    { top: 10%; left: -10px; }
.hero-floating.bottom { bottom: 12%; right: -10px; }
.hero-floating .badge {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--trust-green);
    color: #fff;
    display: grid; place-items: center;
}
.hero-floating.top .badge { background: var(--accent); color: var(--text); }
.hero-floating small { color: var(--text-muted); font-weight: 500; display: block; }

/* ============================================================
   PRESSE
   ============================================================ */
.press-band {
    padding: 36px 0;
    border-bottom: 1px solid var(--border-soft);
    background: #fff;
}
.press-band .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.press-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}
.press-logos {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.press-logo {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #B8BFCC;
    letter-spacing: -.5px;
    transition: color .2s;
}
.press-logo:hover { color: var(--text-muted); }

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
section { padding: 88px 0; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}
.section-head .eyebrow {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.section-head h2 {
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-head h2 .underline {
    background: linear-gradient(180deg, transparent 65%, var(--accent) 65%);
    padding: 0 6px;
}
.section-head p {
    color: var(--text-muted);
    font-size: 18px;
}

/* ---------- "On vous accompagne" — bandeau horizontal ---------- */
.accompany {
    background: var(--bg-soft);
    padding: 56px 0;
}
.accompany-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.accompany-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-soft);
    transition: all .2s;
}
.accompany-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.accompany-icon {
    width: 50px; height: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.accompany-item strong {
    display: block;
    font-weight: 700;
    font-size: 15px;
}
.accompany-item small {
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.service-tag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--accent);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-soft));
    color: var(--primary);
    border-radius: 16px;
    display: grid; place-items: center;
    margin-bottom: 22px;
}
.service-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.3px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    min-height: 72px;
}
.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}
.service-price span:first-child {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    transition: all .2s;
}
.service-card:hover .service-link {
    color: var(--primary);
    gap: 10px;
}

/* ---------- Steps ---------- */
.steps {
    background: #fff;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
    z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--primary-soft);
}
.step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.2px;
}
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- Pourquoi nous ---------- */
.why { background: var(--bg-soft); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-soft);
    transition: all .2s;
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.why-icon {
    width: 56px; height: 56px;
    background: var(--accent);
    color: var(--text);
    border-radius: 14px;
    display: grid; place-items: center;
    margin-bottom: 20px;
}
.why-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.2px;
}
.why-item p { color: var(--text-muted); font-size: 15px; }

/* ---------- Témoignages ---------- */
.testimonials {
    background: #fff;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.testimonial-stars { display: inline-flex; gap: 2px; margin-bottom: 16px; }
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 48px; height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 18px;
}
.author-info strong { display: block; font-size: 15px; font-weight: 700; }
.author-info small { color: var(--text-muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .2s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 26px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--text);
}
.faq-question .plus {
    width: 28px; height: 28px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all .2s;
    line-height: 1;
}
.faq-item.open .faq-question .plus {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 26px;
}
.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 24px;
    line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- CTA Final ---------- */
.cta-final {
    background:
        radial-gradient(600px 300px at 90% 50%, rgba(255, 210, 63, .25), transparent 60%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.cta-final h2 {
    font-size: clamp(30px, 4.2vw, 44px);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -.5px;
}
.cta-final p {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto; margin-right: auto;
}
.cta-final-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 72px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #94a3b8;
}
.footer-contact {
    list-style: none;
    margin-bottom: 22px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #94a3b8;
}
.footer-contact svg { color: var(--accent); flex-shrink: 0; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .06);
    border-radius: 10px;
    display: grid; place-items: center;
    transition: all .2s;
    color: #cbd5e1;
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 14px;
    color: #94a3b8;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Palier 1 : desktop compact (1024 → 1180px)
   On remplace le numéro complet par une icône phone. */
@media (max-width: 1180px) {
    .header-phone { display: none; }
    .header-phone-icon { display: inline-flex; }
    .header-actions .btn-ghost { display: none; }
    .nav-link { padding: 9px 11px; font-size: 14.5px; }
}

/* Palier 2 : tablette / petit laptop — basculer en burger */
@media (max-width: 960px) {
    .header-main {
        display: flex;
        justify-content: space-between;
    }
    .nav, .header-phone-icon { display: none; }
    .burger { display: inline-flex; }
    .header-actions .btn-ghost { display: inline-flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-illustration { order: -1; max-width: 460px; margin: 0 auto; }
    .services-grid, .why-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .accompany-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* Palier 3 : mobile */
@media (max-width: 640px) {
    section, .accompany { padding: 56px 0; }
    .header-trustbar { display: none; }
    .header-main { padding: 10px 0; gap: 8px; }
    .header-actions .btn-ghost { display: none; }
    .header-actions .btn-accent { padding: 9px 14px; font-size: 13px; }
    .logo { font-size: 20px; }
    .hero { padding: 32px 0 56px; }
    .hero-form { flex-direction: column; padding: 14px; }
    .hero-form .btn { width: 100%; justify-content: center; padding: 14px; }
    .services-grid, .why-grid, .testimonials-grid, .steps-grid, .accompany-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .hero-floating { display: none; }
}

/* ============================================================
   MENU MOBILE — accordéon avec sous-menus
   ============================================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 200;
    overflow-y: auto;
    padding: 0;
    animation: mm-slide .25s ease;
}
@keyframes mm-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: block; }
body.mm-open { overflow: hidden; }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
.mobile-menu-close {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text);
    background: transparent;
}
.mobile-menu-close:hover { background: var(--bg-soft); }

.mobile-menu-body {
    padding: 12px 20px 32px;
}

.mm-group { border-bottom: 1px solid var(--border-soft); }
.mm-group-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    text-align: left;
}
.mm-group-trigger svg {
    transition: transform .2s;
    color: var(--text-muted);
}
.mm-group.open .mm-group-trigger svg { transform: rotate(180deg); }
.mm-group.open .mm-group-trigger { color: var(--primary); }
.mm-group-content {
    display: none;
    padding: 0 0 14px 0;
}
.mm-group.open .mm-group-content { display: block; }
.mm-group-content a {
    display: block;
    padding: 10px 14px;
    margin-bottom: 4px;
    font-size: 14.5px;
    color: var(--text-muted);
    border-radius: 8px;
    background: var(--bg-soft);
}
.mm-group-content a:hover,
.mm-group-content a:active { background: var(--primary-soft); color: var(--primary); }

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}
.mobile-menu-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--primary);
    font-weight: 700;
    background: var(--primary-soft);
    border-radius: 999px;
    font-size: 15px;
}
