/* ============================================================
   INFORMATH — Front page V3 (refonte d'après maquette)
   Tout est scopé à .front-v3 : ne touche aucune autre page.
   ============================================================ */

.front-v3 {
    --fp-bg: #121F59;
    --fp-bg-2: #1B2A6B;
    --fp-ink: #F4F1FF;
    --fp-ink-2: #B0B6E0;
    --fp-paper: #F4F1FF;
    --fp-paper-2: #ECE5D5;
    --fp-line: #2D3D8F;
    --fp-line-light: #1F2A6E;
    --fp-accent: #2729AA;
    --fp-accent-soft: #C4B3EA;
    --fp-tech: #7260D7;
    --fp-warn: #F7C948;
    --fp-shadow: 0 1px 0 rgba(255,255,255,.04), 0 24px 60px -28px rgba(0,0,0,.8);
    --fp-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
    --fp-body: 'Inter', system-ui, sans-serif;
    --fp-mono: 'JetBrains Mono', ui-monospace, monospace;

    background: var(--fp-bg);
    color: var(--fp-ink);
    font-family: var(--fp-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

.front-v3 a { color: inherit; text-decoration: none; }
.front-v3 .fp-serif { font-family: var(--fp-display); font-weight: 600; letter-spacing: -.02em; }
.front-v3 .fp-mono { font-family: var(--fp-mono); }
.front-v3 .fp-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
    width: 100%;
}

/* Sur la home, le layout standard du thème ne s'applique plus (le main prend tout) */
body.home main.front-v3 { padding: 0; margin: 0; max-width: none; }

/* ===== Eyebrow ===== */
.front-v3 .fp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fp-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fp-ink-2);
    padding: 6px 12px;
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}
.front-v3 .fp-eyebrow .fp-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--fp-tech);
    box-shadow: 0 0 8px var(--fp-tech);
    animation: fpPulse 2s ease-in-out infinite;
}
@keyframes fpPulse { 50% { opacity: .4; } }

/* ===== Buttons ===== */
.front-v3 .fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--fp-accent);
    color: #FFFFFF;
    border-radius: 12px;
    font-family: var(--fp-body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
    line-height: 1;
    min-height: 48px;
    box-sizing: border-box;
}
.front-v3 .fp-btn:hover,
.front-v3 .fp-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -8px rgba(39,41,170,.5);
}
.front-v3 .fp-btn svg { width: 18px; height: 18px; }
.front-v3 .fp-btn-ghost {
    background: transparent;
    color: var(--fp-ink);
    border: 1px solid var(--fp-line);
}
.front-v3 .fp-btn-ghost:hover,
.front-v3 .fp-btn-ghost:focus-visible {
    background: var(--fp-line-light);
    box-shadow: none;
    transform: none;
}

/* ============================================================
   HERO
   ============================================================ */
.front-v3 .fp-hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--fp-bg);
}
.front-v3 .fp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(39,41,170,.18) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(114,96,215,.12) 0%, transparent 55%);
    pointer-events: none;
}
.front-v3 .fp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1.12fr);
    gap: 64px;
    align-items: center;
}
/* Brand strip en haut du hero — version éditoriale, sans pill */
.front-v3 .fp-hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    max-width: 100%;
    box-sizing: border-box;
}
.front-v3 .fp-hero-brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 7px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.front-v3 .fp-hero-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    line-height: 1;
}
.front-v3 .fp-hero-brand-name {
    font-family: var(--fp-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.04em;
    color: var(--fp-ink);
    line-height: 1;
}
.front-v3 .fp-hero-brand-tag {
    font-family: var(--fp-mono);
    font-size: clamp(13px, 1.15vw, 15px);
    color: var(--fp-accent-soft);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.35;
}

/* Le rang qui contient l'eyebrow vit sur sa propre ligne */
.front-v3 .fp-hero-eyebrow-row {
    margin-bottom: 24px;
}

.front-v3 .fp-hero-title {
    font-family: var(--fp-display);
    font-weight: 600;
    font-size: clamp(40px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -0.035em;
    margin: 24px 0 24px;
    color: var(--fp-ink);
}
.front-v3 .fp-hero-title em {
    font-style: normal;
    color: var(--fp-accent);
}
.front-v3 .fp-hero-title .fp-underline {
    display: inline-block;
    background: linear-gradient(180deg, transparent 60%, rgba(39,41,170,.28) 60%);
    padding: 0 4px;
}
.front-v3 .fp-hero-lede {
    font-size: 18px;
    color: var(--fp-ink-2);
    max-width: 540px;
    line-height: 1.6;
    margin: 0;
}
.front-v3 .fp-hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.front-v3 .fp-hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 20px;
}
.front-v3 .fp-hero-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--fp-ink);
    min-height: 44px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.front-v3 .fp-hero-contact-link:hover,
.front-v3 .fp-hero-contact-link:focus-visible {
    color: var(--fp-accent-soft);
    border-bottom-color: var(--fp-accent-soft);
    outline: none;
}
.front-v3 .fp-hero-contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--fp-tech);
    flex-shrink: 0;
}
.front-v3 .fp-hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--fp-line);
    flex-wrap: wrap;
}
.front-v3 .fp-hero-meta-item { font-size: 13px; }
.front-v3 .fp-hero-meta-item strong {
    display: block;
    font-family: var(--fp-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--fp-ink);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.front-v3 .fp-hero-meta-item span { color: var(--fp-ink-2); }

/* Hero : centré lorsque la grille passe en une colonne (breakpoint défensif 1280px) */
@media (max-width: 1280px) {
    .front-v3 .fp-hero-text {
        text-align: center;
    }
    .front-v3 .fp-hero-title {
        text-align: center;
    }
    .front-v3 .fp-hero-lede {
        margin-left: auto;
        margin-right: auto;
    }
    .front-v3 .fp-hero-brand {
        justify-content: center;
    }
    .front-v3 .fp-hero-brand-text {
        align-items: center;
    }
    .front-v3 .fp-hero-eyebrow-row {
        display: flex;
        justify-content: center;
    }
    .front-v3 .fp-hero-cta {
        justify-content: center;
    }
    .front-v3 .fp-hero-contact {
        justify-content: center;
    }
    .front-v3 .fp-hero-meta {
        justify-content: center;
    }
}

/* Hero visual : cartes empilées en colonne, jamais de positionnement absolu.
   Plus simple, plus robuste, aucun risque de débordement. */
.front-v3 .fp-hero-visual {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #1B2A6B, #121F59);
    border: 1px solid var(--fp-line);
    box-shadow: var(--fp-shadow);
    padding: clamp(24px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
.front-v3 .fp-hero-visual::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--fp-line-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--fp-line-light) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: -1px -1px;
    opacity: .35;
    mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}
.front-v3 .fp-hv-card {
    position: relative;
    background: rgba(244,241,255,.96);
    color: #121F59;
    border-radius: 16px;
    padding: clamp(20px, 2.5vw, 26px);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.6),
                0 1px 0 rgba(255,255,255,.6) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    z-index: 1;
}
.front-v3 .fp-hv-card-3 {
    background: rgba(18, 31, 89, 0.8);
    color: rgba(244, 241, 255, 1);
    border: 1px solid rgba(45, 61, 143, 1);
    padding: 14px 18px;
}
.front-v3 .fp-hv-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fp-bg);
    color: var(--fp-accent-soft);
    padding: 4px 9px;
    border-radius: 99px;
    font-family: var(--fp-mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}
