@charset "utf-8";

/* ====== TOKENS ====== */
:root {
    --primary: #005B96;
    --primary-soft: #53A3D7;
    --primary-deep: #003F69;
    --primary-ink: #001F36;

    --accent: #D78753;
    --accent-deep: #965E3A;

    --success: #2C8E7E;
    --danger: #D62D20;
    --warning: #E0A22B;

    --ink: #0F172A;
    --ink-2: #334155;
    --ink-3: #64748B;
    --line: #E2E8F0;
    --line-2: #F1F5F9;
    --bg: #F8FAFC;
    --bg-2: #FFFFFF;

    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 28px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, .14), 0 4px 12px rgba(15, 23, 42, .06);

    --maxw: 1200px;
    --header-h: 72px;

    --font-base: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ====== RESET ====== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    color: var(--ink);
    background: var(--bg-2);
    line-height: 1.55;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
    height: var(--header-h);
}

.site-header .inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: var(--primary);
    letter-spacing: -.01em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.logo small {
    font-weight: 500;
    color: var(--ink-3);
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 9px 14px;
    border-radius: var(--r-sm);
    font-weight: 500;
    color: var(--ink-2);
    transition: background .15s ease;
    white-space: nowrap;   /* un libellé ne se replie jamais sur deux lignes */
}

.nav a:hover {
    background: var(--line-2);
    color: var(--ink);
}

.nav .btn {
    margin-left: 10px;
    color: white
}

/* icônes, groupe Connexion/Inscription et voile : uniquement pour le tiroir mobile */
.nav .nav-ico {
    display: none;
}

.nav-actions {
    display: contents;
}

.nav-overlay {
    display: none;
}

/* En-tête des pages ouvertes depuis un e-mail (activation, nouveau mot de passe) : un seul bouton, jamais de tiroir.
   Classe distincte de .nav : sous 1080 px le tiroir (fixed, translateX) prenait l'en-tête à backdrop-filter pour
   bloc conteneur et élargissait la page (SITE-09). */
.nav-simple {
    margin-left: auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

.nav-simple .lbl-short {
    display: none;
}

@media (max-width: 480px) {
    .nav-simple .btn {
        padding: 9px 14px;
        font-size: 14px;
    }

    .nav-simple .lbl-long {
        display: none;
    }

    .nav-simple .lbl-short {
        display: inline;
    }
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-left: auto;
}

.burger:hover {
    background: var(--line-2);
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    position: relative;
    transition: transform .15s ease, opacity .15s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0
}
.burger-icon::before {
    bottom: 6px
}
.burger-icon::after {
    top: 6px
}

.burger.is-active .burger-icon {
    background: transparent;
}

.burger.is-active .burger-icon::before{
    transform: rotate(45deg);
    opacity:1;
    bottom:0;
}
.burger.is-active .burger-icon::after {
    transform: rotate(-45deg);
    opacity:1;
    top:0
}


/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 15px;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    background: var(--primary-deep);
}

.btn.secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--line);
}

.btn.secondary:active {
    background: var(--bg);
}

.btn.accent {
    background: var(--accent);
}

.btn.accent:active {
    background: var(--accent-deep);
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
}

.btn.ghost:active {
    background: var(--line-2);
}

.btn.lg {
    padding: 16px 30px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ====== HERO ====== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: radial-gradient(ellipse at 80% -10%, rgba(83, 163, 215, .30) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(215, 135, 83, .18) 0%, transparent 55%),
    linear-gradient(180deg, #F8FBFE 0%, #FFFFFF 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 91, 150, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 150, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 80%);
    pointer-events: none;
}

.hero .inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: rgba(0, 91, 150, .08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(44, 142, 126, .18);
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary-ink);
    margin-bottom: 20px;
}

.hero h1 .tag {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 18px;
    color: var(--ink-2);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero .ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 540px;
}

.hero-stats div strong {
    display: block;
    font-size: 28px;
    color: var(--primary);
    font-weight: 800;
}

.hero-stats div span {
    color: var(--ink-3);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 500px;
    margin: auto;
}

.hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    overflow: hidden;
    word-break: break-word;
}

.hero-card .head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-card .head > div:last-child {
    min-width: 0;
    flex: 1;
}

.hero-card .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), var(--primary));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-card .name {
    font-weight: 700;
    font-size: 14px;
}

.hero-card .role {
    color: var(--ink-3);
    font-size: 12px;
}

.hero-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-2);
    margin: 5px 0;
}

.hero-card ul li i {
    color: var(--success);
}

.hero-card .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-2);
    font-size: 13px;
}

.hero-card .price {
    color: var(--accent-deep);
    font-weight: 700;
}

.card-1 {
    top: 6%;
    left: 0;
    width: 64%;
}

