/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tech/Futuristic Colors with Startup Energy */
    --primary-cyan: #00d4ff;
    --primary-blue: #0066ff;
    --primary-purple: #8b5cf6;
    --primary-violet: #6366f1;

    --gradient-primary: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--primary-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-purple) 100%);

    /* Light & Dark sections */
    --bg-light: #ffffff;
    --bg-light-secondary: #f8f9fa;
    --bg-dark: #0a0e27;
    --bg-dark-secondary: #141933;

    --text-light: #ffffff;
    --text-dark: #0a0e27;
    --text-gray: #64748b;
    --text-gray-light: #94a3b8;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo-img {
    height: 40px;
    transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-nav {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('../images/abstract interior of a modern office building.png') center/cover no-repeat;
    padding-top: 80px;
}

/* ========================================
   HERO WAVE ANIMATION
   ======================================== */
.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(8, 10, 28, 0.97) 0%,
        rgba(8, 10, 28, 0.97) 58%,
        rgba(8, 10, 28, 0.55) 72%,
        rgba(8, 10, 28, 0.20) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    width: 100%;
}

.hero-content {
    color: var(--text-light);
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-editorial-bar {
    width: 3px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    text-align: left;
}

.hero-title-animated {
    animation: slideInText 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    margin-top: 2.8rem;
    margin-bottom: 0;
    line-height: 1.25;
    border-left: 3px solid rgba(255, 255, 255, 0.12);
    padding-left: 1.25rem;
}

.hero-subtitle-intro {
    display: block;
    font-weight: 300;
    font-size: 1.65rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: -0.02em;
}

.hero-subtitle-punch {
    display: block;
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
    white-space: nowrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}



.floating-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
}

.floating-card.delay-2 {
    animation-delay: 0.5s;
}

.floating-card.delay-3 {
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}

.card-text strong {
    font-weight: 600;
    font-size: 1.1rem;
}

.card-text span {
    color: var(--text-gray-light);
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--primary-cyan);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-cyan);
    border-bottom: 2px solid var(--primary-cyan);
    transform: rotate(45deg);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.light-section {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: var(--spacing-xl) 0;
}

.dark-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.dark-section .section-subtitle {
    color: var(--text-gray-light);
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision-anim {
    text-align: center;
    padding: var(--spacing-xl) 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: var(--spacing-sm);
}

.vision-line {
    opacity: 0;
}

/* Line 1: always visible, statement */
.vision-line-1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
    opacity: 1;
}

/* Line 2: intro phrase */
.vision-line-2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    filter: blur(12px);
    transform: scale(0.85);
    margin-bottom: 0;
}

.vision-line-2.visible {
    animation: blurReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Capabilities list */
.vision-capabilities {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 var(--spacing-md);
    text-align: left;
    display: inline-flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 1;
}

.vision-capabilities li {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-light);
    padding-left: 1.6rem;
    position: relative;
    opacity: 0;
    transform: translateY(12px);
}

.vision-capabilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.vision-capabilities li.visible {
    animation: fadeUp 0.5s ease-out forwards;
}

/* Line 3: impact phrase */
.vision-line-3 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    filter: blur(12px);
    transform: scale(0.85);
    margin-top: var(--spacing-sm);
}

.vision-line-3.visible {
    animation: blurReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Line 4: conclusion with editorial bar */
.vision-line-4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray-light);
    font-weight: 300;
    line-height: 1.7;
    transform: translateY(15px);
    text-align: left;
    display: inline-block;
    border-left: 3px solid;
    border-image: var(--gradient-primary) 1;
    padding-left: 1.25rem;
    margin-top: var(--spacing-sm);
    max-width: 600px;
}

.vision-line-4.visible {
    animation: fadeUp 0.6s ease-out forwards;
}

@keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.destination-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px;
    padding: var(--spacing-lg);
    text-align: center;
}

.destination-icon {
    margin-bottom: var(--spacing-md);
}

.destination-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.destination-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
}

.destination-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    text-align: left;
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   MATURITY LEVELS SECTION
   ======================================== */
.maturity-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.maturity-level {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--spacing-lg);
    position: relative;
}

.maturity-level::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    bottom: -60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-cyan) 0%, var(--primary-purple) 100%);
}

.maturity-level:last-child::before {
    display: none;
}

