/* SIMI COACHING - Styles principaux */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* VARIABLES & RESET */
:root {
    --primary: #0b1d3a;
    --primary-light: #0f2847;
    --primary-dark: #060f1f;
    --accent: #c9a14a;
    --accent-light: #dbb95f;
    --accent-dark: #b08a3a;
    --accent-glow: rgba(201, 161, 74, 0.12);

    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.42);

    --glass: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --card-bg: rgba(15, 40, 71, 0.45);
    --card-border: rgba(201, 161, 74, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 8px 30px rgba(201, 161, 74, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration: 0.3s;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent); color: var(--primary-dark); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 15, 31, 0.65);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    transition: all var(--duration) var(--ease);
}

.header.scrolled {
    background: rgba(6, 15, 31, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    transition: transform var(--duration) var(--ease);
    position: static;
    flex-shrink: 0;
}

.logo:hover { transform: scale(1.05); }

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 3px 12px rgba(201, 161, 74, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0;
}

.nav-menu-left {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin: 0 auto;
}

.nav-menu-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
    position: static;
}

.nav-link {
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.88rem;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
    background: transparent;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.82rem;
    transition: transform var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 50%;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover i { transform: translateY(-1px); }

.nav-link.active {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: rgba(201, 161, 74, 0.12);
}

.btn-connexion {
    background: transparent !important;
    border: 1.5px solid rgba(201, 161, 74, 0.35) !important;
    padding: 0.42rem 1.15rem !important;
    border-radius: var(--radius-full) !important;
    color: var(--accent) !important;
    font-weight: 600 !important;
    font-size: 0.86rem !important;
    transition: all var(--duration) var(--ease) !important;
    cursor: pointer;
}

.btn-connexion:hover {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    border-color: var(--accent) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-connexion:hover::after { display: none; }

.btn-connexion.active {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    border-color: var(--accent) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: var(--glass);
    border-color: var(--accent);
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.07) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(30px, -20px) scale(1.15); opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 15, 31, 0.15) 100%);
}

.page-section {
    padding-top: 118px;
    min-height: calc(100vh - 72px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
    letter-spacing: 5px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(201, 161, 74, 0.2);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.3px;
    transition: all var(--duration) var(--ease-spring);
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 161, 74, 0.3);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-primary i { transition: transform var(--duration) var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }

.scroll-indicator {
    margin-top: 3.5rem;
    animation: gentleBounce 3s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.5;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-8px); opacity: 0.7; }
}

/* SECTIONS COMMUNES */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    opacity: 0.7;
    filter: drop-shadow(0 3px 10px rgba(201, 161, 74, 0.25));
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--accent);
    margin-bottom: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 300;
}

.section-description {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* CE QUE SIMI CHANGE */
.what-changes {
    padding: 6rem 0;
    background: var(--primary-dark);
    position: relative;
}

.what-changes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.2;
}

.changes-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.changes-intro {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 400;
}

.changes-description {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* STATISTIQUES */
.stats-section {
    padding: 5rem 0;
    background: var(--primary-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 161, 74, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border);
    box-shadow: var(--shadow-md);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.4rem;
    position: relative;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
}

/* CTA SECTION */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, var(--primary-light) 0%, var(--primary) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--accent);
    padding: 0.85rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 2px solid rgba(201, 161, 74, 0.35);
    font-weight: 600;
    font-size: 0.98rem;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* PROGRAMMES / OFFRES */
.programs {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.programs-info {
    text-align: center;
    margin: 2.5rem 0;
}

.programs-info i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.programs-info h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 0.7rem;
}

.programs-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.program-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.program-card:hover::before { transform: scaleX(1); }

.program-card.premium { border-color: rgba(201, 161, 74, 0.2); }
.program-card.popular { border-color: rgba(74, 144, 226, 0.2); }
.program-card.essential { border-color: rgba(76, 175, 80, 0.2); }

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-border);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.program-icon {
    width: 54px;
    height: 54px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
}

.program-card:hover .program-icon { background: var(--accent); }

.program-icon i {
    font-size: 1.4rem;
    color: var(--accent);
    transition: color var(--duration) var(--ease);
}

.program-card:hover .program-icon i { color: var(--primary-dark); }