.card-2 {
    top: 38%;
    right: 4%;
    width: 60%;
}

.card-3 {
    bottom: 4%;
    left: 12%;
    width: 60%;
}

.hero-blob {
    position: absolute;
    inset: 8% 8% auto auto;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(0, 91, 150, .14), transparent 65%);
    border-radius: 50%;
    z-index: -1;
}

/* ====== SECTIONS ====== */
section.block {
    padding: 90px 0;
}

section.block.alt {
    background: var(--bg);
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-head .eyebrow {
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary-ink);
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-head p {
    color: var(--ink-2);
    font-size: 17px;
}

/* ====== PROFILES ====== */
.profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px;
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
    overflow: hidden;
}

.profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.profile.t-blue::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
}

.profile.t-amber::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

.profile .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.profile.t-blue .icon-box {
    background: rgba(0, 91, 150, .10);
    color: var(--primary);
}

.profile.t-amber .icon-box {
    background: rgba(215, 135, 83, .14);
    color: var(--accent-deep);
}

.profile h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 8px;
    color: var(--primary-ink);
}

.profile p.muted {
    color: var(--ink-3);
    margin-bottom: 22px;
}

.profile ul.steps li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--line-2);
    color: var(--ink-2);
}

.profile ul.steps li:first-child {
    border-top: 0;
}

.profile ul.steps span.num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
    background: var(--bg);
    color: var(--primary);
}

.profile.t-amber ul.steps span.num {
    color: var(--accent-deep);
}

/* ====== TARIFS ====== */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan.featured {
    border-color: var(--primary);
    box-shadow: 0 24px 48px rgba(0, 91, 150, .14);
    transform: translateY(-6px);
}

.plan.featured .ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    letter-spacing: .04em;
}

.plan h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-ink);
    margin-bottom: 6px;
}

.plan .pitch {
    color: var(--ink-3);
    font-size: 14px;
    margin-bottom: 22px;
    min-height: 40px;
}

.plan .price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 22px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 22px;
}

.plan .price-row .amount {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-ink);
    letter-spacing: -.02em;
}

.plan .price-row .currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-ink);
}

.plan .price-row .period {
    color: var(--ink-3);
    font-size: 14px;
}

.plan .price-row.free .amount {
    color: var(--success);
}

.plan ul.feats {
    flex-grow: 1;
}

.plan ul.feats li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    color: var(--ink-2);
    font-size: 15px;
}

.plan ul.feats i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.plan .cta {
    margin-top: 26px;
}

/* ====== STEPS HORIZONTAL ====== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    padding-top: 18px;
}

.step-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 28px 24px;
    text-align: center;
    position: relative;
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(0, 91, 150, .30);
}

.step-item i {
    font-size: 28px;
    color: var(--primary);
    margin: 12px 0;
}

.step-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-ink);
}

.step-item p {
    color: var(--ink-3);
    font-size: 14px;
}

/* ====== ANNONCES (sample cards) ====== */
.listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.listing {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
}

.listing .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.listing .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-pill);
}

.listing .badge.demand {
    background: rgba(215, 135, 83, .14);
    color: var(--accent-deep);
}

.listing .badge.offer {
    background: rgba(0, 91, 150, .10);
    color: var(--primary);
}

.listing .dpt {
    font-weight: 800;
    color: var(--ink-3);
    font-size: 13px;
}

.listing h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-ink);
}

.listing .role {
    color: var(--ink-3);
    font-size: 13px;
    margin-bottom: 14px;
}

.listing ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-2);
}

.listing ul li i {
    color: var(--primary);
    width: 18px;
}

.listing .footer-row {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.listing .footer-row .pay {
    color: var(--accent-deep);
    font-weight: 700;
}

/* ====== FAQ ====== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--primary-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    color: var(--primary);
    transition: transform .15s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item .answer {
    padding: 0 22px 18px;
    color: var(--ink-2);
    font-size: 15px;
}

/* ====== CTA BAND ====== */
.cta-band {
    margin: 90px auto;
    padding: 56px 48px;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: var(--maxw);
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(83, 163, 215, .30), transparent 50%);
}

.cta-band > * {
    position: relative;
}

.cta-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn {
    background: #fff;
    color: var(--primary);
}

.cta-band .btn:active {
    background: var(--bg);
}

.cta-band .btn.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

/* ====== APP DOWNLOAD ====== */
.app-section {
    background: linear-gradient(180deg, #F8FBFE 0%, #FFFFFF 100%);
    padding: 50px 0 80px;
    overflow: hidden;
}

.app-section .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.app-section h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary-ink);
    margin-bottom: 16px;
    line-height: 1.15;
}

.app-section p {
    color: var(--ink-2);
    margin-bottom: 28px;
    font-size: 17px;
}

