/* ==========================================================================
   VISION7 — Homepage mockup
   Palette : #0A0A0F (noir) · #0D1B2A (bleu nuit) · #1A2E4A (bleu profond)
   Accents : #FFFFFF · #3B82F6 (bleu électrique CTA)
   ========================================================================== */

:root {
    --bg-0: #08080C;
    --bg-1: #0A0A0F;
    --bg-2: #0D1B2A;
    --bg-3: #1A2E4A;
    --surface: #11121A;
    --surface-hover: #1A1D2B;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dim: rgba(255, 255, 255, 0.45);
    --accent: #3B82F6;
    --accent-hover: #60A5FA;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --radius: 14px;
    --radius-lg: 24px;
    --container: 1240px;
    --nav-h: 96px;
    --display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--bg-1);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(8, 8, 12, 0.9);
}
.nav-container {
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.logo-img {
    height: 68px;
    width: auto;
    display: block;
}
.footer-brand .logo-img { height: 72px; }
.logo-text { font-size: 18px; }

.nav-links {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: auto;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    height: 2px; width: 0;
    background: var(--accent);
    transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px; height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: var(--body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -8px var(--accent-glow);
}
.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}

/* =============== HERO =============== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 80px) 0 120px;
    overflow: hidden;
    background:
        radial-gradient(1000px 600px at 80% 10%, rgba(59,130,246,0.15), transparent 60%),
        radial-gradient(800px 500px at 10% 90%, rgba(26,46,74,0.6), transparent 60%),
        var(--bg-1);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.pulse {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}
.hero-title {
    font-family: var(--display);
    font-size: clamp(42px, 6.2vw, 84px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    max-width: 1000px;
}
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 80px;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    max-width: 720px;
}
.stat-number {
    font-family: var(--display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff, #93C5FD);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* =============== SECTIONS =============== */
section { padding: 120px 0; }

.section-header { margin-bottom: 64px; max-width: 780px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.section-subtitle {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============== ABOUT =============== */
.about { background: var(--bg-0); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text .lead {
    font-size: 22px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 500;
}
.about-text p {
    font-size: 16px;
    color: var(--text-muted);
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.value-item {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
}
.value-item:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.value-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.12);
    border-radius: 10px;
    color: var(--accent);
    margin-bottom: 16px;
}
.value-icon svg { width: 20px; height: 20px; }
.value-item h4 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.value-item p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* =============== SERVICES =============== */
.services {
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(59,130,246,0.08), transparent 60%),
        var(--bg-1);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.service-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-card--featured {
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 55%, var(--surface));
    border-color: rgba(59,130,246,0.2);
}
.service-number {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 14px;
    color: var(--accent);
    margin-bottom: 28px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.service-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.service-list {
    margin-bottom: 32px;
}
.service-list li {
    font-size: 14.5px;
    color: var(--text-muted);
    padding: 10px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-list li::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.service-list li:last-child { border-bottom: 1px solid var(--border); }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s;
}
.service-link:hover { gap: 12px; color: var(--accent-hover); }

/* =============== REALISATIONS =============== */
.realisations { background: var(--bg-0); }
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.realisation-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}
.realisation-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}
.realisation-image {
    aspect-ratio: 16 / 9;
    background: var(--img, linear-gradient(135deg, #1a2e4a, #0d1b2a));
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px;
}
.realisation-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(59,130,246,0.15), transparent 50%),
        linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}
.realisation-tag {
    position: relative;
    z-index: 1;
    padding: 6px 12px;
    background: rgba(10,10,15,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.realisation-info {
    padding: 24px 28px 28px;
}
.realisation-info h4 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.realisation-info p {
    font-size: 14.5px;
    color: var(--text-muted);
}
.section-cta { text-align: center; }

/* =============== TESTIMONIALS =============== */
.testimonials {
    background:
        radial-gradient(1000px 500px at 50% 100%, rgba(26,46,74,0.6), transparent 70%),
        var(--bg-1);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial {
    position: relative;
    padding: 40px 32px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}
.testimonial:hover { border-color: var(--border-strong); }
.quote-mark {
    font-family: var(--display);
    font-size: 64px;
    line-height: 0.5;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 20px;
    height: 24px;
}
.testimonial blockquote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 28px;
}
.testimonial figcaption {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial figcaption strong {
    font-weight: 600;
    font-size: 15px;
}
.testimonial figcaption span {
    font-size: 13px;
    color: var(--text-dim);
}

/* =============== CTA FINAL =============== */
.cta-final { padding: 80px 0 120px; background: var(--bg-1); }
.cta-box {
    position: relative;
    padding: 80px 48px;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(59,130,246,0.2), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
}
.cta-box::before {
    content: "";
    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: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-title {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 16px 0 20px;
}
.cta-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============== FOOTER =============== */
.footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin: 20px 0 24px;
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.2s;
}
.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.footer-col h5 {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
    color: var(--text-muted);
    font-size: 14.5px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-dim);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

/* =============== NAV ACTIVE =============== */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* =============== PAGE HERO (sub-pages) =============== */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 0 80px;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 80% 20%, rgba(59,130,246,0.15), transparent 60%),
        radial-gradient(700px 400px at 10% 90%, rgba(26,46,74,0.5), transparent 60%),
        var(--bg-1);
}
.page-hero-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
    font-weight: 500;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }

.page-title {
    font-family: var(--display);
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 20px 0 24px;
    max-width: 960px;
}
.page-subtitle {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 40px;
}
.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}
.meta-item svg { color: var(--accent); flex-shrink: 0; }

