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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8faff;
    color: #1a2a3a;
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* ========================================
   PARTICULES
======================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 92, 140, 0.15), transparent);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ========================================
   BARRE DE PROGRESSION
======================================== */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5c8c, #4a9fcf, #1a5c8c);
    background-size: 200% 100%;
    animation: shimmerProgress 3s linear infinite;
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 20px rgba(26, 92, 140, 0.4);
}

@keyframes shimmerProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   BOUTONS
======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a5c8c, #0e3f62);
    color: #ffffff;
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 28px rgba(26, 92, 140, 0.35);
    letter-spacing: 0.3px;
    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.2), transparent);
    transition: left 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(26, 92, 140, 0.5);
    background: linear-gradient(135deg, #206fa8, #0e3f62);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: #1a5c8c;
}

.btn-nav {
    background: linear-gradient(135deg, #1a5c8c, #0e3f62);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(26, 92, 140, 0.25);
    position: relative;
    overflow: hidden;
}

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

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

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(26, 92, 140, 0.4);
    color: #ffffff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1a5c8c;
    background: rgba(26, 92, 140, 0.10);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(26, 92, 140, 0.12);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0a1a2b;
    letter-spacing: -1px;
}

.section-header h2 span {
    background: linear-gradient(135deg, #1a5c8c, #4a9fcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #5a6a7a;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 10px auto 0;
    font-weight: 400;
}

/* ========================================
   HEADER
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(26, 92, 140, 0.08);
    transition: all 0.3s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 38px;
    max-height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: #2a3a4a;
    transition: color 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #1a5c8c, #4a9fcf);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: #1a5c8c;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: #0a1a2b;
    border-radius: 4px;
    transition: 0.3s;
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: #f8faff;
}

.animated-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(26, 92, 140, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(74, 159, 207, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(248, 250, 255, 0.9) 0%, #f8faff 100%);
    animation: meshMove 25s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, 8%) scale(1.12); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 92, 140, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.3); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #1a5c8c;
    border: 1px solid rgba(26, 92, 140, 0.10);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.cosmic-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26, 92, 140, 0); }
    50% { box-shadow: 0 0 20px rgba(26, 92, 140, 0.1); }
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0a1a2b;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: #1a5c8c;
    border-right: 3px solid #1a5c8c;
    padding-right: 6px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4a5a6a;
    margin: 28px 0 36px;
    max-width: 480px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-stats {
    display: flex;
    gap: 56px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid rgba(26, 92, 140, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0a1a2b;
    letter-spacing: -0.5px;
}

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

.hero-image {
    perspective: 1200px;
}

.floating-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s;
}

.floating-3d-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(26, 92, 140, 0.06);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 22px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a1a2b;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.badge-1 { bottom: 20px; left: -20px; }
.badge-2 { top: 20px; right: -20px; }

.badge-1 i, .badge-2 i {
    color: #1a5c8c;
    margin-right: 10px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
    fill: #f8faff;
}

/* ========================================
   SERVICES
======================================== */
.services {
    padding: 80px 0 100px;
    background: #ffffff;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 34px 28px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(26, 92, 140, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transform-style: preserve-3d;
    cursor: default;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(26, 92, 140, 0.15), transparent, rgba(74, 159, 207, 0.15));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(26, 92, 140, 0.15);
    box-shadow: 0 24px 60px rgba(26, 92, 140, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 92, 140, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #1a5c8c;
    margin: 0 auto 16px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(26, 92, 140, 0.15);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1a2b;
    margin-bottom: 10px;
}

.service-card p {
    color: #5a6a7a;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-link {
    font-weight: 600;
    color: #1a5c8c;
    transition: all 0.3s;
}

.service-link:hover {
    color: #0e3f62;
    margin-left: 4px;
}

/* ========================================
   PARTENAIRES
======================================== */
.partners {
    padding: 80px 0;
    background: #f8faff;
}

.partners-header {
    text-align: center;
    margin-bottom: 48px;
}

.partners-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a1a2b;
    letter-spacing: -1px;
}

