/* ==========================================================================
   GFRoeno Modern Stylesheet
   Theme: High-End Swiss Oenology & Filtration
   Colors: Burgundy Wine Red, Champagne Gold, Charcoal Dark
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts Declaration
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Aurora';
    src: url('fonts/Aurora.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clemente';
    src: url('fonts/ClementePDak-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClementePDag-Book';
    src: url('fonts/clemente_pd/ClementePDag-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-primary: 'ClementePDag-Book', 'Inter', sans-serif;
    --font-secondary: 'Aurora', 'Playfair Display', serif;

    /* Spécifications Officielles de la Charte GFR (HEX au pixel près) */
    --brand-sombre: #3d4118;       /* SOMBRE - Vert forêt profond */
    --brand-primaire: #a5b8c4;     /* PRIMAIRE - Bleu ardoise technique */
    --brand-secondaire: #7a7b75;   /* SECONDAIRE - Gris neutre équilibré */
    --brand-claire: #c58d66;       /* CLAIRE - Cuivre signature */
    --brand-accent: #904e30;       /* ACCENT - Terracotta chaleureux */

    /* Mappage des design tokens - THÈME LUMINEUX MINÉRAL */
    --color-wine: var(--brand-accent);
    --color-wine-light: #ab5d3a;
    --color-wine-dark: #6e3a22;
    
    --color-gold: var(--brand-claire);
    --color-gold-hover: #b07751;
    --color-gold-glow: rgba(197, 141, 102, 0.08);
    
    --color-bg-dark: #eef2f5;       /* Fond principal : Gris-bleu ardoise très clair, frais et moderne */
    --color-bg-darker: #e0e5e9;     /* Fond d'en-tête et footer minéral légèrement plus soutenu */
    --color-bg-card: rgba(255, 255, 255, 0.75); /* Cartes en verre blanc translucide de haute technicité */
    --color-bg-header: rgba(238, 242, 245, 0.85);
    --color-bg-input: rgba(255, 255, 255, 0.9);

    /* Text Colors */
    --color-text-primary: var(--brand-sombre);   /* Texte principal en vert forêt profond (#3d4118) - Très élégant et lisible */
    --color-text-secondary: #4a4e3b;             /* Texte secondaire en vert sauge foncé */
    --color-text-muted: var(--brand-secondaire);  /* Gris neutre pour les textes d'accompagnement */
    
    /* Layout & Styling */
    --border-glass: 1px solid rgba(165, 184, 196, 0.35); /* Bordure ardoise douce */
    --border-gold-trans: 1px solid rgba(197, 141, 102, 0.4); /* Bordure cuivre */
    --shadow-premium: 0 15px 30px rgba(61, 65, 24, 0.06); /* Ombre douce et aérée */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --container-width: 1200px;
    --container-small: 800px;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & INITIALIZATION
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary); /* Clemente par défaut pour tous les contenus */
    line-height: 1.65;
    overflow-x: hidden;
    font-variant-ligatures: none;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title-main,
.card-title,
.modal-title,
.timeline-content-card h4 {
    font-family: var(--font-secondary) !important; /* Aurora à 100% pour toutes les entêtes */
    font-variant-ligatures: none;
}

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

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

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--color-wine-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

