*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --y: #f5c800;
    --bk: #161717; /* #0a0a0a; */
    --card: #181818;
    --border: #2a2a2a;
    --w: #fff;
    --mu: #888;
    --r: 10px;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bk);
    color: var(--w);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
    background: var(--bk);
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--y);
}
.nav-tag {
    font-size: 11px;
    color: var(--mu);
    display: none;
    letter-spacing: 0.5px;
}
@media (min-width: 600px) {
    .nav-tag {
        display: block;
    }
}
.pb {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;
    height: 3px;
    background: var(--border);
}
.pf {
    height: 100%;
    background: var(--y);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 33%;
}

/* PAGES */
.page {
    display: none;
    min-height: 100vh;
    padding: 88px 20px 64px;
    flex-direction: column;
    align-items: center;
}
.page.active {
    display: flex;
    animation: fu 0.4s ease forwards;
}
@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.inner {
    width: 100%;
    max-width: 520px;
}

/* TYPO */
.stag {
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--y);
    font-family: "Syne", sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 14px;
}
h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(52px, 10vw, 78px);
    line-height: 0.92;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 14px;
}
h1 span {
    color: var(--y);
}
.hero-q {
    font-family: "Syne", sans-serif;
    font-size: clamp(17px, 3.5vw, 21px);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
    color: var(--w);
}
.hero-q em {
    color: var(--y);
    font-style: normal;
}
h2 {
    font-family: "Syne", sans-serif;
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--w);
}
h3 {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--w);
}

/* FORM */
.fg {
    margin-bottom: 16px;
}
label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mu);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--w);
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    padding: 15px 18px;
    outline: none;
    transition:
        border-color 0.2s,
        background 0.2s;
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input:focus {
    border-color: var(--y);
    background: #1c1800;
}
input::placeholder {
    color: #3a3a3a;
}
input.valid {
    border-color: #22c55e;
}
input.invalid {
    border-color: #f87171;
}
.hint {
    font-size: 11px;
    color: #555;
    margin-top: 5px;
}
.ferr {
    font-size: 12px;
    color: #f87171;
    margin-top: 5px;
    display: none;
}
.ferr.on {
    display: block;
}
.fok {
    font-size: 12px;
    color: #22c55e;
    margin-top: 5px;
    display: none;
}
.fok.on {
    display: block;
}

/* TYPE TOGGLE */
.type-toggle {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.tybtn {
    flex: 1;
    padding: 14px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--card);
    color: var(--mu);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tybtn:hover {
    border-color: var(--y);
    color: var(--w);
}
.tybtn.sel {
    border-color: var(--y);
    background: #1c1800;
    color: var(--y);
}

/* BOUTONS */
.btn {
    width: 100%;
    background: var(--y);
    color: var(--bk);
    border: none;
    border-radius: var(--r);
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 20px 28px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 8px;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 200, 0, 0.3);
}
.btn:active {
    transform: translateY(0);
}
.btn-ghost {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    color: var(--mu);
    font-size: 13px;
    margin-top: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
    font-family: "DM Sans", sans-serif;
}
.btn-ghost:hover {
    color: var(--w);
}
.trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--mu);
    margin-top: 12px;
}
.tdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--y);
    flex-shrink: 0;
}

/* RÉSULTAT PAGE 1 */
.rcard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 16px;
    display: none;
}
.rcard.on {
    display: block;
    animation: fu 0.4s ease;
}
.r-label {
    font-size: 11px;
    color: var(--mu);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}
.r-amount {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(52px, 11vw, 84px);
    color: var(--y);
    line-height: 1;
    letter-spacing: 1px;
}
.r-sub {
    font-size: 12px;
    color: var(--mu);
    margin-top: 4px;
}
.divl {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}
.rrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.rrow .rl {
    color: var(--mu);
}
.rrow .rv {
    font-weight: 600;
    color: var(--w);
}
.cap-block {
    background: #1c1800;
    border: 1px solid #3a2e00;
    border-radius: 6px;
    padding: 14px 16px;
    margin-top: 12px;
}
.cap-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--y);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
}
.cap-range {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    letter-spacing: 0.5px;
}
.cap-hint {
    font-size: 11px;
    color: var(--mu);
    margin-top: 4px;
}

