/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
    --navy:        #1a2a3a;
    --navy-mid:    #243547;
    --navy-dark:   #111e2b;
    --royal:       #1a4fd4;
    --royal-hover: #1540b0;
    --white:       #ffffff;
    --gray-50:     #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-400:    #94a3b8;
    --gray-600:    #475569;
    --gray-800:    #1e293b;
    --blue-light:  #7da8f5;
    --green:       #16a34a;

    --serif: 'Libre Baskerville', Georgia, serif;
    --sans:  'Inter', system-ui, sans-serif;
    --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   UTILITIES
============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--royal);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.22;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.65;
    max-width: 580px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s, transform .1s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-royal  { background: var(--royal);  color: var(--white); }
.btn-royal:hover { background: var(--royal-hover); }

.btn-navy   { background: var(--navy);   color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.btn-ghost  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================================
   NAV
============================================================ */
#nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}
#nav.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.1); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
}
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.3px;
}

/* ============================================================
   HERO
============================================================ */
#hero {
    background: var(--navy);
    padding: 88px 24px 96px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(125,168,245,.12);
    border: 1px solid rgba(125,168,245,.25);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(28px, 5vw, 54px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    max-width: 800px;
    margin: 0 auto 22px;
}
.hero-title em {
    color: var(--blue-light);
    font-style: normal;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: #a0b8cc;
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.65;
}

/* Inline form (index) */
.email-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 14px;
}
.email-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--sans);
    border: 1.5px solid rgba(255,255,255,.14);
    border-radius: 6px;
    background: rgba(255,255,255,.07);
    color: var(--white);
    outline: none;
    transition: border-color .2s;
}
.email-form input[type="email"]::placeholder { color: #6a8ba0; }
.email-form input[type="email"]:focus { border-color: rgba(255,255,255,.35); }
.email-form button { padding: 14px 28px; }

.form-note {
    font-size: 13px;
    color: #6a8ba0;
}
.form-note span { margin: 0 5px; opacity: .5; }

.form-success {
    display: none;
    background: rgba(22,163,74,.15);
    border: 1px solid rgba(22,163,74,.3);
    border-radius: 8px;
    padding: 16px 24px;
    color: #4ade80;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 14px;
}

/* Success icon (merci) */
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(22,163,74,.18);
    border: 2px solid rgba(22,163,74,.35);
    border-radius: 50%;
    margin-bottom: 32px;
}
.success-icon svg {
    width: 32px;
    height: 32px;
    color: #4ade80;
}

/* Email badge (merci) */
.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125,168,245,.1);
    border: 1px solid rgba(125,168,245,.22);
    color: var(--blue-light);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
}
.email-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ============================================================
   RÉASSURANCE (index)
============================================================ */
#reassurance {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px;
}

.reas-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.reas-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-600);
}

.reas-icon {
    width: 20px;
    height: 20px;
    background: var(--royal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.reas-icon svg { width: 11px; height: 11px; }

.reas-sep {
    width: 1px;
    height: 18px;
    background: var(--gray-200);
}

/* ============================================================
   PROBLÈME (index)
============================================================ */
#problem {
    padding: 80px 24px;
    background: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.problem-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 30px 26px;
}

.problem-num {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 14px;
}

.problem-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.problem-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ============================================================
   SOLUTION (index) / NEXT-STEPS (merci) — shared step styles
============================================================ */
#solution {
    padding: 80px 24px;
    background: var(--gray-50);
}

#next-steps {
    padding: 80px 24px;
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 32px 28px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--royal);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 18px;
}

.step-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.step-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ============================================================
   EXEMPLE — FICHE AO (index)
============================================================ */
#example {
    background: var(--navy);
    padding: 80px 24px;
}

#example .section-label { color: var(--blue-light); }
#example .section-title  { color: var(--white); }
#example .section-sub    { color: #a0b8cc; }

.fiche {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 700px;
    margin: 48px auto 0;
}

.fiche-header {
    background: var(--royal);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fiche-header-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
}
.fiche-badge {
    background: rgba(255,255,255,.2);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 100px;
}

.fiche-body { padding: 28px 24px; }

