/* ========================================
   ACC Coaching × Érik Gravel
   Mobile-first styles
   ======================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties - Palette basée sur la photo d'équipe (tons bleu-marine/acier froid) */
:root {
    --bg-primary: #080C14;
    --bg-elevated: #111827;
    --bg-surface: rgba(130, 170, 210, 0.04);

    --text-primary: #F0F2F5;
    --text-secondary: #7A8BA0;
    --text-tertiary: #4A5568;

    --accent: #C8A960;
    --accent-hover: #D4B86E;
    --accent-subtle: rgba(200, 169, 96, 0.10);
    --accent-border: rgba(200, 169, 96, 0.20);

    --glow: rgba(100, 160, 220, 0.06);
    --glow-inner: rgba(100, 160, 220, 0.02);

    --border-subtle: rgba(130, 170, 210, 0.06);
    --border-light: rgba(130, 170, 210, 0.10);

    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --ease-out-expo: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: rgba(130, 170, 210, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    transition: background 500ms var(--ease-out-expo),
                border-color 500ms var(--ease-out-expo);
}

.nav-pill.scrolled {
    background: rgba(130, 170, 210, 0.06);
    border-color: var(--border-light);
}

.nav-wordmark {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.nav-x {
    color: var(--accent);
    margin: 0 0.125rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.25rem 1.25rem 4rem;
    overflow: hidden;
    background-image: url('../assets/images/hero-mobile.png');
    background-size: 115%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* Overlay flouté qui fade out vers les visages */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 70%);
    mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-align: center;
    padding: 1.25rem 1.5rem;
}

/* Eyebrow pill */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    margin-bottom: 2rem;
}

/* Hero title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.2rem + 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.1875rem);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

.hero-anchor {
    font-family: var(--font-heading);
    font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin: 0 auto 2.5rem;
}

/* CTA Button - Button-in-Button pattern */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bg-primary);
    background-color: var(--accent);
    padding: 0.875rem 1rem 0.875rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 600ms var(--ease-out-expo),
                transform 300ms var(--ease-out-expo);
}

.cta-button:hover {
    background-color: var(--accent-hover);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    transition: transform 600ms var(--ease-out-expo);
}

.cta-button:hover .cta-arrow {
    transform: translateX(2px) translateY(-1px) scale(1.05);
}

.cta-arrow svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Waitlist Counter */
.waitlist-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.waitlist-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #34D399;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========================================
   Entry Animations
   ======================================== */

.fade-up {
    opacity: 0;
    transform: translateY(1.5rem);
    filter: blur(6px);
    transition-property: opacity, transform, filter;
    transition-duration: 800ms;
    transition-timing-function: var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ========================================
   Tablet & Desktop
   ======================================== */

@media (min-width: 768px) {
    .hero {
        min-height: 85dvh;
        background-image: url('../assets/images/hero-desktop.png');
        background-size: 130%;
        background-position: right 20%;
        align-items: center;
        justify-content: flex-start;
        padding: 4rem 2rem;
    }

    .hero::after {
        -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, transparent 60%);
        mask-image: linear-gradient(to right, black 0%, black 30%, transparent 60%);
    }

    .hero-content {
        max-width: 60%;
        width: 100%;
        text-align: left;
        padding-left: 5%;
    }

    .eyebrow {
        font-size: 0.6875rem;
    }

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.75rem;
    }

    .hero-subtitle {
        margin: 0 0 1.25rem;
    }

    .hero-anchor {
        margin: 0 0 3rem;
    }
}

/* ========================================
   Section 2 — Le Problème
   ======================================== */

