:root {
    /* Colors from brand manual */
    --green-dark: #0C420A;
    --green-darker: #320012;
    --red: #AA1129;
    --orange: #C3300C;
    --yellow: #FBC113;
    --blue: #0C63B9;
    
    /* UI Colors */
    --bg-light: #FEFEF8;
    --bg-dark: #1A1A1A;
    --text-dark: #2A2A2A;
    --text-light: #F5F5F5;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-accent: 'Permanent Marker', cursive;
    --font-body: 'Urbanist', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem; /* Corrigé : était -2rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo conteneur - alignement horizontal */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espace entre le logo et la box verte */
}

/* Logo circulaire - EN DEHORS de la box */
.logo-circle {
    width: 70px;
    border-radius: 50%;
    object-fit: contain;
    padding: 0.4rem;
    transition: all 0.8s ease; /* Augmenté pour rotation lente */
    flex-shrink: 0;
}

.logo-circle:hover {
    transform: rotate(200deg) translateY(-4px) scale(1.05);
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Box verte avec texte - SANS le logo à l'intérieur */
.logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--green-dark) 0%, #0a5c08 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(12, 66, 10, 0.2);
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 66, 10, 0.3);
}

/* Conteneur du texte */
.logo-text-content {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-reserva {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    color: var(--yellow);
    letter-spacing: 2px;
    opacity: 0.9;
}

.logo-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        gap: 0.8rem;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-reserva {
        font-size: 0.65rem;
    }
    
    .logo-text {
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 0.6rem;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .logo-name {
        font-size: 1.1rem;
    }
    
    .logo-reserva {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .logo-text {
        padding: 0.3rem 0.8rem;
    }
}

.navbar.scrolled .logo-name {
    font-size: 1.7rem;
}
/* Menu de navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.nav-cta {
    background: var(--green-dark);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.nav-menu a.nav-cta::after {
    display: none;
}

.nav-menu a.nav-cta:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 48, 12, 0.3);
}

/* Menu burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--green-dark);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-name {
        font-size: 1.8rem;
    }
    
    .logo-reserva {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .logo-reserva {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-reserva {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .nav-menu {
        width: 85%;
    }
}

/* Animation au scroll */
.navbar.scrolled .logo-name {
    font-size: 1.8rem;
}

.navbar.scrolled .logo-reserva {
    font-size: 0.9rem;
}
/* Menu de navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.nav-cta {
    background: var(--green-dark);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.nav-menu a.nav-cta::after {
    display: none;
}

.nav-menu a.nav-cta:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 48, 12, 0.3);
}

/* Menu burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--green-dark);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-name {
        font-size: 1.8rem;
    }
    
    .logo-reserva {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .logo-reserva {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-reserva {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .nav-menu {
        width: 85%;
    }
}

/* Animation au scroll */
.navbar.scrolled .logo-name {
    font-size: 1.8rem;
}

.navbar.scrolled .logo-reserva {
    font-size: 0.9rem;
}
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(12, 66, 10, 0.7) 0%, 
        rgba(12, 66, 10, 0.4) 50%,
        rgba(12, 99, 185, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    margin-top: 2rem;
    animation: float 3s ease-in-out infinite;

}

.logo-header{
    width: 30%;
}

.shield-icon {
    width: 80px;
    height: 80px;
    color: var(--yellow);
    filter: drop-shadow(0 5px 15px rgba(251, 193, 19, 0.5));
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title .title-line {
    display: block;
    animation: slideInLeft 0.8s ease backwards;
}

.hero-title .title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .title-line:nth-child(3) {
    animation-delay: 0.6s;
    font-family: var(--font-accent);
    color: var(--yellow);
    font-size: clamp(4rem, 10vw, 9rem);
    transform: rotate(-2deg);
    display: inline-block;
}

.hero-title .title-line:nth-child(4) {
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--yellow);
    color: var(--green-dark);
    box-shadow: 0 5px 20px rgba(251, 193, 19, 0.4);
}

.btn-primary:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(195, 48, 12, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--green-dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--blue) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}


.svg-cal{
    width: 100px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--yellow);
    display: block;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
}

.stat-label {
    color: white;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Section Styling */
.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--bg-dark);
    text-transform: uppercase;
    line-height: 1.1;
}

.highlight-text {
    color: var(--orange);
    font-family: var(--font-accent);
    font-size: 1.2em;
    display: inline-block;
    transform: rotate(-2deg);
}

