/* ==============================================================================
   FERME ONÉSIME — MODERN AGRITECH DESIGN SYSTEM 2.0
   Refonte Complète — Awwwards & High-End Agri-Academy Inspired
   ============================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- DESIGN TOKENS --- */
:root {
    /* Brand Palette: Deep Bio-Emerald & Vibrant Tech-Mint */
    --forest-950: #04160F;
    --forest-900: #072318;
    --forest-850: #0A2F21;
    --forest-800: #0E3E2C;
    --forest-700: #145940;
    --forest-600: #1B7453;
    
    --emerald-500: #10B981;
    --emerald-400: #34D399;
    --emerald-300: #6EE7B7;
    --emerald-100: #D1FAE5;
    --emerald-50:  #ECFDF5;

    --mint-glow: rgba(16, 185, 129, 0.4);
    --mint-bg: #E6FBF2;

    /* Accent & Warm Harvest Gold */
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gold-100: #FEF3C7;
    --gold-50:  #FFFBEB;

    /* Clean Modern Surfaces */
    --bg-page: #F8FAF8;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-dark: rgba(7, 35, 24, 0.85);

    /* Text & Neutral Hierarchy */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;

    /* WhatsApp Brand Color */
    --wa-green: #25D366;
    --wa-dark: #128C7E;
    --wa-hover: #1EBE5D;

    /* Borders */
    --border-subtle: #E2E8F0;
    --border-clean: rgba(226, 232, 240, 0.9);
    --border-emerald: rgba(16, 185, 129, 0.25);
    --border-card: rgba(16, 185, 129, 0.12);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Elevation & Shadows */
    --shadow-sm: 0 2px 8px rgba(7, 35, 24, 0.04);
    --shadow-md: 0 6px 20px rgba(7, 35, 24, 0.07);
    --shadow-lg: 0 16px 36px -8px rgba(7, 35, 24, 0.12), 0 4px 12px rgba(7, 35, 24, 0.04);
    --shadow-xl: 0 24px 50px -12px rgba(7, 35, 24, 0.18);
    --shadow-glow: 0 0 35px -5px rgba(16, 185, 129, 0.35);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Layout Constraints */
    --container-max: 1240px;
    --container-px: clamp(1.2rem, 4vw, 2.5rem);
    --section-py: clamp(4.5rem, 8vw, 7.5rem);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & GLOBAL SETTINGS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-page);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* --- UTILITY CONTAINER --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--border-emerald);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--forest-950);
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.section-title .text-gradient {
    background: linear-gradient(135deg, var(--emerald-500) 0%, var(--forest-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.18rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.78rem 1.6rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-500) 0%, var(--forest-700) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, var(--emerald-400) 0%, var(--forest-600) 100%);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--wa-green) 0%, #15803d 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    background: linear-gradient(135deg, #34D399 0%, #166534 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--forest-950);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #FFFFFF;
    border-color: var(--emerald-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--emerald-600);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--forest-950);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ==============================================================================
   NAVBAR (FLOATING GLASSMORPHIC HEADER)
   ============================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.65rem 0;
}

.nav-pill-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.nav-glass-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px -5px rgba(7, 35, 24, 0.08), 0 2px 8px rgba(7, 35, 24, 0.03);
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-glass-container {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 35px -5px rgba(7, 35, 24, 0.12);
}

/* Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--emerald-500);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.nav-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--forest-950);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.nav-brand-title span {
    color: var(--emerald-600);
}

.nav-brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--emerald-600);
    background: rgba(16, 185, 129, 0.08);
}

.nav-link.active {
    color: var(--forest-950);
    background: rgba(16, 185, 129, 0.12);
    font-weight: 700;
}

/* Nav Actions Right */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--forest-950);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-full);
}

.nav-phone-link:hover {
    color: var(--emerald-600);
}

.nav-wa-pill {
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
}

/* Burger Button */
.burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--forest-950);
    border: 1px solid var(--border-emerald);
}

.burger-lines {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--forest-950);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==============================================================================
   MOBILE DRAWER NAVIGATION
   ============================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 22, 15, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: #FFFFFF;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--forest-950);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-950);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-link:hover, .drawer-link.active {
    background: var(--emerald-50);
    color: var(--emerald-600);
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ==============================================================================
   HERO 2.0 (HIGH-IMPACT MODERN AGRITECH)
   ============================================================================== */
