/* ============================================= */
/* Deep Blue AI - Styles Principaux */
/* ============================================= */

:root {
    --electric-blue: #0056d6;
    --vibrant-sky-blue: #0099ff;
    --bg-off-white: #f8fafc;
    --bg-white: #ffffff;
    --bg-light-blue-tint: #eff6ff;
    --text-primary: #1e293b;
    --text-secondary: #2b3036;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0693d4 100%);

    /* Variables pour fond animé */
    --bg-1: #ffffff;
    /* blanc pur au centre */
    --bg-2: #fafbfc;
    /* blanc cassé très léger */
    --c-sky: #1e90ff;
    /* bleu dodger plus marqué */
    --c-glacier: #0066cc;
    /* bleu royal plus intense */
    --c-ice: #4da6ff;
    /* bleu ciel vif */
    --c-white: #ffffff;
    /* blanc pur */
}

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

html {
    scroll-behavior: smooth;
}

/* --- FOND D'ÉCRAN BLANC AU CENTRE AVEC AURORES BLEUES --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background:
        radial-gradient(150% 150% at 50% 50%, var(--bg-1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.7) 40%, transparent 55%),
        radial-gradient(120% 100% at 100% 0%, var(--c-sky) 0%, transparent 70%),
        radial-gradient(120% 100% at 0% 100%, var(--c-glacier) 0%, transparent 70%),
        radial-gradient(100% 100% at 0% 0%, var(--c-ice) 0%, transparent 60%),
        radial-gradient(100% 100% at 100% 100%, var(--c-glacier) 0%, transparent 60%);
    position: relative;
    min-height: 100vh;
}

/* ============================================= */
/* FOND ANIMÉ AURORA */
/* ============================================= */

.aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
}

.aurora::before,
.aurora::after,
.aurora>i,
.aurora>b {
    content: "";
    position: absolute;
    inset: -30% -30%;
    filter: blur(70px);
    opacity: 0.8;
    mix-blend-mode: screen;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.aurora::before {
    background:
        radial-gradient(40% 60% at 15% 75%, var(--c-sky) 0%, transparent 65%),
        radial-gradient(55% 70% at 85% 25%, var(--c-glacier) 0%, transparent 70%);
    animation: waveA 20s alternate infinite;
    opacity: 0.6;
}

.aurora::after {
    background:
        radial-gradient(50% 65% at 25% 15%, var(--c-ice) 0%, transparent 70%),
        radial-gradient(45% 60% at 75% 85%, var(--c-glacier) 0%, transparent 65%);
    animation: waveB 28s alternate infinite;
    opacity: 0.5;
}

.aurora>i {
    background:
        radial-gradient(60% 70% at 55% 45%, var(--c-sky) 0%, transparent 65%),
        radial-gradient(45% 80% at 90% 60%, var(--c-ice) 0%, transparent 70%);
    animation: waveC 35s alternate infinite;
    opacity: 0.4;
}

.aurora>b {
    inset: -25% -25%;
    filter: blur(90px);
    opacity: 0.3;
    background:
        radial-gradient(55% 75% at 40% 80%, var(--c-white) 0%, transparent 65%),
        radial-gradient(40% 55% at 65% 20%, var(--c-sky) 0%, transparent 70%);
    animation: waveD 22s alternate infinite ease-in-out;
}

@keyframes waveA {
    0% {
        transform: translate(-25%, 18%) scale(1.1) rotate(0.3deg);
    }

    33% {
        transform: translate(12%, -15%) scale(1.4) rotate(-0.8deg);
    }

    66% {
        transform: translate(28%, 22%) scale(1.2) rotate(0.5deg);
    }

    100% {
        transform: translate(-15%, -8%) scale(1.25) rotate(-0.2deg);
    }
}

@keyframes waveB {
    0% {
        transform: translate(22%, -18%) scale(1.3) rotate(-0.4deg);
    }

    25% {
        transform: translate(-20%, 25%) scale(1.1) rotate(0.7deg);
    }

    75% {
        transform: translate(15%, -12%) scale(1.35) rotate(-0.6deg);
    }

    100% {
        transform: translate(-25%, 8%) scale(1.2) rotate(0.3deg);
    }
}

@keyframes waveC {
    0% {
        transform: translate(-12%, 20%) scale(1.25) rotate(0.6deg);
    }

    40% {
        transform: translate(25%, -22%) scale(1.15) rotate(-0.9deg);
    }

    80% {
        transform: translate(-30%, -5%) scale(1.4) rotate(0.4deg);
    }

    100% {
        transform: translate(18%, 15%) scale(1.2) rotate(-0.3deg);
    }
}

@keyframes waveD {
    0% {
        transform: translate(15%, -25%) scale(1.2) rotate(-0.5deg);
    }

    30% {
        transform: translate(-22%, 12%) scale(1.35) rotate(0.8deg);
    }

    70% {
        transform: translate(8%, 28%) scale(1.1) rotate(-0.7deg);
    }

    100% {
        transform: translate(-18%, -10%) scale(1.3) rotate(0.2deg);
    }
}

/* Grain en arrière-plan */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='5'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 500px 500px;
    opacity: 0.15;
    animation: grainShift 1s steps(2) infinite;
}

