/*--------------------------------------------------------------
FRONTPAGE - GENERAL
--------------------------------------------------------------*/

.frontpage-section-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.frontpage-section-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.frontpage-section-name::before {
    content: "✦";
    color: #EC472F;
    font-size: 20px;
}

.frontpage-section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
}

.frontpage-section-description {
    font-size: 20px;
    margin-bottom: 35px;
}

/* Bouton  dégradé */
.frontpage-section-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
    background: linear-gradient(90deg, #e34234 0%, #f9d423 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frontpage-section-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(227, 66, 52, 0.4);
}


/*--------------------------------------------------------------
SERVICE SWIPER
--------------------------------------------------------------*/

.services-swiper {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 100px;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.services-swiper .swiper-wrapper {
    align-items: center;
}

.services-swiper .swiper-slide {
    border-radius: 20px;
    transition: transform 0.4s ease;
    transform: scale(1);
    opacity: 1;
    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ACTIVE SLIDE */
.services-swiper .swiper-slide-active {
    transform: scale(1.2);
    z-index: 10;
}

/* PAGINATION */
.services-swiper .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #333;
    opacity: 1;
}

.services-swiper .swiper-pagination-bullet-active {
    background: #000;
    border-color: #000;
}

/* NAVIGATION */
.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
    color: #454242 !important;
    background: rgba(255, 255, 255, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    pointer-events: auto;
}

.services-swiper .swiper-button-next:after,
.services-swiper .swiper-button-prev:after {
    font-size: 20px !important;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
    background: #454242;
    color: #fff !important;
}


/*--------------------------------------------------------------
SERVICE CARD
--------------------------------------------------------------*/

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 0 100px 0;
    height: 100%;
    justify-content: space-between;
}

/* TITRE (1 ligne max) */
.fservice-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;

    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* IMAGE */
.service-card img {
    width: 210px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* DESCRIPTION */
.service-card .description {
    width: 220px;
}

.service-card .description p {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    text-align: justify;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/*--------------------------------------------------------------
TEAM SWIPER
--------------------------------------------------------------*/

.team-swiper {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 100px;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.team-swiper .swiper-wrapper {
    align-items: center;
}

.team-swiper .swiper-slide {
    border-radius: 20px;
    transition: transform 0.4s ease;
    transform: scale(1);
    opacity: 1;
    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ACTIVE SLIDE */
.team-swiper .swiper-slide-active {
    transform: scale(1.2) !important;
    z-index: 10;
}

/* PAGINATION */
.team-swiper .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #333;
    opacity: 1;
}

.team-swiper .swiper-pagination-bullet-active {
    background: #000;
    border-color: #000;
}

/* NAVIGATION */
.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
    color: #454242 !important;
    background: rgba(255, 255, 255, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    pointer-events: auto;
}

.team-swiper .swiper-button-next:after,
.team-swiper .swiper-button-prev:after {
    font-size: 20px !important;
}

.team-swiper .swiper-button-next:hover,
.team-swiper .swiper-button-prev:hover {
    background: #454242;
    color: #fff !important;
}


/*--------------------------------------------------------------
TEAM CARD
--------------------------------------------------------------*/

.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 50px 0 100px 0;
}

.team-card img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.team-name {
    text-align: center;
    margin: 10px 0 2px;
}

.team-role {
    font-size: 12px;
    color: #666;
    margin: 0 0 10px;
    text-align: center;
}

.team-contact-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.team-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin: 0;
}

/*--------------------------------------------------------------
CERTIFICATION SECTION
--------------------------------------------------------------*/

.certification-section .frontpage-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.certification-section .frontpage-section-name {
    width: 100%;
    text-align: left;
}

.certification-section-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-section-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
HIGHLIGHT SECTION
--------------------------------------------------------------*/

.highlight-content {
    display: flex;
    align-items: center;
}

.highlight-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding-left: 50px;
}

.highlight-text-block .frontpage-section-button {
    margin: 20px 0 0 0;
    align-self: flex-start;
}

.highlight-section-image {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end;
}

.highlight-section-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    display: block;
}