/* ========================================
   SCEC S.A - Styles Principaux
   ======================================== */

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

:root {
    /* Couleurs principales */
    --primary-green: #2C6B3F;
    --primary-dark: #1a4428;
    --primary-light: #3d8555;
    --accent-gold: #C9A961;
    --accent-burgundy: #8B1538;
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --cream: #FAF9F6;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Typographie */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   LOADER ANIMATION
   ======================================== */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loader::before {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-gold);
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader::after {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-bottom-color: white;
    animation: spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-base);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled {
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.98);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: filter var(--transition-base);
}

.logo-img:hover {
    filter: brightness(1.1);
}

.nav-search-toggle {
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-left: auto;
    margin-right: 0.75rem;
}

.nav-search-toggle:hover,
.nav-search-toggle:focus-visible {
    color: var(--primary-green);
    border-color: rgba(44, 107, 63, 0.35);
    box-shadow: 0 6px 16px rgba(44, 107, 63, 0.15);
    outline: none;
}

.nav-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(920px, calc(100% - 2rem));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(44, 107, 63, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 1001;
}

.navbar.search-open .nav-search-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.nav-search-input {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    color: var(--gray-800);
    background: white;
    transition: all var(--transition-fast);
}

.nav-search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 107, 63, 0.12);
}

.nav-search-submit {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: white;
    width: 52px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-search-results {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.5rem;
    max-height: 260px;
    overflow-y: auto;
}

.nav-search-result {
    width: 100%;
    text-align: left;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    background: white;
    color: var(--gray-700);
    padding: 0.65rem 0.8rem;
    cursor: pointer;
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.nav-search-result:hover,
.nav-search-result:focus-visible {
    border-color: rgba(44, 107, 63, 0.35);
    background: rgba(44, 107, 63, 0.05);
    color: var(--primary-green);
    outline: none;
}

.nav-search-empty {
    color: var(--gray-500);
    font-size: 0.9rem;
    padding: 0.35rem 0.25rem;
}

.nav-media-hub {
    position: relative;
}

.nav-media-hub-trigger {
    border: 1px solid rgba(44, 107, 63, 0.25);
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.1), rgba(201, 169, 97, 0.2));
    color: var(--primary-dark);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    margin-right: 0.75rem;
}

.nav-media-hub-trigger:hover,
.nav-media-hub-trigger:focus-visible {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 18px rgba(44, 107, 63, 0.2);
    border-color: rgba(44, 107, 63, 0.5);
    outline: none;
}

.nav-media-hub-count {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: var(--shadow-sm);
}

.nav-media-hub-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 4.75rem;
    width: min(560px, calc(100% - 2rem));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(44, 107, 63, 0.2);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 0.9rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: all var(--transition-base);
    z-index: 1002;
}

.navbar.media-hub-open .nav-media-hub-panel,
.nav-media-hub-panel.is-hovered {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nav-media-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.nav-media-hub-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-dark);
}

.nav-media-hub-header a {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-media-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.nav-media-hub-section {
    background: rgba(44, 107, 63, 0.04);
    border: 1px solid rgba(44, 107, 63, 0.12);
    border-radius: 12px;
    padding: 0.7rem;
}

.nav-media-hub-title {
    margin: 0 0 0.65rem;
    font-size: 0.83rem;
    color: var(--gray-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-media-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
}

.nav-media-track {
    display: flex;
    width: 100%;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-media-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
    display: block;
}

.nav-media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-media-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.35rem;
    display: flex;
    justify-content: center;
    gap: 0.28rem;
    z-index: 2;
}

.nav-media-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.nav-media-dot.active {
    width: 16px;
    background: rgba(255, 255, 255, 0.95);
}

.nav-media-hub-empty {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.86rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    transition: all var(--transition-fast);
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 3px;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: rgba(44, 107, 63, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    margin-top: 0.5rem;
    border: 1px solid var(--gray-100);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-green);
    padding-left: 2rem;
}

.dropdown-group-title {
    display: block;
    padding: 0.65rem 1.5rem 0.35rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-green);
    opacity: 0.85;
    border-top: 1px solid var(--gray-100);
    margin-top: 0.35rem;
}