.front-v3 .fp-hv-tag .fp-ico {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--fp-tech);
}
/* Carte prestations (général) */
.front-v3 .fp-hv-card-services h4 {
    margin-bottom: 8px;
}
.front-v3 .fp-hv-devices {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.front-v3 .fp-hv-devices li {
    padding: 6px 12px;
    background: #E8E4F8;
    border: 1px solid rgba(39, 41, 170, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #2729AA;
    line-height: 1.2;
}

/* Carte tarifs — palette identique à .fp-hv-card-services */
.front-v3 .fp-hv-tag-helpdesk {
    background: #121F59;
    color: #7260D7;
}
.front-v3 .fp-hv-card-price .fp-hv-price-legend,
.front-v3 .fp-hv-card-price .fp-hv-abby,
.front-v3 .fp-hv-card-price .fp-hv-legal {
    font-family: var(--fp-body);
    font-size: clamp(14px, 1.4vw, 16px);
    color: #4C5570;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
}
.front-v3 .fp-hv-price-legend {
    margin: 0 0 14px;
}
.front-v3 .fp-hv-price-legend strong {
    color: #121F59;
    font-weight: 600;
}
.front-v3 .fp-hv-abby {
    font-size: clamp(13px, 1.3vw, 15px);
    font-style: normal;
}
.front-v3 .fp-hv-price-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 14px;
}
.front-v3 .fp-hv-price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 14px;
    background: #E8E4F8;
    border: 1px solid rgba(39, 41, 170, 0.12);
    min-width: 0;
    text-align: center;
}
.front-v3 .fp-hv-price-col--sap {
    background: #E8E4F8;
    border: 1px solid rgba(39, 41, 170, 0.12);
    box-shadow: none;
}
.front-v3 .fp-hv-price-label {
    font-family: var(--fp-body);
    font-size: 12px;
    font-weight: 600;
    color: #2729AA;
    letter-spacing: normal;
    text-transform: none;
    width: 100%;
    line-height: 1.2;
}
.front-v3 .fp-hv-price-value {
    font-family: var(--fp-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    width: 100%;
    text-align: center;
    color: #121F59;
}
.front-v3 .fp-hv-price-value--full {
    font-size: clamp(20px, 2.4vw, 26px);
    color: #4C5570;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #4C5570;
}
.front-v3 .fp-hv-price-value--sap {
    font-size: clamp(26px, 3vw, 34px);
    color: #121F59;
}
.front-v3 .fp-hv-price-badge {
    align-self: center;
    margin-top: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: #E8E4F8;
    border: 1px solid rgba(39, 41, 170, 0.12);
    color: #2729AA;
    font-family: var(--fp-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
}
.front-v3 .fp-hv-price-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: #2729AA;
}
.front-v3 .fp-hv-price-divider svg {
    width: 20px;
    height: 20px;
}
.front-v3 .fp-hv-ast {
    font-size: 0.65em;
    vertical-align: super;
    font-weight: 600;
    color: #2729AA;
}
.front-v3 .fp-hv-abby {
    margin: 0 0 10px;
    text-align: left;
}
.front-v3 .fp-hv-abby strong {
    color: #2729AA;
    font-weight: 600;
}
.front-v3 .fp-hv-legal {
    margin: 0;
    font-size: clamp(13px, 1.2vw, 14px);
    text-align: left;
}
.front-v3 .fp-hv-card h4 {
    font-family: var(--fp-display);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    margin: 0 0 4px;
    letter-spacing: -.01em;
    color: #121F59;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.front-v3 .fp-hv-card-3 h4 { color: var(--fp-ink); }
.front-v3 .fp-hv-card p {
    margin: 0;
    font-size: clamp(14px, 1.4vw, 16px);
    color: #4C5570;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.front-v3 .fp-hv-card-services p {
    text-align: left;
    line-height: 1.5;
    letter-spacing: normal;
}
.front-v3 .fp-hv-card-2 p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
@media (max-width: 480px) {
    .front-v3 .fp-hv-price-compare {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .front-v3 .fp-hv-price-divider {
        transform: rotate(90deg);
    }
    .front-v3 .fp-hv-devices li {
        font-size: 11px;
    }
}
.front-v3 .fp-hv-card-3 p { color: var(--fp-ink-2); }
.front-v3 .fp-hv-sap-line {
    margin-top: 10px;
    font-size: clamp(9px, 2.6vw, 11px);
    font-family: var(--fp-mono);
    color: #fff;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 340px) {
    .front-v3 .fp-hv-sap-line {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        hyphens: manual;
    }
}
.front-v3 .fp-hv-pills {
    display: flex; gap: 8px; margin-top: 14px; font-size: 12px; color: #5662A5;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
}
.front-v3 .fp-hv-pill {
    padding: 4px 9px;
    background: #F4F1FF;
    border-radius: 99px;
}
.front-v3 .fp-hv-mini-stat {
    display: flex; align-items: baseline; gap: 6px;
}
.front-v3 .fp-hv-card-3 .fp-hv-mini-stat {
    justify-content: center;
}
.front-v3 .fp-hv-card-3 .fp-hv-mini-stat .fp-v {
    color: #fff;
}
.front-v3 .fp-hv-mini-stat .fp-v {
    font-family: var(--fp-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--fp-accent);
}
.front-v3 .fp-hv-mini-stat .fp-l {
    font-size: 12px;
    color: var(--fp-ink-2);
}
.front-v3 .fp-hv-progress {
    margin-top: 10px;
    height: 4px;
    background: var(--fp-line-light);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.front-v3 .fp-hv-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(90deg, var(--fp-accent), var(--fp-accent-soft));
    border-radius: 99px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.front-v3 .fp-trust {
    border-top: 1px solid var(--fp-line);
    border-bottom: 1px solid var(--fp-line);
    padding: 22px 0;
    background: var(--fp-bg-2);
}
.front-v3 .fp-trust-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.front-v3 .fp-trust-label {
    font-family: var(--fp-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fp-ink-2);
}
.front-v3 .fp-trust-items {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.front-v3 .fp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fp-ink-2);
}
.front-v3 .fp-trust-item svg {
    width: 16px; height: 16px;
    opacity: .9;
    color: var(--fp-tech);
    flex-shrink: 0;
}

/* ============================================================
   SECTION HEAD (réutilisé)
   ============================================================ */
.front-v3 .fp-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 64px;
    margin-bottom: 56px;
    align-items: end;
}
.front-v3 .fp-section-head h2 {
    font-family: var(--fp-display);
    font-weight: 600;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 14px 0 0;
    text-align: left;
}
.front-v3 .fp-section-head h2 em {
    font-style: normal;
    color: var(--fp-accent);
}
.front-v3 .fp-section-head .fp-lede {
    font-size: 17px;
    line-height: 1.6;
    max-width: 580px;
    color: var(--fp-ink-2);
    margin: 0;
    text-align: left;
}
.front-v3 .fp-section-head > div {
    min-width: 0;
}

/* Tarification : empiler sous la pastille et rester à gauche */
.front-v3 #fp-tarifs .fp-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

/* Services : idem, tout aligné sous « — Mes services » */
.front-v3 #fp-services .fp-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

/* ============================================================
   SERVICES
   ============================================================ */
.front-v3 .fp-services {
    padding: 110px 0;
    background: var(--fp-paper);
    color: #121F59;
}
.front-v3 .fp-services .fp-eyebrow {
    color: #5662A5;
    border-color: #D9CFB8;
    background: #fff;
}
.front-v3 .fp-services .fp-section-head .fp-lede { color: #5662A5; }

.front-v3 .fp-svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.front-v3 .fp-svc-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid #D8CFEE;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    /* pas d'overflow:hidden — le texte ne doit jamais être clipé */
}
.front-v3 .fp-svc-card:hover,
.front-v3 .fp-svc-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--fp-accent);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.18);
    outline: none;
    text-decoration: none;
}
.front-v3 .fp-svc-card:hover .fp-svc-icon,
.front-v3 .fp-svc-card:focus-visible .fp-svc-icon {
    background: var(--fp-accent);
    color: #fff;
}
.front-v3 .fp-svc-card:hover .fp-svc-arrow,
.front-v3 .fp-svc-card:focus-visible .fp-svc-arrow {
    background: var(--fp-accent);
    border-color: var(--fp-accent);
    color: #fff;
    transform: translateX(2px);
}

