/* ============================================
   OPTICPF - STYLESHEET
   Organisme de formation professionnelle
   ============================================ */

/* ============================================
   CUSTOM FONTS
   ============================================ */
   @font-face {
    font-family: 'Paris Regular';
    src: url('assets/paris-regular.woff2') format('woff2'),
         url('assets/paris-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Palette OPTICPF - Couleurs strictes */
    --primary: #58baa1;
    --deep: #27434a;
    --light: #8ec684;
    --deep-light: #005a53;
    --very-light: #a5c0b2;
    
    /* Palette étendue pour UI */
    --bg: #ffffff;
    --surface: #f8faf9;
    --text: #27434a;
    --text-muted: #5a7178;
    --border: #d4e4df;
    
    /* Typographie - Échelle modulaire */
    --font-primary: 'Paris Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fs-200: 0.875rem;    /* 14px */
    --fs-300: 1rem;        /* 16px */
    --fs-400: 1.125rem;    /* 18px */
    --fs-500: 1.25rem;     /* 20px */
    --fs-600: 1.5rem;      /* 24px */
    --fs-700: 2rem;        /* 32px */
    --fs-800: 2.5rem;      /* 40px */
    --fs-900: 3rem;        /* 48px */
    
    /* Line heights */
    --lh-tight: 1.2;
    --lh-normal: 1.5;
    --lh-loose: 1.7;
    
    /* Spacing - Échelle cohérente */
    --space-1: 0.5rem;     /* 8px */
    --space-2: 1rem;       /* 16px */
    --space-3: 1.5rem;     /* 24px */
    --space-4: 2rem;       /* 32px */
    --space-5: 3rem;       /* 48px */
    --space-6: 4rem;       /* 64px */
    --space-7: 6rem;       /* 96px */
    
    /* Border radius */
    --radius-200: 0.25rem; /* 4px */
    --radius-300: 0.5rem;  /* 8px */
    --radius-400: 0.75rem; /* 12px */
    --radius-600: 1rem;    /* 16px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(39, 67, 74, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(39, 67, 74, 0.1), 0 2px 4px -1px rgba(39, 67, 74, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(39, 67, 74, 0.1), 0 4px 6px -2px rgba(39, 67, 74, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(39, 67, 74, 0.1), 0 10px 10px -5px rgba(39, 67, 74, 0.04);
    
    /* Transitions */
    --transition: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-300);
    line-height: var(--lh-normal);
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover,
a:focus {
    color: var(--deep-light);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--lh-tight);
    font-weight: 600;
    color: var(--deep);
}

h1 {
    font-size: var(--fs-900);
    margin-bottom: var(--space-3);
}

h2 {
    font-size: var(--fs-800);
    margin-bottom: var(--space-3);
}

h3 {
    font-size: var(--fs-600);
    margin-bottom: var(--space-2);
}

h4 {
    font-size: var(--fs-500);
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-2);
    line-height: var(--lh-loose);
}

ul, ol {
    list-style: none;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-2);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

.section {
    padding: var(--space-6) 0;
}

.section-alt {
    background-color: var(--surface);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-5);
}

.section-title {
    font-size: var(--fs-800);
    color: var(--deep);
    margin-bottom: var(--space-2);
}

.section-intro {
    font-size: var(--fs-400);
    color: var(--text-muted);
    line-height: var(--lh-loose);
}

@media (max-width: 767px) {
    .section {
        padding: var(--space-5) 0;
    }
    
    .section-title {
        font-size: var(--fs-700);
    }
    
    .section-intro {
        font-size: var(--fs-300);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-300);
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-300);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--deep-light);
    border-color: var(--deep-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--primary);
    color: white;
}

.btn-ghost {
    background-color: transparent;
    color: var(--deep);
    border-color: var(--deep);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background-color: var(--deep);
    color: white;
}

.btn-full {
    width: 100%;
}

.btn:focus-visible {
    outline: 3px solid var(--light);
    outline-offset: 2px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-2);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    /* gap: var(--space-); */
    align-items: center;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--text);
    font-size: var(--fs-300);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-300);
    transition: all var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.nav-icon {
    width: 18px;
    height: 18px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background-color: rgba(88, 186, 161, 0.1);
    border-color: rgba(88, 186, 161, 0.2);
    transform: translateY(-1px);
}

