/* =====================================================
   NATHAN TRADING ACADEMY — site.css
   Design des pages publiques : accueil, paiement,
   connexion, inscription.
   (L'espace élève et l'admin gardent style.css)
===================================================== */

:root {
    --bg: #05080b;
    --bg-2: #090f14;
    --card: #0d151b;
    --card-2: #121c24;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(25, 227, 255, 0.35);
    --text: #eaf2f7;
    --muted: #8fa3b0;
    --cyan: #19e3ff;
    --cyan-soft: rgba(25, 227, 255, 0.12);
    --green: #2ee6a6;
    --gold: #f2c14e;
    --red: #ff5d5d;
    --radius: 18px;
    --font-title: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.section.alt {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(36px, 5.5vw, 58px);
    line-height: 1.02;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 16px;
}

.section-title em {
    font-style: normal;
    color: var(--cyan);
}

.section-sub {
    color: var(--muted);
    max-width: 620px;
    font-size: 17px;
}

.center {
    text-align: center;
}

.center .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- BOUTONS ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--cyan);
    color: #031014;
    box-shadow: 0 10px 30px rgba(25, 227, 255, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 14px 38px rgba(25, 227, 255, 0.38);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--line-strong);
    background: var(--cyan-soft);
}

.btn-whatsapp {
    background: #25d366;
    color: #04210f;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- NAVBAR ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 8, 11, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.brand span {
    font-family: var(--font-title);
    font-size: 24px;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* ---------- HERO ---------- */

.hero {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -260px;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(25, 227, 255, 0.16), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--cyan-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(46px, 7.2vw, 84px);
    line-height: 0.98;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero-lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.hero-points i {
    color: var(--green);
    margin-right: 6px;
}

.hero-risk {
    margin-top: 22px;
    font-size: 12px;
    color: #5f7280;
}

/* Carte prix du hero */

.price-card {
    background: linear-gradient(160deg, var(--card-2), var(--card));
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.price-card .tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 4px;
}

.price strong {
    white-space: nowrap;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 84px;
    line-height: 1;
    color: var(--text);
}

.price small {
    color: var(--muted);
    font-size: 15px;
}

.price-note {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    color: #cbd8e0;
}

.check-list i {
    color: var(--green);
    margin-top: 5px;
    font-size: 13px;
}

.guarantee {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(46, 230, 166, 0.07);
    border: 1px solid rgba(46, 230, 166, 0.28);
    font-size: 14px;
    color: #cbd8e0;
    line-height: 1.5;
}

.guarantee i {
    color: var(--green);
    font-size: 20px;
    margin-top: 2px;
}

.guarantee b {
    color: var(--text);
}

.pay-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.pay-logos span {
    font-size: 12px;
    color: var(--muted);
    width: 100%;
}

.pay-logos img {
    height: 30px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 3px 6px;
}

/* ---------- BANDE DE CHIFFRES ---------- */

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 34px 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 46px;
    line-height: 1;
    color: var(--cyan);
}

.stat span {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---------- CARTES GÉNÉRIQUES ---------- */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.card .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan-soft);
    color: var(--cyan);
    font-size: 20px;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- PROGRAMME ---------- */

.program {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.program-col {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.program-col h3 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 4px;
}

.program-col .range {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.program-col ol {
    list-style: none;
    display: grid;
    gap: 2px;
}

.program-col li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: #cbd8e0;
}

.program-col li:last-child {
    border-bottom: none;
}

.program-col li b {
    min-width: 26px;
    color: var(--muted);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- RÉSULTATS ---------- */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 44px;
}

.results-grid button {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 3 / 5;
    transition: border-color 0.2s, transform 0.2s;
}

.results-grid button:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.results-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.disclaimer {
    margin-top: 24px;
    font-size: 13px;
    color: #6d8190;
    max-width: 760px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 24px;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-height: 92vh;
    border-radius: 12px;
}

/* ---------- PRIX / OFFRE ---------- */

.offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ---------- FORMULAIRES ---------- */

.form {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.input,
.select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.2s;
}

.input:focus,
.select:focus {
    outline: none;
    border-color: var(--cyan);
}

.input::placeholder {
    color: #4f6371;
}

.form-msg {
    display: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.form-msg.ok {
    display: block;
    background: rgba(46, 230, 166, 0.1);
    border: 1px solid rgba(46, 230, 166, 0.35);
    color: var(--green);
}

.form-msg.err {
    display: block;
    background: rgba(255, 93, 93, 0.1);
    border: 1px solid rgba(255, 93, 93, 0.35);
    color: var(--red);
}

.form-hint {
    font-size: 12px;
    color: #66798a;
}

.lead-box {
    background: linear-gradient(160deg, var(--card-2), var(--card));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 820px;
    margin: 44px auto 0;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: var(--cyan);
    transition: transform 0.25s;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 15px;
}

.faq-item.active {
    border-color: var(--line-strong);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ---------- CTA FINAL ---------- */

.final-cta {
    text-align: center;
    padding: 96px 0;
    background: radial-gradient(ellipse at center, rgba(25, 227, 255, 0.1), transparent 65%);
    border-top: 1px solid var(--line);
}

.final-cta .section-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.final-cta .hero-cta {
    justify-content: center;
}

/* ---------- CONTACT / FOOTER ---------- */

.socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.socials a {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 20px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, color 0.2s;
}

.socials a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 54px 0 30px;
    background: var(--bg-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer p,
.footer li,
.footer a {
    font-size: 14px;
    color: var(--muted);
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: var(--cyan);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: #5f7280;
    line-height: 1.7;
}

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #04210f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.wa-float:hover {
    transform: scale(1.08);
}

/* ---------- PAGE PAIEMENT ---------- */

.pay-wrap {
    width: min(860px, 92%);
    margin: 0 auto;
    padding: 56px 0 90px;
}

.pay-head {
    text-align: center;
    margin-bottom: 38px;
}

.pay-head h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(36px, 6vw, 56px);
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 6px;
}

.pay-head .price {
    justify-content: center;
    margin: 10px 0 0;
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 22px;
}

.panel h2 {
    font-size: 20px;
    margin-bottom: 18px;
}

.panel h2 i {
    color: var(--cyan);
    margin-right: 8px;
}

.includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 11px 24px;
    list-style: none;
}

.includes li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    color: #cbd8e0;
}

.includes i {
    color: var(--green);
    margin-top: 5px;
    font-size: 13px;
}

.steps {
    display: grid;
    gap: 14px;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.steps li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cyan);
    color: #031014;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps b {
    display: block;
    margin-bottom: 2px;
}

