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

:root {
    /* Couleurs primaires */
    --primary-color: #FF6600;
    --primary-dark: #E55A00;
    --primary-light: #FF8533;

    /* Couleurs de texte */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-peachy: #fff5f0;

    /* Navy gradients (hero) */
    --navy-dark: #1a1a2e;
    --navy-medium: #16213e;
    --navy-light: #0f3460;

    /* Grays (icons, hover states) */
    --gray-light: #f0f0f0;
    --gray-medium: #e0e0e0;

    /* Borders */
    --border-color: #e5e7eb;

    /* Success states */
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;

    /* Error states */
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --error-border: #f5c6cb;

    /* White transparencies */
    --white-90: rgba(255, 255, 255, 0.9);
    --white-95: rgba(255, 255, 255, 0.95);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);

    /* Primary transparencies */
    --primary-05: rgba(255, 102, 0, 0.05);
    --primary-10: rgba(255, 102, 0, 0.1);
    --primary-20: rgba(255, 102, 0, 0.2);
    --primary-25: rgba(255, 102, 0, 0.25);
    --primary-30: rgba(255, 102, 0, 0.3);
    --primary-35: rgba(255, 102, 0, 0.35);
    --primary-40: rgba(255, 102, 0, 0.4);
    --primary-50: rgba(255, 102, 0, 0.5);
    --primary-60: rgba(255, 102, 0, 0.6);
    --primary-90: rgba(255, 102, 0, 0.9);

    /* Black transparencies */
    --black-05: rgba(0, 0, 0, 0.05);
    --black-10: rgba(0, 0, 0, 0.1);
    --black-15: rgba(0, 0, 0, 0.15);
    --black-70: rgba(0, 0, 0, 0.7);

    /* Shadows */
    --shadow-sm: 0 2px 4px var(--black-05);
    --shadow-md: 0 4px 6px var(--black-10);
    --shadow-lg: 0 10px 25px var(--black-15);

    /* Variables fixes (ne changent pas en dark mode) */
    --footer-bg: #1a1a1a;
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.7);
    --footer-text-dim: rgba(255, 255, 255, 0.6);
    --hero-text: #ffffff;
    --hero-text-muted: rgba(255, 255, 255, 0.9);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    /* Backgrounds inversés */
    --bg-white: #1a1a1a;
    --bg-light: #2d2d2d;
    --bg-peachy: #2a2520;

    /* Textes inversés */
    --text-dark: #e0e0e0;
    --text-gray: #b0b0b0;
    --text-light: #808080;

    /* Navy plus sombres pour le hero */
    --navy-dark: #0f0f1a;
    --navy-medium: #0d1421;
    --navy-light: #0a1f3a;

    /* Grays plus sombres */
    --gray-light: #3a3a3a;
    --gray-medium: #2a2a2a;

    /* Borders plus sombres */
    --border-color: #404040;

    /* Success/Error ajustés pour dark mode */
    --success-bg: #1a3a27;
    --success-text: #7fdf9f;
    --success-border: #2d5a3d;

    --error-bg: #3a1a1f;
    --error-text: #ff8f9f;
    --error-border: #5a2d35;

    /* Transparences blanches ajustées */
    --white-90: rgba(255, 255, 255, 0.15);
    --white-95: rgba(30, 30, 30, 0.95);
    --white-70: rgba(255, 255, 255, 0.12);
    --white-60: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.05);
    --white-10: rgba(255, 255, 255, 0.03);

    /* Shadows plus prononcées en dark mode */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);

    /* Black transparencies inversées (deviennent blanc en dark) */
    --black-05: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white-95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0) !important;
}

.navbar.scrolled {
    background: var(--bg-white);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--black-05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.nav-logo {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

[data-theme="dark"] .nav-logo {
    filter: brightness(1.1);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Navigation items */
.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dropdown icon */
.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon,
.nav-item.has-dropdown.expanded .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    margin-top: 10px;
}

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

/* Dropdown items */
.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: rgba(255, 102, 0, 0.08);
    color: var(--primary-color);
}

.dropdown-menu a i {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 16px;
}

/* View all link */
.dropdown-menu .view-all {
    font-weight: 600;
    color: var(--primary-color) !important;
    justify-content: center;
}

.btn-nav {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

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

/* Floating theme toggle button */
.theme-toggle-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    color: var(--text-dark);
}

.theme-toggle-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: var(--bg-light);
}