.program-badge {
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.premium .program-badge { background: var(--accent-glow); color: var(--accent); }
.popular-badge { background: rgba(74, 144, 226, 0.1); color: #4a90e2; }
.essential-badge { background: rgba(76, 175, 80, 0.1); color: #4CAF50; }

.program-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.program-price {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    transition: color var(--duration) var(--ease);
}

.program-features li:hover { color: var(--text-primary); }
.program-features li:last-child { border-bottom: none; }
.program-features li i { color: var(--accent); font-size: 0.75rem; }

.program-features li.feature-excluded { opacity: 0.45; }
.program-features li.feature-excluded i { color: var(--text-muted); }

.btn-program {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease-spring);
    letter-spacing: 0.3px;
}

.btn-program:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* BLOG */
.blog {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.blog-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2.5rem 0;
}

.blog-stat { text-align: center; }

.blog-category { margin: 3.5rem 0; }

.category-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
    display: block;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--accent);
}

.category-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.article-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.article-card:hover::after { transform: scaleX(1); }

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border);
    box-shadow: var(--shadow-md);
}

.price-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(201, 161, 74, 0.3);
    letter-spacing: 0.3px;
    z-index: 10;
    white-space: nowrap;
}

.article-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.article-badge.free { background: rgba(76, 175, 80, 0.1); color: #4CAF50; }
.article-badge.premium { background: var(--accent-glow); color: var(--accent); }

.article-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    line-height: 1.4;
    font-weight: 700;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.article-meta {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.article-meta i { margin-right: 4px; color: var(--accent); opacity: 0.6; }

.article-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0.8rem 0;
}

.article-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 3px 12px rgba(46, 204, 113, 0.18);
    margin-top: auto;
}

.article-link i { color: #ffffff; font-size: 0.9rem; }

.article-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.25);
    gap: 0.7rem;
}

.premium-link {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    box-shadow: 0 3px 12px rgba(201, 161, 74, 0.18);
}

.premium-link i { color: var(--primary-dark); }

.premium-link:hover { box-shadow: 0 6px 18px rgba(201, 161, 74, 0.25); }

/* CONTACT */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.contact-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.contact-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.contact-content {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.93rem;
    font-family: var(--font-body);
    transition: all var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease-spring);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.contact-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    padding: 0.5rem 0;
    transition: color var(--duration) var(--ease);
}

.contact-item:hover { color: var(--text-primary); }

.contact-item i {
    color: var(--accent);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

/* CONNEXION / INSCRIPTION */
.login-section {
    padding: 5rem 0;
    background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.login-wrapper {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.login-box {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 0.8rem;
}

.login-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 3px 10px rgba(201, 161, 74, 0.25));
}

.login-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 600;
}

.login-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
}

.login-form { margin-top: 1.2rem; }

.alert-message {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    animation: alertSlide 0.3s var(--ease);
}

@keyframes alertSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.25);
    color: #66bb6a;
}

.alert-error {
    background: rgba(244, 67, 54, 0.08);
    border: 1px solid rgba(244, 67, 54, 0.25);
    color: #ef5350;
}

.alert-message i { font-size: 1rem; }

.password-wrapper { position: relative; }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color var(--duration) var(--ease);
    padding: 4px;
}

.toggle-password:hover { color: var(--accent); }

.form-options { margin-bottom: 1.3rem; }

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.88rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--accent);
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease-spring);
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.login-divider {
    text-align: center;
    margin: 1.2rem 0;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--glass-border);
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.login-divider span {
    padding: 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.btn-social {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
}

.btn-social:hover {
    background: var(--glass);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.btn-social.google:hover { border-color: rgba(219, 68, 55, 0.35); }
.btn-social.facebook:hover { border-color: rgba(66, 103, 178, 0.35); }

.login-footer { text-align: center; margin-top: 1.2rem; }
.login-footer p { color: var(--text-secondary); margin-bottom: 0.6rem; font-size: 0.88rem; }

.signup-link,
.forgot-password {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--duration) var(--ease);
}

.signup-link:hover,
.forgot-password:hover { color: var(--accent-light); }

/* FOOTER */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.2;
}

