/* Homepage Styles - Extracted from index.html */
/* ==================== RESET & VARIABLES ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* :root variables moved to variables.css */

/* ==================== BASE ==================== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
    /* Offset pour le header fixe */
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* GPU Acceleration pour éléments animés */
.header,
.floating-cta,
.scroll-fade-in,
.scroll-scale,
.scroll-slide-left,
.scroll-slide-right,
.why-card,
.solution-card,
.step-card,
.aide-premium-card,
.faq-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    color: var(--primary);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==================== FOCUS STATES (Accessibilité) ==================== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Curseurs personnalisés */
a,
button,
.btn,
.why-card,
.solution-card,
.step-card,
.faq-question {
    cursor: pointer;
}

/* Sélection de texte */
::selection {
    background: var(--accent);
    color: white;
}

/* ==================== PAGE LOAD ANIMATION ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-icons-row {
    animation-delay: 0.1s;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.hero-ctas {
    animation-delay: 0.4s;
}

.hero-approval {
    animation-delay: 0.5s;
}

/* ==================== IMAGE LOADING ==================== */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Conteneur images avec aspect-ratio pour éviter CLS */
.img-container {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}

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

/* ==================== ICONES ==================== */
.icon-duo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.icon-accent {
    color: var(--accent);
}

.icon-on-dark {
    color: var(--white);
}

.icon-sm {
    font-size: 1rem;
}

.icon-md {
    font-size: 1.25rem;
}

.icon-lg {
    font-size: 1.5rem;
}

.icon-xl {
    font-size: 2rem;
}

.icon-xxl {
    font-size: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* ==================== HEADER TRANSPARENT ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease,
        box-shadow 0.3s ease;
    will-change: background, box-shadow;
}

.header.scrolled,
.header.menu-open {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav-menu a,
.header.menu-open .nav-menu a {
    color: var(--gray-600);
}

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

.header.scrolled .header-phone,
.header.menu-open .header-phone {
    color: var(--primary);
}

.header.scrolled .header-phone-text span,
.header.menu-open .header-phone-text span {
    color: var(--gray-400);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 32px;
}

.logo img {
    height: 56px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.header.scrolled .logo img,
.header.menu-open .logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s ease, opacity 0.2s ease;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.nav-menu .nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    text-shadow: none;
    opacity: 1 !important;
    font-weight: 600;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-menu .nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 216, 99, 0.3);
}

.nav-menu .nav-cta:active {
    transform: translateY(0) scale(0.97);
}

