/* =========================================
   prestations.css
   ========================================= */

.prestations-header-inner { width: 100%; }

/* ---- NAV CATÉGORIES ---- */
.prestations-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--beige);
    background: var(--cream);
    padding: 0 40px;
}

.prestations-nav-btn {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    text-decoration: none;
    padding: 20px 28px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.prestations-nav-btn:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* ---- SECTIONS ALTERNÉES ---- */
.prestation-section {
    padding: 120px 40px;
}

.prestation-section.alt {
    background: var(--warm-bg);
}

.prestation-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.prestation-inner.reverse {
    direction: rtl;
}

.prestation-inner.reverse > * {
    direction: ltr;
}

/* ---- IMAGE ---- */
.prestation-visual {
    position: relative;
    overflow: hidden;
}

.prestation-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    filter: brightness(0.90) saturate(0.82);
    transition: filter 0.6s ease, transform 0.8s ease;
}

.prestation-section:hover .prestation-img {
    filter: brightness(0.95) saturate(1);
    transform: scale(1.02);
}

/* Trait décoratif sur l'image */
.prestation-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--charcoal);
    transition: width 0.5s ease;
}

.prestation-section:hover .prestation-visual::after {
    width: 120px;
}

/* Numéro — caché */
.prestation-number {
    display: none;
}

/* ---- CONTENU ---- */
.prestation-content {
    display: flex;
    flex-direction: column;
}

.prestation-content .section-label {
    margin-bottom: 10px;
}

.prestation-content h2 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.prestation-content > p {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 520px;
}

/* ---- LISTE ---- */
.prestation-list {
    list-style: none;
    margin-bottom: 40px;
}

.prestation-list li {
    font-size: 13.5px;
    color: var(--charcoal);
    padding: 10px 0;
    border-bottom: 1px solid var(--beige);
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.prestation-list li:first-child {
    border-top: 1px solid var(--beige);
}

.prestation-list li::before {
    content: '—';
    color: var(--stone);
    font-size: 11px;
    flex-shrink: 0;
}

.prestation-list li:hover {
    color: var(--ink);
}

/* ---- FORMULES ---- */
.prestation-formules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.prestation-formules.trois-cartes {
    grid-template-columns: repeat(3, 1fr);
}

.formule {
    padding: 24px;
    border: 1px solid var(--beige);
    background: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.formule:hover {
    border-color: var(--charcoal);
    box-shadow: 0 8px 24px rgba(28, 26, 24, 0.07);
}

.formule.featured {
    border-color: var(--charcoal);
    background: var(--ink);
    color: var(--white);
}

.formule.featured:hover {
    box-shadow: 0 8px 24px rgba(28, 26, 24, 0.18);
}

.formule h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 8px;
    color: inherit;
}

.formule-prix {
    display: block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--stone);
}

.formule.featured .formule-prix {
    color: rgba(255, 255, 255, 0.6);
}

.formule p {
    font-size: 12.5px;
    color: var(--stone);
    margin: 0;
    line-height: 1.6;
}

.formule.featured p {
    color: rgba(255, 255, 255, 0.55);
}

.formule-note {
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.04em;
    margin-top: auto;
    padding-top: 12px;
    display: block;
}

.formule.featured .formule-note {
    color: rgba(255, 255, 255, 0.3);
}

/* ---- FAQ ---- */
.faq-section {
    padding: 120px 40px;
    border-top: 1px solid var(--beige);
    background: var(--cream);
}

.faq-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.faq-inner h2 {
    margin-bottom: 64px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--beige);
    border: 1px solid var(--beige);
}

.faq-item {
    padding: 40px;
    background: var(--cream);
    transition: background var(--transition);
    cursor: default;
}

.faq-item:hover {
    background: var(--warm-bg);
}

.faq-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.2;
}

.faq-item p {
    font-size: 14px;
    color: var(--stone);
    line-height: 1.75;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .prestation-inner { gap: 60px; }
}

@media (max-width: 900px) {
    .prestations-nav { padding: 0 20px; overflow-x: auto; }
    .prestations-nav-btn { padding: 16px 20px; white-space: nowrap; }

    .prestation-inner,
    .prestation-inner.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 32px;
    }
    .prestation-section { padding: 70px 24px; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-section { padding: 70px 24px; }
    .prestation-content > p { max-width: 100%; }
    .prestation-formules { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .prestations-nav { padding: 0; gap: 0; justify-content: stretch; }
    .prestations-nav-btn {
        flex: 1;
        text-align: center;
        padding: 14px 8px;
        font-size: 10px;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    .prestation-section { padding: 48px 20px; }
    .prestation-content h2 { font-size: 26px; }
    .prestation-content > p { font-size: 14px; }
    .prestation-content .section-label { font-size: 10px; }
    .prestation-list li { font-size: 13px; }

    .prestation-formules,
    .prestation-formules.trois-cartes {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }
    .formule { padding: 18px 16px; }
    .formule h4 { font-size: 17px; }
    .formule p { font-size: 12px; }
    .formule-prix { font-size: 11px; }

    .faq-section { padding: 48px 20px; }
    .faq-item { padding: 24px 16px; }
    .faq-item h4 { font-size: 17px; }
    .faq-item p { font-size: 13px; }
    .faq-inner h2 { margin-bottom: 32px; }
}