.avis-button {
    margin-top: 30px;
    display: block !important;
    width: fit-content;
}

.row_slider_agence .nectar-flickity:not(.masonry) .flickity-slider .cell img {
    max-height: 250px;
}

.services-carousel .owl-item img {
    max-width: 150px;
}

.taux-satisfaction {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: #29325A;
    padding: 20px;
    color: white;
    font-family: sans-serif;
    border-radius: 8px;
    width: fit-content;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.taux-satisfaction.visible {
    opacity: 1;
    transform: scale(1);
    width: 100%;
}

.circle-chart {
    width: 142px;
    height: 142px;
    transform: rotate(-90deg);
}

/* Cercle de fond (optionnel) */
.circle-chart .background {
    fill: var(--nectar-accent-color);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.circle-chart .progress {
    fill: none;
    stroke: #9CC174;
    stroke-width: 8;
    stroke-dasharray: 277;
    stroke-dashoffset: 277;
    /* Commence compl�tement vide */
    stroke-linecap: round;
    /* Bout arrondi pour un meilleur effet */
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation quand l'�l�ment devient visible */
.taux-satisfaction.visible .progress {
    stroke-dashoffset: calc(277 - (277 * var(--percent) / 100));
}

.circle-chart .percentage {
    fill: white;
    font-size: 30px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: central;
    font-family: 'aileron';
    transform: rotate(90deg);
    /* Compensate pour la rotation du SVG */
    opacity: 1;
    /* Visible d�s le d�but */
}

.circle-chart .percentage .dec {
    font-size: 16px;
}

.taux-satisfaction .label {
    font-size: 19px;
    line-height: 24px;
    letter-spacing: .75px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: solid 1px #ffffff22;
    padding-bottom: 25px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.taux-satisfaction.visible .label {
    opacity: 1;
    transform: translateX(0);
}

.circle-container {
    position: relative;
}

.percentage-overlay {
    width: fit-content;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.reviews-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.review-card {
    background: #fff;
    border: 1px solid #E5E1DA;
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 calc(33.33% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-height: 316px;
}

.review-stars {
    display: flex;
    flex-flow: wrap;
    gap: 5px;
}

.review-stars img {
    width: 100%;
    max-width: 20px !important;
    height: auto;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    margin-bottom: 30px;
    flex: 1;
}

.review-text .review_more {
    cursor: pointer;
    font-weight: 600;
}

.review-text.hide {
    display: none;
}

.review-agence {
    font-weight: bold;
    font-size: 14px;
}

.row_reviews .row-bg-wrap .row-bg {
    height: 60%;
    bottom: 0;
    top: unset;
}

.brand-map-wrapper {
    display: flex;
    flex-flow: wrap;
    border-radius: 15px;
    overflow: overlay;
    margin-bottom: 0 !important;
}

.brand-map-wrapper .agence-list {
    width: 38%;
    max-height: 700px;
    overflow-y: auto;
    background-color: #fff;
}

.brand-map-wrapper .agence-list::-webkit-scrollbar {
    width: 15px;
    background-color: #fff;
}

.brand-map-wrapper .agence-list::-webkit-scrollbar-thumb {
    background: #E3E3E8;
    border-radius: 10px;
}

.brand-map-wrapper :is(#map_local, #map_full) {
    width: 62%;
    height: 700px;
}

.services-carousel.owl-carousel .owl-stage {
    display: flex !important;
    max-height: 200px;
}

.services-carousel .owl-nav {
    position: absolute;
    top: 35%;
    width: 110%;
    display: flex;
    justify-content: space-between;
    font-size: 90px;
    left: -5%;
}


.agence-card {
    padding: 30px;
}

.agence-card:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.agence-card.active {
    background-color: var(--nectar-accent-color);
    color: #fff;
}

.agence-list .agence-card :is(.row_title, .row_address) {
    cursor: pointer;
}

.agence-list .agence-card :is(.row_title, .row_actions) {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    justify-content: space-between;
}

.agence-list .agence-card .row_actions {
    align-items: center;
}

.agence-list .agence-card .row_title h3 {
    font-family: 'Aileron';
    font-size: 23px;
    line-height: 29px;
    font-weight: 700;
    flex: 0 calc(90% - 10px);
    text-wrap: balance;
}

.agence-list .agence-card.active :is(h3, a) {
    color: #fff;
}

.agence-list .agence-card .row_title .picto_hours {
    flex: 0 calc(10% - 10px);
    background-image: url('/wp-content/uploads/2025/03/picto_24_7_r.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 36px;
    height: 36px;
}

.agence-list .agence-card.active .row_title .picto_hours {
    background-image: url('/wp-content/uploads/2025/03/picto_24_7_w.svg');
}

.agence-list .agence-card .row_address {
    margin-bottom: 30px;
}

.agence-list .agence-card .row_fune {
    margin-bottom: 15px;
    font-weight: 300;
    display: flex;
    flex-flow: wrap;
    gap: 10px;
}

.row_fune .picto_fune {
    width: 26px;
    height: 26px;
    background-image: url('/wp-content/uploads/2025/04/funerarium_map.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.agence-list .agence-card.active .picto_fune {
    background-image: url('/wp-content/uploads/2025/04/funerarium_map_w.svg');
}


.agence-list .agence-card .row_actions .phone {
    font-size: 25px;
    line-height: 30px;
    font-weight: 700;
    position: relative;
    padding-left: 36px;
}

.agence-list .agence-card .row_actions .phone:before {
    content: '';
    width: 26px;
    height: 26px;
    background-image: url(/wp-content/uploads/2025/04/picto_phone_b2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
}

.agence-list .agence-card.active .row_actions .phone:before {
    background-image: url(/wp-content/uploads/2025/04/picto_phone_w2.svg);
}

.pf_agence_card_list {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: center;
}

.pf_agence_card_list .agence-card {
    background-color: #fff;
    padding: 2%;
    border-radius: 15px;
    width: 25%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
}

.pf_agence_card_list .agence-card>* {
    padding: 5% 0%;
}

.pf_agence_card_list .agence-card .agence.info.address {
    margin-top: auto;
}

.pf_agence_card_list .agence.info img {
    max-width: 30px;
    margin: 0%;
}

.pf_agence_card_list .agence.info {
    font-size: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 5%;
    padding-right: 10%;
    padding-left: 10%;
    text-align: left;
}

.pf_agence_card_list .agence-card a:not(.phone_link) {
    background-color: var(--nectar-extra-color-1);
    padding: 3%;
    width: fit-content;
}

.pf_agence_card_list .agence-title {
    font-weight: 500;
    padding: 5% 3%;
}




























/*
Responsive
*/
@media screen and (max-width: 1600px) {
    .row_slider_agence .nectar-flickity:not(.masonry) .flickity-slider .cell img {
        max-height: 190px;
    }
}

@media screen and (max-width: 1300px) {
    .agence-list .agence-card .row_title h3 {
        font-size: 21px;
        line-height: 26px;
    }

    .agence-list .agence-card .row_actions .phone {
        font-size: 22px;
        line-height: 28px;
    }

    .brand-map-wrapper .agence-list {
        width: 40%;
    }

    .brand-map-wrapper :is(#map_local, #map_full) {
        width: 60%;
    }

    .pf_agence_card_list .agence-card {
        width: 45%;
    }
}

@media screen and (max-width: 1000px) {

    .col_agence_itineraire .iwithtext .iwt-icon {
        display: none;
    }

    .agence-list .agence-card .row_title h3 {
        font-size: 20px;
        line-height: 25px;
    }

    .agence-list .agence-card .row_actions .phone {
        font-size: 21px;
        line-height: 27px;
    }

    .brand-map-wrapper .agence-list {
        width: 45%;
    }

    .brand-map-wrapper :is(#map_local, #map_full) {
        width: 55%;
    }

    .row_reviews .row-bg-wrap .row-bg {
        height: 100%;
    }

    .row_reviews .review-card {
        flex: 1 1 100%;
    }

    .row_reviews .review-stars {
        justify-content: center;
    }

    .pf_agence_card_list .agence.info img {
        max-width: 26px;
    }

    .pf_agence_card_list .agence.info {
        font-size: 18px;
    }

    .row_slider_agence .nectar-flickity:not(.masonry) .flickity-slider .cell img {
        max-height: unset;
    }

}

@media screen and (max-width: 690px) {


    .pf_agence_card_list .agence-card {
        width: 100%;
    }

    .agence-list .agence-card .row_title h3 {
        font-size: 18px;
        line-height: 23px;
    }

    .agence-list .agence-card .row_actions .phone {
        font-size: 20px;
        line-height: 26px;
    }

    .brand-map-wrapper :is(.agence-list, :is(#map_local, #map_full)) {
        width: 100%;
        max-height: unset;
    }

    .brand-map-wrapper :is(#map_local, #map_full) {
        height: 400px;
    }

    .agence-list .agence-card .row_title .picto_hours {
        display: none;
    }

    .nectar-button>span {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .taux-satisfaction {
        flex-direction: column;
        width: 100%;
    }

    .taux-satisfaction .label {
        font-size: 16px;
        line-height: 20px;

    }

    .pf_agence_card_list .agence.info img {
        max-width: 24px;
    }

    .pf_agence_card_list .agence.info {
        font-size: 16px;
    }
}