.nav-menu .nav-cta::after {
    display: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.header-phone:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.header-phone-icon {
    font-size: 18px;
}

.header-phone-text span {
    display: block;
    font-size: 11px;
    color: var(--white);
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    -webkit-user-select: none;
    user-select: none;
}

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

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

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.header .btn-primary {
    display: none;
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

/* Animation hamburger → X */
.header.menu-open .mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.menu-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header.scrolled .mobile-toggle span,
.header.menu-open .mobile-toggle span {
    background: var(--primary);
}

/* ==================== DYNAMIC RESPONSIVE HEADER (.is-mobile) ==================== */
.header.is-mobile .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-mobile .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header.is-mobile .nav-menu a {
    color: var(--gray-600);
    text-shadow: none;
}

.header.is-mobile .nav-menu a::after {
    display: none;
}

.header.is-mobile .nav-menu a:hover,
.header.is-mobile .nav-menu a.active {
    color: var(--accent);
    opacity: 1;
}

.header.is-mobile .mobile-toggle {
    display: flex;
}

.header.is-mobile .header-phone {
    display: none;
}

.header.is-mobile .logo img {
    filter: none;
}

.header.is-mobile {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header.is-mobile .mobile-toggle span {
    background: var(--primary);
}

/* ==================== HERO PROFESSIONNEL ==================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('/hero.webp') center center/cover no-repeat;
    transform: none !important;
    backface-visibility: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 32px 48px;
    position: relative;
    z-index: 2;
    text-align: center;
    min-height: 100vh;
    box-sizing: border-box;
}

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

.hero-visual {
    display: none;
}

.hero-icons-row {
    display: inline-flex;
    gap: 12px;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

@keyframes floatIcons {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-icons-row i {
    animation: floatIcons 3s ease-in-out infinite;
    display: inline-block;
}

.hero-icons-row i:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-icons-row i:nth-child(3) {
    animation-delay: 0.4s;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero h1 .text-accent {
    color: var(--accent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 216, 99, 0.1);
    border: 1px solid rgba(0, 216, 99, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: none;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 216, 99, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    justify-content: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        box-shadow 0.2s ease;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
}

.hero-cta:active {
    transform: scale(0.96);
}

.hero-cta-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 216, 99, 0.3);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 216, 99, 0.5);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.hero-approval {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .hero-container {
        padding: 90px 24px 30px;
    }

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

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

@media (max-width: 500px) {
    .hero-container {
        padding: 80px 20px 24px;
    }

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

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

/* Réduire les animations pour les utilisateurs qui le préfèrent */
@media (prefers-reduced-motion: reduce) {

    .scroll-fade-in,
    .scroll-slide-left,
    .scroll-slide-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

.scroll-fade-in-delay-1,
.scroll-scale.scroll-fade-in-delay-1,
.scroll-slide-left.scroll-fade-in-delay-1,
.scroll-slide-right.scroll-fade-in-delay-1 {
    transition-delay: 0.1s;
}

.scroll-fade-in-delay-2,
.scroll-scale.scroll-fade-in-delay-2,
.scroll-slide-left.scroll-fade-in-delay-2,
.scroll-slide-right.scroll-fade-in-delay-2 {
    transition-delay: 0.2s;
}

.scroll-fade-in-delay-3,
.scroll-scale.scroll-fade-in-delay-3,
.scroll-slide-left.scroll-fade-in-delay-3,
.scroll-slide-right.scroll-fade-in-delay-3 {
    transition-delay: 0.3s;
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-header {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

/* ==================== PROBLÈME → SOLUTION ==================== */
.problem-solution {
    background: var(--white);
    padding: 100px 0;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 32px;
    align-items: stretch;
}

.ps-card {
    padding: 40px;
    border-radius: 24px;
    position: relative;
}

.ps-problem {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 2px solid #FECACA;
}

.ps-solution {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 2px solid #86EFAC;
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.ps-emoji {
    font-size: 2.5rem;
}

.ps-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.ps-problem h3 {
    color: #991B1B;
}

.ps-solution h3 {
    color: #166534;
}

.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ps-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    line-height: 1.6;
}

.ps-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ps-icon::after {
    content: var(--ps-symbol, '•');
    line-height: 1;
}

.ps-icon i {
    font-size: 16px;
}

.ps-x {
    background: #FEE2E2;
    color: #DC2626;
    border: 2px solid #FECACA;
    --ps-symbol: '✕';
}

.ps-check {
    background: #D1FAE5;
    color: #059669;
    border: 2px solid #86EFAC;
    --ps-symbol: '✓';
}

.ps-problem li span:last-child {
    color: #7F1D1D;
}

.ps-solution li span:last-child {
    color: #166534;
}

.ps-solution li strong {
    color: #047857;
}

.ps-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-arrow-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 216, 99, 0.4);
}

.ps-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 216, 99, 0.3);
}

.ps-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 216, 99, 0.5);
}

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

    .ps-arrow {
        padding: 16px 0;
    }

    .ps-arrow-circle {
        transform: rotate(90deg);
    }

    .ps-card {
        padding: 32px;
    }
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-bar-text {
    font-weight: 600;
    color: var(--gray-400);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-logos img {
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==================== SECTION BASE ==================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* ==================== POURQUOI NOUS CHOISIR ==================== */
.why-us {
    background: var(--white);
}

.text-accent {
    color: var(--accent);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    align-items: center;
    /* Helper for vertical alignment if needed */
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    position: relative;
    cursor: default;
}

/* Hover uniquement sur desktop (pas touch) */
@media (hover: hover) and (pointer: fine) {
    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-color: var(--accent);
    }

    .why-card:hover .why-icon {
        transform: scale(1.1);
    }
}

.why-card:active {
    transform: translateY(-2px) scale(0.98);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

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

.why-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

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

/* ==================== SOLUTIONS ==================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--primary);
    height: 420px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    isolation: isolate;
    cursor: pointer;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 17, 36, 0.05) 0%, rgba(12, 14, 35, 0.82) 60%, rgba(8, 10, 28, 0.92) 100%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.solution-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease;
}

/* Hover desktop */
@media (hover: hover) and (pointer: fine) {
    .solution-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
    }

    .solution-card:hover img {
        opacity: 0.5;
        transform: scale(1.08);
    }

    .solution-card:hover::after {
        opacity: 0.9;
    }
}

.solution-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    color: var(--white);
}

