/* ---------- VARIABLES ---------- */
:root {
    --primary: #1A3A4F;      /* bleu marine profond */
    --primary-light: #2E6A8E;
    --secondary: #D4AF37;     /* or */
    --accent: #E07A5F;
    --dark: #1E2A32;
    --light: #F8F9FA;
    --gray: #6C757D;
    --text: #212529;
    --border: #DEE2E6;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255,255,255,0.95);
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --transition: all 0.25s ease;
}

[data-theme="dark"] {
    --primary: #0F2A38;
    --primary-light: #1F5A7A;
    --secondary: #E6C26B;
    --light: #1E2A2F;
    --card-bg: #2A3A40;
    --text: #F0F0F0;
    --border: #3A4A50;
    --header-bg: #1E2A2F;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

/* ----- Skip link ----- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.75rem 1.5rem;
}
.logo {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon { color: var(--secondary); }
.logo-text span { font-weight: 400; color: var(--gray); }
.main-nav ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}
.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}
.main-nav a:hover { color: var(--secondary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
.theme-toggle button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
}

/* ----- Hero ----- */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}
.hero .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.hero-content { flex: 1.2; }
.hero-badge {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-stat .stat-number { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.hero-stat .stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { flex: 0.8; text-align: center; }
.flower-symbol {
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--secondary) 15%, transparent 20%);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}
.flower-symbol::before {
    content: "🌼";
    font-size: 5rem;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}
.btn-primary:hover { background: #c9a03d; transform: translateY(-2px); }
.btn-outline {
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: white; color: var(--primary); }

/* ----- Sections ----- */
.section {
    padding: 5rem 0;
}
.bg-light { background: var(--light); }
.bg-primary { background: var(--primary); color: white; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.divider {
    width: 70px; height: 4px;
    background: var(--secondary);
    margin: 0.75rem auto 0;
}
.light .divider { background: var(--secondary); }

/* Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.2rem; color: var(--secondary); margin-bottom: 1rem; }

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: var(--card-bg);
    border-radius: 20px;
    text-align: center;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.stat-card-number { font-size: 1.8rem; font-weight: 800; color: var(--primary-light); }
.stat-card-label { font-size: 0.9rem; }

/* Table définition */
.def-table-wrapper { overflow-x: auto; }
.def-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
}
.def-table th, .def-table td {
    border: 1px solid var(--border);
    padding: 1rem;
    text-align: left;
}
.def-table th { background: var(--primary); color: white; }

/* Big numbers */
.big-number { font-size: 4rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.big-label { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.progress-bar-container {
    background: #ddd;
    border-radius: 20px;
    margin: 1rem 0;
    overflow: hidden;
}
.progress-bar {
    background: var(--primary-light);
    color: white;
    padding: 0.3rem 0.5rem;
    text-align: right;
    font-size: 0.8rem;
}

/* Inclusion cards */
.inclusion-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.inc-card {
    text-align: center;
    min-width: 150px;
    flex: 1;
}
.inc-number { font-size: 2.2rem; font-weight: 800; color: var(--secondary); margin: 0.5rem 0; }
.exclud .inc-number { color: var(--accent); }
.stat-chart-mini { margin-top: 1rem; }
.mini-bar {
    background: #e9ecef;
    border-radius: 20px;
    margin: 0.5rem 0;
    overflow: hidden;
}
.mini-bar span {
    display: block;
    background: var(--primary-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Recommandations */
.recs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rec-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.rec-num {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-right: 1rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
}
.footer-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-weight: 600;
}
.copyright { font-size: 0.8rem; margin-top: 1rem; }

/* Responsive (mobile) géré dans responsive.css */