/* About Section with many falling leaves */
.about-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

/* Emoji leaves */
.about-section::before,
.about-section::after {
    content: '🍂';
    position: absolute;
    top: -50px;
    font-size: 30px;
    opacity: 0.7;
    filter: hue-rotate(20deg);
}

.about-section::before {
    left: 10%;
    animation: fall1 8s linear infinite;
}

.about-section::after {
    left: 85%;
    font-size: 25px;
    opacity: 0.6;
    animation: fall2 10s linear infinite 2s;
}

@keyframes fall1 {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    100% { transform: translateY(calc(100vh + 100px)) rotate(360deg); opacity: 0; }
}

@keyframes fall2 {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    100% { transform: translateY(calc(100vh + 100px)) rotate(-360deg); opacity: 0; }
}

/* SVG leaves container */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-grid::before,
.about-grid::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff9800' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    pointer-events: none;
}

.about-grid::before {
    top: -50px;
    left: 30%;
    animation: leafFallSlow 12s ease-in infinite 1s;
}

.about-grid::after {
    top: -50px;
    right: 25%;
    animation: leafFallSlow 15s ease-in infinite 4s;
    filter: hue-rotate(30deg);
}

@keyframes leafFallSlow {
    0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    50% { transform: translateY(50vh) rotate(180deg) translateX(100px); opacity: 0.7; }
    90% { opacity: 0.5; }
    100% { transform: translateY(100vh) rotate(360deg) translateX(-50px); opacity: 0; }
}

/* Text side leaves */
.about-text {
    position: relative;
}

.about-text::before,
.about-text::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffa726' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    animation: leafFallText 14s ease-in infinite;
    z-index: -1;
}

.about-text::before {
    top: -50px;
    right: 15%;
    animation-delay: 2s;
}

.about-text::after {
    top: -50px;
    right: 55%;
    animation-delay: 7s;
    filter: hue-rotate(-20deg);
}

@keyframes leafFallText {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.9; }
    100% { transform: translateY(calc(100% + 200px)) rotate(540deg); opacity: 0; }
}

/* Image side leaves */
.about-image {
    position: relative;
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fb8c00' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    animation: leafFallImage 13s ease-in infinite;
    z-index: 10;
}

.about-image::before {
    top: -50px;
    left: 25%;
    animation-delay: 3s;
}

.about-image::after {
    top: -50px;
    left: 65%;
    animation-delay: 8s;
    filter: hue-rotate(15deg);
}

@keyframes leafFallImage {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.85; }
    100% { transform: translateY(calc(100% + 250px)) rotate(450deg); opacity: 0; }
}

/* Text blocks with extra leaves - including green ones */
.text-block {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 20px;
    transition: transform 0.3s ease;
}

.text-block:nth-child(1)::before,
.text-block:nth-child(1)::after,
.text-block:nth-child(2)::before,
.text-block:nth-child(2)::after,
.text-block:nth-child(3)::before,
.text-block:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-size: contain;
    opacity: 0;
    z-index: -1;
}

/* Green leaves */
.text-block:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230C420A' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 30%;
    animation: leafFallText 16s ease-in infinite 1s;
}

.text-block:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23388e3c' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 20%;
    animation: leafFallText 17s ease-in infinite 3s;
}

.text-block:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232e7d32' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 40%;
    animation: leafFallText 15s ease-in infinite 4s;
}

/* Orange leaves */
.text-block:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffb74d' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 80%;
    animation: leafFallText 18s ease-in infinite 5s;
}

.text-block:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffa726' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 70%;
    animation: leafFallText 19s ease-in infinite 8s;
}

.text-block:nth-child(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff9800' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    top: -50px;
    left: 90%;
    animation: leafFallText 20s ease-in infinite 9s;
}

/* Additional green leaf on image-frame */
.section-header::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b5e20' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    top: -50px;
    left: 50%;
    animation: leafFallText 14s ease-in infinite 6s;
    z-index: -1;
}

.text-block h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.image-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-frame::before,
.image-frame::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f57c00' d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0;
    z-index: 10;
}

.image-frame::before {
    top: -50px;
    left: 10%;
    animation: leafFallImage 14s ease-in infinite 2s;
}

