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

:root {
    /* Couleurs Coris exactes - SEULEMENT CELLES-CI */
    --coris-blue: #055293;
    --coris-blue-light: #3c78ab;
    --coris-blue-alpha: rgba(60, 120, 171, 255);
    --coris-blue-dark: rgba(5, 82, 147, 255);
    --coris-red: #e2001a;

    /* Couleurs neutres autorisées */
    --coris-gray: #64748B;
    --coris-light-gray: #F1F5F9;
    --coris-white: #FFFFFF;
    --coris-bg: #FAFBFC;

    /* Suppression de --coris-dark noir */

    /* Shadows avec les bonnes couleurs */
    --shadow-soft: 0 4px 24px rgba(5, 82, 147, 0.08);
    --shadow-medium: 0 8px 32px rgba(5, 82, 147, 0.12);
    --shadow-strong: 0 16px 48px rgba(5, 82, 147, 0.2);
    --shadow-glow: 0 0 40px rgba(226, 0, 26, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--coris-bg);
    color: var(--coris-blue);
    /* Utiliser le bleu au lieu du noir */
}

/* ================ ANIMATIONS MAGIQUES ================ */
@keyframes floatMagic {

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

    33% {
        transform: translateY(-15px) rotate(1deg);
    }

    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(226, 0, 26, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(226, 0, 26, 0.6);
        transform: scale(1.02);
    }
}

@keyframes slideInMagic {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }

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

@keyframes sparkle {

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

    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* ================ HEADER MAGIQUE ================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 82, 147, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--coris-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulseGlow 3s infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--coris-blue);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coris-blue);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--coris-gray);
    font-weight: 500;
}

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

.nav-link {
    text-decoration: none;
    color: var(--coris-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coris-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--coris-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-demo {
    background: var(--coris-red);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-demo:hover::before {
    left: 100%;
}

/* ================ HERO SECTION MAGIQUE ================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FAFBFC 0%, #F1F5F9 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: var(--coris-blue-light);
    opacity: 0.03;
    border-radius: 50%;
    animation: floatMagic 20s infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInMagic 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(226, 0, 26, 0.1);
    color: var(--coris-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(226, 0, 26, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--coris-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--coris-gray);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--coris-blue);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--coris-gray);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    align-items: center;
}

.btn-primary {
    background: var(--coris-red);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--coris-dark);
    padding: 16px 32px;
    border: 2px solid var(--coris-gray);
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--coris-blue);
    color: var(--coris-blue);
    transform: translateY(-2px);
}

/* ================ HERO VISUAL MAGIQUE ================ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInMagic 1s ease-out 0.3s both;
}

.visual-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.card-1 {
    top: 50px;
    left: 50px;
    width: 200px;
    animation: floatMagic 6s infinite;
}

.card-2 {
    top: 200px;
    right: 30px;
    width: 180px;
    animation: floatMagic 8s infinite reverse;
}

.card-3 {
    bottom: 80px;
    left: 30px;
    width: 220px;
    animation: floatMagic 7s infinite;
}

.main-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 500px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    z-index: 5;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--coris-bg) 0%, white 100%);
    padding: 20px;
    position: relative;
}

.app-header {
    background: var(--coris-blue);
    border-radius: 15px;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-bar {
    background: var(--coris-light-gray);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--coris-red);
    width: 0%;
    transition: width 2s ease;
}

/* ================ SPARKLES MAGIQUES ================ */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--coris-red);
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.sparkle:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 1.5s;
}

/* ================ FEATURES SECTION ================ */
.features {
    padding: 120px 0;
    background: white;
    position: relative;
}

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

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

.section-badge {
    display: inline-block;
    background: rgba(5, 82, 147, 0.1);
    color: var(--coris-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--coris-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--coris-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(5, 82, 147, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--coris-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--coris-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--coris-blue);
    border-radius: 23px;
    z-index: -1;
    opacity: 0.2;
    filter: blur(10px);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--coris-dark);
}

.feature-description {
    color: var(--coris-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* ================ TRUST SECTION ================ */
.trust {
    padding: 80px 0;
    background: var(--coris-bg);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--coris-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ================ PROCESS SECTION ================ */
.process {
    padding: 120px 0;
    background: white;
}

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

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

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

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--coris-blue), transparent);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--coris-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 2rem;
    position: relative;
    animation: pulseGlow 3s infinite;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--coris-dark);
}