.hero-v2 {
    position: relative;
    padding-top: clamp(7.5rem, 13vw, 10rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background: linear-gradient(175deg, #04160F 0%, #072318 45%, #0B3524 100%);
    color: #FFFFFF;
    overflow: hidden;
}

/* Ambient Glow Orbs */
.hero-v2::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 5%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-v2::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Hero Content */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--emerald-300);
    margin-bottom: 1.5rem;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10B981;
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.3rem;
}

.hero-main-title .highlight {
    background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Hero Trust Micro-Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-mini-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.founder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--emerald-400);
}

.founder-meta h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
}

.founder-meta p {
    font-size: 0.8rem;
    color: var(--emerald-300);
}

/* Right Hero Visual Card Showcase */
.hero-visual-wrapper {
    position: relative;
}

.hero-main-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-main-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-main-frame:hover img {
    transform: scale(1.03);
}

.hero-frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 22, 15, 0.85) 100%);
}

.hero-frame-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #FFFFFF;
}

.hero-frame-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-frame-caption p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Glass Cards */
.hero-floating-card {
    position: absolute;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(7, 35, 24, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 4;
    animation: floatAnim 4s ease-in-out infinite;
}

.card-pos-top-left {
    top: 2rem;
    left: -2.5rem;
    animation-delay: 0s;
}

.card-pos-bottom-right {
    bottom: -1.5rem;
    right: -1.5rem;
    animation-delay: 2s;
}

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

.hero-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(16, 185, 129, 0.18);
    color: var(--emerald-400);
    flex-shrink: 0;
}

.hero-card-data .number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.hero-card-data .label {
    font-size: 0.75rem;
    color: var(--emerald-300);
}

/* ==============================================================================
   QUICK SECTORS JUMP BAR
   ============================================================================== */
.quick-sectors-bar {
    position: relative;
    z-index: 10;
    margin-top: -2.2rem;
}

.sectors-pill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0.8rem;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px -5px rgba(7, 35, 24, 0.1);
    border: 1px solid var(--border-clean);
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-page);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.sector-item:hover {
    background: var(--emerald-50);
    border-color: var(--border-emerald);
    transform: translateY(-3px);
}

.sector-icon {
    font-size: 1.6rem;
}

.sector-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--forest-950);
}

.sector-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==============================================================================
   CHIFFRES CLÉS & AUDIENCE STATS
   ============================================================================== */
.stats-v2 {
    padding: 5rem 0 3rem;
}

.stats-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-v2-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.stat-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-400);
}

.stat-v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-500), var(--gold-500));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.stat-v2-card:hover::before {
    opacity: 1;
}

.stat-v2-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
}

.stat-v2-number span {
    color: var(--emerald-600);
}

.stat-v2-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.stat-v2-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==============================================================================
   BENTO GRID: LES 4 FORMATIONS D'ÉLITE
   ============================================================================== */
.bento-formations {
    padding: var(--section-py) 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.8rem;
}

.bento-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-clean);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

/* Bento Card Sizes */
.bento-featured {
    grid-column: span 7;
}

.bento-regular {
    grid-column: span 5;
}

.bento-half-1 {
    grid-column: span 6;
}

.bento-half-2 {
    grid-column: span 6;
}

.bento-media {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.bento-featured .bento-media {
    height: 290px;
}

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

.bento-card:hover .bento-media img {
    transform: scale(1.05);
}

.bento-badge-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(4, 22, 15, 0.8);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bento-badge-highlight {
    background: var(--emerald-500);
    color: #FFFFFF;
    border: none;
}

.bento-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bento-meta-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.bento-meta-bar span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--forest-950);
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.bento-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex: 1;
}

.bento-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.bento-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-feature-item svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

.bento-pricing-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bento-price-block .price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.bento-price-block .price-value {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--forest-950);
}

/* ==============================================================================
   SIMULATEUR DE RENTABILITÉ AGRICOLE (GAME-CHANGER INTERACTIF)
   ============================================================================== */
.simulator-section {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F6F3 100%);
    position: relative;
    overflow: hidden;
}

.simulator-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-emerald);
    box-shadow: var(--shadow-xl);
    padding: clamp(1.8rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    position: relative;
}

/* Simulator Left Controls */
.sim-controls-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.sim-section-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
}

.sim-section-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.sim-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    background: var(--bg-page);
    padding: 0.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.sim-tab-btn {
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    transition: all var(--transition-fast);
}