.dropdown-menu .dropdown-group-title:first-child {
    border-top: none;
    margin-top: 0;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-button-online {
    background: linear-gradient(135deg, var(--accent-gold), #e6b84a);
    color: var(--primary-dark);
}

.cta-button-online:hover {
    color: var(--primary-dark);
}

/* Evite l'effet de "dandinement" dans la navbar: les CTA ne bougent plus au survol */
.navbar .cta-button:hover {
    transform: none;
}

.navbar .cta-button::before {
    pointer-events: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-green);
    cursor: pointer;
    transition: transform var(--transition-base);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.95) 0%, rgba(26, 68, 40, 0.92) 100%);
}

.hero-homepage {
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.15) 35px, rgba(255,255,255,.15) 70px);
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

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

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: fadeInUp 0.8s ease-out 0.2s backwards, pulse 3s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-gold), #e6d5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.btn-primary {
    background: white;
    color: var(--primary-green);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(44, 107, 63, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.home-stats-section {
    padding: 2.5rem var(--spacing-md) 1.5rem;
    background: linear-gradient(180deg, rgba(26, 68, 40, 0.96) 0%, rgba(44, 107, 63, 0.95) 100%);
}

.home-stats-section .hero-container {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

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

.hero-stats-inline .stat-item {
    flex: unset;
    max-width: none;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.8s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .slide.active {
    opacity: 1;
    visibility: visible;
}

.hero .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.85) 0%, rgba(26, 68, 40, 0.75) 100%);
    z-index: 1;
}

