:root {
  --font-size-xs: clamp(0.75rem, 2vw, 0.85rem);    /* 12-13.6px */
  --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);    /* 14-16px */
  --font-size-base: clamp(1rem, 3vw, 1.125rem);    /* 16-18px */
  --font-size-md: clamp(1.125rem, 3.5vw, 1.5rem);  /* 18-24px */
  --font-size-lg: clamp(1.5rem, 4.5vw, 2rem);      /* 24-32px */
  --font-size-xl: clamp(2rem, 5.5vw, 2.5rem);      /* 32-40px */
  --font-size-xxl: clamp(2.5rem, 6.5vw, 3.5rem);   /* 40-56px */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif !important;
    background-color: #EEF9FF !important;
    font-size: var(--font-size-base);
}

html {
    scroll-behavior: smooth;
}

/*NAVBAR*/
nav.navbar {
    transition: transform 0.5s ease-in-out;
    transform: translateY(0);
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav.navbar.hidden {
    transform: translateY(-100%);
}

.nav-item.active a {
    font-weight: bold;
}

.nav-item a {
    color: #000 !important;
    transition: color 0.3s ease-in-out;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.nav-item:not(.active) a::after {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #006D46;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

.nav-item:not(.active):hover a::after {
    width: 100%;
}

.nav-item:not(.active):hover a {
    color: #006D46 !important; 
}

/* Hamburger button */
.navbar-light .navbar-toggler {
    border-width: 2px;
    border-color: rgba(62, 61, 61, 0.34) !important;
}

.navbar-light .navbar-toggler:focus,
.navbar-light .navbar-toggler:active {
    outline: none;
    border-width: 2px;
    border-color: rgba(62, 61, 61, 0.34) !important;
}

.custom-toggler .navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 30px;
    height: 22px;
    display: inline-block;
    transform: translateY(-2px);
}

.custom-toggler .navbar-toggler-icon::before,
.custom-toggler .navbar-toggler-icon::after,
.custom-toggler .navbar-toggler-icon div {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(62, 61, 61);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.custom-toggler .navbar-toggler-icon::before {
    top: 4px;
}

.custom-toggler .navbar-toggler-icon::after {
    top: 20px;
}

.custom-toggler .navbar-toggler-icon div {
    top: 12px;
}

.custom-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.custom-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 11px;
}

.custom-toggler.active .navbar-toggler-icon div {
    opacity: 0;
}

/* NAVIGATION - RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px !important;
    }
    
    .custom-toggler .navbar-toggler-icon {
        width: 25px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar-nav .nav-link {
        font-size: var(--font-size-sm);
        padding: 8px 12px;
    }
}

/*FOOTER*/
footer {
    background-color: #626161;
    color: #fff;
    padding: 20px;
    padding-bottom: 0px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    align-items: center;
    font-size: var(--font-size-sm);
}

footer > div.row > div.col-md-4 {
    margin-bottom: 20px;
}

.mentions-legales a {
    color: #fff;
    text-decoration: underline;
    font-size: 0.9em;
}

.mentions-legales a:hover {
    color: #fff;
    text-decoration: underline;
    font-size: 0.9em;
}

.icon-align {
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin-right: 5px;
}

.map_footer {
    height: 150px;
    width: 100%;
    max-width: 300px;
}

/* FOOTER - RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
    footer .row {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 30px;
    }
    
    .map_footer {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 20px 15px;
    }
    
    footer h2 {
        font-size: var(--font-size-lg);
        margin-bottom: 10px;
    }
    
    footer p {
        font-size: var(--font-size-sm);
        margin-bottom: 8px;
    }
    
    .bouton.style2 {
        padding: 10px 20px;
        font-size: var(--font-size-sm);
    }
    
    .map_footer {
        height: 120px;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 15px 10px;
    }
    
    footer h2 {
        font-size: var(--font-size-md);
    }
    
    footer p {
        font-size: var(--font-size-xs);
    }
    
    .mentions-legales {
        font-size: var(--font-size-xs);
    }
}

/* Paramètre de l'infobulle Google*/
.gm-ui-hover-effect {
    width: 20px !important;
    height: 20px !important;
    right: 8px !important;
}

.gm-ui-hover-effect > span {
    width: 14px !important;
    height: 14px !important;
    margin: auto !important;
}

/* Bouton */
.bouton{
    border-radius: 100px;
    padding: 7px 10px;
}

.bouton.style1 {
    background-color: #1D9A52;
    color: #fff;
    border: #1D9A52 solid 2px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.bouton.style1:hover {
    background-color: #fff;
    color: #1D9A52;
    text-decoration: none;
    border: #1D9A52 solid 2px;
}

.bouton.style2 {
    background-color: #fff;
    color: #006D46;
    border: #006D46 solid 2px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.bouton.style2:hover {
    background-color: #006D46;
    color: #fff;
    text-decoration: none;
    border: #fff solid 2px;
}

.bouton.style3 {
    border-radius: 8px;
    padding: 8px 12px;
    background-color: #1D9A52;
    color: #fff;
    border: #6F7171 solid 2px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.bouton.style3:hover {
    background-color: #fff;
    color: #1D9A52;
    text-decoration: none;
    border: #1D9A52 solid 2px;
}

/*Section titre*/
section.titre-section {
    padding-top: 100px; /* Compensation pour la navbar */
    min-height: 95vh;
    background-image: url('../img/terrasses/piscine1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

section.titre-section > .container {
    margin-bottom: 2rem;
    width: 100%;
}

section.titre-section p.titre {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: rgba(0, 0, 0, 0.63);
    text-align: center;
    background-color: rgba(62, 61, 61, 0.34);
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 30px;
    display: inline;
    line-height: 1.65;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.titre-section .bouton.style3 {
    margin-top: 50px;
    display: inline-block;
}

/*Mobile*/
@media (max-width: 767px) {
    section.titre-section {
        min-height: 45vh;
    }
}

@media (max-width: 576px) {
    section.titre-section p.titre {
        font-size: var(--font-size-md);
        line-height: 1.4;
        display: block;
        padding: 15px;
    }
}

/*ACCUEIL*/
.presentation-section {
    padding-top: 50px;
    font-size: var(--font-size-base);
}

.presentation-section .container {
    padding: 50px 0px;
}

.presentation-section img {
    width: 100%;
    height: auto;
    max-width: 670px;
    max-height: 335px;
}

.presentation-section p.desc{
    padding: 5px;
    background-color: #0AE78F;
    margin-bottom: 0px;
    font-size: var(--font-size-base);

}

.presentation-section p.desc.un {
    border-radius: 10px 0 0 10px;
}

.presentation-section p.desc.deux {
    border-radius: 0 10px 10px 0;
}

/* ACCUEIL - RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
    .presentation-section .container {
        padding: 30px 0;
    }
    
    .presentation-section img {
        max-height: 300px;
    }
    
    .contact-section p.text-contact {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .presentation-section .row.no-gutters {
        margin: 0;
    }
    
    .presentation-section .col-md-5,
    .presentation-section .col-md-7 {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .presentation-section p.desc {
        border-radius: 10px !important;
        padding: 15px;
        font-size: var(--font-size-sm);
        text-align: center;
    }
    
    .presentation-section img {
        border-radius: 10px;
        max-height: 250px;
    }
    
    .contact-section .row {
        padding: 20px 0;
    }
    
    .contact-section p.text-contact {
        font-size: var(--font-size-sm);
        margin-bottom: 15px;
    }
    
    .bouton.style1 {
        padding: 10px 25px;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 576px) {
    section.titre-section {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .presentation-section img {
        max-height: 200px;
    }
    
    .presentation-section p.desc {
        font-size: var(--font-size-xs);
        padding: 12px;
    }
    
    .contact-section p.text-contact {
        font-size: var(--font-size-xs);
    }
    
    .container h2.titre-avis {
        font-size: var(--font-size-lg);
        text-align: center;
    }
}

/*Mobile*/
@media (max-width: 767px) {
    .presentation-section p.desc{
        border-radius: 10px;
    }
}

.contact-section .row {
    padding: 30px 0;
}

.contact-section p.text-contact {
    font-size: var(--font-size-md);
    margin-bottom: 20px;
}

.avis{
    padding: 40px 0;
}

.container h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
    font-weight: 800;
    text-decoration: underline;
    font-style: italic;
}

.avis {
    overflow-x: hidden;
}

.elfsight-app-440519ed-0d2c-4f50-a4a6-d43400f696f9,
.elfsight-app {
    max-width: 100% !important;
    overflow-x: hidden;
}

/* Correction de l'elfsight widget */
@media (max-width: 768px) {
    .elfsight-app-440519ed-0d2c-4f50-a4a6-d43400f696f9 {
        max-width: 100% !important;
        overflow: hidden;
    }
}

/*CONTACT*/
.contact-titre {
    padding-top: 100px; /* Compensation pour la navbar */
}

.titre-contact {
    position: relative;
    display: inline-block;
    font-size: var(--font-size-xxl);
    font-weight: 300;
    margin-bottom: 50px;
}

.titre-contact::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 75%;
    height: 20px;
    background-color: #1D9A52;
}

.map_contact {
    margin: 30px 0;
    height: 400px;
    width: 100%;
    max-width: 1200px;
}

.container-fluid h3,
.container h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 20px;
    font-weight: 300;
    text-decoration: underline;
}

.form-group .bouton.style3 {
    padding-left: 60px;
    padding-right: 60px;
    border-color: #000;
}

.form-group label {
    font-style: italic;
    margin-bottom: 0px;
}

.form-group input {
    color: #000;
    outline: none;
    background-color: rgba(124, 134, 130, 0.3);
}

.form-group .form-control,
.form-group .form-control:focus {
    color: #000;
    border: 2px solid #000;
    background-color: rgba(124, 134, 130, 0.3);
}

@keyframes headshake {
  25% {
    transform: translateX(2%);
  }
  75% {
    transform: translateX(-2%);
  }
}

#email:invalid:not(:focus):not(:placeholder-shown) {
    background-color: #b20a37;
    color: white;
    animation: headshake 100ms cubic-bezier(0.4, 0.1, 0.6, 0.9) 2;
}

/* CONTACT - RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
    .form .container .row {
        flex-direction: column;
    }
    
    .form .col-md-5 {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .form .col-md-5.offset-md-2 {
        margin-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .contact-titre {
        padding-top: 80px;
    }
    
    .titre-contact {
        font-size: var(--font-size-xl);
    }
    
    .titre-contact::after {
        bottom: -30px;
        height: 15px;
    }
    
    .map_contact {
        height: 300px;
        margin: 20px 0;
    }
    
    .form-group .bouton.style3 {
        padding-left: 40px;
        padding-right: 40px;
        width: 100%;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left top;
    }
    
    .form h3 {
        font-size: var(--font-size-md);
    }
    
    .form p {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .titre-contact {
        font-size: var(--font-size-lg);
    }
    
    .map_contact {
        height: 250px;
    }
    
    .form-group label {
        font-size: var(--font-size-sm);
    }
    
    .form-control {
        font-size: var(--font-size-sm);
    }
    
    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: left top;
    }
}

/*Mentions légales*/
section.mentions-legales {
    padding: 40px;
    background-color: #A29E9E;
    color: #fff;
    margin: 0 auto;
}

.bouton.mentions-legales {
    background-color: #626161;
}

.bouton.mentions-legales:hover {
    color: #626161;
    border: #626161 solid 2px;
}

.mentions-legales h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    font-style: italic;
}