/* ACCORDÉON */
.accord-btn {
    background: none;
    border: none;
    color: var(--mu);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-family: "DM Sans", sans-serif;
}
.accord-arrow {
    transition: transform 0.2s;
    display: inline-block;
}
.accord-content {
    display: none;
    margin-top: 8px;
    padding: 12px 14px;
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid #222;
}

.cta-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    display: none;
}
.cta-block.on {
    display: block;
    animation: fu 0.4s ease 0.08s both;
}
.cta-q {
    font-family: "Syne", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3
    color: var(--w);
    letter-spacing: 1px;
}
.cta-sub {
    font-size: 13px;
    color: var(--mu);
    margin-bottom: 16px;
}

/* CHIPS */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.chip {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--mu);
    background: var(--card);
    user-select: none;
    font-family: "DM Sans", sans-serif;
}
.chip:hover {
    border-color: var(--y);
    color: var(--w);
}
.chip.sel {
    border-color: var(--y);
    background: #1c1800;
    color: var(--y);
    font-weight: 600;
}

/* ADRESSE */
.addr-wrap {
    position: relative;
}
.addr-sug {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e1e1e;
    border: 1px solid var(--border);
    border-radius: var(--r);
    z-index: 50;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.addr-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    line-height: 1.3;
}
.addr-item:last-child {
    border-bottom: none;
}
.addr-item:hover {
    background: #2a2a2a;
}
.addr-item strong {
    display: block;
    font-size: 14px;
    color: var(--w);
    font-weight: 600;
}
.addr-item span {
    font-size: 12px;
    color: var(--mu);
}
.dvf-status {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
}
.spin-sm {
    width: 14px;
    height: 14px;
    border: 2px solid #333;
    border-top-color: var(--y);
    border-radius: 50%;
    animation: sp 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes sp {
    to {
        transform: rotate(360deg);
    }
}

/* PAGE 3 */
.or {
    text-align: center;
    font-size: 12px;
    color: #444;
    margin: 10px 0;
    position: relative;
}
.or::before,
.or::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 18px);
    height: 1px;
    background: var(--border);
}
.or::before {
    left: 0;
}
.or::after {
    right: 0;
}
.recap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 8px;
}
.recap-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mu);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}
.comp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.comp-street {
    font-size: 14px;
    font-weight: 600;
    color: var(--w);
    margin-bottom: 2px;
}
.comp-detail {
    font-size: 12px;
    color: var(--mu);
}
.comp-price {
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    color: var(--y);
    text-align: right;
    flex-shrink: 0;
}
.comp-pm2 {
    font-size: 11px;
    color: var(--mu);
    text-align: right;
}

/* PAGE 4 */
.merci-hero {
    text-align: center;
    margin-bottom: 22px;
}
.merci-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.merci-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(34px, 8vw, 54px);
    line-height: 0.95;
    margin-bottom: 10px;
}
.merci-title span {
    color: var(--y);
}
.merci-sub {
    font-size: 14px;
    color: var(--mu);
    line-height: 1.6;
}
.rarete {
    background: #1c1800;
    border: 1px solid #3a2e00;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.rarete-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.rarete-txt {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.rarete-txt strong {
    color: var(--y);
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 700;
}
.social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 22px;
}
.stars {
    color: var(--y);
    font-size: 18px;
    letter-spacing: 2px;
}
.sp-score {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    color: var(--w);
    font-size: 15px;
}
.sp-count {
    color: var(--mu);
    font-size: 12px;
    margin-top: 2px;
}
.etapes {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 26px;
}
.etape {
    display: flex;
    align-items: flex-start;
}
.etape-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    flex-shrink: 0;
}
.etape-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--y);
    color: var(--bk);
    font-family: "Bebas Neue", sans-serif;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}
