/* ═══════════════════════════════════════════════════════════
   AMOR CAPITAL — Funnel  ·  Mode Clair  ·  DA Cartier
   Mobile-first, responsive
   ═══════════════════════════════════════════════════════════ */

/* ─── POLICES ─────────────────────────────────────────────── */
@font-face {
    font-family: 'Brilliant Cut Pro';
    src: url('../assets/fonts/Brilliant%20Cut%20Pro%20Medium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Brilliant Cut Pro';
    src: url('../assets/fonts/Brilliant%20Cut%20Pro%20Medium.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ─── VARIABLES (LIGHT MODE) ─────────────────────────────── */
:root {
    /* Amor Capital identity */
    --f-burgundy: #8B0019;
    --f-burgundy-dark: #6D0014;
    --f-gold: #C4A35A;
    --f-gold-light: #D4B87A;

    /* Light palette */
    --f-bg: #FAF8F5;
    --f-bg-warm: #F5F0EB;
    --f-card: #FFFFFF;
    --f-card-alt: #F7F5F2;
    --f-border: #E8E4DF;
    --f-border-light: #F0EDE9;

    /* Text */
    --f-text: #1A1A1A;
    --f-text-secondary: #6B6B6B;
    --f-text-tertiary: #A8A8A8;

    /* Fonts */
    --f-title: 'Brilliant Cut Pro', 'Didot', 'Playfair Display', 'Times New Roman', serif;
    --f-body: 'Inter', 'Avenir', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --f-radius: 6px;
    --f-radius-lg: 10px;

    /* Transitions */
    --f-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: var(--f-body);
    font-weight: 400;
    color: var(--f-text);
    background: var(--f-bg);
    line-height: 1.6;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.funnel-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.funnel-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--f-border-light);
    padding: 14px 0;
    text-align: center;
}
.funnel-header__logo {
    height: 28px;
    margin: 0 auto;
    filter: brightness(0.15);
}

/* ═══════════════════════════════════════════════════════════
   HERO IMAGE
   ═══════════════════════════════════════════════════════════ */
.funnel-main {
    padding: 40px 0 0;
}
.funnel-hero-img {
    margin-bottom: 40px;
    border-radius: var(--f-radius-lg);
    overflow: hidden;
    border: 1px solid var(--f-border);
}
.funnel-hero-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   FORM BLOCK
   ═══════════════════════════════════════════════════════════ */
.funnel-form-block {
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius-lg);
    padding: 32px 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Header du form */
.funnel-form-header {
    text-align: center;
    margin-bottom: 28px;
}
.funnel-form-header__title {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    color: var(--f-burgundy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.funnel-form-header__sub {
    font-size: 0.88rem;
    color: var(--f-text-secondary);
    line-height: 1.5;
}

/* ─── PROGRESS BAR ───────────────────────────────────────── */
.funnel-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.funnel-progress__bar {
    flex: 1;
    height: 3px;
    background: var(--f-border);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}
.funnel-progress__bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 25%);
    background: var(--f-burgundy);
    border-radius: 3px;
    transition: width 0.5s var(--f-ease);
}
.funnel-progress__label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--f-text-tertiary);
    white-space: nowrap;
    font-weight: 500;
}

/* ─── STEPS ──────────────────────────────────────────────── */
.funnel-step {
    display: none;
    animation: funnelFadeIn 0.4s var(--f-ease);
}
.funnel-step.is-active {
    display: block;
}
@keyframes funnelFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.funnel-step__question {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    color: var(--f-text);
    margin-bottom: 18px;
    line-height: 1.4;
}

/* ─── OPTIONS ────────────────────────────────────────────── */
.funnel-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.funnel-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    background: var(--f-card-alt);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    transition: all 0.25s var(--f-ease);
    cursor: pointer;
}
.funnel-option:hover {
    border-color: var(--f-gold);
    background: #FDFBF7;
}
.funnel-option.is-selected {
    border-color: var(--f-burgundy);
    background: #FDF5F7;
    box-shadow: 0 0 0 1px var(--f-burgundy);
}
.funnel-option__label {
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--f-text);
    letter-spacing: 0.02em;
}
.funnel-option.is-selected .funnel-option__label {
    color: var(--f-burgundy);
}
.funnel-option__desc {
    font-size: 0.78rem;
    color: var(--f-text-secondary);
    line-height: 1.4;
}

/* ─── CONTACT FORM (Step 4) ──────────────────────────────── */
.funnel-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.funnel-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.funnel-contact__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.funnel-contact__field label {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--f-text-secondary);
    text-transform: uppercase;
}
.funnel-contact__field input,
.funnel-contact__field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    color: var(--f-text);
    background: var(--f-card-alt);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    outline: none;
    transition: border-color 0.25s var(--f-ease), box-shadow 0.25s var(--f-ease);
}
.funnel-contact__field input::placeholder {
    color: var(--f-text-tertiary);
}
.funnel-contact__field input:focus,
.funnel-contact__field select:focus {
    border-color: var(--f-burgundy);
    box-shadow: 0 0 0 2px rgba(139, 0, 25, 0.08);
}