.footer-content { text-align: center; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.footer-logo img { height: 40px; width: auto; display: inline-block; }
.footer-logo i { color: var(--accent); font-size: 1.6rem; }

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-style: italic;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    transition: all var(--duration) var(--ease-spring);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover { color: var(--accent); }

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.82rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* ARTICLE PAGES */
.article-page {
    padding: 120px 0 80px;
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.article-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: var(--glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.article-hero h1 {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.article-hero h1 i { color: var(--accent); margin-right: 0.4rem; }

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.article-meta span { display: flex; align-items: center; gap: 0.4rem; }
.article-meta i { color: var(--accent); opacity: 0.6; }

.article-intro-text {
    background: var(--glass);
    padding: 2rem 2rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.article-intro-text p { font-size: 1.02rem; color: var(--text-secondary); margin-bottom: 0.7rem; }
.article-intro-text p:last-child { margin-bottom: 0; }
.article-intro-text strong { color: var(--text-primary); }

.article-video-container { margin: 2rem 0; animation: fadeInVideo 0.6s var(--ease); }

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

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.video-wrapper iframe,
.video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.video-wrapper.video-direct { padding-bottom: 0; }
.video-wrapper.video-direct video { position: relative; border-radius: var(--radius-lg); }

.error-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.error-section h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.error-section h2 i { color: var(--accent); font-size: 1.4rem; }

.error-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--accent-light);
    margin: 1.2rem 0 0.6rem;
}

.error-section p { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.6rem; }
.error-section ul { margin: 0.8rem 0; padding-left: 1.5rem; }
.error-section ul li { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.5rem; }
.error-section ul li strong { color: var(--accent); }

.solution-block {
    background: linear-gradient(135deg, rgba(201, 161, 74, 0.06) 0%, rgba(201, 161, 74, 0.02) 100%);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 161, 74, 0.18);
    margin-top: 1.2rem;
}

.solution-block h3 { color: var(--accent); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.solution-block h3 i { font-size: 1rem; }
.solution-block p { color: var(--text-primary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.6rem; }
.solution-block p:last-child { margin-bottom: 0; }
.solution-block ul { margin: 0.6rem 0; padding-left: 1.5rem; }
.solution-block ul li { color: var(--text-primary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.5rem; }
.solution-block strong { color: var(--accent); }

.article-formatted-content { color: var(--text-secondary); font-size: 1rem; line-height: 1.9; }
.article-formatted-content p { margin-bottom: 0.8rem; color: var(--text-secondary); }
.article-formatted-content p:last-child { margin-bottom: 0; }

.article-heading {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--text-primary);
    margin: 1.8rem 0 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.article-heading i { color: var(--accent); font-size: 1.4rem; }

.article-subheading { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-light); margin: 1.2rem 0 0.5rem; }
.article-subheading-sm { font-size: 1.1rem; color: var(--text-primary); margin: 1rem 0 0.4rem; font-weight: 600; }

.article-quote {
    border-left: 3px solid var(--accent);
    margin: 1.2rem 0;
    padding: 0.8rem 1.2rem;
    background: var(--accent-glow);
    color: var(--text-secondary);
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1rem;
    line-height: 1.8;
}

.article-list { margin: 0.8rem 0; padding-left: 1.5rem; }
.article-list li { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.4rem; }
.article-list li strong { color: var(--accent); }
.article-list.ordered { list-style-type: decimal; }
.article-list.ordered li::marker { color: var(--accent); font-weight: 700; }

.article-img { max-width: 100%; border-radius: var(--radius-md); margin: 1.2rem 0; box-shadow: var(--shadow-md); border: 1px solid var(--glass-border); }

.article-formatted-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-formatted-content a:hover { color: var(--accent-light); }
.article-formatted-content strong { color: var(--text-primary); font-weight: 700; }
.article-formatted-content em { font-style: italic; color: var(--accent-light); }
.article-formatted-content u { text-decoration: underline; text-underline-offset: 3px; }

.article-conclusion {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3rem 0 2rem;
    border: 1px solid var(--card-border);
}

.article-conclusion h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--text-primary); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.article-conclusion h2 i { color: var(--accent); }
.article-conclusion p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 0.6rem; }
.article-conclusion p:last-child { margin-bottom: 0; }

.article-cta {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid var(--card-border);
}

.article-cta h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.article-cta p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.2rem; }

.article-nav { text-align: center; padding: 1.5rem 0; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 3px 12px rgba(46, 204, 113, 0.18);
}

.btn-back i { transition: transform var(--duration) var(--ease); color: #fff; }
.btn-back:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(46, 204, 113, 0.25); }
.btn-back:hover i { transform: translateX(-3px); }

.article-hero-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; }

.btn-scroll-down-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 3px 12px rgba(201, 161, 74, 0.18);
    cursor: pointer;
    margin-left: auto;
}

.btn-scroll-down-hero i { color: var(--primary-dark); transition: transform var(--duration) var(--ease); }
.btn-scroll-down-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-scroll-down-hero:hover i { transform: translateY(3px); }