.solution-content h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.solution-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 216, 99, 0.28);
}

.solution-link:hover {
    gap: 14px;
    box-shadow: 0 14px 36px rgba(0, 216, 99, 0.38);
    transform: translateY(-2px);
}

/* ==================== COMMENT ÇA MARCHE ==================== */
.how-it-works {
    background: var(--gray-50);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-color: var(--accent);
    }

    .step-card:hover .step-number {
        transform: scale(1.1);
        background: var(--accent);
        color: white;
    }
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-duration {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-checklist {
    list-style: none;
}

.step-checklist li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 4px 0;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.btn-accent:hover {
    background: var(--accent-dark);
}

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

    .steps-timeline::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .steps-timeline {
        grid-template-columns: 1fr;
    }
}

/* ==================== AIDES PREMIUM ==================== */
.aides-premium {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a3e 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.aides-hero {
    margin: 48px 0;
}

.aides-big-number {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aides-currency {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.aides-value {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 60px rgba(0, 216, 99, 0.3);
}

.aides-label {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

.aides-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.aide-premium-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .aide-premium-card:hover {
        transform: translateY(-6px);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 216, 99, 0.3);
    }
}

.aide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.aide-amount-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.aide-premium-card h3,
.aide-premium-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.aide-premium-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.aide-details {
    list-style: none;
}

.aide-details li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 4px 0;
}

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

@media (max-width: 600px) {
    .aides-cards {
        grid-template-columns: 1fr;
    }
}

/* ==================== ENGAGEMENT ==================== */
.engagement {
    background: var(--gray-50);
}

.engagement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.engagement-image {
    position: relative;
}

.engagement-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.engagement-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    background: var(--accent);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.engagement-badge-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.engagement-badge-text {
    font-size: 14px;
    margin-top: 4px;
}

.engagement-content h2 {
    margin-bottom: 24px;
}

.engagement-content>p {
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.engagement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.engagement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.engagement-check {
    width: 24px;
    height: 24px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Callout engagement */
.engagement-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0, 216, 99, 0.1);
    border-left: 4px solid var(--accent);
    padding: 18px 16px;
    border-radius: 12px;
    color: white;
    line-height: 1.6;
}

.engagement-callout i {
    margin-top: 4px;
}

.engagement-callout strong {
    color: var(--accent);
}

/* ==================== ÉTAPES ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 24px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
}

/* ==================== SAV ==================== */
.sav {
    background: var(--gray-50);
}

.sav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sav-content h2 {
    margin-bottom: 24px;
}

.sav-content>p {
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.sav-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sav-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.sav-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sav-feature span {
    font-weight: 500;
    font-size: 14px;
}

.sav-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ==================== TÉMOIGNAGES ==================== */
.testimonials {
    background: var(--gray-50);
}

.testimonials-rating {
    text-align: center;
    margin-bottom: 48px;
}

.rating-stars {
    font-size: 2rem;
    margin-bottom: 8px;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.rating-count {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.testimonial-featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, #F0FDF4 0%, var(--white) 100%);
}

.testimonial-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.testimonial-info strong {
    display: block;
    color: var(--primary);
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.testimonial-verified {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

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

/* ==================== GARANTIES ==================== */
.guarantees {
    background: var(--white);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.guarantee-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.guarantee-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.guarantee-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

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

.certifications {
    text-align: center;
    padding: 48px;
    background: var(--gray-50);
    border-radius: 24px;
}

.certifications h3 {
    margin-bottom: 32px;
    color: var(--primary);
}

.certifications-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cert-item span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

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

    .certifications-logos {
        gap: 32px;
    }
}

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

/* ==================== FAQ ==================== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.125rem;
    transition: background 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question:active {
    background: var(--gray-100);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer>div {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    padding: 0 24px 32px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==================== NOS RÉALISATIONS - CARROUSEL ==================== */
.realisations {
    background: var(--gray-50);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.realisation-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.realisation-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.realisation-card:hover .realisation-image img {
    transform: scale(1.05);
}

.realisation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.realisation-card:hover .realisation-overlay {
    opacity: 1;
}

.realisation-overlay span {
    background: var(--white);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
}

.realisation-content {
    padding: 20px;
}

.realisation-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.realisation-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.realisation-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.realisation-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 5px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow);
}

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-body {
    padding: 32px;
}

.modal-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-body h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.modal-body>p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-stat {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.modal-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.modal-stat-label {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

.modal-details {
    margin-bottom: 24px;
}

.modal-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.modal-detail:last-child {
    border-bottom: none;
}

.modal-detail-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.modal-cta {
    display: flex;
    gap: 16px;
}

.modal-cta .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 1024px) {
    .realisation-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .realisation-card {
        flex: 0 0 100%;
    }

    .modal-stats {
        grid-template-columns: 1fr;
    }

    .modal-cta {
        flex-direction: column;
    }
}

/* ==================== FORMULAIRE DEVIS ==================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    color: var(--white);
}

.contact-info h2 {
    color: var(--accent);
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.contact-info>p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 540px;
}

.contact-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.contact-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-card-premium:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 216, 99, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 216, 99, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 24px;
    box-shadow: 0 0 20px rgba(0, 216, 99, 0.1);
    transition: all 0.4s ease;
}

.contact-card-premium:hover .contact-card-icon {
    transform: scale(1.1) rotate(8deg);
    background: var(--accent);
    color: white;
    box-shadow: 0 0 30px rgba(0, 216, 99, 0.5);
}

.contact-card-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contact-action-box {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    border-radius: 4px 24px 24px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.contact-action-box span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-phone-premium {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-phone-premium i {
    font-size: 1.6rem;
    background: rgba(0, 216, 99, 0.1);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-phone-premium:hover {
    color: white;
}

.btn-phone-premium:hover i {
    background: var(--accent);
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 0 20px rgba(0, 216, 99, 0.4);
}

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

    .contact-info h2 {
        font-size: 2rem;
    }
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 216, 99, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
}

.contact-feature-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-feature p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.contact-phone span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.contact-phone a {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-phone a:hover {
    opacity: 0.8;
}

/* Formulaire */
.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18);
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-badge i {
    font-size: 14px;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.form-header p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}

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

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-label i {
    color: var(--accent);
    font-size: 16px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 16px !important;
    font-family: inherit;
    transition: all 0.25s ease;
    background: var(--gray-50);
    -webkit-appearance: none;
    appearance: none;
    color: var(--primary);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 216, 99, 0.15);
    background: var(--white);
}

.form-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: var(--primary);
}

.form-select option {
    background: #ffffff !important;
    color: #101124 !important;
    padding: 12px;
}

.form-select option:checked {
    background: var(--accent-light) !important;
    color: var(--primary) !important;
}

.form-select option:hover {
    background: var(--accent-light) !important;
    color: var(--primary) !important;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 16px 18px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.form-checkbox:hover {
    background: var(--white);
    border-color: var(--gray-200);
}

.form-checkbox input {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 0;
    accent-color: var(--accent);
    cursor: pointer;
    border-radius: 6px;
}

.form-checkbox label {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Nouveaux styles pour les icônes de formulaire */
.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    font-size: 1.25rem;
    transition: color 0.3s ease;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.form-input-wrapper .form-input,
.form-input-wrapper .form-select,
.form-input-wrapper .form-textarea {
    padding-left: 48px;
}

.form-input-wrapper:focus-within i {
    color: var(--accent);
}

.form-submit {
    margin-top: 32px;
}

.btn-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-user-select: none;
    user-select: none;
    box-shadow: 0 8px 20px rgba(0, 216, 99, 0.3);
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

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

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit:active {
    transform: translateY(0) scale(0.98);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    margin-top: 24px;
    padding: 14px 20px;
    font-size: 13px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
}

.form-note i {
    color: var(--accent);
    font-size: 18px;
}

.form-note span {
    color: var(--accent);
    font-weight: 600;
}

/* Message de succès */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 40px;
    animation: fadeInUp 0.5s ease-out;
}

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

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(0, 216, 99, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.form-success h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-600);
}

/* ==================== CTA FLOTTANT (Mobile) ==================== */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 999;
    display: none;
    transform: translateY(0);
    opacity: 1;
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
        opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.floating-cta.hidden {
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    pointer-events: none;
}

.floating-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00D863 0%, #00C756 100%);
    color: var(--white);
    text-align: center;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.floating-cta a:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }

    .footer {
        padding-bottom: 90px;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-400);
    margin: 16px 0 24px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-legal a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Lien admin caché */
.footer-legal .admin-link {
    opacity: 0;
    padding: 4px 8px;
    margin-left: 8px;
    transition: opacity 0.3s ease;
}

.footer-legal .admin-link:hover {
    opacity: 0.6;
}

/* Footer logo */
.footer-logo img {
    height: 48px;
    filter: brightness(0) invert(1);
}

/* Footer contact with icons */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-400);
}

