/* ============================================================
   layout.css — Sections, hero, titres de pages, CTA, profil
   ============================================================ */

/* ── Fonds de sections ── */
.section-papier {
    background-color: var(--papier-50);
}

.section-pourpre {
    background-color: var(--pourpre-700);
}

/* ── Section hero (page d'accueil) ── */
.hero-section {
    min-height: 85vh;
    background-color: var(--papier-50);
    overflow: hidden;
}

.hero-img-wrapper {
    height: 85vh;
    overflow: hidden;
}

.hero-img {
    object-fit: cover;
    object-position: center top;
    transform: scale(1.1);
}

.hero-gradient {
    background: linear-gradient(to right, transparent 0%, var(--papier-50) 100%);
}

/* ── Titres de pages ── */

/* Titre hero (très grand, page d'accueil) */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

/* Titre de page standard (activity, curriculum, contact) */
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
}

/* Titre de page formulaire (profil, auth) */
.page-title-sm {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--encre-900);
    line-height: 1.1;
}

/* Titre de section large (home) */
.section-title-lg {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--encre-900);
}

/* Titre de section standard */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--encre-900);
}

/* Titre de section sur fond sombre (CTA) */
.section-title-light {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--papier-50);
}

/* ── Section CTA (fond pourpre) ── */
.cta-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--papier-50);
}

.cta-body {
    color: var(--papier-100);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Largeurs du chapo ── */
.chapo-narrow { max-width: 540px; }
.chapo-wide   { max-width: 700px; }

/* ── Wrappers de pages profil / formulaires ── */
.profile-wrapper {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.profile-form-wrapper {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ── Pages d'authentification ── */
.auth-panel {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 3rem 1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-wrapper--sm {
    max-width: 22rem;
}

.auth-wrapper--lg {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--encre-900);
    line-height: 1.1;
}

/* ── Partiel « bientôt disponible » ── */
.coming-soon-inner {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
