/* Ericsson coiffure — surcharges */

.header-area .header-info-left .logo img {
    width: auto;
}
/* Animation flèches (maquette) */
@keyframes arrowMovement {
    0% {
        top: 15px;
        opacity: 0;
    }
    70% {
        opacity: 1;
    }
    100% {
        top: 0;
        opacity: 0;
    }
}

/* Bouton retour en haut */
#back-top {
    display: none;
    z-index: 9999;
    position: fixed;
    right: 31px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FB0000;
    box-shadow: 0 0 10px 3px rgba(108, 98, 98, 0.2);
    line-height: 1;
    overflow: hidden;
}

#back-top a.wrapper {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

/* Zone des flèches centrée dans le cercle */
#back-top .wrapper .arrows-container {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 20px;
    height: 28px;
    display: block;
    overflow: hidden;
}

#back-top .wrapper .arrows-container .arrow {
    position: absolute;
    left: 3px;
    padding: 7px;
    margin: 0;
    box-shadow: 2px -2px #fff inset;
    transform: rotate(130deg);
    opacity: 0;
    top: 15px;
    animation: arrowMovement 3s ease-in-out infinite;
}

#back-top .wrapper .arrows-container .arrow-one {
    animation-delay: 0s;
}

#back-top .wrapper .arrows-container .arrow-two {
    animation-delay: 1s;
}

@media (max-width: 575px) {
    #back-top {
        right: 16px;
    }
}

/* Témoignages — cartes de même hauteur */
.customer-section .customer-testimonials-row {
    align-items: stretch;
}

.customer-section .customer-testimonials-row > [class*="col-"] {
    display: flex;
}

