/* ========================================
   GREEN AGRO VALLEY CI - Refonte 2026
   Design moderne et épuré
   ======================================== */

/* --- Variables CSS --- */
:root {
    /* Palette principale - Charte Green Agro Valley */
    --color-primary: #34AD54;
    --color-primary-light: #4FC56F;
    --color-primary-dark: #258A3F;
    --color-primary-darker: #1A6B30;
    --color-accent: #fbd153;
    --color-accent-dark: #f4be24;
    --color-accent-light: #fde6a0;
    --color-earth: #795548;
    --color-sun: #fbd153;

    /* Neutres */
    --color-white: #FFFFFF;
    --color-bg: #FAFBF7;
    --color-bg-alt: #F1F8ED;
    --color-text: #1A2E1B;
    --color-text-light: #5A6B5C;
    --color-border: #E5EBE2;

    /* Typographie */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Espacements */
    --container-max: 1280px;
    --section-py: clamp(4rem, 8vw, 7rem);

    /* Effets */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(52, 173, 84, 0.10);
    --shadow-lg: 0 12px 40px rgba(52, 173, 84, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.275rem 0.98rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-light:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
}

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
}

/* --- Top Bar --- */
.topbar {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

@media (max-width: 700px){
.topbar {
    display: none;
}

}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.topbar-info a:hover {
    opacity: 1;
}

.topbar-social {
    display: flex;
    gap: 0.75rem;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition);
}

.topbar-social a:hover {
    background: var(--color-accent);
}

/* --- Widget GTranslate (menu déroulant) dans la topbar --- */
.gtranslate-topbar {
    display: inline-flex;
    align-items: center;
    margin-right: 0.85rem;
}

/* Le select généré par GTranslate dropdown */
.gtranslate-topbar select,
.gtranslate-topbar .gt_selector,
.gtranslate-topbar .gt_float_switcher {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--color-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: var(--radius-full) !important;
    padding: 0.3rem 2rem 0.3rem 0.85rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.65rem center !important;
    transition: all var(--transition);
    outline: none !important;
    min-width: 90px;
}

.gtranslate-topbar select:hover,
.gtranslate-topbar .gt_selector:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--color-accent) !important;
}

.gtranslate-topbar select option {
    background: var(--color-primary-darker) !important;
    color: var(--color-white) !important;
    font-weight: 500 !important;
    padding: 0.5rem !important;
}

/* Pour le widget GTranslate "dropdown" qui peut générer un container custom */
.gtranslate-topbar .gt_container--gd0r2j,
.gtranslate-topbar .gt_container {
    display: inline-flex !important;
    align-items: center !important;
}

/* Cache un éventuel logo Google ou texte parasite */
.gtranslate-topbar .gt_branding,
.gtranslate-topbar .gt_image {
    display: none !important;
}

/* Cacher la barre Google Translate native (intrusive) */
.skiptranslate iframe.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Texte 'Powered by Google Translate' */
.goog-logo-link,
.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

@media (max-width: 768px) {
    .gtranslate-topbar {
        margin-right: 0.5rem;
    }

    .gtranslate-topbar select,
    .gtranslate-topbar .gt_selector {
        font-size: 0.72rem !important;
        padding: 0.25rem 1.75rem 0.25rem 0.65rem !important;
        min-width: 75px;
    }
}

/* --- Header / Navigation --- */
.header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.logo-icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.logo-text {
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-light);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition);
    transform: translateX(-50%);
}

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

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

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* --- Dropdown menu --- */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.has-dropdown.active .dropdown-toggle .fa-chevron-down,
.has-dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 340px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--color-border);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.dropdown-menu a i {
    width: 32px;
    height: 32px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dropdown-menu a:hover i {
    background: var(--color-primary);
    color: var(--color-white);
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.dropdown-item-text strong {
    font-weight: 600;
    font-size: 0.92rem;
}

.dropdown-item-text small {
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-weight: 400;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0 0.5rem 1rem;
        min-width: 0;
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
        transform: none;
    }

    .dropdown-menu::before { display: none; }

    .dropdown-menu a {
        padding: 0.6rem 0 !important;
    }
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(13, 50, 18, 0.25) 0%, rgba(13, 50, 18, 0.25) 40%, rgba(13, 50, 18, 0.35) 100%),
        url('https://greenagrovalley.org/img/backgroundAccueil.jpg') center/cover no-repeat;
    color: var(--color-white);
    padding: 6rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(251, 209, 83, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 209, 83, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}

.hero-content {
    max-width: 1000px;
    animation: heroSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 209, 83, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(251, 209, 83, 0); }
}

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
    max-width: 1000px;
}

