/* ========================================
   Nicolas Delmouly — Personal Site
   Premium design inspired by energiedin.com
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #18acd1;
    --primary-dark: #1b5083;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #dbeafe;
    --blue-50: #eff6ff;
    --cyan: #06b6d4;
    --green: #16a34a;
    --green-light: #dcfce7;
    --orange: #ea580c;
    --orange-light: #fff7ed;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.07);
    --shadow-lg: 0 15px 40px rgba(0,0,0,.08);
    --shadow-xl: 0 25px 60px rgba(0,0,0,.12);
    --max-w: 1200px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --gradient: linear-gradient(135deg, #071a2e 0%, #091e36 50%, #060f1a 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, #0a0f1c 0%, #111827 40%, #0f172a 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', 'Georgia', serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ============================================
   NAV — Glassmorphism sticky
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,.5);
    transition: all var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.06); }
.nav .container {
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gray-900);
}
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
    font-size: .875rem; font-weight: 500; color: var(--gray-500);
    transition: color var(--transition); position: relative;
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width var(--transition); border-radius: 1px;
}
.nav-links a:hover::after { width: 100%; }
.nav-lang {
    display: inline-flex; align-items: center;
    padding: 6px 16px; border: 1.5px solid var(--gray-200); border-radius: 8px;
    font-size: .8rem; font-weight: 700; color: var(--gray-500);
    background: var(--white); transition: all var(--transition); letter-spacing: .04em;
}
.nav-lang:hover { border-color: var(--primary); color: var(--primary); background: #f0fdfa; }
.nav-lang::after { display: none !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-700); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ============================================
   HERO — Gradient + pattern + photo
   ============================================ */
.hero {
    background: #0b1d33 !important;
    color: var(--white);
    padding: 150px 0 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 25%, rgba(24,172,209,.08) 0%, transparent 45%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,.015) 40px,
            rgba(255,255,255,.015) 80px
        );
    pointer-events: none;
}
.hero-inner {
    display: flex; align-items: center; gap: 60px;
    position: relative; z-index: 1;
    padding-bottom: 72px;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; font-weight: 800;
    line-height: 1.1; margin-bottom: 24px;
}
.hero-text h1 span { color: #5cc8e6; }
.hero-text .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; color: rgba(255,255,255,.92);
    line-height: 1.8; max-width: 540px; margin-bottom: 36px; font-weight: 400;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: .85rem; font-weight: 500;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    transition: all var(--transition);
}
.badge:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.badge-blue::before { content: '\2039\203A'; margin-right: -2px; font-size: 1rem; }
.badge-orange::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fdba74; }
.badge-green::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #86efac; }

.hero-photo { flex-shrink: 0; position: relative; }
.hero-photo img {
    width: 340px; height: 340px; border-radius: 50%;
    object-fit: cover; object-position: top center;
    border: 6px solid rgba(255,255,255,.25);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.hero-photo:hover img { transform: scale(1.03); }
.hero-photo::before {
    content: ''; position: absolute; inset: -14px;
    border: 2px dashed rgba(255,255,255,.15);
    border-radius: 50%; animation: rotate 25s linear infinite;
}
.hero-photo::after {
    content: ''; position: absolute; inset: -28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

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

/* Hero stats bar */
.hero-stats-bar {
    position: relative; z-index: 1;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 28px 0;
}
.hero-stats-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
}
.hero-stat {
    text-align: center; flex: 1; min-width: 120px;
}
.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700; color: #fff;
    line-height: 1.2;
}
.hero-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: rgba(255,255,255,.7); margin-top: 4px;
}

/* Hero clients */
.hero-clients {
    position: relative; z-index: 1;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.clients-label {
    font-size: .7rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 14px;
}
.clients-logos {
    display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.client-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: rgba(255,255,255,.55); letter-spacing: .02em;
    transition: color var(--transition);
}
.client-name:hover { color: rgba(255,255,255,.85); }

/* ============================================
   SECTIONS — Base
   ============================================ */
section { padding: 100px 0; }
section.alt-bg { background: var(--gray-50); }

.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 12px;
    padding: 5px 14px; background: #ecfeff; border-radius: 6px;
}
.section-title {
    font-size: 2.25rem; font-weight: 700;
    color: var(--gray-900); margin-bottom: 14px;
    line-height: 1.2;
}
.section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem; color: var(--gray-500);
    max-width: 620px; margin-bottom: 48px; line-height: 1.8;
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all .4s ease;
    position: relative; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    border: 1px solid var(--gray-100);
}
.stat-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-accent); opacity: 0;
    transition: opacity var(--transition);
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(24,172,209,.12);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem; font-weight: 700;
    color: var(--primary); line-height: 1.2; margin-bottom: 6px;
}
.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--gray-400); margin-bottom: 12px;
}
.stat-desc {
    font-size: .9rem; color: var(--gray-600); line-height: 1.6;
}