.step-description {
    color: var(--coris-gray);
    line-height: 1.6;
}

/* ================ CTA SECTION ================ */
.cta {
    padding: 120px 0;
    background: var(--coris-blue);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,20 Q50,0 80,20 Q100,50 80,80 Q50,100 20,80 Q0,50 20,20 Z' fill='%23ffffff' opacity='0.05'/%3E%3C/svg%3E") repeat;
    animation: floatMagic 30s infinite;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta {
    background: white;
    color: var(--coris-blue);
    padding: 18px 36px;
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ================ FOOTER - CORRECTION FINALE ================ */
.footer {
    background: var(--coris-blue);
    /* Bleu Coris uniquement */
    color: white;
    padding: 80px 0 40px;
}

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

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background: white;
    /* Icône blanche sur fond bleu */
}

.footer-logo .logo-icon svg {
    fill: var(--coris-blue);
    /* SVG bleu dans icône blanche */
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ================ COOKIES POPUP ================ */
.cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--coris-blue);
}

.cookies-popup.show {
    transform: translateY(0);
}

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

.cookies-text {
    flex: 1;
    color: var(--coris-dark);
    line-height: 1.5;
}

.cookies-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookies {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid var(--coris-blue);
    font-size: 0.95rem;
}

.btn-cookies.accept {
    background: var(--coris-blue);
    color: white;
}

.btn-cookies.accept:hover {
    background: var(--coris-blue-light);
    transform: translateY(-1px);
}

.btn-cookies.decline {
    background: transparent;
    color: var(--coris-blue);
}

.btn-cookies.decline:hover {
    background: var(--coris-blue);
    color: white;
    transform: translateY(-1px);
}

