:root {
    --navy: #14213d;
    --teal: #2f6f6e;
    --teal-dark: #1f4d4c;
    --amber: #d9822b;
    --text: #1f2430;
    --text-muted: #6b7280;
    --border: #e5e8ee;
    --bg-tint: #f6f8fb;
    --radius: 10px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

/* Typographie fluide : s'adapte entre mobile et desktop sans media query */
h1 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; font-size: clamp(1.7rem, 4.5vw + 0.5rem, 2.6rem); margin-bottom: 1rem; }
h2 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; font-size: clamp(1.4rem, 2.5vw + 0.8rem, 1.9rem); margin-bottom: 0.6rem; text-align: center; }
h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; margin-bottom: 0.4rem; }
p { color: var(--text-muted); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 720px; }

/* ============ NAVBAR ============ */
.navbar { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 10; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; position: relative; }

.navbar__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
    text-decoration: none;
}
.navbar__logo-icon { flex-shrink: 0; }
.navbar__logo-lid {
    transform-origin: 20px 18px;
    transition: transform 0.35s ease;
}
.navbar__logo:hover .navbar__logo-lid {
    transform: rotate(-18deg) translate(-2px, -3px);
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar__toggle-input { display: none; }
.navbar__toggle {
    display: flex; flex-direction: column; gap: 4px; cursor: pointer;
    width: 40px; height: 40px; align-items: center; justify-content: center;
}
.navbar__toggle span { width: 22px; height: 2px; background: var(--navy); transition: 0.2s; }

.navbar__links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 20px 20px; border-bottom: 1px solid var(--border);
    display: none; gap: 16px;
}
.navbar__links a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.navbar__links a:hover { color: var(--teal); }
.navbar__login { font-weight: 600; }
.navbar__toggle-input:checked ~ .navbar__links { display: flex; }

.navbar__cta { display: none; }

/* Tablette (>=600px) : on garde le menu burger mais on montre le CTA */
@media (min-width: 600px) {
    .navbar__cta { display: inline-block; padding: 9px 18px; font-size: 0.85rem; }
}

/* Desktop (>=1024px) : navbar horizontale classique, plus de burger */
@media (min-width: 1024px) {
    .navbar__toggle { display: none; }
    .navbar__links {
        position: static; display: flex !important; flex-direction: row;
        align-items: center; gap: 28px; padding: 0; border: none; background: none;
    }
}

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.95rem; text-align: center; }
.btn--primary { background: var(--amber); color: #fff; }
.btn--primary:hover { background: #c07223; }
.btn--ghost { color: var(--navy); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ============ HERO ============ */
.hero { padding: 56px 0 44px; text-align: center; }
.hero__inner { max-width: 720px; margin: 0 auto; }
.eyebrow { display: inline-block; background: var(--bg-tint); color: var(--teal); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }
.hero__subtitle { font-size: clamp(0.95rem, 1vw + 0.8rem, 1.1rem); margin: 18px 0 26px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__actions .btn { width: 100%; }

@media (min-width: 600px) {
    .hero { padding: 80px 0 60px; }
    .hero__actions { flex-direction: row; justify-content: center; }
    .hero__actions .btn { width: auto; }
}

/* ============ SECTIONS ============ */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 70px 0; } }
.section--tinted { background: var(--bg-tint); }
.section__intro { text-align: center; max-width: 620px; margin: 0 auto 32px; }

.grid { display: grid; gap: 20px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; }
.card__icon { font-size: 1.6rem; color: var(--teal); margin-bottom: 10px; }

.actions-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.action-pill { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 9px 16px; font-size: 0.85rem; color: var(--navy); font-weight: 500; }

.notif-card { background: var(--bg-tint); border-radius: 12px; padding: 22px; text-align: center; font-style: italic; color: var(--navy); }

.section--dark { background: var(--navy); }
.stats { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.stats__number { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw + 1rem, 2.2rem); color: #fff; font-weight: 700; }
.stats__label { color: #b9c6de; font-size: 0.9rem; }
@media (min-width: 640px) { .stats { flex-direction: row; justify-content: space-around; } }

.step { text-align: center; }
.step__number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 12px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq-item p { margin-top: 10px; }

.cta-final { text-align: center; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); padding: 26px 0; }
.footer__inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--text-muted); text-decoration: none; }
@media (min-width: 640px) {
    .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}