/* =========================================================================
   LibertinGuide — Annuaire 18+ (préfixe ms-). Thème sombre rose/violet.
   Aucune dépendance CDN. Couleurs themables en --brand-* (injectées par le générateur).
   ========================================================================= */

:root {
    --brand-primary: #E11D48;      /* rose */
    --brand-primary-dark: #be123c;
    --brand-accent: #A855F7;       /* violet */
    --ms-bg: #14101a;
    --ms-bg-2: #1c1726;
    --ms-bg-3: #251d33;
    --ms-text: #f1edf7;
    --ms-dim: #a99fbb;
    --ms-border: rgba(168, 85, 247, 0.16);
    --ms-grad: linear-gradient(135deg, #E11D48 0%, #A855F7 100%);
    --ms-grad-soft: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(168, 85, 247, 0.16));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Inter', -apple-system, system-ui, sans-serif; background: var(--ms-bg); color: var(--ms-text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', 'Inter', sans-serif; font-weight: 700; color: #fff; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--brand-primary); color: #fff; }

/* ---- Grille / utilitaires ---- */
.ms-container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.ms-section { padding: 64px 0; }
.ms-section--alt { background: var(--ms-bg-2); }
.ms-center { text-align: center; }
.ms-grad-text { background: var(--ms-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ms-tag { display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; font-size: 0.74rem; color: var(--brand-accent); margin-bottom: 0.8rem; }
.ms-section-title { font-size: 2.1rem; margin-bottom: 10px; }
.ms-section-sub { color: var(--ms-dim); margin-bottom: 40px; max-width: 620px; }
.ms-center .ms-section-sub { margin-left: auto; margin-right: auto; }
.ms-grid { display: grid; gap: 22px; }
.ms-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ms-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Boutons ---- */
.ms-btn { display: inline-block; background: var(--ms-grad); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; border: none; border-radius: 50px; padding: 0.8rem 1.8rem; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ms-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(225, 29, 72, .35); color: #fff; }
.ms-btn--ghost { background: transparent; color: #fff; border: 1px solid var(--ms-border); }
.ms-btn--ghost:hover { background: var(--ms-grad-soft); box-shadow: none; }
.ms-btn--light { background: #fff; color: var(--brand-primary); }
.ms-btn--light:hover { color: var(--brand-primary-dark); }
.ms-btn--lg { padding: 0.95rem 2.2rem; font-size: 1.05rem; }
.ms-btn--sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* ---- Bandeau 18+ ---- */
.ms-age-banner { background: var(--ms-grad); color: #fff; font-size: 0.85rem; padding: 0.5rem 1rem; position: sticky; top: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; box-shadow: 0 2px 14px rgba(225, 29, 72, .25); }
.ms-age-badge { background: #fff; color: var(--brand-primary); font-weight: 800; border-radius: 50px; padding: 0.1rem 0.7rem; font-size: 0.76rem; }
.ms-age-enter { background: rgba(0, 0, 0, .25); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50px; padding: 0.18rem 1rem; font-size: 0.78rem; font-weight: 600; transition: .2s; }
.ms-age-enter:hover { background: #fff; color: var(--brand-primary); }

/* ---- Header / navigation ---- */
.ms-header { background: rgba(28, 23, 38, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ms-border); position: sticky; top: 33px; z-index: 1080; transition: background .3s, box-shadow .3s; }
.ms-header--scrolled { background: rgba(20, 16, 26, .98); box-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.ms-header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.ms-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.5px; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.ms-brand i { color: var(--brand-primary); }
.ms-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; list-style: none; }
.ms-nav > li > a, .ms-menu-label { color: var(--ms-dim); font-weight: 500; padding: 10px 14px; display: inline-block; cursor: pointer; background: none; border: none; font: inherit; }
.ms-nav > li > a:hover, .ms-menu-label:hover { color: #fff; }
.ms-nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* Menus / mega menu */
.ms-menu { position: relative; }
.ms-mega, .ms-submenu { position: absolute; top: 100%; left: 0; background: var(--ms-bg-2); border-top: 2px solid var(--brand-primary); border-radius: 0 0 16px 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); padding: 22px 24px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 1100; }
.ms-mega { width: min(940px, 94vw); padding: 0; overflow: hidden; }
.ms-submenu { min-width: 280px; }
.ms-menu:hover > .ms-mega, .ms-menu:hover > .ms-submenu, .ms-menu--open > .ms-mega, .ms-menu--open > .ms-submenu { opacity: 1; visibility: visible; transform: translateY(0); }

/* Grille auto-adaptative + défilement : tient une grosse quantité de catégories/liens */
.ms-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 24px; padding: 22px 24px; max-height: 64vh; overflow-y: auto; }
.ms-mega-col { break-inside: avoid; }
.ms-mega-hub { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; padding: 6px 0; border-bottom: 1px solid var(--ms-border); margin-bottom: 4px; }
.ms-mega-hub:hover { color: var(--brand-accent); }
.ms-mega-hub i { color: var(--brand-accent); }
.ms-mega-links { display: flex; flex-direction: column; max-height: 230px; overflow-y: auto; }
.ms-mega-sub { color: var(--ms-dim); padding: 5px 8px; border-radius: 8px; font-size: 0.86rem; }
.ms-mega-sub:hover { background: var(--ms-grad-soft); color: #fff; }
.ms-mega-all { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-accent); font-size: 0.8rem; font-weight: 600; padding: 6px 8px; }
.ms-mega-all:hover { color: #fff; }

/* Barre de liens globaux en bas du mega */
.ms-mega-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 24px; background: var(--ms-bg-3); border-top: 1px solid var(--ms-border); }
.ms-mega-bar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ms-text); font-size: 0.85rem; font-weight: 600; }
.ms-mega-bar a:hover { color: var(--brand-accent); }
.ms-mega-bar a i { color: var(--brand-accent); }
.ms-mega-promo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-accent); font-size: 0.82rem; font-weight: 700; }

/* Menu Villes : grille multi-colonnes scrollable */
.ms-submenu--cities { width: min(680px, 92vw); padding: 18px 20px; }
.ms-cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 10px; max-height: 60vh; overflow-y: auto; }
.ms-submenu a { display: flex; align-items: center; gap: 6px; color: var(--ms-dim); padding: 7px 10px; border-radius: 8px; font-size: 0.88rem; }
.ms-submenu a:hover { background: var(--ms-grad-soft); color: #fff; }

/* Scrollbar discrète dans les menus */
.ms-mega-grid::-webkit-scrollbar, .ms-mega-links::-webkit-scrollbar, .ms-cities-grid::-webkit-scrollbar { width: 8px; }
.ms-mega-grid::-webkit-scrollbar-thumb, .ms-mega-links::-webkit-scrollbar-thumb, .ms-cities-grid::-webkit-scrollbar-thumb { background: var(--ms-border); border-radius: 8px; }
.ms-menu-caret { font-size: 0.7rem; opacity: 0.6; }
.ms-nav-toggle { display: none; background: none; border: 1px solid var(--ms-border); border-radius: 8px; cursor: pointer; font-size: 1.4rem; color: #fff; padding: 2px 10px; }

/* ---- Hero + recherche ---- */
.ms-hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.ms-hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,26,.82), rgba(20,16,26,.95)), url('https://images.unsplash.com/photo-1566417713940-fe7c737a9ef2?w=1920&h=1080&fit=crop&auto=format&q=70') center/cover no-repeat; z-index: 0; }
.ms-hero-content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.ms-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 1rem; }
.ms-hero p { color: var(--ms-dim); font-size: 1.1rem; margin-bottom: 1.8rem; }
.ms-search { display: flex; gap: 10px; background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 50px; padding: 8px; max-width: 620px; margin: 0 auto; flex-wrap: wrap; }
.ms-search input, .ms-search select { flex: 1; min-width: 140px; background: transparent; border: none; color: var(--ms-text); padding: 10px 16px; font: inherit; }
.ms-search input:focus, .ms-search select:focus { outline: none; }
.ms-search select option { background: var(--ms-bg-2); }
.ms-hero-chips { margin-top: 1.2rem; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ms-chip { background: var(--ms-bg-3); border: 1px solid var(--ms-border); color: var(--ms-dim); border-radius: 50px; padding: 5px 14px; font-size: 0.82rem; }
.ms-chip:hover { color: #fff; border-color: var(--brand-primary); }

/* ---- Stats ---- */
.ms-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ms-stat { text-align: center; background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 14px; padding: 22px; }
.ms-stat-num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2rem; }
.ms-stat-lbl { color: var(--ms-dim); font-size: 0.85rem; margin-top: 4px; }

/* ---- Cartes club (photos) ---- */
.ms-club-card { background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ms-club-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); border-color: rgba(225, 29, 72, .4); }
.ms-club-media { position: relative; height: 180px; }
.ms-club-media img { width: 100%; height: 100%; object-fit: cover; }
.ms-club-badge { position: absolute; top: 12px; left: 12px; background: var(--ms-grad); color: #fff; font-size: 0.72rem; font-weight: 700; border-radius: 50px; padding: 3px 12px; }
.ms-club-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ms-club-body h3 { font-size: 1.15rem; }
.ms-club-meta { display: flex; align-items: center; gap: 12px; color: var(--ms-dim); font-size: 0.85rem; }
.ms-club-meta .ms-stars { color: var(--brand-primary); }
.ms-club-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-club-tags span { background: var(--ms-bg-3); color: var(--ms-dim); font-size: 0.74rem; border-radius: 50px; padding: 3px 10px; }
.ms-club-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.ms-club-actions .ms-btn { flex: 1; text-align: center; }

/* ---- Catégories ---- */
.ms-cat { display: block; background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 14px; padding: 24px; text-align: center; transition: all .2s; }
.ms-cat:hover { transform: translateY(-4px); border-color: rgba(168, 85, 247, .5); }
.ms-cat-icon { font-size: 2rem; color: var(--brand-accent); margin-bottom: 10px; }
.ms-cat h3 { font-size: 1.1rem; }
.ms-cat p { color: var(--ms-dim); font-size: 0.85rem; margin-top: 4px; }

/* ---- Maillage villes ---- */
.ms-maillage { columns: 4; column-gap: 26px; }
.ms-maillage .ms-region { break-inside: avoid; margin-bottom: 24px; }
.ms-maillage h4 { color: #fff; font-size: 0.95rem; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ms-border); }
.ms-maillage a { display: block; color: var(--ms-dim); padding: 4px 0; font-size: 0.88rem; }
.ms-maillage a:hover { color: var(--brand-accent); }
.ms-maillage .ms-mega-all { padding: 6px 0; }

/* Nuage de recherches longue traîne */
.ms-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ms-cloud .ms-chip { text-transform: capitalize; }

/* Bloc de liens connexes (pages service / ville) — maillage interne */
.ms-related { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--ms-border); }
.ms-related h2 { font-size: 1.4rem; margin-bottom: 18px; }
.ms-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.ms-related-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ms-border); }
.ms-related-col a { display: block; color: var(--ms-dim); padding: 4px 0; font-size: 0.88rem; }
.ms-related-col a:hover { color: var(--brand-accent); }