.hero .hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero .hero-content {
    animation: none;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.hero .slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-badge {
    animation: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s;
}

.hero .slide.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-title {
    animation: none;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.hero .slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-subtitle {
    animation: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.hero .slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-buttons {
    animation: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
}

.hero .slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive pour hero slider */
@media (max-width: 1200px) {
    .hero .hero-title {
        font-size: 3.8rem;
    }
    
    .hero .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .hero .hero-title {
        font-size: 3.2rem;
    }
    
    .hero .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Fix: afficher le contenu du hero quand ce n'est pas un hero-slider */
.hero:not(.hero-slider) .hero-content,
.hero:not(.hero-slider) .hero-badge,
.hero:not(.hero-slider) .hero-title,
.hero:not(.hero-slider) .hero-subtitle,
.hero:not(.hero-slider) .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-homepage {
        min-height: 90vh;
    }
    
    .hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.25rem;
    }
    
    .hero .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stats-inline {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        overflow-x: unset;
    }

    .hero-stats-inline .stat-item {
        flex: unset;
        max-width: none;
        padding: 1.25rem 0.75rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 55vh;
    }
    
    .hero-homepage {
        min-height: 85vh;
    }
    
    .hero .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
    }
    
    .slider-dots {
        bottom: 1rem;
        gap: 0.75rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .home-stats-section {
        padding: 2rem 0.75rem 1.25rem;
    }

    .hero-stats {
        padding: 0 0.75rem 0.5rem;
    }

    .hero-stats-inline {
        gap: 0.75rem;
    }

    .hero-stats-inline .stat-item {
        padding: 1rem 0.5rem;
    }

    .hero-stats-inline .stat-number {
        font-size: 1.8rem;
    }

    .hero-stats-inline .stat-label {
        font-size: 0.78rem;
    }
    
    .stat-item {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Améliorations responsive supplémentaires pour hero slider */
@media (min-width: 1400px) {
    .hero .hero-title {
        font-size: 5rem;
    }

    .hero .hero-subtitle {
        font-size: 1.5rem;
    }

    .slider-controls {
        left: 3rem;
        right: 3rem;
    }

    .slider-btn {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
}

@media (max-width: 900px) {
    .hero .hero-title {
        font-size: 2.8rem;
    }

    .hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 58vh;
    }

    .hero-homepage {
        min-height: 88vh;
    }

    .hero .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero .hero-badge {
        font-size: 0.75rem;
        padding: 0.45rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero .hero-buttons {
        max-width: 300px;
    }

    .btn-primary, .btn-secondary {
        padding: 0.85rem 1.75rem;
        font-size: 0.85rem;
    }

    .slider-controls {
        left: 0.75rem;
        right: 0.75rem;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 0.8rem;
    }

    .slider-dots {
        bottom: 1.25rem;
        gap: 0.5rem;
    }

    .dot {
        width: 11px;
        height: 11px;
    }

    .hero-stats {
        padding: 0 1.5rem;
        gap: 1.25rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* Optimisations pour écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .slider-btn {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        width: 48px;
        height: 48px;
    }

    .dot {
        width: 14px;
        height: 14px;
    }
}

/* Améliorations pour les images de fond sur différents appareils */
@media (max-width: 768px) {
    .hero .slide {
        background-attachment: scroll;
    }
}

/* Optimisation des performances sur mobile */
@media (max-width: 480px) {
    .hero .slide {
        background-size: cover;
        background-position: center center;
    }

    .hero .slide-overlay {
        background: linear-gradient(135deg, rgba(44, 107, 63, 0.9) 0%, rgba(26, 68, 40, 0.8) 100%);
    }

    .hero .hero-title {
        letter-spacing: -0.02em;
    }

    .hero .hero-subtitle {
        line-height: 1.5;
    }

    .hero .hero-badge {
        border-radius: 40px;
    }

    .btn-primary, .btn-secondary {
        border-radius: 40px;
    }

    .hero-stats .stat-item {
        border-radius: 16px;
    }
}

/* ========================================
   IMAGE SLIDER / CAROUSEL
   ======================================== */

.slider-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
    overflow: hidden;
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    height: 600px;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.8) 0%, rgba(26, 68, 40, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    animation: slideContentFade 0.8s ease-out;
}

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

.slide-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.slide-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: var(--spacing-3xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeIn 0.8s ease-out;
}

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

.section-subtitle {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   SERVICES GRID
   ======================================== */

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

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.03), rgba(201, 169, 97, 0.03));
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(44, 107, 63, 0.1);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.service-features li:hover {
    color: var(--primary-green);
    transform: translateX(8px);
}

.service-features li i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.service-link {
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.service-link i {
    transition: transform var(--transition-base);
}

.service-link:hover i {
    transform: translateX(8px);
}

/* ========================================
   TRANSFER SERVICES SECTION
   ======================================== */

.transfer-services-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background:
        radial-gradient(circle at top left, rgba(201, 169, 97, 0.12), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
    overflow: hidden;
}

.transfer-marquee {
    max-width: 1280px;
    margin: 0 auto 2.5rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.transfer-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: transferScroll 28s linear infinite;
}

.transfer-chip {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(44, 107, 63, 0.14);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.transfer-logo-slider {
    max-width: 1280px;
    margin: 0 auto;
}

.transfer-logo-viewport {
    overflow: hidden;
    border-radius: 24px;
}

.transfer-logo-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
}

.transfer-logo-btn {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-height: 110px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: transform var(--transition-base), opacity var(--transition-base), filter var(--transition-base);
    opacity: 0.8;
}

.transfer-logo-btn img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.transfer-logo-btn.active,
.transfer-logo-btn:hover {
    opacity: 1;
    transform: translateY(-4px);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.12));
}

.transfer-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.transfer-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(44, 107, 63, 0.28);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.transfer-slider-dot.active {
    width: 24px;
    background: var(--primary-green);
}

.transfer-cloud {
    max-width: 1280px;
    margin: 1.35rem auto 0;
    min-height: 132px;
    position: relative;
}

.transfer-cloud-panel {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 24, 18, 0.58), rgba(24, 35, 30, 0.46)),
        var(--cloud-bg-image) center/cover no-repeat;
    border: 1px solid rgba(44, 107, 63, 0.18);
    border-radius: 18px;
    padding: 1rem 1.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.transfer-cloud-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.transfer-cloud-panel h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #f7faf9;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.transfer-cloud-pills {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.transfer-cloud-pill {
    padding: 0.52rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #0f2d22;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

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

.partner-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: white;
    border: 1px solid rgba(44, 107, 63, 0.1);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(201, 169, 97, 0.35);
}

.partner-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-logo {
    width: 110px;
    min-height: 72px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    padding: 0.85rem 1rem;
    line-height: 1;
}

.partner-logo-top {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.partner-logo-bottom {
    margin-top: 0.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    opacity: 0.95;
}

.partner-logo--ria {
    justify-content: center;
}

.partner-logo--ria .partner-logo-top {
    font-size: 1.45rem;
}

.partner-logo--ria .partner-logo-bottom {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.partner-logo--western-union {
    color: #facc15;
}

.partner-logo--western-union .partner-logo-top,
.partner-logo--western-union .partner-logo-bottom {
    color: #facc15;
}

.partner-logo--mtn-momo {
    color: #1f2937;
}

.partner-logo--mtn-momo .partner-logo-top,
.partner-logo--mtn-momo .partner-logo-bottom {
    color: #1f2937;
}

.partner-logo--orange-money .partner-logo-top {
    font-size: 1rem;
}

.partner-meta h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
}

.partner-meta span {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-desc {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.partner-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.partner-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.partner-list i {
    color: var(--primary-green);
    margin-top: 0.2rem;
}

/* ========================================
   ANIMATIONS SCROLL
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */

.floating-chat,
.floating-gallery,
.floating-whatsapp,
.floating-call {
    position: fixed;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-2xl);
    transition: all var(--transition-base);
    z-index: 999;
    animation: bounce 2s ease-in-out infinite;
}

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

.floating-chat {
    bottom: 230px;
    right: 35px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
}

.floating-gallery {
    bottom: 160px;
    right: 35px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.floating-gallery::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.35);
    animation: galleryPulse 2.2s ease-in-out infinite;
}

@keyframes galleryPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 0.25; }
}

