/* SynapsX - Seal Blue Theme */

:root {
    --navy-900: #061523;
    --navy-800: #0a1929;
    --navy-700: #0d2336;
    --navy-600: #12324a;
    --navy-500: #1a4a6e;
    --cyan-500: #00b8d4;
    --cyan-400: #22d3ee;
    --teal-500: #176b87;

    --white: #ffffff;
    --off-white: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;

    --text: var(--slate-900);
    --text-muted: var(--slate-500);
    --border: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.08);

    --grad-hero: linear-gradient(135deg, #0a1929 0%, #12324a 50%, #1a4a6e 100%);
    --grad-text: linear-gradient(135deg, #22d3ee 0%, #00b8d4 100%);
    --grad-accent: linear-gradient(135deg, #00b8d4, #176b87);

    --shadow-md: 0 4px 12px rgba(6, 21, 35, 0.06);
    --shadow-lg: 0 12px 40px rgba(6, 21, 35, 0.12);

    --max-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}
.nav.scrolled {
    background: rgba(10, 25, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    height: 130px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-img {
    height: 130px;
    width: auto;
    display: block;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-img {
    height: 130px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: auto;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--cyan-400); }
.nav-cta { font-size: 13px; padding: 10px 20px; }
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-burger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 184, 212, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 184, 212, 0.45);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 200px 0 80px;
    background: linear-gradient(135deg, #0a1929 0%, #12324a 50%, #1a4a6e 100%);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #00b8d4 0%, transparent 70%);
    top: -200px; right: -200px;
    animation: float 20s ease-in-out infinite;
}
.hero-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1a4a6e 0%, transparent 70%);
    bottom: -200px; left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 184, 212, 0.1);
    border: 1px solid rgba(0, 184, 212, 0.3);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan-400);
    margin-bottom: 32px;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan-500);
    box-shadow: 0 0 10px var(--cyan-500);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.hero-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}
.pillar-icon { font-size: 28px; margin-bottom: 4px; }
.pillar-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}
.pillar-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pillar-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 20px;
}

/* Sections */
.section { padding: 120px 0; }
.section-alt { background: var(--off-white); }
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal-500);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--navy-800);
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid & Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan-500);
}
.card-icon { font-size: 32px; margin-bottom: 20px; }
.card-icon-lg { font-size: 40px; margin-bottom: 24px; }
.card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy-800);
    margin-bottom: 12px;
}
.card p { color: var(--text-muted); font-size: 15px; }
.card-feature { padding: 40px; }

/* Engines */
.engines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.engine {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s var(--ease);
    overflow: hidden;
}
.engine::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-accent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.engine:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.engine:hover::before { opacity: 1; }
.engine-featured {
    background: var(--grad-hero);
    color: var(--white);
    border-color: transparent;
}
.engine-number {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(18, 50, 74, 0.06);
    line-height: 1;
    letter-spacing: -0.04em;
}
.engine-icon { font-size: 40px; margin-bottom: 20px; }
.engine h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-800);
    margin-bottom: 6px;
}
.engine-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.engine p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.engine-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}
.engine-inputs li {
    padding: 6px 14px;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* Flow */
.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 160px;
    transition: all 0.3s var(--ease);
}
.flow-step:hover {
    border-color: var(--cyan-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.flow-icon { font-size: 32px; }
.flow-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-800);
}
.flow-desc {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
.flow-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-500), var(--teal-500));
    border-radius: 2px;
}
.governance-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 32px;
    background: rgba(0, 184, 212, 0.08);
    border-left: 4px solid var(--cyan-500);
    border-radius: var(--radius-md);
    font-size: 17px;
    color: var(--navy-800);
}
.governance-note strong { color: var(--teal-500); }