.partners-header h2 span {
    background: linear-gradient(135deg, #1a5c8c, #4a9fcf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-header p {
    font-size: 1.1rem;
    color: #5a6a7a;
    max-width: 700px;
    margin: 12px auto 0;
    line-height: 1.7;
}

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

.partner-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 28px 24px 24px;
    border: 1px solid rgba(26, 92, 140, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(26, 92, 140, 0.06);
    border-color: rgba(26, 92, 140, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.partner-card.coverity { border-left: 4px solid #1a5c8c; }
.partner-card.heomi { border-left: 4px solid #2d7d9a; }
.partner-card.ma2 { border-left: 4px solid #c0392b; }
.partner-card.kiassure { border-left: 4px solid #27ae60; }
.partner-card.praeco { border-left: 4px solid #8e44ad; }

.partner-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ===== LOGO AGRANDI À 100px ===== */
.partner-logo-img {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8faff;
    border-radius: 50%;
    padding: 14px;
    border: 2px solid rgba(26, 92, 140, 0.04);
    transition: all 0.3s;
    flex-shrink: 0;
    margin-top: 4px;
}

.partner-card:hover .partner-logo-img {
    border-color: rgba(26, 92, 140, 0.12);
    transform: scale(1.03) rotate(-2deg);
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-text h3 {
    display: none; /* cache le titre répété */
}

.partner-features {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.partner-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #2a3a4a;
    padding: 3px 0;
    line-height: 1.4;
}

.partner-features li i {
    color: #1a5c8c;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.partner-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: #1a5c8c;
    padding: 12px 0 4px;
    border-top: 2px solid rgba(26, 92, 140, 0.06);
    text-align: left;
    font-weight: 500;
    line-height: 1.5;
}

/* ========================================
   SIMULATEUR
======================================== */
.simulator {
    padding: 80px 0;
    background: #ffffff;
}

.simulator-box {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(26, 92, 140, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.simulator-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(26, 92, 140, 0.02), transparent 60%);
    animation: boxGlow 10s ease-in-out infinite alternate;
}

@keyframes boxGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.sim-controls {
    position: relative;
    z-index: 1;
}

.sim-controls label {
    font-weight: 600;
    color: #2a3a4a;
    display: block;
    margin-bottom: 16px;
    font-size: 1rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.slider-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1a5c8c;
    min-width: 90px;
}

input[type="range"] {
    -webkit-appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(26, 92, 140, 0.2), #1a5c8c);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1a5c8c;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26, 92, 140, 0.3);
}

.sim-result {
    margin: 36px 0 28px;
    position: relative;
    z-index: 1;
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(26, 92, 140, 0.04);
    transition: all 0.3s;
}

.result-card:hover {
    border-color: rgba(26, 92, 140, 0.15);
    box-shadow: 0 8px 30px rgba(26, 92, 140, 0.06);
}

.result-card i {
    font-size: 2.8rem;
    color: #1a5c8c;
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: #6a7a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #22c55e;
}

.result-sub {
    display: block;
    font-weight: 500;
    color: #4a5a6a;
}

.sim-cta {
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ========================================
   TÉMOIGNAGES
======================================== */
.testimonials {
    padding: 80px 0 100px;
    background: #f8faff;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
    text-align: center;
}

.testimonial-card .stars {
    color: #f4b942;
    font-size: 1.6rem;
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: #1a2a3a;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.8;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(26, 92, 140, 0.10);
}

.author-name {
    font-weight: 700;
    color: #0a1a2b;
    display: block;
    font-size: 1rem;
}

.author-role {
    font-size: 0.85rem;
    color: #6a7a8a;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 92, 140, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots span.active {
    background: #1a5c8c;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(26, 92, 140, 0.3);
}

/* ========================================
   CONTACT
======================================== */
.contact {
    padding: 80px 0;
    background: #ffffff;
}

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

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0a1a2b;
}

.contact-info h2 span {
    background: linear-gradient(135deg, #1a5c8c, #0e3f62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info>p {
    color: #5a6a7a;
    font-size: 1.05rem;
    margin: 16px 0 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s;
}

.contact-detail:hover {
    transform: translateX(6px);
}

.contact-detail i {
    width: 48px;
    height: 48px;
    background: #f8faff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5c8c;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.contact-detail:hover i {
    background: #1a5c8c;
    color: #ffffff;
    transform: scale(1.05);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a9aae;
}

.detail-value {
    font-weight: 600;
    color: #0a1a2b;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #f8faff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1a2b;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.social-links a:hover {
    background: #1a5c8c;
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 92, 140, 0.3);
}

.contact-form-wrapper {
    background: rgba(248, 250, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 44px;
    border-radius: 28px;
    border: 1px solid rgba(26, 92, 140, 0.04);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(26, 92, 140, 0.02), transparent 60%);
    animation: formGlow 12s ease-in-out infinite alternate;
}

@keyframes formGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10%, -10%); }
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1a2b;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #0a1a2b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5c8c;
    box-shadow: 0 0 0 4px rgba(26, 92, 140, 0.08);
    transform: scale(1.01);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: #0a1a2b;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-logo .logo-image {
    height: 32px;
    max-height: 32px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 600;
}

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

.footer-col ul a {
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: #4a9fcf;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom i {
    color: #1a5c8c;
}

/* ========================================
   ANIMATIONS AOS (scroll)
======================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="flip-up"] {
    transform: perspective(1000px) rotateX(-15deg);
}

[data-aos="flip-up"].aos-animate {
    transform: perspective(1000px) rotateX(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 24px auto;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .floating-badge {
        display: none;
    }

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

    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 28px 24px;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(26, 92, 140, 0.04);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

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

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .partner-features li {
        justify-content: center;
    }

    .partner-quote {
        text-align: center;
    }

    /* Réduction du logo sur tablette */
    .partner-logo-img {
        width: 70px !important;
        height: 70px !important;
        padding: 10px !important;
    }

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

    .simulator-box {
        padding: 28px;
    }

    .slider-wrapper {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

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

    .floating-3d-card img {
        height: 280px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

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

    .partners-header h2 {
        font-size: 2rem;
    }
}

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .logo-image {
        height: 30px;
        max-height: 30px;
    }

    .result-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo .logo-image {
        height: 28px;
        max-height: 28px;
    }

    .partners-header h2 {
        font-size: 1.6rem;
    }

    .partner-card {
        padding: 16px 14px;
    }

    /* Réduction du logo sur mobile */
    .partner-logo-img {
        width: 60px !important;
        height: 60px !important;
        padding: 8px !important;
    }

    .partner-features li {
        font-size: 0.75rem;
        padding: 3px 0;
    }

    .partner-quote {
        font-size: 0.8rem;
        padding: 10px 0 2px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .simulator-box {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}