/* COOKIES */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 15, 31, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    border-top: 1px solid var(--glass-border);
    animation: cookieSlide 0.5s var(--ease);
}

.cookie-notice.hidden { display: none; }

@keyframes cookieSlide {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content i { font-size: 1.5rem; color: var(--accent); }

.cookie-content p { flex: 1; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }

.btn-cookie {
    padding: 0.55rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-cookie:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* SCROLL TO BOTTOM */
.scroll-to-bottom {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-gold);
    transition: all var(--duration) var(--ease-spring);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-bottom.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-bottom:hover { transform: scale(1.1) translateY(0); box-shadow: 0 8px 28px rgba(201, 161, 74, 0.35); }
.scroll-to-bottom:active { transform: scale(0.95) translateY(0); }

/* BADGE PANIER (header) */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(201, 161, 74, 0.4);
}

/* TOAST NOTIFICATION */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    font-family: var(--font-body);
}
.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* PANIER / CART */
.cart-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cart-wrapper.cart-empty-state {
    grid-template-columns: 1fr;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.cart-items {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid var(--glass-border);
}

.cart-empty { text-align: center; padding: 3.5rem 2rem; }
.cart-empty i { font-size: 3.5rem; color: var(--accent); margin-bottom: 1.2rem; opacity: 0.35; }
.cart-empty h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.cart-empty p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.95rem; }
.empty-cart-buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.cart-items-list { display: flex; flex-direction: column; gap: 1rem; }

.cart-item {
    background: var(--glass);
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 65px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    transition: all var(--duration) var(--ease);
}

.cart-item:hover { border-color: var(--card-border); background: var(--glass-hover); }

.cart-item-image {
    width: 65px;
    height: 65px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image i { font-size: 1.8rem; color: var(--accent); }

.cart-item-details { flex: 1; }
.cart-item-title { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); margin-bottom: 0.2rem; font-weight: 600; }
.cart-item-category { font-size: 0.78rem; color: var(--accent); margin-bottom: 0.15rem; font-weight: 500; }
.cart-item-description { font-size: 0.8rem; color: var(--text-muted); }

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--glass);
    border-radius: 6px;
    padding: 0.15rem;
    border: 1px solid var(--glass-border);
}

