/* Palette Coolors : https://coolors.co/000000-2a1a1f-764134-ad8350-afa060
   000000 (noir)
   2a1a1f (bordeaux foncé)
   764134 (marron/rouge-brun)
   ad8350 (beige/doré)
   afa060 (jaune-olive) */

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuQ.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/barlowcondensed/v13/HTxyL3I-JCGChYJ8VI-L6OO_au7B6xTrY3Tmu4kG.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/barlowcondensed/v13/HTxyL3I-JCGChYJ8VI-L6OO_au7B6xTrf3fmu4kG.woff2") format("woff2");
}

:root {
    --color-primary: #1a1a1a;
    --color-primary-soft: #2d2d2d;
    --color-accent: #9d4edd;
    --color-dark: #ffffff;
    --color-bg: #0a0a0a;
    --color-bg-alt: #1a1a1a;
    --color-white: #ffffff;

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.2s ease-out;

    /* Slogan sous le logo (mettre la valeur entre guillemets) */
    --logo-slogan: "Deviens ta meilleure version";
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-dark);
    overflow-x: hidden;
    padding-top: 0; /* Pas de padding, le carousel commence en haut */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    font-family: "Barlow Condensed", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--color-dark);
    font-size: 1.55rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.logo > span,
.logo a > span {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}

.logo > span::after,
.logo a > span::after {
    content: var(--logo-slogan);
    display: block;
    margin-top: 0.12rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.72);
}

.logo-image {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--color-accent);
}

.logo-image {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.95rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.35rem 1rem;
    line-height: 1;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    transition: background-color var(--transition-fast), color var(--transition-fast), transform 0.15s ease-out;
    font-size: 1.05rem;
    font-family: "Barlow Condensed", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.main-nav a:hover {
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--color-dark);
    transform: translateY(-1px);
}

.main-nav a.active {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 58%, #c77dff 100%);
    color: var(--color-bg);
}

/* Menu déroulant utilisateur */
.user-menu {
    position: relative;
    z-index: 1001;
}

