/*
 * Landing page de pré-lancement — destmii.
 * Reprend la charte "Nuit bleue" de l'application (src/app/globals.css) : fond clair,
 * texte bleu nuit, accent or pour les CTA, bleu pervenche en accent premium.
 * Page statique autonome (HTML + CSS), sans dépendance à l'app Next.js.
 */

:root {
    --paper: #f3f6fc;
    --surface: #ffffff;
    --map: #e4eafb;
    --ink: #101a33;
    --contour: #364867;
    --muted: #6b7a99;
    --beacon: #d9a441;
    --beacon-dark: #c1912e;
    --blaze: #7c8fff;
    --coral-soft: #e8bf74;
    --night: #0b1220;
    --border: #dce3f5;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

a {
    color: inherit;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.logo-mark {
    width: 28px;
    height: 28px;
}

.logo-word.small {
    font-size: 0.95rem;
}

.logo-i {
    color: var(--night);
}

.header-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--map);
    color: var(--ink);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Hero */

.hero {
    padding: 56px 0 72px;
}

.hero-inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1.05fr 1fr;
        gap: 48px;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink);
    background: var(--map);
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 20px;
}

.eyebrow.center {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
}

h1 {
    font-size: 2.4rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
}

@media (min-width: 640px) {
    h1 {
        font-size: 3rem;
    }
}

.accent-gold {
    color: var(--beacon);
}

.accent-night {
    color: var(--night);
}

.lede {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--contour);
    max-width: 32rem;
    margin: 0 0 32px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-mark {
    width: 100%;
    max-width: 320px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition:
        opacity 0.2s,
        background-color 0.2s;
}

.btn-premium {
    background: linear-gradient(120deg, #101a33 0%, #2a42b8 100%);
    color: var(--coral-soft);
    box-shadow: 0 20px 40px -18px rgba(42, 66, 184, 0.45);
}

.btn-premium:hover {
    opacity: 0.95;
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--map);
}

/* Bouton Facebook — bleu de marque officiel (#1877F2), gardé hors palette destmii
   volontairement : c'est un lien vers un réseau tiers, pas un CTA produit. */
.btn-facebook {
    background: #1877f2;
    color: #ffffff;
    gap: 10px;
    padding: 12px 24px;
}

.btn-facebook:hover {
    background: #0f63d1;
}

.btn-facebook-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Sections */

.section {
    padding: 64px 0;
}

.section-tinted {
    background: var(--map);
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 40px;
}

h2.center,
.center {
    text-align: center;
}

/* Steps */

.steps {
    display: grid;
    gap: 20px;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    background: var(--surface);
    border-radius: 24px;
    padding: 28px;
    box-shadow:
        0 1px 2px rgba(16, 26, 51, 0.04),
        0 12px 32px -12px rgba(16, 26, 51, 0.08);
}

.step-number {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ink);
    margin-bottom: 10px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.step p {
    margin: 0;
    color: var(--contour);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Audience */

.audience {
    display: grid;
    gap: 20px;
}

@media (min-width: 720px) {
    .audience {
        grid-template-columns: repeat(2, 1fr);
    }
}

.audience-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 32px;
    box-shadow:
        0 1px 2px rgba(16, 26, 51, 0.04),
        0 12px 32px -12px rgba(16, 26, 51, 0.08);
}

.audience-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--map);
    color: var(--ink);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.audience-card h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.audience-card p {
    margin: 0;
    color: var(--contour);
    line-height: 1.6;
}

/* Final CTA */

.final-cta {
    text-align: center;
}

.final-cta-inner h2 {
    margin: 0 0 12px;
}

.final-cta-inner p {
    margin: 0;
    color: var(--contour);
    font-size: 1.05rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

.copyright span {
    display: flex;
}

.copyright a {
    display: inline-block;
    margin-left: 5px;
}