/* Phone field */
.funnel-contact__phone {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 8px;
}
.funnel-contact__phone select {
    padding: 12px 10px;
    font-size: 0.82rem;
    color: var(--f-text);
    background: var(--f-card-alt);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 26px;
}
.funnel-contact__phone select option {
    background: var(--f-card);
    color: var(--f-text);
    padding: 4px;
}
.funnel-contact__phone input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    color: var(--f-text);
    background: var(--f-card-alt);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    outline: none;
    transition: border-color 0.25s var(--f-ease), box-shadow 0.25s var(--f-ease);
}
.funnel-contact__phone input::placeholder {
    color: var(--f-text-tertiary);
}
.funnel-contact__phone input:focus,
.funnel-contact__phone select:focus {
    border-color: var(--f-burgundy);
    box-shadow: 0 0 0 2px rgba(139, 0, 25, 0.08);
}

/* Submit button */
.funnel-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--f-burgundy);
    border: none;
    border-radius: var(--f-radius);
    cursor: pointer;
    transition: background 0.3s var(--f-ease), transform 0.2s var(--f-ease), box-shadow 0.3s var(--f-ease);
}
.funnel-submit:hover {
    background: var(--f-burgundy-dark);
    box-shadow: 0 4px 20px rgba(139, 0, 25, 0.2);
}
.funnel-submit:active {
    transform: scale(0.98);
}
.funnel-submit:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Legal */
.funnel-legal {
    font-size: 0.72rem;
    color: var(--f-text-tertiary);
    text-align: center;
    line-height: 1.4;
}

/* ─── CONFIRMATION ───────────────────────────────────────── */
.funnel-confirm {
    text-align: center;
    padding: 20px 0;
}
.funnel-confirm__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F0FFF4;
    color: #2D8644;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.funnel-confirm__title {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--f-burgundy);
    margin-bottom: 8px;
}
.funnel-confirm__text {
    font-size: 0.88rem;
    color: var(--f-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* WhatsApp CTA */
.funnel-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
    background: #25D366;
    border-radius: var(--f-radius);
    transition: background 0.25s var(--f-ease), transform 0.2s var(--f-ease);
}
.funnel-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   SECTION RAISONS
   ═══════════════════════════════════════════════════════════ */
.funnel-reasons {
    padding: 64px 0;
}
.funnel-reasons__header {
    text-align: center;
    margin-bottom: 40px;
}
.funnel-reasons__eyebrow {
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--f-gold);
    margin-bottom: 10px;
}
.funnel-reasons__title {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--f-text);
    line-height: 1.35;
    max-width: 520px;
    margin: 0 auto;
}

/* Image sous le titre */
.funnel-reasons__image {
    margin-top: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--f-radius-lg);
    overflow: hidden;
    border: 1px solid var(--f-border);
}
.funnel-reasons__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Grid de raisons */
.funnel-reasons__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.funnel-reason {
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius-lg);
    padding: 24px;
    transition: border-color 0.3s var(--f-ease), box-shadow 0.3s var(--f-ease);
}
.funnel-reason:hover {
    border-color: var(--f-gold);
    box-shadow: 0 2px 12px rgba(196, 163, 90, 0.08);
}
.funnel-reason__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--f-bg-warm);
    color: var(--f-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.funnel-reason__title {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--f-text);
    margin-bottom: 8px;
    line-height: 1.35;
}
.funnel-reason__text {
    font-size: 0.84rem;
    color: var(--f-text-secondary);
    line-height: 1.6;
}
.funnel-reason__text strong {
    color: var(--f-text);
    font-weight: 500;
}

/* Stats */
.funnel-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.funnel-stat {
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius-lg);
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.funnel-stat__number {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: var(--f-burgundy);
}
.funnel-stat__label {
    font-size: 0.72rem;
    color: var(--f-text-secondary);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   SECTION CTA (2e formulaire)
   ═══════════════════════════════════════════════════════════ */
.funnel-cta-section {
    padding: 0 0 64px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.funnel-footer {
    padding: 24px 0;
    border-top: 1px solid var(--f-border);
    text-align: center;
}
.funnel-footer .funnel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.funnel-footer__link {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--f-burgundy);
    letter-spacing: 0.04em;
    transition: color 0.25s var(--f-ease);
}
.funnel-footer__link:hover {
    color: var(--f-gold);
}
.funnel-footer__sep {
    font-size: 0.72rem;
    color: var(--f-text-tertiary);
}
.funnel-footer__copy {
    font-size: 0.72rem;
    color: var(--f-text-tertiary);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
    .funnel-container {
        padding: 0 32px;
    }
    .funnel-form-block {
        padding: 40px 36px;
    }
    .funnel-form-header__title {
        font-size: 1.4rem;
    }
    .funnel-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .funnel-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    .funnel-contact__phone {
        grid-template-columns: 170px 1fr;
    }
}

@media (min-width: 900px) {
    .funnel-container {
        max-width: 760px;
    }
    .funnel-main {
        padding-top: 56px;
    }
    .funnel-form-block {
        padding: 48px 44px;
    }
    .funnel-form-header__title {
        font-size: 1.5rem;
        letter-spacing: 0.14em;
    }
    .funnel-step__question {
        font-size: 1rem;
    }
    .funnel-option {
        padding: 18px 20px;
    }
    .funnel-reasons {
        padding: 80px 0;
    }
    .funnel-reasons__title {
        font-size: 1.35rem;
    }
    .funnel-reason {
        padding: 28px;
    }
    .funnel-cta-section {
        padding-bottom: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PETITS ÉCRANS (< 380px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .funnel-form-block {
        padding: 24px 16px;
    }
    .funnel-contact__row {
        grid-template-columns: 1fr;
    }
    .funnel-contact__phone {
        grid-template-columns: 130px 1fr;
    }
    .funnel-form-header__title {
        font-size: 1.05rem;
    }
    .funnel-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
