/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300&family=Caveat:wght@400&display=swap');

:root {
    --navbar-bg: #1c1b2f;
    --navbar-text: #ffffff;
    --navbar-text-hover: #f39c12;
    --btn-primary: #e74c3c;
    --btn-primary-hover: #c0392b;
    --overlay-bg: rgba(28, 27, 47, 0.95);
    --accent-gradient: linear-gradient(135deg, #f39c12, #e74c3c);
    
    /* Variables pour les couleurs principales */
    --primary-color: #e74c3c;
    --secondary-color: #f39c12;
    --dark-bg: #1C1B2F;
    --light-bg: #FFECD9;
    --text-dark: #1C1B2F;
    --text-light: #666;
    --hero-text-color: #FFE9D2;
    --border-radius: 15px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Variables typographiques OPTIMISÉES */
    --font-nunito: 'Nunito', sans-serif;
    --font-open-sans: 'Open Sans', sans-serif;
    --font-caveat: 'Caveat', cursive;
    
    /* Variables pour H1 - RÉDUIT */
    --h1-font-family: var(--font-nunito);
    --h1-font-weight: 500;
    --h1-font-size: 32px; /* Réduit de 40px à 32px */
    --h1-line-height: 120%;
    --h1-color: var(--text-dark);
    
    /* Variables pour H2 - RÉDUIT */
    --h2-font-family: var(--font-nunito);
    --h2-font-weight: 600;
    --h2-font-size: 28px; /* Réduit de 36px à 28px */
    --h2-line-height: 120%;
    --h2-color: var(--text-dark);
    
    /* Variables pour H3 - RÉDUIT */
    --h3-font-family: var(--font-nunito);
    --h3-font-weight: 400;
    --h3-font-size: 24px; /* Réduit de 32px à 24px */
    --h3-line-height: 120%;
    --h3-color: var(--text-dark);
    
    /* Variables pour le corps de texte - RÉDUIT */
    --body-font-family: var(--font-open-sans);
    --body-font-weight: 400;
    --body-font-size: 16px; /* Réduit de 32px à 16px */
    --body-line-height: 150%;
    --body-color: var(--text-dark);
    
    /* Variables pour le texte en gras - RÉDUIT */
    --bold-font-family: var(--font-open-sans);
    --bold-font-weight: 700;
    --bold-font-size: 16px; /* Réduit de 32px à 16px */
    --bold-line-height: 150%;
    
    /* Variables pour les mentions légales - RÉDUIT */
    --legal-font-family: var(--font-open-sans);
    --legal-font-weight: 300;
    --legal-font-style: italic;
    --legal-font-size: 14px; /* Réduit de 32px à 14px */
    --legal-line-height: 140%;
    
    /* Variables pour les annotations Caveat - ALLÉGÉ */
    --annotation-font-family: var(--font-caveat);
    --annotation-font-weight: 400; /* Reste à 400 car c'est déjà léger */
    --annotation-font-size: 32px; /* Réduit de 48px à 32px */
    --annotation-line-height: 120%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-open-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

/* ========================================
   TYPOGRAPHIE OPTIMISÉE
======================================== */

/* Titres H1 - Plus petits */
h1, .h1 {
    font-family: var(--font-nunito);
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    color: var(--text-dark);
}

/* Titres H2 - Plus petits */
h2, .h2 {
    font-family: var(--font-nunito);
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: var(--text-dark);
}

/* Titres H3 - Plus petits */
h3, .h3 {
    font-family: var(--font-nunito);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: var(--text-dark);
}

/* Corps de texte - Taille normale */
p, .body-text {
    font-family: var(--font-open-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--text-dark);
}

/* Texte en gras */
.text-bold, strong, b {
    font-family: var(--font-open-sans);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
}

/* Mentions légales */
.legal-text {
    font-family: var(--font-open-sans);
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    line-height: 140%;
}

/* Annotations avec Caveat - Plus léger et plus petit */
.annotation, .handwriting {
    font-family: var(--font-caveat);
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
}

/* ========================================
   BOUTONS OPTIMISÉS - Moins hauts
======================================== */

/* Bouton de base - ENCORE PLUS RÉDUIT */
.btn {
    display: inline-block;
    padding: 0.5rem 1.8rem; /* Réduit encore la hauteur */
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-nunito);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
}

/* Bouton primaire */
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

/* Bouton secondaire */
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Bouton outline blanc */
.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--dark-bg);
    text-decoration: none;
}

