/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
    background: #f7f9fc;
}

/* Langues */
body.lang-fr .lang-en { display: none; }
body.lang-en .lang-fr { display: none; }

/* SLIDES */
.slide {
    min-height: 100vh;
    padding: 120px 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (max-width: 900px) {
    .slide {
        padding: 100px 24px 60px;
    }
}

/* NAVIGATION */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffffcc;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    padding: 12px 28px;
    z-index: 100;
}

.logo {
    font-weight: 600;
    color: #0b3c5d;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-hint {
    color: #6b7280;
    font-size: 0.85rem;
}

.lang-toggle {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #21b6a8;
    background: #e8faf7;
    color: #0b3c5d;
    font-weight: 600;
    cursor: pointer;
}

/* TAGS & TITLES */
.tag {
    display: inline-block;
    background: #e7f7f5;
    color: #21b6a8;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

h1, h2 {
    font-weight: 700;
    color: #0b3c5d;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }

h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #1f2937;
}

/* INTRO */
.intro-layout {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.intro-main {
    flex: 1;
}

.intro-main p {
    font-size: 1rem;
    line-height: 1.45;
    color: #374151;
    margin-top: 10px;
}

.intro-qr {
    width: 260px;
    display: flex;
    justify-content: center;
}

.qr-card {
    background: #fff;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    text-align: center;
}

.qr-card img {
    width: 100%;
    border-radius: 12px;
}

.qr-caption {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 6px;
}

/* GRID & CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.card {
    background: #fff;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.label {
    font-size: 0.8rem;
    color: #21b6a8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* LISTES AVEC PETITS RONDS */
.card ul {
    list-style: none;
    margin-top: 6px;
}

.card ul li {
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.95rem;
    position: relative;
    padding-left: 14px;
}

.card ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #21b6a8;
    position: absolute;
    left: 0;
    top: 0.55em;
}

/* IMAGE BLOCKS */
.image-block {
    margin-top: 18px;
}

.image-block img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* TIMELINE IMPAYÉS */
.relance-flow {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.relance-step {
    background: #e7f7f5;
    border: 1px solid #21b6a852;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.relance-j {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b3c5d;
}

.relance-label {
    font-size: 0.85rem;
    color: #374151;
}

.relance-arrow {
    font-size: 1.6rem;
    color: #6b7280;
}

/* FOOTER NOTE */
.footer-note {
    margin-top: 12px;
    color: #6b7280;
    font-size: 0.9rem;
}

/* FOCUS BAND */
.focus-band {
    margin-top: 28px;
    padding: 18px 24px;
    border-radius: 18px;
    background: #e8f1fb;
    border: 1px solid #d0e2f5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    color: #0b3355;
    font-size: 1rem;
    font-weight: 500;
}

.focus-band p {
    line-height: 1.45;
}

/* RH SLIDE PILL STYLE */
.rh-main-card {
    /* même card mais on laisse la possibilité d’accentuer plus tard */
}

.rh-simple-card p {
    font-size: 0.97rem;
    color: #374151;
    line-height: 1.5;
}

.rh-baseline {
    margin-bottom: 10px;
    color: #374151;
    font-size: 0.95rem;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e293b;
    font-size: 0.85rem;
}

/* NEXT BUTTON */
.next-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    padding: 10px 18px;
    background: #21b6a8;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(33,182,168,0.3);
    font-size: 0.95rem;
    z-index: 200;
    transition: transform 0.15s;
}

.next-btn:hover {
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .intro-layout {
        flex-direction: column;
        text-align: center;
    }
    .intro-qr {
        width: 180px;
    }
    .qr-card {
        width: 100%;
    }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.55rem; }
}

@media (max-width: 650px) {
    .next-btn {
        right: 16px;
        bottom: 20px;
        padding: 9px 16px;
    }
}

.pill-wide {
    display: block;
    width: 100%;
    text-align: left;
}


.lang-toggle {
    border: 1px solid #cbd5f5;
    background: #e5edff;
    color: #1e3a8a;
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.lang-toggle:hover {
    background: #d7e3ff;
}

.quit-btn {
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
}

.quit-btn:hover {
    background: #f3f4f6;
}