.sim-tab-btn span.emoji {
    font-size: 1.25rem;
}

.sim-tab-btn.active {
    background: #FFFFFF;
    color: var(--forest-950);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-emerald);
}

.sim-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sim-slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.sim-slider-labels label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-current-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--emerald-600);
}

.sim-range-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E2E8F0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.sim-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--emerald-500);
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.sim-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Simulator Right Results Dashboard */
/* Simulator Right Results Dashboard (Bilan Prévisionnel) */
.sim-results-panel {
    background: linear-gradient(145deg, var(--forest-900) 0%, var(--forest-850) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 3.5vw, 2.5rem);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.results-header h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.results-badge-cycle {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--border-emerald);
    color: var(--emerald-300);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.results-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-bottom: 1.8rem;
}

.kpi-tile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: clamp(0.9rem, 2.2vw, 1.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    transition: all var(--transition-fast);
}

.kpi-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}

.kpi-tile.kpi-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.35) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    grid-column: span 2;
}

.kpi-tile-label {
    font-size: clamp(0.7rem, 1.8vw, 0.78rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.kpi-tile-value {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.kpi-highlight .kpi-tile-value {
    font-size: clamp(1.55rem, 4vw, 2.1rem);
    color: var(--emerald-400);
}

.kpi-tile-note {
    font-size: clamp(0.7rem, 1.6vw, 0.76rem);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.sim-disclaimer {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

/* ==============================================================================
   SHOWCASE MATÉRIEL & BOUTIQUE
   ============================================================================== */
.materiel-showcase {
    padding: var(--section-py) 0;
}

.filter-pills-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.filter-pill {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    background: #FFFFFF;
    color: var(--text-secondary);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
    background: var(--forest-950);
    color: #FFFFFF;
    border-color: var(--forest-950);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-clean);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.product-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #F1F5F9;
}

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

.product-card:hover .product-media img {
    transform: scale(1.06);
}

.product-stock-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.92);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
}

.product-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--emerald-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--forest-950);
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex: 1;
}

.product-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
}

.spec-badge {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--forest-950);
}

/* ==============================================================================
   POURQUOI NOUS : COMPARATIF VISUEL
   ============================================================================== */
.comparison-section {
    padding: var(--section-py) 0;
    background: var(--forest-950);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.comp-card {
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
}

.comp-card-other {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-card-onesime {
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.15) 0%, rgba(7, 35, 24, 0.8) 100%);
    border: 2px solid var(--emerald-500);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.2);
    position: relative;
}

.comp-card-header {
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.comp-card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.comp-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
}

.comp-icon-neg {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.comp-icon-pos {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.25);
    color: var(--emerald-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ==============================================================================
   IMMERSION VIDÉO & GALERIE DE TERRAIN
   ============================================================================== */
.immersion-section {
    padding: var(--section-py) 0;
}

.video-reel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.main-video-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--forest-950);
}

.main-video-card video {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.side-reels-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.reel-item-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.reel-item-card:hover {
    transform: translateX(6px);
    border-color: var(--emerald-400);
}

.reel-thumb {
    width: 120px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.reel-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0.3rem;
}

.reel-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Horizontal Smooth Gallery */
.gallery-horizontal-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 1.5rem;
}

.gallery-horizontal-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
}

.gallery-snap-card {
    width: 290px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.gallery-snap-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-snap-card:hover img {
    transform: scale(1.08);
}

.gallery-snap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 22, 15, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.gallery-snap-card:hover .gallery-snap-overlay {
    opacity: 1;
}

/* ==============================================================================
   TÉMOIGNAGES CLIENTS & PREUVES DE RÉUSSITE
   ============================================================================== */
.testimonials-section {
    padding: var(--section-py) 0;
    background: #FFFFFF;
}

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

.testimonial-card-v2 {
    background: var(--bg-page);
    border-radius: var(--radius-xl);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--border-clean);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.testimonial-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-emerald);
}

.stars-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--gold-500);
    margin-bottom: 1.2rem;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.8rem;
    flex: 1;
}

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

.author-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--emerald-400);
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-700);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-950);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--emerald-600);
    font-weight: 600;
}

/* ==============================================================================
   FAQ ACCORDION
   ============================================================================== */
.faq-section {
    padding: var(--section-py) 0;
}

.faq-accordion-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

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

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-950);
}