.hero h1 span {
    background: linear-gradient(135deg, #fbd153 0%, #fde6a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.98;
    margin-bottom: 2.25rem;
    max-width: 880px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-cta .btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-darker);
}

.hero-cta .btn-primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-primary-darker);
}

.hero-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.hero-trust-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 209, 83, 0.2);
    border-radius: 50%;
    color: var(--color-accent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin-left: auto;
    animation: heroVisualIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: scale(0.85) rotate(-5deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.hero-visual-main {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: heroMainFloat 6s ease-in-out infinite;
}

@keyframes heroMainFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

.hero-visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    transition: transform 0.4s ease;
    cursor: default;
}

.hero-card:hover {
    transform: translateY(-6px) scale(1.05);
}

.hero-card-1 {
    top: 8%;
    left: -12%;
    animation: cardSlideLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both,
               float 4s ease-in-out 1.7s infinite;
}

.hero-card-2 {
    bottom: 22%;
    right: -14%;
    animation: cardSlideRight 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both,
               float 4s ease-in-out 1.9s infinite;
    animation-delay: 1s, 1.9s;
}

.hero-card-3 {
    bottom: -8%;
    left: 8%;
    animation: cardSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both,
               float 4s ease-in-out 2.1s infinite;
}

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

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

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

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(52, 173, 84, 0.3);
}

.hero-card-3 .hero-card-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-primary-darker);
    box-shadow: 0 6px 16px rgba(251, 209, 83, 0.4);
}

.hero-card-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.hero-card-content span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

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

