/* =========================================================
   Page Tarifs — styles complémentaires, dans la charte actuelle
   (vert #009962, fond blanc, Montserrat, Bootstrap 5)
   Chargé uniquement par tarifs-nettoyage-toulon.php
   ========================================================= */

.tarif-breadcrumb {
    font-size: 13px;
    color: #6c757d;
    padding-bottom: 1.5rem;
}

.tarif-breadcrumb a {
    color: #009962;
    text-decoration: none;
}

.tarif-intro {
    text-align: justify;
}

/* Cartes « ce qui fait le prix » : même esprit que les cartes de l'accueil */
.tarif-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 1.5rem;
    transition: box-shadow .3s;
}

.tarif-card:hover {
    box-shadow: 10px 10px 10px #c7c5c5;
}

.tarif-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #009962;
    line-height: 1;
    margin-bottom: .75rem;
}

.tarif-card h3,
.tarif-col h3 {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: .5rem;
}

.tarif-card p,
.tarif-col p {
    font-size: 15px;
    line-height: 1.5rem;
    margin-bottom: 0;
}

/* Tableau des repères de prix */
.tarif-table-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.tarif-table {
    min-width: 600px;
    font-size: 15px;
}

.tarif-table thead th {
    background: #009962;
    color: #fff;
    font-weight: bold;
    border: 0;
    padding: 1rem;
}

.tarif-table tbody th,
.tarif-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.tarif-table tbody tr:nth-child(even) {
    background: #00996210;
}

.tarif-table tbody td:last-child {
    font-weight: bold;
    color: #009962;
    white-space: nowrap;
}

.tarif-source {
    font-size: 13px;
    color: #6c757d;
    padding-top: .75rem;
}

/* Colonnes « qui paie » */
.tarif-col {
    border-top: 3px solid #009962;
    padding-top: 1rem;
}

/* Encadré « Bon à savoir » : même style que sur les autres pages */
.tarif-tip {
    margin: 2rem auto 0;
}

.tarif-tip p {
    background-color: #00996224;
    padding: 1rem;
    font-size: 15px;
    line-height: 1.4rem;
    margin: 0;
}

.tarif-tip span {
    font-style: italic;
    font-size: 16px;
}

/* Étapes du devis */
.tarif-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tarif-step span {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #009962;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarif-step p {
    margin: 0;
    padding-top: .5rem;
    line-height: 1.5rem;
}

/* FAQ */
.tarif-faq {
    margin: 0 auto;
}

.tarif-faq details {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
    background: #fff;
}

.tarif-faq summary {
    cursor: pointer;
    font-weight: bold;
    color: #009962;
    list-style: none;
    position: relative;
    padding-right: 1.5rem;
}

.tarif-faq summary::-webkit-details-marker {
    display: none;
}

.tarif-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 1.3rem;
}

.tarif-faq details[open] summary::after {
    content: "–";
}

.tarif-faq details p {
    margin: .75rem 0 0;
    line-height: 1.5rem;
    font-size: 15px;
}

/* Bouton téléphone (le .btn-outline-success du site est blanc, réservé au footer) */
.tarif-btn-tel {
    color: #009962;
    border: 1px solid #009962;
    margin-left: .5rem;
}

.tarif-btn-tel:hover {
    background: #009962;
    color: #fff;
}

@media (max-width: 576px) {
    .tarif-btn-tel {
        margin: .75rem 0 0;
    }

    .tarif-intro {
        text-align: left;
    }

    /* Tableau transformé en fiches empilées sur mobile */
    .tarif-table {
        min-width: 0;
    }

    .tarif-table thead {
        display: none;
    }

    .tarif-table tbody tr {
        display: block;
        padding: .75rem 1rem;
        border-bottom: 1px solid #e5e5e5;
    }

    .tarif-table tbody th,
    .tarif-table tbody td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: .25rem 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .tarif-table tbody th {
        color: #009962;
    }

    .tarif-table tbody td::before {
        content: attr(data-label);
        color: #6c757d;
        font-weight: normal;
    }

    .tarif-table tbody td:last-child {
        white-space: normal;
        text-align: right;
    }
}