.image-frame::after {
    top: -50px;
    right: 10%;
    animation: leafFallImage 16s ease-in infinite 6s;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: initial;
    bottom: 3rem;
    left: 2rem;
    background: var(--yellow);
    padding: 1rem 2rem;
    border-radius: 15px;
    transform: rotate(-3deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge-text {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    text-transform: uppercase;
    text-align: center;
}

.badge-highlight {
    display: block;
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--orange);
    text-align: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    background: var(--green-dark);
}

.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex: 0 0 400px;
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 3rem 1.5rem 1.5rem;
    color: white;
}

.gallery-label span {
    font-family: var(--font-accent);
    font-size: 1.3rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
}

/* Curseur pointer sur les images de la galerie */
.gallery-item img {
    cursor: pointer;
}

/* Impact Section */
.impact-section {
    padding: var(--spacing-xl) 0;
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.circular-progress {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #E0E0E0;
    stroke-width: 15;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--green-dark);
    stroke-width: 15;
    stroke-dasharray: 565;
    stroke-dashoffset: 85;
    transition: stroke-dashoffset 2s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--green-dark);
}

.progress-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.impact-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F9F9F9 0%, #FFFFFF 100%);
    border-radius: 15px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impact-marker {
    width: 30px;
    height: 30px;
    background: var(--yellow);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.impact-item h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.impact-item p {
    color: #666;
    line-height: 1.7;
}

/* Support Section */
.support-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    color: white;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.support-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.support-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.support-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.support-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.support-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.support-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.shield-graphic {
    max-width: 400px;
    margin: 0 auto;
}

.animated-shield {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.shield-segment {
    transform-origin: center;
    animation: pulse 3s ease-in-out infinite;
}

.shield-segment:nth-child(1) { animation-delay: 0s; }
.shield-segment:nth-child(2) { animation-delay: 0.5s; }
.shield-segment:nth-child(3) { animation-delay: 1s; }
.shield-segment:nth-child(4) { animation-delay: 1.5s; }
.shield-segment:nth-child(5) { animation-delay: 2s; }
.shield-segment:nth-child(6) { animation-delay: 2.5s; }

.star-center {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}
/* ═══════════════════════════════════════════════════
   COMUNIDADES NATURALES — CSS ISOLÉ
   Toutes les classes préfixées cn- pour éviter
   tout conflit avec le CSS existant du site.
   À ajouter à la suite de app.css
   ═══════════════════════════════════════════════════ */

/* ── HEADER DE SECTION ── */
.cn-header {
    background: var(--green-dark);
    padding: 80px 40px 60px;
    position: relative;
    overflow: hidden;
}

.cn-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(251,193,19,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(12,99,185,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cn-header__eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cn-header__eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--yellow);
    display: block;
    flex-shrink: 0;
}

.cn-header__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(52px, 8vw, 96px);
    color: #fff;
    line-height: 0.9;
    text-transform: uppercase;
    position: relative;
    max-width: 700px;
}

.cn-header__title em {
    font-style: italic;
    color: var(--yellow);
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 0.65em;
    display: block;
    line-height: 1.3;
}

.cn-header__desc {
    max-width: 560px;
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 24px;
    position: relative;
}

.cn-header__bg-number {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 180px;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    letter-spacing: -8px;
    pointer-events: none;
    user-select: none;
}

/* ── BANDE STATS ── */
.cn-stats-band {
    background: var(--green-dark);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 4px solid var(--yellow);
    border-bottom: 4px solid var(--yellow);
}

.cn-stat {
    text-align: center;
}

.cn-stat strong {
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--yellow);
    display: block;
    line-height: 1;
}

