/* ====================================================================
   Correcto — styles des pages publiques (landing, légal, contact).
   Complète style.css (variables, body, boutons, champs).
   ==================================================================== */

/* --- En-tête public --- */
.site-header-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.site-nav a {
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-muted);
}
.site-nav a:hover { background: var(--c-bg); text-decoration: none; }
.site-nav a.nav-cta {
    background: var(--c-primary);
    color: #fff;
}
.site-nav a.nav-cta:hover { background: var(--c-primary-dark); }

/* --- Pied de page --- */
.site-footer {
    background: #1f2937;
    color: #9ca3af;
    margin-top: 56px;
    padding: 32px 24px;
}
.site-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
}
.site-footer a { color: #d1d5db; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Contenu texte (pages légales, prose) --- */
.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px;
}
.prose h1 { font-size: 26px; margin-bottom: 6px; }
.prose .updated { color: var(--c-muted); font-size: 13px; margin-bottom: 28px; }
.prose h2 {
    font-size: 18px;
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--c-border);
}
.prose h3 { font-size: 15px; margin: 18px 0 6px; }
.prose p, .prose li { font-size: 15px; line-height: 1.65; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 12px 22px; }
.prose li { margin-bottom: 5px; }
.prose strong { font-weight: 600; }
.prose .lead {
    background: var(--c-bg);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 14px;
    color: var(--c-muted);
}

/* --- Landing --- */
.hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    text-align: center;
}
.hero h1 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.hero p.tagline {
    font-size: 18px;
    color: var(--c-muted);
    margin-bottom: 26px;
}
.hero .btn-row { justify-content: center; }

.section {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 24px;
}
.section h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}
.section .section-sub {
    text-align: center;
    color: var(--c-muted);
    font-size: 15px;
    margin-bottom: 30px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 22px;
}
.step .num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--c-muted); }

/* Bloc confidentialité mis en avant sur la landing */
.privacy-band {
    background: #eff6ff;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}
.privacy-band .section { text-align: center; }
.privacy-band h2 { color: var(--c-primary-dark); }

.cta-band {
    text-align: center;
    padding: 52px 24px;
}
.cta-band h2 { font-size: 24px; margin-bottom: 8px; }
.cta-band p { color: var(--c-muted); margin-bottom: 22px; }

/* --- Formulaire (page contact) --- */
.prose textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--c-text);
    resize: vertical;
    min-height: 130px;
}
.prose textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.prose .btn { width: auto; display: inline-block; padding: 11px 22px; }

/* --- Bandeau cookies --- */
.cookie-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    max-width: 720px;
    margin: 0 auto;
    background: #1f2937;
    color: #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 50;
    font-size: 13px;
}
.cookie-banner p { flex: 1; min-width: 220px; margin: 0; }
.cookie-banner a { color: #93c5fd; }
.cookie-banner button {
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
