/**
 * Carlisi - Crelan Liège
 * Styles principaux - VERSION CORRIGÉE
 * @version 2.0
 * @date 2025-11-17
 */

/* ============================================================================
   VARIABLES CSS - AVEC LES 3 TONALITÉS DE VERT
   ========================================================================= */
:root {
    /* Couleurs principales */
    --color-black: #000000;
    --color-white: #FFFFFF;

    /* 3 tonalités de vert Crelan à utiliser */
    --color-green-1: #00a44d;
    /* Vert foncé - Pour titres principaux, hover, accents importants */
    --color-green-2: #82b701;
    /* Vert moyen - Pour sous-titres, éléments interactifs */
    --color-green-3: #c4d600;
    /* Vert clair - Pour highlights, boutons secondaires */

    /* Ancienne variable pour compatibilité - pointe vers vert moyen */
    --color-pistachio: #82b701;

    /* Couleurs fonctionnelles */
    --color-success: #28A745;
    --color-error: #DC3545;
    --color-warning: #FFC107;
    --color-info: #17A2B8;

    /* Gris */
    --color-gray: #6C757D;
    --color-gray-light: #F8F9FA;
    --color-gray-border: #DEE2E6;

    /* Typographie - NOUVELLE POLICE POUR MENU */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-menu: 'Open Sans', sans-serif;
    /* Nouvelle police pour le menu */

    /* Tailles */
    --container-max: 1200px;
    --border-radius: 8px;
    --transition: 0.3s ease;

    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   RESET & BASE
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ============================================================================
   TYPOGRAPHIE - AVEC LES 3 VERTS
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--color-green-1);
    /* Vert foncé pour H1 */
}

h2 {
    font-size: 2rem;
    color: var(--color-green-2);
    /* Vert moyen pour H2 */
}

h3 {
    font-size: 1.5rem;
    color: var(--color-green-1);
    /* Vert foncé pour H3 */
}

h4 {
    font-size: 1.25rem;
    color: var(--color-green-2);
    /* Vert moyen pour H4 */
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-green-2);
    /* Vert moyen pour les liens */
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-green-1);
    /* Vert foncé au hover */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================================
   UTILITAIRES
   ========================================================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-green-1);
    /* Vert foncé */
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    margin-top: 4.5rem;
    /* 3 sauts de ligne supplémentaires (1.5rem par ligne) */
}

/* ============================================================================
   BOUTONS - AVEC LES 3 VERTS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-green-2);
    /* Vert moyen */
    color: var(--color-white);
    border-color: var(--color-green-2);
}

.btn-primary:hover {
    background-color: var(--color-green-1);
    /* Vert foncé au hover */
    border-color: var(--color-green-1);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-green-2);
    border-color: var(--color-green-2);
}

.btn-secondary:hover {
    background-color: var(--color-green-2);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-green-2);
    border-color: var(--color-green-2);
}

.btn-outline:hover {
    background-color: var(--color-green-2);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-green-2);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-green-2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================================================
   HEADER
   ========================================================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-black);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.header-top {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
}

.main-nav {
    flex-grow: 1;
    /* Permet au menu de prendre l'espace disponible */
}

.logo-crelan img,
.logo-carlisi img {
    height: 50px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Menu burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation principale - NOUVELLE POLICE */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    /* Centre les éléments du menu */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    color: var(--color-white);
    font-family: var(--font-menu);
    /* Nouvelle police pour menu */
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-green-3);
    /* Vert clair au hover */
}

.nav-link i {
    font-size: 0.75rem;
}

/* Mega Menu - AVEC LES 3 VERTS */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 600px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--color-green-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column>h3 {
    font-size: 1.125rem;
    color: var(--color-green-1);
    /* Vert foncé pour titres colonnes */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-green-2);
    /* Vert moyen pour bordure */
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-section h4 {
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-section ul li {
    margin-bottom: 0.5rem;
}

.menu-section ul li a {
    color: var(--color-black);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    display: block;
    transition: var(--transition);
}

.menu-section ul li a:hover {
    color: var(--color-green-2);
    /* Vert moyen au hover */
    padding-left: 0.5rem;
}

/* Desktop Menu Enhancements */
.main-nav .nav-menu>.nav-item>.nav-link {
    position: relative;
    padding: 20px 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Underline effect on hover */
.main-nav .nav-menu>.nav-item>.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-green-1);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav .nav-menu>.nav-item:hover>.nav-link::after {
    width: 80%;
}

/* Chevron animation */
.main-nav .nav-menu>.nav-item>.nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.8em;
    margin-left: 6px;
}

.main-nav .nav-menu>.nav-item:hover>.nav-link .fa-chevron-down {
    transform: translateY(2px);
}

/* Mega menu improvements */
.mega-menu {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--color-green-1);
    padding-top: 20px;
}