/* =============== AXIS SECTIONS =============== */
.axis { padding: 120px 0; background: var(--bg-1); }
.axis--alt { background: var(--bg-0); }

.axis-header { margin-bottom: 72px; max-width: 820px; }
.axis-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px 8px 10px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 999px;
    margin-bottom: 24px;
}
.axis-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: var(--accent);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.axis-name {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-right: 4px;
}
.axis-title {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.axis-intro {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =============== FORMATION GRID =============== */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.formation-card {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    overflow: hidden;
}
.formation-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.formation-card--featured {
    grid-column: span 2;
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 55%, var(--surface));
    border-color: rgba(59,130,246,0.25);
}
.formation-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.2);
    color: var(--accent-hover);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.formation-card h3 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.formation-card--featured h3 { font-size: 26px; }
.formation-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============== PARTNER CALLOUT =============== */
.partner-callout {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 8px;
}
.partner-logo {
    flex-shrink: 0;
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.partner-text .eyebrow { margin-bottom: 6px; }
.partner-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* =============== PROCESS STEPS =============== */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}
.process-line {
    position: absolute;
    top: 22px; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(59,130,246,0.4) 10%,
        rgba(59,130,246,0.4) 90%,
        transparent);
    z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-num {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-3);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 0 0 4px var(--bg-1), 0 0 20px rgba(59,130,246,0.3);
}
.axis--alt .process-num { box-shadow: 0 0 0 4px var(--bg-0), 0 0 20px rgba(59,130,246,0.3); }
.process-step h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.process-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* =============== EXAMPLES =============== */
.examples-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}
.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.example-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
    transition: all 0.2s;
}
.example-item:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
}
.example-item svg {
    width: 22px; height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

/* =============== PRESTATION GRID =============== */
.prestation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.prestation-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
}
.prestation-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.prestation-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}
.prestation-icon svg { width: 22px; height: 22px; }
.prestation-card h4 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.prestation-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============== PRICING =============== */
.pricing { padding: 80px 0; background: var(--bg-0); }
.pricing-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 48px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(59,130,246,0.15), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    text-align: center;
}
.pricing-title {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
}
.pricing-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 620px;
    margin-left: auto; margin-right: auto;
}
.pricing-text:last-of-type { margin-bottom: 32px; }

/* =============== FAQ =============== */
.faq { padding: 120px 0; background: var(--bg-1); }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(59,130,246,0.3); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 28px; height: 28px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}
.faq-answer p { margin: 0; }

/* =============== HERO NOTE =============== */
.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 40px;
}
.hero-note svg { color: var(--accent); }

/* =============== STATS BAND =============== */
.stats-band {
    padding: 0;
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-band .container { padding-top: 48px; padding-bottom: 48px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-band-item {
    text-align: center;
    padding: 8px 0;
    border-left: 1px solid var(--border);
}
.stat-band-item:first-child { border-left: none; }
.stat-band-num {
    font-family: var(--display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff, #93C5FD);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat-band-label {
    font-size: 13.5px;
    color: var(--text-dim);
    margin-top: 8px;
    font-weight: 500;
}

/* =============== CHURCHES =============== */
.churches { padding: 120px 0; background: var(--bg-1); }
.churches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.church-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.church-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}
.church-card--featured {
    grid-column: span 2;
    background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 55%, var(--surface));
    border-color: rgba(59,130,246,0.25);
}
.church-visual {
    aspect-ratio: 16 / 6;
    background: var(--img);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}
.church-card--featured .church-visual { aspect-ratio: 16 / 4; }
.church-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(59,130,246,0.15), transparent 55%),
        linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3));
}
.church-status,
.church-badge {
    position: relative;
    z-index: 1;
    padding: 6px 12px;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
    background: rgba(10,10,15,0.7);
    color: #fff;
}
.church-status::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}
.status-active::before { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.status-live::before {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-dot 2s infinite;
}
.status-done::before { background: rgba(255,255,255,0.4); }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.church-badge {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.3);
    color: #93C5FD;
}
.church-body { padding: 28px 32px 32px; }
.church-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 14px;
    font-weight: 500;
}
.church-location svg { color: var(--accent); }
.church-card h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}
.church-card--featured h3 { font-size: 30px; }
.church-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.church-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.church-tags span {
    padding: 6px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
}

