/* ===== Font - Emera Immobilier ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ===== Variables CSS - Emera Immobilier ===== */
:root {
    --primary-color: #F3D723 ;
    /* --accent-color: #9FC58F; */
    --accent-color: #9FC58F;
    --dark-color: #2C3E49;
    --black-color: #000000;
    --white-color: #FFFFFF;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; 
    color: var(--medium-gray);
    line-height: 1.6;
    background-color: var(--white-color);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; 
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: #FFFFFF;
}

.lead {
    font-size: 1rem !important;
}

/* ===== Typographie ===== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

/*Bar dégradé*/
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    
}

/* ===== Navbar améliorée ===== */
.navbar {
    background-color: var(--white-color);
   
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    z-index: 1030;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link {
    /* color: var(--dark-color) !important; */
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    /* background-color: rgba(80, 180, 50, 0.1); */
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Dropdown amélioré */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow-hover);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    min-width: 200px;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--dark-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background-color: rgba(243, 215, 35, 0.1);
    color: var(--accent-color);
    transform: translateX(5px);
}

.dropdown-item:active {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/* ===== SUPPRESSION DU CHEVRON BOOTSTRAP ===== */
.navbar .dropdown-toggle::after {
    display: none !important;
    border: none !important;
    content: "" !important;
}


.dropdown-icon {
    display: inline-block !important;
    opacity: 1 !important;
}

.btn-client {
    background-color: var(--accent-color);
    color: #FFFFFF !important;
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-client:hover {
    background-color: var(--white-color);
    color: var(--dark-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    border: 1px solid #9FC58F;
}

/* ===== Drawer latéral amélioré ===== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--white-color);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--white-color);
}

.drawer-brand {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    background-color: rgba(44, 62, 73, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background-color: rgba(44, 62, 73, 0.2);
    transform: rotate(90deg);
}

.close-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.close-icon span {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--dark-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
}

.close-icon span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-body {
    padding: 1.5rem;
    flex: 1;
}

.drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav li {
    margin-bottom: 0.5rem;
}

.drawer-nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    color: var(--accent-color);
    background-color: rgba(80, 180, 50, 0.1);
    padding-left: 2rem;
}

.drawer-dropdown {
    position: relative;
}

.drawer-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.drawer-dropdown-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.drawer-dropdown.active .drawer-dropdown-icon {
    transform: rotate(180deg);
}

.drawer-submenu {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.drawer-dropdown.active .drawer-submenu {
    max-height: 300px;
}

.drawer-submenu li {
    margin-bottom: 0.25rem;
}

.drawer-submenu a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.03);
}

.drawer-submenu a:hover {
    background-color: rgba(243, 215, 35, 0.1);
    padding-left: 2rem;
}

.drawer-client-btn {
    background-color: var(--primary-color);
    color: var(--dark-color) !important;
    font-weight: 600;
    margin-top: 1rem;
    border: 2px solid var(--primary-color);
}

.drawer-client-btn:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

/* ===== Hamburger Icon amélioré ===== */
.drawer-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    background-color: rgba(44, 62, 73, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
   
    transition: all 0.3s ease;
    z-index: 1030;
}

.drawer-toggle:hover {
    background-color: rgba(44, 62, 73, 0.2);
    transform: scale(1.05);
}

.hamburger-icon {
    width: 20px;
    height: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drawer-toggle.active .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.drawer-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.drawer-toggle.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Scroll to Top amélioré ===== */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(80, 180, 50, 0.3);
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top:hover {
    background-color: #42942a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(80, 180, 50, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.scroll-to-top:hover i {
    animation: float 2s ease-in-out infinite;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(rgba(44, 62, 73, 0.8), rgba(44, 62, 73, 0.8)), 
                url('../../banner/emera_accueil_2048x2048.jpg');
    background-size: cover;
    background-position: center;
    /* height: 40vh; */
    min-height: 400px;
    display: flex;
    align-items: center; 
    position: relative;
    margin-top: -30px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 40px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



.search-input, .search-select {
    border: 1px solid #ddd;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
}

.search-input:focus, .search-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(243, 215, 35, 0.25);
    border-color: var(--primary-color);
}

.search-btn {
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: all var(--transition-speed) ease;
}
.search-btn {
  height: 55px;              /* même hauteur que .form-control */
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
    background-color: #42942a;
    border-color: #42942a;
    transform: translateY(-2px);
}

/* ===== Boutons ===== */
.btn {
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border-radius: var(--border-radius);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e6c920;
    border-color: #e6c920;
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #42942a;
    border-color: #42942a;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-outline-light:hover {
    background-color: var(--white-color);
    border-color: var(--white-color);
    color: var(--dark-color);
}

/* ===== Cartes de services ===== */
.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(243, 215, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}




.text-primary {
    color: var(--primary-color) !important;
}


/* ===== CTA Section ===== */
.section-cta {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a5366 100%);
    color: var(--white-color);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white-color);
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    font-size: 2rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/*Bar footer*/
.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
     background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: 0;  
    left: 0;   
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 0.2rem; 
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal-link:hover {
    color: var(--primary-color);
}

/* ===== Animations ===== */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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






/* Mise à jour pour le formulaire de recherche */
.search-container form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow-hover);
}

.search-container .form-control,
.search-container .form-select {
    height: 56px;
    border: 2px solid #ddd;
}

.search-container .form-control:focus,
.search-container .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 215, 35, 0.25);
}