.nav-link:hover .nav-icon,
.nav-link:focus .nav-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.nav-highlight {
    background: linear-gradient(135deg, rgba(88, 186, 161, 0.1), rgba(142, 198, 132, 0.1));
    border-color: rgba(88, 186, 161, 0.3);
    font-weight: 600;
}

.nav-highlight:hover {
    background: linear-gradient(135deg, rgba(88, 186, 161, 0.15), rgba(142, 198, 132, 0.15));
    border-color: rgba(88, 186, 161, 0.4);
}

.nav-link--cta {
    background: linear-gradient(135deg, var(--primary), var(--light));
    color: white;
    padding: var(--space-2) var(--space-4);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(88, 186, 161, 0.3);
    border: none;
}

.nav-link--cta:hover,
.nav-link--cta:focus {
    background: linear-gradient(135deg, var(--deep-light), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.4);
}

.nav-link--cta .nav-icon {
    color: white;
}

.nav-link--cta:hover .nav-icon,
.nav-link--cta:focus .nav-icon {
    color: white;
    transform: scale(1.1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-200);
    transition: background-color var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: rgba(88, 186, 161, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 3px solid var(--light);
    outline-offset: 2px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text);
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Animation pour le menu hamburger actif */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--space-3) var(--space-2);
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-3) var(--space-2);
        width: 100%;
        text-align: left;
        border-radius: 0;
        font-size: var(--fs-400);
        border: none;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .nav-link--cta {
        background-color: var(--primary);
        color: white;
        margin: var(--space-2) var(--space-2) 0;
        border-radius: var(--radius-300);
        text-align: center;
    }
    
    .nav-link--cta:hover,
    .nav-link--cta:focus {
        background-color: var(--deep-light);
    }
}

/* Tablette - ajustements spécifiques */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav {
        top: 74px;
    }
    
    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: var(--space-4) var(--space-3);
        gap: var(--space-2);
    }
    
    .nav-list li {
        border: none;
        flex-basis: auto;
    }
    
    .nav-link {
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-200);
        font-size: var(--fs-300);
        text-align: center;
    }
    
    .nav-link--cta {
        margin: 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--very-light) 0%, var(--surface) 100%);
    padding: var(--space-7) 0;
}

/* Hero Background Circles */
.hero-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.6;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatCircle 20s ease-in-out infinite;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 186, 161, 0.4), transparent);
    top: -200px;
    right: -150px;
    animation-duration: 25s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(142, 198, 132, 0.3), transparent);
    bottom: -150px;
    left: -100px;
    animation-duration: 20s;
    animation-delay: 2s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(165, 192, 178, 0.35), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 30s;
    animation-delay: 5s;
}

.circle-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 90, 83, 0.2), transparent);
    top: 20%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: 3s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(80px, -50px) scale(1.15);
    }
    50% {
        transform: translate(-50px, 80px) scale(0.85);
    }
    75% {
        transform: translate(60px, 40px) scale(1.05);
    }
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-ring {
    width: 250px;
    height: 250px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 12%;
    right: 8%;
    animation: rotate 35s linear infinite;
}

.shape-ring-2 {
    width: 180px;
    height: 180px;
    border: 2px solid var(--deep-light);
    border-radius: 50%;
    bottom: 18%;
    left: 12%;
    animation: rotate 28s linear infinite reverse;
}

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

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
}

.hero-content {
    text-align: left;
    animation: fadeInLeft 0.8s ease-out;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg);
    padding: 0.8rem 2rem;
    border-radius: 40px;
    margin-bottom: var(--space-3);
    font-size: var(--fs-200);
    font-weight: 600;
    border: 2px solid var(--primary);
    animation: fadeInDown 1s ease;
    box-shadow: 0 5px 20px rgba(88, 186, 161, 0.2);
    color: var(--deep);
}