.store-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    padding: 12px 22px;
    border-radius: var(--r-md);
    transition: transform .12s ease;
}

.store-btn:active {
    transform: translateY(1px);
}

.store-btn i {
    font-size: 26px;
}

.store-btn small {
    display: block;
    font-size: 11px;
    opacity: .8;
    line-height: 1;
    margin-bottom: 3px;
}

.store-btn strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.phones-mock {
    position: relative;
    aspect-ratio: 1 / 1;
}

.phones-mock .phone {
    position: absolute;
    width: 220px;
    height: 440px;
    background: var(--ink);
    color: #fff;
    border-radius: 32px;
    border: 4px solid #1f2937;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phones-mock .phone .screen {
    position: absolute;
    inset: 12px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-soft) 100%);
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
}

.phones-mock .phone-1 {
    top: 8%;
    left: 6%;
    transform: rotate(-8deg);
}

.phones-mock .phone-2 {
    top: 4%;
    right: 6%;
    transform: rotate(8deg);
}

.phones-mock .phone .notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 4px;
    z-index: 2;
}

/* ====== FORMS ====== */
.form-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}

.form-card .form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-ink);
    margin-bottom: 6px;
}

.form-card .form-sub {
    color: var(--ink-3);
    margin-bottom: 28px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 91, 150, .12);
}

.field .hint {
    font-size: 12px;
    color: var(--ink-3);
}

.field .err {
    font-size: 12px;
    color: var(--danger);
    display: none;
}

.field.has-err input, .field.has-err select {
    border-color: var(--danger);
}

.field.has-err .err {
    display: block;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.choice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    cursor: pointer;
    background: #fff;
    transition: border-color .12s ease, background .12s ease;
}

.choice input {
    display: none;
}

.choice .ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.choice strong {
    display: block;
    font-size: 15px;
    color: var(--primary-ink);
    margin-bottom: 2px;
}

.choice span {
    font-size: 13px;
    color: var(--ink-3);
}

.choice.is-active {
    border-color: var(--primary);
    background: rgba(0, 91, 150, .04);
}

.choice.is-active .ic {
    background: var(--primary);
    color: #fff;
}

.cgu-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    font-size: 14px;
    color: var(--ink-2);
}

.cgu-row input {
    margin-top: 3px;
}

.feedback {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    font-size: 14px;
    display: none;
}

.feedback.show {
    display: block;
}

.feedback.ok {
    background: rgba(44, 142, 126, .10);
    color: var(--success);
    border: 1px solid rgba(44, 142, 126, .25);
}

.feedback.ko {
    background: rgba(214, 45, 32, .08);
    color: var(--danger);
    border: 1px solid rgba(214, 45, 32, .25);
}

/* ====== PARTNERS ====== */
.partners {
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.partners h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 28px;
}

.partners .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 56px;
    color: var(--ink-3);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.01em;
    opacity: .80;
}

.partners .row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.partners .row i {
    font-size: 22px;
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--primary-ink);
    color: rgba(255, 255, 255, .78);
    padding: 64px 0 0;
}

.site-footer .grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}

.site-footer h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}

.site-footer ul li {
    padding: 6px 0;
    font-size: 14px;
}

.site-footer ul li a:hover {
    color: var(--primary-soft);
}

.site-footer .brand-block .logo {
    color: #fff;
    font-size: 22px;
}

.site-footer .brand-block p {
    font-size: 14px;
    max-width: 320px;
    margin-top: 14px;
}

.site-footer .socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.site-footer .socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background .12s ease;
}

.site-footer .socials a:hover {
    background: var(--primary);
}

.site-footer .bar {
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

/* ====== LEGAL PAGES ====== */
.legal-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    padding: 64px 0;
    color: #fff;
}

.legal-hero h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.legal-hero p {
    color: rgba(255, 255, 255, .85);
}

.legal-content {
    padding: 56px 0 90px;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.legal-card h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-card h2 .num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 91, 150, .10);
    display: grid;
    place-items: center;
    font-size: 14px;
}

.legal-card .info-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 15px;
}

.legal-card .info-row:last-child {
    border-bottom: 0;
}

.legal-card .info-row .label {
    color: var(--ink-3);
}

.legal-card p {
    color: var(--ink-2);
    margin-bottom: 10px;
    font-size: 15px;
}

.legal-card a {
    color: var(--primary);
}

.legal-card a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

/* ====== 404 ====== */
.notfound {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 24px;
}

.notfound .code {
    font-size: clamp(80px, 14vw, 160px);
    font-weight: 800;
    letter-spacing: -.04em;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.notfound h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0;
    color: var(--primary-ink);
}

.notfound p {
    color: var(--ink-2);
    margin-bottom: 28px;
}