/* =============== TEAM =============== */
.team { padding: 120px 0; background: var(--bg-0); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-card {
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.25s ease;
}
.team-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.team-photo {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(59,130,246,0.25);
    background: var(--bg-3);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-card h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13.5px;
    color: var(--accent-hover);
    font-weight: 500;
    margin-bottom: 2px;
}
.team-church {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
    min-height: 34px;
}
.team-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.team-domains span {
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
}

/* 5-item testimonials grid : 3 on top, 2 centered below */
.testimonials-grid--5 {
    grid-template-columns: repeat(6, 1fr);
}
.testimonials-grid--5 > * { grid-column: span 2; }
.testimonials-grid--5 > :nth-child(4) { grid-column: 2 / span 2; }
.testimonials-grid--5 > :nth-child(5) { grid-column: 4 / span 2; }

/* =============== VALUES BAND (Resources page) =============== */
.values-band {
    padding: 0;
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.values-band .container { padding-top: 64px; padding-bottom: 64px; }
.values-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.value-band-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.value-band-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 4px;
}
.value-band-icon svg { width: 22px; height: 22px; }
.value-band-item h4 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.value-band-item p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============== RESOURCES GRID =============== */
.resources { padding: 120px 0; background: var(--bg-1); }
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.resource-card {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.resource-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.resource-filetype {
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
}
.filetype-pdf { background: #dc2626; }
.filetype-xlsx { background: #059669; }
.filetype-zip { background: #7c3aed; }
.filetype-docx { background: #2563eb; }
.resource-status {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.resource-status--available {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    font-weight: 600;
}
.resource-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    color: var(--accent-hover);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: -2px;
}
.resource-card h3 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}
.resource-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    align-self: flex-start;
    margin-top: 4px;
}
.resource-link:not(.disabled):hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}
.resource-link.disabled {
    color: var(--text-dim);
    cursor: not-allowed;
    pointer-events: none;
}

/* =============== WANT MORE =============== */
.want-more { padding: 80px 0 120px; background: var(--bg-0); }
.want-more-box {
    position: relative;
    padding: 72px 56px;
    background:
        radial-gradient(800px 400px at 0% 100%, rgba(59,130,246,0.18), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.want-more-box::before {
    content: "";
    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: 40px 40px;
    mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 70%);
    pointer-events: none;
}
.want-more-text { position: relative; z-index: 1; max-width: 720px; }
.want-more-text h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 16px 0 20px;
}
.want-more-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
}
.want-more-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =============== MODAL (email gate) =============== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}
.modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 40px 36px 32px;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(59,130,246,0.12), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
    animation: slideUp 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
}
.modal-state--success { text-align: center; }
.modal-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 14px;
    color: var(--accent-hover);
    margin-bottom: 20px;
}
.modal-state--success .modal-icon {
    margin: 0 auto 20px;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}
.modal-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 10px 0 12px;
}
.modal-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.modal-state--success .modal-desc { margin-bottom: 28px; }

/* Form fields */
.gate-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea,
.form-field select {
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-dim);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.35);
}
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 6px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}
.form-consent input[type="checkbox"] {
    width: 16px; height: 16px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}
.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}
.form-legal {
    font-size: 11.5px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 6px;
    line-height: 1.5;
}