.user-menu-toggle {
    padding: 0.72rem 1.6rem;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(215, 175, 255, 0.45);
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 58%, #c77dff 100%);
    font-size: 1.05rem;
    font-family: "Barlow Condensed", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.user-menu-toggle:hover {
    background: linear-gradient(135deg, #8740c9 0%, #a45af1 58%, #cf95ff 100%);
    color: #ffffff;
    transform: translateY(-1px);
    border-color: rgba(230, 204, 255, 0.75);
    box-shadow: 0 12px 24px rgba(123, 44, 191, 0.45);
}

/* Lien de connexion simple (sans dropdown) */
.user-login-link {
    padding: 0.68rem 1.35rem;
    border-radius: 999px;
    color: #101010;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 800;
    font-style: italic;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #f2dd63 0%, #f0d84d 55%, #e9cd45 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), border-color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.user-login-link:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.user-login-link::after {
    content: none;
}

/* Version header non-connecté : style exact du bouton jaune */
.main-nav .user-login-link {
    padding: 0.72rem 1.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 58%, #c77dff 100%);
    color: #ffffff;
    font-family: "Barlow Condensed", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(215, 175, 255, 0.45);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.35);
    line-height: 1;
}

.main-nav .user-login-link:hover {
    background: linear-gradient(135deg, #8740c9 0%, #a45af1 58%, #cf95ff 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(123, 44, 191, 0.45);
}

/* Même style pour toutes les pages où le mode invité utilise user-menu-toggle */
.main-nav .user-menu[data-label="Je m'inscris"] .user-menu-toggle {
    padding: 0.72rem 1.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 58%, #c77dff 100%);
    color: #ffffff;
    font-family: "Barlow Condensed", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(215, 175, 255, 0.45);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.35);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav .user-menu[data-label="Je m'inscris"] .user-menu-toggle:hover {
    background: linear-gradient(135deg, #8740c9 0%, #a45af1 58%, #cf95ff 100%);
    color: #ffffff;
    transform: translateY(-1px);
    border-color: rgba(230, 204, 255, 0.75);
    box-shadow: 0 12px 24px rgba(123, 44, 191, 0.45);
}

.main-nav .user-menu[data-label="Je m'inscris"] .user-menu-toggle::after {
    content: none;
}

.user-menu-toggle::after {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.user-menu.active .user-menu-toggle::after {
    transform: rotate(225deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    z-index: 1001;
    overflow: hidden;
    pointer-events: none;
    display: none;
}

.user-menu.active .user-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background-color var(--transition-fast);
    border-radius: 0;
}

.user-dropdown a:hover {
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--color-dark);
}

/* Déconnexion en rouge sur toutes les pages */
.user-dropdown a[href$="logout.php"] {
    color: rgba(255, 120, 120, 0.88);
}

.user-dropdown a[href$="logout.php"]:hover {
    background-color: rgba(255, 80, 80, 0.12);
    color: rgba(255, 150, 150, 1);
}

.user-dropdown a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Wrapped Teaser Section ── */
.wrapped-teaser-bar {
    width: 100%;
    background: linear-gradient(135deg, #0e0916 0%, #0a0a0f 55%, #0d0916 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.15);
    border-bottom: 1px solid rgba(157, 78, 221, 0.15);
    position: relative;
    overflow: hidden;
}

.wrapped-teaser-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 140% at 0% 50%, rgba(123, 47, 190, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 30% 100% at 100% 50%, rgba(157, 78, 221, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.wrapped-teaser-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.4rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Partie gauche : badge + texte */
.wrapped-teaser-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.wrapped-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    width: fit-content;
}

.wrapped-teaser-headline {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.wrapped-teaser-headline strong {
    color: var(--color-accent);
}

.wrapped-teaser-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* Séparateur */
.wrapped-teaser-sep {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* Partie centrale : stats cachées */
.wrapped-teaser-hidden {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.wrapped-teaser-hidden-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.55rem 1rem;
    min-width: 80px;
}

.wt-chip-value {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.65);
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

.wt-chip-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    filter: blur(3px);
    user-select: none;
    pointer-events: none;
}

.wrapped-teaser-lock {
    font-size: 0.75rem;
    color: rgba(157, 78, 221, 0.5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* CTA */
.wrapped-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #7b2fbe, var(--color-accent));
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(157, 78, 221, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wrapped-teaser-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(157, 78, 221, 0.5);
    filter: brightness(1.1);
    color: #fff;
}

.wrapped-teaser-cta svg {
    transition: transform 0.2s ease;
}

.wrapped-teaser-cta:hover svg {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .wrapped-teaser-sep {
        display: none;
    }

    .wrapped-teaser-hidden {
        display: none;
    }

    .wrapped-teaser-lock {
        display: none;
    }
}

@media (max-width: 768px) {
    .wrapped-teaser-inner {
        padding: 1.1rem 1.2rem;
        gap: 1rem;
    }

    .wrapped-teaser-headline {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .wrapped-teaser-inner {
        padding: 1rem;
        gap: 0.75rem;
    }

    .wrapped-teaser-badge {
        display: none;
    }

    .wrapped-teaser-sub {
        display: none;
    }

    .wrapped-teaser-cta {
        padding: 0.55rem 1rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-brand {
        display: inline-flex;
    }
}

/* Bannière promo au-dessus du carrousel (style 2 colonnes + image diagonale) */
.index-promo-banner {
    width: 100%;
    max-width: 100vw;
    background: var(--color-bg);
    padding: 3rem 0;
    margin-top: 2.5rem;
}
.index-promo-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 340px;
}
.index-promo-banner-content {
    max-width: 520px;
}
.index-promo-banner-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--color-white);
}
.index-promo-banner-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem;
}
.index-promo-banner-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}
.index-promo-banner-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}
.index-promo-banner-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.15em;
}
.index-promo-banner-btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-bg);
    background: var(--color-accent);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.index-promo-banner-btn:hover {
    background: #7b2cbf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}
.index-promo-banner-image-wrap {
    position: relative;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.index-promo-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .index-promo-banner-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
        min-height: auto;
    }
    .index-promo-banner-image-wrap {
        order: -1;
        height: 260px;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    }
    .index-promo-banner-content {
        max-width: none;
    }
    .index-promo-banner {
        padding: 2rem 0;
    }
}

/* Cartes abonnements (index + page abonnements) */
.abonnements-plans {
    padding: 3rem 0 5rem;
    background: var(--color-bg);
}
.abonnements-plans .section-head {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}
.abonnements-plans .section-head h2 {
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.06em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}
.abonnements-plans .section-head p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.abonnements-plans-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* Supprimé : remplacé par le bloc tablette (769–1024px) en bas du fichier */
.plan-card {
    background: linear-gradient(145deg, rgba(28, 26, 38, 0.95) 0%, rgba(22, 20, 32, 0.98) 100%);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.2);
}
.plan-card.plan-highlight {
    border: 1px solid rgba(157, 78, 221, 0.35);
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.12), 0 4px 24px rgba(0, 0, 0, 0.2);
}
.plan-card.plan-highlight:hover {
    box-shadow: 0 16px 48px rgba(157, 78, 221, 0.2), 0 8px 32px rgba(0, 0, 0, 0.25);
}
.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-accent), #7b2cbf);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}
.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #fff;
    letter-spacing: 0.02em;
}
.plan-card.plan-highlight .plan-name {
    margin-top: 0.5rem;
}
.plan-sous-titre {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.plan-prix {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}
.plan-prix span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}
.plan-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0 0 1rem;
    max-width: 280px;
}
.plan-avantages-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
    width: 100%;
    text-align: left;
}
.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    width: 100%;
    text-align: left;
}
.plan-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    line-height: 1.3;
}
.plan-list li:last-child {
    border-bottom: none;
}
.plan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(157, 78, 221, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(157, 78, 221, 0.5);
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    text-align: center;
}
.plan-btn {
    display: inline-block;
    margin-top: auto;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid rgba(157, 78, 221, 0.5);
    background: transparent;
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
}
.plan-btn:hover {
    background: rgba(157, 78, 221, 0.15);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.25);
}
.plan-card.plan-highlight .plan-btn {
    background: linear-gradient(135deg, var(--color-accent), #7b2cbf);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(157, 78, 221, 0.35);
}
.plan-card.plan-highlight .plan-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(157, 78, 221, 0.45);
}