.steps span {
    color: var(--muted);
    font-size: 14px;
}

.methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.method {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    transition: border-color 0.2s;
}

.method:hover {
    border-color: var(--line-strong);
}

.method-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.method-head img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
}

.method-head h3 {
    font-size: 17px;
}

.number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--card-2);
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
    padding: 4px 6px;
}

.copy-btn:hover {
    color: var(--cyan);
}

.method small {
    color: var(--muted);
    font-size: 13px;
}

.crypto-box {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(37, 211, 102, 0.25);
    background: rgba(37, 211, 102, 0.05);
}

.crypto-box > i {
    font-size: 34px;
    color: #25d366;
}

.crypto-box h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.crypto-box p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-pill.pending {
    background: rgba(242, 193, 78, 0.12);
    color: var(--gold);
}

.status-pill.validated {
    background: rgba(46, 230, 166, 0.12);
    color: var(--green);
}

.status-pill.rejected {
    background: rgba(255, 93, 93, 0.12);
    color: var(--red);
}

.risk {
    text-align: center;
    font-size: 12px;
    color: #5f7280;
    line-height: 1.7;
    padding: 16px;
    background: var(--bg-2);
    border-radius: 12px;
}

/* ---------- AUTH (connexion / inscription) ---------- */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    background: radial-gradient(circle at 50% -10%, rgba(25, 227, 255, 0.14), transparent 55%), var(--bg);
}

.auth-card {
    width: min(430px, 100%);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 38px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.auth-card .auth-logo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.auth-card h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 38px;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.1;
}

.auth-card .auth-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 26px;
    font-size: 15px;
}

.pw-box {
    position: relative;
}

.pw-box .input {
    padding-right: 48px;
}

.pw-box i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    cursor: pointer;
}

.auth-link-row {
    text-align: right;
    font-size: 13px;
}

.auth-link-row a,
.auth-switch a {
    color: var(--cyan);
    text-decoration: none;
}

.auth-divider {
    text-align: center;
    color: #4f6371;
    font-size: 13px;
    margin: 4px 0;
}

.auth-switch {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
    color: var(--muted);
}

.google-btn {
    background: #fff;
    color: #1a1a1a;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {
    .hero-grid,
    .offer,
    .lead-box {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .program {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 8px 4% 18px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .nav-actions .btn-ghost {
        display: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 56px 0 50px;
    }

    .grid-3,
    .program,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 10px;
    }

    .lead-box {
        padding: 28px 22px;
    }

    .price strong {
        font-size: 68px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .brand span {
        font-size: 20px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* ---------- PAGES LÉGALES / VÉRIFICATION / 404 ---------- */

.legal {
    width: min(820px, 92%);
    margin: 0 auto;
    padding: 64px 0 90px;
}

.legal h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(38px, 6vw, 58px);
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 8px;
}

.legal .legal-date {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 36px;
}

.legal h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 34px 0 10px;
    color: var(--cyan);
}

.legal p,
.legal li {
    color: #c3d0d9;
    line-height: 1.75;
    margin-bottom: 10px;
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: var(--cyan);
}

.simple-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 26px 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.simple-footer a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
}

.simple-footer a:hover {
    color: var(--cyan);
}

.center-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
}

.center-card {
    max-width: 520px;
    width: 100%;
}

.center-card img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.center-card .code {
    font-family: var(--font-title);
    font-size: clamp(90px, 22vw, 150px);
    line-height: 1;
    color: var(--cyan);
    text-shadow: 0 0 40px rgba(25, 227, 255, 0.3);
}

.center-card h1 {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(32px, 6vw, 44px);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.center-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 26px;
}

.center-card .actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.verify-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    text-align: left;
    margin-top: 6px;
}

.verify-result {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.7;
    display: none;
}

.verify-result.ok {
    display: block;
    background: rgba(46, 230, 166, 0.08);
    border: 1px solid rgba(46, 230, 166, 0.35);
}

.verify-result.ko {
    display: block;
    background: rgba(255, 93, 93, 0.08);
    border: 1px solid rgba(255, 93, 93, 0.35);
}
