/* ===== Page Tarifs — complète accueil-v2.css ===== */

html {
    scroll-behavior: smooth;
}

/* ----- Promesse ----- */
.tf-hero {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 150px 24px 40px;
    text-align: center;
}

.tf-hero::before {
    content: "";
    position: absolute;
    inset: 40px 10% auto;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(196, 98, 0, 0.28), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.tf-titre {
    font-size: clamp(36px, 6.5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 24px;
}

.tf-titre span {
    color: var(--orange);
}

.tf-sous-titre {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.65;
    color: #e2e2e2;
    max-width: 720px;
    margin: 0 auto 36px;
}

/* ----- Aiguillage ----- */
.tf-guide-section {
    padding-top: 80px;
}

.tf-guide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

body.v2 a.tf-guide-carte:link,
body.v2 a.tf-guide-carte:visited {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px;
    border-radius: 16px;
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gris) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.v2 a.tf-guide-carte:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
    background: rgba(196, 98, 0, 0.08);
}

.tf-guide-emoji {
    font-size: 30px;
    margin-bottom: 6px;
}

.tf-guide-carte strong {
    font-size: 18px;
    color: #fff;
}

.tf-guide-carte span:not(.tf-guide-emoji) {
    font-size: 14px;
}

.tf-guide-carte em {
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--orange-clair);
}

/* ----- Formules ----- */
.tf-formules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.tf-formule {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    border-radius: 22px;
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.09);
    scroll-margin-top: 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tf-vedette {
    background: linear-gradient(160deg, rgba(196, 98, 0, 0.2), rgba(196, 98, 0, 0.04) 60%);
    border: 2px solid var(--orange);
    box-shadow: 0 20px 60px rgba(196, 98, 0, 0.18);
}

.tf-surbrillance {
    animation: tf-pulse 1.6s ease;
}

@keyframes tf-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 98, 0, 0); }
    30% { box-shadow: 0 0 0 6px rgba(196, 98, 0, 0.55); }
}

.tf-badge {
    position: absolute;
    top: -14px;
    left: 32px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tf-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.15em;
    margin: 0 0 6px;
}

.tf-formule h3 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.tf-promesse {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--orange-clair);
    margin: 0 0 18px;
}

.tf-pour {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-pour strong {
    color: #fff;
}

.tf-inclus {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.tf-inclus li {
    position: relative;
    padding: 0 0 12px 30px;
    font-size: 15px;
    line-height: 1.6;
}

.tf-inclus li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(196, 98, 0, 0.2);
    color: var(--orange-clair);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-inclus strong {
    color: #fff;
}

.tf-preuve {
    font-size: 13px;
    margin: 0 0 20px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
}

body.v2 .tf-preuve a:link,
body.v2 .tf-preuve a:visited {
    color: var(--orange-clair) !important;
    font-weight: 700;
}

.tf-prix {
    margin: 0 0 22px;
}

.tf-prix-montant {
    font-size: clamp(34px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.tf-prix-montant small {
    font-size: 16px;
    font-weight: 600;
    color: var(--gris);
}

.tf-prix-detail {
    font-size: 13px;
    margin: 6px 0 0;
}

.tf-cta {
    width: 100%;
}

.tf-sur-mesure {
    text-align: center;
    font-size: 17px;
    margin: 40px 0 0;
}

/* ----- Toujours inclus ----- */
.tf-inclus-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tf-inclus-grille > div {
    padding: 26px;
    border-radius: 16px;
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.tf-inclus-grille span {
    font-size: 28px;
}

.tf-inclus-grille h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 6px;
}

.tf-inclus-grille p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .tf-guide {
        grid-template-columns: repeat(2, 1fr);
    }

    .tf-inclus-grille {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tf-hero {
        padding-top: 100px;
    }

    .tf-guide,
    .tf-formules,
    .tf-inclus-grille {
        grid-template-columns: 1fr;
    }

    .tf-guide {
        gap: 10px;
    }

    body.v2 a.tf-guide-carte:link,
    body.v2 a.tf-guide-carte:visited {
        padding: 18px;
    }

    .tf-formule {
        padding: 32px 22px 24px;
    }

    .tf-formule h3 {
        font-size: 26px;
    }

    .tf-promesse {
        font-size: 17px;
    }
}