/* Sectors */
.sectors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sector {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-800);
    transition: all 0.25s var(--ease);
}
.sector:hover {
    border-color: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.sector span { font-size: 24px; }

/* Principles */
.principle {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.principle:hover {
    border-color: var(--cyan-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.principle-icon { font-size: 32px; margin-bottom: 16px; }
.principle h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.principle p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Vision */
.vision {
    background: var(--grad-hero);
    color: var(--white);
    text-align: center;
}
.vision-content { max-width: 900px; margin: 0 auto; }
.vision-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--white);
}
.vision-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}
.vision-signature {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cyan-400);
    letter-spacing: 0.02em;
    flex-wrap: wrap;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2ecf4 100%);
    text-align: center;
}
.cta-content { max-width: 800px; margin: 0 auto; }
.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy-800);
    margin-bottom: 16px;
}
.cta-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn-ghost {
    color: var(--navy-800);
    background: var(--white);
    border-color: var(--border);
}
.cta-buttons .btn-ghost:hover {
    background: var(--white);
    border-color: var(--cyan-500);
    color: var(--teal-500);
}

/* Page hero */
.page-hero {
    padding: 260px 0 80px;
    background: linear-gradient(135deg, #0a1929 0%, #12324a 50%, #1a4a6e 100%);
    color: #ffffff;
    text-align: center;
}
.page-hero .section-eyebrow { color: var(--cyan-400); }
.page-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.page-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto;
}

/* Step card */
.step-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.step-card:hover {
    border-color: var(--cyan-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--grad-accent);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 16px;
}
.step-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 8px;
}
.step-card p { font-size: 14px; color: var(--text-muted); }

/* Footer */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 40px;
}
.footer-content { text-align: center; }
.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    opacity: 0.95;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    opacity: 0.95;
}

.footer-tagline {
    font-size: 14px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-links a {
    font-size: 14px;
    transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--cyan-400); }
.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .engines { grid-template-columns: 1fr; }
    .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--navy-800);
        padding: 24px;
        gap: 16px;
        border-top: 1px solid var(--border-dark);
    }
    .hero-pillars { gap: 12px; }
    .pillar-arrow { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .sectors { grid-template-columns: 1fr; }
    .flow { flex-direction: column; }
    .flow-line { width: 2px; height: 30px; }
    .section { padding: 80px 0; }
    .vision-signature { flex-direction: column; gap: 8px; }
    .vision-signature span:nth-child(2),
    .vision-signature span:nth-child(4) { display: none; }
}
@media (max-width: 768px) {
    .nav-logo-img {
    height: 130px;
    width: auto;
    display: block;
}
    .footer-logo-img {
    height: 72px;
    width: auto;
    opacity: 0.95;
}
}
@media (max-width: 768px) {
    .nav-logo-img {
    height: 130px;
    width: auto;
    display: block;
}
    .footer-logo-img {
    height: 72px;
    width: auto;
    opacity: 0.95;
}
}
/* ═══════════════════════════════════════════════════════════════
   Engine Featured — Override (doit rester en fin de fichier)
   ═══════════════════════════════════════════════════════════════ */

.engine.engine-featured {
    background: var(--grad-hero);
    color: #ffffff;
    border-color: transparent;
}

.engine.engine-featured h3 {
    color: #ffffff !important;
}

.engine.engine-featured .engine-tagline {
    color: #22d3ee !important;
}

.engine.engine-featured p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.engine.engine-featured .engine-number {
    color: rgba(255, 255, 255, 0.10) !important;
}

.engine.engine-featured .engine-icon {
    /* Conserve l'icône telle quelle */
}

.engine.engine-featured .engine-inputs li {
    background: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.engine.engine-featured::before {
    opacity: 1 !important;
    background: linear-gradient(135deg, #22d3ee, #00b8d4) !important;
}

/* ═══════════════════════════════════════════════════════════════
   Paradigm Section - Avant / Apres
   ═══════════════════════════════════════════════════════════════ */

.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
.paradigm-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.paradigm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.paradigm-card-before {
    background: var(--slate-100);
}
.paradigm-card-after {
    background: var(--grad-hero);
    color: var(--white);
    border-color: transparent;
}
.paradigm-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.paradigm-card-before .paradigm-label { color: var(--slate-500); }
.paradigm-card-after .paradigm-label { color: var(--cyan-400); }
.paradigm-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 17px;
    line-height: 1.5;
}
.paradigm-steps strong {
    font-weight: 700;
}
.paradigm-steps .arrow {
    display: inline-block;
    margin: 0 4px;
    font-weight: 400;
}
.paradigm-card-before .paradigm-steps { color: var(--slate-700); }
.paradigm-card-before .paradigm-steps strong { color: var(--navy-800); }
.paradigm-card-before .paradigm-steps .arrow { color: var(--slate-500); }
.paradigm-card-after .paradigm-steps { color: rgba(255, 255, 255, 0.9); }
.paradigm-card-after .paradigm-steps strong { color: var(--white); }
.paradigm-card-after .paradigm-steps .arrow { color: var(--cyan-400); }
.paradigm-caption {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--slate-500);
    font-style: italic;
    font-size: 15px;
}
.paradigm-card-after .paradigm-caption {
    border-top-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .paradigm-grid { grid-template-columns: 1fr; }
    .paradigm-card { padding: 32px 24px; }
}