/* MENTIONS LÉGALES - RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
    section.mentions-legales {
        padding: 30px 20px;
    }
    
    .mentions-legales h3 {
        font-size: var(--font-size-md);
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .mentions-legales p {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    section.mentions-legales {
        padding: 20px 15px;
    }
    
    .mentions-legales h3 {
        font-size: var(--font-size-base);
    }
    
    .mentions-legales p {
        font-size: var(--font-size-xs);
    }
}

/*Services*/
.presentation-services {
    padding: 50px 0 40px 0;
    font-style: italic;
    text-align: center;
}

.presentation-services p {
    font-size: var(--font-size-base);
}

.presentation-services .titre-services {
    margin-bottom: 50px;
    font-size: var(--font-size-lg);

}

.services .row {
    display: flex;
    flex-wrap: wrap;
}

.services .col-md-4 {
    display: flex;
}

.service-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0AE78F;
    border-radius: 15px;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    object-fit: cover;
    max-height: 250px;
}

.service-item .bouton{
    display: inline-block;
    width: auto !important;
    margin: 10px auto;
    padding: 8px 20px;
    text-align: center;
    align-self: center;
}

/* SERVICES - RESPONSIVE IMPROVEMENTS */
@media (max-width: 1200px) {
    .service-item h4 {
        font-size: var(--font-size-md);
    }
    
    .service-item p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 992px) {
    .services .col-md-4 {
        margin-bottom: 30px;
    }
    
    .service-item {
        height: auto;
        min-height: 500px;
    }
    
    .service-item img {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .services .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .service-item {
        min-height: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-item:hover {
        transform: none;
    }
    
    .service-item img {
        max-height: 180px;
    }
    
    .presentation-services .titre-services {
        font-size: var(--font-size-md);
        margin-bottom: 30px;
    }
    
    .presentation-services p {
        font-size: var(--font-size-sm);
    }
    
    .presentation-services .col-md-8 {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .service-item {
        max-width: 100%;
    }
    
    .service-item h4 {
        font-size: var(--font-size-base);
    }
    
    .service-item p {
        font-size: var(--font-size-xs);
    }
    
    .bouton.style2 {
        padding: 8px 20px;
        font-size: var(--font-size-xs);
    }
    
    .presentation-services {
        padding: 30px 0;
    }
}

/*A-Propos*/
.histoire {
    padding: 40px 0;
}
/* timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #000;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000;
    z-index: 1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.center {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
    max-width: 80%;
}

.timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #000;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
    text-align: left;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    font-size: var(--font-size-sm);
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-year {
    font-weight: bold;
    color: #000;
    font-size: var(--font-size-md);
    margin-bottom: 10px;
}

/* À PROPOS - RESPONSIVE IMPROVEMENTS */
@media (max-width: 1200px) {
    .timeline-content {
        font-size: var(--font-size-sm);
        padding: 15px;
    }
}

@media (max-width: 992px) {
    section.ecoresponsable .engagement-content {
        padding: 20px;
    }
    
    .engagement-content h3 {
        font-size: var(--font-size-md);
    }
    
    .team-member {
        margin-bottom: 20px;
    }
    
    .member-card {
        padding: 20px 15px 15px;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .timeline::after {
        left: 30px !important;
    }

    .timeline::before {
        left: 30px !important;
    }
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 18px;
    }
    
    .timeline::before {
        left: 18px;
        margin-left: -14px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left, .right {
        left: 0;
        text-align: left;
    }
    
    .left::after, .right::after {
        left: 18px;
    }

    .timeline-item.center {
        left: 0;
        transform: none;
        width: 100%;
        padding: 10px 0px;
        text-align: left;
    }
    
    .timeline-item.center::after {
        left: 18px;
        transform: none;
    }
    
    /* Engagement cards mobile */
    .engagement-item {
        margin-bottom: 25px;
    }
    
    .engagement-img {
        height: 200px;
        border-bottom: 3px solid #0AE78F;
    }
    
    .engagement-content {
        padding: 15px;
    }
    
    .dechets-slider {
        height: 250px;
    }
    
    /* Team section mobile */
    .team-members {
        justify-content: center;
    }
    
    .team-member {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .member-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .member-icon-container .material-icons {
        font-size: 60px;
    }
    
    /* Partners mobile */
    .partner-container {
        height: 100px;
        padding: 10px;
    }
    
    .main-partner {
        height: 120px;
    }
    
    .main-partners .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .secondary-partners .col-md-2 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 576px) {
    /* Small mobile optimizations */
    section.titre-section {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    section.titre-section p.titre {
        font-size: var(--font-size-md);
        padding: 0.3em 0.8em;
    }
    
    .timeline-item {
        padding-left: 40px;
        padding-right: 10px;
    }
    
    .timeline-item::after {
        left: 6px;
        width: 18px;
        height: 18px;
    }
    
    /* Team section very small screens */
    .team-member {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Partners very small screens */
    .partner-container {
        height: 80px;
        padding: 8px;
    }
    
    .main-partner {
        height: 100px;
    }
    
    .secondary-partners .col-md-2 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    
    .main-partners .col-md-3,
    .secondary-partners .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .main-partners .col-md-3,
    .secondary-partners .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Amélioration de la lisibilité du texte */
@media (max-width: 768px) {
    .presentation-services .col-md-8 {
        padding: 0 15px;
    }
    
    .presentation-services p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
}

/* Correction de l'overflow horizontal */
.container {
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
}

section.ecoresponsable {
    padding: 40px 0;
}

section.ecoresponsable .container div {
    text-align: center;
}

.text-ecoresponsable {
    font-size: var(--font-size-xl);
    margin-bottom: 40px !important;
}

.intro-text {
    margin-bottom: 50px;
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.horizontal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.horizontal-card:hover {
    transform: translateY(-5px);
}

.engagement-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.engagement-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.engagement-content h3 {
    color: #1D9A52;
    font-size: var(--font-size-lg);
    margin-bottom: 15px;
    font-weight: 600;
}

.engagement-content p {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: #555;
}

.dechets-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 350px;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    width: 300%;
}

.slider-item {
    width: 33.3333%;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev, .slider-next {
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-prev:hover, .slider-next:hover {
    background: white;
}

.slider-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

@media (max-width: 768px) {
    .engagement-item {
        margin-bottom: 30px;
    }
    
    .engagement-img {
        height: 250px;
        border-bottom: 3px solid #0AE78F;
    }
    
    .text-ecoresponsable {
        font-size: var(--font-size-lg);
    }
    
    .horizontal-card .row > div {
        order: 1 !important;
    }
    
    .engagement-content {
        padding: 20px;
    }
}

section.equipe {
    padding: 40px 0;
}

.text-equipe {
    margin-bottom: 60px !important;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.member-card {
    background: #1D9A52;
    border-radius: 10px;
    padding: 30px 20px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.member-icon-container {
    width: 150px;
    height: 150px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    flex-shrink: 0;
}

.member-icon-container .material-icons {
    font-size: 100px;
    color: #1D9A52;
}

.member-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: center;
    text-align: center;
}

.member-info h3 {
    color: #000;
    font-size: var(--font-size-md);
    margin-bottom: 5px;
    font-weight: 600;
}

.member-info .position {
    color: #000;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .member-icon-container {
        width: 120px;
        height: 120px;
    }
    
    .member-icon-container .material-icons {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .member-card {
        max-width: 100%;
    }
    
    .member-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .member-icon-container .material-icons {
        font-size: 60px;
    }
}

section.partenaires {
    padding: 60px 0;
    overflow: hidden;
}

.text-partenaires {
    margin-bottom: 50px !important;
    padding: 0 15px;
    text-align: left;
}

.partner-container {
    padding: 20px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.main-partner {
    height: 220px;
}

.partner-logo {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-container:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .partner-container {
        height: 120px;
        padding: 15px;
    }
    .main-partner {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .partner-container {
        height: 100px;
        padding: 10px;
    }
    .main-partner {
        height: 130px;
    }
}

/*GALERIE PHOTO*/
section.galerie-section {
    padding-top: 60px;
    padding-bottom: 30px;
}

.container-fluid {
    padding: 0 15px;
    text-align: center;
}

.showroom-section,
.half-section {
    margin-bottom: 30px;
}

.galerie-section p {
    font-size: var(--font-size-base) !important;
}

.image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
}

.image-container:hover {
    transform: scale(1.03);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .main-image {
    transform: scale(1.03);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-col {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-thumbnails {
    margin-top: 10px !important;
}

.gallery-thumbnails img{
    max-width: 75px;
    max-height: 75px;
    height: auto;
}

.thumbnails-row {
    margin: 0 -3px;
}

.thumb-col {
    padding: 0 3px;
    margin-bottom: 6px;
    height: 75px;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.03);
}

.img-col {
    height: 400px;
    display: flex;
    align-items: stretch;
}

/* GALERIE - RESPONSIVE IMPROVEMENTS */
@media (max-width: 1200px) {
    .content-col h3 {
        font-size: var(--font-size-md);
    }
    
    .content-col p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 992px) {
    .showroom-section .img-col,
    .half-section .img-col {
        height: 300px;
    }
    
    .thumb-col {
        height: 60px;
    }
    
    .gallery-thumbnails img {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    section.galerie-section {
        padding-top: 40px;
        padding-bottom: 20px;
    }
    
    .showroom-section .row,
    .half-section .row {
        margin: 0;
    }
    
    .content-col {
        order: -1;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .img-col {
        order: 1;
        height: 250px;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .gallery-thumbnails {
        display: none;
    }
    
    .content-col h3 {
        font-size: var(--font-size-lg);
        text-align: center;
    }
    
    .content-col p {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .bouton.style3 {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .showroom-section .img-col,
    .half-section .img-col {
        height: 200px;
    }
    
    .content-col h3 {
        font-size: var(--font-size-md);
    }
    
    .bouton.style3 {
        padding: 10px 20px;
        font-size: var(--font-size-sm);
    }
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .img-col, .content-col {
        width: 100%;
    }
    
    .content-col{
        order: -1;
    }
    
    .gallery-thumbnails {
        display: none;
    }

    .showroom-section,
    .half-section {
        margin-bottom: 40px;
    }

    .img-col {
        height: 250px;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-end;
        order: 1;
    }

    .image-container {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .main-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }
}

/* Diaporama */
.diaporama-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.diaporama-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
}

.diaporama-slides {
    height: 100%;
}

.slide {
    display: none;
    height: 100%;
    text-align: center;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.slide img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.diaporama-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    z-index: 10;
}

.diaporama-title {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: var(--font-size-lg);
    z-index: 10;
    padding: 10px 0;
    background: rgba(0,0,0,0.5);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.diaporama-prev, .diaporama-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.diaporama-prev { left: 10px; }
.diaporama-next { right: 10px; }

.navbar-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* Diaporama responsive */
@media (max-width: 768px) {
    .diaporama-container {
        width: 95%;
        height: 85vh;
    }
    
    .diaporama-title {
        font-size: var(--font-size-md);
        top: 10px;
        padding: 8px 0;
    }
    
    .diaporama-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
    
    .diaporama-prev, .diaporama-next {
        padding: 10px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .diaporama-container {
        width: 98%;
        height: 80vh;
    }
    
    .slide img.zoomed {
        transform: scale(1.2);
    }
}