.problem {
    position: relative;
    padding: 6rem 1.25rem;
    background-color: var(--bg-elevated);
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(200, 169, 96, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.problem-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.problem::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(200, 169, 96, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 96, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 40%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 40%, transparent 90%);
    pointer-events: none;
    z-index: 0;
}

/* Intro */
.problem-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.problem-intro .eyebrow {
    margin-bottom: 1.5rem;
    border-color: rgba(200, 169, 96, 0.4);
    background: rgba(200, 169, 96, 0.05);
}

.problem-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.problem-lead {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    line-height: 1.75;
    color: rgba(240, 242, 245, 0.85);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.text-highlight {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(200, 169, 96, 0.6);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.problem-lead--strong {
    color: var(--accent);
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background: radial-gradient(ellipse at center, rgba(200, 169, 96, 0.15) 0%, transparent 70%);
}

/* Stats */
.problem-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), transparent);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(200, 169, 96, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(200, 169, 96, 0.2);
}

.stat-small {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.stat-unit {
    font-size: 2rem;
}

.stat-label {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(240, 242, 245, 0.85);
}

/* Consequences */
.problem-consequences {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.consequence-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: background 300ms ease, border-color 300ms ease;
    position: relative;
    overflow: hidden;
}

.consequence-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.consequence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    opacity: 0.5;
    transition: opacity 400ms ease;
}

.consequence-card:hover::before {
    opacity: 1;
}

.consequence-icon {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(200, 169, 96, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
}

.consequence-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.consequence-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(240, 242, 245, 0.75);
}

/* Closing */
.problem-closing {
    text-align: center;
}

.problem-verdict {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-primary);
    max-width: 580px;
    margin: 0 auto;
}

/* ========================================
   Section 2 — Desktop
   ======================================== */

@media (min-width: 768px) {
    .problem {
        padding: 8rem 2rem;
    }

    .problem-inner {
        max-width: 1000px;
    }

    .problem-intro {
        margin-bottom: 5rem;
    }

    .problem-stats {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .stat-card {
        padding: 3.5rem 2.5rem;
    }

    .problem-consequences {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .consequence-card {
        padding: 3rem 2.5rem;
    }
}

/* ========================================
   Section 3 — Le Guide (SB7 Element 3)
   ======================================== */

.guide {
    position: relative;
    padding: 6rem 1.25rem;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.guide::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(200, 169, 96, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.guide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 169, 96, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 96, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 50%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 50%, transparent 90%);
    pointer-events: none;
    z-index: 0;
}

.guide-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

/* Empathy intro */
.guide-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-intro .eyebrow {
    margin-bottom: 1.5rem;
    border-color: rgba(200, 169, 96, 0.4);
    background: rgba(200, 169, 96, 0.05);
}

.guide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.guide-lead {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    line-height: 1.75;
    color: rgba(240, 242, 245, 0.85);
    max-width: 640px;
    margin: 0 auto;
}

/* Person rows — Zigzag layout */
.person-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

/* Image container */
.person-image {
    flex-shrink: 0;
}

.person-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 20rem;
    border-radius: 1.25rem;
    background: rgba(200, 169, 96, 0.08);
    border: 1px solid rgba(200, 169, 96, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.photo-placeholder {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

/* Person content */
.person-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.person-role {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.person-bio {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(240, 242, 245, 0.8);
    margin-bottom: 1.5rem;
}

.person-bio:last-child {
    margin-bottom: 0;
}

/* Person stats (Érik) */
.person-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.person-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.person-stat {
    text-align: center;
}

.person-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(200, 169, 96, 0.2);
}

.person-stat-plus {
    font-size: 1.125rem;
}

.person-stat-label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(240, 242, 245, 0.7);
}

/* Person tags */
.person-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.company-tag {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(240, 242, 245, 0.7);
    padding: 0.4375rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    transition: border-color 400ms var(--ease-out-expo),
                color 400ms var(--ease-out-expo);
}

.company-tag:hover {
    border-color: rgba(200, 169, 96, 0.3);
    color: var(--text-primary);
}

/* Alliance closing */
.guide-alliance {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: radial-gradient(ellipse at center, rgba(200, 169, 96, 0.12) 0%, transparent 70%);
    border-radius: 1.25rem;
}

.guide-alliance-text {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 580px;
    margin: 0 auto;
}

/* ========================================
   Section 3 — Desktop
   ======================================== */

@media (min-width: 768px) {
    .guide {
        padding: 8rem 2rem;
    }

    .guide-inner {
        max-width: 1000px;
    }

    .guide-intro {
        margin-bottom: 5rem;
    }

    /* Zigzag: image left / text right par defaut */
    .person-row {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .person-image {
        width: 40%;
    }

    .person-image-placeholder {
        max-height: none;
    }

    .person-content {
        width: 60%;
    }

    /* Reversed: image right / text left */
    .person-row--reversed {
        flex-direction: row-reverse;
    }

    .person-name {
        font-size: 1.75rem;
    }

    .person-stat-number {
        font-size: 2.25rem;
    }

    .person-stat-label {
        font-size: 0.8125rem;
    }

    .person-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.75rem;
    }

    .person-stat:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .guide-alliance {
        padding: 3rem 2.5rem;
    }
}

/* ========================================
   Section 4 — Le Plan (SB7 Element 4)
   ======================================== */

.plan {
    position: relative;
    padding: 6rem 1.25rem;
    background-color: var(--bg-elevated);
    overflow: hidden;
}

.plan::before {
    content: '';
    position: absolute;
    top: 40%;
    right: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(200, 169, 96, 0.03) 0%, transparent 70%);
    transform: translate(50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.plan::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 169, 96, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 96, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 60%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 60%, transparent 95%);
    pointer-events: none;
    z-index: 0;
}

.plan-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

/* Plan intro */
.plan-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.plan-intro .eyebrow {
    margin-bottom: 1.5rem;
    border-color: rgba(200, 169, 96, 0.4);
    background: rgba(200, 169, 96, 0.05);
}

.plan-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* Steps */
.plan-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.plan-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), transparent);
    position: relative;
    overflow: hidden;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 400ms var(--ease-out-expo),
                border-color 400ms var(--ease-out-expo);
}