/* --- Sections génériques --- */
section {
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Stats --- */
.stats {
    background: var(--color-white);
    padding: 5rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.stats-inner {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border: 1px solid var(--color-border);
}

.stat {
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--color-border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.stat-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- À propos --- */
.about {
    background: var(--color-bg);
}

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

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.about-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--color-border);
}

.about-badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.about-content .section-tag {
    margin-left: 0;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 500;
}

.about-features li::before {
    content: '\2713';
    width: 24px;
    height: 24px;
    background: var(--color-accent-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* --- Services --- */
.services {
    background: var(--color-bg-alt);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.service-card.reveal {
    transform: translateY(40px) scale(0.95);
}

.service-card.reveal.visible {
    transform: translateY(0) scale(1);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-grid .service-card:nth-child(1).reveal { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2).reveal { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3).reveal { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(4).reveal { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(5).reveal { transition-delay: 0.45s; }
.services-grid .service-card:nth-child(6).reveal { transition-delay: 0.55s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-card a {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.service-card a:hover {
    gap: 0.75rem;
}

/* --- Offres / Pricing --- */
.offers {
    background: var(--color-white);
}

.offers-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background: var(--color-bg-alt);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.offers-tab {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--color-text-light);
    transition: all var(--transition);
}

.offers-tab.active {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: default;
}

.offers-grid .offer-card:nth-child(1).reveal { transition-delay: 0.1s; }
.offers-grid .offer-card:nth-child(2).reveal { transition-delay: 0.25s; }
.offers-grid .offer-card:nth-child(3).reveal { transition-delay: 0.4s; }

.offer-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.offer-card.popular:hover {
    transform: translateY(-16px);
}

.offer-card.popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.offer-card.popular::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.offer-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.offer-tag {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.offer-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.offer-size {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.offer-price {
    font-family: var(--font-display);
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--color-border);
}

.offer-price-from {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.25rem;
}

.offer-price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1;
}

.offer-price-amount sup {
    font-size: 1rem;
    font-weight: 600;
}

.offer-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.offer-features li {
    padding: 0.6rem 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.offer-features li::before {
    content: '\2713';
    color: var(--color-primary);
    font-weight: 700;
}

.offer-note {
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.5;
    padding: 0.75rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--color-accent-dark);
}

.offer-card .btn {
    width: 100%;
}

.offer-tab-content {
    display: none;
}

.offer-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Sous-titre de section pour les offres affichées en bloc */
.offers-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary-darker);
    margin: 2.5rem 0 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.offers-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

.offers-subtitle:first-of-type {
    margin-top: 0;
}

.offers-section-block {
    margin-bottom: 1rem;
}

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

/* --- Awards --- */
.awards {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.awards::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(139, 195, 74, 0.15) 0%, transparent 50%);
}

.awards-inner {
    position: relative;
    text-align: center;
}

.awards-inner h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.awards-inner > p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.award {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.award:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.award-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-sun) 0%, #FF8F00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--color-white);
}

.award h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.award-year {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.award p {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Galerie / Réalisations --- */
.gallery {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--color-bg-alt);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 1; }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 107, 48, 0.92) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.btn-detail-item-cotent{
    color: white;
    font-size: 12px;
    font-weight: 600;
    align-items: center;
    text-align: right;
    position: absolute;
    bottom: 40px;
    right: 20px;
}

.gallery-item-content h4 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.gallery-item-content span {
    color: var(--color-accent);
    font-size: 0.85rem;
}

/* --- Gallery Zoom Icon --- */
.gallery-item-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.gallery-item:hover .gallery-item-zoom {
    opacity: 1;
    transform: translateY(0);
}

/* --- Lightbox Modal --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 50, 18, 0.92);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: lightboxScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "media info"
        "thumbs info";
    max-height: 92vh;
}

.lightbox-media {
    grid-area: media;
    position: relative;
    background: linear-gradient(135deg, #0D3D10 0%, #1A6B30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.lightbox-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    animation: imageFade 0.4s ease;
}

@keyframes imageFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.lightbox-nav:hover {
    background: var(--color-accent);
    color: var(--color-primary-darker);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.lightbox-thumbnails {
    grid-area: thumbs;
    display: none;
}

.lightbox-info {
    grid-area: info;
    padding: 2.5rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.lightbox-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.lightbox-info h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: var(--color-text);
}

.lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.lightbox-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.88rem;
}

.lightbox-meta-item i {
    color: var(--color-primary);
    width: 16px;
}

.lightbox-info p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.lightbox-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.lightbox-features div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text);
    font-size: 0.9rem;
}

.lightbox-features div::before {
    content: '\2713';
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    color: var(--color-primary-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.lightbox-cta {
    margin-top: auto;
    align-self: flex-start;
}

/* Mini-galerie thumbnails sous l'image principale */
.lightbox-thumbs {
    grid-area: thumbs;
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-alt);
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-alt);
}

.lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.lightbox-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.55;
    transition: all var(--transition);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb:hover {
    opacity: 1;
}

.lightbox-thumb.active {
    border-color: var(--color-accent);
    opacity: 1;
}

/* Body scroll lock */
body.lightbox-open {
    overflow: hidden;
}

/* Responsive Lightbox */
@media (max-width: 900px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "media"
            "thumbs"
            "info";
        max-height: 92vh;
        overflow-y: auto;
    }

    .lightbox-media {
        min-height: 280px;
    }

    .lightbox-image-wrapper {
        min-height: 280px;
        max-height: 45vh;
    }

    .lightbox-thumbs {
        border-right: none;
    }

    .lightbox-thumb {
        width: 70px;
        height: 52px;
    }

    .lightbox-info {
        padding: 1.5rem;
    }

    .lightbox-info h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .lightbox {
        padding: 0;
    }

    .lightbox-container {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .lightbox-image-wrapper {
        min-height: 200px;
        max-height: 38vh;
    }

    .lightbox-thumbs {
        padding: 0.6rem 0.75rem;
    }

    .lightbox-thumb {
        width: 60px;
        height: 45px;
        border-width: 2px;
    }

    .lightbox-info {
        padding: 1.25rem;
    }
}

/* --- Témoignages --- */
.testimonials {
    background: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
}

.testimonial:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--color-accent-dark);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.testimonial p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
}

.testimonial-author-info strong {
    display: block;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.testimonial-author-info span {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* --- Vidéos Témoignages --- */
.video-testimonials {
    background: var(--color-white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.video-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary) 100%);
}

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

.video-card:hover .video-thumb img {
    transform: scale(1.08);
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--color-accent);
    color: var(--color-primary-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all var(--transition);
    z-index: 2;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
    animation: videoPulse 2s ease-in-out infinite;
}

@keyframes videoPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0; }
}

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