/* ---- Events ---- */
.ms-event { background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.ms-event-date { background: var(--ms-grad); color: #fff; border-radius: 12px; padding: 10px 14px; text-align: center; font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1; }
.ms-event-date span { display: block; font-size: 0.7rem; font-weight: 500; margin-top: 4px; }
.ms-event h4 { font-size: 1rem; }
.ms-event p { color: var(--ms-dim); font-size: 0.84rem; }

/* ---- CTA ---- */
.ms-cta-band { background: var(--ms-grad); border-radius: 22px; padding: 48px 32px; text-align: center; }
.ms-cta-band h2 { color: #fff; }
.ms-cta-band p { color: rgba(255, 255, 255, .9); margin: 10px auto 22px; max-width: 540px; }

/* ---- Footer massif ---- */
.ms-footer { background: var(--ms-bg-2); border-top: 1px solid var(--ms-border); padding: 56px 0 26px; }
.ms-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.ms-footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.ms-footer a { color: var(--ms-dim); font-size: 0.84rem; display: block; padding: 2px 0; }
.ms-footer a:hover { color: var(--brand-accent); }
.ms-footer p { color: var(--ms-dim); font-size: 0.85rem; }
.ms-footer-about { margin-top: 0.8rem; }
.ms-footer-bottom { border-top: 1px solid var(--ms-border); padding-top: 18px; margin-top: 28px; font-size: 0.8rem; color: var(--ms-dim); text-align: center; }

/* ---- Pages intérieures ---- */
.ms-page-hero { position: relative; overflow: hidden; padding: 56px 0; background: var(--ms-bg-2); border-bottom: 1px solid var(--ms-border); }
.ms-page-hero h1 { font-size: 2.1rem; }
.ms-page-hero .ms-breadcrumb { color: var(--ms-dim); font-size: 0.85rem; margin-bottom: 8px; }
.ms-page-hero .ms-breadcrumb a { color: var(--brand-accent); }
.ms-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 56px 0; }
.ms-sidebar > * { margin-bottom: 24px; }
.ms-sidebar h4 { font-size: 0.95rem; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--ms-border); }
.ms-sidebar nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ms-dim); font-size: 0.9rem; }
.ms-sidebar nav a:hover { background: var(--ms-grad-soft); color: #fff; }
.ms-sidebar nav a.ms-active { background: var(--ms-grad); color: #fff; font-weight: 600; }
.ms-cta-box { background: var(--ms-grad); border-radius: 14px; padding: 22px; text-align: center; }
.ms-cta-box p { color: rgba(255, 255, 255, .9); font-size: 0.9rem; margin-bottom: 12px; }

/* =========================================================================
   Slot contenu IA — .ms-redac
   ========================================================================= */
.ms-redac { color: var(--ms-text); font-size: 1.02rem; }
.ms-redac h2 { font-size: 1.6rem; margin: 30px 0 14px; color: #fff; }
.ms-redac h3 { font-size: 1.25rem; margin: 22px 0 10px; color: #fff; }
.ms-redac p { margin-bottom: 16px; color: #d6cee6; }
.ms-redac ul, .ms-redac ol { margin: 0 0 16px 22px; color: #d6cee6; }
.ms-redac li { margin-bottom: 6px; }
.ms-redac a { color: var(--brand-accent); }
.ms-redac table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.ms-redac th, .ms-redac td { border: 1px solid var(--ms-border); padding: 10px 12px; text-align: left; }
.ms-redac th { background: var(--ms-bg-3); color: #fff; }

/* Modules du kit éditorial (préfixés ms-) */
.ms-service-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.ms-service-pillar { background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 12px; padding: 20px; text-align: center; }
.ms-pillar-icon { font-size: 1.8rem; color: var(--brand-accent); margin-bottom: 8px; }
.ms-blog-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.ms-blog-stat { text-align: center; background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 12px; padding: 18px; }
.ms-stat-number { font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800; }
.ms-stat-label { font-size: 0.8rem; color: var(--ms-dim); }
.ms-blog-keyfigure { display: flex; align-items: baseline; gap: 14px; background: var(--ms-grad); color: #fff; border-radius: 14px; padding: 20px 24px; margin: 22px 0; }
.ms-keyfigure-number { font-family: 'Outfit', sans-serif; font-size: 2.3rem; font-weight: 800; }
.ms-blog-highlight { border-left: 4px solid var(--brand-primary); background: var(--ms-grad-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; }
.ms-blog-steps { counter-reset: step; margin: 22px 0; }
.ms-step { position: relative; padding: 12px 0 12px 50px; counter-increment: step; }
.ms-step::before { content: counter(step); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; background: var(--ms-grad); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 800; }
.ms-blog-accordion { border: 1px solid var(--ms-border); border-radius: 12px; margin: 10px 0; overflow: hidden; }
.ms-accordion-content { padding: 14px 18px; }
.ms-article-cta { background: var(--ms-grad); color: #fff; border-radius: 14px; padding: 28px; text-align: center; margin: 28px 0; }
.ms-article-cta h3 { color: #fff; }
.ms-cta-button { display: inline-block; background: #fff; color: var(--brand-primary); font-weight: 700; border-radius: 50px; padding: 12px 28px; margin-top: 12px; }

/* ---- Formulaire ---- */
.ms-form { display: grid; gap: 14px; max-width: 560px; }
.ms-form input, .ms-form textarea { width: 100%; padding: 12px 14px; background: var(--ms-bg-2); border: 1px solid var(--ms-border); border-radius: 10px; color: var(--ms-text); font: inherit; }
.ms-form input:focus, .ms-form textarea:focus { outline: none; border-color: var(--brand-primary); }
.ms-form textarea { min-height: 130px; resize: vertical; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ms-nav-toggle { display: inline-block; order: 3; margin-left: auto; }
    .ms-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ms-bg-2); border: 1px solid var(--ms-border); padding: 10px; margin: 0; display: none; }
    .ms-nav.ms-nav--open { display: flex; }
    .ms-nav-cta { margin-left: 0; }
    .ms-mega, .ms-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; display: block; padding: 8px 10px; border-radius: 0; }
    .ms-page-grid, .ms-footer-grid { grid-template-columns: 1fr; }
    .ms-grid--3, .ms-grid--4, .ms-stats { grid-template-columns: repeat(2, 1fr); }
    .ms-maillage { columns: 2; }
}
@media (max-width: 560px) {
    .ms-grid--3, .ms-grid--4, .ms-stats { grid-template-columns: 1fr; }
    .ms-maillage { columns: 1; }
}


:root{--brand-primary:#E11D48;--brand-primary-dark:#be123c;--brand-accent:#A855F7;}

/* =========================================================================
   CTA hero optimisé conversion (composant x-hero-cta) — bandeau d'appel à
   l'action présent dans le hero de chaque page.
   ========================================================================= */
.ms-hero-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding: 18px 24px; background: var(--ms-grad-soft); border: 1px solid var(--ms-border); border-radius: 18px; }
.ms-hero-cta-text { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.ms-hero-cta-text strong { font-family: 'Outfit', sans-serif; font-size: 1.12rem; color: #fff; }
.ms-hero-cta-text span { color: var(--ms-dim); font-size: 0.92rem; }
.ms-hero-cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ms-hero-cta-note { font-size: 0.76rem; color: var(--ms-dim); display: inline-flex; align-items: center; gap: 6px; }
.ms-hero-cta-note i { color: var(--brand-accent); }
.ms-hero-cta-btn { white-space: nowrap; animation: ms-cta-pulse 2.4s ease-in-out infinite; }
.ms-hero-cta-btn i { vertical-align: -1px; }
@keyframes ms-cta-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .5); } 50% { box-shadow: 0 0 0 14px rgba(225, 29, 72, 0); } }
@media (max-width: 720px) {
    .ms-hero-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .ms-hero-cta-text { text-align: center; }
    .ms-hero-cta-action { align-items: stretch; }
    .ms-hero-cta-btn { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ms-hero-cta-btn { animation: none; } }

/* =========================================================================
   Optimisation mobile + CTA au-dessus de la ligne de flottaison
   ========================================================================= */

/* CTA header : caché sur desktop (la nav contient déjà son CTA), visible sur mobile */
.ms-header-cta { display: none; }
.ms-header-cta i { color: #fff; }

@media (max-width: 991px) {
    /* Bannière 18+ non collante sur mobile → évite le chevauchement du header sticky */
    .ms-age-banner { position: relative; font-size: 0.78rem; padding: 0.45rem 0.8rem; gap: 0.6rem; }
    .ms-header { top: 0; }

    .ms-header-inner { gap: 10px; padding: 10px 0; }
    .ms-brand { font-size: 1.25rem; }
    .ms-header-cta { display: inline-flex; align-items: center; gap: 6px; order: 2; margin-left: auto; }
    .ms-nav-toggle { order: 3; margin-left: 0; }

    /* Heros / sections plus compacts (gain de hauteur above-the-fold) */
    .ms-hero { padding: 52px 0 44px; }
    .ms-page-hero { padding: 38px 0; }
    .ms-section { padding: 46px 0; }

    /* Footer : 2 colonnes (la marque occupe toute la largeur) au lieu d'une colonne unique très longue */
    .ms-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .ms-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .ms-hero { padding: 40px 0 38px; }
    .ms-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
    .ms-hero p { font-size: 1rem; }

    /* Recherche empilée, champs et bouton pleine largeur */
    .ms-search { flex-direction: column; border-radius: 20px; gap: 6px; padding: 10px; }
    .ms-search input, .ms-search select { width: 100%; min-width: 0; text-align: center; }
    .ms-search .ms-btn { width: 100%; text-align: center; }

    /* Boutons des cartes club empilés (cibles tactiles plus larges) */
    .ms-club-actions { flex-direction: column; }

    /* Bandeaux CTA plus compacts */
    .ms-cta-band { padding: 30px 20px; border-radius: 18px; }
    .ms-article-cta { padding: 22px; }

    /* Footer en 1 colonne sur petit écran */
    .ms-footer-grid { grid-template-columns: 1fr; }
    .ms-footer-grid > div:first-child { grid-column: auto; }

    /* Grandes typos : éviter les débordements horizontaux */
    .ms-stat-num, .ms-stat-number, .ms-keyfigure-number { font-size: 1.75rem; }
    .ms-page-hero h1 { font-size: 1.6rem; }

    /* Cibles tactiles ≥ 44px pour la nav mobile */
    .ms-nav > li > a, .ms-menu-label { padding: 12px 14px; }

    /* Bandeau 18+ : masquer le texte long, garder badge + bouton d'entrée */
    .ms-age-banner > span:not(.ms-age-badge) { display: none; }
}

/* Écrans tactiles : pas d'effet hover « collant » */
@media (hover: none) {
    .ms-btn:hover { transform: none; box-shadow: none; }
    .ms-club-card:hover { transform: none; }
}

/* =========================================================================
   Photos des cartes club floutées (effet teaser / confidentialité)
   ========================================================================= */
.ms-club-media { overflow: hidden; }
.ms-club-media img { filter: blur(10px); transform: scale(1.14); }