/* Plans abonnements — scroll horizontal sur mobile */
@media (max-width: 768px) {
    .abonnements-plans {
        padding: 2.5rem 0 3rem;
    }

    .abonnements-plans-inner {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1.2rem;
        padding: 1rem 1.5rem 1rem 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .abonnements-plans-inner::-webkit-scrollbar {
        display: none;
    }

    .plan-card {
        flex: 0 0 68vw !important;
        max-width: 260px;
        width: auto;
        scroll-snap-align: start;
        padding: 1.4rem 1.2rem;
    }

    .plan-card:first-child {
        margin-left: 1.25rem;
    }

    .plan-name {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .plan-card.plan-highlight .plan-name {
        margin-top: 0.4rem;
    }

    .plan-sous-titre {
        font-size: 0.72rem;
        margin-bottom: 0.35rem;
    }

    .plan-prix {
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
    }

    .plan-prix span {
        font-size: 0.88rem;
    }

    .plan-desc {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.45;
    }

    .plan-avantages-label {
        font-size: 0.72rem;
        margin-bottom: 0.5rem;
    }

    .plan-list {
        margin-bottom: 1.2rem;
    }

    .plan-list li {
        font-size: 0.8rem;
        padding: 0.45rem 0 0.45rem 1.75rem;
    }

    .plan-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .plan-card {
        flex: 0 0 75vw !important;
        max-width: 250px;
    }
}

/* Carousel Hero */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 600px;
    overflow: hidden;
    margin: -70px 0 0 0; /* Compense le padding-top du main pour commencer juste sous le header */
    padding: 0;
    display: block;
    z-index: 1; /* En dessous du header (z-index: 1000) */
    box-sizing: border-box;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 800px;
    width: calc(100% - 4rem);
    padding: 0 2rem;
    box-sizing: border-box;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.carousel-content .btn {
    animation: fadeInUp 1.2s ease-out;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-content .btn:hover {
    background: var(--color-primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 0; /* Masquer le texte pour utiliser les pseudo-éléments */
}

/* Flèches SVG élégantes et parfaitement centrées */
.carousel-prev::before,
.carousel-next::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

/* Flèche droite (suivant) */
.carousel-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

/* Effet hover sur les boutons */
.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev:hover::before,
.carousel-next:hover::before {
    transform: scale(1.1);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-indicators .indicator.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 6px;
    border-color: white;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero accueil */
.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-image-section {
    position: relative;
    width: 100%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    min-height: 400px;
    max-height: 500px;
}

.hero-card {
    background: linear-gradient(to right, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.98));
    color: var(--color-white);
    border-radius: 26px;
    padding: 1.7rem 1.6rem;
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image-section {
        order: 2;
    }
    .hero-text {
        order: 1;
    }
    .hero-main-image {
        min-height: 300px;
        max-height: 400px;
    }
}

.hero-text h1 {
    font-size: clamp(2.1rem, 4vw, 2.6rem);
    margin: 0 0 1rem;
    color: var(--color-dark);
}

.hero-text p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.hero-card h2 {
    margin-top: 0;
    margin-bottom: 0.9rem;
    font-size: 1.2rem;
}

.hero-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
}

/* CTA Banner Section */
.cta-banner {
    width: 100%;
    margin: 3rem 0;
    padding: 0;
    background: var(--color-bg);
}

.cta-banner-image {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.cta-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.cta-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.5rem;
    color: var(--color-white);
    z-index: 2;
    max-width: 600px;
}

.cta-banner-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.cta-banner-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 0 0 2rem 0;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.9rem 2rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
    border: 2px solid transparent;
}

.btn-cta-primary:hover {
    background: #7b2cbf;
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 0.9rem 2rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--color-white);
}

.btn-cta-secondary:hover {
    background: var(--color-white);
    color: var(--color-bg);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-banner-image {
        height: 500px;
    }
    
    .cta-banner-content {
        padding: 1.5rem;
    }
    
    .cta-banner-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-banner-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-banner-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Featured Programs Carousel Section */
.featured-programs {
    width: 100%;
    max-width: 100vw;
    margin: 4rem 0;
    padding: 2rem 0;
    background: var(--color-bg);
}

.featured-programs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
    position: relative;
    max-width: 100%;
}

.featured-programs-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.featured-programs-title span {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 0.1rem;
    letter-spacing: 0.02em;
    color: var(--color-accent);
}

.featured-programs-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-programs-link {
    color: var(--color-dark);
    text-decoration: underline;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.featured-programs-link:hover {
    color: var(--color-accent);
}

.programs-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.programs-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 100%;
}

.programs-carousel::-webkit-scrollbar {
    display: none;
}

.featured-empty {
    padding: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.program-card {
    flex: 0 0 350px;
    background: var(--color-primary);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    scroll-snap-align: start;
}

.program-card:hover {
    transform: translateY(-2px);
}

.program-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #1a1a1a;
}

.program-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.program-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    font-size: 4rem;
}

.program-card:hover .program-image-container img {
    transform: scale(1.02);
}

.program-badge {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(157, 78, 221, 0.88);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.program-favorite {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-dark);
    transition: all 0.3s ease;
    z-index: 2;
}

.program-favorite:hover {
    transform: scale(1.1);
    color: #e74c3c;
}

.program-info {
    padding: 1rem;
    background: var(--color-primary);
}

.program-info h3 {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0 0 0.12rem 0;
    color: var(--color-dark);
    line-height: 1.4;
}

.program-type {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.2rem 0;
    font-weight: 400;
}

.program-location {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 0.08rem 0;
    font-weight: 400;
}

.program-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.6rem 0;
    font-weight: 400;
}

.program-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0;
}