.mega-menu .menu-section ul li a {
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mega-menu .menu-section ul li a:hover {
    background-color: #f0f7f2;
    color: var(--color-green-1);
}

/* Progressive deployment for mega menu sections */
.mega-menu .menu-section ul {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mega-menu .menu-section:hover ul {
    display: block;
    opacity: 1;
}

.mega-menu .menu-section {
    padding-bottom: 25px;
}

/* Condensed menu adjustments */
.mega-menu .menu-section h4 {
    margin-bottom: 8px;
}

.mega-menu .menu-section ul li a {
    padding: 6px 12px;
}

.mega-menu-content.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Contact mobile - MASQUÉ */
.mobile-contact {
    display: none;
    /* Supprimé du menu desktop */
}


/* ============================================================================
   HERO SECTION - IMAGE ADAPTÉE EN MOBILE
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 600px;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: var(--color-white);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: right;
    /* Aligner à droite au lieu de center */
    display: flex;
    justify-content: flex-end;
    /* Pousser l'image à droite */
}

.building-image {
    max-width: 60%;
    /* Réduit de 40% (100% - 40% = 60%) */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-left: auto;
    /* Pousser l'image complètement à droite */
}

/* ============================================================================
   NAVIGATION VOLETS - AVEC LES 3 VERTS
   ========================================================================= */
.navigation-volets {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.volets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.volet-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.volet-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.volet-icon {
    font-size: 3rem;
    color: var(--color-green-2);
    /* Vert moyen pour icônes */
    margin-bottom: 1rem;
    text-align: center;
}

.volet-card>h3 {
    text-align: center;
    font-size: 1.75rem;
    color: var(--color-green-1);
    /* Vert foncé pour titres */
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-green-2);
}

.volet-content {
    margin-bottom: 1.5rem;
}

.volet-section {
    margin-bottom: 1.5rem;
}

.volet-section h4 {
    font-size: 1rem;
    color: var(--color-green-2);
    /* Vert moyen pour sous-titres */
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volet-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0 1.5rem;
}

.volet-section ul li {
    margin-bottom: 0.5rem;
}

.volet-section ul li a {
    color: var(--color-black);
    transition: var(--transition);
}

.volet-section ul li a:hover {
    color: var(--color-green-2);
    padding-left: 0.5rem;
}

.volet-toggle {
    display: block;
    text-align: center;
    color: var(--color-green-2);
    /* Vert moyen */
    font-weight: 600;
    padding: 0.75rem;
    border-top: 1px solid var(--color-gray-border);
    margin-top: 1rem;
    transition: var(--transition);
}

.volet-toggle:hover {
    color: var(--color-green-1);
    /* Vert foncé au hover */
    background-color: rgba(130, 183, 1, 0.05);
}

/* ============================================================================
   ACTUALITÉS - AVEC LES 3 VERTS
   ========================================================================= */
.actualites-section,
.news-section {
    padding: 5rem 0;
    margin-bottom: 5rem;
    /* 5rem au lieu de 3rem = 2 sauts de ligne supplémentaires */
}

/* Carrousel actualités - même structure que reviews */
.news-carousel-wrapper {
    position: relative;
}

.news-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.news-page {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    gap: 2rem;
}

.news-page.active {
    display: grid;
}

.news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-green-2);
    /* Vert moyen */
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Couleurs spécifiques des tags */
.news-category.cat-banque,
.badge-banque {
    background-color: #009f40 !important;
    /* Vert foncé */
}

.news-category.cat-assurance,
.news-category.cat-assurances,
.badge-assurance,
.badge-assurances {
    background-color: #72b000 !important;
    /* Vert moyen */
}

.news-category.cat-general,
.badge-general {
    background-color: #b9ce00 !important;
    /* Vert clair */
    color: #333 !important;
    /* Texte foncé pour contraste sur vert clair */
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    /* Empêche le rétrécissement */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    /* Fixe la hauteur */
    display: flex;
    flex-direction: column;
}

/* Assurer que toutes les cartes ont la même hauteur dans le grid */
.news-page {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    gap: 2rem;
    align-items: stretch;
    /* Force la hauteur égale */
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 3rem;
}

.news-meta {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-title a {
    color: var(--color-black);
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--color-green-2);
}

.news-excerpt {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-green-2);
    /* Vert moyen */
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--color-green-1);
    /* Vert foncé au hover */
    gap: 0.75rem;
}

/* ============================================================================
   AVIS GOOGLE - LOGO SUR FOND BLANC TRANSPARENT
   ========================================================================= */
.reviews-section {
    padding: 8rem 0 5rem 0;
    /* Augmentation du padding-top de 5rem à 8rem pour créer de l'espace */
    background: linear-gradient(135deg, var(--color-green-2) 0%, var(--color-green-1) 100%);
    color: var(--color-white);
    position: relative;
}

