@charset "UTF-8";

/* ===== Composants partages de la refonte Morphaius ===== */

/* Bandeau de reassurance (pastilles) */
.mp-band {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 12px 14px; max-width: 1100px; margin: 0 auto; padding: 0 1rem; list-style: none;
}
.mp-band li {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    color: #f3f6fc; font-size: .94rem; font-weight: 600;
    background: linear-gradient(160deg, rgba(74, 110, 210, .34), rgba(198, 102, 186, .24));
    border: 1px solid rgba(203, 134, 224, .58);
    border-radius: 999px; padding: 10px 18px 10px 12px;
    box-shadow: 0 6px 18px rgba(8, 12, 32, .42), inset 0 1px 0 rgba(255, 255, 255, .09);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.mp-band li:hover { transform: translateY(-2px); border-color: rgba(244, 176, 255, .85); box-shadow: 0 14px 32px rgba(166, 83, 155, .4), inset 0 1px 0 rgba(255, 255, 255, .12); }
.mp-band li::before {
    content: "\2713"; flex: 0 0 auto;
    display: inline-grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, #3a5fd0, #c45fc0);
    color: #fff; font-size: .74rem; font-weight: 700; line-height: 1;
    box-shadow: 0 2px 10px rgba(196, 95, 192, .6);
}
/* Pastille cliquable (ex : partenaire Bunkerity) sans aspect hyperlien, zone cliquable pleine */
.mp-band li a { color: inherit; text-decoration: none; }
.mp-band li a:visited { color: inherit; }
.mp-band li a::after { content: ""; position: absolute; inset: 0; cursor: pointer; }

/* References clients & partenaires (chips) */
.mp-refs { text-align: center; max-width: 1040px; margin: 2.4rem auto 0; padding: 0 1rem; }
.mp-refs-label { color: #b7c2e0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.mp-refs-label::after { content: ""; display: block; width: 54px; height: 3px; margin: .7rem auto 0; border-radius: 999px; background: linear-gradient(90deg, #5b8cff, #e860e0); }
.mp-refs-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.mp-refs-list span, .mp-refs-list a, .mp-marquee-track a {
    color: #f5edfc; font-weight: 600; font-size: 1.02rem; text-decoration: none; cursor: pointer; white-space: nowrap; flex: 0 0 auto;
    background: linear-gradient(160deg, rgba(74, 110, 210, .30), rgba(198, 102, 186, .20));
    border: 1px solid rgba(203, 134, 224, .48);
    border-radius: 12px; padding: 12px 20px;
    box-shadow: 0 4px 14px rgba(8, 12, 32, .3), inset 0 1px 0 rgba(255, 255, 255, .07);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.mp-refs-list a:visited, .mp-marquee-track a:visited { color: #f5edfc; }
.mp-refs-list span:hover, .mp-refs-list a:hover, .mp-marquee-track a:hover { transform: translateY(-3px); border-color: rgba(244, 176, 255, .82); box-shadow: 0 14px 32px rgba(166, 83, 155, .36), inset 0 1px 0 rgba(255, 255, 255, .1); color: #ffffff; }

/* Coordonnees / liens */
.mp-contact-links p { margin-bottom: .4rem; color: #cfd6e6; }
.mp-contact-links a { color: #f0a6ff; text-decoration: none; font-weight: 600; }
.mp-contact-links a:hover { text-decoration: underline; }
.mp-contact-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* FAQ accordeon premium (partage) */
.mp-faq { max-width: 880px; margin: 30px auto 0; }
.mp-faq details { position: relative; border: 1px solid rgba(166, 83, 155, .30); border-radius: 14px; margin-bottom: 14px; background: linear-gradient(160deg, rgba(43, 75, 155, .16), rgba(166, 83, 155, .08)); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.mp-faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #2B4B9B, #A6539B); opacity: .65; }
.mp-faq details:hover { border-color: rgba(166, 83, 155, .6); box-shadow: 0 14px 34px rgba(166, 83, 155, .18); }
.mp-faq summary { color: #e4ebf9; font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2B4B9B, #A6539B); color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1; }
.mp-faq details[open] summary { color: #ff99ff; }
.mp-faq details[open] summary::after { content: "-"; }
.mp-faq p { color: #cfd6e6; margin: 0; padding: 0 24px 20px; line-height: 1.7; }

/* Apparition au defilement */
@supports (animation-timeline: view()) {
    .mp-reveal { animation: mpRevealIn linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes mpRevealIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
}


/* Cartes solution : survol premium (pages hors home) */
.solution .solution-card-warp { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.solution .solution-card-warp:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(166, 83, 155, .30); }
.solution .solution-card-warp:hover .content-card h3 { text-shadow: 0 0 20px rgba(255, 153, 255, .55); }

/* Hero : interligne correct + lignes equilibrees (evite un mot seul mal centre) */
.head-page .card_content h1 { line-height: 1.12; text-wrap: balance; }

/* Hero pages : centrage automatique du contenu, quel que soit la longueur du texte */
.head-page {
    height: auto;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding-top: calc(75px + 24px);
    padding-bottom: 28px;
}
.head-page > .container { width: 100%; }
.head-page .row { align-items: center; }
.head-page .card_card__olv,
.head-page .bloc-head-mag { margin-top: 0; }

@media (max-width: 1100px) {
    .head-page {
        margin-top: -65px;
        min-height: 420px;
        padding-top: calc(65px + 18px);
        padding-bottom: 24px;
    }
}

/* Pages Contact & RDV : hero sobre (titre sur une ligne) + section qui respire */
.head-page .card_card__olv .card_content h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
/* Bande reassurance : fond neutralise pour continuite avec la section au-dessus (pas de couture) */
.securite.no-impact { background-image: none; padding-top: 0; }
.solution + .securite.no-impact { margin-top: -40px; }

/* ===== Pages Meet+ : cartes egales centrees + chiffres cles ===== */
.solution .solution-tab.mp-equal { align-items: stretch; }
.solution .solution-tab.mp-equal .solution-card-warp { flex: 1 1 260px; max-width: 360px; }

.mp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1060px; margin: 0 auto; padding: 0 1rem; list-style: none; }
.mp-stats li { flex: 1 1 200px; max-width: 250px; text-align: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(166, 83, 155, .32); border-radius: 16px; padding: 24px 18px; }
.mp-stat-num { display: block; font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 2.5rem; line-height: 1; background: linear-gradient(90deg, #5b8cff, #e860e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mp-stat-label { display: block; margin-top: 10px; color: #cdd6ee; font-size: .92rem; line-height: 1.4; }

/* ===== Sous-menu Solutions (header) ===== */
.menu .mp-has-sub { position: relative; }
.menu .mp-has-sub::after { content: ""; position: absolute; top: 100%; left: -12px; right: -12px; height: 16px; }
.menu .mp-submenu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px; margin: 0; padding: 8px; list-style: none;
    background: rgba(10, 18, 42, .98);
    border: 1px solid rgba(166, 83, 155, .35);
    border-radius: 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease; z-index: 1200;
}
.menu .mp-has-sub:hover .mp-submenu,
.menu .mp-has-sub:focus-within .mp-submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu .mp-submenu li { margin: 0; }
.menu .mp-submenu li a { display: block; padding: 9px 14px !important; border-radius: 9px; font-size: .82rem !important; white-space: nowrap; }
.menu .mp-submenu li a:hover { background: rgba(166, 83, 155, .20); }

/* Sous-liens Solutions dans le menu mobile (burger) */
.olv-menu .mp-sub-mobile { padding-left: 20px; }
.olv-menu .mp-sub-mobile a { font-size: .95rem !important; opacity: .9; }
.olv-menu .mp-sub-mobile a::before { content: "\203A  "; color: #A6539B; }

/* ===== Page Offres & tarifs ===== */
.mp-profile-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px auto 0; padding: 0; }
.mp-price { text-align: center; font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1; margin: 4px 0 14px; background: linear-gradient(90deg, #5b8cff, #e860e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mp-price span { font-size: .9rem; font-weight: 600; color: #cdd6ee; -webkit-text-fill-color: #cdd6ee; }
.mp-note { text-align: center; color: #9aa6c4; font-size: .92rem; max-width: 780px; margin: 18px auto 0; line-height: 1.6; }

.mp-pricecard .content-card h3 { font-size: 1.4rem !important; line-height: 1.3; margin: 0 0 10px !important; }
.mp-pricecard .content-card h3:after { display: none; }

/* Offres : grille de prix alignee + features plans en colonne */
.mp-pricecard .mp-price { min-height: 3.4rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.mp-pricecard .mp-price span { display: block; margin-top: 4px; }
#independants .solution-card .content-card p { text-align: center; }

/* Harmonie : pas de halo repete entre sections .solution empilees (continuite verticale) */
.solution + .solution { background-image: none; padding-top: 0; }

/* Cartes egales : titres adaptes a la largeur (evite le debordement de mots longs type "Accompagnement") */
.solution .solution-tab.mp-equal .solution-card .content-card h3 { font-size: 2rem; line-height: 1.25; overflow-wrap: break-word; }

/* ===== Meet+ Sales : showcase "Analyse en images" (radar + liste des analyses) ===== */
.mp-analytics { display: flex; flex-wrap: wrap; gap: 26px; align-items: stretch; justify-content: center; max-width: 1040px; margin: 6px auto 0; padding: 0 1rem; }
.mp-analytics-card { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, rgba(74, 110, 210, .18), rgba(198, 102, 186, .12)); border: 1px solid rgba(166, 83, 155, .34); border-radius: 18px; padding: 22px 20px 18px; box-shadow: 0 18px 44px rgba(8, 12, 32, .42); }
.mp-analytics-head { display: flex; align-items: center; justify-content: center; gap: 10px; color: #e9eefc; font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.mp-analytics-head::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, #5b8cff, #e860e0); box-shadow: 0 0 12px rgba(232, 96, 224, .7); }
.mp-analytics-card svg { display: block; width: 100%; height: auto; }
.mp-analytics-list { flex: 1 1 320px; max-width: 460px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mp-analytics-list li { background: rgba(255, 255, 255, .04); border: 1px solid rgba(166, 83, 155, .28); border-left: 3px solid #A6539B; border-radius: 12px; padding: 12px 16px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.mp-analytics-list li:hover { transform: translateX(5px); border-color: rgba(244, 176, 255, .55); box-shadow: 0 12px 28px rgba(166, 83, 155, .24); }
.mp-analytics-list strong { display: block; color: #f3e9fb; font-size: 1rem; margin-bottom: 2px; }
.mp-analytics-list span { color: #c7d0e6; font-size: .9rem; line-height: 1.5; }
.mp-analytics-foot { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(166, 83, 155, .22); color: #c7d0e6; font-size: .88rem; line-height: 1.45; }
.mp-analytics-foot svg { flex: 0 0 auto; width: 28px; height: 28px; }
.mp-analytics-foot strong { color: #f3e9fb; }

/* Home : lisibilite du texte blanc directement sur le fond (la ou passe l'orbe d'energie). Scope home via body:has(#ball) */
.section-accueil h1 { text-shadow: 0 2px 22px rgba(8, 10, 30, 0.75), 0 1px 4px rgba(8, 10, 30, 0.6); }
body:has(#ball) .p-white,
body:has(#ball) .text-white,
body:has(#ball) .big-white,
body:has(#ball) .title-p p,
body:has(#ball) .securite p { color: #ffffff !important; text-shadow: 0 1px 2px rgba(8, 10, 30, 0.9), 0 2px 14px rgba(8, 10, 30, 0.8), 0 2px 26px rgba(8, 10, 30, 0.6); }
/* Home : tout le contenu remonte au-dessus de l'orbe (sinon la boule passe devant le texte) ; les fonds de section restent derriere */
body:has(#ball) .container { position: relative; z-index: 12; }

/* Home / DESKTOP uniquement : limite le clignotement des cards quand l'orbe
   (mix-blend-mode: screen) passe derriere, via isolation d'un contexte d'empilement.
   Volontairement SANS translateZ/backface (qui creaient des textures GPU mal peintes
   sur mobile -> boite grise) ni sur mobile (couches GPU = scroll ralenti). */
@media (min-width: 1025px) {
    body:has(#ball) .solution-card,
    body:has(#ball) .usage-card {
        isolation: isolate;
    }
}

/* ===== Typographie unifiee : taille de lecture confortable pour le texte courant (hors titres, boutons, chiffres, badges) ===== */
.head-page .card_content p,
.intro-valeur p,
.solution .title-p p,
.p-white, .text-white, .big-white,
.securite p,
.solution-card .content-card p,
.mp-faq p { font-size: 1.0625rem !important; line-height: 1.7 !important; }

/* Home : distinguer "Et bien plus encore" (outils complementaires) de "Meet+ au coeur" : fond sobre, sans la trame repetee */
body:has(#ball) .usage {
    background-image: linear-gradient(180deg, rgba(166, 83, 155, 0) 0%, rgba(166, 83, 155, 0.11) 34%, rgba(122, 60, 150, 0.08) 66%, rgba(43, 75, 155, 0) 100%) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
}

/* Home : section "Donnez un cerveau" (accroche-one) : degrade violet-marine transparent en haut/bas (se fond avec les blocs voisins), sphere + pois conserves */
body:has(#ball) .accroche-one {
    background-color: transparent;
    background-image:
        url(../images/trame-morph.webp),
        url(../images/back-dot.webp),
        url(../images/back-dot.webp),
        linear-gradient(180deg, rgba(22, 16, 58, 0.95) 0%, rgba(22, 16, 58, 0.95) 72%, rgba(22, 16, 58, 0) 100%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: 50%, center left -170px, center right -170px, center;
    background-blend-mode: screen, normal, normal, normal;
    background-size: auto, auto, auto, 100% 100%;
}

/* ===== Bandeau confiance : deux lignes de chips qui defilent en sens opposes ===== */
.mp-marquee { max-width: 1080px; margin: 0 auto; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mp-marquee-row { display: flex; overflow: hidden; }
.mp-marquee-row + .mp-marquee-row { margin-top: 14px; }
.mp-marquee-track { display: flex; flex: 0 0 auto; gap: 14px; width: max-content; padding: 5px 8px; will-change: transform; }
.mp-marquee-ltr .mp-marquee-track { animation: mpMarqueeR 42s linear infinite; }
.mp-marquee-rtl .mp-marquee-track { animation: mpMarqueeL 42s linear infinite; }
.mp-marquee:hover .mp-marquee-track { animation-play-state: paused; }
@keyframes mpMarqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mpMarqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .mp-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .mp-marquee-row { overflow: visible; }
}

/* =====================================================================
   PAGE OFFRES & TARIFS (refonte)
   ===================================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- Navigation ancree (sommaire sticky sous le header de 75px) --- */
.offres-nav { position: sticky; top: 75px; z-index: 25; background: rgba(10, 14, 34, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(166, 83, 155, .22); border-bottom: 1px solid rgba(166, 83, 155, .22); }
.offres-nav-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 9px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.offres-nav-inner::-webkit-scrollbar { display: none; }
.offres-nav a { flex: 0 0 auto; color: #cfd6e6; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 7px 13px; border-radius: 999px; white-space: nowrap; transition: color .25s ease, background .25s ease; }
.offres-nav a:hover, .offres-nav a:focus-visible { color: #fff; background: rgba(91, 140, 255, .16); }
.offres-nav-cta { margin-left: auto; color: #fff !important; background: linear-gradient(135deg, #2B4B9B, #A6539B); }
.offres-nav-cta:hover { background: linear-gradient(135deg, #33569f, #b75fa9); }
/* Mobile : nav defilable plus compacte, CTA retire (le bouton flottant prend le relais) */
@media (max-width: 1100px) {
    .offres-nav { top: 65px; }
    .offres-nav-inner { gap: 4px; padding: 8px 12px; scroll-snap-type: x proximity; }
    .offres-nav a { font-size: .88rem; padding: 6px 12px; scroll-snap-align: start; }
    .offres-nav-cta { display: none; }
}
@media (max-width: 480px) {
    .offres-nav-inner { padding: 7px 10px; }
    .offres-nav a { font-size: .84rem; padding: 6px 10px; }
}

/* --- Bascule HT / TTC --- */
.offres-toggle { display: flex; width: max-content; margin: 18px auto 0; padding: 5px; gap: 4px; background: rgba(10, 14, 34, .55); border: 1px solid rgba(166, 83, 155, .34); border-radius: 999px; }
.offres-toggle-btn { border: 0; cursor: pointer; background: transparent; color: #cdd6ee; font-weight: 700; font-size: .95rem; padding: 8px 22px; border-radius: 999px; transition: background .25s ease, color .25s ease; }
.offres-toggle-btn.is-active { background: linear-gradient(135deg, #2B4B9B, #A6539B); color: #fff; box-shadow: 0 6px 16px rgba(166, 83, 155, .4); }
.offres-toggle-btn:focus-visible { outline: 2px solid #8a7bff; outline-offset: 2px; }

/* --- Grille des 4 formules --- */
.offres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1160px; margin: 8px auto 0; }
.offre-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(74, 110, 210, .16), rgba(198, 102, 186, .10)); border: 1px solid rgba(166, 83, 155, .34); border-radius: 18px; padding: 28px 22px 24px; box-shadow: 0 18px 44px rgba(8, 12, 32, .40); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease; }
.offre-card:hover { transform: translateY(-6px); border-color: rgba(244, 176, 255, .6); box-shadow: 0 26px 60px rgba(166, 83, 155, .30); }
.offre-card--featured { border-color: rgba(244, 176, 255, .75); background: linear-gradient(160deg, rgba(91, 140, 255, .26), rgba(232, 96, 224, .16)); box-shadow: 0 0 0 1px rgba(244, 176, 255, .35), 0 26px 64px rgba(166, 83, 155, .42); }
.offre-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, #2B4B9B, #A6539B); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(166, 83, 155, .5); }
.offre-name { color: #fff; font-family: Outfit, Arial, sans-serif; font-weight: 700; font-size: 1.5rem; margin: 6px 0 6px; text-align: center; }
.offre-name::after { display: none; }
.offre-price { text-align: center; font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 2.5rem; line-height: 1; margin: 6px 0 2px; background: linear-gradient(90deg, #5b8cff, #e860e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.offre-price-unit { display: block; font-size: .82rem; font-weight: 600; color: #cdd6ee; -webkit-text-fill-color: #cdd6ee; margin-top: 8px; }
.offre-target { text-align: center; color: #c6cfe6; font-size: .95rem; min-height: 2.6em; margin: 8px 0 16px; }
.offre-feat { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offre-feat li { position: relative; color: #dde4f4; font-size: 1rem; line-height: 1.4; padding-left: 28px; }
.offre-feat li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #3a5fd0, #c45fc0); color: #fff; font-size: .66rem; font-weight: 700; }
.offre-cta-group { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.offre-card .offre-cta { display: block; width: 100%; text-align: center; margin: 0; }
@media (max-width: 1100px) { .offres-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offres-grid { grid-template-columns: 1fr; } .offre-price { font-size: 2.2rem; } }

/* --- Tableau comparatif --- */
.offres-compare { max-width: 1000px; margin: 0 auto; border: 1px solid rgba(166, 83, 155, .30); border-radius: 16px; background: linear-gradient(160deg, rgba(43, 75, 155, .14), rgba(166, 83, 155, .07)); overflow: hidden; }
.offres-compare > summary { color: #e4ebf9; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.offres-compare > summary::-webkit-details-marker { display: none; }
.offres-compare > summary::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2B4B9B, #A6539B); color: #fff; font-weight: 700; font-size: 1.1rem; }
.offres-compare[open] > summary::after { content: "\2013"; }
.offres-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 14px 16px; }
.offres-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.offres-table th, .offres-table td { padding: 12px 14px; text-align: center; font-size: .96rem; border-bottom: 1px solid rgba(166, 83, 155, .18); }
.offres-table thead th { color: #fff; font-weight: 700; font-size: 1.05rem; }
.offres-table thead th.is-featured { color: #ff99ff; }
.offres-table thead th.is-featured, .offres-table td.is-featured { background: rgba(232, 96, 224, .10); }
.offres-table tbody th[scope="row"] { text-align: left; color: #dde4f4; font-weight: 600; }
.offres-table td { color: #cfd6e6; }
.offres-table tbody tr:last-child th, .offres-table tbody tr:last-child td { border-bottom: 0; }

/* --- Bareme des credits --- */
.cred-tranches { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cred-tranche { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(160deg, rgba(74, 110, 210, .16), rgba(198, 102, 186, .10)); border: 1px solid rgba(166, 83, 155, .34); border-radius: 14px; padding: 18px 20px; text-align: center; }
.cred-range { color: #c6cfe6; font-size: .92rem; }
.cred-rate { font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 1.45rem; background: linear-gradient(90deg, #5b8cff, #e860e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cred-rate .js-unit-short { font-size: .8rem; font-weight: 600; color: #cdd6ee; -webkit-text-fill-color: #cdd6ee; }

/* --- Simulateur de credits --- */
.mp-sim { max-width: 760px; margin: 0 auto; background: linear-gradient(160deg, rgba(74, 110, 210, .18), rgba(198, 102, 186, .12)); border: 1px solid rgba(166, 83, 155, .4); border-radius: 20px; padding: 26px 26px 22px; box-shadow: 0 18px 44px rgba(8, 12, 32, .42); }
.mp-sim-head h3 { color: #fff; font-family: Outfit, Arial, sans-serif; font-weight: 700; font-size: 1.5rem; margin: 0 0 6px; text-align: center; }
.mp-sim-head h3::after { display: none; }
.mp-sim-head p { color: #c6cfe6; font-size: .96rem; text-align: center; margin: 0 0 18px; }
.mp-sim-fields { display: flex; flex-wrap: wrap; gap: 16px; }
.mp-sim-field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 7px; }
.mp-sim-field label { color: #dde4f4; font-weight: 600; font-size: .95rem; }
.mp-sim-field input { width: 100%; background: rgba(10, 14, 34, .55); border: 1px solid rgba(166, 83, 155, .45); border-radius: 12px; color: #fff; font-size: 1.1rem; font-weight: 600; padding: 12px 14px; }
.mp-sim-field input:focus-visible { outline: 2px solid #8a7bff; outline-offset: 1px; border-color: rgba(244, 176, 255, .7); }
.mp-sim-result { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; background: rgba(10, 14, 34, .40); border: 1px solid rgba(166, 83, 155, .30); border-radius: 14px; padding: 18px 20px; }
.mp-sim-reco, .mp-sim-total { display: flex; flex-direction: column; gap: 4px; }
.mp-sim-label { color: #9aa6c4; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.mp-sim-formula { color: #fff; font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 1.55rem; }
.mp-sim-amount { font-family: Outfit, Arial, sans-serif; font-weight: 800; font-size: 1.45rem; background: linear-gradient(90deg, #5b8cff, #e860e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mp-sim-detail { flex: 1 1 100%; color: #cfd6e6; font-size: .95rem; line-height: 1.6; margin: 6px 0 0; }
.mp-sim-foot { color: #9aa6c4; font-size: .88rem; text-align: center; margin: 14px 0 0; }
.mp-sim-foot a { color: #f0a6ff; }

/* --- Encart Meet+ OR --- */
.offre-or { background: linear-gradient(160deg, rgba(91, 140, 255, .20), rgba(232, 96, 224, .14)); border: 1px solid rgba(244, 176, 255, .5); border-radius: 20px; padding: 30px; box-shadow: 0 18px 44px rgba(8, 12, 32, .42); text-align: center; }
.offre-or h3 { color: #fff; font-family: Outfit, Arial, sans-serif; font-weight: 700; font-size: 1.6rem; margin: 0 0 12px; }
.offre-or h3::after { display: none; }
.offre-or p { color: #dde4f4; font-size: 1.05rem; line-height: 1.7; margin: 0 auto 14px; max-width: 640px; }
.offre-or-meta { color: #fff; }

/* --- CTA demo flottant (mobile) --- */
.offres-demo-float { display: none; }
@media (max-width: 1100px) {
    .offres-demo-float { display: inline-flex; align-items: center; position: fixed; right: 14px; bottom: 14px; z-index: 40; background: linear-gradient(135deg, #2B4B9B, #A6539B); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(8, 12, 32, .5); }
}

/* =====================================================================
   RESPONSIVE MOBILE GLOBAL (toutes les pages)
   Le desktop reste strictement inchange : tout est sous @media mobile,
   hors la regle anti scroll horizontal ci-dessous (sans effet visible desktop).
   ===================================================================== */

/* Anti scroll horizontal / decalage vers la droite constate sur telephone.
   overflow-x: clip (et non hidden) reste compatible avec position: sticky
   (clip ne cree pas de conteneur de defilement). */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* Lien d'evitement (accessibilite clavier) : invisible jusqu'au focus, puis affiche en haut a gauche. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: #0a122a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
    outline: 2px solid #f0f;
    outline-offset: 2px;
}
main:focus {
    outline: none;
}

@media (max-width: 767px) {
    /* 1) Traits roses decoratifs (h2-01 / h2-02) de part et d'autre des titres :
       sur mobile ils s'alignent mal (passent au-dessus / en dessous du titre).
       On les masque uniquement sur mobile ; conserves sur la version ordinateur. */
    .h2-01 { display: none !important; }

    /* 2) Cadres de titre (hero) : ne doivent plus deborder ; padding reduit,
       titres ramenes au bon endroit et coupes proprement si besoin. */
    .head-page .card_card__olv {
        padding: 22px 18px;
        margin-top: 0;
        max-width: 100%;
    }
    .head-page .bloc-head-mag,
    .head-mag .bloc-head-mag {
        padding: 24px 18px;
        max-width: 100%;
    }
    .head-page .card_content h1,
    .head-page .bloc-head-mag h1,
    .head-page .bloc-head-mag .h1,
    .head-mag .bloc-head-mag h1,
    .head-mag .bloc-head-mag .h1 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* 3) Garde-fou : les medias ne debordent jamais la largeur de leur conteneur. */
    img { max-width: 100%; height: auto; }
    svg,
    iframe,
    video { max-width: 100%; }
}

/* =====================================================================
   TABLETTE PAYSAGE (1101 - 1200px)
   Le menu horizontal wrappe dans cette plage (logo agrandi a 450px <=1200px) :
   on bascule sur le menu burger, comme en mobile. Le burger existant n'etait
   active que <=1100px (y compris l'ouverture du panneau .olv-menu.open) : on
   etend donc les 3 comportements a cette plage.
   ===================================================================== */
@media (min-width: 1101px) and (max-width: 1200px) {
    .top-bar { display: none; }
    .header-nav .nav-collapse { display: none; }
    .header-nav .btn-collapse-nav { display: block; padding-right: 20px; cursor: pointer; }
    .olv-menu.open { translate: 310px 0; }
}

/* Tablette (portrait + paysage) : cadres de titre qui ne debordent jamais leur bloc. */
@media (min-width: 768px) and (max-width: 1200px) {
    .head-page .card_card__olv,
    .head-page .bloc-head-mag,
    .head-mag .bloc-head-mag { max-width: 100%; }
}