.floating-whatsapp {
    bottom: 90px;
    right: 35px;
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-call {
    bottom: 20px;
    right: 35px;
    background: linear-gradient(135deg, var(--accent-burgundy), #a01644);
}

.floating-chat:hover,
.floating-gallery:hover,
.floating-whatsapp:hover,
.floating-call:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    animation: none;
}

/* Tooltip */
.floating-chat::before,
.floating-gallery::before,
.floating-whatsapp::before,
.floating-call::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 80px;
    background: var(--gray-900);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.floating-chat:hover::before,
.floating-gallery:hover::before,
.floating-whatsapp:hover::before,
.floating-call:hover::before {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a1a 100%);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(201, 169, 97, 0.15), transparent 28%),
        radial-gradient(circle at 85% 85%, rgba(44, 107, 63, 0.25), transparent 32%);
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.footer-section:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
    padding-left: 0;
    transform: translateX(5px);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.3rem;
    transition: all var(--transition-base);
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 45px;
    line-height: 1;
}

.social-link i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: 0;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-5px) scale(1.06);
    box-shadow: var(--shadow-xl);
}

.footer-direction-row {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(44, 107, 63, 0.12));
    border: 1px solid rgba(201, 169, 97, 0.22);
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-direction-title,
.footer-direction-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.footer-direction-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.footer-direction-item {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.footer-direction-item i,
.footer-direction-title i {
    color: var(--accent-gold);
    flex: 0 0 auto;
}

.footer-direction-item a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-direction-item a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.page-cta-panel {
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
}

.about-story-grid,
.agency-layout,
.leadership-grid {
    width: 100%;
}

.agency-details,
.agency-map {
    min-width: 0;
}

.credit-simulator-card {
    width: min(100%, 700px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

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

    .transfer-logo-btn {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.9rem 1rem;
        gap: 1rem;
    }

    .logo-img {
        height: 46px;
    }

    .transfer-services-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .transfer-chip {
        padding: 0.8rem 1.1rem;
        font-size: 0.95rem;
    }

    .transfer-logo-btn {
        flex: 0 0 calc((100% - 1rem) / 2);
        min-height: 98px;
    }

    .transfer-logo-btn img {
        max-height: 52px;
    }

    .transfer-cloud {
        min-height: auto;
    }

    .transfer-cloud-panel {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .transfer-cloud-panel.active {
        display: block;
        animation: cloudPop 0.3s ease;
    }

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

    .partner-logo {
        width: 96px;
        min-height: 66px;
        padding: 0.75rem 0.85rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        gap: 0.5rem;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    .nav-search-toggle,
    .nav-media-hub-trigger,
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 1px solid var(--gray-200);
        border-radius: 999px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .nav-search-toggle {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .nav-media-hub-trigger {
        margin-right: 0.5rem;
    }

    .nav-search-panel {
        width: calc(100% - 2rem);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-media-hub-panel {
        right: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    .nav-media-hub-grid {
        grid-template-columns: 1fr;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-50);
        margin-top: 0.5rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        font-size: 1.4rem;
    }

    .nav-search-submit {
        width: 48px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

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

    .page-cta-panel {
        padding: 3rem 1.5rem;
    }

    .about-story-grid,
    .agency-layout,
    .leadership-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-story-title,
    .agency-title,
    .about-values-title {
        font-size: 2rem !important;
    }

    .agency-details {
        padding: 2rem !important;
    }

    .agency-map {
        min-height: 320px;
        height: 320px !important;
    }

    .credit-simulator-card {
        padding: 2rem !important;
        margin-top: 2rem !important;
    }

    .credit-display-primary {
        font-size: 1.65rem !important;
    }

    .credit-display-secondary {
        font-size: 1.2rem !important;
    }

    .credit-result-value {
        font-size: 2.35rem !important;
    }

    .savings-benefit-card {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .slide {
        height: 400px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .floating-chat,
    .floating-gallery,
    .floating-whatsapp,
    .floating-call {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .floating-chat {
        bottom: 185px;
        right: 20px;
    }

    .floating-gallery {
        bottom: 130px;
        right: 20px;
    }

    .floating-whatsapp {
        bottom: 75px;
        right: 20px;
    }

    .floating-call {
        bottom: 20px;
        right: 20px;
    }

    .floating-chat::before,
    .floating-gallery::before,
    .floating-whatsapp::before,
    .floating-call::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 72px;
        max-height: calc(100vh - 72px);
        padding: 1.25rem 1rem 1.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-stats-inline {
        gap: 0.6rem;
    }

    .hero-stats-inline .stat-item {
        padding: 0.9rem 0.4rem;
    }

    .hero-stats-inline .stat-number {
        font-size: 1.5rem;
    }

    .hero-stats-inline .stat-label {
        font-size: 0.7rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .page-cta-panel {
        padding: 2.5rem 1rem;
        border-radius: 20px;
    }

    .about-story-title,
    .agency-title,
    .about-values-title {
        font-size: 1.75rem !important;
    }

    .agency-details {
        padding: 1.5rem !important;
    }

    .agency-map {
        min-height: 260px;
        height: 260px !important;
    }

    .credit-simulator-card {
        padding: 1.5rem !important;
        border-radius: 20px;
    }

    .credit-result-panel {
        padding: 1.5rem !important;
    }

    .credit-result-value {
        font-size: 2rem !important;
    }

    .leadership-grid {
        gap: 1.5rem !important;
    }
}

/* ========================================
   HOMEPAGE – NOUVELLES SECTIONS DYNAMIQUES
   ======================================== */

/* --- Pourquoi nous choisir --- */
.why-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.why-image-wrap {
    position: relative;
}

.why-image-wrap img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    display: block;
}

.why-image-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    font-weight: 700;
}

.why-image-badge .badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}

.why-image-badge .badge-text {
    font-size: 0.85rem;
}

.why-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.why-intro {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

.why-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-feature.visible {
    opacity: 1;
    transform: translateX(0);
}

.why-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.why-feature-text h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--gray-900);
}

.why-feature-text p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Comment ça marche --- */
.how-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gray-50);
    overflow: hidden;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3.5rem auto 0;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 3px;
    z-index: 0;
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.how-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.how-step:nth-child(1) { transition-delay: 0s; }
.how-step:nth-child(2) { transition-delay: 0.15s; }
.how-step:nth-child(3) { transition-delay: 0.3s; }
.how-step:nth-child(4) { transition-delay: 0.45s; }

.how-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-green);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
}

.how-step-circle .step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.how-step:hover .how-step-circle {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.how-step h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.how-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Produits phares --- */
.products-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
    overflow: hidden;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2.5rem auto 2rem;
}

.product-tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-tab-btn.active,
.product-tab-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.products-panels {
    max-width: 1200px;
    margin: 0 auto;
}

.product-panel {
    display: none;
    animation: panelFadeIn 0.4s ease;
}

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

.product-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-panel-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.product-panel-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-panel-image:hover img {
    transform: scale(1.04);
}

.product-panel-image .product-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-panel-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-panel-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gray-900);
}

.product-panel-info .product-desc {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.product-highlight-item {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--primary-green);
}

.product-highlight-item .hi-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.product-highlight-item .hi-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.product-conditions {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-conditions li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.product-conditions li i {
    color: var(--primary-green);
    font-size: 0.85rem;
}

/* --- Témoignages --- */
.testimonials-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    overflow: hidden;
}

.testimonials-section .section-subtitle {
    color: var(--accent-gold);
}

.testimonials-section .section-subtitle::after {
    background: linear-gradient(90deg, var(--accent-gold), #f0c566);
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-description {
    color: rgba(255,255,255,0.75);
}

.testimonials-track-wrap {
    overflow: hidden;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    flex: 0 0 33.333%;
    width: 33.333%;
    box-sizing: border-box;
    margin: 0 1rem;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-6px);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 1.75rem;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent-gold);
    line-height: 0;
    position: absolute;
    top: 0.5rem;
    left: -0.25rem;
    opacity: 0.4;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.testimonial-author-info .author-name {
    font-weight: 700;
    color: white;
    font-size: 0.97rem;
}

.testimonial-author-info .author-role {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.testi-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

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

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testi-dot.active {
    background: var(--accent-gold);
    transform: scale(1.35);
}

/* --- Bannière urgence / promo --- */
.promo-banner {
    background: linear-gradient(90deg, var(--accent-gold) 0%, #e6b84a 100%);
    margin-top: 0;
    padding: 0.7rem 1rem;
    position: sticky;
    top: 86px;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 998;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.promo-banner::before {
    content: none;
}

.promo-banner-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: promoTickerLtr 22s linear infinite;
    will-change: transform;
}

.promo-banner-text {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
}

.promo-banner-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    white-space: nowrap;
}

.promo-banner-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.promo-banner-item[aria-hidden="true"] .promo-banner-link {
    pointer-events: none;
}

.promo-banner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 68, 40, 0.28);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.38);
    transition: all var(--transition-fast);
}

.promo-banner-link:hover {
    background: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

@keyframes promoTickerLtr {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive nouvelles sections */
@media (max-width: 1024px) {
    .how-steps { grid-template-columns: repeat(2, 1fr); }
    .how-steps::before { display: none; }
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-image-badge { bottom: -1rem; right: 0.5rem; }
    .how-steps { grid-template-columns: repeat(2, 1fr); }
    .product-panel.active { grid-template-columns: 1fr; gap: 2rem; }
    .product-panel-image img { height: 260px; }
    .product-highlights { grid-template-columns: 1fr 1fr; }
    .testimonial-card { flex: 0 0 50%; width: 50%; }

    .promo-banner {
        top: 78px;
        padding: 0.6rem 0.75rem;
    }

    .promo-banner-track {
        animation-duration: 16s;
    }

    .promo-banner-text {
        font-size: 0.82rem;
    }

    .promo-banner-item {
        gap: 0.7rem;
        padding: 0 1.1rem;
    }
}

@media (max-width: 640px) {
    .testimonial-card { flex: 0 0 100%; width: 100%; margin: 0; }
}

@media (max-width: 480px) {
    .partner-card {
        padding: 1.25rem;
    }

    .transfer-logo-btn {
        flex: 0 0 100%;
    }

    .transfer-cloud {
        min-height: auto;
    }

    .transfer-cloud-panel {
        padding: 0.9rem;
    }

    .transfer-cloud-panel h3 {
        font-size: 1.1rem;
    }

    .transfer-cloud-pill {
        font-size: 0.82rem;
        padding: 0.45rem 0.7rem;
    }

    .partner-card-head {
        align-items: flex-start;
    }

    .partner-logo-top {
        font-size: 0.95rem;
    }

    .partner-logo-bottom {
        font-size: 0.8rem;
    }

    .partner-meta h3 {
        font-size: 1.2rem;
    }

    .footer-direction-row {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .footer-direction-title {
        font-size: 1.1rem;
    }

    .how-steps { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .product-highlights { grid-template-columns: 1fr; }
    .products-tabs { gap: 0.5rem; }
    .product-tab-btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
    .promo-banner {
        top: 72px;
    }

    .promo-banner-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.72rem;
    }
}

/* ========================================
   FAQ SECTION - STYLES AVANCÉS
   ======================================== */

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-gold));
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(8px);
    border-color: rgba(44, 107, 63, 0.1);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item.active {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
    background: linear-gradient(135deg, rgba(44, 107, 63, 0.02), rgba(201, 169, 97, 0.02));
}

.faq-item.active::before {
    transform: scaleY(1);
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
    gap: 1.5rem;
}

.faq-question:hover {
    color: var(--primary-green);
    padding-left: 2.5rem;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, var(--accent-gold), #e6d5a5);
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 1.05rem;
    animation: fadeInContent 0.5s ease-out;
}

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

.faq-answer-content strong {
    color: var(--primary-green);
    font-weight: 700;
}

/* ========================================
   FAQ CATEGORY BUTTONS
   ======================================== */

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-category-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-category-btn.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.faq-category-btn i {
    font-size: 1.1rem;
}

    /* ====================================================
       PAGE OUVRIR UN COMPTE
    ==================================================== */

    /* --- Cartes info compte --- */
    .account-info-card {
        background: white;
        border-radius: 20px;
        padding: 2rem 1.75rem;
        box-shadow: var(--shadow-md);
        border: 2px solid transparent;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .account-info-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-green);
    }
    .account-info-card--gold {
        border-color: var(--accent-gold);
    }
    .account-info-card--premium {
        border-color: var(--primary-dark);
    }
    .account-info-badge {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--accent-gold);
        color: white;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
    .account-info-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
    }
    .account-info-card--gold .account-info-icon {
        background: linear-gradient(135deg, var(--accent-gold), #e6d5a5);
    }
    .account-info-card--premium .account-info-icon {
        background: linear-gradient(135deg, var(--primary-dark), #6b1030);
    }
    .account-info-icon i {
        font-size: 1.6rem;
        color: white;
    }
    .account-info-title {
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.5rem;
    }
    .account-info-desc {
        color: var(--gray-600);
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    .account-info-features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .account-info-features li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-size: 0.9rem;
        color: var(--gray-700);
    }
    .account-info-features li i {
        color: var(--primary-green);
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .account-info-card--gold .account-info-features li i {
        color: var(--accent-gold);
    }
    .account-info-card--premium .account-info-features li i {
        color: var(--primary-dark);
    }

    /* --- Documents requis --- */
    .oac-docs-wrapper {
        background: white;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: var(--shadow-md);
        max-width: 860px;
        margin: 0 auto;
        border-left: 5px solid var(--accent-gold);
    }
    .oac-docs-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }
    .oac-docs-header i {
        font-size: 2rem;
        color: var(--accent-gold);
    }
    .oac-docs-header h2 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--gray-900);
        margin: 0;
    }
    .oac-docs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    .oac-doc-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 12px;
        font-size: 0.9rem;
        color: var(--gray-700);
    }
    .oac-doc-item i {
        color: var(--primary-green);
        font-size: 1.1rem;
        margin-top: 2px;
        flex-shrink: 0;
    }

    /* --- Formulaire principal --- */
    .oac-form-container {
        max-width: 900px;
        margin: 0 auto;
    }
    .oac-form-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .oac-form-header h2 {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
    }
    .oac-form-header h2 i {
        color: var(--primary-green);
        margin-right: 0.5rem;
    }
    .oac-form-header p {
        color: var(--gray-600);
        font-size: 1rem;
        max-width: 640px;
        margin: 0 auto;
    }

    /* Alertes */
    .oac-alert {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        margin-bottom: 1.75rem;
        font-size: 0.97rem;
        font-weight: 500;
    }
    .oac-alert i { font-size: 1.2rem; }
    .oac-alert--success {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #6ee7b7;
    }
    .oac-alert--error {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

    /* Fieldsets */
    .oac-fieldset {
        background: white;
        border: 1px solid var(--gray-200);
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        box-shadow: var(--shadow-sm);
    }
    .oac-legend {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-family: var(--font-display);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--gray-900);
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    .oac-legend-num {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
        color: white;
        font-size: 0.85rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .oac-legend i {
        color: var(--primary-green);
    }

    /* Grilles de champs */
    .oac-row {
        display: grid;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
    .oac-row--2 { grid-template-columns: repeat(2, 1fr); }
    .oac-row--3 { grid-template-columns: repeat(3, 1fr); }
    .oac-field--wide { grid-column: span 2; }

    /* Champs */
    .oac-field { display: flex; flex-direction: column; gap: 0.4rem; }
    .oac-label {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--gray-700);
    }
    .oac-required { color: #dc2626; margin-left: 2px; }
    .oac-optional { color: var(--gray-400); font-weight: 400; font-size: 0.8rem; }
    .oac-input,
    .oac-select,
    .oac-textarea {
        width: 100%;
        padding: 0.7rem 1rem;
        border: 1.5px solid var(--gray-300);
        border-radius: 10px;
        font-size: 0.95rem;
        font-family: var(--font-body);
        color: var(--gray-900);
        background: #fafafa;
        transition: border-color 0.2s, box-shadow 0.2s;
        outline: none;
    }
    .oac-input:focus,
    .oac-select:focus,
    .oac-textarea:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 3px rgba(var(--primary-green-rgb, 27,94,32), 0.1);
        background: white;
    }
    .oac-input--error { border-color: #dc2626 !important; }
    .oac-error-msg { font-size: 0.8rem; color: #dc2626; }
    .oac-textarea { resize: vertical; min-height: 100px; }

    /* Sélecteur type de compte */
    .oac-account-types {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .oac-account-type-option { cursor: pointer; }
    .oac-account-type-option input[type="radio"] { display: none; }
    .oac-account-type-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1.25rem 1rem;
        border: 2px solid var(--gray-200);
        border-radius: 14px;
        text-align: center;
        transition: border-color 0.2s, background 0.2s, transform 0.2s;
        background: white;
    }
    .oac-account-type-card i {
        font-size: 1.75rem;
        color: var(--gray-400);
        transition: color 0.2s;
    }
    .oac-account-type-card strong {
        font-size: 0.95rem;
        color: var(--gray-800);
    }
    .oac-account-type-card small {
        font-size: 0.78rem;
        color: var(--gray-500);
    }
    .oac-account-type-option input[type="radio"]:checked + .oac-account-type-card {
        border-color: var(--primary-green);
        background: #f0fdf4;
        transform: translateY(-3px);
    }
    .oac-account-type-option input[type="radio"]:checked + .oac-account-type-card i {
        color: var(--primary-green);
    }

    /* Consentement */
    .oac-consent-block {
        background: #fffbeb;
        border: 1.5px solid #fcd34d;
        border-radius: 12px;
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.75rem;
    }
    .oac-consent-label {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        cursor: pointer;
        font-size: 0.92rem;
        color: var(--gray-700);
        line-height: 1.6;
    }
    .oac-consent-checkbox {
        width: 18px;
        height: 18px;
        accent-color: var(--primary-green);
        margin-top: 3px;
        flex-shrink: 0;
        cursor: pointer;
    }

    /* Bouton envoi */
    .oac-submit-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .oac-submit-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 2.5rem;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
        color: white;
        font-size: 1.05rem;
        font-weight: 700;
        font-family: var(--font-body);
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: var(--shadow-lg);
    }
    .oac-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-xl);
    }
    .oac-submit-note {
        font-size: 0.82rem;
        color: var(--gray-500);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    .oac-submit-note i { color: var(--primary-green); }

    /* --- Étapes --- */
    .oac-steps {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        flex-wrap: wrap;
        max-width: 960px;
        margin: 0 auto;
    }
    .oac-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 180px;
        flex: 1 1 140px;
    }
    .oac-step-num {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
        color: white;
        font-size: 1.3rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        box-shadow: var(--shadow-md);
    }
    .oac-step-content h4 {
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.4rem;
    }
    .oac-step-content p {
        font-size: 0.88rem;
        color: var(--gray-600);
        line-height: 1.5;
    }
    .oac-step-arrow {
        display: flex;
        align-items: center;
        padding: 0 0.5rem;
        color: var(--gray-300);
        font-size: 1.4rem;
        padding-bottom: 3.5rem;
    }

    /* --- Responsive --- */
    @media (max-width: 768px) {
        .oac-row--2,
        .oac-row--3 {
            grid-template-columns: 1fr;
        }
        .oac-field--wide { grid-column: span 1; }
        .oac-account-types { grid-template-columns: 1fr; }
        .oac-steps { flex-direction: column; align-items: center; }
        .oac-step-arrow { transform: rotate(90deg); padding-bottom: 0; padding-right: 3.5rem; }
        .oac-docs-grid { grid-template-columns: 1fr; }
        .oac-fieldset { padding: 1.25rem; }
    }