.theme-toggle-floating:active {
    transform: scale(0.95);
}

.theme-toggle-floating svg {
    width: 24px;
    height: 24px;
}

.btn-login {
    background: transparent;
    color: var(--text-dark);
    padding: 0.5rem 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
}

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

.btn-login::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.btn-login:hover::after {
    width: 100%;
}

.btn-login span {
    font-size: 1rem;
}

.btn-login .icon-small {
    width: 18px;
    height: 18px;
}

[data-theme="dark"] .btn-login {
    color: var(--text-gray);
}

[data-theme="dark"] .btn-login:hover {
    color: var(--primary-color);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

[data-theme="dark"] .hamburger span {
    background: var(--text-light);
}

.hero {
    margin-top: 77px;
    padding: 60px 0 4px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 50%, var(--navy-light) 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 50% 100%, 0 calc(100% - 50px));
    z-index: 2;
}

/* Section suivant le hero - remonte pour s'afficher sous le clip-path */
.hero + section {
    margin-top: -50px;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, var(--black-70) 0%, var(--primary-20) 100%); */
    z-index: 2;
    animation: pulse 10s ease-in-out infinite;
    transition: background 1s ease-in-out, opacity 1s ease-in-out;
}



@keyframes pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.75; }
}

.hero .container {
    position: relative;
    z-index: 3;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 6rem;
    margin-bottom: 1.5rem;
    color: var(--hero-text);
    opacity: 0;
}

.hero h1.animate {
    animation: fadeInScale 1s ease forwards;
}

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

.hero .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 102, 0, 0.5),
            0 0 20px rgba(255, 102, 0, 0.3),
            0 0 30px rgba(255, 102, 0, 0.2);
        filter: brightness(1);
    }
    50% {
        text-shadow:
            0 0 20px rgba(255, 102, 0, 0.9),
            0 0 40px rgba(255, 102, 0, 0.6),
            0 0 60px rgba(255, 102, 0, 0.4);
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--hero-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
}

.hero-subtitle.animate {
    animation: slideUp 1s ease 0.5s forwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideUp 1s ease 1s forwards;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-35);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.accompaniment {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
    position: relative;
}

.accompaniment::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-05) 0%, transparent 70%);
    border-radius: 50%;
}

.accompaniment-content {
    max-width: 1000px;
    margin: 0 auto;
}

.accompaniment-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.accompaniment-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.accompaniment-steps {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.accompaniment-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 168px;
    bottom: 168px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    z-index: 1;
}

.step-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    width: calc(50% - 40px);
}

/* Étapes impaires à gauche (data-step 1 et 3) */
.step-card[data-step="1"],
.step-card[data-step="3"] {
    margin-right: auto;
}

/* Étapes paires à droite (data-step 2 et 4) */
.step-card[data-step="2"],
.step-card[data-step="4"] {
    margin-left: auto;
}

/* Numéro sur la timeline pour les étapes impaires (à gauche) */
.step-card[data-step="1"]::before,
.step-card[data-step="3"]::before {
    content: attr(data-step);
    position: absolute;
    left: calc(100% + 22px);
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 2px 8px var(--primary-30);
    border: 3px solid var(--bg-white);
}

/* Numéro sur la timeline pour les étapes paires (à droite) */
.step-card[data-step="2"]::before,
.step-card[data-step="4"]::before {
    content: attr(data-step);
    position: absolute;
    right: calc(100% + 22px);
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 2px 8px var(--primary-30);
    border: 3px solid var(--bg-white);
}

.step-card:last-child {
    margin-bottom: 0;
}

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

