/* Custom Styles */


:root {
    /* Color Palette */
    --primary_color: #38726C;
    --secondary_color: #54457fff;
    --tertiary_color: #BFA181;
    --quaternary_color: #A4C3B2;
    --quinary_color: #6a4a41;
    --senary_color: #F3DFA2;
    --font_color: #747474;
    --font_color_title: #9f9f9f;
    --background_color: #ffffff;
    --red_color: red;

    --tan: #ceb290ff;
    --khaki: #bba283ff;
    --wenge: #69585fff;
    --myrtle-green: #38726cff;
    --plum-web: #f9b9f2ff;
    --ultra-violet: #54457fff;

    /* Font Sizes */
    --font_size_small_rwd: 0.6rem;
    --font_size_small: 0.65rem;
    /* 14px */
    --font_size_medium: 1rem;
    /* 16px */
    --font_size_large: 1.25rem;
    /* 20px */

    /* Title Sizes */
    --title_size_h1: 2.56rem;
    --title_size_h1_section: 3.5rem;
    /* 40px */
    --title_size_h2: 2rem;
    --title_size_h2_section: 3rem;
    --title_size_h2_section_rwd: 2.1rem;
    /* 32px */
    --title_size_h3: 1.75rem;
    /* 28px */

    /* Font family */
    --font_family_primary: 'Roboto', sans-serif;
    --font_family_secondary: 'Open Sans', sans-serif;
    /* Font-weights */
    --font_weight_ultra_light: 200;
    --font_weight_light: 400;
    --font_weight_regular: 400;
    --font_weight_medium: 500;
    --font_weight_bold: 700;
    --font_weight_black: 900;
}

/* Reset css */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font_family_primary);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

body {
    /* background-color: var(--body_background_color); */
    color: var(--font_color);
    font-weight: var(--font_weight_regular);
    font-family: var(--font_family_primary);
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    font-family: var(--font_family_primary);
    color: inherit;
}

ul {
    list-style: none;
}

h1 {
    font-family: var(--font_family_primary);
    font-size: var(--title_size_h1);
    font-weight: var(--font_weight_ultra_light);
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.patch {
    display: inline-block;
    color: var(--background_color);
    background-color: var(--font_color);
    width: fit-content;
    font-weight: var(--font_weight_regular);
    font-size: var(--font_size_small);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 680px) {
    .patch {
        font-size: var(--font_size_small_rwd);
    }

}

/* ===================== Start Header ===================== */
header {
    position: relative;
}

main {
    background-color: var(--background_color);
}

/* ===================== Top bar ===================== */
#top_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background_color);
    color: var(--font_color);
    z-index: 100;
}



.social_media_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo_img {
    width: 10rem;
    height: auto;
}

/* ========== Base nav ========== */
.main_nav {
    position: relative;
    z-index: 10000;
    background: #fff;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_item {
    position: relative;
}

.nav_link {
    text-decoration: none;
    color: var(--font_color);
    font-weight: var(--font_weight_light);
    padding: .5rem .75rem;
    display: inline-block;
    transition: all .3s ease;
}

.nav_link:hover {
    background-color: var(--primary_color, #38726cff);
    color: var(--background_color);
}

/* ========== Dropdown (desktop) ========== */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 280px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    overflow: hidden;
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
}

.dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child {
    border-bottom: 0;
}

.dropdown a {
    display: block;
    padding: .8rem 1rem;
    color: var(--font_color);
    font-weight: var(--font_weight_light);
    text-decoration: none;
    transition: all .4s ease;
}

