/* Reset CSS et styles globaux - Charte graphique moderne et chaleureuse - Accent caramel #a67c52 */

/* Variables CSS globales */
:root {
    --header-height: 80px;
    --header-height-mobile: 70px;
    --accent-color: #a67c52;
    --accent-color-dark: #8a6642;
    --text-color: #1e1e1e;
    --bg-color: #ffffff;
    --bg-light: #fdf6f0;
    --bg-medium: #e8d8c3;
}

/* Reset de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e1e1e;
    background-color: #ffffff;
}

/* Désactiver les ligatures typographiques pour éviter le chevauchement
   (utile avec certaines polices script comme ThirstyScriptExtraBoldDemo) */
body, h1, h2, h3, h4, h5, h6, .menu-item {
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0;
}

/* Polices personnalisées */
@font-face {
    font-family: 'ThirstyScriptExtraBoldDemo';
    src: url('/assets/fonts/ThirstyScriptExtraBoldDemo.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Oleo_Script';
    src: url('../fonts/Oleo_Script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Styles de base pour les titres */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.2;
}

/* Styles de base pour les liens */
a {
    color: #a67c52;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #8a6642;
}

/* Styles de base pour les images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Styles de base pour les boutons */
button {
    cursor: pointer;
    font-family: inherit;
}

/* Classes d'espacement communes */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Classes de conteneurs communes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Styles pour les listes */
ul, ol {
    padding-left: 2rem;
}

/* Styles pour les paragraphes */
p {
    margin-bottom: 1rem;
}

/* Styles pour les tableaux */
table {
    width: 100%;
    border-collapse: collapse;
}

/* Classes d'affichage communes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }

/* Classes de couleur communes */
.text-accent { color: #a67c52; }
.bg-light { background-color: #fdf6f0; }
.bg-accent { background-color: #a67c52; }

/* Classes d'animation communes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fadeIn { animation: fadeIn 1s ease-out; }
.animate-fadeInUp { animation: fadeInUp 1s ease-out; }

/* Bouton d'accès admin fixe en bas à gauche - Style professionnel */
.admin-access-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #2c3e50;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.3px;
}

.admin-access-btn:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.35);
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.15);
}

.admin-access-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
}

.admin-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.admin-text {
    font-size: 13px;
    letter-spacing: 0.4px;
    font-weight: 500;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .admin-access-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .admin-icon {
        font-size: 14px;
    }
    
    .admin-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .admin-access-btn {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .admin-text {
        display: none; /* Masquer le texte sur très petits écrans */
    }
}
