/* ======================================================
   ALISIOS EXPERIENCES — blog.css
   Pages d'articles (Carnets des Canaries) : même typographie
   sobre que legal.css, avec image de couverture, méta et
   bloc de conversion vers l'appel découverte.
   ====================================================== */

.article-page {
    padding: clamp(8rem, 18vh, 11rem) var(--gutter) clamp(5rem, 12vh, 8rem);
    background: var(--noir);
}

.article-page__inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-page__back {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: 2.4rem;
    transition: color 0.3s var(--ease-doux);
}

.article-page__back:hover {
    color: var(--dore-clair);
}

.article-page__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--dore);
    margin-bottom: 1rem;
}

.article-page__title {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.4rem;
}

.article-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--gris);
    margin-bottom: 2.8rem;
}

.article-page__meta span:not(:last-child)::after {
    content: "·";
    margin-left: 1rem;
    color: rgba(244, 239, 230, 0.25);
}

.article-page__hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2.8rem;
}

.article-page__lead {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 1.6;
    color: var(--blanc-casse);
    margin-bottom: 2.6rem;
}

.article-page__content h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: var(--blanc-casse);
    margin: 2.6rem 0 1rem;
}

.article-page__content h2:first-child {
    margin-top: 0;
}

.article-page__content p,
.article-page__content li {
    font-size: 0.98rem;
    line-height: 1.85;
    color: rgba(244, 239, 230, 0.8);
}

.article-page__content p {
    margin-bottom: 1.3rem;
}

.article-page__content ul {
    padding-left: 1.4rem;
    margin: 0 0 1.4rem;
}

.article-page__content li {
    margin-bottom: 0.6rem;
}

.article-page__content strong {
    color: var(--dore-clair);
    font-weight: 600;
}

.article-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.8rem;
    font-size: 0.9rem;
}

.article-page__content th,
.article-page__content td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
    vertical-align: top;
}

.article-page__content th {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--dore-clair);
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(201, 162, 75, 0.4);
}

.article-page__content td {
    color: rgba(244, 239, 230, 0.8);
    line-height: 1.6;
}

.article-page__content td:first-child {
    color: var(--blanc-casse);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .article-page__content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.article-page__content a {
    color: var(--dore-clair);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease-doux);
}

.article-page__content a:hover {
    color: var(--dore);
}

.article-page__cta {
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(201, 162, 75, 0.28);
    border-radius: 8px;
    padding: 2rem 2.2rem;
    margin: 3rem 0;
    text-align: center;
}

.article-page__cta p {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--blanc-casse);
    margin-bottom: 1.2rem;
}

.article-page__cta a {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--dore);
    color: var(--noir-volcan);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.3s var(--ease-doux), transform 0.3s var(--ease-doux);
}

.article-page__cta a:hover {
    background: var(--dore-clair);
    transform: translateY(-2px);
}

.article-page__related {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(244, 239, 230, 0.08);
}

.article-page__related h2 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--blanc-casse);
    margin-bottom: 1.6rem;
}

.article-page__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.6rem;
}

.article-page__related-card {
    display: block;
    color: rgba(244, 239, 230, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    border-left: 2px solid rgba(201, 162, 75, 0.4);
    padding-left: 1rem;
    transition: color 0.3s var(--ease-doux), border-color 0.3s var(--ease-doux);
}

.article-page__related-card:hover {
    color: var(--dore-clair);
    border-color: var(--dore);
}

.article-page__related-card span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dore);
    margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
    .article-page__cta {
        padding: 1.6rem 1.4rem;
    }
}