.level-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.level-content {
    background: var(--bg-light-secondary);
    border-radius: 20px;
    padding: var(--spacing-lg);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.level-content:hover {
    border-color: var(--primary-cyan);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.level-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.level-description {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.level-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.level-features li {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.level-features li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
}

/* Version Compacte sur 2 colonnes pour Desktop */
@media (min-width: 992px) {
    .maturity-timeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .maturity-level {
        grid-template-columns: 70px 1fr;
        gap: var(--spacing-md);
    }

    .maturity-level::before {
        display: none;
    }

    .level-number {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }

    .level-content {
        padding: var(--spacing-md);
    }

    .level-features {
        grid-template-columns: 1fr;
        /* Une seule colonne de tags en format compact */
    }
}


/* ========================================
   SERVICES SECTION (legacy, kept for blog.html etc.)
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    color: var(--text-light);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-gray-light);
    line-height: 1.8;
}

/* ========================================
   NOS OFFRES SECTION (Accordéon)
   ======================================== */
.offres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    align-items: start;
}

.accordion-card {
    background: var(--bg-light);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-blue);
    padding: 0;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.accordion-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Couleurs accent par carte */
.card-strategie { border-left-color: #4A90D9; }
.card-metiers { border-left-color: #7B61FF; }
.card-humain { border-left-color: #E91E8C; }
.card-operations { border-left-color: #00BFA5; }

/* En-tête accordéon */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    user-select: none;
    gap: var(--spacing-sm);
}

.accordion-header:hover {
    background: var(--bg-light-secondary);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.accordion-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Icône de l'offre */
.offer-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offer-icon-strategie { background: rgba(74, 144, 217, 0.12); color: #4A90D9; }
.offer-icon-metiers { background: rgba(123, 97, 255, 0.12); color: #7B61FF; }
.offer-icon-humain { background: rgba(233, 30, 140, 0.12); color: #E91E8C; }
.offer-icon-operations { background: rgba(0, 191, 165, 0.12); color: #00BFA5; }

.offer-icon svg { stroke: currentColor; }

/* Numéro, titre, sous-titre */
.offer-number {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-gray);
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.offer-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Chevron */
.chevron {
    flex-shrink: 0;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.accordion-card.active .chevron {
    transform: rotate(180deg);
}

/* Contenu accordéon (masqué par défaut) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-card.active .accordion-content {
    opacity: 1;
}

/* Liste des offres dans l'accordéon */
.offer-list {
    list-style: none;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    margin: 0;
    border-top: 1px solid #e2e8f0;
}

.offer-list li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.offer-list li:last-child {
    border-bottom: none;
}

.offer-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Couleurs accent pour les listes */
.card-strategie .offer-list li strong { color: #4A90D9; }
.card-metiers .offer-list li strong { color: #7B61FF; }
.card-humain .offer-list li strong { color: #E91E8C; }
.card-operations .offer-list li strong { color: #00BFA5; }

/* ========================================
   CARTE 2 — MÉTIERS AUGMENTÉS (layout spécial)
   ======================================== */
.metiers-layout {
    display: flex;
    border-top: 1px solid #e2e8f0;
}

/* Bandeau vertical transversal Data Architecture */
.data-transversal {
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(123, 97, 255, 0.06) 0%, rgba(123, 97, 255, 0.12) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) 0.4rem;
    gap: 0.5rem;
}

.data-transversal-icon {
    color: #7B61FF;
    flex-shrink: 0;
}

.data-transversal-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.8rem;
    font-weight: 700;
    color: #7B61FF;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* La liste prend toute la largeur restante */
.offer-list-metiers {
    flex: 1;
}

/* ========================================
   MÉTHODOLOGIE / INTEGRATION SECTION
   ======================================== */
.integration-content {
    max-width: 100%;
}

.integration-details-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.detail-card {
    background: var(--bg-light-secondary);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
    transition: all var(--transition-normal);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-cyan);
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.detail-icon svg {
    color: var(--text-light);
}

.detail-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.detail-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.detail-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Card Variants */
.card-cadrage {
    border-left-color: #6366f1;
}

.badge-cadrage {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.card-cadrage .detail-list li::before {
    color: #6366f1;
}

.card-build {
    border-left-color: #8b5cf6;
}

.badge-build {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.card-build .detail-list li::before {
    color: #8b5cf6;
}

.card-enable {
    border-left-color: #ec4899;
}

.badge-enable {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.card-enable .detail-list li::before {
    color: #ec4899;
}

.card-run {
    border-left-color: #10b981;
}

.badge-run {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-run .detail-list li::before {
    color: #10b981;
}

/* ========================================
   MÉTHODOLOGIE SECTION (Bandeau compact)
   ======================================== */
.methodologie-section {
    padding: 4rem 0;
}

.methodologie-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem 0;
}

.method-step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.method-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
}

.method-label-conseil  { background: rgba(74, 144, 217, 0.15); color: #4A90D9; }
.method-label-agile    { background: rgba(123, 97, 255, 0.15); color: #7B61FF; }
.method-label-formation { background: rgba(233, 30, 140, 0.15); color: #E91E8C; }
.method-label-mco      { background: rgba(0, 191, 165, 0.15); color: #00BFA5; }

.method-icon {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.method-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 4px 0;
}

.method-desc {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.4;
}

.method-arrow {
    opacity: 0.3;
    flex-shrink: 0;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .methodologie-steps {
        flex-direction: column;
        gap: 1rem;
    }
    .method-arrow {
        transform: rotate(90deg);
    }
    .method-step {
        max-width: 100%;
    }
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
}

.blog-image {
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    color: var(--text-gray-light);
}

.blog-content {
    padding: 1rem;
}

.blog-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: 0.8rem;
}

.blog-date {
    color: var(--text-gray-light);
}

.blog-category {
    background: var(--gradient-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.blog-excerpt {
    color: var(--text-gray-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

.blog-cta {
    text-align: center;
}

/* ========================================
   EQUIPE SECTION
   ======================================== */
.equipe-section {
    background: #0d1230;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

.founder-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
}

.founder-photo-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.founder-title {
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.founder-bio {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.founder-bio p + p {
    margin-top: 0.75rem;
}

.founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    margin-top: auto;
}

.founder-linkedin:hover {
    color: var(--primary-blue);
}

.founder-linkedin svg {
    transition: transform var(--transition-fast);
}

.founder-linkedin:hover svg {
    transform: scale(1.1);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-benefits {
    background: var(--bg-light-secondary);
    padding: var(--spacing-lg);
    border-radius: 20px;
}

.contact-benefits h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-benefits ul {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.contact-benefits svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-email-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e2e8f0;
    margin-top: var(--spacing-sm);
}

.contact-email-info svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-email-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.contact-email-info a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light-secondary);
    padding: var(--spacing-lg);
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem var(--spacing-sm);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 2px solid #10b981;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid #ef4444;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark-secondary);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--text-gray-light);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--text-gray-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray-light);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up.delay-1 {
    transition-delay: 0.1s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-up.delay-3 {
    transition-delay: 0.3s;
}

.fade-in-up.delay-4 {
    transition-delay: 0.4s;
}

.fade-in-up.delay-5 {
    transition-delay: 0.5s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .hero-container {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }


    .destination-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offres-grid {
        grid-template-columns: 1fr;
    }

    .integration-content {
        grid-template-columns: 1fr;
    }

    .integration-details-full {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .equipe-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 5rem;
    }

    .hero-background {
        background: rgba(8, 10, 28, 0.90);
    }

    .hero-container {
        align-items: center;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .hero-editorial-bar {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        border-left: none;
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .hero-subtitle-intro,
    .hero-subtitle-punch {
        font-size: 1.3rem;
    }

    .hero-cta {
        position: static;
        transform: none;
        left: auto;
        margin-top: 2rem;
        justify-content: center;
        white-space: normal;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .offres-grid {
        grid-template-columns: 1fr;
    }

    .accordion-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .offer-icon {
        width: 44px;
        height: 44px;
    }

    .offer-icon svg {
        width: 22px;
        height: 22px;
    }

    .offer-title {
        font-size: 1.1rem;
    }

    .offer-list {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }

    .metiers-layout {
        flex-direction: column;
    }

    .data-transversal {
        flex-direction: row;
        padding: 0.5rem var(--spacing-md);
    }

    .data-transversal-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.8rem;
    }

    .integration-details-full {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-linkedin {
        justify-content: center;
    }

    .level-features {
        grid-template-columns: 1fr;
    }

    /* Optimisation mobile : numéro dans le coin supérieur gauche */
    .maturity-level {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .level-number {
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        border-radius: 20px 0 20px 0;
        box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    }

    .level-content {
        position: relative;
        padding-top: calc(var(--spacing-md) + 10px);
        padding-left: calc(var(--spacing-md) + 10px);
    }

    .maturity-level::before {
        display: none;
    }

    /* Footer : 3 colonnes → 1 colonne */
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Contact : réduire le padding et contenir le reCAPTCHA */
    .contact-form,
    .contact-benefits {
        padding: var(--spacing-md);
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }

    .founder-photo-wrapper {
        width: 120px;
        height: 120px;
    }

    .founder-name {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle-intro,
    .hero-subtitle-punch {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Score de Maturité IA — Diagnostic interactif
   ═══════════════════════════════════════════════════════════════════ */

/* ── Container ─────────────────────────────────────────────────── */
.diagnostic-section {
    padding: var(--spacing-xl) 0;
}

.ms-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ── Welcome Screen ────────────────────────────────────────────── */
.ms-welcome {
    padding: 3rem 2.5rem;
    text-align: center;
}

.ms-welcome-icon {
    margin-bottom: 1.5rem;
}

.ms-welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.ms-welcome-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.ms-welcome-points {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 380px;
    text-align: left;
}

.ms-welcome-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.ms-welcome-points svg {
    color: #10b981;
    flex-shrink: 0;
}

.ms-btn-start {
    font-size: 1.05rem;
    padding: 0.875rem 2rem;
}

/* ── Context Screen ────────────────────────────────────────────── */
.ms-context {
    padding: 3rem 2.5rem;
}

.ms-context-intro {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.ms-context-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 480px;
    margin: 0 auto;
}

.ms-field label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.ms-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: border-color var(--transition-fast);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.ms-field select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.ms-context-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ms-context-error,
.ms-form-error {
    color: #ef4444;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
    min-height: 1.2em;
}

.ms-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    padding: 0.625rem 1.25rem;
}

.ms-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Quiz Screen ───────────────────────────────────────────────── */
.ms-quiz {
    padding: 2rem 2.5rem 2.5rem;
}

.ms-quiz-header {
    margin-bottom: 1.5rem;
}

.ms-quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ms-quiz-timer {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ms-quiz-timer::before {
    content: '\23F1';
    font-size: 0.9rem;
}

.ms-quiz-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ms-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.ms-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.ms-pilier-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.ms-question {
    margin-bottom: 2rem;
}

.ms-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.ms-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ms-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: var(--bg-light);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.ms-option:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.03);
}

.ms-option.selected {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.ms-option-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    position: relative;
}

.ms-option.selected .ms-option-indicator {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.ms-option.selected .ms-option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.ms-option-text {
    flex: 1;
}

/* Quiz navigation */
.ms-quiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ms-quiz-dots {
    display: flex;
    gap: 5px;
}

.ms-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all var(--transition-fast);
}

.ms-dot.done,
.ms-dot.answered {
    background: rgba(0, 102, 255, 0.3);
}

.ms-dot.current {
    background: var(--primary-blue);
    transform: scale(1.3);
}

/* ── Preview (blurred report) ──────────────────────────────────── */
.ms-preview {
    padding: 2.5rem;
    position: relative;
}

.ms-preview-visible {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ms-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid var(--niveau-color, #3b82f6);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.ms-score-level {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--niveau-color, #3b82f6);
}

.ms-score-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.25rem 0;
}

.ms-score-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
}

.ms-score-badge-large {
    padding: 1.5rem 2.5rem;
}

.ms-score-badge-large .ms-score-label {
    font-size: 1.75rem;
}

.ms-preview-visible canvas {
    max-width: 420px;
    margin: 0 auto;
}

/* Blurred preview — 2 first lines visible, rest fully opaque blur */
.ms-preview-blurred {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.ms-preview-blurred::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 2.8em,
        rgba(255,255,255,0.3) 4em,
        rgba(255,255,255,0.65) 5.5em,
        rgba(255,255,255,0.85) 7em,
        rgba(255,255,255,0.95) 9em
    );
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 2.8em, rgba(0,0,0,0.3) 3.5em, rgba(0,0,0,0.6) 4.5em, rgba(0,0,0,1) 6em);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 2.8em, rgba(0,0,0,0.3) 3.5em, rgba(0,0,0,0.6) 4.5em, rgba(0,0,0,1) 6em);
    pointer-events: none;
}

.ms-blur-content {
    padding: 1.5rem;
}

.ms-blur-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.ms-blur-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Progress bar score */
.ms-progress-bar-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
}

.ms-progress-bar-score-large {
    margin: 1.5rem 0 2rem;
}

.ms-progress-bar-track {
    flex: 1;
    height: 12px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.ms-progress-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ms-progress-bar-label {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 3.5rem;
    text-align: right;
}

/* Gate */
.ms-gate {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem 1rem;
}

.ms-gate-content {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
}

.ms-gate-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ms-gate-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.ms-btn-unlock {
    font-size: 1rem;
    padding: 0.875rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Form Gate ─────────────────────────────────────────────────── */
.ms-form-gate {
    padding: 2rem 2.5rem 2.5rem;
}

.ms-form-preview-mini {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ms-score-badge-mini {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(139, 92, 246, 0.06));
    border: 1.5px solid var(--niveau-color, #3b82f6);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ms-contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.ms-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ms-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ms-contact-form .form-row .form-group {
    margin-bottom: 0;
}

.ms-contact-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.ms-optional {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 0.8rem;
}

.ms-contact-form input[type="text"],
.ms-contact-form input[type="email"],
.ms-contact-form input[type="tel"] {
    padding: 0.7rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.ms-contact-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.ms-field-hint {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 1em;
}

.ms-contact-form .checkbox-group {
    margin-bottom: 0.75rem;
}

.ms-contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.ms-contact-form .checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.ms-btn-submit {
    margin-top: 0.5rem;
}

/* ── Full Report ───────────────────────────────────────────────── */
.ms-report {
    padding: 2.5rem;
}

.ms-report-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ms-report-for {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.ms-report-positioning {
    max-width: 560px;
    margin: 1.25rem auto 0;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Radar section */
.ms-report-radar {
    margin-bottom: 2.5rem;
}

.ms-report-radar h3,
.ms-report-analysis h3,
.ms-report-roadmap h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.ms-radar-wrapper {
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.ms-radar-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Maturity gauge bar */
.ms-gauge {
    max-width: 480px;
    margin: 1.5rem auto 0;
}

.ms-gauge-bar {
    position: relative;
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: visible;
    gap: 3px;
}

.ms-gauge-segment {
    flex: 1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.ms-gauge-segment-active {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.ms-gauge-cursor {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ms-gauge-cursor-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ms-gauge-labels {
    display: flex;
    margin-top: 0.5rem;
}

.ms-gauge-label {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.ms-radar-legend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
}

.ms-radar-legend-name {
    color: var(--text-dark);
    font-weight: 500;
}

.ms-radar-legend-score {
    font-weight: 700;
    color: var(--primary-blue);
}

/* Analysis per pilier */
.ms-report-analysis {
    margin-bottom: 2.5rem;
}

.ms-report-pilier {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.ms-report-pilier:last-child {
    margin-bottom: 0;
}

.ms-report-pilier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ms-report-pilier-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ms-pilier-score {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

.ms-pilier-score-low {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ms-pilier-score-mid {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.ms-pilier-score-high {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.ms-report-pilier p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Roadmap */
.ms-report-roadmap {
    margin-bottom: 2.5rem;
}

.ms-roadmap-action {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-blue);
}

.ms-roadmap-action:last-child {
    margin-bottom: 0;
}

.ms-roadmap-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ms-roadmap-content {
    flex: 1;
}

.ms-roadmap-pilier {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    display: block;
}

.ms-roadmap-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.ms-roadmap-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-gray);
}

/* CTA */
.ms-report-cta {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.ms-report-cta p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.ms-report-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.ms-report-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.ms-report-footer p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.ms-report-brand {
    font-weight: 600;
    color: var(--text-gray-light) !important;
    font-size: 0.8rem !important;
}

/* ── Responsive — Maturity Score ───────────────────────────────── */
@media (max-width: 768px) {
    .ms-container {
        border-radius: 12px;
        margin: 0 -0.5rem;
    }

    .ms-welcome,
    .ms-context,
    .ms-quiz,
    .ms-preview,
    .ms-form-gate,
    .ms-report {
        padding: 1.75rem 1.25rem;
    }

    .ms-welcome-title {
        font-size: 1.25rem;
    }

    .ms-question-text {
        font-size: 1.05rem;
    }

    .ms-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .ms-radar-legend {
        grid-template-columns: 1fr;
    }

    .ms-score-badge-large .ms-score-label {
        font-size: 1.35rem;
    }

    .ms-roadmap-action {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ms-roadmap-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .ms-quiz-dots {
        display: none;
    }

}

@media (max-width: 480px) {
    .ms-welcome,
    .ms-context,
    .ms-quiz,
    .ms-preview,
    .ms-form-gate,
    .ms-report {
        padding: 1.5rem 1rem;
    }

    .ms-option {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .ms-context-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .ms-context-actions .btn {
        width: 100%;
        justify-content: center;
    }
}