.notfound .ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== FAB ====== */
.fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 91, 150, .32);
    display: grid;
    place-items: center;
    font-size: 22px;
    z-index: 30;
    transition: transform .12s ease, background .12s ease;
}

.fab:active {
    transform: translateY(2px);
    background: var(--primary-deep);
}


/* ====== RESPONSIVE ====== */
@media (max-width: 1280px) {
    .hero .inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        margin: 0 auto;
        max-width: 420px;
        width: 100%;
    }
}

/* Entre 1080 et 1220 px : menu horizontal resserré (libellés jamais coupés) */
@media (max-width: 1220px) {
    .site-header .inner {
        gap: 16px;
        padding: 0 16px;
    }

    .nav a {
        padding: 9px 9px;
        font-size: 14px;
    }

    .nav .btn {
        margin-left: 4px;
    }
}

/* Sous 900 px (avant : 1080, alors que le menu complet tient jusqu'à ~900 px) : menu « burger » = tiroir qui glisse depuis la droite sous l'en-tête, voile sombre derrière */
@media (max-width: 900px) {
    .burger {
        display: inline-flex;
    }

    /* Défilement de la page bloqué derrière le tiroir : classe posée sur <body>, JAMAIS sur <html>.
       Avec html{overflow:hidden}, body devient le conteneur de défilement : l'en-tête collant (position: sticky)
       cesse de flotter et le tiroir, calé sous lui, part hors écran dès que la page a été défilée (« le menu monte »).
       iOS ignore overflow:hidden → main.js bloque en plus le défilement tactile (touchmove) tant que le tiroir est ouvert. */
    body.menu-open {
        overflow: hidden;
    }

    /* Le tiroir et le voile sont déplacés par main.js à la racine de <body> (hors de l'en-tête) et positionnés en
       position: fixed. Ils ne dépendent ainsi plus de l'en-tête : un parent avec backdrop-filter devient le bloc
       conteneur des éléments fixed (Chrome) et rogne ses enfants qui débordent (Safari / iPhone), et un élément fixed
       hors écran n'élargit jamais la page (plus de décalage du site au balayage vers la gauche). */
    .nav-overlay {
        display: block;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 21, 36, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
        z-index: 48;   /* sous l'en-tête (50) : le bouton burger reste cliquable, au-dessus du contenu */
    }

    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;   /* jusqu'en bas de l'écran, sans calcul de hauteur (100dvh inutile) */
        width: min(340px, 88vw);
        margin-left: 0;
        padding: 14px 14px 22px;
        background: #fff;
        border-left: 1px solid var(--line);
        box-shadow: -12px 0 32px rgba(0, 21, 36, .16);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s;
        z-index: 49;
    }

    .nav.open {
        transform: none;
        visibility: visible;
    }

    .nav a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 14px;
        font-size: 16px;
        font-weight: 600;
        color: var(--ink);
        border-radius: var(--r-md);
        white-space: normal;
    }

    .nav a:hover,
    .nav a:active {
        background: var(--line-2);
    }

    .nav a .nav-ico {
        display: grid;
        place-items: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: var(--line-2);
        color: var(--primary);
        font-size: 15px;
    }

    .nav a[aria-current="page"] {
        background: rgba(0, 91, 150, .08);
        color: var(--primary);
    }

    .nav a[aria-current="page"] .nav-ico {
        background: var(--primary);
        color: #fff;
    }

    /* Connexion / Inscription : deux vrais boutons, calés en bas du tiroir */
    .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    .nav-actions .nav-login {
        justify-content: center;
        gap: 10px;
        padding: 12px 14px;
        border: 1.5px solid var(--primary);
        color: var(--primary);
        font-weight: 700;
    }

    .nav-actions .btn {
        margin: 0;
        justify-content: center;
        gap: 10px;
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 960px) {
    .hero {
        padding: 56px 0 80px;
    }

    .hero .inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        margin: 0 auto;
        max-width: 380px;
    }

    .profiles, .plans, .listings, .faq-grid, .app-section .grid {
        grid-template-columns: 1fr;
    }

    .plan.featured {
        transform: none;
    }

    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    section.block {
        padding: 24px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 40px 28px;
        margin: 60px 16px;
    }

    .legal-card .info-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .legal-card .info-row .label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
}

@media (max-width: 768px) {
    .profiles {
        display: block
    }

    .profile {
        margin-bottom: 24px
    }
}

@media (max-width: 640px) {
    .site-footer .grid {
        grid-template-columns: 1fr;
    }
    .site-footer .bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .steps-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .hero-stats div strong {
        font-size: 22px;
    }

    .hero-visual {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .hero-card {
        position: static;
        width: 100% !important;
    }

    .hero-blob {
        display: none;
    }
}


@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }

}

.hidden{
    display:none!important;
}