.programs-carousel-prev,
.programs-carousel-next {
    background: var(--color-accent);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-bg);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.programs-carousel-prev {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-dark);
}

.programs-carousel-next:hover {
    background: #7b2cbf;
}

.programs-carousel-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .featured-programs {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }

    /* Permettre le scroll tactile horizontal sur iOS */
    .programs-carousel-wrapper {
        overflow: visible;
    }
    
    .featured-programs-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .featured-programs-header-right {
        flex-shrink: 0;
        align-items: flex-end;
        gap: 0;
    }
    
    /* Masquer les flèches sur mobile */
    .programs-carousel-prev,
    .programs-carousel-next {
        display: none;
    }

    
    .featured-programs-link {
        white-space: nowrap;
        font-size: 0.9rem;
    }
    
    .featured-programs-title {
        font-size: 0.85rem;
    }
    
    .featured-programs-title span {
        font-size: 1.4rem;
    }
    
    .programs-carousel {
        padding: 0 1rem;
    }
    
    .program-card {
        flex: 0 0 260px;
    }
    
    .program-image-container {
        height: 260px;
    }
    
    .program-image-fallback {
        min-height: 260px;
        font-size: 3rem;
    }
}

/* Gender Programs Section */
.gender-programs {
    width: 100%;
    margin: 3rem 0;
    padding: 0;
}

.gender-programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.gender-program-item {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
}

.gender-program-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gender-program-item:hover img {
    transform: scale(1.05);
}

.gender-program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 1;
    transition: background 0.3s ease;
}

.gender-program-item:hover .gender-program-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.gender-program-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: var(--color-white);
    z-index: 2;
    text-align: center;
}

.gender-program-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.gender-program-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-gender {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
    border: 2px solid transparent;
}

.btn-gender:hover {
    background: #7b2cbf;
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

@media (max-width: 768px) {
    .gender-programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .gender-program-item {
        height: 450px;
    }
    
    .gender-program-content {
        padding: 1.5rem;
    }
    
    .gender-program-content h3 {
        font-size: 1.8rem;
    }
    
    .gender-program-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
}

/* Catalogue promo banners (page programme) - Style bannière horizontale type référence */
.catalogue-promo-banners {
    width: 100%;
    margin: 3rem 0;
    padding: 0;
}

.catalogue-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.catalogue-promo-item {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: var(--color-white);
}

.catalogue-promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.catalogue-promo-item:hover img {
    transform: scale(1.03);
}

/* Overlay sombre couvrant toute l'image */
.catalogue-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.catalogue-promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem 2rem 3rem;
    z-index: 2;
}

.catalogue-promo-content h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.catalogue-promo-content p {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.catalogue-promo-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.catalogue-promo-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.catalogue-promo-btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

.catalogue-promo-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.catalogue-promo-item:hover .catalogue-promo-btn-primary {
    background: #1a1a1a;
}

.catalogue-promo-item:hover .catalogue-promo-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .catalogue-promo-grid {
        grid-template-columns: 1fr;
    }

    /* Sur mobile : seulement la première image, en pleine largeur */
    .catalogue-promo-item:nth-child(2) {
        display: none;
    }

    .catalogue-promo-item {
        height: 320px;
    }
    
    .catalogue-promo-content {
        padding: 1.25rem 1.5rem;
    }
    
    .catalogue-promo-content h3 {
        font-size: 1.4rem;
    }
    
    .catalogue-promo-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .catalogue-promo-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    color: var(--color-white);
    box-shadow: 0 10px 22px rgba(157, 78, 221, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(157, 78, 221, 0.45);
}

/* Features accueil */
.features {
    padding: 0 0 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.2rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(157, 78, 221, 0.35);
}

.feature h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    color: var(--color-dark);
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Pages avec titre (catalogue / contact) */
.page-with-title {
    padding-bottom: 3rem;
}

.page-hero {
    padding: 2.3rem 0 1.5rem;
}

.page-hero h1 {
    margin: 0 0 0.4rem;
    font-size: 1.9rem;
    color: var(--color-dark);
}

.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Catalogue */
.catalogue {
    padding-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
}

.product-card {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.2);
    border-color: rgba(157, 78, 221, 0.3);
}

.product-card a {
    position: relative;
    z-index: 10;
}

.product-image-container {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.product-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-image.active {
    display: block;
}

.image-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
}

.image-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.image-indicators .indicator.active {
    background: var(--color-primary);
}

.product-card img.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-1 {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.placeholder-2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.placeholder-3 {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.placeholder-4 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.placeholder-5 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.placeholder-6 {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 220px;
}

.product-body {
    padding: 0.7rem 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-badge-header {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(157, 78, 221, 0.25));
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    align-self: flex-start;
    letter-spacing: 0.2px;
}

.product-title {
    margin: 0 0 0.14rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    min-height: 2.2rem;
}

.product-location {
    margin: 0 0 0.08rem;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 400;
}

.product-desc {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-accent);
    margin: 0;
}

.product-buy-btn {
    width: 100%;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
}

.product-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

.product-source {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-source small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(157, 78, 221, 0.2);
    color: var(--color-accent);
}

/* Contact - page pro */
.contact-page .page-with-title {
    padding-top: 0;
}

.contact-hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.contact-hero-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin: 0 0 0.5rem;
}