.customer-section .customer-testimonials-row .single-cat {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.customer-section .customer-testimonials-row .cat-cap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.customer-section .customer-testimonials-row .cat-cap > p {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.customer-section .customer-testimonials-row .cat-img {
    flex-shrink: 0;
    margin-top: auto;
}

.customer-section .customer-testimonials-row .cat-img img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.customer-section .customer-testimonials-row .cat-img img.customer-avatar--default {
    object-fit: contain;
    padding: 8px;
    background: #f7f7f7;
}

/* Header mobile + menu */
@media (max-width: 991.98px) {
    .header-area .main-header .container-fluid > .d-flex {
        flex-wrap: nowrap !important;
        align-items: center;
    }

    .header-area .header-info-left {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-area .logo img {
        max-height: 42px;
        width: auto;
    }

    .header-area .header-righ {
        flex: 0 0 auto;
    }

    .header-area .mobile_menu {
        width: auto;
    }

    .header-area .mobile_menu .slicknav_menu {
        background: transparent;
        padding: 0;
        position: relative;
    }

    .header-area .mobile_menu .slicknav_btn {
        float: none;
        margin: 0;
        background: #FB0000;
        border-radius: 4px;
        padding: 10px 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-shadow: none;
        box-shadow: none;
    }

    .header-area .mobile_menu .slicknav_menutxt {
        text-shadow: none;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .header-area .mobile_menu .slicknav_icon-bar {
        box-shadow: none;
    }

    .header-area .mobile_menu .slicknav_nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        width: min(300px, calc(100vw - 24px));
        margin: 0;
        padding: 8px 0 12px;
        background: #150303;
        border-radius: 8px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        z-index: 9999;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .header-area .mobile_menu .slicknav_nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-area .mobile_menu .slicknav_nav li:last-child {
        border-bottom: 0;
    }

    .header-area .mobile_menu .slicknav_nav a {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
    }

    .header-area .mobile_menu .slicknav_nav a:hover,
    .header-area .mobile_menu .slicknav_nav .slicknav_row:hover {
        background: rgba(251, 0, 0, 0.18);
        color: #fff;
        border-radius: 0;
    }

    .header-area .mobile_menu .slicknav_nav .header-right-btn {
        padding: 10px 16px 6px;
    }

    .header-area .mobile_menu .slicknav_nav .header-right-btn > a.header-btn {
        display: block;
        margin: 0;
        padding: 12px 16px;
        background: #FB0000 !important;
        color: #fff !important;
        text-align: center;
        border-radius: 4px;
    }

    .header-area .mobile_menu .slicknav_nav .header-right-btn > a.header-btn:hover {
        background: #d90000 !important;
    }

    .header-area .main-header {
        position: relative;
        z-index: 1000;
    }
}

/* Hero accueil — image adaptée à sa taille (sans étirement) */
.home-hero .hero-img {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #150303;
    overflow: hidden;
}

.home-hero .hero-img .home-hero-image {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 840px;
    object-fit: contain;
    object-position: center;
}

.home-hero .hero-img .home-hero-image.is-hero-cover {
    width: 100% !important;
    height: 840px !important;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1199.98px) {
    .home-hero .hero-img .home-hero-image {
        max-height: 650px;
    }

    .home-hero .hero-img .home-hero-image.is-hero-cover {
        height: 650px !important;
    }
}

@media (max-width: 991.98px) {
    .home-hero .hero-img .home-hero-image {
        max-height: 500px;
    }

    .home-hero .hero-img .home-hero-image.is-hero-cover {
        height: 500px !important;
    }
}

/* Hero accueil — image visible sur mobile */
@media (max-width: 991.98px) {
    .home-hero .slider-height {
        height: auto !important;
        min-height: 0;
    }

    .home-hero .slider-cap-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .home-hero .hero-img {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        order: 1;
        overflow: hidden;
        background: #150303;
    }

    .home-hero .hero-img .home-hero-image {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100%;
        max-height: 260px;
        margin: 0 auto;
        object-fit: contain;
        object-position: center;
    }

    .home-hero .hero-img .home-hero-image.is-hero-cover {
        width: 100% !important;
        height: 260px !important;
        max-height: none;
        margin: 0;
        object-fit: cover;
        object-position: center 20%;
    }

    .home-hero .hero-caption {
        width: 100% !important;
        order: 2;
        padding: 22px 18px 28px !important;
        margin-top: 0 !important;
        background: #150303;
    }

    .home-hero .hero-caption h1 {
        font-size: 28px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .home-hero .hero-caption p {
        font-size: 16px !important;
        margin-bottom: 20px !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 575px) {
    .home-hero .hero-img .home-hero-image {
        max-height: 220px;
    }

    .home-hero .hero-img .home-hero-image.is-hero-cover {
        height: 220px !important;
    }

    .home-hero .hero-caption h1 {
        font-size: 24px !important;
    }
}

/* Liste à puces — icône et texte côte à côte */
.about-area .about-single {
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 14px;
}

.about-area .about-single .icon {
    flex: 0 0 auto;
    line-height: 0;
}

.about-area .about-single .icon img {
    margin-bottom: 0 !important;
    display: block;
}

.about-area .about-single .pera {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.about-area .about-single .pera p {
    line-height: 1.45;
}

/* Accueil — carrousel galerie, vignettes carrées uniformes */
.home-gallery-carousel .single-instagram {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
}

.home-gallery-carousel .single-instagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prestations — onglets Homme / Femme (highlighted tabs) */
.prestation-gender-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    max-width: none;
    padding: 0;
    margin-bottom: 1.5rem;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    border-radius: 0;
    background: transparent;
    gap: 0;
}

.prestation-gender-tab {
    flex: 0 0 auto;
    position: relative;
    margin: 0 0 -1px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-bottom-color: transparent;
    border-radius: 0;
    background: transparent;
    color: #8a8a8a;
    font-family: "Chivo", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.prestation-gender-tab:hover {
    color: #150303;
}

.prestation-gender-tab.is-active {
    color: #150303;
    background: #fff;
    border-color: #d8d8d8;
    border-top: 3px solid #FB0000;
    border-bottom-color: #fff;
}

.prestation-gender-tab:focus-visible {
    outline: 2px solid #FB0000;
    outline-offset: 2px;
}

.prestation-gender-panel[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .prestation-gender-tab {
        flex: 1 1 0;
        padding: 12px 14px;
        text-align: center;
    }
}

/* Footer — icône TikTok (SVG, absent du subset Font Awesome) */
.footer-social a svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    transition: transform .4s ease-out;
    transform: rotateY(0deg);
}

.footer-social a:hover svg {
    transform: rotateY(180deg);
}

