/* ════════════════════════════════
   RECOMMANDATIONS — Feature page
════════════════════════════════ */

/* ─── Shared buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--ncp-primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(28, 42, 58, 0.2);
}
.btn-primary--large {
    padding: 12px 28px;
    font-size: 15px;
}
.btn-primary--large:hover {
    box-shadow: 0 12px 40px rgba(28, 42, 58, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: 1px solid rgba(28, 42, 58, 0.25);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-outline:hover {
    background: rgba(28, 42, 58, 0.04);
    border-color: rgba(28, 42, 58, 0.4);
}
.btn-outline--light {
    border-color: rgba(28, 42, 58, 0.2);
}

/* ─── Section label with rotating glow ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ncp-primary);
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    position: relative;
    background: #fff;
    z-index: 0;
}
.section-label::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    background: conic-gradient(
        from var(--label-angle, 0deg),
        var(--ncp-secondary),
        var(--ncp-primary),
        var(--ncp-secondary),
        var(--ncp-primary),
        var(--ncp-secondary)
    );
    z-index: -2;
    animation: labelGlow 4s linear infinite;
}
.section-label::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 100px;
    background: #fff;
    z-index: -1;
}
@property --label-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes labelGlow {
    to { --label-angle: 360deg; }
}
.section-label svg {
    width: 14px;
    height: 14px;
    stroke: var(--ncp-primary);
    fill: none;
    stroke-width: 2;
}

/* ─── Scroll reveal ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

/* ─── Decorative elements ─── */
.decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(28, 42, 58, 0.06);
}
.decor-circle--1 {
    width: 300px; height: 300px;
    top: 10%; right: -60px;
    animation: decorFloat 20s ease-in-out infinite;
}
.decor-circle--2 {
    width: 180px; height: 180px;
    bottom: 15%; left: 5%;
    border-color: rgba(216, 225, 234, 0.4);
    animation: decorFloat 16s ease-in-out infinite reverse;
}
.decor-circle--3 {
    width: 80px; height: 80px;
    top: 25%; left: 12%;
    border-color: rgba(28, 42, 58, 0.04);
    animation: decorFloat 12s ease-in-out infinite 2s;
}
.decor-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(28, 42, 58, 0.06), transparent);
}
.decor-line--1 { height: 200px; top: 8%; left: 20%; animation: decorFloat 14s ease-in-out infinite; }
.decor-line--2 { height: 140px; bottom: 12%; right: 22%; animation: decorFloat 18s ease-in-out infinite reverse; }
.decor-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(28, 42, 58, 0.08);
    animation: decorPulse 6s ease-in-out infinite;
}
.decor-dot--1 { width: 5px; height: 5px; top: 18%; left: 30%; animation-delay: 0s; }
.decor-dot--2 { width: 4px; height: 4px; top: 65%; right: 28%; animation-delay: -1.5s; }
.decor-dot--3 { width: 6px; height: 6px; bottom: 25%; left: 18%; animation-delay: -3s; }
.decor-dot--4 { width: 3px; height: 3px; top: 35%; right: 12%; animation-delay: -4.5s; }

@keyframes decorFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes decorPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.5); }
}


/* ════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════ */
.reco-hero {
    position: relative;
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.reco-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(216, 225, 234, 0.7), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(28, 42, 58, 0.12), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(216, 225, 234, 0.4), transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(201, 183, 156, 0.08), transparent 40%),
        #F7F8FA;
    animation: heroMeshMove 16s ease infinite;
}
@keyframes heroMeshMove {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 70% 20%; }
    25% { background-position: 10% 20%, 90% 80%, 40% 60%, 60% 30%; }
    50% { background-position: 5% 10%, 95% 90%, 55% 45%, 75% 15%; }
    75% { background-position: 15% 5%, 85% 85%, 45% 55%, 65% 25%; }
}

.reco-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}
.reco-hero-glow--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(216, 225, 234, 0.5), transparent 70%);
    top: -120px; left: -150px;
}
.reco-hero-glow--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(28, 42, 58, 0.08), transparent 70%);
    bottom: -80px; right: -80px;
}
.reco-hero-glow--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201, 183, 156, 0.1), transparent 70%);
    top: 30%; right: 15%;
}

.reco-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.reco-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.reco-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(36px, calc(28px + 2.5vw), 60px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.reco-hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
}

.reco-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(17px, calc(15px + 0.3vw), 20px);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 32px;
    opacity: 0;
    transform: translateY(20px);
}

.reco-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.reco-hero-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(28, 42, 58, 0.03);
    border: 1px solid rgba(28, 42, 58, 0.06);
    border-radius: 100px;
    opacity: 0;
    transform: translateY(16px);
}
.reco-hero-stars {
    display: flex;
    gap: 1px;
}
.reco-hero-stars svg {
    width: 14px; height: 14px;
    fill: #C9A84C;
}
.reco-hero-proof-text {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}
.reco-hero-proof-text strong {
    color: var(--text);
    font-weight: 500;
}


/* ════════════════════════════════
   SECTION 2 — TIMELINE
════════════════════════════════ */
.process {
    position: relative;
    padding: clamp(48px, 6vw, 96px) 0;
    background: var(--bg-light);
    overflow: hidden;
}