.fiche-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 22px;
}

.fiche-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 22px;
}
.meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6a8ba0;
    margin-bottom: 4px;
}
.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.fiche-verdict {
    background: rgba(22,163,74,.14);
    border: 1px solid rgba(22,163,74,.28);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 22px;
}
.verdict-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 6px;
}
.verdict-text {
    font-size: 14.5px;
    color: #d1fae5;
    line-height: 1.6;
}

.fiche-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.fiche-source { font-size: 12px; color: #6a8ba0; }
.fiche-deadline {
    font-size: 13px;
    font-weight: 600;
    color: #fbbf24;
    background: rgba(251,191,36,.1);
    border: 1px solid rgba(251,191,36,.2);
    padding: 4px 12px;
    border-radius: 100px;
}

.example-note {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #4a6478;
    font-style: italic;
}

/* ============================================================
   PRICING (index)
============================================================ */
#pricing {
    padding: 80px 24px;
    background: var(--white);
}

.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-header .section-label,
.pricing-header .section-title { text-align: center; }
.pricing-header .section-sub  { margin: 0 auto; text-align: center; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px 28px;
}

.pricing-card.featured {
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(26,79,212,.08);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.plan-price {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}
.plan-price sup {
    font-size: 22px;
    font-family: var(--sans);
    font-weight: 600;
    vertical-align: super;
}

.plan-period {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 26px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    padding: 7px 0;
    border-bottom: 1px solid var(--gray-100);
}
.plan-features li:last-child { border-bottom: none; }

.plan-cta { width: 100%; }

/* ============================================================
   FAQ (index)
============================================================ */
#faq {
    padding: 80px 24px;
    background: var(--gray-50);
}

.faq-header { text-align: center; margin-bottom: 40px; }
.faq-header .section-title { margin-bottom: 0; }

.faq-list { max-width: 680px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    transition: background .15s;
}
.faq-btn:hover { background: var(--gray-50); }

.faq-icon {
    width: 24px;
    height: 24px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .3s;
    color: var(--gray-600);
}
.faq-item.open .faq-icon {
    background: var(--royal);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer-inner {
    padding: 0 22px 20px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================================
   CTA FINAL (index)
============================================================ */
#cta-final {
    background: var(--navy);
    padding: 88px 24px;
    text-align: center;
}
#cta-final .section-label { color: var(--blue-light); }
#cta-final .section-title  { color: var(--white); max-width: 620px; margin: 0 auto 16px; }
#cta-final .section-sub    { color: #a0b8cc; margin: 0 auto 44px; }

/* ============================================================
   UPSELL (merci)
============================================================ */
#upsell {
    padding: 80px 24px;
    background: var(--white);
    text-align: center;
}

.upsell-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--gray-50);
    border: 1.5px solid var(--royal);
    border-radius: 14px;
    padding: 44px 40px;
    box-shadow: 0 0 0 4px rgba(26,79,212,.07);
    position: relative;
}

.upsell-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.upsell-title {
    font-family: var(--serif);
    font-size: clamp(20px, 2.8vw, 26px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.3;
}

.upsell-sub {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.65;
}

.upsell-price {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}
.upsell-price sup {
    font-size: 20px;
    font-family: var(--sans);
    font-weight: 600;
    vertical-align: super;
}

.upsell-period {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.upsell-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}
.upsell-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
}
.upsell-features li:last-child { border-bottom: none; }

.upsell-note {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 10px;
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
    background: var(--navy-dark);
    padding: 32px 24px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,.38);
    text-decoration: none;
    transition: color .18s;
}
.footer-links a:hover { color: rgba(255,255,255,.65); }

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.22);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 600px) {
    #hero { padding: 60px 20px 68px; }
    #problem, #solution, #next-steps, #example, #pricing, #faq, #cta-final, #upsell { padding: 60px 20px; }

    .email-form { flex-direction: column; }
    .email-form button { width: 100%; }

    .reas-sep { display: none; }

    .fiche-meta { grid-template-columns: 1fr 1fr; }

    .upsell-card { padding: 36px 24px; }

    .footer-row { flex-direction: column; align-items: flex-start; }
}