.step-card:hover::before {
    box-shadow: 0 4px 12px var(--primary-50);
    transform: translateY(-50%) scale(1.15);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-align: left;
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

/* Journey Icons in Accompaniment Steps */
.accompaniment-steps .journey-icon-standalone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    position: relative;
    z-index: 4;
}

.accompaniment-steps .journey-icon-start {
    margin-top: 0;
    margin-bottom: 3rem;
}

.accompaniment-steps .journey-icon-end {
    margin-top: 3rem;
    margin-bottom: 0;
}

.accompaniment-steps .journey-icon-standalone img {
    width: 120px;
    height: 120px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.accompaniment-steps .journey-icon-standalone:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

/* Responsive: hide icons on small screens */
@media (max-width: 768px) {
    .accompaniment-steps .journey-icon-standalone {
        display: none;
    }
}

.accompaniment-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Page Hero */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--hero-text);
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.page-hero-compact {
    padding: 120px 0 50px;
}

.page-hero-compact h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero-compact .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Accompagnement Detail Page */
.accompagnement-detail {
    padding: 80px 0;
    background: var(--bg-white);
}

.accompagnement-intro-full {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.accompagnement-intro-full h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.methodology-section {
    margin-bottom: 5rem;
}

.methodology-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.methodology-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.methodology-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.methodology-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.methodology-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.methodology-card > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.detail-list {
    list-style: none;
    padding-left: 0;
}

.detail-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    color: var(--text-gray);
    position: relative;
    line-height: 1.6;
}