.badge-icon {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(88, 186, 161, 0.8);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

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

.hero-title {
    font-size: var(--fs-900);
    font-weight: 900;
    line-height: var(--lh-tight);
    margin-bottom: var(--space-3);
    animation: fadeInUp 1s ease 0.2s backwards;
    color: var(--deep);
}

.hero-title .highlight {
    background: linear-gradient(120deg, var(--primary), var(--light), var(--very-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--light), transparent);
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

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

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

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

.hero-baseline {
    font-size: var(--fs-500);
    margin-bottom: var(--space-4);
    max-width: 600px;
    font-weight: 400;
    line-height: var(--lh-loose);
    animation: fadeInUp 1s ease 0.4s backwards;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: var(--space-2);
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
    margin-bottom: var(--space-4);
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-cta .btn span {
    transition: transform var(--transition);
}

.hero-cta .btn:hover span {
    transform: translateX(5px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-3);
    margin-top: var(--space-4);
    animation: fadeInUp 1s ease 0.8s backwards;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-400);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(88, 186, 161, 0.15);
    transition: all 0.4s;
    animation: float 6s ease-in-out infinite;
    text-align: center;
}

.stat-card:nth-child(1) {
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

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

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--primary);
    box-shadow: 0 20px 50px rgba(88, 186, 161, 0.3);
    border-color: var(--deep-light);
}

.stat-card:hover .stat-number {
    color: var(--bg);
}

.stat-card:hover .stat-label {
    color: var(--bg);
}

.stat-number {
    font-size: var(--fs-700);
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--primary);
    transition: color var(--transition);
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-200);
    font-weight: 500;
    color: var(--deep);
    transition: color var(--transition);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInRight 0.8s ease-out;
}

.hero-images {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-3);
}

.hero-image-card {
    border-radius: var(--radius-400);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s;
    z-index: 2;
}

.hero-image-card:hover {
    transform: scale(1.05);
    z-index: 3;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light) 100%);
}

/* Hero Shape Overlays */
.hero-shape-overlay {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.shape-primary {
    width: 180px;
    height: 180px;
    background: var(--primary);
    top: -50px;
    left: -50px;
    opacity: 0.8;
}

.shape-light {
    width: 150px;
    height: 150px;
    background: var(--light);
    bottom: -40px;
    right: -40px;
    opacity: 0.6;
}

.shape-deep {
    width: 120px;
    height: 120px;
    background: var(--deep-light);
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    opacity: 0.7;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 20;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Responsive Hero */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--fs-800);
    }
    
    .hero-baseline {
        font-size: var(--fs-400);
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 500px;
        order: -1;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: var(--space-6) 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: var(--fs-700);
    }
    
    .hero-baseline {
        font-size: var(--fs-300);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-images {
        gap: var(--space-2);
    }
    
    .hero-stats {
        gap: var(--space-2);
    }
    
    .stat-card {
        flex: 1;
        min-width: calc(33.333% - var(--space-2));
        padding: var(--space-2) var(--space-3);
    }
    
    .stat-number {
        font-size: var(--fs-600);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--fs-600);
    }
    
    .hero-baseline {
        font-size: var(--fs-200);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        width: 100%;
    }
    
    .stat-card {
        width: 100%;
        min-width: auto;
    }
    
    .scroll-indicator {
        bottom: var(--space-2);
    }
}

/* ============================================
   ABOUT / MISSION SECTION - MODERNE
   ============================================ */
.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-5);
    margin-top: var(--space-4);
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.about-text-modern {
    background: white;
    padding: var(--space-4);
    border-radius: var(--radius-400);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(88, 186, 161, 0.1);
}

.text-block {
    margin-bottom: var(--space-3);
}

.text-block:last-child {
    margin-bottom: 0;
}

.text-block-title {
    font-size: var(--fs-500);
    color: var(--deep);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.text-block p {
    color: var(--text-muted);
    line-height: var(--lh-loose);
    margin: 0;
}

.features-modern {
    background: white;
    padding: var(--space-4);
    border-radius: var(--radius-400);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(88, 186, 161, 0.1);
}

.features-title {
    font-size: var(--fs-500);
    color: var(--deep);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-300);
    background: rgba(88, 186, 161, 0.05);
    border: 1px solid rgba(88, 186, 161, 0.1);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(88, 186, 161, 0.2);
}

.feature-icon-modern {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-300);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.feature-icon-modern svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card:hover .feature-icon-modern {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.3);
}

.feature-content-modern {
    flex: 1;
}

.feature-title {
    font-size: var(--fs-400);
    color: var(--deep);
    margin-bottom: var(--space-1);
    font-weight: 600;
}

.feature-description {
    color: var(--text-muted);
    line-height: var(--lh-normal);
    margin: 0;
    font-size: var(--fs-300);
}

/* Statistiques modernisées */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: sticky;
    top: 100px;
}

.stat-card-large {
    background: white;
    padding: var(--space-4);
    border-radius: var(--radius-400);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border: 1px solid transparent;
}

.stat-card-large:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(88, 186, 161, 0.2);
    background: linear-gradient(135deg, white, rgba(88, 186, 161, 0.02));
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.stat-card-large:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(88, 186, 161, 0.4);
}