::selection {
    background-color: var(--color-wine);
    color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.small-container {
    width: 100%;
    max-width: var(--container-small);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-gold {
    color: var(--color-gold);
    background: linear-gradient(135deg, var(--brand-claire), var(--brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 24px auto;
    width: 100%;
    max-width: 450px;
}

.divider::before,
.divider::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.divider-icon {
    width: 110px;
    height: 110px;
    background-image: url('images/LogoGFR_Icone_Cuivre.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.expertise-card:hover .divider-icon,
.timeline-item.active .divider-icon {
    transform: rotate(360deg) scale(1.05);
    opacity: 1;
}


.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: var(--border-glass);
    color: var(--color-text-secondary);
}

.badge-gold {
    background: rgba(197, 141, 102, 0.12);
    border: var(--border-gold-trans);
    color: var(--color-gold);
}

.badge-wine {
    background: rgba(144, 78, 48, 0.15);
    border: 1px solid rgba(144, 78, 48, 0.3);
    color: #b8623b;
}

.section-title-sub {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.section-title-main {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .section-title-main {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   4. BUTTON COMPONENT SYSTEM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-claire));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(144, 78, 48, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-claire), var(--brand-accent));
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(197, 141, 102, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    border: var(--border-glass);
}

.btn-secondary:hover {
    background: var(--color-gold-glow);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-gold);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition-quick);
}

.btn-text .arrow {
    transition: var(--transition-quick);
}

.btn-text:hover {
    color: var(--color-text-primary);
}

.btn-text:hover .arrow {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION HEADER (GLASSMORPHIC)
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 12px 0;
    background: var(--color-bg-darker);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* Logo brand */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo-img {
    height: 96px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 10px rgba(13, 14, 5, 0.15));
}

.main-header.scrolled .brand-logo-img {
    height: 72px;
}


/* Navigation items */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--color-gold);
}

.nav-btn {
    background: var(--color-wine);
    border: var(--border-glass);
    padding: 8px 20px !important;
    border-radius: 6px;
    color: #ffffff !important;
}

.nav-btn:hover {
    background: var(--color-wine-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 17, 26, 0.3);
}

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

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Toggle active transformation */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-bg-darker);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        border-left: var(--border-glass);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(24, 26, 10, 0.4) 0%, var(--color-bg-dark) 90%),
                linear-gradient(0deg, var(--color-bg-dark) 0%, rgba(24, 26, 10, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 0;
    width: 100%;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    max-width: 680px;
}

.hero-logo-large {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
}

.hero-large-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 50px rgba(197, 141, 102, 0.2));
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 992px) {
    .hero-section {
        display: block;
        min-height: auto;
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-logo-large {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-large-img {
        max-height: 250px;
    }
    
    .hero-info-bar {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-info-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    width: fit-content;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

.hero-info-bar p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--color-text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mouse {
    width: 22px;
    height: 38px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

@keyframes pulse-green {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-info-bar {
        margin-bottom: 24px;
    }
}

/* --------------------------------------------------------------------------
   7. INTRO SECTION (LEGACY & TRANSITION)
   -------------------------------------------------------------------------- */
.intro-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
    position: relative;
    overflow: hidden;
}

.intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, var(--color-bg-dark) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.intro-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background-image: url('images/LogoGFR_Icone_Cuivre.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    font-weight: 400;
    margin-bottom: 24px;
    font-family: var(--font-secondary);
}

.intro-text-block p:not(.lead-text) {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   8. EXPERTISES SECTION (CARDS GRID)
   -------------------------------------------------------------------------- */
.expertises-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.section-header {
    margin-bottom: 64px;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

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

.expertise-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(24, 26, 10, 0.9) 100%);
    z-index: 1;
}

.card-content {
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(165, 184, 196, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -28px;
    left: 32px;
    box-shadow: 0 8px 24px rgba(61, 65, 24, 0.08);
    transition: var(--transition-smooth);
    
    /* Icon Path Colors - At Rest */
    --icon-primary: var(--brand-sombre);     /* Deep green #3d4118 */
    --icon-secondary: var(--brand-claire);   /* Copper #c58d66 */
    --icon-accent: var(--brand-accent);       /* Terracotta #904e30 */
    --icon-tech: var(--brand-primaire);       /* Slate blue #a5b8c4 */
}

.card-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.card-desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Hover effects on card */
.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 141, 102, 0.4);
    box-shadow: 0 20px 40px rgba(197, 141, 102, 0.05), var(--shadow-premium);
}

.expertise-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.expertise-card:hover .card-icon {
    background: var(--brand-sombre);
    border-color: var(--brand-claire);
    box-shadow: 0 12px 28px rgba(197, 141, 102, 0.25);
    
    /* Icon Path Colors - On Hover (Glowing effects) */
    --icon-primary: #ffffff;                 /* White */
    --icon-secondary: var(--brand-claire);   /* Copper */
    --icon-accent: #ff9f68;                  /* Glowing Terracotta/Light copper */
    --icon-tech: rgba(255, 255, 255, 0.55);  /* Faded white */
}

/* Micro-animations inside GFRoeno Custom SVG Icons */
.card-icon svg {
    transition: var(--transition-smooth);
}

.expertise-card:hover .card-icon svg {
    transform: scale(1.05);
}

/* 1. Oak Barrel Spigot Pulse/Rotation */
.card-icon .barrel-valve {
    transform-origin: 32px 30px;
    transition: var(--transition-smooth);
}

.expertise-card:hover .barrel-valve {
    transform: rotate(15deg);
}

/* 2. Laboratory Yeast Flask Bubbles Floating */
.card-icon .bubble-1,
.card-icon .bubble-2 {
    transition: var(--transition-smooth);
}

.expertise-card:hover .bubble-1 {
    animation: float-bubble-1 2s infinite ease-in-out;
}

.expertise-card:hover .bubble-2 {
    animation: float-bubble-2 2.5s infinite ease-in-out 0.5s;
}

@keyframes float-bubble-1 {
    0% { transform: translate(0, 0); opacity: 0.8; }
    50% { transform: translate(-1.5px, -6px); opacity: 0.3; }
    100% { transform: translate(0, -12px); opacity: 0; }
}

@keyframes float-bubble-2 {
    0% { transform: translate(0, 0); opacity: 0.6; }
    50% { transform: translate(1.5px, -5px); opacity: 0.2; }
    100% { transform: translate(0, -10px); opacity: 0; }
}

/* 3. Tangential Filtration Fluid Stream moving */
.card-icon .flow-line {
    stroke-dasharray: 8 4;
    transition: var(--transition-smooth);
}

.expertise-card:hover .flow-line {
    animation: flow-move 1.2s linear infinite;
}

@keyframes flow-move {
    0% { stroke-dashoffset: 12; }
    100% { stroke-dashoffset: 0; }
}

/* 4. Barrel Cleaning Spray / Water Drops Pulsing */
.card-icon .spray-nozzle {
    transform-origin: 32px 6px;
    transition: var(--transition-smooth);
}

.expertise-card:hover .spray-nozzle {
    animation: nozzle-spray 0.5s infinite linear;
}

.expertise-card:hover .spray-drop-1 {
    animation: drop-fade-1 1s infinite ease-in-out;
}

.expertise-card:hover .spray-drop-2 {
    animation: drop-fade-2 1s infinite ease-in-out 0.3s;
}

.expertise-card:hover .spray-drop-3 {
    animation: drop-fade-3 1s infinite ease-in-out 0.6s;
}

@keyframes nozzle-spray {
    0% { transform: translateY(0); }
    50% { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

@keyframes drop-fade-1 {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    50% { transform: translate(-8px, 4px) scale(1.2); opacity: 1; }
    100% { transform: translate(-12px, 6px) scale(0.8); opacity: 0; }
}

@keyframes drop-fade-2 {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    50% { transform: translate(8px, 4px) scale(1.2); opacity: 1; }
    100% { transform: translate(12px, 6px) scale(0.8); opacity: 0; }
}

@keyframes drop-fade-3 {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    50% { transform: translate(0, 8px) scale(1.2); opacity: 1; }
    100% { transform: translate(0, 12px) scale(0.8); opacity: 0; }
}

/* --------------------------------------------------------------------------
   9. LOCAUX & TEMPORAL DEPOT SECTION
   -------------------------------------------------------------------------- */
.locaux-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}

.locaux-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .locaux-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.locaux-info-block {
    display: flex;
    flex-direction: column;
}

.locaux-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 20px;
}

.locaux-address {
    font-size: 1.25rem;
    font-family: var(--font-secondary);
    color: var(--color-gold);
    margin-bottom: 24px;
    line-height: 1.4;
}

.locaux-text {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.rdv-box {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.rdv-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.rdv-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.construction-callout {
    border-left: 3px solid var(--color-wine);
    padding-left: 20px;
    margin-top: 8px;
}

.construction-callout h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin: 12px 0 8px;
}

.construction-callout p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Simulated interactive map */
.locaux-visual {
    display: flex;
    justify-content: center;
}

.map-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-premium);
}

/* Interactive map container styling */
.map-overlay {
    height: 260px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.leaflet-container {
    background-color: var(--color-bg-darker) !important;
    font-family: var(--font-primary) !important;
}

/* Custom Leaflet pulse marker matching design */
.custom-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker-pulse {
    width: 24px;
    height: 24px;
    background: rgba(197, 141, 102, 0.3);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: relative;
    animation: map-pulse 2s infinite;
}

.map-marker-pulse::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes map-pulse {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(197, 141, 102, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 12px rgba(197, 141, 102, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(197, 141, 102, 0); }
}

/* Glassmorphic Leaflet popup matching design */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95) !important;
    border: var(--border-gold-trans) !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    box-shadow: var(--shadow-premium) !important;
    backdrop-filter: blur(8px);
}

.leaflet-popup-content {
    margin: 8px 12px !important;
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95) !important;
    border-left: var(--border-gold-trans) !important;
    border-bottom: var(--border-gold-trans) !important;
    box-shadow: none !important;
}

.map-popup-content {
    font-size: 0.8rem;
    line-height: 1.4;
}

.map-content {
    padding: 24px;
}

.map-content h5 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-content p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE TIMELINE SECTION
   -------------------------------------------------------------------------- */
.timeline-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

.timeline-container {
    max-width: 900px;
    margin: 48px auto 0;
    position: relative;
}

/* Center vertical line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(165, 184, 196, 0.2);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Dynamic fill by JS */
    background: linear-gradient(to bottom, var(--brand-accent), var(--brand-claire));
    transition: height 0.1s linear;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    opacity: 0.4;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating positions */
.timeline-item:nth-child(odd) .timeline-content-card {
    grid-column: 1;
    text-align: right;
    padding-right: 48px;
}

.timeline-item:nth-child(even) .timeline-content-card {
    grid-column: 2;
    padding-left: 48px;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -10px);
    z-index: 10;
    background: var(--color-bg-darker);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    width: 60px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-badge {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 12px var(--color-gold-glow);
}

.timeline-content-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-content-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.timeline-content-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Mobile responsive timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-badge {
        left: 20px;
        transform: translate(-50%, -10px);
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content-card,
    .timeline-item:nth-child(even) .timeline-content-card {
        grid-column: 1;
        text-align: left;
        padding-left: 64px;
        padding-right: 0;
    }
}

/* --------------------------------------------------------------------------
   11. PREMIUM CONTACT & OFFER FORM SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
    position: relative;
}

.contact-box {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-top: 48px;
}

@media (max-width: 768px) {
    .contact-box {
        padding: 24px;
    }
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 0;
    }
}

.form-group {
    position: relative;
    margin-bottom: 32px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--color-bg-input);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-quick);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Labels with floating transition */
.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-quick);
}