.faq-trigger svg {
    transition: transform var(--transition-base);
    color: var(--emerald-600);
    flex-shrink: 0;
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding: 0 1.6rem 1.5rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==============================================================================
   FINAL CTA BANNER
   ============================================================================== */
.final-cta-section {
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 60%, var(--forest-800) 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.final-cta-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
    line-height: 1.6;
}

.final-cta-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

/* ==============================================================================
   FOOTER AGRITECH MODERNE
   ============================================================================== */
.footer-v2 {
    background: #03100B;
    color: #FFFFFF;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3.5rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.footer-brand h3 span {
    color: var(--emerald-400);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: var(--emerald-400);
    transform: translateX(3px);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item svg {
    color: var(--emerald-400);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==============================================================================
   STICKY MOBILE BOTTOM DOCK (CONVERSION OPTIMIZED)
   ============================================================================== */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-clean);
    padding: 0.5rem 1rem max(0.5rem, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.dock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    max-width: 450px;
    margin: 0 auto;
}

.dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.dock-btn svg {
    width: 20px;
    height: 20px;
}

.dock-btn:hover, .dock-btn.active {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.dock-btn.dock-whatsapp {
    color: #FFFFFF;
    background: var(--wa-green);
    border-radius: var(--radius-full);
}

.dock-btn.dock-whatsapp:hover {
    background: var(--wa-hover);
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================== */
@media (max-width: 1100px) {
    .nav-menu { display: none !important; }
    .burger-btn { display: flex !important; }
    .nav-phone-link { display: none !important; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-badge-pill { margin-left: auto; margin-right: auto; }
    .hero-subtext { margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-trust-bar { justify-content: center; }
    .card-pos-top-left { left: 1rem; }
    .card-pos-bottom-right { right: 1rem; }

    .sectors-pill-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-featured, .bento-regular, .bento-half-1, .bento-half-2 {
        grid-column: span 12;
    }

    .simulator-card {
        grid-template-columns: 1fr;
    }

    .materiel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .video-reel-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for sticky bottom dock */
    }
    .mobile-bottom-dock {
        display: block;
    }

    .sectors-pill-grid {
        grid-template-columns: 1fr;
    }

    .stats-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-main-frame img {
        height: 360px;
    }
}

/* ==============================================================================
   MODERN SUBPAGES STYLES (Formations, Matériel, À Propos, Contact, Témoignages)
   ============================================================================== */
.subpage-hero {
    padding: clamp(7.5rem, 12vw, 9.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: linear-gradient(175deg, var(--forest-950) 0%, var(--forest-900) 50%, var(--forest-800) 100%);
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.subpage-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: #FFFFFF;
}

.breadcrumb a:hover {
    color: var(--emerald-400);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}

/* Contact Page Modern Styles */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: var(--section-py) 0;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.contact-card-item:hover {
    transform: translateY(-3px);
    border-color: var(--emerald-400);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--emerald-50);
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-950);
    margin-bottom: 0.25rem;
}

.contact-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-page);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--emerald-500);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

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

@media (max-width: 900px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================================
   FORMATION DETAIL & PROGRAMME SYLLABUS STYLES 2.0
   ============================================================================== */
.hero-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-badges .badge svg {
    stroke: var(--emerald-400);
}

.subpage-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: var(--bg-page);
}

.formation-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-block {
    background: #FFFFFF;
    padding: clamp(1.8rem, 3.5vw, 2.6rem);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
}

.detail-block-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--forest-950);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-block-title svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

.detail-block p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.detail-block ul {
    color: var(--text-primary);
    line-height: 1.85;
    padding-left: 1.35rem;
    margin-top: 1rem;
}

.detail-block ul li {
    margin-bottom: 0.6rem;
}

.syllabus-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.syllabus-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.35rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.syllabus-item:hover {
    background: #FFFFFF;
    border-color: var(--emerald-400);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.syllabus-num {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--forest-900), var(--forest-950));
    color: var(--emerald-400);
    border: 1px solid rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.syllabus-text h4 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--forest-950);
    margin-bottom: 0.35rem;
}

.syllabus-text p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.detail-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-card {
    background: #FFFFFF;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-lg);
}

.sidebar-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sidebar-card-body {
    padding: 1.85rem;
}

.sidebar-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin: 1.25rem 0 1.75rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
}

