/* --- IMPORT DES POLICES (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Oswald:wght@300;400;700&display=swap');

/* --- IMPORT DARK MODE --- */
@import url('dark-mode.css');

:root {
    /* --- PALETTE DE COULEURS (Charte Le Grand Miam) --- */
    --color-primary: #D32F2F;
    --color-primary-dark: #B71C1C;
    --color-secondary: #2D2D2D;
    --color-accent: #FFC107;
    --color-bg: #FDFBF7;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-grey-light: #E0E0E0;
    --color-success: #4CAF50;
    --color-info: #2196F3;

    /* --- TYPOGRAPHIE --- */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Lato', sans-serif;

    /* --- UI ELEMENTS (Modern Mobile) --- */
    --border-radius: 12px; /* Arrondi plus moderne */
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08); /* Ombre douce */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0,0,0,0.15);
    --shadow-floating: 0 8px 24px rgba(0, 0, 0, 0.15); /* Pour les éléments flottants */
    --transition-speed: 0.3s;
}

/* --- RESET & BASES --- */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Enlève le flash bleu sur mobile */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    font-size: 16px; /* Base lisible */
}

h1, h2, h3, h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- BOUTONS (Style "App") --- */
.btn, .cta-button, .btn-submit, .btn-deliver, .btn-map {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 24px;
    border-radius: 50px; /* Pill shape */
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    width: auto;
    font-size: 1rem;
}

.btn:active, .cta-button:active, .btn-submit:active {
    transform: scale(0.96);
    box-shadow: none;
}

/* --- HEADER & NAVIGATION (Sticky & Clean) --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Effet verre (Glassmorphism) */
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.text-highlight { color: var(--color-primary); }

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-links li a.active {
    color: var(--color-primary);
    background-color: rgba(211, 47, 47, 0.05);
}

.btn-login {
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary) !important;
    padding: 6px 16px !important;
    border-radius: 50px;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.05);
}

.btn-secondary-action {
    background-color: var(--color-secondary);
}

/* --- LAYOUT & CARDS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Concept de "Carte" générique pour unifier le design */
.card-style, .menu-formule, .delivery-card, .order-card, .form-container, .legal-nav, .legal-content, .info-box, figure {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 20px;
    margin-bottom: 20px;
    border: none; /* On enlève les bordures classiques pour le shadow */
}

/* --- ACCUEIL --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1544025162-8a11520110ec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    margin-top: -10px; /* Absorbe l'espace sous le header */
    padding: 2rem 0;
}
#hero h1 { color: var(--color-accent); font-size: 3.5rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); }
#hero p { font-size: 1.5rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }
#hero .cta-button { font-size: 1.1rem; padding: 16px 32px; box-shadow: 0 8px 20px rgba(211,47,47,0.4); }

.flex-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
}

.concept-text { flex: 2; }
.info-box {
    flex: 1;
    border-left: 5px solid var(--color-primary);
    background-color: #fff; /* White card style */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

figure {
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure img {
    border-radius: 8px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* --- RECHERCHE (Style App Mobile) --- */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Ombre flottante */
    transition: all 0.3s ease;
    background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat 95% center; /* Loupe SVG intégrée */
}

.search-input:focus {
    outline: none;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.15); /* Ombre rouge au focus */
    transform: translateY(-2px);
}

/* --- FILTRES PAGE CARTE --- */
.filter-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-grey-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--color-white);
}

/* --- PAGE CARTE & MENUS --- */
.menu-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-secondary);
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.menu-table caption {
    caption-side: top;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
    text-align: left;
    border-left: 5px solid var(--color-primary);
    padding-left: 15px;
    font-family: var(--font-heading);
}

.menu-table th, .menu-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.menu-table th {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 400;
}

.menu-table tfoot td {
    font-style: italic;
    color: #666;
}