/* ============================================
   PILLARS — 3 columns with colored tops
   ============================================ */
.pillars-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.pillar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    position: relative; overflow: hidden;
    transition: all .4s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    border: 1px solid var(--gray-100);
}
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(24,172,209,.12);
}
.pillar-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
}
.pillar-card:nth-child(1)::before { background: var(--primary); }
.pillar-card:nth-child(2)::before { background: var(--orange); }
.pillar-card:nth-child(3)::before { background: var(--green); }
.pillar-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: .8rem; font-weight: 800; margin-bottom: 20px;
}
.pillar-card:nth-child(1) .pillar-number { background: #e0f7fa; color: var(--primary); }
.pillar-card:nth-child(2) .pillar-number { background: var(--orange-light); color: var(--orange); }
.pillar-card:nth-child(3) .pillar-number { background: var(--green-light); color: var(--green); }
.pillar-card h3 {
    font-size: 1.3rem; font-weight: 700;
    color: var(--gray-900); margin-bottom: 14px;
}
.pillar-card p {
    font-size: .9rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 22px;
}
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-tag {
    padding: 6px 14px; border-radius: 8px;
    font-size: .78rem; font-weight: 600;
    background: var(--gray-50); color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.pillar-tag:hover { background: #e0f7fa; color: var(--primary); border-color: var(--primary); }

/* ============================================
   PROJECTS — Cards with gradient header
   ============================================ */
.projects-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: none;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(24,172,209,.15);
}
.project-card-header {
    background: var(--gradient-accent);
    padding: 24px 28px;
}
.project-card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: #fff; margin-bottom: 0;
}
.project-card-body { padding: 28px; }
.project-meta {
    font-family: 'Inter', sans-serif;
    font-size: .82rem; font-weight: 600;
    color: var(--primary); margin-bottom: 14px;
}
.project-card-body p {
    font-size: .9rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 20px;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================
   CERTIFICATIONS + TECH + REVIEWS
   ============================================ */
.certs-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.cert-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 24px; border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 600;
    border: 1.5px solid var(--gray-200); background: var(--white);
    color: var(--gray-700); transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.cert-badge:hover {
    border-color: var(--primary); color: var(--primary);
    box-shadow: 0 8px 24px rgba(24,172,209,.12); transform: translateY(-3px);
}
.cert-icon {
    width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; color: var(--white);
}
.cert-icon-blue { background: var(--primary); }
.cert-icon-green { background: var(--green); }
.cert-icon-orange { background: var(--orange); }

.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tag {
    padding: 10px 20px; border-radius: var(--radius-sm);
    font-size: .85rem; font-weight: 600;
    background: #e0f7fa; color: var(--primary-dark);
    transition: all var(--transition); border: 1px solid transparent;
}
.tech-tag:hover {
    background: var(--primary); color: var(--white);
    transform: translateY(-3px); box-shadow: 0 8px 20px rgba(24,172,209,.25);
}

.reviews-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.review-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 22px; border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 700;
    background: var(--green-light); color: var(--green);
    transition: all var(--transition);
}
.review-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============================================
   ENGAGEMENT
   ============================================ */
.engage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.engage-card {
    background: var(--white); border-radius: var(--radius);
    padding: 40px 30px; transition: all .4s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    border: 1px solid var(--gray-100);
}
.engage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(24,172,209,.12);
}
.engage-card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--gray-900); margin-bottom: 4px;
}
.engage-role {
    font-family: 'Inter', sans-serif;
    font-size: .85rem; font-weight: 600;
    color: var(--primary); margin-bottom: 16px;
}
.engage-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }
.engage-stat {
    display: inline-block; margin-top: 18px;
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-size: .85rem; font-weight: 700;
    background: var(--green-light); color: var(--green);
}

/* ============================================
   PHILOSOPHY — Glassmorphism style
   ============================================ */
#philosophy {
    background: linear-gradient(135deg, #0d3b5e 0%, #1b5083 100%) !important;
    color: var(--white);
    position: relative; overflow: hidden;
}
#philosophy::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(255,255,255,.02) 40px, rgba(255,255,255,.02) 80px
    );
    pointer-events: none;
}
#philosophy .section-label {
    background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
}
#philosophy .section-title { color: #fff; }

