/**
 * ════════════════════════════════════════════════════════════════
 * MAISONS CTL — PAGE PRESTATIONS
 * ════════════════════════════════════════════════════════════════
 *
 * Styles de la page /prestations (offres packagées).
 * Charte alignée sur le header / home premium (vert forêt #2D6A4F,
 * fond crème #FAF7F2, typographie DM Sans / DM Serif Display).
 *
 * Version : 1.0.0
 * Date    : 16/06/2026
 * ════════════════════════════════════════════════════════════════ */

.prestations-page {
    /* Tokens locaux (cohérents avec header.css / home-v4.css) */
    --p-bg: #FAF7F2;
    --p-bg-alt: #F1ECE3;
    --p-ink: #1B1F1A;
    --p-ink-muted: #5C5852;
    --p-accent: #2D6A4F;
    --p-accent-deep: #1B4332;
    --p-accent-soft: rgba(45, 106, 79, 0.08);
    --p-border: rgba(27, 31, 26, 0.10);
    --p-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
    --p-card-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.08), 0 24px 56px rgba(0, 0, 0, 0.12);

    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--p-ink);
    background-color: var(--p-bg);
}

.prestations-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.presta-hero {
    background: linear-gradient(160deg, #1B4332 0%, #2D6A4F 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0 72px;
}

.presta-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    margin-bottom: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.presta-hero h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 20px;
}

.presta-hero__subtitle {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 14px;
}

.presta-hero__lead {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.presta-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ══════════════════════════════════════════════
   BOUTONS
   ══════════════════════════════════════════════ */
.presta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.presta-btn--primary {
    background: var(--p-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.28);
}

.presta-btn--primary:hover {
    background: var(--p-accent-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 67, 50, 0.36);
}

.presta-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.presta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

/* Variante ghost sur fond clair (bloc CTA final) */
.presta-cta .presta-btn--ghost {
    color: var(--p-accent-deep);
    border-color: var(--p-accent);
}

.presta-cta .presta-btn--ghost:hover {
    background: var(--p-accent-soft);
    color: var(--p-accent-deep);
    border-color: var(--p-accent-deep);
}

/* ══════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════ */
.presta-section {
    padding: 76px 0;
    scroll-margin-top: 110px; /* compense le header sticky lors des ancres */
}

.presta-section--alt {
    background-color: var(--p-bg-alt);
}

.presta-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.presta-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--p-accent-soft);
    color: var(--p-accent-deep);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.presta-section__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--p-ink);
    margin: 0 0 14px;
}

.presta-section__subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--p-ink-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════
   GRILLE DE CARTES
   ══════════════════════════════════════════════ */
.presta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.presta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--p-border);
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: var(--p-card-shadow);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.presta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--p-card-shadow-hover);
}

/* Carte mise en avant */
.presta-card--featured {
    border-color: var(--p-accent);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.12), 0 24px 56px rgba(27, 67, 50, 0.16);
}

.presta-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid var(--p-accent);
    pointer-events: none;
}

.presta-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--p-accent);
    color: #fff;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.28);
}

.presta-card__header {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--p-border);
}

.presta-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--p-ink);
    margin: 0 0 14px;
}

.presta-card__price {
    margin: 0;
    line-height: 1.1;
}

.presta-card__price-prefix {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--p-ink-muted);
    margin-bottom: 4px;
}

.presta-card__price-value {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--p-accent-deep);
}

.presta-card__accroche {
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--p-ink-muted);
    margin: 0 0 22px;
}

.presta-card__features {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}

.presta-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 9px 0;
    font-size: 0.96rem;
    line-height: 1.5;
    color: var(--p-ink);
}

.presta-card__check {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--p-accent);
}

.presta-card__soon {
    flex: 1;
    text-align: center;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--p-ink-muted);
    background: var(--p-accent-soft);
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 26px;
}

.presta-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 14px 24px;
    border-radius: 999px;
    background: transparent;
    color: var(--p-accent-deep);
    border: 2px solid var(--p-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.presta-card__cta svg {
    transition: transform 0.25s ease;
}

.presta-card__cta:hover {
    background: var(--p-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(27, 67, 50, 0.28);
}

.presta-card__cta:hover svg {
    transform: translateX(3px);
}

/* Le CTA de la carte mise en avant est plein dès le départ */
.presta-card__cta--featured {
    background: var(--p-accent);
    color: #fff;
}

.presta-card__cta--featured:hover {
    background: var(--p-accent-deep);
    color: #fff;
}

/* ══════════════════════════════════════════════
   BLOC CTA FINAL
   ══════════════════════════════════════════════ */
.presta-cta {
    text-align: center;
    padding: 76px 0;
    background: var(--p-bg);
    border-top: 1px solid var(--p-border);
}

.presta-cta h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 400;
    color: var(--p-ink);
    margin: 0 0 16px;
}

.presta-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--p-ink-muted);
}

.presta-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .presta-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .presta-hero {
        padding: 60px 0 54px;
    }

    .presta-section {
        padding: 56px 0;
    }

    .presta-hero__actions,
    .presta-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .presta-btn {
        width: 100%;
    }
}