.category-cell {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.separator td {
    background-color: var(--color-bg);
    height: 10px;
    padding: 0;
    border: none;
}

/* Menus Formules */
.menu-formule {
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.menu-formule:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.menu-formule h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

/* Badges de spécificités */
.spec-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
}
.spec-vege { background: rgba(76, 175, 80, 0.15); color: #2e7d32; border: 1px solid rgba(76,175,80,0.3); }
.spec-porc { background: rgba(233, 30, 99, 0.15); color: #880e4f; border: 1px solid rgba(233,30,99,0.3); }
.spec-halal { background: rgba(0, 188, 212, 0.15); color: #006064; border: 1px solid rgba(0,188,212,0.3); }
.spec-poisson { background: rgba(33, 150, 243, 0.15); color: #1565c0; border: 1px solid rgba(33,150,243,0.3); }

/* Cellule de prix */
.price-cell {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- FORMULAIRES --- */
.form-page {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-container {
    border-top: 5px solid var(--color-primary);
    max-width: 500px;
    width: 100%;
}

.form-group input, .form-group select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-grey-light);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #FAFAFA;
    transition: border-color 0.3s;
}

.form-group input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
}

.btn-submit { width: 100%; margin-top: 10px; }

/* --- ADMIN --- */
.admin-container { max-width: 1000px; margin: 40px auto; padding: 20px; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 20px;
}
.filter-container { display: flex; align-items: center; gap: 0.5rem; }

.user-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
    overflow: hidden;
}
.user-table th, .user-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.user-table th { background-color: #333; color: var(--color-accent); }

.role-badge { padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.role-client { background: #e0f7fa; color: #006064; }
.role-admin { background: #fce4ec; color: #880e4f; }
.role-restaurateur { background: #fff3e0; color: #e65100; }
.role-livreur { background: #e8f5e9; color: #2e7d32; }

.actions-cell .action-btn { margin: 0 2px; padding: 5px 8px; font-size: 0.8rem; color: white; border: none; border-radius: 4px; cursor: pointer; }
.action-btn.edit-btn { background-color: #3498db; }
.action-btn.hide-btn { background-color: #f39c12; }
.action-btn.delete-btn { background-color: #e74c3c; }

/* --- LIVREUR (Mobile First Design) --- */
.delivery-app {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-bg);
    min-height: 100vh;
    padding-bottom: 80px; /* Espace pour la nav du bas */
}

.app-header {
    background: var(--color-secondary);
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: var(--shadow-floating);
    margin-bottom: 20px;
}

.app-header h2 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
}

.app-header small {
    display: block;
    margin-bottom: 15px;
}

.order-list { padding: 20px; }

.delivery-card {
    position: relative;
    border-left: 5px solid var(--color-primary);
}

.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.delivery-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.delivery-card-header h3 {
    margin-top: 0;
}

.delivery-total {
    font-weight: bold;
    color: var(--color-primary);
}

.delivery-tel {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #666;
}

.delivery-actions {
    margin-top: 15px;
}

.badge {
    background: var(--color-accent);
    color: var(--color-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.9rem;
}

.address-box {
    background: #F5F5F5;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Boutons Livreur Spécifiques */
.btn-map {
    width: 100%;
    background-color: var(--color-info); /* Bleu Maps */
    margin-bottom: 12px;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.3);
}

.btn-deliver {
    width: 100%;
    background-color: var(--color-success); /* Vert Validation */
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.3);
}

.btn-livreur {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    border: none;
    font-size: 1.1rem;
}

.btn-gps {
    background-color: #4285F4;
    color: white;
    margin-bottom: 10px;
}

.btn-validate {
    background-color: var(--color-primary);
    color: white;
}

#toggle-dark-mode {
    background-color: #FFC107;
    color: #000;
}

/* Navigation du bas (Livreur) */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-bottom-spacer {
    height: 80px;
}

.nav-bottom .nav-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nav-bottom .nav-item.active {
    color: var(--color-primary);
    font-weight: bold;
}

.nav-item-quit {
    color: #D32F2F !important;
}

/* --- RESTAURATEUR (CUISINE) --- */
.kitchen-board { display: flex; gap: 20px; padding: 20px; overflow-x: auto; min-height: 80vh; }
.column { flex: 1; min-width: 300px; background: #f4f4f4; border-radius: 8px; padding: 15px; }
.column h2 { text-align: center; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.order-card { background: white; border-left: 5px solid #ff6b00; padding: 15px; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.col-waiting { border-top: 5px solid #ff4444; }
.col-prep { border-top: 5px solid #2196F3; }
.col-ready { border-top: 5px solid #4CAF50; }
.btn-move { width: 100%; padding: 10px; border: none; cursor: pointer; font-weight: bold; margin-top: 5px; color: white; border-radius: 4px; }
.btn-start { background-color: #2196F3; }
.btn-ready { background-color: #4CAF50; }

/* --- NOTATION --- */
.rating-container { max-width: 600px; margin: 50px auto; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-align: center; }
.stars { font-size: 2.5rem; color: #ccc; cursor: pointer; margin: 20px 0; }
.star.active { color: #ffcc00; }
textarea { width: 100%; height: 100px; padding: 10px; margin: 20px 0; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }

/* --- MENTIONS LÉGALES --- */
.legal-page { display: flex; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.legal-nav { flex: 1; background: white; padding: 20px; border-radius: var(--border-radius); box-shadow: var(--shadow-soft); }
.legal-nav a { display: block; padding: 10px 0; border-bottom: 1px solid #eee; }
.legal-content { flex: 3; background: white; padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-soft); text-align: justify; }

/* --- PAGE PROFIL (FIDÉLITÉ) --- */
.profile-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.profile-header h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Onglets */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--color-secondary);
    padding: 10px 25px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Ruban Titre */
.ribbon-title {
    background: var(--color-primary);
    color: white;
    padding: 10px 30px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    margin-left: -30px; /* Effet débordant */
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.ribbon-title::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 10px solid #8E1616; /* Rouge foncé pliure */
    border-left: 10px solid transparent;
}

/* Carte Fidélité */
.loyalty-card {
    background: linear-gradient(135deg, var(--color-primary), #8E1616);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 40px;
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.loyalty-points {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Tableau Historique */
.history-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow-soft);
}

.history-table th {
    background-color: var(--color-secondary);
    color: white;
    padding: 15px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 400;
}

.history-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.status-delivered {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

/* ==========================================================================
   📱 MOBILE OPTIMIZATIONS (Max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* 1. Navigation Mobile "Drawer" Style */
    nav {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 15px;
    }

    .logo-container {
        text-align: center;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-links li { width: 100%; }

    .nav-links li a {
        display: block;
        width: 100%;
        text-align: center;
        background: white;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .nav-links li a.active {
        background: var(--color-primary);
        color: white;
    }

    /* 2. Layout Général */
    .flex-row {
        flex-direction: column;
        padding: 10px 0;
    }

    .container, .menu-container, .admin-container, .profile-container {
        padding: 10px;
        width: 100%;
    }

    /* --- Accueil --- */
    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }

    /* 3. Transformation des Tableaux en Cartes (Magie CSS) */
    /* On cache l'en-tête du tableau */
    .menu-table thead, .user-table thead, .history-table thead {
        display: none;
    }

    /* Chaque ligne devient une carte */
    .menu-table tr, .user-table tr, .history-table tr {
        display: block;
        background: white;
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: var(--shadow-card);
        padding: 15px;
        border: 1px solid #f0f0f0;
    }

    /* Chaque cellule devient une ligne flex */
    .menu-table td, .user-table td, .history-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .menu-table td:last-child, .user-table td:last-child {
        border-bottom: none;
    }

    /* Ajout de labels via CSS si possible, sinon layout simple */
    .user-table td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        text-align: left;
    }

    /* Actions Admin : Gros boutons */
    .actions-cell {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100%;
        margin-top: 10px;
    }

    .action-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
        margin: 0 5px;
    }

    /* 4. Cuisine (Restaurateur) */
    .kitchen-board {
        flex-direction: column;
    }
    .column {
        width: 100%;
        min-width: auto;
    }

    /* 5. Admin Header */
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .filter-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .filter-container select {
        margin-top: 5px;
        padding: 10px;
    }

    /* 6. Profil */
    .tabs {
        flex-direction: column;
    }
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-radius: 8px;
    }

    /* 7. Mentions Légales */
    .legal-page {
        flex-direction: column;
    }
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    border-top: 5px solid var(--color-accent);
}