/* Smooth scroll pour toute la page */
html {
    scroll-behavior: smooth;
}

/* Empêcher le scroll du body quand le drawer est ouvert */
body.drawer-open {
    overflow: hidden;
}

/* ===== Responsive Design amélioré ===== */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .drawer-toggle {
        display: flex !important;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .search-container .input-group {
        flex-wrap: wrap;
    }
    
    .search-input, .search-select {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-container {
        padding: 1rem;
    }
    
    .search-input, .search-select, .search-btn {
        padding: 0.8rem 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .drawer {
        width: 280px;
        left: -280px;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        margin-top: -70px;
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-container .input-group {
        flex-direction: column;
    }
    
    .search-input, .search-select, .search-btn {
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: var(--border-radius) !important;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .drawer {
        width: 100%;
        left: -100%;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .hero-section {
        height: 80vh;  
        min-height: 550px;  
    }
    
    .search-container {
        padding: 1rem;  
    }
    
    .search-container .form-control,
    .search-container .form-select {
        height: 48px;  
        font-size: 0.9rem;  
    }
    
    .search-btn {
        height: 48px;  
        font-size: 0.9rem;  
    }
    
    .hero-title {
        font-size: 1.6rem;  
        margin-bottom: 1rem;  
    }
}

/* ===== Section Témoignages ===== */
.section-testimonials {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.testimonials-swiper {
    position: relative;
    padding: 20px 0 60px;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    min-height: 320px;
    position: relative;
    padding-top: 2rem;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-gray);
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: rgba(243, 215, 35, 0.3);
    border-radius: 2px;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 2px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-name {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-role {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--dark-color);
    transition: var(--transition);
    z-index: 10;
    top: 40px;
    transform: translateY(0);
    margin-top: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(243, 215, 35, 0.3);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 1.2rem;
}

.swiper-button-prev {
    left: auto;
    right: 70px;
}

.swiper-button-next {
    right: 10px;
}

/* Pagination dots */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(44, 62, 73, 0.2);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color);
    width: 30px;
    border-radius: 10px;
    transform: scale(1.2);
}

/* Égalisation de la hauteur des slides */
.swiper-slide {
    height: auto;
    display: flex;
}

/* ===== Section Partenaires ===== */
.section-partners {
    background-color: var(--white-color);
    overflow: hidden;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* padding: 20px 0; */
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollPartners 40s linear infinite;
    padding: 20px 0;
}

.partner-item {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    background-color: var(--white-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
    background-color: rgba(243, 215, 35, 0.1);
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.partner-logo {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
    transform: scale(1.05);
}

.partner-name {
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Animation de défilement */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 5 - 40px * 4));
    }
}

/* Pause animation on hover */
.partners-container:hover .partners-track {
    animation-play-state: paused;
}

/* ===== Responsive Design ===== */
@media (max-width: 1199.98px) {
    .swiper-button-prev {
        right: 60px;
    }
    
    .swiper-button-next {
        right: 10px;
    }
}

@media (max-width: 992px) {
    .testimonial-card {
        min-height: 300px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px;
        height: 45px;
    }
    
    .partner-item {
        width: 160px;
        padding: 20px 15px;
    }
    
    .partner-logo {
        height: 65px;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 5 - 40px * 4));
        }
    }
}

@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        top: 30px;
    }
    
    .swiper-button-prev i,
    .swiper-button-next i {
        font-size: 1rem;
    }
    
    .swiper-button-prev {
        right: 55px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .partner-item {
        width: 140px;
        padding: 15px 10px;
    }
    
    .partner-logo {
        height: 60px;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 5 - 40px * 4));
        }
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        min-height: 280px;
        padding-top: 1.5rem;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .partner-item {
        width: 120px;
        padding: 12px 8px;
    }
    
    .partner-logo {
        height: 50px;
    }
    
    .partner-name {
        font-size: 0.85rem;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 5 - 40px * 4));
        }
    }
}


#regionSelect option {
  padding: 8px 12px;
  font-size: 14px;
}

/* Option sélectionnée */
#regionSelect option:checked {
  background-color: #9FC58F;
  color: #fff;
}

/* Hover (selon navigateur) */
#regionSelect option:hover {
  background-color: rgba(80, 180, 50, 0.15);
}

/* Styles pour la section services */
.section-services {
    background-color: var(--white-color, #fff);
}

.service-item {
    background: var(--white-color, #fff);
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--box-shadow, 0 2px 10px rgba(0,0,0,0.1));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray, #f0f0f0);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover, 0 8px 25px rgba(0,0,0,0.15));
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(80, 180, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent-color, #50b432);
}

.service-heading {
    color: var(--dark-color, #333);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.service-intro {
    color: var(--medium-gray, #666);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding-left: 0;
   
}

.service-feature {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color, #333);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    font-weight: 400; /* Force le poids normal */
}

.service-feature i {
    color: var(--accent-color, #50b432);
    margin-right: 0.5rem;
}

.service-feature strong {
    font-weight: 600;
    color: var(--dark-color, #333);
} 

.service-conclusion {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-color, #333);
    /* margin: 1.5rem 0; */
    font-style: italic;
    font-weight: 400; /* Force le poids normal */
}

.service-item .text-center {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .service-item {
        padding: 1.5rem;
    }
    
    .service-heading {
        font-size: 1.3rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}