/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #1e3a8a;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ===========================
   BANDE D'INFORMATION TOP
   =========================== */
.info-banner {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0369A1;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
}

.info-banner p {
    margin: 0;
    font-weight: 500;
}

.info-banner i {
    color: #0284C7;
    margin-right: 8px;
}

/* ===========================
   POPUP PLACES LIMITÉES
   =========================== */
.limited-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    z-index: 9999;
    transform: translateY(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.limited-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #333;
}

.limited-popup h4 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: #1f2937;
    text-align: center;
    font-weight: 700;
}

.limited-popup p {
    margin: 0 0 18px 0;
    font-size: 0.88rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
}

.popup-btn {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .limited-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

ul {
    list-style: none;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 20px;
    min-height: 75px;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-brand:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-logo {
    height: 101px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    grid-column: 2;
}

.nav-menu li:nth-last-child(-n+2) {
    margin-left: auto;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
}

.nav-cta-btn {
    background: linear-gradient(135deg, #16BC83 0%, #14a574 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.7rem 2rem !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(22, 188, 131, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap !important;
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, #14a574 0%, #0fa768 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION - VERSION ORIGINALE AVEC DYNAMIQUE
   =========================== */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #0B84A5 0%, #0d9db8 40%, #16BC83 100%);
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(22, 188, 131, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(11, 132, 165, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-title .highlight-text {
    background: linear-gradient(135deg, #5CE1AC 0%, #3FBAE5 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    display: inline-block;
    animation: subtleShift 5s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 600;
    text-shadow: none;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Carrousel - Format Équilibré +50% */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 936px;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: white;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Bulle d'info stylée - version très discrète */
.info-bubble {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 188, 131, 0.85);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(22, 188, 131, 0.2);
    z-index: 5;
    animation: bubbleFadeIn 0.5s ease;
    backdrop-filter: blur(6px);
}

.info-bubble::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(22, 188, 131, 0.9);
}

.bubble-text {
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

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

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(22, 188, 131, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    color: #16BC83;
    font-size: 1.2rem;
}

.carousel-btn.prev {
    left: 15px;
    top: 30%;
}

.carousel-btn.next {
    right: 15px;
    top: 30%;
}

/* Dots indicateurs */
.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.carousel-dot.active {
    background: #16BC83;
    width: 30px;
    border-radius: 5px;
}

/* Badges flottants autour de l'image */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    transition: box-shadow 0.3s ease;
    min-width: 140px;
}

.floating-badge:hover {
    box-shadow: 0 8px 30px rgba(22, 188, 131, 0.3);
}

.badge-text {
    transition: opacity 0.3s ease;
    display: inline-block;
    min-width: 100px;
    text-align: left;
}

.floating-badge i {
    color: #16BC83;
    font-size: 1.1rem;
}

.badge-1 {
    top: 8%;
    left: 78%;
    animation: float1 3s ease-in-out infinite;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -2%;
    animation: float2 3s ease-in-out infinite;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 8%;
    left: 5%;
    animation: float3 3s ease-in-out infinite;
    animation-delay: 2s;
}

/* Animations indépendantes pour chaque bulle - sans rotation */
@keyframes float1 {
    0% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -15px);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 18px));
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

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

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

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.hero-buttons .btn {
    flex: 0 1 auto;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* ===========================
   SECTIONS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* ===========================
   ADVANTAGES SECTION
   =========================== */
.advantages {
    padding: 5rem 0;
    background: #ffffff;
}

.advantages .section-title {
    color: #1e3a8a;
    font-size: 2.2rem;
    font-weight: 700;
}

.advantages .title-green {
    color: #16BC83;
}

.wave-text {
    display: inline-block;
}

.wave-text span {
    display: inline-block;
}

.wave-text.animate span {
    animation: wave 2s ease-in-out;
    animation-delay: calc(0.1s * var(--i));
}

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

.advantages .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(22, 188, 131, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #16BC83 0%, #14a574 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(22, 188, 131, 0.25);
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon i {
    transform: rotate(-15deg) scale(1.1);
}

.advantage-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===========================
   PROGRAMS SECTION
   =========================== */
.programs {
    padding: 5rem 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.program-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.program-card:hover .program-image img {
    transform: scale(1.1);
}

/* Anciens badges sur image - supprimés */

/* 🏷️ NOUVEAUX BADGES EN BAS DE CARTE */
.program-badges-bottom {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge-bottom {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

/* Badge Statut */
.badge-status-open {
    background: #10b981;
    color: white;
}

.badge-status-closed {
    background: #ef4444;
    color: white;
}

.badge-status-coming {
    background: #f59e0b;
    color: white;
}

/* Badge Type de financement */
.badge-type-defiscalisation {
    background: #0B84A5;
    color: white;
}

.badge-type-cee {
    background: #16BC83;
    color: white;
}

.badge-type-cee-agricole {
    background: #059669;
    color: white;
}

.badge-type-mixte {
    background: linear-gradient(135deg, #16BC83, #8b5cf6);
    color: white;
}

/* 🚫 BOUTON DÉSACTIVÉ POUR PROGRAMMES FERMÉS */
.btn-view-offer.disabled {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-view-offer.disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.program-content {
    padding: 1.5rem;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.program-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-features {
    margin-top: 1rem;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.program-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Boutons des cartes programmes */
.program-actions {
    display: flex !important;
    gap: 0.75rem;
    margin-top: auto !important;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.btn-view-offer {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #16BC83, #0B84A5);
    color: white;
    border: none;
    margin-top: auto !important;
}

.btn-view-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 188, 131, 0.4);
    background: linear-gradient(135deg, #14a574, #096d85);
}

/* ===========================
   PROCESS SECTION
   =========================== */
.process {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

.process .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.process .section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 4rem;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: processStepAppear 0.8s ease forwards;
}

@keyframes processStepAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.process-step:nth-child(1) {
    animation-delay: 0.2s;
}

.process-step:nth-child(2) {
    animation-delay: 0.4s;
}

.process-step:nth-child(3) {
    animation-delay: 0.6s;
}

.process-step:nth-child(4) {
    animation-delay: 0.8s;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) .step-content {
    direction: ltr;
    text-align: right;
}

.process-step:nth-child(odd) .step-content {
    text-align: left;
}

/* Step content always visible */

/* Connecting lines */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: #16BC83;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0B84A5 0%, #16BC83 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 6px 20px rgba(11, 132, 165, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 25px rgba(22, 188, 131, 0.5);
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(11, 132, 165, 0.15);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11, 132, 165, 0.15);
    border-color: #16BC83;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #FFD700;
}

.testimonial-text {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0B84A5 0%, #16BC83 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(11, 132, 165, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.faq-question i.fa-question-circle {
    color: #0B84A5;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-toggle {
    color: #6b7280;
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #0B84A5;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: #0B84A5;
    font-weight: 600;
}

/* ===========================
   DISCLAIMERS SECTION
   =========================== */
.disclaimers {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.disclaimer-box {
    background: white;
    border-left: 5px solid #0B84A5;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(11, 132, 165, 0.1);
    border: 1px solid rgba(11, 132, 165, 0.1);
}

.disclaimer-box h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #0B84A5 0%, #16BC83 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.disclaimer-box h3 i {
    font-size: 1.8rem;
    color: #0B84A5;
    background: none;
    -webkit-text-fill-color: #0B84A5;
}

.disclaimer-content {
    display: grid;
    gap: 1.5rem;
}

.disclaimer-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.disclaimer-item i {
    font-size: 1.5rem;
    color: #16BC83;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.disclaimer-item strong {
    color: var(--text-dark);
}

.disclaimer-item div {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   SUBSCRIPTION SECTION
   =========================== */
/* ===========================
   PRICING SECTION
   =========================== */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

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

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 2.5rem;
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(22, 188, 131, 0.2);
}

/* Style pour Essentiel (première carte) - BLANC SOBRE */
.pricing-card:nth-child(1) {
    background: #ffffff;
    border: 3px solid #d1d5db;
    position: relative;
    overflow: hidden;
}

.pricing-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.5) 0%, transparent 100%);
    z-index: 0;
}

.pricing-card:nth-child(1) * {
    position: relative;
    z-index: 1;
}

.pricing-card:nth-child(1) .pricing-title {
    color: #1f2937 !important;
}

.pricing-card:nth-child(1) .price-amount {
    color: #1f2937 !important;
}

.pricing-card:nth-child(1) .price-period {
    color: #6b7280 !important;
}

.pricing-card:nth-child(1) .pricing-features li {
    color: #4b5563 !important;
}

.pricing-card:nth-child(1):hover {
    box-shadow: 0 20px 60px rgba(209, 213, 219, 0.5);
    border-color: #9ca3af;
}

/* Style pour Pro (carte centrale - featured) - DÉGRADÉ BLEU DOMINANT */
.pricing-card.featured {
    border: 4px solid #1E40AF;
    transform: scale(1.08);
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #06B6D4 100%);
    box-shadow: 0 20px 70px rgba(30, 64, 175, 0.5);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.pricing-card.featured * {
    position: relative;
    z-index: 1;
}

.pricing-card.featured .pricing-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured .price-amount {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem !important;
}

.pricing-card.featured .price-period {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 80px rgba(30, 64, 175, 0.6);
    border-color: #1E3A8A;
}

/* Style pour Premium (4ème carte) - DÉGRADÉ VIOLET-ROSE PREMIUM */
.pricing-card:nth-child(4) {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
    border: 3px solid #7C3AED;
    position: relative;
    overflow: hidden;
}

.pricing-card:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.pricing-card:nth-child(4) * {
    position: relative;
    z-index: 1;
}

.pricing-card:nth-child(4) .pricing-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card:nth-child(4) .price-amount {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem !important;
}

.pricing-card:nth-child(4) .price-period {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pricing-card:nth-child(4) .pricing-features li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.pricing-card:nth-child(4):hover {
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.5);
    border-color: #6D28D9;
    transform: translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #374151;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-badge.best {
    background: #ffffff;
    color: #1E40AF;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

/* Badge Premium (4ème carte - violet-rose) */
.pricing-card:nth-child(4) .pricing-badge {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.3);
    border: 3px solid rgba(55, 65, 81, 0.2);
}

/* Icon Essentiel (gris foncé) */
.pricing-card:nth-child(1) .pricing-icon {
    background: #374151;
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.3);
    border: 3px solid rgba(55, 65, 81, 0.2);
}

/* Icon Pro (blanc avec bordure - plus grand) */
.pricing-card.featured .pricing-icon {
    width: 85px;
    height: 85px;
    background: #ffffff;
    color: #1E40AF;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Icon Premium (4ème carte - violet-rose) */
.pricing-card:nth-child(4) .pricing-icon {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pricing-title {
    text-align: center;
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 900;
    color: #1f2937;
    display: block;
    line-height: 1;
}

@media (max-width: 768px) {
    .price-amount {
        font-size: 3.25rem;
    }
}

.price-period {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

.pricing-save {
    text-align: center;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Badge Gratuit */
.pricing-badge.free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Bouton Gratuit */
.pricing-btn.free-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 2px solid transparent;
}

.pricing-btn.free-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ===========================
   MODAL INSCRIPTION GRATUITE
   =========================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content-large {
    max-width: 650px;
}


.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-icon {
    text-align: center;
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    text-align: center;
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.modal-content > p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
}

.modal-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.15rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.modal-note {
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* ===========================
   MODALS PAIEMENT ALTERNATIF
   =========================== */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method-btn:hover {
    border-color: #10b981;
    background: #f0fdf4;
    transform: translateY(-2px);
}

.payment-method-btn i {
    font-size: 1.5rem;
    color: #10b981;
}

.modal-icon.success i {
    color: #10b981;
}

.bank-info {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.bank-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.bank-info-item:last-child {
    border-bottom: none;
}

.bank-info-item strong {
    color: #1f2937;
    font-weight: 600;
    min-width: 150px;
}

.bank-info-item span {
    color: #6b7280;
    text-align: right;
}

.bank-value {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #10b981 !important;
    font-size: 1.05rem;
}

.copy-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #059669;
}

@media (max-width: 768px) {
    .bank-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bank-info-item strong {
        min-width: auto;
    }
    
    .bank-info-item span {
        text-align: left;
    }
}




.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

/* Fonctionnalités désactivées (avec croix rouge) */
.pricing-features li .fa-times {
    color: #ef4444;
}

.pricing-features li:has(.fa-times) {
    color: #9ca3af;
    text-decoration: line-through;
}

/* ===========================
   MESSAGE MAINTENANCE PAIEMENT
   =========================== */
.pricing-maintenance {
    margin-top: auto;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid #fbbf24;
}

.pricing-maintenance p {
    margin: 0;
    color: #92400e;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 500;
}

.pricing-maintenance i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.maintenance-thanks {
    margin-top: 0.75rem !important;
    font-style: italic;
    font-weight: 600;
    color: #78350f;
}



.pricing-features li.highlight-feature {
    background: none;
    padding: 0;
    border: none;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.pricing-features li.highlight-feature strong {
    color: #1f2937;
}

.pricing-features li.highlight-feature i {
    color: #1f2937;
}

.pricing-card.featured .highlight-feature {
    background: none;
    border-left: none;
}

.pricing-card.featured .highlight-feature strong {
    color: #ffffff;
}

.pricing-card:nth-child(3) .highlight-feature {
    background: none;
    border-left: none;
}

.pricing-card:nth-child(3) .highlight-feature strong {
    color: #ffffff !important;
}

.pricing-card:nth-child(3) .highlight-feature i {
    color: #ffffff !important;
}

/* Highlight feature Premium (4ème carte - blanc) */
.pricing-card:nth-child(4) .highlight-feature {
    background: none;
    border-left: none;
}

.pricing-card:nth-child(4) .highlight-feature strong {
    color: #ffffff !important;
}

.pricing-card:nth-child(4) .highlight-feature i {
    color: #ffffff !important;
}

.pricing-features i {
    color: #374151;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Icons Essentiel (gris foncé) */
.pricing-card:nth-child(1) .pricing-features i {
    color: #374151 !important;
}

/* ===================================
   WAVE ANIMATION - CARTE PRO (même effet que ProgDom)
   =================================== */
.wave-shine-text {
    display: inline-block;
    animation: wave-up-down 1.5s ease-in-out infinite;
}

@keyframes wave-up-down {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(3px);
    }
}

/* Icons Pro (blanc sur vert) */
.pricing-card.featured .pricing-features i {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Icons Premium (blanc sur violet) */
.pricing-card:nth-child(3) .pricing-features i {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: white;
    color: #1f2937;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

.pricing-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.3);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Bouton Pro (blanc - plus grand et plus visible) */
.pricing-btn.featured {
    background: #ffffff;
    color: #1E40AF;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    font-size: 1.15rem;
    padding: 1.2rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-btn.featured:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.6);
    color: #1E3A8A;
    transform: translateY(-2px);
}

/* Bouton Premium (4ème carte - violet-rose) */
.pricing-card:nth-child(4) .pricing-btn {
    background: #ffffff;
    color: #7C3AED;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.pricing-card:nth-child(4) .pricing-btn:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.6);
    color: #6D28D9;
    transform: translateY(-2px);
}
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.3);
    transform: none;
}

/* ===========================
   TOGGLE MENSUEL/ANNUEL
   =========================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 400px;
    padding: 1rem;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.3s;
}

.toggle-label.active {
    color: #10b981;
    font-weight: 600;
}

.promo-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #10b981;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* ===========================
   ANCIENS PRIX ET BADGES
   =========================== */
.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.economy-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pricing-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-left: 4px solid #0B84A5;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.pricing-note i {
    color: #0B84A5;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pricing-note p {
    color: #075985;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.text-gradient {
    background: linear-gradient(135deg, #16BC83, #0B84A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0B2447 0%, #16BC83 100%);
}

/* ===========================
   NEWSLETTER & BLOG SECTION
   =========================== */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.newsletter-box,
.blog-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.newsletter-box:hover,
.blog-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 132, 165, 0.15);
}

.newsletter-icon,
.blog-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0B84A5, #16BC83);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

.newsletter-box h2,
.blog-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.newsletter-box p,
.blog-box p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #16BC83;
    box-shadow: 0 0 0 3px rgba(22, 188, 131, 0.1);
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.newsletter-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.newsletter-note i {
    color: #16BC83;
}

.blog-topics {
    list-style: none;
    text-align: left;
    margin: 0 auto 2rem;
    max-width: 400px;
}

.blog-topics li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1rem;
    color: #4b5563;
}

.blog-topics li:last-child {
    border-bottom: none;
}

.blog-topics i {
    color: #16BC83;
    font-size: 1.2rem;
}

.subscription .section-title,
.subscription .section-subtitle {
    color: white;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.subscription-info {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.subscription-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.subscription-features {
    display: grid;
    gap: 1rem;
}

.subscription-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1rem;
}

.subscription-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.subscription-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.subscription-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.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 rgba(16, 185, 129, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label.consent {
    margin-top: 1rem;
}

.checkbox-label.consent span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.footer-section h3 i {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    display: grid;
    gap: 0.75rem;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-section ul li strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* ===========================
   TOAST NOTIFICATION
   =========================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* ===========================
   MODAL & DASHBOARD
   =========================== */

/* Bouton connexion dans le menu */
.login-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #f0f0f0 !important;
    color: var(--text-dark) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.login-icon:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.3);
}

/* Tooltip "Connexion" pour utilisateurs NON connectés uniquement */
.login-icon:not(.logged-in)::after {
    content: 'Connexion';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.login-icon:not(.logged-in):hover::after {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-content h2 {
    color: #1e3a8a;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #16BC83;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #16BC83;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #16BC83, #14a574);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 188, 131, 0.4);
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem 0 4rem 0;
}

.dashboard-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-welcome h1 {
    color: #1f2937;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.dashboard-welcome h1 i {
    background: linear-gradient(135deg, #0B84A5, #16BC83);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.user-name {
    color: #16BC83;
    font-weight: 600;
}

.btn-logout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

/* Removed duplicate .stat-number definition - using the one in Hero section */

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h2 {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.content-header h2 i {
    color: #16BC83;
}

.btn-add-program {
    background: linear-gradient(135deg, #16BC83, #14a574);
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.3);
}

.btn-add-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 188, 131, 0.4);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
    padding: 0.8rem 1.5rem;
    border: 2px solid #1e3a8a;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
}

.dashboard-content h2 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.dossiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.dossier-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dossier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 132, 165, 0.15);
    border-color: rgba(22, 188, 131, 0.2);
}

.dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.dossier-main-info {
    flex: 1;
}

.dossier-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dossier-title i {
    color: #0B84A5;
}

.dossier-price {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

/* Règle supprimée - déplacée vers les cartes pricing */

.dossier-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-en-cours {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.status-valide {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.status-attente {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.progress-section {
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-radius: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.progress-title {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-title i {
    color: #16BC83;
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0B84A5, #16BC83);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar-container {
    position: relative;
}

.progress-bar-bg {
    width: 100%;
    height: 16px;
    background: #e5e7eb;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0B84A5, #16BC83);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(22, 188, 131, 0.4);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.dossier-steps-section {
    margin-bottom: 1.5rem;
}

.steps-title {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps-title i {
    color: #0B84A5;
}

.dossier-steps {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #f3f4f6;
}

.step-item.completed {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e5e7eb;
    color: #9ca3af;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-circle.completed {
    background: linear-gradient(135deg, #16BC83, #14a574);
    color: white;
    box-shadow: 0 2px 8px rgba(22, 188, 131, 0.4);
}

.step-info {
    flex: 1;
}

.step-name {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
}

.step-item.completed .step-name {
    color: #065f46;
    font-weight: 600;
}
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.step-icon.completed {
    background: #16BC83;
    color: white;
}

.step-icon.pending {
    background: #e5e7eb;
    color: #9ca3af;
}

.step-text {
    color: #4b5563;
}

.step-text.completed {
    color: #16BC83;
    font-weight: 600;
}

/* Dossier Actions */
.dossier-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.btn-details,
.btn-upload {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-details {
    background: linear-gradient(135deg, #0B84A5, #0891b2);
    color: white;
    box-shadow: 0 4px 12px rgba(11, 132, 165, 0.3);
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 132, 165, 0.4);
}

.btn-upload {
    background: white;
    color: #16BC83;
    border: 2px solid #16BC83;
}

.btn-upload:hover {
    background: #16BC83;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 188, 131, 0.3);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    /* 🔧 BANDE TOP MOBILE */
    .top-banner {
        padding: 10px 0;
        font-size: 0.8rem;
    }

    /* 🔧 NAVBAR */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
        cursor: pointer;
        padding-right: 16px;
    }

    .navbar .logo img {
        max-height: 45px;
    }

    /* 🔧 HERO SECTION */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }

    .hero-text {
        width: 100%;
        padding: 0 4px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .hero-title .highlight-text {
        font-size: 2rem;
        display: block;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        margin-top: 0.5rem;
    }

    /* 🔧 HERO STATS */
    .hero-stats {
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.4rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    .stat-label {
        color: #1f2937;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.3rem 0.6rem;
        border-radius: 0.5rem;
        font-weight: 700;
        font-size: 0.8rem;
    }

    /* 🔧 HERO BUTTONS */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* 🔧 HERO IMAGE */
    .hero-image {
        padding: 1.5rem 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }

    .carousel-container {
        max-width: 85%;
        width: 85%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin: 0 auto;
    }

    .carousel-slide {
        padding: 0.25rem;
    }

    .carousel-slide img {
        object-fit: contain;
        max-height: 300px;
    }

    /* Masquer les badges flottants sur mobile */
    .floating-badge {
        display: none;
    }

    .info-bubble {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .info-bubble {
        bottom: 15px;
        padding: 0.35rem 0.8rem;
    }

    .bubble-text {
        font-size: 0.75rem;
    }

    .floating-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .badge-1 {
        top: 5%;
        left: 60%;
    }

    .badge-2 {
        top: 50%;
        right: 5%;
    }

    .badge-3 {
        bottom: 10%;
        left: 15%;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .testimonial-card {
        padding: 1.5rem;
    }

    .faq-grid {
        gap: 1rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem 1.5rem;
    }

    /* 🔧 PROCESSUS (Comment ça marche) */
    .process-step {
        grid-template-columns: 1fr !important;
        direction: ltr !important;
        gap: 0.75rem;
        margin-bottom: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Masquer uniquement les step-content VIDES (pour la structure desktop) */
    .process-step .step-content:empty {
        display: none !important;
    }

    /* Afficher les step-content avec texte */
    .process-step .step-content:not(:empty) {
        display: block !important;
        text-align: center !important;
        padding: 0 16px;
    }

    .step-number {
        margin: 0 auto 1rem;
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .step-content h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
        font-weight: 700;
        color: #1f2937;
    }

    .step-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #6b7280;
    }

    /* 🔧 PRICING CARDS */
    .subscription-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 16px;
    }

    .pricing-card {
        margin: 0 auto 2rem;
        max-width: 340px;
        width: 100%;
        padding: 2rem 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    
    .pricing-card:last-child {
        margin-bottom: 0;
    }

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

    .price-amount {
        font-size: 2.5rem;
    }

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

    .filter-buttons {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 0 16px;
    }

    /* 🔧 ESPACES SECTIONS */
    section {
        padding: 3rem 0 !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 🔧 NEWSLETTER - RECENTRAGE */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-box,
    .blog-box {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

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

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

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

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }

    .btn-view-offer,
    .pricing-btn,
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .subscription-form-wrapper {
        padding: 1.5rem;
    }

    /* Formulaire mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* Évite le zoom auto sur iOS */
        min-height: 48px;
        padding: 0.875rem;
    }

    textarea {
        min-height: 120px;
    }
}

/* ===========================
   DASHBOARD SIMPLIFIÉ
   =========================== */
.dashboard-wrapper-simple {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.dashboard-header-simple h2 {
    font-size: 1.75rem;
    color: #1f2937;
    font-weight: 700;
}

.dashboard-header-simple .user-name {
    color: #16BC83;
}

.btn-logout-simple {
    padding: 0.5rem 1.25rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout-simple:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.dashboard-stats-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card-simple {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
}

.stat-card-simple.active {
    border-left-color: #fbbf24;
}

.stat-card-simple.validated {
    border-left-color: #16BC83;
}

.stat-card-simple.pending {
    border-left-color: #0B84A5;
}

.stat-number-simple {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827 !important;
    margin-bottom: 0.25rem;
    text-shadow: none !important;
}

.stat-label-simple {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.dashboard-programs-simple h3 {
    font-size: 1.5rem;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.programs-list-simple {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.program-card-simple {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.program-card-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.program-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.program-header-simple h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.status-badge-simple {
    padding: 0.35rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge-simple.cours {
    background: #fef3c7;
    color: #92400e;
}

.status-badge-simple.valide {
    background: #d1fae5;
    color: #065f46;
}

.status-badge-simple.attente {
    background: #dbeafe;
    color: #1e40af;
}

.program-amount-simple {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16BC83;
    margin-bottom: 1rem;
}

.program-progress-simple {
    margin-bottom: 1rem;
}

.progress-label-simple {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar-simple {
    height: 8px;
    background: #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill-simple {
    height: 100%;
    border-radius: 1rem;
    transition: width 0.5s ease;
}

.progress-steps-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.step-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.step-mini.completed .step-icon-mini {
    background: linear-gradient(135deg, #16BC83 0%, #14a574 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(22, 188, 131, 0.3);
}

.step-label-mini {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

.step-mini.completed .step-label-mini {
    color: #16BC83;
    font-weight: 600;
}

.btn-details-simple {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #0B84A5 0%, #16BC83 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 132, 165, 0.3);
}

.btn-add-simple {
    width: 100%;
    padding: 1rem;
    background: white;
    color: #16BC83;
    border: 2px dashed #16BC83;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-simple:hover {
    background: #f0fdf4;
    border-style: solid;
}

@media (max-width: 768px) {
    .dashboard-wrapper-simple {
        padding: 1rem;
    }
    
    .dashboard-header-simple {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .dashboard-stats-simple {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
    }
}