.sidebar-meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar-meta-val {
    color: var(--forest-950);
    font-weight: 700;
}

@media (max-width: 992px) {
    .formation-detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        position: static;
        order: -1;
    }
}

/* ==============================================================================
   À PROPOS PAGE — WHY-GRID, PHOTO SHOWCASE & CTA STYLES
   ============================================================================== */

/* --- "Pourquoi nous faire confiance" 6-Pillar Grid --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.why-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-500));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-emerald);
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.why-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

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

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
}

/* --- Photo Showcase Gallery Grid --- */
.photo-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.showcase-photo-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-clean);
    transition: all var(--transition-base);
    aspect-ratio: 16 / 10;
}

.showcase-photo-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-400);
}

.showcase-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-photo-card:hover img {
    transform: scale(1.06);
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(0deg, rgba(4, 22, 15, 0.85) 0%, transparent 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .photo-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Banner Section --- */
.cta-section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    overflow: hidden;
    color: #FFFFFF;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg, rgba(4, 22, 15, 0.92) 0%, rgba(7, 35, 24, 0.88) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    max-width: 700px;
}

.cta-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 600px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.cta-buttons .btn-xl {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 800;
}

/* --- .text-accent helper for title highlights --- */
/* ==============================================================================
   MATÉRIEL PAGE — EQUIPMENT CATALOG STYLES
   ============================================================================== */

/* --- Filter Bar --- */
.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-clean);
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--emerald-50);
    color: var(--emerald-600);
    border-color: var(--border-emerald);
}

.filter-btn.active {
    background: var(--forest-950);
    color: #FFFFFF;
    border-color: var(--forest-950);
    box-shadow: var(--shadow-md);
}

/* --- Equipment Grid --- */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* --- Equipment Card --- */
.equipment-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-clean);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

/* --- Equipment Media (Image) --- */
.equipment-media {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.equipment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.equipment-card:hover .equipment-img {
    transform: scale(1.05);
}

.equipment-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    background: var(--forest-950);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.equipment-feature-pill {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--forest-950);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-clean);
}

/* --- Equipment Content --- */
.equipment-content {
    padding: 1.6rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.equipment-header {
    margin-bottom: 0.8rem;
}

.equipment-meta-ref {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald-500);
    background: var(--emerald-50);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-emerald);
}

.equipment-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-950);
    line-height: 1.3;
}

.equipment-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* --- Equipment Specs --- */
.equipment-specs {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
    padding: 1rem;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    gap: 0.5rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.spec-val {
    color: var(--forest-950);
    font-weight: 700;
    text-align: right;
}

/* --- Equipment Action --- */
.equipment-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.btn-equipment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-align: center;
}

.equipment-guarantee {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
    font-style: italic;
}

/* --- Equipment Responsive --- */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .products-filter {
        border-radius: var(--radius-lg);
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 0.5rem 1rem;
    }

    .equipment-media {
        height: 220px;
    }

    .equipment-content {
        padding: 1.2rem 1.4rem 1.4rem;
    }
}

@media (max-width: 480px) {
    .products-filter {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .filter-btn {
        text-align: center;
        border-radius: var(--radius-md);
    }

    .equipment-media {
        height: 200px;
    }

    .equipment-content {
        padding: 1rem 1.2rem 1.2rem;
    }

    .equipment-title {
        font-size: 1.05rem;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .spec-val {
        text-align: left;
    }
}

/* ==============================================================================
   TÉMOIGNAGES PAGE — CAROUSEL, WALL & VIDEOS STYLES
   ============================================================================== */

/* --- Testimonials Section & Carousel --- */
.testimonials-section {
    padding: var(--section-py) 0;
    width: 100%;
    overflow: hidden;
    background: var(--bg-surface);
}

.testimonials-carousel {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-emerald);
    background: linear-gradient(145deg, #FFFFFF 0%, var(--emerald-50) 100%);
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-quote-icon {
    width: 48px;
    height: 48px;
    color: var(--emerald-500);
    opacity: 0.25;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: var(--forest-950);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    text-align: left;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-900), var(--emerald-600));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--forest-950);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.84rem;
    color: var(--text-secondary);
    display: block;
}

/* --- Carousel Controls --- */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-clean);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--forest-950);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--forest-950);
    color: #FFFFFF;
    border-color: var(--forest-950);
    transform: scale(1.08);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--emerald-500);
    width: 26px;
    border-radius: var(--radius-full);
}