@keyframes grainShift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-25px, 25px);
    }
}

/* Assurer que le contenu principal est au-dessus du fond */
main,
header,
footer {
    position: relative;
    z-index: 5;
    isolation: isolate;
}

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

section {
    padding: 70px 0;
    position: relative;
    background: transparent;
}

h2 {
    font-size: 3.5rem;
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-sky-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 80px auto;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================= */
/* HEADER - Style dynamique pour page principale */
/* ============================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

header .logo,
header nav a {
    color: var(--bg-white);
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

header .logo:hover,
header nav a:hover {
    color: var(--vibrant-sky-blue);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo,
header.scrolled nav a {
    color: var(--text-primary);
}

header.scrolled nav a:hover {
    color: var(--electric-blue);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    margin-left: 120px;
}

.logo img {
    height: 115px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav li {
    margin: 0 20px;
    position: relative;
}

/* Menu déroulant Solutions */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 220px;
    padding: 15px 0;
    margin-top: 10px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light-blue-tint);
    color: var(--electric-blue);
    border-left-color: var(--electric-blue);
}

/* Flèche du dropdown */
.dropdown>a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover>a::after {
    transform: rotate(180deg);
}

/* ============================================= */
/* BOUTONS */
/* ============================================= */

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--electric-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #393cce 0%, #2a6bf8 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    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.2), transparent);
    transition: left 0.5s;
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--electric-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

/* ============================================= */
/* MENU MOBILE */
/* ============================================= */

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--bg-white);
    transition: color 0.3s ease;
}

header.scrolled .hamburger {
    color: var(--text-primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--electric-blue);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================= */
/* SECTION ACCUEIL (spécifique page principale) */
/* ============================================= */

#accueil {
    padding: 160px 0 100px;
    text-align: center;
    background: var(--gradient-hero);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Séparation en forme de vague vers le bas entre la bannière et l'aurora */
#accueil::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--gradient-hero);
    clip-path: path('M0,0 C200,40 400,0 600,40 C800,0 1000,40 1200,0 C1400,40 1600,0 1800,40 L1800,60 L0,60 Z');
    z-index: 1;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    z-index: 1;
    position: relative;
}

#accueil h1 {
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--bg-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.025em;
}

.hero-title-main {
    font-size: 4.2rem;
    display: block;
}

.hero-title-sub {
    font-size: 2.8rem;
    display: block;
    font-weight: 600;
    opacity: 0.9;
}

#typewriter-container {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    height: 2.4rem;
    margin-bottom: 40px;
}

/* ============================================= */
/* CARTES ET GRILLES */
/* ============================================= */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 480px));
    gap: 32px;
    margin-bottom: 60px;
    align-items: stretch;
    justify-content: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Cartes avec effet verre sur fond clair */
.solution-card,
.team-member,
.job-card,
.recruitment-cta,
#a-propos .card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.solution-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    will-change: transform, box-shadow;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    isolation: isolate;
}

.card-video-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: transparent;
    border-radius: 20px 20px 0 0;
    z-index: 50;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.card-video-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
    z-index: 101;
    mix-blend-mode: normal;
}

.card-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 100;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    mix-blend-mode: normal;
    filter: none;
    -webkit-filter: none;
}

