/* reset and additional styles */
@import "reset.css";

*, *::before, *::after { box-sizing: border-box; }

/* Palette « Aube éditoriale » — alignée sur l'app iOS */
:root {
    --aube: #FFF7EC;
    --carte: #FFFDF8;
    --encre: #221C33;
    --brume: #8B84A3;
    --soleil: #F2A03D;
    --nuit: #171321;
    --ivoire: #F4EFE6;

    --serif: 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --aube: #171321;
        --carte: #221D31;
        --encre: #F4EFE6;
        --brume: #7E7794;
    }
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: var(--aube);
    font-family: var(--sans);
    color: var(--encre);
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: clamp(20px, 4vh, 48px) 16px;
}

.content-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content {
    width: 100%;
    max-width: 680px;
    background: var(--carte);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 8px 32px rgba(34, 28, 51, 0.10);
}

.content__title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 4.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--encre);
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}

/* Filet soleil sous le titre */
.content__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    margin-top: 14px;
    background: linear-gradient(135deg, #FFCE7A, #F2A03D 45%, #EE6352);
}

.content__text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--encre);
    white-space: pre-wrap;
}

.content__text h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 26px 0 8px;
    white-space: normal;
}

.content__text p {
    margin: 0 0 12px;
    white-space: pre-wrap;
}

.content__text a {
    color: var(--soleil);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}