.process-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}
.process-glow--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(216, 225, 234, 0.35), transparent 65%);
    top: -100px; left: -200px;
}
.process-glow--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(28, 42, 58, 0.06), transparent 65%);
    bottom: -100px; right: -150px;
}

.process-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.process-header {
    text-align: center;
    margin-bottom: 72px;
}
.process-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.process-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Timeline ─── */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
}
.timeline-svg {
    width: 4px;
    height: 100%;
    display: block;
}

/* ─── Timeline items ─── */
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 80px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    grid-column: 2;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ncp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    justify-self: center;
    box-shadow: 0 0 0 6px var(--bg-light), 0 4px 12px rgba(28, 42, 58, 0.12);
}
.timeline-dot span {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

/* Left items: content left, mockup right */
.timeline-item--left .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 32px;
}
.timeline-item--left .timeline-dot {
    grid-column: 2;
    grid-row: 1;
}
.timeline-item--left .timeline-mockup {
    grid-column: 3;
    grid-row: 1;
    padding-left: 32px;
}

/* Right items: mockup left, content right */
.timeline-item--right .timeline-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 32px;
}
.timeline-item--right .timeline-dot {
    grid-column: 2;
    grid-row: 1;
}
.timeline-item--right .timeline-mockup {
    grid-column: 1;
    grid-row: 1;
    padding-right: 32px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, calc(18px + 0.4vw), 24px);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 12px;
}
.timeline-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── Mockup cards ─── */
.timeline-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(28, 42, 58, 0.06);
}
.timeline-card svg {
    display: block;
    width: 100%;
    height: auto;
}

.timeline-mockup--right {
    opacity: 0;
    transform: translateX(30px);
}
.timeline-mockup--left {
    opacity: 0;
    transform: translateX(-30px);
}


/* ════════════════════════════════
   SECTION 3 — CTA FINAL
════════════════════════════════ */
.final-cta {
    position: relative;
    padding: clamp(48px, 6vw, 96px) 0;
    overflow: hidden;
    text-align: center;
}
.final-cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(216, 225, 234, 0.6), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(28, 42, 58, 0.1), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(216, 225, 234, 0.3), transparent 60%),
        #F7F8FA;
    animation: meshMove 12s ease infinite;
}
@keyframes meshMove {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    33% { background-position: 10% 20%, 90% 80%, 40% 60%; }
    66% { background-position: 5% 10%, 95% 90%, 55% 45%; }
}

.final-cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(28, 42, 58, 0.12);
    animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; animation-duration: 9s; }
.particle:nth-child(2) { top: 60%; left: 75%; animation-delay: -2s; animation-duration: 7s; width: 3px; height: 3px; }
.particle:nth-child(3) { top: 35%; left: 85%; animation-delay: -4s; animation-duration: 11s; width: 5px; height: 5px; }
.particle:nth-child(4) { top: 75%; left: 25%; animation-delay: -1s; animation-duration: 8s; }
.particle:nth-child(5) { top: 15%; left: 55%; animation-delay: -3s; animation-duration: 10s; width: 3px; height: 3px; }
@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(15px, -20px); opacity: 0.6; }
    50% { transform: translate(-10px, -35px); opacity: 0.4; }
    75% { transform: translate(20px, -15px); opacity: 0.5; }
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.final-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, calc(28px + 2.5vw), 56px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, calc(14px + 0.3vw), 20px);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.final-cta-reassurance {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}


/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
    /* Hero */
    .reco-hero {
        min-height: auto;
        padding: 80px 0 64px;
    }
    .reco-hero-glow--1 { width: 300px; height: 300px; top: -80px; left: -100px; }
    .reco-hero-glow--2 { width: 250px; height: 250px; }
    .reco-hero-glow--3 { display: none; }
    .decor-circle--1 { width: 180px; height: 180px; }
    .decor-circle--2 { width: 100px; height: 100px; }
    .decor-circle--3 { display: none; }
    .decor-line--1, .decor-line--2 { display: none; }
    .reco-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .reco-hero-ctas .btn-primary,
    .reco-hero-ctas .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* Timeline — single column with line */
    .timeline {
        padding-left: 28px;
    }
    .timeline-track {
        left: 18px;
        transform: none;
    }
    .timeline-item {
        display: flex;
        flex-direction: column;
        position: relative;
        margin-bottom: 48px;
        padding-left: 36px;
    }
    .timeline-dot {
        position: absolute;
        left: -28px;
        top: 0;
        width: 36px; height: 36px;
        box-shadow: 0 0 0 6px var(--bg-light), 0 4px 12px rgba(28, 42, 58, 0.12);
    }
    .timeline-dot span {
        font-size: 14px;
    }

    .timeline-item--left .timeline-content,
    .timeline-item--right .timeline-content {
        text-align: left;
        padding: 0;
        order: 1;
    }
    .timeline-item--left .timeline-mockup,
    .timeline-item--right .timeline-mockup {
        padding: 16px 0 0 0;
        order: 2;
    }
    .timeline-mockup--right,
    .timeline-mockup--left {
        transform: translateY(20px);
    }

    /* Final CTA */
    .final-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .final-cta-actions .btn-primary,
    .final-cta-actions .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reco-hero-headline {
        font-size: clamp(28px, calc(24px + 2vw), 40px);
    }
}