.cn-stat span {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.cn-stats-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ── GRILLE ALTERNÉE ── */
.cn-grid {
    padding: 0;
}

.cn-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cn-item.cn-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternance gauche/droite */
.cn-item:nth-child(even) { direction: rtl; }
.cn-item:nth-child(even) > * { direction: ltr; }

/* Délais d'apparition */
.cn-item:nth-child(1) { transition-delay: 0.00s; }
.cn-item:nth-child(2) { transition-delay: 0.10s; }
.cn-item:nth-child(3) { transition-delay: 0.15s; }
.cn-item:nth-child(4) { transition-delay: 0.20s; }
.cn-item:nth-child(5) { transition-delay: 0.10s; }
.cn-item:nth-child(6) { transition-delay: 0.15s; }
.cn-item:nth-child(7) { transition-delay: 0.05s; }

/* Barre colorée au hover */
.cn-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cn-item:nth-child(1)::after { background: var(--green-dark); }
.cn-item:nth-child(2)::after { background: var(--blue); }
.cn-item:nth-child(3)::after { background: var(--orange); }
.cn-item:nth-child(4)::after { background: var(--yellow); }
.cn-item:nth-child(5)::after { background: var(--blue); }
.cn-item:nth-child(6)::after { background: var(--orange); }
.cn-item:nth-child(7)::after { background: var(--yellow); }

.cn-item:hover::after { transform: scaleX(1); }

/* ── ZONE PHOTO ── */
.cn-photo {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 520px;
    max-height: 800px;
}

.cn-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cn-item:hover .cn-photo img { transform: scale(1.04); }

/* Placeholder quand pas encore de photo */
.cn-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cn-item:hover .cn-photo-placeholder { transform: scale(1.04); }

.cn-photo-placeholder svg { opacity: 0.2; width: 48px; height: 48px; }

.cn-photo-placeholder span {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.3;
    color: white;
}

/* Couleurs de fond des placeholders */
.cn-item:nth-child(1) .cn-photo-placeholder { background: linear-gradient(135deg, #0a2e09, #1a5218); }
.cn-item:nth-child(2) .cn-photo-placeholder { background: linear-gradient(135deg, #0a1e3d, #0c3d7a); }
.cn-item:nth-child(3) .cn-photo-placeholder { background: linear-gradient(135deg, #2a1a08, #6b3d12); }
.cn-item:nth-child(4) .cn-photo-placeholder { background: linear-gradient(135deg, #3d2800, #8c5e00); }
.cn-item:nth-child(5) .cn-photo-placeholder { background: linear-gradient(135deg, #001a2e, #004d6b); }
.cn-item:nth-child(6) .cn-photo-placeholder { background: linear-gradient(135deg, #1a0d00, #5c2d00); }
.cn-item:nth-child(7) .cn-photo-placeholder { background: linear-gradient(135deg, #001428, #003366); }

/* Tag sur la photo */
.cn-photo-tag {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: var(--yellow);
    color: var(--green-dark);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
    z-index: 2;
}

.cn-item:nth-child(2) .cn-photo-tag,
.cn-item:nth-child(5) .cn-photo-tag,
.cn-item:nth-child(7) .cn-photo-tag { background: var(--blue); color: white; }

.cn-item:nth-child(3) .cn-photo-tag,
.cn-item:nth-child(6) .cn-photo-tag { background: var(--orange); color: white; }

/* ── PANNEAU TEXTE ── */
.cn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
    position: relative;
    background: #F5F0E8;
    transition: background 0.4s ease;
}

.cn-item:nth-child(even) .cn-content { background: #EDE8DF; }
.cn-item:hover .cn-content { background: #fff; }

.cn-content__bg-num {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 1;
    color: rgba(0,0,0,0.05);
    position: absolute;
    top: 20px;
    right: 40px;
    pointer-events: none;
    user-select: none;
}

.cn-content__label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cn-content__label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    display: block;
    flex-shrink: 0;
}

.cn-item:nth-child(2) .cn-content__label,
.cn-item:nth-child(5) .cn-content__label,
.cn-item:nth-child(7) .cn-content__label { color: var(--blue); }

.cn-content__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 40px);
    text-transform: uppercase;
    color: var(--green-dark);
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 380px;
}

.cn-content__divider {
    width: 48px;
    height: 3px;
    background: var(--green-dark);
    margin-bottom: 20px;
    transform-origin: left;
    transition: width 0.4s ease;
}

.cn-item:hover .cn-content__divider { width: 80px; }

.cn-item:nth-child(2) .cn-content__divider,
.cn-item:nth-child(5) .cn-content__divider,
.cn-item:nth-child(7) .cn-content__divider { background: var(--blue); }

.cn-item:nth-child(3) .cn-content__divider,
.cn-item:nth-child(6) .cn-content__divider { background: var(--orange); }

.cn-content__text {
    font-size: 14.5px;
    line-height: 1.85;
    color: #4a4540;
    max-width: 400px;
}

/* Tags écologiques */
.cn-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.cn-tag {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1.5px solid var(--green-dark);
    color: var(--green-dark);
    background: transparent;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
    transition: all 0.25s ease;
}

.cn-item:hover .cn-tag { background: var(--green-dark); color: var(--yellow); }

.cn-item:nth-child(2) .cn-tag,
.cn-item:nth-child(5) .cn-tag,
.cn-item:nth-child(7) .cn-tag { border-color: var(--blue); color: var(--blue); }

.cn-item:nth-child(2):hover .cn-tag,
.cn-item:nth-child(5):hover .cn-tag,
.cn-item:nth-child(7):hover .cn-tag { background: var(--blue); color: white; }

.cn-item:nth-child(3) .cn-tag,
.cn-item:nth-child(6) .cn-tag { border-color: var(--orange); color: var(--orange); }

.cn-item:nth-child(3):hover .cn-tag,
.cn-item:nth-child(6):hover .cn-tag { background: var(--orange); color: white; }

/* ── COMMUNAUTÉ 7 — PLEINE LARGEUR ── */
.cn-item--full {
    grid-template-columns: 1fr;
    min-height: 400px;
    position: relative;
}

.cn-item--full .cn-photo {
    position: absolute;
    inset: 0;
    min-height: unset;
}

.cn-item--full .cn-photo-placeholder { min-height: 400px; }

.cn-item--full .cn-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(12,66,10,0.93) 0%, rgba(12,66,10,0.72) 55%, transparent 100%);
    padding: 80px 80px;
    min-height: 400px;
    justify-content: center;
    direction: ltr;
}

.cn-item--full .cn-content__title { color: white; max-width: 480px; }
.cn-item--full .cn-content__label { color: var(--yellow); }
.cn-item--full .cn-content__text { color: rgba(255,255,255,0.8); }
.cn-item--full .cn-content__divider { background: var(--yellow); }
.cn-item--full .cn-content__bg-num { color: rgba(255,255,255,0.04); }
.cn-item--full .cn-tag { border-color: var(--yellow); color: var(--yellow); }
.cn-item--full:hover .cn-tag { background: var(--yellow); color: var(--green-dark); }
.cn-item--full:hover .cn-content { background: linear-gradient(90deg, rgba(12,66,10,0.93) 0%, rgba(12,66,10,0.72) 55%, transparent 100%); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .cn-header__bg-number { display: none; }
    .cn-stats-band { padding: 32px 28px; }
    .cn-stats-divider { display: none; }

    .cn-item,
    .cn-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .cn-photo,
    .cn-photo-placeholder { min-height: 280px; }
    .cn-content { padding: 40px 36px; }
}

@media (max-width: 768px) {
    .cn-header { padding: 60px 24px 40px; }
    .cn-content { padding: 32px 24px; }
    .cn-item--full .cn-content { padding: 48px 24px; background: rgba(12,66,10,0.9); }
    .cn-stat strong { font-size: 40px; }
    .cn-stats-band { padding: 24px 20px; gap: 20px; }
}
/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: white;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-family: 'Formula Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #0C420A;
}

.contact-lead {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #2A2A2A;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    background: #3d703b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-family: 'Formula Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-email-btn {
    background: #2A2A2A;
    color: #FBC113 !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

.contact-email-btn:hover {
    background: #FBC113;
    color: white !important;
    transition: 0.8s;
}

.contact-address {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* Footer */
.footer {
    background: #3d703b;
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 300px;
    width: auto;
    margin: -110px 0px -100px 0px;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--yellow);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--yellow);
    color: var(--green-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
/* Additional styles for new sections */

/* Values Section */
.values-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--yellow);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Ecological Section */
.ecological-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.eco-content {
    margin-top: 3rem;
}

.eco-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
}

.communities-section {
    margin-bottom: 4rem;
}

.communities-section h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

/* Accordion Styles */
.communities-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-card {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0a5c08 100%);
    border-radius: 15px;
    color: white;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Feuille en fond - occupe environ 50% de la carte */
.community-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 80%;      /* 2x plus large (était 80%) */
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Cpath d='M150 20 C180 40 220 80 240 130 C255 170 260 220 245 270 C230 320 200 360 150 390 C100 360 70 320 55 270 C40 220 45 170 60 130 C80 80 120 40 150 20 Z M150 20 C140 80 130 140 125 200 C122 250 125 300 140 350 M150 20 C160 80 170 140 175 200 C178 250 175 300 160 350 M90 150 C110 160 130 165 150 165 M90 220 C110 225 130 228 150 228 M210 150 C190 160 170 165 150 165 M210 220 C190 225 170 228 150 228' fill='rgba(251, 193, 19, 0.15)' stroke='rgba(251, 193, 19, 0.1)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-20deg);
}

/* Accent secondaire subtil */
.community-card::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 120px;
    height: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 200'%3E%3Cpath d='M75 10 C90 30 100 60 105 90 C108 120 105 150 90 175 C80 188 75 195 75 195 C75 195 70 188 60 175 C45 150 42 120 45 90 C50 60 60 30 75 10 Z' fill='rgba(195, 48, 12, 0.1)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    transform: rotate(35deg);
}
.community-card:hover {
    box-shadow: 0 8px 25px rgba(12, 66, 10, 0.3);
    transform: translateY(-2px);
}

.community-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
    position: relative;
    user-select: none;
    z-index: 2;
}

.community-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--yellow);
    opacity: 0.95;
    min-width: 90px;
    flex-shrink: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.community-header h4 {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
}

.toggle-icon {
    font-size: 3rem;
    color: var(--yellow);
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.community-card.active .toggle-icon {
    transform: rotate(45deg);
}

.community-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.community-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--yellow);
}

.community-card.active .community-description {
    max-height: 500px;
    padding: 2.5rem 2rem 2.5rem 2.5rem;
    margin: 0 1rem 1rem 1rem;
    border-radius: 10px;
}

.community-description p {
    line-height: 1.8;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .communities-accordion {
        gap: 1rem;
    }

    .community-header {
        padding: 1.8rem 1.5rem;
        gap: 1.2rem;
    }

    .community-number {
        font-size: 2.5rem;
        min-width: 70px;
    }

    .community-header h4 {
        font-size: 1.1rem;
    }

    .toggle-icon {
        font-size: 2.2rem;
    }

    .community-card.active .community-description {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem 0.5rem 0.5rem;
    }
}


.biodiversity-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.img-bio{
    width: 300px;
    height: auto;
}
.bio-block {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.bio-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.bio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bio-block h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bio-block p {
    line-height: 1.7;
    color: #555;
}

.bio-block strong {
    color: var(--orange);
    font-weight: 700;
}

.bio-block em {
    color: var(--green-dark);
    font-style: italic;
}

/* Library Section */
.library-section {
    margin-top: 35px;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 1rem auto 0;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.library-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.library-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.library-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--green-dark);
}

.library-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.library-card:hover .library-image img {
    transform: scale(1.1);
}

.library-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--yellow);
    color: var(--green-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(251, 193, 19, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--green-dark);
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--yellow);
}

.library-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.library-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.3;
}

.library-author {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.library-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    display: inline-block;
    width: auto;
}

/* Partners Section */
.partners-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.partner-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partner-card:hover {
    background: white;
    border-color: var(--green-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Enhanced Contact Section */
.social-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--green-dark);
}

.contact-card-location {
    position: relative;
    overflow: visible;
}

.postcard-mini {
    position: absolute;
    width: 240px;
    height: 160px;
    background: white;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.postcard-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(10%);
}

.postcard-mini-1 {
    top: -120px;
    right: -160px;
    transform: rotate(8deg);
    z-index: 2;
}

.postcard-mini-2 {
    top: 5px;
    right: -5px;
    transform: rotate(-5deg);
    z-index: 1;
}

.postcard-mini:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 10;
}

/* Footer enhancements */
.footer-social-main {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-main a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-main a:hover {
    background: var(--yellow);
    color: var(--green-dark);
    transform: translateY(-3px);
}

.footer-location {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Form select styling */
#subject {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

#subject:focus {
    outline: none;
    border-color: var(--green-dark);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .values-grid,
    .communities-grid,
    .biodiversity-highlights,
    .library-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .community-number {
        font-size: 2.5rem;
    }
    
    .library-image {
        height: 200px;
    }
    
    .partner-card {
        min-height: 100px;
    }
}

/* Animation for library cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.library-card {
    animation: fadeInUp 0.6s ease backwards;
}

.library-card:nth-child(1) { animation-delay: 0.1s; }
.library-card:nth-child(2) { animation-delay: 0.2s; }
.library-card:nth-child(3) { animation-delay: 0.3s; }
.library-card:nth-child(4) { animation-delay: 0.4s; }
.library-card:nth-child(5) { animation-delay: 0.5s; }
.library-card:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility improvements */
.library-card:focus-within {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.partner-card:focus-within {
    border-color: var(--orange);
}

/* Print styles */
@media print {
    .hero,
    .gallery-section,
    .support-section,
    .contact-section {
        display: none;
    }
    
    .library-card,
    .partner-card {
        page-break-inside: avoid;
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-400px * 5 - 2rem * 5));
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .about-grid,
    .impact-content,
    .support-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
