/* ================================================
   RESET & BASE STYLES
================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    padding-top: 60px;
    max-width: 1080px; 
    margin: 80px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

/* ================================================
   HEADER & NAVIGATION
================================================ */
.main-nav {
    background: rgba(26, 57, 37, 0.95);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1080px;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-radius: 6px;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #2E5A35;
    color: #90EE90;
}

/* ================================================
   MAIN CONTENT AREA
================================================ */
main {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #2E5A35;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* ================================================
   PARALLAX & VIDEO SECTIONS
================================================ */
.parallax-section {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-align: center;
    position: relative;
    word-wrap: break-word;
}

.parallax-section h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-section p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    border-radius: 6px;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

/* ================================================
   FORMULAIRES
================================================ */
.contact-form {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.half-width {
    flex: 1;
    min-width: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2E5A35;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2E5A35;
    outline: none;
}

.submit-btn {
    background: #2E5A35;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #3B7445;
}

/* ================================================
   GALERIE
================================================ */
.gallery-section {
    max-width: 1080px;
    margin: 60px auto;
    padding: 0 1rem;
}

.upload-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    border-color: #90EE90;
    background: #f8fff8;
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.upload-text {
    font-weight: 500;
    color: #2E5A35;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.empty-gallery {
    text-align: center;
    color: #666;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* ================================================
   ALERTES
================================================ */
.alert {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.alert.success {
    background-color: #efe;
    border-color: #9f9;
    color: #2e7d32;
}

.alert.error {
    background-color: #fee;
    border-color: #f99;
    color: #d32f2f;
}

/* ================================================
   FOOTER
================================================ */
.site-footer {
    background: #1A3925;
    color: #fff;
    padding: 1.5rem 0;
    margin-top: auto;
    border-radius: 6px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #90EE90;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}
/* Icônes Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
/* ================================================
   POLICES DYSLEXIE 
================================================ */
@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Regular.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Bold.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ================================================
   PARAMÈTRES - STYLES DE BASE
================================================ */
.settings-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.settings-trigger {
    background: #2E5A35;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gear-icon {
    color: #fff;
    transition: transform 0.3s ease;
}

.settings-trigger:hover .gear-icon {
    transform: rotate(45deg);
}

.settings-panel {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.settings-wrapper.active .settings-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================================================
   SECTIONS DES PARAMÈTRES
================================================ */
.settings-section {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.settings-section:last-child {
    border-bottom: none;
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0.8rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.setting-toggle:hover {
    background: #f5f5f5;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.setting-toggle.active .toggle-switch {
    background: #2E5A35;
}

.setting-toggle.active .toggle-switch::after {
    transform: translateX(20px);
}

/* ================================================
   CONTROLES DE TAILLE DE TEXTE
================================================ */
.text-size-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.text-size-btn {
    padding: 0.3rem 0.8rem;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

/* ================================================
   OPTIONS DE THÈME
================================================ */
.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0.5rem;
}

.theme-option {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-option:hover {
    border-color: #2E5A35;
}

/* ================================================
   THÈMES & ACCESSIBILITÉ
================================================ */
.theme-light { 
    background: #fff; 
    color: #333; 
}

.theme-dark { 
    background: #1a1a1a; 
    color: #fff; 
}

.theme-nature { 
    background: #f0fff0; 
    color: #2E5A35; 
}

.setting-dyslexia {
    font-family: 'OpenDyslexic', Arial, sans-serif;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.setting-dyslexia p {
    font-size: 1.2em;
    margin-bottom: 1.8em;
    max-width: 65ch;
}

.setting-dyslexia h1,
.setting-dyslexia h2,
.setting-dyslexia h3 {
    font-weight: bold;
    color: #2E5A35;
    letter-spacing: 0.05em;
    margin-bottom: 1.5em;
}

.setting-dyslexia a {
    text-decoration: underline;
    color: #2E5A35;
    border-bottom: 2px solid;
}

.setting-contrast { 
    filter: contrast(1.4);
    background: #000 !important;
    color: #fff !important;
}
/* ================================================
   RESPONSIVE DESIGN
================================================ */
/* ================================================
   RESPONSIVE DESIGN
================================================ */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        text-align: center;
    }
}
/* ================================================
SVG
================================================ */
/*.svg{
    width: 100%;
    height: auto;
}*/
/* Styles pour la section intro */
.intro {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.intro-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #2E5A35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.decorative-line {
    width: 200px;
    height: 3px;
    background: #90EE90;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Grille de faits */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.fact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-left: 4px solid #2E5A35;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.fact-content h3 {
    color: #1A3925;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight {
    color: #2E5A35;
    font-weight: 600;
    background: rgba(144, 238, 144, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

/* Animation de croissance */
.growth-animation {
    position: relative;
    height: 60px;
    margin-top: 1rem;
}

.mountain-shape {
    width: 40px;
    height: 40px;
    background: #2E5A35;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rising-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: #90EE90;
    left: 50%;
    bottom: 40px;
    animation: rise 3s infinite;
}

@keyframes rise {
    0% { height: 0; }
    50% { height: 40px; }
    100% { height: 0; }
}

/* Section géo-fact */
.geo-fact {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #f0fff0;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.earth-model {
    font-size: 3rem;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTA Box */
.cta-box {
    background: #2E5A35;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
}

/* Animations d'apparition */
.reveal-slide {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.reveal-fade {
    opacity: 0;
    transition: all 0.6s ease;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.reveal-slide.active,
.reveal-fade.active,
.reveal-scale.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .feature-list {
        flex-direction: column;
    }
}
/* Style pour les boutons radio */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-group label:hover {
    border-color: #2E5A35;
}

.radio-group input[type="radio"] {
    margin: 0;
    accent-color: #2E5A35;
}
.site-logo {
    height: 24px; /* Ajuste la taille du logo selon tes besoins */
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.1);
}

_______
.main-nav {
    background: #1A3925;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Aligner les éléments au centre */
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.main-nav .logo-item {
    margin-right: auto; /* Le logo sera collé à gauche */
}

.logo-link img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-link img:hover {
    transform: scale(1.1);
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.main-nav a.active, .main-nav a:hover {
    background: #2E5A35;
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav .logo-item {
        margin-bottom: 10px; /* Ajouter un petit espace pour le mobile */
    }
}

.partners-container {
    max-width: 1080px;
    margin: 40px auto;
    text-align: center;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.partner-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: #2E5A35;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #3B7445;
}

@media (max-width: 768px) {
    .partners-list {
        grid-template-columns: 1fr;
    }
}
