/* ==========================================
   STYLES SPÉCIFIQUES À LA PAGE TARIFS
   ========================================== */

/* Forcer la page à commencer tout en haut */
body.page-tarifs {
    margin: 0;
    padding: 0;
}

.tarifs-hero-section {
    /* background-image géré dynamiquement par tarifs.js via tarifs-data.json */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 120vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: -80px 0 0 0;
    padding: 80px 0 0 0;
    top: 0;
    left: 0;
}

.tarifs-hero-title {
    font-family: "orpheuspro", serif;
    font-size: 72px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 1;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.tarifs-hero-subtitle {
    font-family: "din-2014", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 60px;
    opacity: 1;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.tarifs-intro-text {
    font-family: "orpheuspro", serif;
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    opacity: 1;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation au scroll - texte qui disparaît progressivement */
.tarifs-hero-section.scrolled .tarifs-hero-title,
.tarifs-hero-section.scrolled .tarifs-hero-subtitle,
.tarifs-hero-section.scrolled .tarifs-intro-text,
.tarifs-hero-section.scrolled .scroll-arrow {
    opacity: 0;
    transform: translateY(-30px);
}

.scroll-arrow {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-top: 30px;
    opacity: 1;
}

.scroll-arrow:hover {
    transform: translateY(5px);
}

.scroll-arrow span {
    font-family: "din-2014", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.tarifs-intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

.tarifs-intro-text {
    font-family: "orpheuspro", serif;
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.tarifs-intro-description {
    font-family: "din-2014", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

/* Section Formules */
.tarifs-formules-section {
    padding: 80px 0;
    background: #ede9e4;
}

/* ③ Header section formules */
.formules-header {
    text-align: center;
    margin-bottom: 60px;
}

.formules-overline {
    font-family: "din-2014", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #a95d4f;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.formules-title {
    font-family: "orpheuspro", serif;
    font-size: 42px;
    font-weight: 300;
    color: #2c1a18;
    margin-bottom: 24px;
}

.formules-divider {
    width: 40px;
    height: 1px;
    background: #a95d4f;
    margin: 0 auto;
}

.tarifs-formules-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.formules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.formule-card {
    background: #fff;
    padding: 50px 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    border-top: 3px solid #a95d4f;
    cursor: pointer;
}

.formule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(169, 93, 79, 0.15);
    border-color: #a95d4f;
    border-top-width: 3px;
}

/* ② Nom de formule en serif italic */
.formule-label {
    font-family: "orpheuspro", serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0;
    color: #a95d4f;
    text-transform: none;
    margin-bottom: 15px;
}

/* ① Carte Passionnément mise en avant */
.formule-card.featured {
    background: #2c1a18;
    border-top: 3px solid #c4947a;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.formule-card.featured:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: #c4947a;
    border-top-width: 3px;
}

.formule-card.featured .formule-label {
    color: #c4947a;
}

.formule-card.featured .formule-price {
    color: #f5ede8;
}

.formule-card.featured .formule-title {
    color: #c8b0aa;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.formule-card.featured .formule-features li {
    color: #b8a8a4;
}

.formule-card.featured .formule-features li::before {
    color: #c4947a;
}

.formule-card.featured .formule-cta-arrow,
.formule-card.featured .formule-cta-text {
    color: #c4947a;
}

.formule-card.featured .formule-cta:hover .formule-cta-arrow,
.formule-card.featured .formule-cta:hover .formule-cta-text {
    color: #e0b89a;
}

.formule-price {
    font-family: "orpheuspro", serif;
    font-size: 56px;
    font-weight: 300;
    color: #333;
    margin-bottom: 25px;
}

.formule-title {
    font-family: "din-2014", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.formule-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.formule-features li {
    font-family: "din-2014", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 2;
    padding: 8px 0;
}

.formule-features li::before {
    content: "· ";
    color: #a95d4f;
    font-size: 18px;
    font-weight: 400;
    margin-right: 6px;
    vertical-align: middle;
}

.formule-cta {
    margin-top: 30px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.formule-cta:hover {
    transform: translateY(3px);
}

.formule-cta-arrow {
    font-size: 28px;
    color: #a95d4f;
    animation: bounce-cta 2s infinite;
    line-height: 1;
}

.formule-cta-text {
    font-family: "din-2014", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a95d4f;
    transition: color 0.3s ease;
}

.formule-cta:hover .formule-cta-text {
    color: #8a4a3f;
}

.formule-cta:hover .formule-cta-arrow {
    color: #8a4a3f;
}

@keyframes bounce-cta {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Section Note */
.tarifs-note-section {
    padding: 80px 0;
    background: #fff;
}

.tarifs-note-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.tarifs-note-image {
    flex: 1;
    max-width: 50%;
}

.tarifs-note-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tarifs-note-content {
    flex: 1;
    max-width: 50%;
}

.tarifs-note-text {
    font-family: "din-2014", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.tarifs-note-highlight {
    font-family: "orpheuspro", serif;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    text-align: left;
}

/* ==========================================
   AUTRES PRESTATIONS — STICKY SCROLL
   ========================================== */

/* 1. Section wrapper */
.prestations-scroll-section {
    position: relative;
}

/* 2. Track — crée l'espace de scroll (6 × 100vh) */
.prestations-scroll-track {
    height: calc(6 * 100vh);
    position: relative;
}

/* 3. Viewport sticky */
.prestations-scroll-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #0e0906;
}

/* 4. Panel — chaque prestation plein écran */
.prestation-panel {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.06);
    transition:
        opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.prestation-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.prestation-panel.is-prev {
    opacity: 0;
    transform: scale(0.97);
    z-index: 1;
}

/* 5. Photo */
.prestation-panel-photo {
    flex: 1 0 58%;
    position: relative;
    overflow: hidden;
    order: 2;
}

.prestation-panel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.prestation-panel.is-active .prestation-panel-photo img {
    transform: scale(1);
}

/* 6. Content — colonne gauche */
.prestation-panel-content {
    flex: 0 0 42%;
    background: #1c1009;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
    position: relative;
    z-index: 1;
    order: 1;
}

/* 7. Typographie — animations d'entrée décalées */
.prestation-panel-overline {
    font-family: "din-2014", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #c4947a;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s 0.25s ease, transform 0.6s 0.25s ease;
}

.prestation-panel-title {
    font-family: "orpheuspro", serif;
    font-size: 60px;
    font-weight: 300;
    color: #f5ede8;
    margin-bottom: 18px;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s 0.38s ease, transform 0.65s 0.38s ease;
}

.prestation-panel-price {
    font-family: "din-2014", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #c8b0aa;
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.65s 0.48s ease, transform 0.65s 0.48s ease;
}

.prestation-panel-cta {
    display: inline-block;
    align-self: flex-start;
    font-family: "din-2014", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c4947a;
    text-decoration: none;
    border: 1px solid rgba(196, 148, 122, 0.45);
    padding: 14px 30px;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.65s 0.58s ease,
        transform 0.65s 0.58s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.prestation-panel-cta:hover {
    background: #c4947a;
    color: #1c1009;
    border-color: #c4947a;
}

/* Déclencher les animations quand le panel est actif */
.prestation-panel.is-active .prestation-panel-overline,
.prestation-panel.is-active .prestation-panel-title,
.prestation-panel.is-active .prestation-panel-price,
.prestation-panel.is-active .prestation-panel-cta {
    opacity: 1;
    transform: translateY(0);
}

/* 8. Dots de navigation */
.prestations-dots {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.prestation-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.prestation-dot.active {
    background: #c4947a;
    transform: scale(1.5);
}

/* 9. Counter */
.prestations-counter {
    position: absolute;
    bottom: 36px;
    left: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    font-family: "din-2014", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.prestations-counter-current {
    color: #c4947a;
}

/* ── Mobile : plein écran photo + overlay ────────────────────────────────── */
@media (max-width: 899px) {
    .prestation-panel {
        flex-direction: column;
    }

    .prestation-panel-photo {
        position: absolute;
        inset: 0;
        flex: none;
        order: 0;
    }

    .prestation-panel-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.05) 100%
        );
    }

    .prestation-panel-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        flex: none;
        background: transparent;
        padding: 40px 28px 72px;
        order: 1;
    }

    .prestation-panel-title {
        font-size: 44px;
    }

    .prestations-counter {
        left: 28px;
        bottom: 28px;
    }

    .prestations-dots {
        right: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tarifs-hero-title {
        font-size: 48px;
    }

    .tarifs-hero-subtitle {
        font-size: 11px;
    }

    .tarifs-intro-text {
        font-size: 20px;
    }

    .tarifs-intro-description {
        font-size: 14px;
    }

    .formules-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tarifs-note-container {
        flex-direction: column;
        padding: 0 30px;
    }

    .tarifs-note-image,
    .tarifs-note-content {
        max-width: 100%;
    }

    .tarifs-formules-container,
    .autres-prestations-container,
    .tarifs-intro-container {
        padding: 0 30px;
    }
}