.form-group select + label {
    display: none; /* Controlled separately to prevent overlapping with default dropdown */
}

/* Floating labels for inputs/textarea */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--color-gold);
    background-color: var(--color-bg-darker);
    padding: 2px 8px;
    border-radius: 4px;
    border: var(--border-glass);
}

/* Floating label for select */
.form-group .select-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background-color: var(--color-bg-darker);
    padding: 2px 8px;
    border-radius: 4px;
    border: var(--border-glass);
    transform: none;
    display: block;
}

.form-group select:focus + .select-label {
    color: var(--color-gold);
}

.form-group textarea {
    resize: vertical;
}

.form-group textarea + label {
    top: 24px;
    transform: none;
}

/* Focus States */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-gold);
    background: var(--color-bg-darker);
    box-shadow: 0 0 10px var(--color-gold-glow);
}

/* Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.form-group.error label,
.form-group.error .select-label {
    color: #ef4444;
}

.error-msg {
    position: absolute;
    bottom: -20px;
    left: 8px;
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

/* Submit Button & Loader */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    position: absolute;
    animation: spin 0.8s linear infinite;
    opacity: 0;
    transition: var(--transition-quick);
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

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

/* --------------------------------------------------------------------------
   12. GLASSMORPHIC DETAIL MODALS
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 24px;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    z-index: 10;
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: var(--shadow-premium);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.modal.open .modal-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-quick);
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-text-primary);
}

.modal-header {
    padding: 32px 32px 16px;
    border-bottom: var(--border-glass);
}

.modal-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--color-gold);
    font-weight: 500;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
}

.modal-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
    border: var(--border-glass);
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.modal-body ul {
    margin-bottom: 24px;
    padding-left: 8px;
}

.modal-body li {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.modal-body li::before {
    content: '▪';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: -2px;
}

.modal-footer {
    padding: 20px 32px 32px;
    border-top: var(--border-glass);
    display: flex;
    justify-content: flex-end;
}

/* Alert Modals (Success Popup) */
.modal-alert .modal-wrapper {
    max-width: 420px;
    text-align: center;
}

