/* Accueil — « Aube éditoriale », aligné sur share.css et l'app iOS */
@import "reset.css";

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

:root {
    --aube: #FFF7EC;
    --carte: #FFFDF8;
    --encre: #221C33;
    --brume: #8B84A3;
    --soleil: #F2A03D;
    --corail: #EE6352;
    --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;
    }
}

body {
    background-color: var(--aube);
    font-family: var(--sans);
    color: var(--encre);
}

.wrapper {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Héro : la nuit qui s'ouvre sur le lever de soleil, comme le splash de l'app */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 56px 0;
    color: var(--ivoire);
    background-color: var(--nuit);
    background-image: linear-gradient(180deg, rgba(23, 19, 33, 0.78), rgba(23, 19, 33, 0.30)), url('/images/aube.jpg');
    background-size: cover;
    background-position: center 62%;
    background-repeat: no-repeat;
}

.app {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.app__icon {
    flex-shrink: 0;
    padding-right: 16px;
}

.app__icon img {
    width: clamp(52px, 9vh, 72px);
    height: auto;
    border-radius: 22%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.app__name {
    font-family: var(--serif);
    font-weight: 700;
}

.hero__title {
    margin-top: 40px;
    font-family: var(--serif);
    font-size: clamp(2rem, 6.5vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
}

.hero__subtitle {
    margin-top: 18px;
    font-size: clamp(1.05rem, 3.4vw, 1.25rem);
    line-height: 1.45;
    color: var(--ivoire);
    opacity: 0.88;
}

.cta {
    margin-top: 36px;
}

.cta a { display: inline-block; }

.cta img {
    width: 210px;
    height: auto;
}

/* Points forts : rangées de gazette, comme l'archive de l'app */
.features {
    padding: 56px 0 40px;
}

.feature {
    padding: 26px 0;
    border-bottom: 1px solid rgba(139, 132, 163, 0.25);
}

.feature:last-child { border-bottom: none; }

.feature__chip {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    color: var(--soleil);
}

.feature__chip::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCE7A, #F2A03D 45%, #EE6352);
    vertical-align: 1px;
}

.feature__title {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 4.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.feature__text {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--brume);
}

/* Pied de page */
.footer {
    padding: 28px 0 40px;
    text-align: center;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer__links a {
    color: var(--brume);
    text-decoration: none;
}

.footer__links a:hover { color: var(--soleil); }

.footer__links span { color: var(--brume); }

.footer__brand {
    margin-top: 14px;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brume);
}