.plan-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(200, 169, 96, 0.25);
}

.plan-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    opacity: 0.4;
    transition: opacity 400ms ease;
}

.plan-step:hover::before {
    opacity: 1;
}

/* Step number */
.step-number-wrap {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 96, 0.1);
    border: 1px solid rgba(200, 169, 96, 0.2);
    border-radius: 1rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(200, 169, 96, 0.2);
}

/* Step content */
.step-content {
    flex: 1;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(240, 242, 245, 0.75);
}

/* Plan CTA */
.plan-cta {
    text-align: center;
}

/* ========================================
   Section 4 — Desktop
   ======================================== */

/* Section image break (inline) */
.section-image {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.section-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    background: rgba(200, 169, 96, 0.06);
    border: 1px solid rgba(200, 169, 96, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

/* Full-width image break (between sections) */
.full-image-break {
    width: 100%;
    overflow: hidden;
}

.full-image-placeholder {
    width: 100%;
    aspect-ratio: 21 / 9;
    background: rgba(200, 169, 96, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-image-break img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.full-image-break img.full-image--portrait {
    aspect-ratio: 4 / 5;
}

/* Team image break: mobile/desktop switch */
.team-image-desktop {
    display: none;
}

/* Parallax image break */
.full-image-parallax {
    height: 50vh;
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    position: relative;
}

.full-image-parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 30, 0.45),
        rgba(12, 20, 45, 0.55)
    );
    pointer-events: none;
}

/* Parallax container (img-based, iOS compatible) */
.parallax-container {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.parallax-img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 30, 0.45),
        rgba(12, 20, 45, 0.55)
    );
    pointer-events: none;
}

@media (min-width: 768px) {
    .full-image-break img {
        aspect-ratio: 3 / 1;
    }

    .full-image-break img.full-image--portrait {
        aspect-ratio: 16 / 9;
        max-height: 85vh;
    }

    .team-image-desktop {
        display: block;
    }

    .team-image-mobile {
        display: none;
    }

    .full-image-parallax {
        height: 60vh;
    }

    .parallax-container {
        height: 60vh;
    }

    .parallax-img {
        height: 140%;
    }
}