/* Bouton dark */
.btn-dark {
    background: var(--dark-bg);
    color: white;
}

.btn-dark:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Variantes de tailles pour les boutons - ENCORE PLUS RÉDUITES */
.btn-sm {
    padding: 0.35rem 1rem; /* Réduit encore */
    font-size: 14px;
}

.btn-lg {
    padding: 0.65rem 2rem; /* Réduit encore */
    font-size: 18px;
}

/* ========================================
   CLASSES UTILITAIRES RÉCURRENTES
======================================== */

/* Texte en couleur accent */
.text-accent {
    color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color);
}

/* Texte avec style manuscrit - Plus léger */
.highlight-text {
    color: var(--secondary-color);
    font-family: var(--font-caveat);
    font-weight: 400;
    font-size: 32px;
}

/* Conteneur standard */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections avec padding standard */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 8rem 0;
}

/* Backgrounds */
.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: white;
}

/* ========================================
   NAVBAR STYLES
======================================== */

.modern-navbar {
    background-color: var(--navbar-bg);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-scrolled {
    background-color: rgba(28, 27, 47, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.navbar-logo {
    height: 35px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

/* Menu hamburger personnalisé */
.hamburger-container {
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--navbar-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation du hamburger */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Menu mobile overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navigation mobile */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    color: var(--navbar-text);
    text-decoration: none;
    font-family: var(--font-nunito);
    font-size: 22px; /* Légèrement réduit */
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }

.mobile-nav-link:hover {
    color: var(--navbar-text-hover);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0) scale(1.05);
}

/* Boutons CTA mobile - ENCORE PLUS RÉDUITS */
.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

.mobile-btn {
    padding: 0.6rem 2rem; /* Encore plus réduit */
    border-radius: 50px;
    font-family: var(--font-nunito);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 250px;
    text-align: center;
}

.mobile-btn-outline {
    background: transparent;
    border: 3px solid white;
    color: var(--navbar-text);
}

.mobile-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--navbar-text);
}

.mobile-btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

/* ===== ICÔNES UTILITAIRES MOBILES ===== */

.mobile-utilities {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    justify-content: center;
}

.mobile-icon-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--navbar-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.mobile-icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.mobile-icon-btn:hover::before,
.mobile-icon-btn:focus::before {
    width: 100%;
    height: 100%;
}

.mobile-icon-btn:hover,
.mobile-icon-btn:focus {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.mobile-icon-btn:active {
    transform: scale(1.05) translateY(-1px);
}

/* Animation keyframes */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Version desktop */
@media (min-width: 992px) {
    .hamburger-container {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    /* Navbar desktop */
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .desktop-nav-link {
        color: var(--navbar-text);
        text-decoration: none;
        font-family: var(--font-nunito);
        font-weight: 500;
        font-size: 16px;
        padding: 0.5rem 0;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .desktop-nav-link:hover {
        color: var(--navbar-text-hover);
    }
    
    .desktop-nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--navbar-text-hover);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .desktop-nav-link:hover::after {
        width: 100%;
    }
    
    .desktop-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .desktop-btn {
        padding: 0.45rem 1.25rem; /* Encore plus réduit */
        border-radius: 25px;
        font-family: var(--font-nunito);
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .desktop-btn-outline {
        border: 3px solid white;
        color: var(--navbar-text);
        background: transparent;
    }
    
    .desktop-btn-outline:hover {
        background: white;
        color: var(--dark-bg);
        text-decoration: none;
    }
    
    .desktop-btn-primary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 20px; /* Encore plus réduit */
        border-radius: 25px;
        font-family: var(--font-nunito);
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        cursor: pointer;
        border: 2px solid ; /* Bordure transparente par défaut */
        background: linear-gradient(135deg, #b03306 0%, #F7931E 100%);
        color: var(--dark-bg);
        transition: all 0.3s ease;
        box-sizing: border-box;
        z-index: 1;
    }
    
    .desktop-btn-primary:hover {
        background: transparent;
        color: transparent;
        background-image: linear-gradient(135deg, #b03306 0%, #F7931E 100%);
        -webkit-background-clip: text;
        background-clip: text;
        border-color: #b03306; /* Contour orange au hover */
    }

    /* Version desktop des icônes utilitaires */
    .navbar-icons {
        display: flex;
        gap: 0.75rem;
        margin-left: 1rem;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.15);
        color: var(--navbar-text);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        backdrop-filter: blur(10px);
    }

    .icon-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: var(--accent-gradient);
        border-radius: 50%;
        transition: all 0.3s ease;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    .icon-btn:hover::before,
    .icon-btn:focus::before {
        width: 100%;
        height: 100%;
    }

    .icon-btn:hover,
    .icon-btn:focus {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
    }
}

@media (max-width: 991px) {
    .desktop-nav,
    .desktop-actions {
        display: none !important;
    }
}

/* ========================================
   MODAL DE RÉGION
======================================== */

.modal-content {
    background: var(--navbar-bg);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.modal-header {
    background: var(--accent-gradient);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.modal-title {
    color: white;
    font-family: var(--font-nunito);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    flex: 1;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    opacity: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-close:hover,
.btn-close:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    opacity: 1;
}

.modal-body {
    background: var(--navbar-bg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.modal-body p {
    color: #b8b9da;
    font-family: var(--font-open-sans);
    font-size: 16px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.region-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--navbar-text);
    padding: 0.7rem 1.8rem; /* Réduit */
    margin: 0.5rem;
    border-radius: 50px;
    font-family: var(--font-nunito);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.region-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 50px;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.region-btn:hover::before,
.region-btn:focus::before {
    width: 120%;
    height: 200%;
}

.region-btn:hover,
.region-btn:focus {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.region-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Animation du modal */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Overlay du modal */
.modal-backdrop {
    background-color: rgba(28, 27, 47, 0.8);
    backdrop-filter: blur(5px);
}

/* ========================================
   FOOTER
======================================== */

.modern-footer {
    background-color: var(--navbar-bg);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

/* Section marque avec logo */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo-circle {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    color: white;
    font-family: var(--font-nunito);
    font-size: 22px; /* Légèrement réduit */
    font-weight: bold;
}

.brand-name {
    color: #ffffff;
    font-family: var(--font-nunito);
    font-size: 18px; /* Réduit de 20px */
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

/* Section contact */
.contact-section {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.icon-text {
    color: white;
    font-size: 18px; /* Réduit de 20px */
    font-weight: bold;
}

.contact-info h6 {
    color: #ffffff;
    font-family: var(--font-nunito);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #b8b9da;
    font-family: var(--font-open-sans);
    margin: 0.25rem 0;
    font-size: 14px;
}

/* Titres des sections */
.footer-title {
    color: #ffffff;
    font-family: var(--font-nunito);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Liens du footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem; /* Réduit de 0.5rem pour moins d'espacement */
}

.footer-links a {
    color: #b8b9da;
    text-decoration: none;
    font-family: var(--font-open-sans);
    font-size: 14px;
    line-height: 1.3; /* Interlignage réduit */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.social-link.facebook {
    background-color: #1877f2;
    color: white;
}

.social-link.linkedin {
    background-color: #0077b5;
    color: white;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bas du footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.copyright {
    color: #b8b9da;
    font-family: var(--font-open-sans);
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

.copyright a {
    color: #f39c12;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Icône d'avertissement */
.footer-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.warning-icon {
    background-color: #f39c12;
    color: #2c2b47;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN MOBILE
======================================== */

@media (max-width: 768px) {
    /* Ajustements typographiques mobile */
    h1, .h1 {
        font-size: 24px;
    }
    
    h2, .h2 {
        font-size: 22px;
    }
    
    h3, .h3 {
        font-size: 18px;
    }
    
    p, .body-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .text-bold, strong, b {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .legal-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .annotation, .handwriting {
        font-size: 26px;
    }
    
    /* Boutons mobile - Plus compacts */
    .btn {
        padding: 0.5rem 1.5rem; /* Encore plus réduit */
        font-size: 15px;
    }
    
    .btn-sm {
        padding: 0.3rem 0.9rem; /* Encore plus réduit */
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 0.6rem 1.8rem; /* Encore plus réduit */
        font-size: 16px;
    }
    
    /* Container mobile */
    .container {
        padding: 0 1rem;
    }
    
    .modern-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-icon {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .copyright {
        font-size: 10px;
    }
    
    /* Responsive pour le modal */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .region-btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        min-width: auto;
        font-size: 14px;
        padding: 0.6rem 1.5rem;
    }
    
    .mobile-utilities {
        margin-top: 2rem;
        gap: 1.2rem;
    }
    
    .mobile-icon-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Navigation mobile plus compacte */
    .mobile-nav-link {
        font-size: 20px;
        padding: 0.8rem 1.5rem;
    }
    
    .mobile-btn {
        padding: 0.55rem 1.8rem; /* Encore plus réduit */
        font-size: 15px;
        min-width: 220px;
    }
}

@media (max-width: 576px) {
    /* Ajustements typographiques très petits écrans */
    h1, .h1 {
        font-size: 22px;
    }
    
    h2, .h2 {
        font-size: 20px;
    }
    
    h3, .h3 {
        font-size: 17px;
    }
    
    p, .body-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .text-bold, strong, b {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .legal-text {
        font-size: 11px;
    }
    
    .annotation, .handwriting {
        font-size: 24px;
    }
    
    /* Boutons encore plus compacts */
    .btn {
        padding: 0.5rem 1.3rem;
        font-size: 14px;
    }
    
    .footer-brand {
        margin-bottom: 1.5rem;
    }
    
    .contact-section {
        margin-bottom: 1.5rem;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .copyright {
        font-size: 9px;
    }
    
    .mobile-nav-link {
        font-size: 18px;
        padding: 0.7rem 1.3rem;
    }
    
    .mobile-btn {
        padding: 0.5rem 1.5rem; /* Encore plus réduit */
        font-size: 14px;
        min-width: 200px;
    }
}

/* ========================================
   ANIMATIONS ET TRANSITIONS GLOBALES
======================================== */

/* Animation fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes d'animation */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Délais d'animation */
.animate-delay-1 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.animate-delay-2 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animate-delay-3 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.animate-delay-4 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animate-delay-5 {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

/* ========================================
   CLASSES UTILITAIRES SUPPLÉMENTAIRES
======================================== */

/* Espacement */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* Alignement texte */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

/* Flexbox */
.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }

/* Largeurs */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }

/* Positions */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Z-index */
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Borders */
.rounded { border-radius: var(--border-radius); }
.rounded-sm { border-radius: 8px; }
.rounded-lg { border-radius: 25px; }
.rounded-circle { border-radius: 50%; }

/* Shadows */
.shadow { box-shadow: var(--shadow); }
.shadow-sm { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }

/* Couleurs de fond utilitaires */
.bg-white { background-color: white; }
.bg-transparent { background: transparent; }
.bg-gradient { background: var(--accent-gradient); }

/* Transitions */
.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

/* Hover effects */
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.hover-grow:hover {
    transform: scale(1.1);
}

/* Cursors */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* Responsive visibility */
@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 769px) {
    .d-desktop-none { display: none !important; }
    .d-desktop-block { display: block !important; }
    .d-desktop-flex { display: flex !important; }
}