.dropdown a:hover {
    background: var(--primary_color, #38726cff);
    color: var(--background_color);
}

/* Desktop: ouvrir au hover */
@media (min-width: 831px) {
    .nav_item.has-dropdown:hover>.dropdown {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* ==================== Social Media ==================== */
.social_media_icon {
    width: 25px;
    height: 25px;
    fill: var(--font_color);
    transition: fill .3s ease;
}

/* ========== Burger button ========== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 100%;
    background: #222;
    border-radius: 2px;
    transition: .3s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========== Mobile (≤680px) ========== */
@media screen and (max-width: 680px) {
    #top_bar {
        padding: 1rem 1.5rem;
    }
}

@media screen and (max-width: 830px) {
    #top_bar {
        padding: 1rem 2rem;
    }

    .burger {
        display: flex;
        z-index: 1101;
        /* toujours au-dessus */
    }

    .nav_list {
        position: fixed;
        top: 70px;
        right: 0;
        height: fit-content;
        /* plein écran en hauteur */
        width: 100%;
        /* largeur du panneau */
        flex-direction: column;
        gap: 0;
        background: #ffffffee;
        border-radius: 0 0 0 10px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
        transform: translateX(100%);
        /* caché à droite */
        transition: transform .4s ease;
        padding: 2rem 1rem;
        z-index: 1100;
    }

    .nav_list.open {
        transform: translateX(0);
        /* glisse depuis la droite */
    }

    .nav_item {
        width: 100%;
        text-align: left;
        /* texte aligné à gauche */
        padding: 1rem 0;
    }

    .nav_item .dropdown {
        position: relative;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .nav_item.open .dropdown {
        max-height: 500px;
    }

    .nav_link {
        width: 100%;
        padding: .5rem 0;
    }

    .nav_item .dropdown ul,
    .nav_item .dropdown li,
    .nav_item .dropdown a {
        text-align: left;
        width: 100%;
    }

    /* Dropdown réécrit pour mobile (IMPORTANT) */
    .nav_item .dropdown {
        position: relative;
        top: auto;
        left: auto;
        min-width: unset;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        /* on annule la translation desktop */
        opacity: 1;
        visibility: visible;
        /* on force visible en mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s ease;
    }

    .nav_item.open .dropdown {
        max-height: 400px;
    }

    .nav_item .dropdown a {
        padding: .7rem 1rem;
    }
}

/* ==================== End Top bar ==================== */

/* ================= Hero Section ================= */

#hero_section {
    margin-top: 124.12px;
    position: relative;
}

/* Config desktop */
.three-cols,
.two_cols {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

.two_cols.reverse {
    flex-direction: row-reverse;
}

.col_part {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col_part.two {
    flex: 2;
}

.col_part.empty {
    display: none;
    /* masqué sur desktop */
}

/* Swiper js styles */
.slider_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.477);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    color: var(--background_color);
    width: 1rem;
    height: 1rem;
}

.swiper-button-next {
    right: 1rem !important;
}

.swiper-button-prev {
    left: 1rem !important;
}

.swiper-pagination-bullet-active {
    background: var(--background_color);
}


.text_part {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.col_text_container {
    position: relative;
    width: 85%;
    height: 100%;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centre horizontalement */
}

.col_text_container>* {
    align-self: center;
    /* Centre chaque enfant horizontalement */
}

.slide_title {
    font-size: var(--title_size_h1);
    color: var(--background_color);
    text-align: center;
    font-weight: var(--font_weight_ultra_light);
    text-transform: uppercase;
}

.slide_description {
    font-size: var(--font_size_medium);
    color: var(--background_color);
    font-weight: var(--font_weight_light);
    text-align: center;
    margin-top: 2rem;
}

.slide_strong {
    font-weight: var(--font_weight_regular);
}

.slide_link {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    color: black;
    background-color: rgba(255, 255, 255, 0.271);
    font-weight: var(--font_weight_regular);
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    transition: all .3s linear;
    width: 5rem;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: .75rem;
    letter-spacing: 1.3px;
}

.slide_link:hover {
    color: var(--background_color);
    background-color: rgba(0, 0, 0, 0.477);
    box-shadow: 1px 1px 8px rgba(250, 250, 250);
    border: 1px solid var(--background_color);
}

/* Responsive : sous 830px */
@media screen and (max-width: 830px) {

    .col_part {
        flex: unset;
        width: 100%;
        height: 600px;
        flex-direction: column;
    }

    .col_part.two {
        flex: unset;
    }

    /* Config desktop */
    .three-cols,
    .two_cols {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .two_cols.reverse {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .col_text_container {
        position: relative;
        width: 90%;
        height: 100%;
        padding-top: 4rem;
    }


    .col_part.empty {
        display: flex;
    }


}

/* ================= End Hero Section ================= */

/* ================= Start Hero Simple Section ================= */


/* ================= End Hero Simple Section ================= */
#hero_simple .swiper-slide {
    width: 100%;
    height: 55vh;
}

/* ================= End HEADER ================= */


/* ===================== Separating Section ===================== */

#separating_section {
    padding: 1rem 0;
    background: #fff;
}

.slide_card:first-child {
    margin-left: 0;
}

.slide_card:last-child {
    margin-right: 0;
}

.card {
    width: 20rem;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.card-body {
    text-align: center;
}

.card-title {
    font-weight: var(--font_weight_light);
    font-size: 1.2rem;
}

.card-text {
    font-size: var(--font_size_small);
    color: var(--font_color);
    margin: 1rem 0;
    line-height: 1.5;
}

.btn_separating {
    background-color: var(--primary_color);
    border: none;
    color: var(--background_color);
    font-weight: var(--font_weight_light);
    transition: background-color 0.3s ease;
    padding: 0.5rem;
}

.btn-primary:hover {
    background-color: #e6b800;
}

/*
* Main
*/

/* ================================
   Middle section (split layout 50/50)
================================ */
.middle_section {
    display: flex;
    width: 100%;
    min-height: 100vh;
    gap: 50px;
    padding: 4rem 1rem;
}

.middle_section.reverse {
    flex-direction: row-reverse;
    /* inverse image & texte */
}

@media screen and (max-width: 800px) {
    .middle_section {
    display: flex;
    width: 100%;
    min-height: 100vh;
    padding: 0px;
}
}

/* ================================
   Colonnes gauche/droite
================================ */

.section_text_container,
.section_img_container,
.section_slider_container {
    flex: 0 0 calc(50% - 50px);
    position: relative;
}

/* ✅ uniquement slider/image qui doivent occuper toute la hauteur */
.section_img_container,
.section_slider_container {
    height: 100vh;
    /* garde le full height de l'écran */
}

/* ================================
   Images
================================ */
.section_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* couvre sans déformation */
}

/* ================================
   Texte
================================ */
.section_text_container {
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
}

.description_container {
    max-height: 35vh;
    overflow: hidden;
    transition: max-height .5s ease;
}

.description_container.open {
    max-height: 2000px;
}

.show_more {
    display: block;
    text-align: left;
    background-color: rgba(245, 245, 220, 0);
    border: none;
    font-size: var(--font_size_medium);
    font-weight: var(--font_weight_light);
    color: var(--myrtle-green);
    margin-bottom: 1rem;
    transition: all .2s linear;
}

.show_more:hover {
    color: var(--red_color);
}

.section_description {
    font-size: var(--font_size_medium);
    color: var(--font_color);
    font-family: var(--font_family_primary);
    font-weight: var(--font_weight_light);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.description_list {
    text-align: left;
    font-size: var(--font_size_medium);
    color: var(--font_color);
    font-family: var(--font_family_primary);
    font-weight: var(--font_weight_regular);
    line-height: 1.9;
}

.description_item::before {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('../img/icons/coffee.svg');
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--font_color);
    margin-right: 0.5rem;
}

/* ✅ Fade slider */
.fade-slider,
.speed-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fade-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 9;
}

.fade-slider img.active {
    opacity: 1;
}

.speed-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 9;
}


.speed-slider img.active {
    opacity: 1;
}

.circle_mask {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.section_title {
    font-size: var(--title_size_h1_section);
    color: var(--font_color_title);
    text-align: left;
    font-weight: var(--font_weight_ultra_light);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section_subtitle {
    font-size: 1.5rem;
    color: var(--font_color_title);
    text-align: left;
    font-weight: var(--font_weight_light);
    margin-bottom: 0.5rem;
}

.strong {
    font-weight: var(--font_weight_regular);
    font-size: 1.3rem;
}


/* --- Responsive (mobile < 840px) --- */
@media (max-width: 840px) {

    .section_img_container,
    .section_slider_container {
        width: 100%;
        height: 100vh;
    }

    .section_text_container {
        min-height: fit-content;
        max-height: 200vh;
        padding: 0 1rem;
    }

    .section_description {
        text-align: left;
    }

    .middle_section,
    .middle_section.reverse {
        flex-direction: column;
        justify-content: space-between;
        gap: 50px;
    }

    .middle_section>* {
        flex: unset;
        width: 100%;
    }

    .fade-slider img,
    .speed-slider img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        /* ✅ couvre toute la largeur ET la hauteur */
    }


    .section_title {
        font-size: var(--title_size_h2_section);
    }
}


/* ===========  Text  Section start  =========== */
.text_section {
    padding: 4rem 1rem;
}

.section_text_content {
    color: var(--font_color);
    font-family: var(--font_family_primary);
    font-size: var(--font_size_medium);
    font-weight: var(--font_weight_light);
    letter-spacing: normal;
    line-height: 1.9;
}

.section_title {
    font-size: var(--title_size_h2_section_rwd);
}

.section_link {
    width: fit-content;
    display: block;
    text-align: left;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

.section_link::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section_link:hover::after {
    width: 100%;
}

@media screen and (max-width: 830px) {
    .text_section {
        padding: 2rem 1rem;
    }
}

/* ===========  Grid Section start  =========== */
.padding_section {
    padding: 4rem 1rem 4rem 1rem;
}


.grid_section {
    width: 100%;
    min-height: fit-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 colonnes par défaut */
    gap: 20px;
    justify-content: center;
}

.grid_box {
    position: relative;
    overflow: hidden;
}

.grid_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Effet hover */
.hover_box img.img_hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hover_box:hover img.img_hover {
    opacity: 1;
}

.hover_box:hover img.img_default {
    opacity: 0;
}

/* Style du nom */
.box_link {
    position: absolute;
    bottom: 10px;
    left: 15px;
    padding: 6px 12px;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.box_link:hover {
    background-color: rgba(0, 0, 0, 0.6);
}


/* ✅ Responsive : 2 colonnes sur petits écrans */
@media (max-width: 991px) {
    .grid_section {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colonnes */
        gap: 10px;

        padding: 0 1rem;
    }
}

@media (max-width: 680px) {
    .grid_section {
        grid-template-columns: repeat(1, 1fr);
        /* 1 colonne */
    }
}

/* ===== Section Parallax===== */
/* ================================
   Parallax Section
================================ */
.parallax_cta {
    position: relative;
    width: 100%;
    background-image: url('../img/background-paris-ile-de-france-nice-paca.png');
    /* ton image ici */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* 💫 effet parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Overlay sombre pour lisibilité du texte */
.parallax_cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.parallax_overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 4rem 2rem;
    animation: fadeInUp 1s ease-out;
}

.parallax_title {
    font-size: var(--title_size_h2_section);
    margin-bottom: 1rem;
    font-weight: var(--font_weight_ultra_light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.parallax_description {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.parallax_btn {
    background: var(--primary_color, #d4a017);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.parallax_btn:hover {
    background: #fff;
    color: var(--primary_color, #d4a017);
    transform: scale(1.05);
}

/* Animation d’apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax_overlay {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.parallax_overlay.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
    .parallax_cta {
        height: 50vh;
        background-attachment: scroll;
        /* Meilleur rendu mobile */
    }

    .parallax_title {
        font-size: 1.8rem;
    }

    .parallax_description {
        font-size: 1rem;
    }
}


/* ==================== End Parallax Section ===================== */
/* ===================== End Main ===================== */

/* ===================== Start Footer ===================== */

.footer {
    background: var(--background_color);
    padding: 3rem 2rem;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--font_color);
}

.footer_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer_col h4 {
    font-size: var(--font_size_medium);
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.footer_col h5 {
    font-weight: normal;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer_col p {
    margin-bottom: 0;
    line-height: 1.6;
}

.footer_socials {
    margin-bottom: 1rem;
}

.footer_col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.footer_col ul li {
    margin-bottom: 0.5rem;
}

.footer_col ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer_col ul li a:hover {
    color: var(--primary_color, #007b5e);
}

.footer_logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}


.footer_socials a {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #555;
    transition: color 0.3s ease;
}

.footer_socials a:hover {
    color: var(--primary_color, #007b5e);
}

.footer_copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: var(--font_size_small);
    color: var(--font_color);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.footer_copyright p {
    margin: 0;
}

.footer_copyright a:hover {
    color: var(--primary_color, #007b5e);
}

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

@media (max-width: 600px) {
    .footer_container {
        grid-template-columns: 1fr;
    }
}

/* ===================== End Footer ===================== */


/* ===================== Start Products slider ===================== */
#product_section .section_slider_container {
    display: flex;
    justify-content: center;
    /* centre horizontalement */
    align-items: center;
    /* centre verticalement */
    padding: 2rem 0;
}

.product_slider {
    width: 100%;
    height: auto;
    position: relative;
}

.product_slider .swiper-slide {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.slide_img {
    width: 100%;
    height: 100%;
}


/* ================================
   Product feature list
================================ */

#product_section .section_text_container {
    padding-block: 1rem;
}

/* Container scrollable */
#product_section .feature_container {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

#product_section .feature_container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.product_name {
    font-size: 1.5rem;
    color: var(--font_color_title);
    font-weight: var(--font_weight_light);
    text-transform: uppercase;
}

/* Liste */
.product_features_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature_item {
    padding: 1rem 0;
    border-bottom: 1px solid #000000;
    cursor: pointer;
    position: relative;
}

.feature_title {
    font-size: 1rem;
    color: var(--font_color_title);
    font-weight: var(--font_weight_regular);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature_item:last-child {
    border-bottom: none;
}

/* Sublist masquée par défaut */
.feature_sublist {
    max-height: 0;
    overflow: hidden;
    transition: max-height .8s linear;
    padding-left: 1rem;
}

/* Quand item actif → sublist ouverte */
.feature_item.active .feature_sublist {
    max-height: 500px;
    /* suffisamment grand pour contenir les enfants */
}

.feature_subitem {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #333;
}

/* product cup section */
#product_cup_section .three-cols {
    height: 400px;
    overflow: hidden;
}

@media screen and (max-width: 830px) {
    #product_cup_section .three-cols {
        height: auto;
    }
}

/* ===================== End Products slider ===================== */

/* ===================== Section Coupure ===================== */
#coupure {
    height: 600px;
    overflow: hidden;
}



#coupure .slide_link {
    top: 0;
}

/* ===================== Start CTC ===================== */
/* ================================
   CTC container (fixe à droite)
================================ */
.ctc_container {
    position: fixed;
    top: 30%;
    right: 0;
    /* ✅ toujours collé au bord */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

/* ================================
   Bloc individuel (icône + texte)
================================ */
.phone_container,
.email_container,
.contact_container {
    display: flex;
    align-items: center;
    transform: translateX(calc(100% - 50px));
    /* 100% = texte + icône, -50px = laisse l’icône visible */
    transition: transform 0.6s ease;
}

/* ================================
   Icônes rondes
================================ */
.ctc_link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary_color, #a8dadc);
    /* couleur pastel */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* icône ne rétrécit pas */
    transition: transform 0.6s ease;
}

.ctc_icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* ✅ icône blanche */
    pointer-events: none;
}

/* ================================
   Texte
================================ */
.ctc_text {
    min-width: 180px;
    background: #fff;
    color: var(--font_color, #333);
    padding: 0.5rem 1rem;
    border-radius: 25px 0 0 25px;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
}

.ctc_text_item {
    font-size: 0.8rem;
    /* 14px */
    font-weight: var(--font_weight_light);
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
    color: var(--font_color, #333);
    transition: color 0.5s ease;
}

.ctc_text_item:hover {
    color: var(--primary_color, #38726cff);
}

/* ================================
   Effet hover
   - le container se translate pour afficher le texte
   - l’icône tourne
================================ */
.phone_container:hover,
.email_container:hover,
.contact_container:hover {
    transform: translateX(0);
    /* montre tout */
}

.phone_container:hover .ctc_link,
.email_container:hover .ctc_link,
.contact_container:hover .ctc_link {
    transform: rotate(-360deg);
    /* ✅ rotation fluide */
}

@media screen and (max-width: 768px) {
    .ctc_container {
        top: 35%;
    }

    .ctc_text {
        min-width: 140px;
    }
}

/* ===================== End CTC ===================== */

/* ===================== Start Scroll to Top ===================== */
/* Scroll to Top Container */
.scroll_to_top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1200;
    display: none;
    /* caché par défaut */
}

/* Lien rond comme CTC */
.scroll_to_top_link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary_color, #a8dadc);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

/* Icône blanche */
.scroll_to_top_icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* Hover effect */
.scroll_to_top_link:hover {
    transform: scale(1.1);
}

/* Animation impulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 218, 220, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(168, 218, 220, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 218, 220, 0);
    }
}

/* Apparition en fade-in */
.scroll_to_top.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== End Scroll to Top ===================== */


/* ===================== Start Contact Page  ===================== */

#address_section .three-cols {
    height: 400px;
    padding: 0;
}

#address_section .col_part {
    padding: 2rem;
    justify-content: flex-start;
}

.address_text {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.address_title {
    font-size: var(--title_size_h2);
    color: var(--font_color_title);
    text-align: left;
    font-weight: var(--font_weight_ultra_light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.address_group_link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.address_link {
    font-size: var(--font_size_medium);
    color: var(--font_color);
    font-family: var(--font_family_primary);
    font-weight: var(--font_weight_light);
    transition: color 0.3s ease;
}

.address_link:hover {
    color: var(--primary_color);
}

.address_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    #address_section .three-cols {
        height: auto;
        padding: 0;
    }

    #address_section .col_part {
        height: 300px;
    }
}