.stat-info {
    flex: 1;
}

.stat-number-large {
    font-size: var(--fs-700);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-label-large {
    font-size: var(--fs-300);
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1023px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .about-stats {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-3);
    }
}

@media (max-width: 767px) {
    .about-text-modern {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card-large:hover {
        transform: translateY(-4px);
    }
}

/* ============================================
   FORMATIONS SECTION - MODERNE
   ============================================ */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-5);
}

.formation-card-modern {
    background: white;
    border-radius: var(--radius-600);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(88, 186, 161, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.formation-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(88, 186, 161, 0.3);
}

.formation-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, white, rgba(88, 186, 161, 0.02));
}

.formation-featured::before {
    transform: scaleX(1);
}

/* Badges */
.formation-badge-popular,
.formation-badge-featured {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--fs-200);
    font-weight: 600;
    color: white;
    z-index: 2;
}

.formation-badge-popular {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.formation-badge-featured {
    background: linear-gradient(135deg, var(--primary), var(--light));
}

/* Icône de formation */
.formation-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(88, 186, 161, 0.3);
}

.formation-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.formation-card-modern:hover .formation-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(88, 186, 161, 0.5);
}

/* Header */
.formation-header {
    margin-bottom: var(--space-4);
}

.formation-title {
    font-size: var(--fs-600);
    color: var(--deep);
    margin-bottom: var(--space-3);
    font-weight: 700;
    line-height: var(--lh-tight);
}

.formation-duration {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: rgba(88, 186, 161, 0.1);
    border-radius: var(--radius-full);
    color: var(--deep);
    font-size: var(--fs-300);
    font-weight: 500;
    width: fit-content;
}

.formation-duration svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Body */
.formation-body {
    flex-grow: 1;
    margin-bottom: var(--space-4);
}

.formation-subtitle {
    font-size: var(--fs-400);
    color: var(--deep);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.formation-objectives {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.formation-objectives li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-300);
    line-height: var(--lh-loose);
}

.formation-objectives li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer */
.formation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(88, 186, 161, 0.1);
    gap: var(--space-3);
    flex-wrap: wrap;
}

.formation-card-modern .formation-price {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    text-align: left;
    min-width: 120px;
    flex-shrink: 0;
}

.formation-card-modern .price-label {
    font-size: var(--fs-200);
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.formation-card-modern .price-amount {
    font-size: var(--fs-600);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.btn-formation {
    background: linear-gradient(135deg, var(--primary), var(--light));
    color: white;
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--fs-300);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.3);
}

.btn-formation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 186, 161, 0.4);
    background: linear-gradient(135deg, var(--deep-light), var(--primary));
}

/* Responsive */
@media (max-width: 767px) {
    .formations-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .formation-card-modern {
        padding: var(--space-4);
    }
    
    .formation-footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }
    
    .btn-formation {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .formation-badge-popular,
    .formation-badge-featured {
        position: static;
        width: fit-content;
        margin-bottom: var(--space-2);
    }
}

/* ============================================
   METHODOLOGY SECTION - CARTES SIMPLES
   ============================================ */
.methodology-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.method-card {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-600);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid rgba(88, 186, 161, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--light));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

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

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(88, 186, 161, 0.3);
}

.method-number {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--fs-300);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.4);
    border: 3px solid white;
    z-index: 2;
}

.method-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(88, 186, 161, 0.3);
}

.method-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.method-card:hover .method-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 8px 30px rgba(88, 186, 161, 0.5);
}

.method-title {
    font-size: var(--fs-500);
    color: var(--deep);
    margin: 0 0 var(--space-3) 0;
    font-weight: 700;
    line-height: var(--lh-tight);
}

.method-description {
    color: var(--text-muted);
    line-height: var(--lh-loose);
    margin: 0 0 var(--space-3) 0;
    font-size: var(--fs-300);
}

.method-tags {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
}

.method-tag {
    padding: var(--space-1) var(--space-2);
    background: rgba(88, 186, 161, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--fs-200);
    font-weight: 500;
    border: 1px solid rgba(88, 186, 161, 0.2);
    transition: all var(--transition);
}

.method-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767px) {
    .methodology-cards {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .method-card {
        padding: var(--space-4);
    }
    
    .method-icon {
        width: 56px;
        height: 56px;
    }
    
    .method-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .method-number {
        width: 36px;
        height: 36px;
        font-size: var(--fs-200);
    }
}


/* ============================================
   TESTIMONIALS SECTION - MODERNE
   ============================================ */
.testimonials-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.testimonial-modern {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-600);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid rgba(88, 186, 161, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--light));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

