/* Pages de contenu : prestations, à propos, FAQ, études de cas, 404 */
.content-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 160px 40px 0;
}

.content-page-narrow {
    max-width: 720px;
    padding-bottom: 80px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-bottom: 40px;
    font-size: 13px;
    color: var(--silver);
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
}

.breadcrumbs a {
    color: var(--silver);
}

.content-header {
    margin-bottom: 56px;
}

.content-kicker {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.content-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--charcoal);
    margin-bottom: 24px;
    animation: heroIn var(--motion-hero) var(--ease-out) 0.00s backwards;
}

.content-lead {
    font-size: 20px;
    color: var(--silver);
    max-width: 760px;
}

.content-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    margin: 56px 0 20px;
}

.prose {
    font-size: 17px;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 18px;
}

.prose ul {
    margin: 0 0 24px 22px;
}

.prose li {
    margin-bottom: 10px;
}

.prose li::marker {
    color: var(--accent);
}

.prose a {
    color: var(--accent);
}

.prose h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 32px 0 10px;
}

.note {
    font-size: 15px;
    color: var(--silver);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.case-figure {
    margin-bottom: 16px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: var(--white);
}

.case-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    margin: 0 auto;
}

.quote {
    margin: 40px 0;
    padding: 28px 32px;
    background: var(--white);
    border-left: 2px solid var(--accent);
}

.quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.quote footer {
    padding: 0;
    border: 0;
    font-size: 14px;
    color: var(--silver);
}

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 28px 0 8px;
}

.link-card {
    display: block;
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    color: inherit;
    text-decoration: none;
    transition:
        transform var(--motion-base) var(--ease-out),
        border-color var(--motion-base) ease,
        box-shadow var(--motion-base) var(--ease-out);
}

.link-card strong {
    transition: color var(--motion-fast) ease;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(206, 28, 28, 0.5);
    box-shadow: var(--shadow-lift);
}

.link-card:hover strong {
    color: var(--accent);
}

.prose a.link-card {
    color: inherit;
}

.link-card strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 8px;
}

.link-card span {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: var(--silver);
}

.faq-section {
    margin-top: 16px;
}

.faq-item {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 400;
    list-style: none;
    cursor: pointer;
    transition: color var(--motion-fast) ease, padding-left var(--motion-fast) var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    transition: transform var(--motion-base) var(--ease-out);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--accent);
    padding-left: 6px;
}

/* Ouverture animée (navigateurs compatibles, sinon ouverture immédiate) */
.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
        block-size var(--motion-base) var(--ease-out),
        content-visibility var(--motion-base) allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-item p {
    padding-bottom: 22px;
    color: var(--silver);
    line-height: 1.8;
}

.page-cta {
    margin: 80px -40px 0;
    padding: 80px 40px;
    text-align: center;
    background: var(--charcoal);
    color: var(--white);
}

.page-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 16px;
}

.page-cta-text {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--platinum);
}

.page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.prose a {
    text-underline-offset: 3px;
    transition: color var(--motion-fast) ease;
}

.prose a:hover {
    color: var(--charcoal);
}

/* Entrées au défilement (déclenchées par main.js) */
.content-kicker,
.content-lead,
.case-figure,
.content-h2,
.prose > ul,
.prose > p,
.link-card,
.quote,
.faq-item,
.page-cta-title,
.page-cta-text,
.page-cta-actions {
    animation: riseIn var(--motion-slow) var(--ease-out) backwards;
}

.link-card:nth-child(2) {
    animation-delay: 0.08s;
}

.link-card:nth-child(3) {
    animation-delay: 0.16s;
}

.page-cta-text {
    animation-delay: 0.08s;
}

.page-cta-actions {
    animation-delay: 0.16s;
}

.page-cta .btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.page-cta .btn-ghost:hover {
    color: var(--white);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .content-page {
        padding: 130px 24px 0;
    }

    .content-page-narrow {
        padding-bottom: 60px;
    }

    .content-h2 {
        font-size: 30px;
    }

    .page-cta {
        margin: 60px -24px 0;
        padding: 64px 24px;
    }

    .page-cta-title {
        font-size: 34px;
    }
}