.card-content {
    padding: 20px 28px 20px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-btn {
    margin-top: auto;
    margin-bottom: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card-btn::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.5s;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.card-btn:active {
    transform: translateY(0);
    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.solution-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(56, 182, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(56, 182, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.solution-card>* {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.solution-card .card-content {
    pointer-events: auto;
}

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-blue), var(--vibrant-sky-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
}

.solution-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-sky-blue));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.solution-card:hover h3::after {
    width: 60px;
}

.solution-card p {
    color: rgba(30, 41, 59, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
    flex-grow: 1;
}

/* ============================================= */
/* SECTIONS DE CONTENU */
/* ============================================= */

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-section h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 120%;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: translateY(-10px);
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--electric-blue);
}

.about-text h3:first-of-type {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1em;
}

/* ============================================= */
/* ÉQUIPE */
/* ============================================= */

.team-section {
    text-align: center;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--electric-blue);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.team-role {
    font-size: 1.1rem;
    color: var(--electric-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Logo LinkedIn rond */
.linkedin-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--electric-blue);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto;
    align-self: center;
    animation: linkedinFloat 3s ease-in-out infinite;
}

.linkedin-logo:hover {
    background: var(--vibrant-sky-blue);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 86, 214, 0.4);
    animation-play-state: paused;
}

.linkedin-logo svg {
    width: 20px;
    height: 20px;
}

/* Animation flottante pour les logos LinkedIn */
@keyframes linkedinFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ============================================= */
/* RECRUTEMENT */
/* ============================================= */

.job-listings {
    display: grid;
    gap: 30px;
    margin-top: 80px;
}

.job-card {
    padding: 40px;
    border-left: 5px solid var(--electric-blue);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.job-location {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.job-type {
    background: var(--bg-light-blue-tint);
    color: var(--electric-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.job-skill {
    background: rgba(0, 86, 214, 0.1);
    color: var(--electric-blue);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.recruitment-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
}

.recruitment-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.recruitment-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* ============================================= */
/* FORMULAIRE DE CONTACT */
/* ============================================= */

#contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0, 86, 214, 0.3);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.8);
}

/* Garder les labels de checkbox visibles */
.checkbox-label {
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
}

.form-input:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 214, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--electric-blue);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

#form-feedback {
    display: none;
    padding: 32px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

#form-feedback i {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 16px;
}

#form-feedback h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

#form-feedback p {
    color: var(--text-secondary);
}

#contact-form button {
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background-color: var(--electric-blue);
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

#contact-form button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

/* ============================================= */
/* ANIMATIONS */
/* ============================================= */

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

#typewriter-cursor {
    animation: blink 0.8s infinite;
    display: inline-block;
    width: 2px;
    height: 1.6rem;
    background-color: var(--vibrant-sky-blue);
    vertical-align: middle;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* FOOTER */
/* ============================================= */

footer {
    background-color: #072468;
    padding: 60px 40px 40px;
    color: #cbd5e1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

footer .logo,
footer h4,
footer a:hover {
    color: #fff;
}

footer .footer-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.footer-office h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-flag {
    width: 24px;
    height: auto;
    border-radius: 3px;
}

.footer-office p {
    line-height: 1.8;
}

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

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }
}

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

    header .container {
        position: relative;
    }

    nav {
        display: none;
    }

    nav li {
        margin: 0 15px;
    }

    .hamburger {
        display: block;
    }

    section {
        padding: 50px 0;
    }

    #accueil {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title-main {
        font-size: 2.6rem;
    }

    .hero-title-sub {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .job-header {
        flex-direction: column;
        gap: 15px;
    }

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

    .cta-section h3 {
        font-size: 1.8rem;
    }

    .recruitment-cta h3 {
        font-size: 1.6rem;
    }
}

/* ============================================= */
/* SECTION À PROPOS - DESIGN MODERNE */
/* ============================================= */

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

/* Titre principal */
.about-title-section {
    text-align: center;
    margin-bottom: 60px;
}

/* Header Section */
.about-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-header-content {
    max-width: 500px;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.about-header-visual {
    position: relative;
    height: 350px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 214, 0.2), rgba(0, 153, 255, 0.1));
    mix-blend-mode: overlay;
}

/* Story Cards */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.story-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-sky-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 86, 214, 0.15);
    border-color: rgba(0, 86, 214, 0.2);
}

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



.story-icon {
    margin-bottom: 16px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--electric-blue), var(--vibrant-sky-blue));
    border-radius: 50%;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 86, 214, 0.25);
}

.story-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.story-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
}

.story-highlight {
    background: rgba(0, 86, 214, 0.1);
    border-left: 3px solid var(--electric-blue);
    padding: 14px;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 86, 214, 0.05);
    border-radius: 8px;
}

.stat-icon {
    font-size: 1.1rem;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.mission-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mission-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.point-dot {
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Quote Section Simple */
.simple-quote-section {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.simple-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.simple-quote-section .quote-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}



/* Responsive */
@media (max-width: 768px) {
    .about-modern-container {
        padding: 50px 16px 40px;
    }

    .about-header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 40px;
    }

    .about-header-visual {
        height: 250px;
    }

    .about-subtitle {
        font-size: 1.6rem;
    }

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

    .simple-quote {
        font-size: 1.1rem;
    }
}