.etape-line {
    width: 2px;
    flex: 1;
    min-height: 18px;
    background: var(--border);
    margin: 4px 0;
}
.etape:last-child .etape-line {
    display: none;
}
.etape-content {
    padding: 4px 0 22px 10px;
    flex: 1;
}
.etape-title {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--w);
}
.etape-desc {
    font-size: 13px;
    color: var(--mu);
    line-height: 1.5;
}
.benefs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 26px;
}
.benef {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.benef-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #166534;
    color: #4ade80;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.benef-title {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--w);
}
.benef-desc {
    font-size: 13px;
    color: var(--mu);
    line-height: 1.45;
}
.disc-cta {
    background: linear-gradient(135deg, #1c1800, #111);
    border: 1px solid var(--y);
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    margin-bottom: 18px;
}
.disc-cta-eye {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--y);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}
.disc-cta-title {
    font-family: "Syne", sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--w);
}
.disc-cta-sub {
    font-size: 13px;
    color: var(--mu);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* PAGE 5 DISC */
.disc-prog {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 22px;
}
.disc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.3s;
}
.disc-dot.done {
    background: var(--y);
}
.disc-dot.active {
    background: var(--y);
    box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.2);
}
.qblock {
    display: none;
    animation: fu 0.35s ease forwards;
}
.qblock.active {
    display: block;
}
.q-num {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--y);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}
.q-text {
    font-family: "Syne", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--w);
}
.q-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.q-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.q-opt:hover {
    border-color: var(--y);
    background: #1c1800;
}
.q-opt.sel {
    border-color: var(--y);
    background: #1c1800;
}
.q-opt.sel .qradio {
    background: var(--y);
    border-color: var(--y);
}
.qradio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.q-opt.sel .qradio::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bk);
}
.q-opt-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--w);
}
.disc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}
.btn-back {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--mu);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-back:hover {
    border-color: var(--mu);
    color: var(--w);
}
.btn-next {
    background: var(--y);
    border: none;
    border-radius: var(--r);
    color: var(--bk);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 200, 0, 0.3);
}
.btn-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.disc-result {
    display: none;
    animation: fu 0.5s ease forwards;
}
.disc-result.on {
    display: block;
}
.profil-illus {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 18px;
}
.profil-illus svg {
    width: 100%;
    height: auto;
    display: block;
}
.profil-badge {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 100px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.profil-rouge {
    background: #3b0000;
    color: #f87171;
    border: 1px solid #7f1d1d;
}
.profil-jaune {
    background: #1c1800;
    color: var(--y);
    border: 1px solid #3a2e00;
}
.profil-vert {
    background: #0d2214;
    color: #4ade80;
    border: 1px solid #166534;
}
.profil-bleu {
    background: #0c1a2e;
    color: #60a5fa;
    border: 1px solid #1e3a5f;
}
.profil-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(30px, 7vw, 50px);
    margin-bottom: 8px;
    line-height: 1;
    color: var(--w);
}
.profil-desc {
    font-size: 14px;
    color: var(--mu);
    line-height: 1.65;
    margin-bottom: 20px;
}
.profil-levier {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
}
.profil-levier-lbl {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--y);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
}
.profil-levier-txt {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.foot {
    margin-top: 34px;
    text-align: center;
    font-size: 12px;
    color: #444;
    letter-spacing: 0.5px;
}

/* LOADING SCREEN */
.loading-screen {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bk);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.loading-screen.active {
    display: flex;
}
.loading-logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    color: var(--y);
}
.loading-bar-wrap {
    width: 240px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.loading-bar {
    height: 100%;
    background: var(--y);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}
.loading-label {
    font-size: 13px;
    color: var(--mu);
    font-family: "DM Sans", sans-serif;
    min-height: 20px;
    text-align: center;
}
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 240px;
}
.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
    font-family: "DM Sans", sans-serif;
    transition: color 0.3s;
}
.loading-step.done {
    color: var(--w);
}
.loading-step.done .lstep-icon {
    color: var(--y);
}
.loading-step.active {
    color: var(--mu);
}
.lstep-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
@media (max-width: 480px) {
    nav {
        padding: 0 16px;
    }
    .page {
        padding: 80px 14px 50px;
    }
}

.rgpd-text {
    text-transform: none;
    color: var(--mu);
    letter-spacing: 0.5px;
}

.foot a:link, .foot a:visited {
    color: #444;
}