.qty-btn {
    width: 26px;
    height: 26px;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.qty-btn:hover { background: var(--accent-light); }

.qty-input {
    width: 38px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.qty-input:focus { outline: none; }
.cart-item-price { min-width: 85px; text-align: right; }
.item-price { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; color: var(--accent); }

.cart-item-remove {
    background: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.15);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cart-item-remove:hover { background: #e74c3c; color: white; border-color: #e74c3c; }

.cart-summary {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid var(--glass-border);
    height: fit-content;
    position: sticky;
    top: 88px;
}

.cart-summary h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.4rem; }

.summary-line { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.92rem; }
.summary-line.total { border-bottom: none; border-top: 2px solid var(--accent); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-top: 0.6rem; padding-top: 1rem; }
.summary-line.discount { color: #2ecc71; }
.summary-value { font-weight: 600; }
.total-price { color: var(--accent); font-family: var(--font-body); font-size: 1.2rem; }
.discount-value { color: #2ecc71; }

.promo-code { display: flex; gap: 0.4rem; margin: 1rem 0; }

.promo-code input {
    flex: 1;
    padding: 0.65rem;
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
}

.promo-code input:focus { outline: none; border-color: var(--accent); }

.btn-promo {
    padding: 0.65rem 1rem;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1.5px solid rgba(201, 161, 74, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--duration) var(--ease);
    font-family: var(--font-body);
}

.btn-promo:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }

.summary-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin: 0.6rem 0; opacity: 0.2; }

.btn-checkout {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease-spring);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-checkout:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.payment-methods { text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-border); }
.payment-methods p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.payment-icons { display: flex; justify-content: center; gap: 0.7rem; }
.payment-icons i { font-size: 1.5rem; color: var(--accent); opacity: 0.4; transition: opacity var(--duration) var(--ease); }
.payment-icons i:hover { opacity: 1; }

.continue-shopping { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 1rem; color: var(--text-muted); font-size: 0.85rem; transition: color var(--duration) var(--ease); }
.continue-shopping:hover { color: var(--accent); }

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.trust-badge {
    text-align: center;
    padding: 1.2rem;
    background: var(--glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all var(--duration) var(--ease-spring);
}

.trust-badge:hover { border-color: var(--card-border); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.trust-badge i { font-size: 1.8rem; color: var(--accent); margin-bottom: 0.6rem; opacity: 0.6; }
.trust-badge span { display: block; color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; }

/* SECTION VIDÉO */
.video-section {
    background: var(--glass);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.video-section h3 { font-family: var(--font-display); color: var(--accent); font-size: 1.3rem; margin-bottom: 0.6rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.video-section h3 i { font-size: 1.5rem; }
.video-section p { color: var(--text-secondary); margin-bottom: 1.2rem; font-size: 0.95rem; }

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
}

.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--text-muted);
    font-size: 1rem;
    padding: 2rem;
}

.video-placeholder i { font-size: 3rem; color: var(--accent); margin-bottom: 0.8rem; }

/* NAV USER MENU (logged in) */
.nav-user-menu { display: flex; align-items: center; }
.nav-user-menu .nav-link { color: var(--accent); font-weight: 600; }

/* RIBBON CARD (legacy) */
.ribbon-card {
    position: relative;
    width: 360px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow: visible;
}

.ribbon {
    position: absolute;
    top: 18px;
    left: -48px;
    width: 200px;
    text-align: center;
    transform: rotate(-45deg);
    background: linear-gradient(180deg, #20c37f, #0b8e52);
    color: white;
    font-weight: 700;
    padding: 8px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    border-radius: 6px;
    font-size: 14px;
}

.card-inner h3.tag { font-size: 20px; margin: 8px 0; font-weight: 700; }
.card-inner p { opacity: 0.9; margin: 8px 0 14px; }
.meta { font-size: 13px; opacity: 0.8; margin-bottom: 14px; }
.cta { background: #2db24a; border: none; padding: 10px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; color: white; box-shadow: 0 6px 18px rgba(45, 178, 74, 0.18); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(6, 15, 31, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.4s var(--ease);
        overflow-y: auto;
    }

    .nav-menu.active { left: 0; }

    .nav-menu-left,
    .nav-menu-right {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu-right {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--glass-border);
    }

    .nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .menu-toggle { display: flex; }

    .hero-title { font-size: 2.5rem; letter-spacing: 2px; }
    .section-header h2 { font-size: 1.7rem; }
    .programs-grid, .articles-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .blog-stats { flex-direction: column; gap: 1.5rem; }
    .cookie-content { flex-direction: column; text-align: center; gap: 0.8rem; }
    .contact-form-wrapper, .login-box { padding: 1.8rem 1.2rem; }
    .article-hero { padding: 1.5rem; }
    .article-hero h1 { font-size: 1.5rem; }
    .article-meta { flex-direction: column; gap: 0.5rem; }
    .article-intro-text, .error-section, .solution-block, .article-conclusion, .article-cta { padding: 1.2rem; }
    .error-section h2 { font-size: 1.3rem; flex-direction: column; gap: 0.4rem; }
    .article-conclusion h2 { font-size: 1.3rem; flex-direction: column; }
    .article-hero-buttons { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .btn-scroll-down-hero { margin-left: 0; }
    .article-video-container { margin: 1.2rem -1rem; }
    .video-wrapper { border-radius: 0; }
    .article-heading { font-size: 1.3rem; }
    .article-subheading { font-size: 1.1rem; }
    .article-formatted-content { font-size: 0.92rem; }
    .video-section { padding: 1.2rem; }
    .video-section h3 { font-size: 1.1rem; }
}

@media (max-width: 1024px) {
    .cart-wrapper { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

@media (max-width: 768px) {
    .cart-item { grid-template-columns: 55px 1fr; gap: 0.8rem; }
    .cart-item-image { width: 55px; height: 55px; }
    .cart-item-quantity, .cart-item-price, .cart-item-remove { grid-column: 2; }
    .cart-item-quantity { justify-self: start; }
    .cart-item-price { justify-self: start; text-align: left; }
    .cart-item-remove { justify-self: end; }
    .trust-badges { grid-template-columns: 1fr; }
    .scroll-to-bottom { width: 42px; height: 42px; bottom: 18px; right: 18px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; letter-spacing: 1px; }
    .btn-primary { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .program-price { font-size: 2rem; }
    .article-title { font-size: 1.1rem; }
    .article-hero h1 { font-size: 1.3rem; }
    .article-intro-text p, .error-section p, .solution-block p { font-size: 0.9rem; }
    .article-cta h3 { font-size: 1.2rem; }
}