.video-play-btn i {
    margin-left: 4px;
}

.video-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.video-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--color-bg-alt);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.video-location i {
    font-size: 0.75rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-modal.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #0A1F0C;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    animation: lightboxScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.video-modal-close:hover {
    background: var(--color-accent);
    transform: rotate(90deg) scale(1.1);
}

.video-modal-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-info {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

.video-modal-info h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.video-modal-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .video-modal {
        padding: 0.75rem;
    }

    .video-modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .video-play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }
}

/* --- Équipe --- */
.team {
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.team-member {
    text-align: center;
    background: var(--color-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    border-color: var(--color-primary);
}

.team-avatar {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: all var(--transition);
}

.team-member:hover .team-avatar {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.team-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* --- Partenaires --- */
.partners {
    background: var(--color-white);
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.partners-title {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all var(--transition);
}

.partner-logo:hover {
    transform: scale(1.08);
}

.partner-logo img {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

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

    .partner-logo {
        padding: 0.5rem;
    }

    .partner-logo img {
        max-height: 80px;
    }
}

/* --- Carousel Partenaires (avant À propos) --- */
.partners-carousel-section {
    background: var(--color-white);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
}

.partners-carousel-title {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: partnersScroll 40s linear infinite;
}

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

.partners-track .partner-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-track .partner-slide:hover {
    transform: scale(1.15);
}

.partners-track .partner-slide img {
    max-height: 100px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes partnersScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-track {
        gap: 2.5rem;
    }

    .partners-track .partner-slide {
        height: 80px;
    }

    .partners-track .partner-slide img {
        max-height: 70px;
        max-width: 130px;
    }
}

/* --- FAQ --- */
.faq {
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 300;
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
    color: var(--color-text-light);
    line-height: 1.7;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* --- Contact --- */
.contact {
    background: var(--color-bg-alt);
}

.contact-inner {
    /*display: grid;*/
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-info {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-detail-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-detail-content a,
.contact-detail-content span {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-detail-content a:hover {
    opacity: 1;
}

.contact-form {
    padding: 3rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: var(--color-accent-light);
    color: var(--color-primary-dark);
    display: block;
}

/* --- Newsletter --- */
.newsletter {
    background: var(--color-white);
    padding: 4rem 0;
}

.newsletter-inner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--color-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 195, 74, 0.25) 0%, transparent 60%);
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.newsletter p {
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
}

.newsletter-form input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.newsletter-form button {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.newsletter-form button:hover {
    background: var(--color-sun);
}

/* --- Footer --- */
.footer {
    background: #0A1F0C;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 1.5rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-about p {
    margin: 1rem 0 1.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

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

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

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-contact-item i {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Floating CTA --- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    font-size: 1.5rem;
}

.floating-btn:hover {
    transform: scale(1.1);
    background: var(--color-primary-dark);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.whatsapp:hover {
    background: #1DA851;
}

.floating-btn.scroll-top {
    opacity: 0;
    visibility: hidden;
    background: var(--color-text);
}

.floating-btn.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback : si JavaScript est désactivé ou ne charge pas, on affiche le contenu */
.no-js .reveal,
html:not(.js-enabled) .reveal {
    opacity: 1;
    transform: none;
}

/* Filet de sécurité après 3s : si .visible n'a pas été ajouté, on affiche quand même */
@keyframes forceReveal {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: forceReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 3s forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-badge {
        bottom: 1rem;
        right: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 940px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-info {
        justify-content: center;
        gap: 1rem;
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        gap: 1rem;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.75rem 0;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .stats-inner {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2.5rem;
    }

    .stat:not(:last-child)::after {
        right: auto;
        left: 20%;
        right: 20%;
        top: auto;
        bottom: -1.25rem;
        width: auto;
        height: 1px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .contact-form, .contact-info {
        padding: 2rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .offers-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .offers-tab {
        width: 100%;
    }
}


/* ===== Hero mobile - Texte réduit qui s'inscrit SUR l'image ===== */
@media (max-width: 768px) {
   
    .hero-trust {
        gap: 0.6rem !important;
    }

    .hero-trust-item {
        font-size: 0.7rem !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    }

    .hero-trust-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {

    .hero p {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }
}