/* Section CTA (reusable) */
.section-cta {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .plan {
        padding: 8rem 2rem;
    }

    .plan-inner {
        max-width: 1000px;
    }

    .plan-intro {
        margin-bottom: 5rem;
    }

    .plan-steps {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .plan-step {
        flex: 1;
        padding: 2.5rem 2rem;
    }

    .step-number-wrap {
        width: 4rem;
        height: 4rem;
        margin-bottom: 0.5rem;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.375rem;
    }

    .step-text {
        font-size: 1.0625rem;
    }
}

/* ========================================
   Section 5 — Contact / CTA (SB7 Elements 5 + 7)
   ======================================== */

.contact {
    position: relative;
    padding: 6rem 1.25rem;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(200, 169, 96, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.contact-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    z-index: 1;
}

/* Vision / Success */
.contact-vision {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-vision .eyebrow {
    margin-bottom: 1.5rem;
    border-color: rgba(200, 169, 96, 0.4);
    background: rgba(200, 169, 96, 0.05);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 1.3rem + 2.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-lead {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    line-height: 1.75;
    color: rgba(240, 242, 245, 0.8);
    max-width: 540px;
    margin: 0 auto;
}

/* CTA button */
.contact-cta {
    text-align: center;
}

.cta-button--large {
    font-size: 1.0625rem;
    padding: 1.125rem 1.25rem 1.125rem 2rem;
    border: none;
    cursor: pointer;
}

/* ========================================
   Modal Multi-Step
   ======================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms var(--ease-out-expo);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    width: 100%;
    max-width: 480px;
    max-height: 90dvh;
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    position: relative;
    transform: translateY(1.5rem) scale(0.97);
    transition: transform 500ms var(--ease-out-expo);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem;
    margin: -0.75rem -0.75rem 0 0;
    position: relative;
    z-index: 10;
    transition: color 300ms var(--ease-out-expo);
    -webkit-tap-highlight-color: transparent;
}

.modal-close svg {
    pointer-events: none;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Progress bar */
.modal-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 25%;
    background: var(--accent);
    border-radius: 100px;
    transition: width 500ms var(--ease-out-expo);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Steps */
.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.step-question {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Availability options */
.availability-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.availability-option {
    display: block;
    cursor: pointer;
}

.availability-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.availability-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: border-color 300ms var(--ease-out-expo),
                background 300ms var(--ease-out-expo);
}

.availability-detail {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.availability-option input:checked + .availability-label {
    border-color: rgba(200, 169, 96, 0.5);
    background: rgba(200, 169, 96, 0.08);
}

.availability-option:hover .availability-label {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Success state */
.modal-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: border-color 400ms var(--ease-out-expo),
                background 400ms var(--ease-out-expo);
}

.cta-button--outline:hover {
    border-color: rgba(200, 169, 96, 0.4);
    background: rgba(200, 169, 96, 0.06);
}

/* Modal navigation */
.modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.modal-back {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 300ms var(--ease-out-expo);
    opacity: 0;
    pointer-events: none;
}

.modal-back.visible {
    opacity: 1;
    pointer-events: all;
}

.modal-back:hover {
    color: var(--text-primary);
}

/* Form fields */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(240, 242, 245, 0.7);
    margin-bottom: 0.5rem;
}

.form-optional {
    font-weight: 400;
    color: rgba(240, 242, 245, 0.4);
}

/* Wizard cards */
.wizard-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wizard-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    color: #F0F2F5;
    background: rgba(255, 255, 255, 0.02);
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: left;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 400ms var(--ease-out-expo),
                border-color 400ms var(--ease-out-expo);
}

.wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    border-radius: 1rem 1rem 0 0;
    opacity: 0;
    transition: opacity 400ms ease;
}

.wizard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(200, 169, 96, 0.2);
}

.wizard-card:hover::before {
    opacity: 1;
}

.wizard-card:active {
    transform: translateY(-2px);
}

.wizard-card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(200, 169, 96, 0.08);
    color: #C8A960;
}

.wizard-card-icon svg {
    color: #C8A960;
    stroke: #C8A960;
}

.wizard-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.wizard-card-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #F0F2F5;
}

.wizard-card-desc {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: #7A8BA0;
    line-height: 1.4;
}

.wizard-card-arrow {
    flex-shrink: 0;
    color: #7A8BA0;
    transition: color 400ms var(--ease-out-expo),
                transform 400ms var(--ease-out-expo);
}

.wizard-card:hover .wizard-card-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    transition: border-color 400ms var(--ease-out-expo),
                box-shadow 400ms var(--ease-out-expo);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(240, 242, 245, 0.3);
}

.form-input:focus,
.form-textarea:focus {
    border-color: rgba(200, 169, 96, 0.4);
    box-shadow: 0 0 0 3px rgba(200, 169, 96, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

/* Submit button full width */
.cta-button--full {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
}

/* Reassurance */
.form-reassurance {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(240, 242, 245, 0.4);
    margin-top: 1.25rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 2rem 1.25rem;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(240, 242, 245, 0.4);
}

/* ========================================
   Section 5 + Footer — Desktop
   ======================================== */

@media (min-width: 768px) {
    .contact {
        padding: 8rem 2rem;
    }

    .contact-inner {
        max-width: 680px;
    }

    .contact-vision {
        margin-bottom: 4rem;
    }

    .modal {
        padding: 2.5rem;
    }

    .footer {
        padding: 3rem 2rem;
    }
}
