:root {
    /* Couleurs */
    --color-primary: #2e8b57;
    --color-secondary: #b0e0a5;
    --color-accent: #4cb36a;
    --color-background: #f8fdf6;
    --color-footer-bg: #2e8b57;
    --color-text-dark: #333;
    --color-text-light: #f8fdf6;
    --color-border: #d9e6d4;

    /* Section Backgrounds */
    --section-bg-1: #fcf8f6;
    --section-bg-2: #e6f0e3;
    --section-bg-3: #ffffff;
    --section-bg-4: #d9e6d4;
    --section-bg-5: #f1fdf0;
    --section-bg-6: #ffffff;

    /* Typographie */
    --font-family-primary: 'Montserrat', sans-serif;
    --font-family-secondary: 'Open Sans', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* Espacement */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Rayon de bordure */
    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.75rem; /* 12px */

    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 4px 8px rgba(76, 179, 106, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.6rem;
    font-weight: 600;
}

h5 {
    font-size: 1.3rem;
    font-weight: 500;
}

h6 {
    font-size: 1.1rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

li {
    margin-bottom: var(--spacing-xs);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
    object-fit: cover; /* Assure que les images remplissent leur espace sans déformation */
}

/* Conteneurs et sections */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Header */
.header {
    background-color: var(--color-background);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: center; /* Centrer le logo */
    align-items: center;
    position: relative;
    min-height: 60px; /* Hauteur minimale pour le header */
}

.header-logo {
    display: block;
    height: 40px; /* Ajustez la taille du logo */
    object-fit: contain;
}

.nav-toggle {
    display: none; /* Masqué par défaut sur desktop */
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1010;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-family: var(--font-family-primary);
    font-weight: 500;
    color: var(--color-text-dark);
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-button);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 139, 87, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 8px rgba(176, 224, 165, 0.3);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 139, 87, 0.4);
}

/* Formulaires */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-family-primary);
    font-weight: 500;
    color: var(--color-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: #ffffff;
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(76, 179, 106, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Icônes */
.icon {
    display: inline-block;
    width: 1.5em; /* Taille de base pour les icônes */
    height: 1.5em;
    vertical-align: middle;
    fill: currentColor; /* Permet de changer la couleur de l'icône avec la couleur du texte */
}

.icon-primary {
    color: var(--color-primary);
}

.icon-gray {
    color: #6b7280; /* Un gris clair */
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer p {
    margin-bottom: var(--spacing-sm);
}

.footer a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.footer a:hover {
    color: #ffffff;
}

/* Utilitaires Alpine.js */
[x-cloak] {
    display: none !important;
}

/* Media Queries pour le responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    .nav-menu {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: space-between; /* Permet au logo et au bouton d'être sur les côtés */
    }

    .nav-toggle {
        display: block; /* Affiche le bouton de navigation sur mobile */
    }

    .nav-menu {
        display: none; /* Masque la navigation par défaut sur mobile */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Sous le header */
        left: 0;
        width: 100%;
        background-color: var(--color-background);
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-sm) 0;
    }

    .nav-menu.active {
        display: flex; /* Affiche la navigation quand elle est active */
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: var(--spacing-xs) 0;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        color: var(--color-text-dark);
    }

    .nav-menu a:hover {
        background-color: var(--section-bg-2);
    }

    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.6rem; }

    section {
        padding: var(--spacing-lg) 0;
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    .btn {
        padding: var(--spacing-sm) var(--spacing-sm);
        font-size: 0.95rem;
    }
}

/* Styles pour les images (haute qualité, naturalité) */
.img-natural {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.img-natural:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Effets de survol pour les liens (pour les cas non-menu) */
.link-hover-subtle {
    position: relative;
    display: inline-block;
}

.link-hover-subtle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Sous le texte */
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.link-hover-subtle:hover::after {
    width: 100%;
    background-color: var(--color-primary);
}<ctrl63>


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}