/* --- Testimonials Wall Grid --- */
.testimonials-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.testimonial-wall-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-clean);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.testimonial-wall-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-400);
}

.wall-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.wall-card-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--border-emerald);
}

.wall-card-stars {
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.wall-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.wall-card-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.wall-card-author strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--forest-950);
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

.wall-card-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* --- Videos Section --- */
.videos-section {
    background: var(--bg-page);
    padding: var(--section-py) 0;
    width: 100%;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.video-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-clean);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--forest-950);
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 1.6rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    background: #FFFFFF;
}

.video-info h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--forest-950);
    line-height: 1.35;
    margin: 0;
}

.video-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* --- Responsive for Témoignages & Vidéos --- */
@media (max-width: 1024px) {
    .testimonials-wall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-wall-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 2.2rem 1.5rem;
    }
}

.text-accent {
    color: var(--emerald-400);
}

/* --- Responsive: Mission 2-col grid on a-propos --- */
@media (max-width: 900px) {
    .subpage-section [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ==============================================================================
   COMPREHENSIVE RESPONSIVE FIXES — ALL PAGES
   ============================================================================== */

/* ---------- TABLET (max 1024px) ---------- */
@media (max-width: 1024px) {
    /* Testimonials: 3col → 2col */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats V2: 4col → 2col */
    .stats-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer: 4col → 2col */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Video reel: side-by-side → stacked */
    .video-reel-grid {
        grid-template-columns: 1fr;
    }

    /* Formation detail sidebar layout */
    .formation-detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        position: static;
        order: -1;
    }

    /* Comparison grid */
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    /* Simulator card */
    .simulator-card {
        grid-template-columns: 1fr;
    }

    /* Materiel grid: 3col → 2col */
    .materiel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact layout */
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- PHABLET (max 768px) ---------- */
@media (max-width: 768px) {
    /* Ensure no horizontal overflow */
    html, body {
        overflow-x: hidden;
    }

    body {
        padding-bottom: 70px;
    }

    .mobile-bottom-dock {
        display: block;
    }

    /* Hero image height reduced */
    .hero-main-frame img {
        height: 320px;
    }

    /* Sectors pills: 2col → 1col */
    .sectors-pill-grid {
        grid-template-columns: 1fr;
    }

    /* Materiel: 2col → 1col */
    .materiel-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: 2col → 1col */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Testimonials: 2col → 1col */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Bilan Prévisionnel Responsive (768px) */
    .simulator-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: clamp(1.4rem, 4vw, 2.2rem);
    }
    .sim-results-panel {
        padding: clamp(1.4rem, 3.5vw, 2rem);
    }
    .results-header {
        margin-bottom: 1.25rem;
    }
    .results-kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .kpi-tile.kpi-highlight {
        grid-column: span 1;
    }

    /* Subpage hero text sizing */
    .subpage-title {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    /* Contact form card tighter */
    .contact-form-card {
        padding: clamp(1.4rem, 4vw, 2rem);
    }

    /* Hero badges wrap better */
    .hero-badges {
        gap: 0.5rem;
    }
    .hero-badges .badge {
        font-size: 0.78rem;
        padding: 0.4rem 0.9rem;
    }

    /* Photo showcase: 2col → 1col */
    .photo-showcase-grid {
        grid-template-columns: 1fr;
    }

    /* Why grid: already handled at 640px */

    /* Inline grid images in formation detail pages — reduce height */
    .detail-block img[style*="height: 200px"] {
        height: 160px !important;
    }

    /* A-propos fondateur image */
    .subpage-section img[style*="height: 420px"] {
        height: 280px !important;
    }
}

/* ---------- SMALL MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
    /* Global container padding tighter */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Nav brand shrink */
    .nav-brand-title {
        font-size: 1rem;
    }
    .nav-brand-subtitle {
        font-size: 0.62rem;
    }
    .nav-logo-badge img {
        width: 36px;
        height: 36px;
    }

    /* Hero section tighter */
    .hero-section {
        padding: 6rem 0 3rem;
    }
    .hero-main-frame img {
        height: 260px;
    }

    /* Bento cards */
    .bento-grid {
        gap: 1rem;
    }

    /* Section headers */
    .section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Stats: 2col → 1col */
    .stats-v2-grid {
        grid-template-columns: 1fr;
    }

    /* Bilan Prévisionnel Responsive (480px) */
    .simulator-card {
        padding: 1.1rem 0.9rem;
        border-radius: var(--radius-lg);
    }
    .sim-controls-wrapper {
        gap: 1.3rem;
    }
    .sim-section-header h3 {
        font-size: 1.25rem;
    }
    .sim-tabs {
        gap: 0.35rem;
        padding: 0.3rem;
    }
    .sim-tab-btn {
        padding: 0.55rem 0.35rem;
        font-size: 0.78rem;
    }
    .sim-tab-btn span.emoji {
        font-size: 1.15rem;
    }
    .sim-slider-labels label {
        font-size: 0.88rem;
    }
    .sim-current-val {
        font-size: 1.25rem;
    }
    .sim-results-panel {
        padding: 1.2rem 1rem;
        border-radius: var(--radius-lg);
    }
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.1rem;
        padding-bottom: 0.75rem;
    }
    .results-header h4 {
        font-size: 1.15rem;
    }
    .results-badge-cycle {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }
    .results-kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.2rem;
    }
    .kpi-tile {
        padding: 0.85rem 0.95rem;
        border-radius: var(--radius-sm);
    }
    .kpi-tile-label {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    .kpi-tile-value {
        font-size: 1.25rem;
    }
    .kpi-highlight .kpi-tile-value {
        font-size: 1.6rem;
    }
    .kpi-tile-note {
        font-size: 0.72rem;
        margin-top: 0.25rem;
    }
    .sim-disclaimer {
        font-size: 0.72rem;
        margin-bottom: 1.1rem;
    }
    #simWhatsappBtn {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }

    /* WhatsApp nav pill hide label on mobile */
    .nav-wa-pill span {
        display: none;
    }

    /* CTA section tighter */
    .cta-section {
        padding: clamp(2.5rem, 6vw, 4rem) 0;
    }
    .cta-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Contact cards */
    .contact-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.2rem;
    }

    /* Formation detail blocks */
    .detail-block {
        padding: 1.4rem;
    }

    /* Why cards */
    .why-card {
        padding: 1.4rem;
    }

    /* Sidebar card tighter */
    .sidebar-card-body {
        padding: 1.2rem;
    }

    /* Dock font size */
    .dock-btn {
        font-size: 0.62rem;
    }
    .dock-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Breadcrumb smaller */
    .breadcrumb {
        font-size: 0.78rem;
        padding: 0.35rem 0.9rem;
    }

    /* Subpage subtitle */
    .subpage-subtitle {
        font-size: 0.95rem;
    }

    /* Footer brand text */
    .footer-brand h3 {
        font-size: 1.2rem;
    }
    .footer-brand p {
        font-size: 0.85rem;
    }

    /* Inline 2-col grids in formation pages → 1col */
    [style*="grid-template-columns: 1fr 1fr"][style*="gap: 1rem"] {
        grid-template-columns: 1fr !important;
    }
}