/* Logo Google sur fond blanc transparent */
.reviews-section::before {
    content: '';
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.9);
    /* Fond blanc légèrement transparent */
    border-radius: var(--border-radius);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%234285F4" d="M24 9.5c3.9 0 6.9 1.7 8.5 3.1l6.2-6.2C34.9 3.1 29.9 1 24 1 14.6 1 6.7 6.6 3.2 14.5l7.2 5.6C12.2 14 17.6 9.5 24 9.5z"/><path fill="%2334A853" d="M46.5 24.5c0-1.5-.1-2.9-.4-4.3H24v8.1h12.7c-.5 2.8-2.2 5.2-4.6 6.8l7.1 5.5c4.2-3.9 6.3-9.6 6.3-16.1z"/><path fill="%23FBBC05" d="M10.4 28.7c-.5-1.5-.8-3.1-.8-4.7s.3-3.2.8-4.7L3.2 14C1.2 17.8 0 22.2 0 24s1.2 9.2 3.2 13l7.2-5.6z"/><path fill="%23EA4335" d="M24 48c5.9 0 10.9-2 14.5-5.3l-7.1-5.5c-2 1.3-4.5 2.1-7.4 2.1-6.4 0-11.8-4.5-13.6-10.6l-7.2 5.6C6.7 41.4 14.6 48 24 48z"/></svg>');
    background-size: 80px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

/* Forcer le titre en blanc */
.reviews-section .section-title {
    color: var(--color-white) !important;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.reviews-page {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    gap: 1.5rem;
}

.reviews-page.active {
    display: grid;
}

.review-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    font-size: 1rem;
    color: var(--color-black);
    margin-bottom: 0.25rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-stars {
    color: var(--color-warning);
    font-size: 0.75rem;
}

.review-stars i {
    margin-right: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--color-gray);
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.review-date {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: auto;
}

/* Contrôles du carrousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-prev,
.carousel-next,
.carousel-prev-news,
.carousel-next-news {
    background-color: var(--color-white);
    color: var(--color-green-2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover,
.carousel-prev-news:hover,
.carousel-next-news:hover {
    background-color: var(--color-green-3);
    /* Vert clair au hover */
    color: var(--color-white);
    transform: scale(1.1);
}

.carousel-prev:disabled,
.carousel-next:disabled,
.carousel-prev-news:disabled,
.carousel-next-news:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

/* Pagination dots */
.carousel-pagination {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.pagination-dot.active {
    background-color: var(--color-white);
    width: 16px;
    height: 16px;
}

/* Styles spécifiques pour les contrôles du carrousel NEWS (sur fond blanc) */
.news-section .carousel-prev-news,
.news-section .carousel-next-news {
    background-color: var(--color-green-2);
    color: var(--color-white);
    border: 2px solid var(--color-green-2);
}

.news-section .carousel-prev-news:hover,
.news-section .carousel-next-news:hover {
    background-color: var(--color-green-1);
    border-color: var(--color-green-1);
}

.news-section .pagination-dot {
    background-color: rgba(130, 183, 1, 0.3);
}

.news-section .pagination-dot:hover {
    background-color: rgba(130, 183, 1, 0.6);
}

.news-section .pagination-dot.active {
    background-color: var(--color-green-2);
}


/* ============================================================================
   AVANTAGES - AVEC LES 3 VERTS
   ========================================================================= */
.advantages-section {
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--color-green-2);
    /* Vert moyen pour icônes */
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.25rem;
    color: var(--color-green-1);
    /* Vert foncé pour titres */
    margin-bottom: 0.75rem;
}

.advantage-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================================================
   CTA SECTION
   ========================================================================= */
.cta-section {
    padding: 5rem 0;
    background-color: var(--color-black);
    color: var(--color-white);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.cta-text p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================================
   FOOTER - HORAIRES CORRIGÉS
   ========================================================================= */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer-top {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-crelan img,
.footer-logo-carlisi img {
    height: 60px;
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
    gap: 3rem;
}

.footer-column h3 {
    color: var(--color-green-3);
    /* Vert clair pour titres footer */
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-list li i {
    color: var(--color-green-3);
    /* Vert clair pour icônes */
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--color-green-3);
    /* Vert clair au hover */
    padding-left: 0.5rem;
}

/* Horaires - Format corrigé */
.footer-hours {
    line-height: 1.8;
}

.footer-hours li {
    display: block;
    margin-bottom: 1rem;
}

.footer-hours li strong {
    display: block;
    color: var(--color-green-3);
    margin-bottom: 0.25rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-green-2);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.5rem;
}

.footer-credits a:hover {
    color: var(--color-green-3);
}

/* ============================================================================
   SCROLL TO TOP
   ========================================================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-green-2);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--color-green-1);
    transform: translateY(-5px);
}

/* ============================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated {
    animation: fadeIn 0.6s ease;
}