.testimonial-modern:hover::before {
    transform: scaleX(1);
}

.testimonial-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(88, 186, 161, 0.3);
}

.testimonial-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, white, rgba(88, 186, 161, 0.02));
}

.testimonial-featured::before {
    transform: scaleX(1);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.testimonial-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: var(--fs-400);
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.3);
    transition: all var(--transition);
}

.testimonial-modern:hover .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 186, 161, 0.4);
}

.testimonial-author {
    flex: 1;
}

.author-name {
    font-size: var(--fs-400);
    color: var(--deep);
    margin: 0 0 var(--space-1) 0;
    font-weight: 600;
    line-height: 1.2;
}

.author-role {
    color: var(--text-muted);
    font-size: var(--fs-300);
    display: block;
    margin-bottom: var(--space-2);
}

.formation-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: rgba(88, 186, 161, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--fs-200);
    font-weight: 500;
    border: 1px solid rgba(88, 186, 161, 0.2);
    transition: all var(--transition);
}

.testimonial-modern:hover .formation-badge {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--space-1);
}

.star-icon {
    width: 16px;
    height: 16px;
    color: #fbbf24;
    transition: all var(--transition);
}

.testimonial-modern:hover .star-icon {
    transform: scale(1.1);
}

.testimonial-quote {
    margin: 0;
}

.testimonial-quote p {
    color: var(--text-muted);
    font-size: var(--fs-400);
    line-height: var(--lh-loose);
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: var(--space-3);
}

.testimonial-quote p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: var(--fs-800);
    color: var(--primary);
    font-family: serif;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 767px) {
    .testimonials-modern {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .testimonial-modern {
        padding: var(--space-4);
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }
    
    .avatar-circle {
        width: 48px;
        height: 48px;
        font-size: var(--fs-300);
        margin: 0 auto;
    }
    
    .testimonial-quote p {
        font-size: var(--fs-300);
        padding-left: var(--space-2);
    }
}


/* ============================================
   FAQ SECTION - MODERNE
   ============================================ */
.faq-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.faq-card {
    background: white;
    border-radius: var(--radius-600);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid rgba(88, 186, 161, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--light));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

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

.faq-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(88, 186, 161, 0.3);
}

.faq-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: var(--radius-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(88, 186, 161, 0.3);
}

.faq-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.faq-card:hover .faq-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 8px 25px rgba(88, 186, 161, 0.4);
}

.faq-item-modern {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.faq-question-modern {
    font-size: var(--fs-500);
    font-weight: 600;
    color: var(--deep);
    cursor: pointer;
    padding: var(--space-2) var(--space-4) var(--space-2) 0;
    list-style: none;
    position: relative;
    transition: all var(--transition);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-2);
}

.faq-question-modern::-webkit-details-marker {
    display: none;
}

.faq-question-modern::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(88, 186, 161, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-500);
    color: var(--primary);
    transition: all var(--transition);
    border: 1px solid rgba(88, 186, 161, 0.2);
}