.contact-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-dark);
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.contact-hero-desc {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.contact-section {
    padding: 2.5rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 24, 0.98) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.contact-info-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.contact-info-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.15);
    border-radius: 10px;
}

/* Icônes 2D plates (SVG) */
.contact-info-icon-2d {
    background: rgba(157, 78, 221, 0.2);
    color: var(--color-accent);
    padding: 0;
    box-shadow: none;
}

.contact-info-icon-2d svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.contact-info-item a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: #c77dff;
    text-decoration: underline;
}

.contact-form-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 24, 0.98) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.contact-form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form {
    display: grid;
    gap: 1.1rem;
}

.contact-form .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form input,
.contact-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: rgba(10, 10, 10, 0.6);
    color: var(--color-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.2);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-submit {
    margin-top: 0.5rem;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    background: #7b2cbf;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.35);
}

.contact-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-alert-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: rgba(255, 255, 255, 0.95);
}

.contact-alert-success span {
    color: #2ecc71;
    font-weight: bold;
}

.contact-alert-error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 0 1.5rem;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Legacy contact (si autres pages réutilisent) */
.contact-info h2 { margin-top: 0; margin-bottom: 0.5rem; color: var(--color-dark); }
.contact-info p { margin: 0 0 0.8rem; color: rgba(255, 255, 255, 0.85); }
.contact-info ul { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 0.35rem; font-size: 0.95rem; }

.form-group {
    display: grid;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

input[type="text"],
input[type="email"],
textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--color-bg);
    color: var(--color-dark);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(157, 78, 221, 0.4);
    background-color: var(--color-primary);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.form-note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.alert {
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.alert.success {
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.4);
    color: var(--color-dark);
}

.alert.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ff6b6b;
}

/* Main content */
main {
    flex: 1 0 auto;
    margin-top: 0;
    padding-top: 70px; /* Espace pour le header fixe, sauf pour le carousel */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}




/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0 1.4rem;
    flex-shrink: 0;
    background: rgba(10, 10, 10, 0.96);
    color: var(--color-dark);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-accent);
}

.footer-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-accent);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7b2cbf;
}

/* Footer index : sobre et pro */
.site-footer {
    background: rgba(10, 10, 10, 0.96);
}

.site-footer .footer-inner {
    color: rgba(255, 255, 255, 0.85);
    justify-content: space-between;
    text-align: left;
}

.site-footer .footer-brand {
    display: none; /* visible uniquement sur mobile */
    align-items: center;
    gap: 0.7rem;
    margin-left: 0;
}