.philosophy-block {
    max-width: 760px; position: relative; z-index: 1;
}
.philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 600; font-style: italic;
    color: #fff; line-height: 1.8;
    padding: 32px 32px 32px 36px;
    border-left: 4px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 36px;
}
.philosophy-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.philosophy-list li {
    font-family: 'Inter', sans-serif;
    font-size: .95rem; color: rgba(255,255,255,.85);
    padding-left: 30px; position: relative; line-height: 1.65;
}
.philosophy-list li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.5);
}

/* ============================================
   CTA — Contact
   ============================================ */
.cta {
    background: #0b1d33 !important;
    color: var(--white); padding: 100px 0;
    text-align: center; position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute;
    top: -40%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(24,172,209,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.cta h2 {
    font-size: 2.3rem; font-weight: 700;
    margin-bottom: 16px; position: relative;
}
.cta p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; color: var(--gray-400);
    margin-bottom: 40px; max-width: 500px;
    margin-left: auto; margin-right: auto; position: relative;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: .95rem; font-weight: 600;
    transition: all var(--transition); cursor: pointer; border: none;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 4px 20px rgba(24,172,209,.4);
}
.btn-primary:hover {
    background: var(--primary-dark); color: var(--white);
    transform: translateY(-3px); box-shadow: 0 8px 30px rgba(24,172,209,.5);
}
.btn-outline {
    background: rgba(255,255,255,.05); color: var(--white);
    border: 1.5px solid rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1);
    color: var(--white); transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 30px 0; text-align: center;
}
.footer p { font-size: .85rem; color: var(--gray-500); }
.footer a { color: var(--gray-400); }
.footer a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .hero-inner { flex-direction: column-reverse; text-align: center; gap: 40px; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text .subtitle { margin: 0 auto 28px; }
    .hero-badges { justify-content: center; }
    .hero-photo img { width: 260px; height: 260px; }
    .hero-photo::before { inset: -10px; }
    .hero-photo::after { inset: -20px; }
    .hero-stats-inner { justify-content: center; }
    .clients-logos { justify-content: center; }
    .pillars-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .engage-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none; position: absolute;
        top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 24px; gap: 18px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-xl);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 120px 0 0; }
    .hero-text h1 { font-size: 2rem; }
    section { padding: 64px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stat-card { padding: 28px 22px; }
    .stat-number { font-size: 1.7rem; }
    .cta h2 { font-size: 1.8rem; }
    .clients-logos { gap: 20px; }
    .hero-stat-number { font-size: 1.3rem; }
    .hero-stats-inner { gap: 12px; }
}

/* ============================================
   SCROLL OFFSET + ANIMATIONS
   ============================================ */
[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: no-preference) {
    .stat-card, .pillar-card, .project-card, .engage-card, .cert-badge {
        opacity: 0; transform: translateY(24px);
        animation: fadeInUp .6s ease forwards;
    }
    .stat-card:nth-child(1) { animation-delay: .05s; }
    .stat-card:nth-child(2) { animation-delay: .1s; }
    .stat-card:nth-child(3) { animation-delay: .15s; }
    .stat-card:nth-child(4) { animation-delay: .2s; }
    .stat-card:nth-child(5) { animation-delay: .25s; }
    .stat-card:nth-child(6) { animation-delay: .3s; }
    .pillar-card:nth-child(1) { animation-delay: .1s; }
    .pillar-card:nth-child(2) { animation-delay: .2s; }
    .pillar-card:nth-child(3) { animation-delay: .3s; }
    .project-card:nth-child(1) { animation-delay: .05s; }
    .project-card:nth-child(2) { animation-delay: .12s; }
    .project-card:nth-child(3) { animation-delay: .19s; }
    .project-card:nth-child(4) { animation-delay: .26s; }
    .project-card:nth-child(5) { animation-delay: .33s; }
    .project-card:nth-child(6) { animation-delay: .4s; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PARCOURS TIMELINE
   ============================================ */
.parcours-timeline {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid var(--gray-200);
}
.parcours-step {
    position: relative;
    padding: 0 0 24px 20px;
}
.parcours-step:last-child { padding-bottom: 0; }
.parcours-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}
.parcours-step p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* ============================================
   CLIENTS DETAIL GRID
   ============================================ */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.client-detail-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: var(--transition);
}
.client-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.client-detail-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.client-detail-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .clients-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRESS GRID
   ============================================ */
.press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.press-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
}
.press-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.press-source {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 8px;
}
.press-card p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .press-grid { grid-template-columns: 1fr; }
}