.success-body {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.error-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid #ef4444;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.success-body h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.success-body p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background: var(--color-bg-darker);
    border-top: var(--border-glass);
    color: var(--color-text-secondary);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

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

.footer-brand-logo-img {
    height: 72px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.footer-brand .brand-pitch {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-quick);
}

.social-links a:hover {
    background: var(--color-gold);
    color: var(--color-wine);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.footer-grid h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-grid p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-grid strong {
    color: var(--color-text-primary);
}

.highlight-text {
    color: var(--color-gold);
    font-weight: 500;
}

.footer-bottom {
    border-top: var(--border-glass);
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   14. ANIMATIONS & TRANSITIONS (KEYFRAMES & CLASSES)
   -------------------------------------------------------------------------- */
.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-slide-up {
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

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

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

/* ==========================================================================
   BEFORE/AFTER SLIDER STYLES
   ========================================================================== */
.before-after-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    border: var(--border-glass);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    user-select: none;
}

@media (max-width: 576px) {
    .before-after-container {
        height: 260px;
    }
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    z-index: 1;
}

.ba-after {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--color-gold);
}

.ba-after img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ba-label-before {
    left: 12px;
    background: rgba(61, 65, 24, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}

.ba-label-after {
    right: 12px;
    background: rgba(197, 141, 102, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--brand-claire);
    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle::before,
.ba-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 9999px;
    background: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle::before {
    bottom: 40px;
}

.ba-handle::after {
    top: 40px;
}

.ba-handle-arrow {
    width: 0;
    height: 0;
    border-style: solid;
}

.ba-handle-arrow.left {
    border-width: 5px 6px 5px 0;
    border-color: transparent #ffffff transparent transparent;
    margin-right: 4px;
}

.ba-handle-arrow.right {
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   SUBPAGE & TRANSITION PAGE STYLES
   ========================================================================== */

/* Subpage Hero */
.subpage-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
}

.subpage-hero-title {
    font-family: var(--font-secondary);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.subpage-hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .subpage-hero {
        height: 45vh;
        min-height: 350px;
    }
    
    .subpage-hero-title {
        font-size: 2.2rem;
    }
    
    .subpage-hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Section Quotes (Père & Fils) */
.transition-quotes-section {
    padding: 100px 0;
    background-color: var(--color-bg-darker);
}

.quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

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

.quote-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.quote-icon {
    font-family: var(--font-secondary);
    font-size: 6rem;
    color: var(--color-gold);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 24px;
    opacity: 0.15;
    pointer-events: none;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.quote-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(165, 184, 196, 0.2);
    padding-top: 16px;
}

.quote-author strong {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--color-wine);
}

.quote-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Pivot Details Section */
.pivot-details-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.pivot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 992px) {
    .pivot-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.pivot-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.pivot-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.pivot-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(197, 141, 102, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(197, 141, 102, 0.2);
    font-size: 1.8rem;
}

.pivot-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.pivot-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Innovation & Optimization Section */
.innovation-section {
    padding: 100px 0;
    background-color: var(--color-bg-darker);
}

.innovation-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .innovation-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.innovation-content h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.innovation-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.innovation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
}

.innovation-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 28px;
    list-style: none;
}

.innovation-list li::before {
    content: '✓';
    color: var(--color-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

.innovation-visual {
    display: flex;
    justify-content: center;
}

.neutralization-card {
    background: var(--color-bg-card);
    border: var(--border-gold-trans);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.chem-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.chem-node {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chem-node span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.chem-base {
    background: rgba(165, 184, 196, 0.15);
    border: 1px solid rgba(165, 184, 196, 0.4);
    color: var(--color-text-primary);
}

.chem-acid {
    background: rgba(144, 78, 48, 0.1);
    border: 1px solid rgba(144, 78, 48, 0.25);
    color: var(--color-wine);
}

.chem-neutral {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.chem-plus, .chem-arrow {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.water-saved-badge {
    margin-top: 32px;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-claire));
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(144, 78, 48, 0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.water-saved-badge span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

.water-saved-badge strong {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
}

/* Alignement de la 5ème carte d'hygiène retiré car la grille a maintenant 6 cartes */

/* ==========================================================================
   9. HYGIENE PAGES STYLES
   ========================================================================== */
.hygiene-page-section {
    padding: 80px 0;
    background-color: var(--color-bg-dark);
}

.hygiene-page-section:nth-of-type(even) {
    background-color: var(--color-bg-darker);
}

.hygiene-split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .hygiene-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hygiene-detail-content h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.hygiene-detail-content h3 span {
    color: var(--color-gold);
}

.hygiene-detail-content p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hygiene-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 576px) {
    .hygiene-product-grid {
        grid-template-columns: 1fr;
    }
}

.hygiene-product-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hygiene-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(197, 141, 102, 0.15);
}

.hygiene-product-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.hygiene-spec-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.hygiene-spec-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.hygiene-spec-list li::before {
    content: "▪";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

.hygiene-media-wrapper {
    position: relative;
}

.hygiene-video-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.hygiene-video-box video {
    width: 100%;
    display: block;
}

/* Charte engagement chlore */
.hygiene-charte-box {
    background: rgba(144, 78, 48, 0.08);
    border: 1px solid rgba(197, 141, 102, 0.25);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hygiene-charte-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 141, 102, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hygiene-charte-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hygiene-charte-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.hygiene-charte-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin: 0;
}

.hygiene-charte-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0;
}

.produits-categories-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .produits-categories-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.produit-cat-card {
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.produit-cat-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 12px 30px rgba(197, 141, 102, 0.15);
}

.produit-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(197, 141, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-gold);
}

.produit-cat-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.produit-cat-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.produit-highlight-box {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.produit-highlight-name {
    font-size: 0.95rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* ==========================================================================
   10. LOGO TRANSITION ANIMATION (TEASER PAGE)
   ========================================================================== */
.logo-transition-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.logo-transition-box {
    position: relative;
    width: 260px;
    height: 260px;
    background: rgba(122, 123, 117, 0.55);
    border: var(--border-glass);
    border-radius: 50%;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-old,
.logo-new {
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    object-fit: contain;
}

.logo-old {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-new {
    opacity: 0;
    transform: scale(0.8);
    z-index: 1;
    transition: opacity 1.0s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1.0s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Classes de transition */
.logo-old.fade-out {
    opacity: 0;
    transform: scale(0.75);
    pointer-events: none;
}

.logo-new.fade-in {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

/* Responsive Logo Box on smaller mobile devices */
@media (max-width: 576px) {
    .logo-transition-box {
        width: 200px;
        height: 200px;
        padding: 20px;
    }
}