.detail-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.benefits-section {
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
    padding: 4rem;
    border-radius: 16px;
    margin-bottom: 5rem;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.benefits-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-card-detailed {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.benefit-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gray-light), var(--gray-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card-detailed:hover .benefit-icon-large {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.benefit-icon-large svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card-detailed:hover .benefit-icon-large svg {
    color: #ffffff;
}

.benefit-card-detailed h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card-detailed p {
    color: var(--text-gray);
    line-height: 1.7;
}

.commitment-section {
    margin-bottom: 5rem;
}

.commitment-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
}

.commitment-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.commitment-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.commitment-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.value-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.value-item span {
    font-weight: 500;
    font-size: 1.05rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-section > p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* =========================================
   PARTENAIRES PAGE STYLES
   ========================================= */

.partners-detail {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.partners-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.partners-content-full {
    margin-bottom: 3rem;
}

.partners-benefits-section {
    margin-bottom: 4rem;
}

.partners-benefits-section h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.benefit-partner-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.benefit-partner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.benefit-partner-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.benefit-partner-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-partner-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.partners-stats-section {
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.partners-stats-section h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

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

.stat-partner-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-partner-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-partner-card p {
    color: var(--text-gray);
    font-weight: 500;
}

.partners-process-section {
    margin-bottom: 4rem;
}

.partners-process-section h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive pour page partenaires */
@media (max-width: 768px) {
    .partners-intro h2 {
        font-size: 2rem;
    }

    .partners-benefits-section h3,
    .partners-stats-section h3,
    .partners-process-section h3 {
        font-size: 1.5rem;
    }

    .benefits-grid-partners {
        grid-template-columns: 1fr;
    }

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

    .stat-partner-card h4 {
        font-size: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

.services {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

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

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-peachy) 100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg,
.service-icon i {
    width: 28px;
    height: 28px;
    color: #ffffff;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

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

.use-cases {
    padding: 80px 0;
    background: var(--bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

.use-case {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.use-case-header h3 {
    font-size: 1.25rem;
}

.use-case-tag {
    background: var(--white-20);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.use-case-scenario,
.use-case-solution {
    padding: 1.5rem;
}

.use-case-solution {
    flex: 1;
}

.use-case-scenario h4,
.use-case-solution h4 {
    color: var(--text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.use-case-scenario p {
    color: var(--text-gray);
    line-height: 1.6;
}

.use-case-solution ul {
    list-style: none;
}

.use-case-solution li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.use-case-solution li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.use-case-result {
    background: var(--bg-light);
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
}

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

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.infrastructure {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.infra-card {
    text-align: center;
    padding: 2rem;
}

.infra-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gray-light), var(--gray-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.infra-card:hover .infra-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.infra-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.infra-card:hover .infra-icon svg {
    color: #ffffff;
}

.infra-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.infra-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.partners {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
}

.partners-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.partners-benefits h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.partners-benefits p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.benefits-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.partners-stats {
    display: grid;
    gap: 2rem;
}

.partner-stat {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.partner-stat h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-stat p {
    color: var(--text-gray);
    font-weight: 500;
}

.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.testimonial {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-content p::before {
    content: """;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 0;
    margin-right: 0.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.pricing-preview {
    padding: 80px 0;
    background: var(--bg-white);
}

.pricing-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.pricing-feature span {
    color: var(--text-dark);
    font-weight: 500;
}

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

.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-10);
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-benefits {
    margin-top: 2rem;
}

.contact-benefits h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.contact-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

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

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-column p {
    color: var(--footer-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--white-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--footer-text);
}

.footer-bottom {
    border-top: 1px solid var(--white-10);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--footer-text-dim);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--footer-text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .nav-logo {
        height: 35px;
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 1rem;
    }

    .btn-login span {
        display: none;
    }


    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

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

    /* Mobile dropdown accordion */
    .nav-item {
        width: 100%;
    }

    .nav-link {
        justify-content: center;
        padding: 1rem 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        background: var(--bg-light);
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-item.has-dropdown.expanded .dropdown-menu {
        max-height: 400px;
        padding: 8px 0;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .dropdown-divider {
        margin: 8px 40px;
    }

    /* Hide dropdown on hover for mobile (use click instead) */
    .nav-item.has-dropdown:hover:not(.expanded) .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .nav-item.has-dropdown.expanded .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 250px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .accompaniment-intro {
        padding: 0 1rem;
    }

    .accompaniment-intro p {
        font-size: 1rem;
    }

    .accompaniment-steps {
        padding: 0 20px;
    }

    .accompaniment-steps::before {
        left: 20px;
        transform: none;
    }

    .step-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
        padding: 1.5rem;
    }

    .step-card:nth-child(odd)::before,
    .step-card:nth-child(even)::before {
        left: -32px;
        right: auto;
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        border: 2px solid var(--bg-white);
    }

    .accompaniment-benefits {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 2.25rem;
    }

    .page-hero-subtitle {
        font-size: 1.125rem;
    }

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

    .benefits-section {
        padding: 2.5rem 1.5rem;
    }

    .benefits-grid-detailed {
        grid-template-columns: 1fr;
    }

    .commitment-box {
        padding: 2.5rem 1.5rem;
    }

    .commitment-box h2 {
        font-size: 2rem;
    }

    .commitment-text {
        font-size: 1.125rem;
    }

    .commitment-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .partners-content {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
    }

    /* Smaller floating button on mobile */
    .theme-toggle-floating {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .theme-toggle-floating svg {
        width: 20px;
        height: 20px;
    }
}

/* Styles pour le formulaire de contact amélioré */
.captcha-group {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.captcha-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.captcha-group #math-question {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.captcha-group input[type="text"] {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-loader {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.icon-spin {
    animation: spin 1s linear infinite;
}

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

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 500;
    display: none;
}

.form-message-success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.form-message-error {
    background-color: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.form-message-success::before {
    content: "✔ ";
}

.form-message-error::before {
    content: "❌ ";
}

/* Responsive pour reCAPTCHA */
@media (max-width: 480px) {
    .captcha-group {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* ===========================================
   RAPIDOBACKUP PAGE STYLES
   =========================================== */

/* Backup Intro Section */
.backup-intro {
    padding: 60px 0 40px;
    background: var(--bg-white);
}

/* Backup Solutions Section */
.backup-solutions {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    position: relative;
    overflow: hidden;
}

/* Ribbon badges communs */
.comparison-card [class^="badge-"] {
    position: absolute;
    top: 50px;
    right: -60px;
    width: 250px;
    text-align: center;
    color: white;
    padding: 0.5rem 0;
    transform: rotate(45deg);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-card .badge-popular {
    background: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.comparison-card .badge-secondary {
    background: var(--text-gray);
}

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

/* Backup Features Section */
.backup-features {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Grande carte 2x2 */
.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-peachy) 100%);
}

.bento-card.large h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bento-card.large p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Carte moyenne verticale */
.bento-card.tall {
    grid-row: span 2;
    padding: 2rem;
}

.bento-card.tall h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.bento-card.tall p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Cartes standard petites */
.bento-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.bento-card > p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Bento Icons */
.bento-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bento-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.bento-icon-small {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gray-light), var(--gray-medium));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-small {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.bento-icon-small svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-small svg {
    color: #ffffff;
}

/* Responsive Bento Grid */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-card.tall {
        grid-row: span 1;
    }
}

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

    .bento-card.large,
    .bento-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Backup Benefits Section */
.backup-benefits {
    padding: 60px 0;
    background: var(--bg-light);
}

.backup-benefits .benefits-section {
    background: transparent;
    padding: 0;
}

/* Backup Stats Section */
.backup-stats {
    padding: 40px 0;
    background: var(--bg-light);
}

.stats-inline {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.stat-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .stats-inline {
        gap: 1.5rem;
    }

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

/* Backup Infrastructure Section */
.backup-infrastructure {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Badge Links (clickable certifications) */
.badge-link {
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.badge-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge-link::after {
    content: '↗';
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-link:hover::after {
    opacity: 1;
}

/* ===========================================
   LEGAL PAGES STYLES
   =========================================== */

.page-hero-small {
    margin-top: 77px;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    text-align: center;
}

.page-hero-small h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0;
}

.legal-content {
    padding: 60px 0 80px;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .page-hero-small h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 40px 0 60px;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }
}

/* ===========================================
   BACKUP TESTIMONIALS SECTION
   =========================================== */

.backup-testimonials {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Splide carousel styling */
#testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

#testimonials-slider .splide__slide {
    padding: 0.5rem;
}

#testimonials-slider .splide__arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    pointer-events: none;
}

#testimonials-slider .splide__arrow {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.3s ease;
}

#testimonials-slider .splide__arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

#testimonials-slider .splide__arrow:hover svg {
    fill: white;
}

#testimonials-slider .splide__arrow svg {
    fill: var(--text-dark);
    transition: fill 0.3s ease;
}

#testimonials-slider .splide__arrow--prev {
    left: -10px;
}

#testimonials-slider .splide__arrow--next {
    right: -10px;
}

#testimonials-slider .splide__pagination {
    bottom: -2rem;
}

#testimonials-slider .splide__pagination__page {
    background: var(--border-color);
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

#testimonials-slider .splide__pagination__page.is-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 280px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

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

.testimonial-card.testimonial-highlight {
    background: linear-gradient(135deg, var(--bg-peachy) 0%, var(--bg-white) 100%);
    border-color: var(--primary-color);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-content p {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

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

/* Dark mode for Splide - uses redefined base variables */
[data-theme="dark"] #testimonials-slider .splide__arrow {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] #testimonials-slider .splide__arrow svg {
    fill: var(--text-dark);
}

[data-theme="dark"] #testimonials-slider .splide__arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] #testimonials-slider .splide__pagination__page {
    background: var(--border-color);
}

@media (max-width: 992px) {
    #testimonials-slider {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    #testimonials-slider {
        padding: 0 20px;
    }

    #testimonials-slider .splide__pagination {
        bottom: -1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        min-height: 260px;
    }

    .backup-testimonials {
        padding: 60px 0;
    }
}

/* ===========================================
   COOKIE CONSENT BANNER
   =========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUpCookie 0.4s ease-out;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.cookie-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Dark mode adjustments */
[data-theme="dark"] .cookie-banner {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-text {
        flex-direction: column;
        min-width: 100%;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn-sm {
        width: 100%;
    }
}