.site-footer .footer-brand-logo {
    height: 64px; /* plus grand que le header */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* Reprend exactement le style du header (.logo) dans le footer mobile */
.site-footer .footer-brand.logo {
    font-size: 1.55rem;
}

.site-footer .footer-inner > p {
    margin: 0;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.site-footer .footer-links {
    gap: 1rem;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-family: "Barlow Condensed", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.92rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
    text-underline-offset: 3px;
}

.site-footer .footer-links a:hover {
    color: rgba(255, 255, 255, 0.98);
    text-decoration-color: rgba(157, 78, 221, 0.9);
}

@media (max-width: 480px) {
    .site-footer .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .site-footer .footer-brand {
        display: inline-flex;
        justify-content: center;
    }

    .site-footer .footer-links {
        justify-content: center;
        gap: 0.75rem;
    }
}

/* Galerie images accueil */
.gallery-section {
    padding: 3.5rem 0;
    background: rgba(157, 78, 221, 0.05);
}

.gallery-title {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 2rem;
    color: var(--color-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(8, 9, 10, 0.2), rgba(8, 9, 10, 0.6));
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Les images sont maintenant dans le HTML, pas besoin de background ici */

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--color-bg);
    transform: translateY(0);
    transition: transform 0.3s ease-out;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(-5px);
}

.gallery-overlay h3 {
    margin: 0 0 0.3rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Menu hamburger pour mobile - Design professionnel minimaliste */
.mobile-menu-toggle {
    display: none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-dark);
    z-index: 1002;
    visibility: hidden;
    opacity: 0;
    width: 44px;
    height: 44px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle:hover {
    opacity: 0.7;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    margin: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span {
    background: #fff;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive - Tablettes et petits écrans */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Ajuster le padding-top du body pour mobile */
    body {
        padding-top: 0; /* Pas de padding, le carousel commence en haut */
    }
    
    main {
        padding-top: 88px; /* Header mobile légèrement plus haut */
    }

    /* Header mobile */
    .header-inner {
        padding: 0.75rem 0;
        position: relative;
        z-index: 1002; /* Au-dessus de l'overlay */
        display: grid;
        grid-template-columns: 48px 1fr 48px;
        align-items: center;
        justify-content: initial;
    }
    
    .site-header {
        z-index: 1002 !important; /* Au-dessus de l'overlay */
    }
    
    /* Carousel Hero Mobile */
    .hero-carousel {
        height: 400px;
        margin-top: -88px; /* Compense le padding-top du main */
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        position: relative;
        left: 0;
        right: 0;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        position: relative;
    }
    
    .carousel-slide {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        position: absolute;
        left: 0;
        right: 0;
    }
    
    .carousel-slide img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .carousel-content {
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .carousel-content h1 {
        font-size: 1.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        max-width: 22ch;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.75rem;
    }
    
    .carousel-content p {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 30ch;
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-content .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        min-width: 44px;
        min-height: 44px;
        font-size: 0;
    }
    
    /* Ajustement des flèches pour mobile */
    .carousel-prev::before,
    .carousel-next::before {
        width: 16px;
        height: 16px;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
    }
    
    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators .indicator.active {
        width: 25px;
    }
    
    /* Header mobile: hamburger col 1 (gauche), logo col 2 (centre) */
    .logo {
        position: static;
        left: auto;
        transform: none;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.35rem;
        z-index: 1003;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .logo > span::after,
    .logo a > span::after {
        font-size: 0.52rem;
        margin-top: 0.1rem;
        letter-spacing: 0.07em;
    }

    .logo-image {
        height: 52px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        overflow: visible !important;
        z-index: 1003 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        align-self: center;
        margin: 0;
        background: transparent;
        border: none;
        padding: 0.5rem;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    
    .mobile-menu-toggle:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-toggle span {
        background: var(--color-dark);
        width: 22px;
        height: 2px;
    }
    
    .mobile-menu-toggle.active span {
        background: #fff;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        right: auto;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 14, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem;
        gap: 0;
        border-right: 1px solid rgba(157, 78, 221, 0.35);
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.45);
        transition: left 0.3s ease-out;
        z-index: 1006; /* Au-dessus du logo/header mobile */
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }
    
    /* Masquer le menu avant l'animation pour éviter le flash */
    .main-nav:not(.active) {
        visibility: hidden;
    }
    
    .main-nav.active {
        visibility: visible;
    }

    .main-nav a,
    .main-nav .user-menu {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        margin-bottom: 0.5rem;
        font-size: 1rem;
        text-align: left;
    }

    .main-nav a {
        color: rgba(236, 232, 248, 0.9);
    }

    .main-nav a:hover {
        background-color: rgba(157, 78, 221, 0.2);
        transform: none;
    }

    .main-nav a.active {
        background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 58%, #c77dff 100%);
        color: var(--color-bg);
    }

    .user-menu {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(157, 78, 221, 0.2);
    }

    .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(157, 78, 221, 0.14);
        border: 1px solid rgba(157, 78, 221, 0.28);
        border-radius: var(--radius-sm);
        margin-top: 0.5rem;
        min-width: auto;
    }

    .user-menu.active .user-dropdown {
        display: block;
    }

    /* Overlay pour fermer le menu - couvre 100% de l'écran */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }

    .menu-overlay.active {
        display: block;
        pointer-events: auto;
        opacity: 1;
    }
    
    /* Le menu et le bouton hamburger doivent être au-dessus de l'overlay */
    .main-nav {
        z-index: 1006 !important;
        pointer-events: auto !important;
    }
    
    .main-nav * {
        pointer-events: auto !important;
    }
    
    .mobile-menu-toggle {
        z-index: 1010 !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        pointer-events: auto !important;
    }
    
    /* S'assurer que tous les éléments interactifs du menu sont cliquables */
    .main-nav a,
    .main-nav button,
    .main-nav .user-menu,
    .main-nav .user-menu-toggle,
    .main-nav .user-dropdown,
    .main-nav .user-dropdown a {
        pointer-events: auto !important;
        position: relative;
        z-index: 1003 !important;
    }

    /* Hero section */
    .hero {
        padding: 2rem 0 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-image-section {
        order: 2;
    }

    .hero-text {
        order: 1;
    }

    .hero-main-image {
        min-height: 250px;
        max-height: 300px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-card {
        order: 3;
        padding: 1.2rem 1rem;
        margin-top: 0;
    }

    .hero-card h2 {
        font-size: 1.1rem;
    }

    .hero-card ul {
        font-size: 0.9rem;
    }

    /* Features */
    .features {
        padding: 0 0 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1rem;
    }

    /* Catalogue */
    .page-hero {
        padding: 1.5rem 0 1rem;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }

    .product-image-container {
        height: 180px;
    }

    .product-image {
        height: 180px;
    }

    .placeholder-1,
    .placeholder-2,
    .placeholder-3,
    .placeholder-4,
    .placeholder-5,
    .placeholder-6 {
        height: 180px;
        font-size: 2.5rem;
    }

    .product-body {
        padding: 0.6rem 0.7rem 0.8rem;
    }

    .product-title {
        font-size: 0.8rem;
        min-height: 2rem;
    }

    .product-desc {
        font-size: 0.65rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .product-buy-btn {
        padding: 0.45rem;
        font-size: 0.75rem;
    }

    /* Contact */
    .contact-section {
        padding-bottom: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.4rem;
    }

    .contact-form-card {
        padding: 1.2rem 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 0.5rem 0.65rem;
        font-size: 0.9rem;
    }

    textarea {
        min-height: 120px;
    }

    /* Gallery */
    .gallery-section {
        padding: 2.5rem 0;
    }

    .gallery-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }

    /* Footer */
    .site-footer {
        padding: 1rem 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 0.7rem;
        font-size: 0.8rem;
    }

    /* Boutons */
    .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Page avec titre */
    .page-with-title {
        padding-bottom: 2rem;
    }

    /* Bannière promo index - bouton pleine largeur */
    .index-promo-banner-btn {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Réduire padding bannière promo */
    .index-promo-banner {
        padding: 2rem 0;
        margin-top: 1.5rem;
    }

    /* CTA Banner */
    .cta-banner {
        margin: 2rem 0;
    }

    /* Gender programs */
    .gender-programs {
        margin: 2rem 0;
    }
}

/* Responsive - Très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 48px;
    }

    .main-nav {
        width: 260px;
        padding: 3.5rem 1.2rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-main-image {
        min-height: 200px;
        max-height: 250px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .product-image-container {
        height: 160px;
    }

    .product-image {
        height: 160px;
    }

    .placeholder-1,
    .placeholder-2,
    .placeholder-3,
    .placeholder-4,
    .placeholder-5,
    .placeholder-6 {
        height: 160px;
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 1.4rem;
    }

    .gallery-title {
        font-size: 1.4rem;
    }

    .gallery-item {
        height: 180px;
    }

    .contact-form-card {
        padding: 1rem 0.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Carousel hero sur très petits écrans */
    .hero-carousel {
        height: 300px;
    }

    .carousel-content h1 {
        font-size: 1.25rem;
        max-width: 19ch;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
    }

    .carousel-content p {
        font-size: 0.75rem;
        max-width: 28ch;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }

    .carousel-content .btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.88rem;
    }

    /* Cartes programmes sur très petits écrans */
    .program-card {
        flex: 0 0 200px;
    }

    .program-image-container {
        height: 200px;
    }

    .program-image-fallback {
        min-height: 200px;
        font-size: 2.5rem;
    }

    /* Featured programs */
    .featured-programs-title span {
        font-size: 1.2rem;
    }

    /* CTA Banner */
    .cta-banner-image {
        height: 420px;
    }

    .cta-banner-content h2 {
        font-size: 1.5rem;
    }

    .cta-banner-content p {
        font-size: 0.9rem;
    }

    /* Gender programs */
    .gender-program-item {
        height: 350px;
    }

    .gender-program-content {
        padding: 1.2rem;
    }

    .gender-program-content h3 {
        font-size: 1.5rem;
    }

    .gender-program-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn-gender {
        padding: 0.75rem 1.8rem;
        font-size: 0.9rem;
    }

    /* Bannière promo - image plus compacte */
    .index-promo-banner-image-wrap {
        height: 200px;
    }

    .index-promo-banner-title {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
    }

    /* Plans boutons plus grands pour le tactile */
    .plan-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Footer : même disposition sur petits téléphones (ex: 349px à 465px) */
@media (max-width: 480px) {
    .site-footer .footer-inner {
        gap: 0.9rem;
        align-items: stretch;
        text-align: left;
    }

    .site-footer .footer-brand {
        order: 0;
        justify-content: flex-start;
    }

    .site-footer .footer-brand-logo {
        height: 60px;
    }

    .site-footer .footer-brand.logo {
        font-size: 1.45rem;
    }

    .site-footer .footer-inner > p {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.62);
        order: 2;
        margin-top: 0.25rem;
        text-align: left;
    }

    .site-footer .footer-links {
        order: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column; /* 1-4 colonne gauche, 5-8 colonne droite */
        justify-content: stretch;
        align-items: start;
        column-gap: 1.25rem;
        row-gap: 0.6rem;
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        text-align: left;
    }

    .site-footer .footer-links a {
        display: block;
        white-space: normal;
        text-decoration: none;
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        font-style: normal;
        text-transform: none;
        letter-spacing: 0;
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.25;
        color: rgba(255, 255, 255, 0.86);
        padding: 0.08rem 0;
    }
}

/* Barre de navigation fixe en bas pour mobile */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(12, 12, 18, 0.97);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(157, 78, 221, 0.32);
        z-index: 1000;
        padding: 0.5rem 0;
        box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.38);
    }
    
    .mobile-bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        color: rgba(216, 210, 238, 0.78);
        text-decoration: none;
        font-size: 0.7rem;
        transition: color var(--transition-fast);
        gap: 0.25rem;
        position: relative;
    }
    
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        color: #c77dff;
    }
    
    .mobile-bottom-nav a svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        transition: transform 0.2s ease;
    }
    
    .mobile-bottom-nav a.active svg {
        transform: scale(1.1);
    }
    
    .mobile-bottom-nav a span:not(.cart-badge) {
        font-weight: 500;
        letter-spacing: 0.02em;
    }
    
    .mobile-bottom-nav .cart-badge {
        position: absolute;
        top: 0.25rem;
        right: 0.5rem;
        background: var(--color-primary);
        color: var(--color-white);
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1;
    }
    
    /* Ajouter de l'espace en bas du body pour éviter que le contenu soit caché */
    body {
        padding-bottom: 10px;
    }
    
    /* Ajuster le footer pour qu'il soit juste au-dessus de la barre de navigation */
    .site-footer {
        margin-bottom: 70px;
        position: relative;
        z-index: 998;
    }
    
    /* S'assurer que le main a aussi de l'espace en bas */
    main {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    /* Liens principaux visibles et alignés à gauche dans le menu hamburger */
    /* href$= "se termine par" → fonctionne depuis n'importe quel sous-dossier */
    .main-nav a[href$="index.php"],
    .main-nav a[href$="catalogue.php"],
    .main-nav a[href$="nutrition.php"],
    .main-nav a[href$="panier.php"],
    .main-nav a[href$="contact.php"] {
        display: block !important;
    }
    
    /* Réorganiser le menu hamburger pour afficher seulement les éléments demandés */
    .main-nav {
        display: flex;
        flex-direction: column;
    }
    
    /* Section Mon compte */
    .main-nav .user-menu {
        display: block !important;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(157, 78, 221, 0.18);
        width: 100%;
    }

    .main-nav .user-menu-toggle {
        display: none !important;
    }

    /* Label "Mon compte" sobre */
    .main-nav .user-menu::before {
        content: attr(data-label);
        display: block;
        padding: 0 0.25rem 0.6rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(157, 78, 221, 0.75);
        margin-bottom: 0.25rem;
    }

    /* Dropdown visible en flux */
    .main-nav .user-dropdown {
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent;
        border: none !important;
        border-radius: 0;
        min-width: auto !important;
        padding: 0;
        width: 100%;
    }

    .main-nav .user-dropdown a {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0.7rem 0.75rem;
        border-radius: 8px;
        margin-bottom: 0.25rem;
        width: 100%;
        color: rgba(220, 210, 240, 0.85);
        background: transparent;
        font-size: 0.95rem;
        font-weight: 400;
        transition: background 0.18s, color 0.18s;
    }

    .main-nav .user-dropdown a:hover {
        background: rgba(157, 78, 221, 0.12);
        color: #e2caff;
    }

    .main-nav .user-dropdown a.active {
        background: rgba(157, 78, 221, 0.2);
        color: #d9a8ff;
    }

    /* Déconnexion en rouge sobre */
    .main-nav .user-dropdown a[href$="logout.php"] {
        color: rgba(255, 120, 120, 0.7);
        margin-top: 0.5rem;
    }

    .main-nav .user-dropdown a[href$="logout.php"]:hover {
        background: rgba(255, 80, 80, 0.08);
        color: rgba(255, 140, 140, 0.95);
    }

    /* Masquer Administration du menu mobile */
    .main-nav .user-dropdown a[href$="admin.php"] {
        display: none !important;
    }
}