/* Head : icône + numéro */
.front-v3 .fp-svc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.front-v3 .fp-svc-num {
    font-family: var(--fp-mono);
    font-size: 11px;
    color: #9098C8;
    letter-spacing: .1em;
    flex-shrink: 0;
    margin-top: 6px;
}
.front-v3 .fp-svc-icon {
    width: 52px; height: 52px;
    background: #121F59;
    color: #fff;
    border-radius: 14px;
    display: grid; place-items: center;
    transition: background .3s ease, color .3s ease;
    flex-shrink: 0;
}
.front-v3 .fp-svc-icon svg { width: 24px; height: 24px; }

.front-v3 .fp-svc-card h3 {
    font-family: var(--fp-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -.02em;
    margin: 4px 0 0;
    color: #121F59;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.front-v3 .fp-svc-card p {
    font-size: 14.5px;
    color: #404B7D;
    line-height: 1.55;
    margin: 0;
    flex: 1; /* pousse le foot tout en bas */
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Foot : tags + flèche, sur une seule ligne en flex */
.front-v3 .fp-svc-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 4px;
}
.front-v3 .fp-svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.front-v3 .fp-svc-tag {
    font-family: var(--fp-mono);
    font-size: 11px;
    padding: 4px 9px;
    background: #F4F1FF;
    border-radius: 99px;
    color: #5662A5;
}
.front-v3 .fp-svc-arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid #D8CFEE;
    display: grid; place-items: center;
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
    color: #121F59;
    flex-shrink: 0;
}
.front-v3 .fp-svc-arrow svg { width: 18px; height: 18px; }

/* ============================================================
   CRÉDIT D'IMPÔT + simulateur
   ============================================================ */
.front-v3 .fp-credit {
    padding: 110px 0;
    background: var(--fp-bg);
}
.front-v3 .fp-credit-inner {
    background: linear-gradient(135deg, #1B2A6B 0%, #121F59 100%);
    border: 1px solid var(--fp-line);
    border-radius: 28px;
    padding: 56px;
    position: relative;
    overflow: hidden;
}
.front-v3 .fp-credit-inner::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(39,41,170,.18), transparent 65%);
    pointer-events: none;
}
.front-v3 .fp-credit-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 56px;
    align-items: center;
    position: relative;
}
.front-v3 .fp-credit-grid > div {
    min-width: 0;
}
.front-v3 .fp-credit h2 {
    font-family: var(--fp-display);
    font-weight: 600;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 16px 0 18px;
    color: var(--fp-ink);
    text-align: left;
}
.front-v3 .fp-credit h2 .fp-hl {
    background: var(--fp-accent);
    color: #FFFFFF;
    padding: 0 14px;
    border-radius: 8px;
    display: inline-block;
}
.front-v3 .fp-credit-text {
    color: var(--fp-ink-2);
    font-size: 16px;
    line-height: 1.65;
    max-width: min(480px, 100%);
    margin: 0;
    text-align: left;
}
.front-v3 .fp-credit-bullets {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.front-v3 .fp-credit-bullets li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--fp-line);
    font-size: 14px;
    line-height: 1.55;
    color: var(--fp-ink);
}
.front-v3 .fp-credit-bullets li:last-child {
    border-bottom: 1px solid var(--fp-line);
}
.front-v3 .fp-credit-bullets li strong { color: var(--fp-ink); }
.front-v3 .fp-credit-bullets .fp-check {
    width: 22px; height: 22px;
    background: var(--fp-tech);
    color: #FFFFFF;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    font-weight: 700;
}
.front-v3 .fp-credit-bullets .fp-check svg { width: 12px; height: 12px; }