/* =============== RESOURCE DETAIL PAGE =============== */
.resource-hero { padding: calc(var(--nav-h) + 60px) 0 60px; background: var(--bg-1); position: relative; overflow: hidden; }
.resource-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 15% 10%, rgba(59,130,246,0.12), transparent 60%),
        radial-gradient(500px 300px at 90% 100%, rgba(59,130,246,0.08), transparent 60%);
    pointer-events: none;
}
.resource-hero .container { position: relative; z-index: 1; }
.resource-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 18px;
}
.resource-hero-meta .resource-filetype { font-size: 12px; padding: 7px 12px; }
.resource-hero-meta .resource-tag { margin-top: 0; }
.resource-hero-meta .resource-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.resource-hero-meta .resource-duration svg { width: 14px; height: 14px; }
.resource-title {
    font-family: var(--display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    max-width: 900px;
    margin: 0 0 20px;
}
.resource-lede {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}

/* Two-column layout: content + sticky form */
.resource-body { padding: 80px 0 120px; background: var(--bg-0); }
.resource-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 60px;
    align-items: start;
}
.resource-content { min-width: 0; }
.resource-content h2 {
    font-family: var(--display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 20px;
}
.resource-content h2:not(:first-child) { margin-top: 56px; }
.resource-content p {
    font-size: 16.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 18px;
}
.resource-content p strong { color: var(--text); font-weight: 600; }

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.resource-list li {
    position: relative;
    padding: 16px 18px 16px 54px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.55;
}
.resource-list li::before {
    content: "";
    position: absolute;
    left: 18px; top: 18px;
    width: 22px; height: 22px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 6px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}
.resource-list li strong { color: var(--text); font-weight: 600; }

.resource-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.resource-steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 22px 20px 72px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.resource-steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 22px; top: 20px;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 10px;
}
.resource-steps li h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}
.resource-steps li p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.resource-callout {
    margin: 32px 0;
    padding: 24px 26px;
    background:
        radial-gradient(500px 200px at 0% 0%, rgba(59,130,246,0.1), transparent 60%),
        var(--surface);
    border: 1px solid rgba(59,130,246,0.25);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}
.resource-callout h4 {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin: 0 0 8px;
}
.resource-callout p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Sticky email gate form (right column) */
.resource-gate-card {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    padding: 32px 28px;
    background:
        radial-gradient(500px 250px at 0% 0%, rgba(59,130,246,0.12), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.resource-gate-card .modal-icon { margin-bottom: 16px; }
.resource-gate-card .eyebrow { color: var(--accent-hover); }
.resource-gate-card h3 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 8px 0 10px;
}
.resource-gate-card .gate-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 22px;
}
.resource-gate-card .gate-success {
    text-align: center;
    padding: 20px 0;
}
.resource-gate-card .gate-success .modal-icon {
    margin: 0 auto 16px;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}
.resource-gate-card .gate-success h3 { margin-top: 0; }

/* Related resources */
.resource-related { padding: 80px 0 120px; background: var(--bg-1); border-top: 1px solid var(--border); }
.resource-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

/* =============== CONTACT PAGE =============== */
.contact-body { padding: 80px 0 100px; background: var(--bg-0); }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-form-card {
    padding: 48px 44px;
    background:
        radial-gradient(700px 350px at 0% 0%, rgba(59,130,246,0.1), transparent 60%),
        linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.contact-form-title {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 14px 0 12px;
}
.contact-form-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 32px;
}

.contact-form { gap: 18px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-required { color: var(--accent); margin-left: 2px; }
.form-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--body);
    line-height: 1.55;
}

/* Radio cards (type de demande) */
.form-radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.form-radio-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.form-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.form-radio-card:hover {
    border-color: var(--border-strong);
    background: rgba(0, 0, 0, 0.35);
}
.form-radio-card:has(input:checked) {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 1px var(--accent) inset;
}
.form-radio-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.form-radio-content strong {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}
.form-radio-content small {
    font-size: 12.5px;
    color: var(--text-dim);
}
.form-radio-card:has(input:checked) .form-radio-content small {
    color: var(--text-muted);
}

.link-subtle { color: var(--accent-hover); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(59,130,246,0.4); text-underline-offset: 2px; }
.link-subtle:hover { text-decoration-color: var(--accent-hover); }

.contact-success { text-align: center; padding: 64px 44px; }
.contact-success .modal-icon--success { margin: 0 auto 20px; }