/* Hero tagline (phrase signature) */
.hero-tagline {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--cyan-400);
    max-width: 700px;
    margin: 0 auto 24px;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   Timeline Moteurs - Passé / Présent / Futur
   ═══════════════════════════════════════════════════════════════ */

.timeline {
    margin-top: 64px;
}

/* Axe horizontal avec 3 marqueurs */
.timeline-axis {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    margin-bottom: 32px;
    padding: 0 60px;
}
.timeline-line {
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg,
        var(--slate-500) 0%,
        var(--cyan-500) 50%,
        var(--teal-500) 100%);
    transform: translateY(-50%);
    border-radius: 2px;
    opacity: 0.4;
}
.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}
.timeline-dot {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--cyan-500);
    box-shadow: 0 0 0 6px var(--white), 0 0 0 8px rgba(0, 184, 212, 0.15);
}
.timeline-dot-featured {
    width: 22px;
    height: 22px;
    background: var(--grad-accent);
    border: none;
    box-shadow: 0 0 0 6px var(--white), 0 0 0 10px rgba(0, 184, 212, 0.25);
}
.timeline-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--slate-500);
}
.timeline-label-featured {
    color: var(--teal-500);
}

/* Cartes alignees sous les 3 marqueurs */
.timeline-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.timeline-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s var(--ease);
    position: relative;
}
.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan-500);
}

.timeline-card-featured {
    background: var(--grad-hero);
    color: var(--white);
    border-color: transparent;
}
.timeline-card-featured:hover {
    border-color: transparent;
}
.timeline-card-featured h3 { color: var(--white) !important; }
.timeline-card-featured .timeline-card-tagline { color: var(--cyan-400) !important; }
.timeline-card-featured p { color: rgba(255, 255, 255, 0.85) !important; }
.timeline-card-featured .timeline-card-inputs li {
    background: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.timeline-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.timeline-card h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-800);
    margin-bottom: 6px;
}
.timeline-card-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.timeline-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.timeline-card-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline-card-inputs li {
    padding: 6px 14px;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .timeline-axis { padding: 0 20px; }
    .timeline-line { left: 20px; right: 20px; }
    .timeline-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .timeline-axis {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }
    .timeline-line { display: none; }
    .timeline-marker { flex-direction: row; gap: 12px; }
    .timeline-dot { width: 12px; height: 12px; }
    .timeline-dot-featured { width: 16px; height: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   Piliers - Contract & Skill en gradient accent
   (meme couleur que le bouton .btn-primary)
   ═══════════════════════════════════════════════════════════════ */

#pillars .engine:not(.engine-featured) {
    background: var(--grad-accent);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 184, 212, 0.25);
}
#pillars .engine:not(.engine-featured):hover {
    box-shadow: 0 12px 40px rgba(0, 184, 212, 0.45);
}
#pillars .engine:not(.engine-featured) h3 {
    color: var(--white) !important;
}
#pillars .engine:not(.engine-featured) .engine-tagline {
    color: rgba(255, 255, 255, 0.9) !important;
}
#pillars .engine:not(.engine-featured) p {
    color: rgba(255, 255, 255, 0.92) !important;
}
#pillars .engine:not(.engine-featured) .engine-number {
    color: rgba(255, 255, 255, 0.15) !important;
}
#pillars .engine:not(.engine-featured) .engine-inputs li {
    background: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
#pillars .engine:not(.engine-featured)::before {
    background: rgba(255, 255, 255, 0.4);
}