.footer-contact i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact span,
.footer-contact a {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: var(--accent);
}

/* Trust badges */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent);
    font-size: 20px;
}

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

/* Grands écrans (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 4vw, 4rem);
    }

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

    .section {
        padding: 100px 0;
    }

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

    .why-grid {
        gap: 32px;
    }

    .why-card {
        padding: 40px;
    }

    .solutions-grid {
        gap: 40px;
    }

    .solution-card {
        height: 480px;
    }

    .contact-grid {
        gap: 80px;
    }

    .footer-grid {
        gap: 48px;
    }
}

/* Très grands écrans (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1480px;
    }

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

    .section {
        padding: 120px 0;
    }

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

    .why-card,
    .step-card {
        padding: 48px;
    }
}

/* Tablettes et écrans moyens */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        align-items: center;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        color: var(--gray-600);
        text-shadow: none;
    }

    .nav-menu .nav-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .header.scrolled .mobile-toggle span {
        background: var(--primary);
    }

    .header-phone {
        display: none;
    }
}

/* ==================== TABLETTE (768-1024px) ==================== */
@media (max-width: 1024px) {

    .hero-grid,
    .engagement-grid,
    .sav-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 24px;
        justify-content: center;
    }

    .difference-grid,
    .aides-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

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

    /* Tablette: espacement et tailles optimisés */
    .section {
        padding: 70px 0;
    }

    .container {
        padding: 0 24px;
    }

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

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

    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }

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

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

    .hero-trust-inline {
        gap: 16px;
    }

    .hero-trust-inline span {
        font-size: 0.85rem;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-guarantee {
        font-size: 11px;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-icons {
        gap: 16px;
    }

    .hero-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .why-grid,
    .solutions-grid,
    .aides-grid,
    .steps-grid,
    .sav-features {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    /* Nouvelles sections responsives */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ===== TRUST BAR MOBILE ===== */
    .trust-bar {
        padding: 24px 0;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .trust-bar-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .trust-logos {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-logos img {
        height: 28px;
    }

    /* ===== STATS MOBILE ===== */
    .stats-row {
        padding: 28px 20px;
        gap: 16px;
    }

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

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

    /* ===== SECTION HEADER MOBILE ===== */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* ===== WHY CARDS MOBILE ===== */
    .why-card {
        padding: 24px;
    }

    .why-icon {
        font-size: 2rem;
    }

    .why-tag {
        top: 16px;
        right: 16px;
        font-size: 0.7rem;
    }

    /* ===== COMPARAISON SECTION MOBILE ===== */
    [style*="grid-template-columns: 1fr 1fr"][style*="gap: 32px"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* ===== FORMULAIRE CONTACT MOBILE ===== */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-form-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contact-form-card:hover {
        transform: none;
    }

    .form-header {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .form-header h3 {
        font-size: 1.35rem;
    }

    .form-header p {
        font-size: 14px;
    }

    .form-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    .form-checkbox {
        padding: 14px 16px;
        margin-top: 20px;
    }

    .form-checkbox label {
        font-size: 12px;
    }

    .btn-submit {
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 12px;
    }

    .form-note {
        padding: 12px 16px;
        font-size: 12px;
    }

    .form-submit {
        margin-top: 24px;
    }

    /* ===== FOOTER MOBILE ===== */
    .footer {
        padding: 48px 0 32px;
    }

    .footer h4 {
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 15px;
        display: inline-block;
        padding: 4px 0;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    /* ===== PROBLEM-SOLUTION MOBILE ===== */
    .ps-card {
        padding: 24px;
    }

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

    .ps-list li {
        font-size: 0.95rem;
    }

    .ps-cta {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* ===== STEP CARDS MOBILE ===== */
    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* ===== AIDES PREMIUM MOBILE ===== */
    .aides-premium {
        padding: 60px 0;
    }

    .aides-value {
        font-size: 3.5rem;
    }

    .aide-premium-card {
        padding: 24px;
    }

    /* ===== TESTIMONIALS MOBILE ===== */
    .testimonial-card {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* ===== GARANTIES MOBILE ===== */
    .guarantee-card {
        padding: 24px 20px;
    }

    /* ===== RÉALISATIONS CAROUSEL MOBILE ===== */
    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-dot {
        width: 12px;
        height: 12px;
    }

    .carousel-dot.active {
        width: 28px;
    }

    /* ===== AMÉLIORATION TOUCH TARGETS MOBILE ===== */
    .hero-cta,
    .ps-cta,
    .btn,
    .nav-menu a,
    .solution-link,
    .footer-links a,
    .footer-social a,
    .parrainage-cta .btn {
        min-height: 48px;
        /* Target confortable (standard Apple 44px+) */
        display: inline-flex;
        align-items: center;
    }

    .footer-links a {
        padding: 8px 0;
        /* Plus d'espace pour le doigt */
        display: block;
    }

    /* ===== FLOATING CTA AMÉLIORATION ===== */
    .floating-cta a {
        padding: 18px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {

    [style*="grid-template-columns: repeat(5, 1fr)"],
    [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==================== PARRAINAGE ==================== */
.parrainage-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.parrainage-card {
    background: white;
    border-radius: var(--radius-lg, 16px);
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 216, 99, 0.15);
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.parrainage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 216, 99, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.parrainage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.parrainage-badge i {
    font-size: 18px;
}

.parrainage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.parrainage-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.parrainage-amount {
    color: var(--accent);
    font-weight: 800;
}

.parrainage-text>p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.parrainage-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.parrainage-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 15px;
}

.parrainage-benefits i {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

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

.parrainage-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius, 12px);
}

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

.reward-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.reward-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.parrainage-arrow {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.parrainage-arrow i {
    font-size: 24px;
    color: var(--accent);
}

.parrainage-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px 32px;
}

.parrainage-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

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

    .parrainage-card {
        padding: 32px 24px;
    }

    .parrainage-text h2 {
        font-size: 1.6rem;
    }

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

    .parrainage-illustration {
        flex-direction: column;
        gap: 16px;
    }

    .parrainage-arrow {
        transform: rotate(90deg);
    }

    .reward-amount {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .parrainage-section {
        padding: 48px 0;
    }

    .parrainage-card {
        padding: 24px 16px;
        border-radius: var(--radius, 12px);
    }

    .parrainage-badge {
        font-size: 13px;
        padding: 6px 12px;
    }

    .parrainage-text h2 {
        font-size: 1.35rem;
        line-height: 1.4;
    }

    .parrainage-text>p {
        font-size: 0.95rem;
    }

    .parrainage-benefits li {
        font-size: 14px;
    }

    .parrainage-benefits i {
        font-size: 18px;
    }

    .parrainage-illustration {
        padding: 16px;
        gap: 12px;
    }

    .reward-label {
        font-size: 12px;
    }

    .reward-amount {
        font-size: 1.75rem;
    }

    .parrainage-arrow {
        width: 36px;
        height: 36px;
    }

    .parrainage-arrow i {
        font-size: 18px;
    }

    .parrainage-cta .btn {
        font-size: 0.95rem;
        padding: 14px 20px;
        flex-direction: column;
        gap: 4px;
    }

    .parrainage-note {
        font-size: 13px;
    }
}

/* Modal Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

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

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

#successModal button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 216, 99, 0.3);
}