/* Hamburger gauche — positionnement en flux (pas absolu) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        align-self: center;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════
   TABLETTE  —  769 px à 1024 px
   (iPad portrait/paysage, petits laptops tactiles)
═══════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ── Container ── */
    .container {
        padding: 0 1.25rem;
    }

    /* ── Navbar ── */
    .header-inner {
        padding: 0.65rem 0;
    }
    .logo-image {
        height: 44px;
    }
    .logo {
        font-size: 1.3rem;
        gap: 0.4rem;
    }
    .main-nav {
        gap: 0.35rem;
        font-size: 0.88rem;
    }
    .main-nav a {
        font-size: 0.88rem;
        padding: 0.3rem 0.6rem;
        min-height: 36px;
    }
    .user-menu-toggle {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
        border-radius: 10px;
    }

    /* ── Dropdown : exactement comme PC, positionné sous le bouton ── */
    .user-menu {
        position: relative;
    }
    .user-dropdown {
        position: absolute !important;
        top: calc(100% + 0.5rem) !important;
        right: 0 !important;
        left: auto !important;
        transform: translateY(0) !important;
        min-width: 180px;
    }
    .user-menu.active .user-dropdown {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .user-dropdown a {
        padding: 0.75rem 1rem;
        text-align: left;
        display: block;
    }

    /* ── Hero Carousel ── */
    .hero-carousel {
        height: 480px;
    }
    .carousel-content h1 {
        font-size: 2.4rem;
    }

    /* ── Plans d'abonnement : 3 colonnes compactes ── */
    .abonnements-plans-inner {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
        gap: 1rem;
        padding: 0 1rem;
    }
    .plan-card {
        padding: 1.6rem 1.1rem;
    }
    .plan-name {
        font-size: 1.25rem;
    }
    .plan-prix {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    .plan-prix span {
        font-size: 0.85rem;
    }
    .plan-desc {
        font-size: 0.82rem;
        margin-bottom: 0.75rem;
    }
    .plan-list li {
        font-size: 0.82rem;
        padding: 0.4rem 0 0.4rem 1.6rem;
    }
    .plan-btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }
    .plan-sous-titre {
        font-size: 0.72rem;
    }

    /* ── Features accueil : 2 colonnes ── */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* ── Featured programs : cartes un peu plus étroites ── */
    .program-card {
        flex: 0 0 270px;
    }
    .program-image-container {
        height: 270px;
    }

    /* ── Gender programs : hauteur réduite ── */
    .gender-program-item {
        height: 440px;
    }

    /* ── CTA Banner ── */
    .cta-banner-image {
        height: 520px;
    }

    /* ── Promo catalogue ── */
    .catalogue-promo-grid {
        gap: 1rem;
    }
    .catalogue-promo-item {
        height: 400px;
    }

    /* ── Grilles produits boutique ── */
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }

    /* ── Galerie ── */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* ── Promo banner index ── */
    .index-promo-banner-inner {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .index-promo-banner-image-wrap {
        height: 320px;
    }

    /* ── Section titre générique ── */
    .section-head h2 {
        font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    }

    /* ── Footer tablette ── */
    .site-footer {
        padding: 1rem 0 1.2rem;
    }
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
    }
    .site-footer .footer-inner > p {
        font-size: 0.95rem;
    }
    .site-footer .footer-links {
        justify-content: center;
        gap: 0.8rem 1rem;
        row-gap: 0.6rem;
        max-width: 92%;
    }
    .site-footer .footer-links a {
        font-size: 0.95rem;
        text-underline-offset: 2px;
    }
}