/* Simulateur */
.front-v3 .fp-calc {
    background: var(--fp-bg);
    border: 1px solid var(--fp-line);
    border-radius: 22px;
    padding: 28px;
    position: relative;
    min-width: 0; /* permet au grid item de rétrécir et au contenu de ne pas déborder */
    box-sizing: border-box;
}
.front-v3 .fp-calc-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39,41,170,.12);
    color: var(--fp-accent-soft);
    padding: 6px 12px;
    border-radius: 99px;
    font-family: var(--fp-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.front-v3 .fp-calc-tag svg { width: 12px; height: 12px; }
.front-v3 .fp-calc h4 {
    font-family: var(--fp-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--fp-ink);
    text-align: left;
}
.front-v3 .fp-calc-sub {
    font-size: 13px;
    color: var(--fp-ink-2);
    margin: 0 0 22px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.front-v3 .fp-calc-slider { margin: 14px 0 4px; }
.front-v3 .fp-calc-slider input[type="range"] {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    height: 24px;
    margin: 0;
}
.front-v3 .fp-calc-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--fp-line);
    border-radius: 99px;
}
.front-v3 .fp-calc-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    background: var(--fp-accent);
    border-radius: 50%;
    margin-top: -9px;
    border: 3px solid var(--fp-bg);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(39,41,170,.4);
}
.front-v3 .fp-calc-slider input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--fp-accent);
    border-radius: 50%;
    border: 3px solid var(--fp-bg);
    cursor: pointer;
}
.front-v3 .fp-calc-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: var(--fp-line);
    border-radius: 99px;
}
.front-v3 .fp-calc-ticks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 10px;
    color: var(--fp-ink-2);
    font-family: var(--fp-mono);
    margin-top: 8px;
    text-align: center;
    line-height: 1.2;
}
.front-v3 .fp-calc-ticks span {
    overflow-wrap: anywhere;
}
.front-v3 .fp-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 14px;
    border-top: 1px dashed var(--fp-line);
}
.front-v3 .fp-calc-row:first-of-type { border-top: none; }
.front-v3 .fp-calc-row .fp-l { color: var(--fp-ink-2); }
.front-v3 .fp-calc-row .fp-v {
    font-family: var(--fp-mono);
    font-weight: 500;
    color: var(--fp-ink);
}
.front-v3 .fp-calc-row.fp-final {
    margin-top: 8px;
    padding: 18px 16px;
    background: var(--fp-accent);
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    flex-wrap: wrap;
    gap: 8px;
}
.front-v3 .fp-calc-row.fp-final > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
}
.front-v3 .fp-calc-row.fp-final .fp-v {
    font-family: var(--fp-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -.02em;
    color: #FFFFFF;
    white-space: nowrap;
}

/* ============================================================
   TARIFS
   ============================================================ */
.front-v3 .fp-tarifs {
    padding: 110px 0;
    background: var(--fp-paper);
    color: #121F59;
}
.front-v3 .fp-tarifs .fp-eyebrow {
    color: #5662A5;
    border-color: #D9CFB8;
    background: #fff;
}
.front-v3 .fp-tarifs .fp-section-head .fp-lede { color: #5662A5; }
.front-v3 .fp-tarifs .fp-section-head h2 em { color: var(--fp-accent); }

/* Bloc titre + chapô : ancré à gauche, titre tenu sur une ligne dès qu'il y a la place */
.front-v3 .fp-tarifs .fp-section-head {
    align-items: start;
}
.front-v3 .fp-tarifs .fp-section-head > div:last-child {
    width: 100%;
    max-width: min(720px, 100%);
    margin-left: 0;
    margin-right: auto;
}
.front-v3 .fp-tarifs .fp-section-head h2,
.front-v3 .fp-tarifs .fp-section-head .fp-lede {
    text-align: left;
}
.front-v3 .fp-tarifs .fp-section-head .fp-lede {
    max-width: 40rem;
}
@media (min-width: 768px) {
    .front-v3 .fp-tarifs .fp-section-head h2 {
        white-space: nowrap;
        font-size: clamp(26px, 2.75vw, 44px);
    }
}

.front-v3 .fp-tarif-tabs {
    display: inline-flex;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #D8CFEE;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
/* Empêche les panneaux non-actifs d'apparaître (sinon display:grid override [hidden]) */
.front-v3 .fp-tarif-grid[hidden] { display: none !important; }
.front-v3 .fp-tarif-tab {
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: #5662A5;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    border: none;
    background: transparent;
    font-family: var(--fp-body);
    min-height: 40px;
}
.front-v3 .fp-tarif-tab.is-active {
    background: #121F59;
    color: #fff;
}

.front-v3 .fp-tarif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.front-v3 .fp-tarif-grid[data-pane="formation"] {
    grid-template-columns: repeat(3, 1fr);
}
.front-v3 .fp-tarif-card {
    background: #fff;
    border: 1px solid #D8CFEE;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.front-v3 .fp-tarif-card.is-popular {
    background: #121F59;
    color: #fff;
    border-color: #121F59;
}
.front-v3 .fp-tarif-card.is-popular .fp-tarif-name { color: #B0B6E0; }
.front-v3 .fp-tarif-card.is-popular .fp-tarif-included li { color: #A8AEDC; }
.front-v3 .fp-tarif-card.is-popular .fp-tarif-strike { color: #5662A5; }
.front-v3 .fp-tarif-card:hover,
.front-v3 .fp-tarif-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--fp-accent);
    box-shadow: 0 22px 50px -25px rgba(39,41,170,.35);
    text-decoration: none;
    outline: none;
}
.front-v3 .fp-tarif-card.is-popular:hover,
.front-v3 .fp-tarif-card.is-popular:focus-visible {
    border-color: var(--fp-tech);
    box-shadow: 0 22px 50px -25px rgba(114,96,215,.5);
}
.front-v3 .fp-tarif-badge {
    position: absolute;
    top: -10px; left: 24px;
    background: var(--fp-accent);
    color: #FFFFFF;
    font-family: var(--fp-mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 99px;
    font-weight: 600;
}
.front-v3 .fp-tarif-name {
    font-family: var(--fp-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9098C8;
}
.front-v3 .fp-tarif-title {
    font-family: var(--fp-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.1;
}
.front-v3 .fp-tarif-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 0;
    border-top: 1px solid #D8CFEE;
    flex-wrap: wrap;
}
.front-v3 .fp-tarif-card.is-popular .fp-tarif-price { border-color: #2D3D8F; }
.front-v3 .fp-tarif-strike {
    text-decoration: line-through;
    color: #9098C8;
    font-size: 14px;
}
.front-v3 .fp-tarif-amount {
    font-family: var(--fp-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--fp-accent);
}
.front-v3 .fp-tarif-amount-suffix {
    font-size: 13px;
    color: #9098C8;
}
.front-v3 .fp-tarif-card.is-popular .fp-tarif-amount-suffix { color: #A8AEDC; }
.front-v3 .fp-tarif-included {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #404B7D;
    flex: 1;
}
.front-v3 .fp-tarif-included li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.45;
}
.front-v3 .fp-tarif-included .fp-ck {
    color: var(--fp-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.front-v3 .fp-tarif-included .fp-ck svg { width: 12px; height: 12px; }

.front-v3 .fp-tarif-footnote {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 1rem;
    margin: 32px auto 0;
    max-width: 780px;
    padding: 14px 20px 0;
    border-top: 1px solid rgba(39,41,170,.12);
    font-size: 13px;
    line-height: 1.5;
    color: #404B7D;
    font-family: var(--fp-mono);
    text-align: center;
    letter-spacing: 0.02em;
}
.front-v3 .fp-tarif-footnote span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.front-v3 .fp-tarif-footnote span + span::before {
    content: '·';
    color: rgba(39,41,170,.4);
    margin-right: 0.4rem;
}

/* Déplacements */
.front-v3 .fp-deplacements {
    margin-top: 36px;
    background: #fff;
    border: 1px solid #D8CFEE;
    border-radius: 18px;
    padding: 28px 32px;
}
.front-v3 .fp-deplacements h3 {
    font-family: var(--fp-display);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #121F59;
    letter-spacing: -.01em;
}
.front-v3 .fp-deplacements-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.front-v3 .fp-deplacements-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #E8E2FB;
    border-radius: 10px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 8px;
}
.front-v3 .fp-deplacements-row strong { font-weight: 600; }
.front-v3 .fp-deplacements-row .fp-frais {
    font-family: var(--fp-mono);
    color: #5662A5;
}
.front-v3 .fp-deplacements-row .fp-frais.fp-offert {
    color: var(--fp-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ============================================================
   ZONE D'INTERVENTION (map corrigée)
   ============================================================ */
.front-v3 .fp-zone {
    padding: 110px 0;
    background: var(--fp-bg);
}
.front-v3 .fp-zone-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}
.front-v3 .fp-zone-grid > div {
    min-width: 0;
}
.front-v3 .fp-zone-info {
    color: var(--fp-ink);
    text-align: left;
}
.front-v3 .fp-zone-info .fp-zone-hl {
    color: var(--fp-tech);
    font-style: normal;
}
.front-v3 .fp-zone-info h2 {
    font-family: var(--fp-display);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.05;
    margin: 14px 0 18px;
}
.front-v3 .fp-zone-info p {
    color: var(--fp-ink-2);
    font-size: 16px;
    line-height: 1.65;
    max-width: min(460px, 100%);
    text-align: left;
    margin: 0;
    overflow-wrap: anywhere;
}
.front-v3 .fp-zone-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--fp-line);
}
.front-v3 .fp-zone-stat strong {
    display: block;
    font-family: var(--fp-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--fp-accent);
    letter-spacing: -.01em;
}
.front-v3 .fp-zone-stat span {
    font-size: 13px;
    color: var(--fp-ink-2);
}
.front-v3 .fp-map-card {
    background: linear-gradient(135deg, #1B2A6B, #121F59);
    border: 1px solid var(--fp-line);
    border-radius: 22px;
    padding: 24px;
    aspect-ratio: 1.25 / 1;
    position: relative;
    overflow: hidden;
}
.front-v3 .fp-map-card svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.front-v3 .fp-faq {
    padding: 110px 0;
    background: var(--fp-bg-2);
}
.front-v3 .fp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.front-v3 .fp-faq-intro,
.front-v3 .fp-faq-list {
    min-width: 0;
}
.front-v3 .fp-faq-intro h2,
.front-v3 .fp-faq-intro p {
    text-align: left;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.front-v3 .fp-faq-intro h2 {
    font-family: var(--fp-display);
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.08;
    margin: 14px 0 18px;
    color: var(--fp-ink);
}
.front-v3 .fp-faq-intro p {
    color: var(--fp-ink-2);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 22px;
}
.front-v3 .fp-faq-list {
    display: flex;
    flex-direction: column;
}
.front-v3 .fp-faq-item {
    border-top: 1px solid var(--fp-line);
}
.front-v3 .fp-faq-item:last-child {
    border-bottom: 1px solid var(--fp-line);
}
.front-v3 .fp-faq-q {
    display: block;
    position: relative;
    padding: 22px 50px 22px 0;
    cursor: pointer;
    font-family: var(--fp-display);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -.01em;
    list-style: none;
    user-select: none;
    color: var(--fp-ink);
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}
.front-v3 .fp-faq-q::-webkit-details-marker { display: none; }
.front-v3 .fp-faq-q::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -16px; /* centrage vertical (32px / 2) */
    display: block;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--fp-line);
    background: 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='%23F4F1FF' stroke-width='2' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center/14px no-repeat;
    flex-shrink: 0;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.front-v3 .fp-faq-item[open] .fp-faq-q::after {
    background-color: var(--fp-accent);
    border-color: var(--fp-accent);
    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='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
    transform: rotate(45deg);
}
.front-v3 .fp-faq-a {
    padding: 0 0 22px;
    color: var(--fp-ink-2);
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    height: auto;
    min-height: 0;
    text-align: left;
}
.front-v3 .fp-faq-item {
    overflow: visible;
}
.front-v3 .fp-faq-a strong { color: var(--fp-ink); }
.front-v3 .fp-faq-a p {
    margin: 0 0 0.85em;
    text-align: left;
}
.front-v3 .fp-faq-a p:last-child {
    margin-bottom: 0;
}
.front-v3 .fp-faq-a ol {
    margin: 0.35em 0 0.85em;
    padding-left: 1.25rem;
    text-align: left;
}
.front-v3 .fp-faq-a li {
    margin-bottom: 0.45em;
}
.front-v3 .fp-faq-a li:last-child {
    margin-bottom: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.front-v3 .fp-cta-final {
    padding: 100px 0;
    background: var(--fp-paper);
    color: #121F59;
}
.front-v3 .fp-cta-box {
    background: #121F59;
    color: #fff;
    border-radius: 28px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.front-v3 .fp-cta-box::before {
    content: '';
    position: absolute;
    top: -160px; right: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(39,41,170,.25), transparent 70%);
    pointer-events: none;
}
.front-v3 .fp-cta-text {
    position: relative;
}
.front-v3 .fp-cta-text .fp-eyebrow {
    border-color: rgba(255,255,255,.18);
    color: #A8AEDC;
    background: transparent;
}
.front-v3 .fp-cta-text h2 {
    font-family: var(--fp-display);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.05;
    margin: 16px 0 14px;
}
.front-v3 .fp-cta-text p {
    color: #A8AEDC;
    font-size: 16px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}
.front-v3 .fp-cta-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.front-v3 .fp-cta-actions .fp-btn {
    justify-content: center;
}
.front-v3 .fp-cta-actions .fp-btn-ghost {
    border-color: rgba(255,255,255,.2);
    color: #fff;
}
.front-v3 .fp-cta-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}
.front-v3 .fp-cta-phone:hover {
    background: rgba(255,255,255,.1);
}
.front-v3 .fp-cta-phone .fp-phone-icon {
    width: 40px; height: 40px;
    background: var(--fp-tech);
    color: #FFFFFF;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.front-v3 .fp-cta-phone .fp-phone-icon svg { width: 18px; height: 18px; }
.front-v3 .fp-cta-phone .fp-phone-num {
    font-family: var(--fp-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
}
.front-v3 .fp-cta-phone .fp-phone-lbl {
    font-size: 11px;
    color: #A8AEDC;
    font-family: var(--fp-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ============================================================
   INTRO 3D OVERLAY
   ============================================================ */
.fp-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: radial-gradient(ellipse at 50% 40%, #1B2A6B 0%, #121F59 60%, #0A1340 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: opacity .9s ease, visibility .9s ease;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
        max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    overflow-x: hidden;
}
.fp-intro-overlay.is-gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.fp-intro-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.fp-intro-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #F4F1FF;
    pointer-events: none;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 0 max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}
.fp-intro-logo-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fp-intro-halo {
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle at center, rgba(39,41,170,.55), rgba(39,41,170,0) 60%);
    filter: blur(28px);
    opacity: 0;
    animation: fpHaloAppear .8s ease 0.6s forwards, fpHaloPulse 2.4s ease 1.4s infinite;
    z-index: 0;
}
@keyframes fpHaloAppear { to { opacity: 1; } }
@keyframes fpHaloPulse {
    0%, 100% { opacity: .55; transform: scale(1); }
    50%      { opacity: .9;  transform: scale(1.1); }
}
.fp-intro-logo {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    filter: drop-shadow(0 12px 30px rgba(39,41,170,.45));
    opacity: 0;
    transform: scale(.85);
    animation: fpLogoIn .8s cubic-bezier(.2,.9,.2,1) .3s forwards;
}
@keyframes fpLogoIn {
    to { opacity: 1; transform: scale(1); }
}
.fp-intro-word {
    font-family: var(--fp-display, 'Bricolage Grotesque', sans-serif);
    font-size: clamp(20px, 5.5vw, 28px);
    font-weight: 700;
    color: #F4F1FF;
    letter-spacing: 18px;
    margin-top: 20px;
    opacity: 0;
    animation: fpWordReveal 1s cubic-bezier(.2,.9,.2,1) 1.6s forwards;
    max-width: 100%;
    overflow-wrap: anywhere;
    display: block;
    text-align: center;
    /* compense l'espace ajouté après la dernière lettre (letter-spacing) */
    padding-right: 6px;
    box-sizing: border-box;
}
@keyframes fpWordReveal {
    to { opacity: 1; letter-spacing: 6px; }
}
.fp-intro-eyebrow {
    font-family: var(--fp-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7260D7;
    margin: 16px 0 4px;
    opacity: 0;
    animation: fpFade 1s ease 0.3s forwards;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.fp-intro-eyebrow::before, .fp-intro-eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: #7260D7;
    opacity: .5;
}
.fp-intro-sub {
    font-size: 15px;
    color: #B0B6E0;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 22rem;
    opacity: 0;
    animation: fpFade 1s ease 2.2s forwards;
    text-align: center;
}
.fp-intro-spinner {
    width: 44px;
    height: 44px;
    margin: 26px auto 0;
    border-radius: 50%;
    border: 3px solid rgba(244,241,255,.22);
    border-top-color: rgba(244,241,255,1);
    opacity: 0;
    animation: fpFade .25s ease .2s forwards, fpSpin 0.9s linear .2s infinite;
}

@keyframes fpSpin {
    to { transform: rotate(360deg); }
}
@keyframes fpBar { to { width: 100%; } }
@keyframes fpFade { to { opacity: 1; } }
.fp-intro-skip {
    position: absolute;
    top: 24px; right: 24px;
    pointer-events: auto;
    background: transparent;
    color: rgba(244,241,255,.5);
    border: 1px solid rgba(244,241,255,.2);
    border-radius: 99px;
    padding: 8px 14px;
    font-family: var(--fp-mono, monospace);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
    z-index: 6;
}
.fp-intro-skip:hover,
.fp-intro-skip:focus-visible {
    color: #F4F1FF;
    border-color: rgba(244,241,255,.5);
}
.fp-intro-corner {
    position: absolute;
    font-family: var(--fp-mono, monospace);
    font-size: 11px;
    letter-spacing: .14em;
    color: rgba(244,241,255,.4);
    text-transform: uppercase;
    opacity: 0;
    animation: fpFade .8s ease 1.6s forwards;
    z-index: 6;
}
.fp-intro-corner.tl { top: 24px; left: 24px; }
.fp-intro-corner.bl { bottom: 24px; left: 24px; }
.fp-intro-corner.br { bottom: 24px; right: 24px; }
.fp-intro-corner::before { content: '+ '; color: #2729AA; }

.fp-intro-logo {
    filter: brightness(0) invert(1);
}

@media (max-width: 520px) {
    .fp-intro-word {
        letter-spacing: 10px;
    }
    .fp-intro-eyebrow::before,
    .fp-intro-eyebrow::after {
        width: 14px;
    }
    .fp-intro-sub {
        font-size: 14px;
        padding: 0 4px;
    }
}

body.fp-intro-active { overflow: hidden; }

/* Sur la home, on cache le préloader natif (l'intro 3D le remplace).
   Si l'intro est skip (sessionStorage / reduced-motion), le préloader reste
   utile pour les visites suivantes — mais visuellement il est masqué dès
   qu'on a vu l'intro. */
body.home.fp-intro-shown #preloader { display: none !important; }

/* ============================================================
   Reveal au scroll
   ============================================================ */
.front-v3 [data-fp-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.front-v3 [data-fp-reveal].is-revealed {
    opacity: 1;
    transform: none;
}
.front-v3 [data-fp-reveal][data-fp-delay="1"] { transition-delay: .08s; }
.front-v3 [data-fp-reveal][data-fp-delay="2"] { transition-delay: .16s; }
.front-v3 [data-fp-reveal][data-fp-delay="3"] { transition-delay: .24s; }
.front-v3 [data-fp-reveal][data-fp-delay="4"] { transition-delay: .32s; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .front-v3 [data-fp-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .fp-intro-overlay,
    .fp-intro-logo,
    .fp-intro-word,
    .fp-intro-eyebrow,
    .fp-intro-sub,
    .fp-intro-progress,
    .fp-intro-progress::after,
    .fp-intro-halo,
    .fp-intro-corner {
        animation: none !important;
        opacity: 1 !important;
    }
    .front-v3 .fp-eyebrow .fp-dot { animation: none !important; }
}

/* ============================================================
   Petits desktops / tablettes (avant que les grids 2 colonnes
   ne soient trop serrées pour leur contenu)
   ============================================================ */
@media (max-width: 1280px) {
    .front-v3 .fp-hero-grid,
    .front-v3 .fp-credit-grid,
    .front-v3 .fp-zone-grid,
    .front-v3 .fp-faq-grid,
    .front-v3 .fp-cta-box {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .front-v3 .fp-section-head {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    .front-v3 .fp-svc-grid,
    .front-v3 .fp-tarif-grid,
    .front-v3 .fp-tarif-grid[data-pane="formation"] {
        grid-template-columns: repeat(2, 1fr);
    }
    .front-v3 .fp-credit-inner {
        padding: 40px;
    }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
    .front-v3 .fp-wrap { padding: 0 20px; }
    .front-v3 .fp-hero { padding: 56px 0 64px; }
    .front-v3 .fp-services,
    .front-v3 .fp-credit,
    .front-v3 .fp-tarifs,
    .front-v3 .fp-zone,
    .front-v3 .fp-faq,
    .front-v3 .fp-cta-final {
        padding: 72px 0;
    }
    .front-v3 .fp-credit-inner {
        padding: 32px 24px;
        border-radius: 22px;
    }
    .front-v3 .fp-cta-box {
        padding: 40px 28px;
        border-radius: 22px;
    }
    .front-v3 .fp-hero-meta { gap: 16px; }
    .front-v3 .fp-hero-meta-item strong { font-size: 22px; }
    .front-v3 .fp-svc-card { padding: 28px; min-height: 280px; }
    .front-v3 .fp-svc-card h3 { font-size: 22px; }
    .front-v3 .fp-svc-arrow { display: none; }
    .front-v3 .fp-svc-num { top: 20px; right: 22px; }
    .front-v3 .fp-tarif-grid,
    .front-v3 .fp-tarif-grid[data-pane="formation"] {
        grid-template-columns: 1fr;
    }
    .front-v3 .fp-tarif-tabs { width: 100%; display: flex; }
    .front-v3 .fp-tarif-tab { flex: 1; padding: 10px 12px; font-size: 13px; }
    .front-v3 .fp-deplacements { padding: 20px; }
    .front-v3 .fp-faq-q { font-size: 16px; }
    .front-v3 .fp-cta-actions { width: 100%; }
    .front-v3 .fp-cta-phone .fp-phone-num { font-size: 18px; }
    .front-v3 .fp-zone-info h2,
    .front-v3 .fp-faq-intro h2,
    .front-v3 .fp-cta-text h2 { font-size: 28px; }

    .front-v3 .fp-hero-visual { padding: 14px; gap: 10px; }
    .front-v3 .fp-hv-card { padding: 14px; }
    .front-v3 .fp-hv-mini-stat .fp-v { font-size: 24px; }

    .fp-intro-logo-wrap { width: 160px; height: 160px; }
    .fp-intro-skip { top: 16px; right: 16px; }
    .fp-intro-corner { font-size: 9px; }
    .fp-intro-corner.tl { top: 16px; left: 16px; }
    .fp-intro-corner.bl { bottom: 16px; left: 16px; }
    .fp-intro-corner.br { bottom: 16px; right: 16px; }

    /* Brand strip : compacte et n'éclate pas sur mobile */
    .front-v3 .fp-hero-brand {
        max-width: 100%;
        gap: 10px;
        padding: 6px 12px 6px 6px;
        margin-bottom: 20px;
    }
    .front-v3 .fp-hero-brand-logo { width: 32px; height: 32px; padding: 3px; }
    .front-v3 .fp-hero-brand-name { font-size: 14px; }
    .front-v3 .fp-hero-brand-tag { font-size: 9px; letter-spacing: 0.06em; }

    /* Footnote tarifs : taille réduite, plus de respiration */
    .front-v3 .fp-tarif-footnote {
        font-size: 11.5px;
        padding: 12px 0 0;
    }

    /* Carte zone : un peu plus haute pour que les labels respirent */
    .front-v3 .fp-map-card {
        aspect-ratio: 1.1 / 1;
        padding: 16px;
    }
}

/* Très petits écrans : on retire la tagline du brand strip pour rester lisible */
@media (max-width: 380px) {
    .front-v3 .fp-hero-brand-tag { display: none; }
    .front-v3 .fp-hero-brand { padding: 6px 12px 6px 6px; }
}

/* ============================================================
   DEFENSIVE — anti-débordement global pour la front page V3
   Toutes les règles sont scopées à .front-v3, jamais globales.
   ============================================================ */

/* Tous les éléments enfants peuvent rétrécir dans un flex/grid parent
   (sinon le contenu impose sa largeur et déborde). */
.front-v3 [class*="fp-"] { min-width: 0; }

/* box-sizing systématique sur tous les éléments de la home */
.front-v3 *,
.front-v3 *::before,
.front-v3 *::after { box-sizing: border-box; }

/* Anti-débordement horizontal au niveau des sections (sans casser les ombres) */
.front-v3 .fp-hero,
.front-v3 .fp-trust,
.front-v3 .fp-services,
.front-v3 .fp-credit,
.front-v3 .fp-tarifs,
.front-v3 .fp-zone,
.front-v3 .fp-faq,
.front-v3 .fp-cta-final {
    overflow-x: clip;
}

/* Le texte long (paragraphes, listes) doit casser au lieu de pousser le container */
.front-v3 p,
.front-v3 li,
.front-v3 .fp-faq-q,
.front-v3 .fp-deplacements-row,
.front-v3 .fp-svc-card,
.front-v3 .fp-credit-bullets li,
.front-v3 .fp-hv-card {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Pas de césure automatique sur les titres : "autour" → "au-tour" est moche */
.front-v3 h1,
.front-v3 h2,
.front-v3 h3,
.front-v3 h4,
.front-v3 h5,
.front-v3 .fp-tarif-title,
.front-v3 .fp-hero-title,
.front-v3 .fp-hero-brand-name {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Body : empêche tout scroll horizontal sur la home.
   Note : on n'utilise PAS 100vw car sur Windows il inclut la largeur de la
   scrollbar verticale et finit par pousser le body au-delà du viewport.
   Les overflow-x: hidden seuls suffisent (avec html via injection inline). */
body.home {
    overflow-x: hidden;
}

/* Toutes les grilles passent en minmax(0, 1fr) pour empêcher le contenu d'imposer
   une largeur supérieure à celle du conteneur (cause classique de scroll horizontal). */
.front-v3 .fp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.front-v3 .fp-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.front-v3 .fp-credit-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
}
.front-v3 .fp-tarif-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.front-v3 .fp-tarif-grid[data-pane="formation"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.front-v3 .fp-zone-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.front-v3 .fp-faq-grid {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
}
.front-v3 .fp-cta-box {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.front-v3 .fp-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

/* Quand on stacke (≤ 1140px), on revient à 1fr simple pour économiser le calcul */
@media (max-width: 1280px) {
    .front-v3 .fp-hero-grid,
    .front-v3 .fp-credit-grid,
    .front-v3 .fp-zone-grid,
    .front-v3 .fp-faq-grid,
    .front-v3 .fp-cta-box,
    .front-v3 .fp-section-head {
        grid-template-columns: minmax(0, 1fr);
    }
    .front-v3 .fp-svc-grid,
    .front-v3 .fp-tarif-grid,
    .front-v3 .fp-tarif-grid[data-pane="formation"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .front-v3 .fp-svc-grid,
    .front-v3 .fp-tarif-grid,
    .front-v3 .fp-tarif-grid[data-pane="formation"] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Texte des cartes : explicitement aligné à gauche (au cas où une règle
   héritée de style.css principal mettrait du center) */
.front-v3 .fp-svc-card,
.front-v3 .fp-svc-card *,
.front-v3 .fp-tarif-card,
.front-v3 .fp-tarif-card * {
    text-align: left;
}
/* Sauf pour les éléments centrés explicitement */
.front-v3 .fp-tarif-amount,
.front-v3 .fp-tarif-amount-suffix { text-align: left; }

/* Images et SVG ne dépassent jamais leur conteneur */
.front-v3 img,
.front-v3 svg { max-width: 100%; }

/* Les tags (services, deplacements, etc.) cassent si leur contenu est long */
.front-v3 .fp-svc-tag,
.front-v3 .fp-hv-pill { overflow-wrap: anywhere; }

/* Hero visual sur tablette : largeur contrainte pour ne pas devenir énorme */
@media (max-width: 1280px) {
    .front-v3 .fp-hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Tarif card : titre long → typo plus courte */
@media (max-width: 1280px) {
    .front-v3 .fp-tarif-title { font-size: 20px; }
    .front-v3 .fp-tarif-amount { font-size: 30px; }
    .front-v3 .fp-svc-card { padding: 28px; }
}

/* Mobile : on serre encore plus pour que rien ne dépasse */
@media (max-width: 600px) {
    .front-v3 .fp-hero { padding: 40px 0 56px; }
    .front-v3 .fp-hero-title { font-size: clamp(32px, 9vw, 48px); }
    .front-v3 .fp-hero-meta { gap: 12px 20px; }
    .front-v3 .fp-hero-meta-item strong { font-size: 20px; }

    /* Hero visual sur mobile : compacte */
    .front-v3 .fp-hero-visual { max-width: 480px; padding: 14px; gap: 10px; }
    .front-v3 .fp-hero-visual::before { opacity: 0.2; }

    /* Sections paddings */
    .front-v3 .fp-services,
    .front-v3 .fp-credit,
    .front-v3 .fp-tarifs,
    .front-v3 .fp-zone,
    .front-v3 .fp-faq,
    .front-v3 .fp-cta-final { padding: 56px 0; }

    .front-v3 .fp-credit-inner { padding: 28px 20px; border-radius: 18px; }
    .front-v3 .fp-credit h2 { font-size: 28px; line-height: 1.1; }
    .front-v3 .fp-credit h2 .fp-hl {
        padding: 0 8px;
        border-radius: 6px;
    }

    .front-v3 .fp-calc { padding: 22px 18px; border-radius: 16px; }
    .front-v3 .fp-calc h4 { font-size: 17px; }
    .front-v3 .fp-calc-row { font-size: 13px; }
    .front-v3 .fp-calc-row.fp-final { padding: 14px 14px; }
    .front-v3 .fp-calc-row.fp-final .fp-v { font-size: 18px; }

    /* Tarif tabs sur mobile */
    .front-v3 .fp-tarif-tabs { width: 100%; flex-direction: column; gap: 4px; padding: 4px; }
    .front-v3 .fp-tarif-tab { width: 100%; }

    /* Tarif card sur mobile */
    .front-v3 .fp-tarif-card { padding: 22px 20px; }
    .front-v3 .fp-tarif-title { font-size: 19px; }
    .front-v3 .fp-tarif-amount { font-size: 28px; }
    .front-v3 .fp-tarif-badge { font-size: 10px; padding: 4px 8px; }

    .front-v3 .fp-deplacements { padding: 18px; border-radius: 14px; }
    .front-v3 .fp-deplacements-row { padding: 10px 14px; font-size: 13px; gap: 6px; }
    .front-v3 .fp-deplacements-row .fp-frais { font-size: 12px; }

    /* CTA final */
    .front-v3 .fp-cta-box { padding: 32px 22px; border-radius: 18px; }
    .front-v3 .fp-cta-text h2 { font-size: 24px; }
    .front-v3 .fp-cta-phone { padding: 14px 16px; }
    .front-v3 .fp-cta-phone .fp-phone-num { font-size: 17px; }
    .front-v3 .fp-cta-phone .fp-phone-icon { width: 36px; height: 36px; }

    /* FAQ */
    .front-v3 .fp-faq-q { font-size: 15px; padding: 18px 0; }
    .front-v3 .fp-faq-a { font-size: 14px; padding-bottom: 18px; }
    .front-v3 .fp-faq-q::after { width: 28px; height: 28px; }

    /* Zone info / map */
    .front-v3 .fp-map-card {
        padding: 12px;
        aspect-ratio: 1.05 / 1;
    }
    .front-v3 .fp-zone-stats { gap: 14px; }
    .front-v3 .fp-zone-stat strong { font-size: 18px; }

    /* Trust bar : 1 ligne par item, plus aéré */
    .front-v3 .fp-trust-items { gap: 12px 18px; }
    .front-v3 .fp-trust-item { font-size: 12.5px; }
}

/* Ultra-petits téléphones */
@media (max-width: 400px) {
    .front-v3 .fp-wrap { padding: 0 16px; }
    .front-v3 .fp-svc-card h3 { font-size: 19px; }
    .front-v3 .fp-tarif-title { font-size: 18px; }
    .front-v3 .fp-credit h2 { font-size: 24px; }
    .front-v3 .fp-cta-text h2 { font-size: 22px; }
    .front-v3 .fp-faq-intro h2 { font-size: 24px; }
    .front-v3 .fp-zone-info h2 { font-size: 24px; }
}