.gdpr-button {
    background: var(--coris-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.15s ease;
    font-size: 1rem;
}

.gdpr-button:hover {
    background: var(--coris-blue-light);
    transform: translateY(-1px);
}

/* ================ GDPR POPUP ================ */
.gdpr-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gdpr-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.gdpr-icon {
    width: 60px;
    height: 60px;
    background: var(--coris-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.gdpr-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coris-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.gdpr-text {
    color: var(--coris-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.gdpr-button {
    background: var(--coris-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.gdpr-button:hover {
    background: var(--coris-blue-light);
}

/* ================ RESPONSIVE DESIGN - REFONTE COMPLETE ================ */

/* Base - Mobile First (320px+) */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--coris-bg);
    color: var(--coris-blue);
    margin: 0;
    padding: 0;
}

/* Conteneurs de base */
.nav-container,
.hero-container,
.features-container,
.process-container,
.trust-container,
.cta-container,
.footer-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ================ HEADER RESPONSIVE ================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 82, 147, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--coris-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--coris-blue);
    margin: 0;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--coris-gray);
    font-weight: 500;
    margin: 0;
}

.nav-menu {
    display: none;
    /* Masqué sur mobile */
}

.btn-demo {
    background: var(--coris-red);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ================ HERO RESPONSIVE ================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #FAFBFC 0%, #F1F5F9 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    padding: 80px 1rem 0;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--coris-blue);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--coris-gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coris-blue);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--coris-gray);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

/* ================ VISUAL RESPONSIVE ================ */
.hero-visual {
    order: -1;
    /* Avant le contenu sur mobile */
    margin-bottom: 1rem;
}

.visual-container {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    position: relative;
}

.main-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 350px;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.floating-card {
    display: none;
    /* Masqué sur mobile */
}

/* ================ SECTIONS RESPONSIVE ================ */
.features,
.process,
.trust,
.cta {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--coris-blue);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--coris-gray);
    line-height: 1.5;
}

/* ================ FEATURES RESPONSIVE ================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--coris-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--coris-blue);
}

.feature-description {
    color: var(--coris-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ================ TRUST RESPONSIVE ================ */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: var(--coris-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ================ PROCESS RESPONSIVE ================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

.process-step::after {
    display: none;
    /* Pas de ligne sur mobile */
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--coris-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--coris-blue);
}

.step-description {
    color: var(--coris-gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ================ CTA RESPONSIVE ================ */
.cta {
    background: var(--coris-blue);
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-cta {
    background: white;
    color: var(--coris-blue);
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* ================ FOOTER RESPONSIVE ================ */
.footer {
    background: var(--coris-blue) !important;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    padding: 0 1rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    justify-items: center;
    /* Centre chaque élément de la grille */
}

.footer-brand {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centre tous les éléments enfants */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
    /* Limite la largeur pour meilleur centrage */
}

/* Correction des icônes sociales */
.footer-social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    width: 100%;
}

.footer-social-icons a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.footer-social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.footer-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    /* Pour un meilleur centrage */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
    text-align: center;
}

/* ================ POPUPS RESPONSIVE ================ */
.cookies-popup {
    padding: 1rem;
}

.cookies-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.cookies-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookies-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cookies {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 100px;
}

.gdpr-popup {
    padding: 1rem;
}

.gdpr-content {
    padding: 2rem 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
}

.gdpr-title {
    font-size: 1.3rem;
}

.gdpr-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ================ TABLET (768px+) ================ */
@media (min-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-text p {
        font-size: 0.8rem;
    }

    .btn-demo {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-container {
        padding: 100px 2rem 0;
        gap: 3rem;
    }

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

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

    .visual-container {
        width: 400px;
        height: 400px;
    }

    .main-device {
        width: 240px;
        height: 420px;
    }

    .floating-card {
        display: block;
        /* Réapparaît sur tablette */
    }

    .features,
    .process,
    .trust,
    .cta {
        padding: 80px 0;
    }

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

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

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

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .process-step::after {
        display: block;
        /* Ligne entre étapes */
    }

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

    .cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        text-align: center;
        /* Garde le centrage sur tablette */
    }

    .cookies-content {
        flex-direction: row;
        text-align: left;
    }
}

/* ================ DESKTOP (1024px+) ================ */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        /* Menu visible sur desktop */
        gap: 2rem;
        align-items: center;
    }

    .nav-link {
        text-decoration: none;
        color: var(--coris-blue);
        font-weight: 500;
        font-size: 1rem;
        position: relative;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 4rem;
    }

    .hero-visual {
        order: 0;
        /* Retour à l'ordre normal */
    }

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

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

    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        min-width: 200px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
        /* Alignement à gauche sur desktop */
    }

    .footer-brand {
        text-align: left;
        align-items: flex-start;
        /* Alignement à gauche sur desktop */
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-title,
    .footer-links {
        text-align: left;
    }

    .footer-description {
        text-align: left;
        max-width: none;
    }

    .footer-social-icons {
        justify-content: flex-start;
        /* Icônes à gauche sur desktop */
    }
}

/* ================ LARGE DESKTOP (1200px+) ================ */
@media (min-width: 1200px) {

    .nav-container,
    .hero-container,
    .features-container,
    .process-container,
    .trust-container,
    .cta-container,
    .footer-container {
        max-width: 1400px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.8rem;
    }

    .logo-text p {
        font-size: 0.9rem;
    }

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

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

    .cta-title {
        font-size: 3.5rem;
    }

    .visual-container {
        width: 500px;
        height: 500px;
    }

    .main-device {
        width: 280px;
        height: 500px;
    }

    .features,
    .process,
    .trust,
    .cta {
        padding: 120px 0;
    }
}

/* ================ OVERFLOW PREVENTION ================ */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* ================ SCROLL ANIMATIONS ================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* ================ LOADING ANIMATION ================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.loader.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(5, 82, 147, 0.1);
    border-left: 3px solid var(--coris-blue);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.loading-text {
    margin-top: 1rem;
    color: var(--coris-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.active-link,
.nav-link:hover {
    border-bottom: 3px solid #055293;
    padding-bottom: 2px;
    transition: border-bottom 0.2s;
}

/* Nouveau bouton de vérification - Ajoutez ceci dans votre section style existante */
.btn-verify {
    background: linear-gradient(135deg, var(--coris-blue) 0%, var(--coris-blue-light) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(5, 82, 147, 0.3);
}

.btn-verify::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-verify:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 82, 147, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: white;
}

.btn-verify:hover::before {
    left: 100%;
}

/* Animation de pulsation discrète */
.btn-verify {
    animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(5, 82, 147, 0.3);
    }

    50% {
        box-shadow: 0 4px 16px rgba(5, 82, 147, 0.4);
    }
}

/* Responsive pour mobile */
@media (max-width: 1024px) {
    .btn-verify {
        display: none;
        /* Masqué sur mobile pour ne pas encombrer */
    }
}