/* Info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.contact-info-card {
    padding: 28px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-info-card--accent {
    background:
        radial-gradient(400px 200px at 0% 0%, rgba(59,130,246,0.12), transparent 60%),
        var(--surface);
    border-color: rgba(59,130,246,0.25);
    border-left: 3px solid var(--accent);
}
.contact-info-title {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 20px;
}
.contact-info-card--accent .contact-info-title {
    color: var(--accent-hover);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.contact-info-item:first-of-type { border-top: none; padding-top: 0; }
.contact-info-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 9px;
    color: var(--accent);
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-item > div:last-child { flex: 1; min-width: 0; }
.contact-info-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-info-value {
    display: block;
    font-size: 14.5px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.45;
    word-break: break-word;
}
a.contact-info-value:hover { color: var(--accent-hover); }
.contact-info-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.contact-info-text strong { color: var(--text); font-weight: 600; }
.contact-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}
.contact-social-item:hover {
    border-color: var(--border-strong);
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

/* Trust band */
.contact-trust { padding: 0 0 120px; background: var(--bg-0); }
.contact-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.contact-trust-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-trust-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 11px;
    color: var(--accent);
    margin-bottom: 6px;
}
.contact-trust-icon svg { width: 22px; height: 22px; }
.contact-trust-item h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}
.contact-trust-item p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 960px) {
    section, .axis, .faq, .churches, .team, .resources, .want-more { padding: 80px 0; }
    .values-band-grid { grid-template-columns: 1fr; gap: 32px; }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-layout { grid-template-columns: 1fr; gap: 40px; }
    .resource-gate-card { position: static; }
    .resource-related-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-info { position: static; }
    .contact-trust-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
    .contact-form-card { padding: 40px 32px; }
    .want-more-box { padding: 56px 32px; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 12px 24px 24px;
        background: var(--surface);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }
    .nav-links.open { display: flex; }
    .nav-links li { list-style: none; }
    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 16px;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links a::after { display: none; }
    .nav-toggle { display: flex; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-toggle span { transition: transform 0.2s, opacity 0.2s; }
    .services-grid,
    .testimonials-grid,
    .testimonials-grid--5,
    .prestation-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .formation-grid { grid-template-columns: repeat(2, 1fr); }
    .formation-card--featured { grid-column: span 2; }
    .process { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .process-line { display: none; }
    .examples-grid { grid-template-columns: 1fr; }
    .partner-callout { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .stat-band-item { border-left: none; }
    .churches-grid { grid-template-columns: 1fr; }
    .church-card--featured { grid-column: span 1; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .realisations-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero { padding: calc(var(--nav-h) + 60px) 0 80px; }
    .hero-stats { gap: 32px; }
    .stat-number { font-size: 30px; }
    .realisations-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 56px 24px; }
    .pricing-box { padding: 48px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .btn { padding: 13px 20px; font-size: 14.5px; }
    .btn-lg { padding: 16px 24px; font-size: 15px; }
    .formation-grid { grid-template-columns: 1fr; }
    .formation-card--featured { grid-column: span 1; }
    .process { grid-template-columns: 1fr; }
    .faq-item summary { padding: 18px 20px; font-size: 15.5px; }
    .faq-answer { padding: 0 20px 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-band-num { font-size: 34px; }
    .team-grid { grid-template-columns: 1fr; }
    .church-body { padding: 24px; }
    .church-card h3 { font-size: 21px; }
    .church-card--featured h3 { font-size: 24px; }
    .resources-grid { grid-template-columns: 1fr; }
    .resource-related-grid { grid-template-columns: 1fr; }
    .resource-gate-card { padding: 28px 22px; }
    .want-more-box { padding: 48px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .form-radio-grid { grid-template-columns: 1fr; }
    .contact-form-card { padding: 32px 22px; }
    .contact-info-card { padding: 24px 22px; }
}

/* =============== AXIS CTA =============== */
.axis-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* =============== FORMATION MODALS =============== */
body.modal-open { overflow: hidden; }

.formation-card--clickable {
    cursor: pointer;
    user-select: none;
}
.formation-card--clickable:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.6);
}
.formation-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-hover);
    transition: transform 0.2s ease;
}
.formation-card--clickable:hover .formation-cta {
    transform: translateX(3px);
}

.modal-panel--wide {
    max-width: 620px;
    padding: 44px 40px 32px;
}
.formation-modal .formation-tag { margin-bottom: 14px; }
.formation-modal .modal-title {
    font-size: 26px;
    margin: 0 0 20px;
}
.formation-modal .modal-body p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    margin: 0 0 14px;
}
.formation-modal .modal-body p:last-child { margin-bottom: 0; }
.formation-modal .modal-body strong { color: var(--text); font-weight: 600; }
.formation-modal .modal-body em { color: var(--text); font-style: italic; }

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 22px 0 4px;
    font-size: 14px;
}
.modal-meta span {
    color: var(--text);
    font-weight: 600;
}
.modal-meta span strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.slots-section h4 {
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 26px 0 12px;
}
.slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.slot-chip {
    display: block;
    padding: 12px 14px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.28);
    border-radius: 10px;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
}
.slot-chip:hover {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.55);
    transform: translateY(-1px);
}
.slots-hint {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.55;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
    .slots-grid { grid-template-columns: 1fr; }
    .modal-panel--wide { padding: 34px 24px 24px; }
    .formation-modal .modal-title { font-size: 22px; }
    .modal-meta { gap: 18px; padding: 14px 16px; }
}