.faq-question-modern:hover::after {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.faq-item-modern[open] .faq-question-modern::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-answer-modern {
    padding-top: var(--space-2);
    animation: fadeInDown 0.3s ease-out;
}

.faq-answer-modern p {
    color: var(--text-muted);
    line-height: var(--lh-loose);
    margin: 0;
    font-size: var(--fs-300);
}

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

/* Responsive */
@media (max-width: 767px) {
    .faq-modern {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .faq-card {
        padding: var(--space-4);
    }
    
    .faq-icon {
        width: 48px;
        height: 48px;
    }
    
    .faq-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .faq-question-modern {
        font-size: var(--fs-400);
        padding-right: var(--space-5);
    }
}

/* ============================================
   CONTACT SECTION MODERNE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-5);
}

.contact-form-card {
    background: var(--bg);
    border-radius: var(--radius-600);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.contact-form-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light) 100%);
    padding: var(--space-4);
    text-align: center;
    color: white;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.card-title {
    font-size: var(--fs-600);
    margin-bottom: var(--space-1);
    font-weight: 600;
}

.card-subtitle {
    opacity: 0.9;
    font-size: var(--fs-300);
}

.contact-form-modern {
    padding: var(--space-4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.form-group {
    margin-bottom: var(--space-3);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--deep);
    margin-bottom: var(--space-1);
    font-size: var(--fs-200);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #e74c3c;
}

.form-input-modern,
.form-textarea-modern,
.form-select-modern {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 2px solid var(--border);
    border-radius: var(--radius-300);
    font-family: inherit;
    font-size: var(--fs-300);
    color: var(--text);
    background: var(--surface);
    transition: all var(--transition);
}

.form-input-modern:focus,
.form-textarea-modern:focus,
.form-select-modern:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(88, 186, 161, 0.1);
    transform: translateY(-1px);
}

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

.btn-modern {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-300);
    font-family: inherit;
    font-size: var(--fs-400);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light) 100%);
    color: white;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 186, 161, 0.3);
}

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

.contact-info-cards {
    display: grid;
    gap: var(--space-3);
}

.info-card {
    background: var(--bg);
    padding: var(--space-4);
    border-radius: var(--radius-400);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.info-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.info-card-title {
    font-size: var(--fs-400);
    color: var(--deep);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.info-card-content {
    color: var(--text-muted);
    margin-bottom: var(--space-1);
    line-height: var(--lh-normal);
}

.info-card-note {
    font-size: var(--fs-200);
    color: var(--primary);
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--deep);
}

.contact-cta-card {
    background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
    padding: var(--space-4);
    border-radius: var(--radius-400);
    text-align: center;
    color: white;
    margin-top: var(--space-3);
}

.cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2);
}

.cta-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.cta-title {
    font-size: var(--fs-200);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.cta-description {
    opacity: 0.9;
    margin-bottom: var(--space-3);
    font-size: var(--fs-300);
}

.btn-cta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-300);
    font-size: var(--fs-300);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin: 0 auto;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-cta svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--deep);
    color: white;
    padding: var(--space-6) 0 var(--space-3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: var(--space-2);
}

.footer-tagline {
    color: var(--very-light);
    margin-bottom: var(--space-2);
    line-height: var(--lh-loose);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-contact a {
    color: white;
    font-weight: 500;
}

.footer-title {
    font-size: var(--fs-400);
    color: white;
    margin-bottom: var(--space-2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-links a {
    color: var(--very-light);
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(165, 192, 178, 0.3);
    color: var(--very-light);
}

@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Styles pour la section certification - cohérent avec les autres sections */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.certification-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.certification-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.certification-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.certification-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.certification-header h3 {
    color: #1E293B;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.certification-subtitle {
    color: #64748B;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
}

.certification-body h4 {
    color: #1E293B;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.certification-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.9rem;
}

.certification-features li svg {
    width: 16px;
    height: 16px;
    color: #10B981;
    margin-right: 12px;
    flex-shrink: 0;
}

.certification-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10B981;
    font-weight: 600;
    font-size: 0.9rem;
}

.certification-status svg {
    width: 16px;
    height: 16px;
}

.btn-certification {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-certification:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-certification svg {
    width: 16px;
    height: 16px;
}

.certification-cta-section {
    margin-top: 60px;
    text-align: center;
    background: #F8FAFC;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-title {
    color: #1E293B;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.cta-description {
    color: #64748B;
    margin: 0 0 24px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certification-card {
        padding: 24px;
    }
    
    .certification-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Qualiopi */
.qualiopi{
    background:linear-gradient(135deg, rgba(16,185,129,.08) 0%, rgba(52,211,153,.08) 100%);
    border-radius:24px;
    padding:60px;
    text-align:center;
  }
  .qualiopi-badge{
    display:inline-flex;
    align-items:center;
    gap:20px;
    background:white;
    padding:24px 40px;
    border-radius:20px;
    box-shadow:var(--shadow);
    margin-bottom:32px;
  }
  .qualiopi-badge img{
    width:140px;
  }
  .qualiopi-info{
    text-align:left;
  }
  .qualiopi-info strong{
    display:block;
    font-size:22px;
    color:#10B981;
    margin-bottom:4px;
  }
  .qualiopi-text{
    font-size:18px;
    color:var(--text);
    max-width:800px;
    margin:0 auto 32px;
  }
  .qualiopi-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    max-width:900px;
    margin:0 auto;
  }
  .qualiopi-feature{
    background:white;
    padding:20px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:12px;
    text-align:left;
  }
  .qualiopi-feature i{
    color:#10B981;
    font-size:24px;
  }
  .qualiopi-feature strong{
    display:block;
    margin-bottom:4px;
  }
  .qualiopi-feature span{
    font-size:14px;
    color:var(--text-light);
  }