/* ---------- VERY SMALL (max 360px) ---------- */
@media (max-width: 360px) {
    .nav-glass-container {
        padding: 0.45rem 0.6rem;
    }

    .hero-badge-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .dock-grid {
        gap: 0.2rem;
    }

    /* Bilan Prévisionnel Responsive (360px Extra-Small) */
    .simulator-card {
        padding: 0.9rem 0.75rem;
    }
    .sim-tab-btn {
        padding: 0.45rem 0.2rem;
        font-size: 0.7rem;
    }
    .sim-tab-btn span.emoji {
        font-size: 1rem;
    }
    .sim-results-panel {
        padding: 1rem 0.8rem;
    }
    .results-header h4 {
        font-size: 1.05rem;
    }
    .kpi-tile {
        padding: 0.75rem 0.8rem;
    }
    .kpi-tile-label {
        font-size: 0.65rem;
    }
    .kpi-tile-value {
        font-size: 1.15rem;
    }
    .kpi-highlight .kpi-tile-value {
        font-size: 1.45rem;
    }
    #simWhatsappBtn {
        font-size: 0.82rem;
        padding: 0.75rem 0.8rem;
    }

    /* Prevent any element from overflowing */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .subpage-title {
        font-size: 1.5rem;
    }
}

/* ---------- GLOBAL OVERFLOW SAFETY ---------- */
img, video, iframe, table {
    max-width: 100%;
}

/* Prevent horizontal scroll from any rogue element */
.container {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


