/* Reset et Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f88c05;
    --secondary-color: #FF8C00;
    --accent-color: #FFA500;
    --orange-dark: #E55A00;
    --orange-light: #FFB84D;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-hero: #f0f0f0;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    gap: 20px;
}

.contact-info i {
    margin-right: 5px;
}

/* Bande défilante (Ticker) */
.ticker-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0px;
    max-width: 720px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: ticker-scroll 10s linear infinite;
}

.ticker-icon {
    font-size: 16px;
    flex-shrink: 0;
    color: var(--white);
}

.ticker-text {
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
    opacity: 0.8;
    transform: translateY(-2px);
}

.social-links .login-btn {
    background: rgba(255, 102, 0, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 102, 0, 0.5);
}

.social-links .login-btn:hover {
    background: rgba(255, 102, 0, 0.4);
    border-color: var(--primary-color);
    opacity: 1;
}

/* Bootstrap Navbar Customization */
.navbar {
    background: var(--white) !important;
    padding: 15px 0 !important;
}

.navbar-brand {
    padding: 0 !important;
}

.navbar-brand img {
    width: 150px;
    height: auto;
}

.navbar-nav {
    gap: 10px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-menu a.active::after {
    width: 100%;
}

.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px) !important;
}

/* Bootstrap Dropdown Customization */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 5px;
    margin-top: 10px;
    padding: 10px 0;
    min-width: 220px;
}

.navbar-nav .dropdown-item {
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Bootstrap Navbar Toggler Customization */
.navbar-toggler {
    border: none !important;
    padding: 4px 8px !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(248, 140, 5, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Masquer les numéros supplémentaires sur mobile */
.phone-number-extra,
.phone-separator {
    display: inline;
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
    }

    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        position: relative;
    }

    .navbar-brand {
        flex: 0 0 auto;
        margin-right: 0 !important;
    }

    .navbar-toggler {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-left: 0 !important;
        order: 999;
    }

    /* Masquer les numéros supplémentaires sur mobile */
    .phone-number-extra,
    .phone-separator {
        display: none !important;
    }

    .phone-number-main {
        display: inline !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: var(--bg-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Animation fade */
.hero-slideshow.fade .slide {
    transform: scale(1);
}

.hero-slideshow.fade .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Animation slide */
.hero-slideshow.slide .slide {
    transform: translateX(100%);
}

.hero-slideshow.slide .slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slideshow.slide .slide.prev {
    transform: translateX(-100%);
}

/* Animation zoom */
.hero-slideshow.zoom .slide {
    transform: scale(1.3);
}

.hero-slideshow.zoom .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Animation slide up */
.hero-slideshow.slide-up .slide {
    transform: translateY(100%);
}

.hero-slideshow.slide-up .slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation rotate */
.hero-slideshow.rotate .slide {
    transform: scale(1.2) rotate(5deg);
    opacity: 0;
}

.hero-slideshow.rotate .slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.slide-prev,
.slide-next {
    background: rgba(255, 102, 0, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    pointer-events: all;
    z-index: 4;
}

.slide-prev:hover,
.slide-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Newsletter Section */
.newsletter {
    background-image: url('assets/images/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.7) 0%, rgba(255, 140, 0, 0.6) 50%, rgba(255, 165, 0, 0.7) 100%);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h3 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-content p {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.newsletter-subtitle {
    margin-bottom: 40px !important;
    opacity: 0.95;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    transition: opacity 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-message.success {
    background: rgba(212, 237, 218, 0.95);
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.2);
}

.newsletter-message.error {
    background: rgba(248, 215, 218, 0.95);
    color: #721c24;
    border: 2px solid #f5c6cb;
    box-shadow: 0 4px 12px rgba(114, 28, 36, 0.2);
}

.newsletter-form button {
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

.newsletter-form button:hover {
    background: rgba(255, 102, 0, 0.9);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Section À Propos Home */
.a-propos-home {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.a-propos-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 102, 0, 0.03);
    z-index: 0;
    opacity: 0.5;
}

.a-propos-home .container {
    position: relative;
    z-index: 1;
}

.a-propos-home .svg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    overflow: hidden;
}

.a-propos-home .svg-background svg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: float 20s ease-in-out infinite;
}

.a-propos-home .svg-background svg:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.08;
}

.a-propos-home .svg-background svg:nth-child(3) {
    animation-delay: -10s;
    opacity: 0.06;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }
    66% {
        transform: translateY(20px) translateX(-15px) rotate(-3deg);
    }
}

.a-propos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.a-propos-content {
    padding-right: 40px;
}

.section-title-left {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.a-propos-intro {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.a-propos-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.a-propos-stats-mini {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.stat-mini {
    text-align: center;
}

.stat-mini-number {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-mini-label {
    font-size: 14px;
    color: var(--text-light);
}

.a-propos-images {
    position: relative;
    height: 600px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.image-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-item-1 {
    width: 70%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 3;
}

.image-item-2 {
    width: 65%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.image-item-3 {
    width: 60%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
}
.offres-speciales {
    margin-bottom: 40px;
}

/* Offres Grid */
.offres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.offre-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.offre-card.featured {
    border: 3px solid var(--primary-color);
}

.offre-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
    text-transform: uppercase;
}

.offre-badge.new {
    background: var(--orange-dark);
}

.offre-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.offre-content {
    padding: 25px;
}

.offre-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.offre-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.offre-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.offre-details span {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 3px;
}

.offre-details i {
    color: var(--primary-color);
}

.offre-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* Offres Actuelles Section */
.offres-actuelles {
    padding: 40px 0;
    background: var(--bg-light);
}

/* Recherche Parcelle Section */
.recherche-parcelle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.recherche-content h2 {
    font-size: 30px;
}

.recherche-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Pourquoi Nous Section : 4 cases par ligne, taille réduite */
.pourquoi-nous {
    padding: 40px 0;
    background: var(--white);
}

.pourquoi-nous .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.pourquoi-nous .stat-card {
    text-align: center;
    padding: 18px 14px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.pourquoi-nous .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.pourquoi-nous .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--primary-color), #2d5a9c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.pourquoi-nous .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pourquoi-nous .stat-label {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 992px) {
    .pourquoi-nous .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pourquoi-nous .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Règles générales (autres pages) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-label {
    color: var(--text-light);
    line-height: 1.6;
}

/* Adresses Section */
.adresses {
    padding: 40px 0;
    background: var(--bg-light);
}

.adresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.adresse-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.adresse-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.adresse-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.adresse-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Horaires Section */
.horaires {
    padding: 40px 0;
    background: var(--white);
}

.horaires-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.horaire-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    min-width: 200px;
    transition: var(--transition);
}

.horaire-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.horaire-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.horaire-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Section Ils parlent de nous */
.ils-parlent-de-nous {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.ils-parlent-de-nous::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 102, 0, 0.02);
    z-index: 0;
}

.ils-parlent-de-nous .container {
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.video-testimonial {
    max-width: 900px;
    margin: 0 auto 50px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-thumbnail:hover .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.play-button {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    position: relative;
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.play-button i {
    font-size: 40px;
    color: var(--white);
    margin-left: 5px;
    position: relative;
    z-index: 1;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.6);
}

.video-info {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.video-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-info p {
    font-size: 18px;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.testimonial-stat {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    min-width: 200px;
    transition: var(--transition);
}

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

.testimonial-stat i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-stat span {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.testimonial-stat p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Modal Vidéo */
.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.video-modal-close:hover {
    background: var(--orange-dark);
    transform: rotate(90deg) scale(1.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Responsive pour la section vidéo */
@media (max-width: 968px) {
    .testimonials-stats {
        gap: 30px;
    }
    
    .testimonial-stat {
        min-width: 180px;
        padding: 25px;
    }
    
    .video-info h3 {
        font-size: 24px;
    }
    
    .video-info p {
        font-size: 16px;
    }
    
    .play-button {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }
    
    .play-button i {
        font-size: 36px;
    }
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: var(--bg-light);
}

/* Grille responsive des 4 blocs de contact */
.contact-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-block {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

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

.contact-block-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.contact-block h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-block p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Bloc agences (plus grand) */
.contact-block-agences {
    grid-column: span 1;
}

.contact-block-agences .contact-block-icon {
    background: linear-gradient(135deg, var(--orange-light), #ff8c42);
}

.agences-list {
    margin-top: 20px;
    text-align: left;
}

.agence-item {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.agence-item:last-child {
    margin-bottom: 0;
}

.agence-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.agence-item {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Wrapper du formulaire */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--orange-light);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--orange-light);
}

.footer-section i {
    margin-right: 10px;
    color: var(--orange-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Modal PDF */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    height: 90%;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--orange-dark);
    transform: rotate(90deg);
}

#pdfViewer {
    width: 100%;
    height: calc(100% - 20px);
    border: none;
    border-radius: 5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
    /* Top Bar Mobile */
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .contact-info {
        flex: 1;
        min-width: 0;
    }

    .contact-info span {
        font-size: 12px;
        display: inline-flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
    }

    .contact-info i {
        margin-right: 4px;
        font-size: 11px;
    }

    .contact-info a {
        white-space: nowrap;
        font-size: 12px;
    }

    .ticker-container {
        flex: 1;
        margin: 0 10px;
        max-width: 200px;
        min-width: 150px;
    }

    .ticker-content {
        animation-duration: 10s;
    }

    .ticker-text {
        font-size: 12px;
    }

    .social-links {
        display: flex;
        gap: 6px;
        flex-shrink: 0;
    }

    .social-links a {
        margin-left: 0;
        font-size: 14px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .social-links .login-btn {
        width: auto;
        height: auto;
        padding: 5px 8px;
        border-radius: 14px;
        font-size: 12px;
    }

    .social-links .login-btn i {
        font-size: 12px;
    }

    /* Navbar Mobile - Overlay et positionnement */
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: var(--white) !important;
        z-index: 1050 !important;
        padding: 70px 20px 20px 20px !important;
        overflow-y: auto !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
    }

    .navbar-collapse.show {
        transform: translateX(0) !important;
    }

    /* Overlay backdrop */
    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1049;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* Navbar Mobile */
    .navbar-nav {
        padding: 0;
        text-align: left;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        border-bottom: 1px solid #f0f0f0;
        display: block;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        background: rgba(248, 140, 5, 0.15);
        border-left: 4px solid var(--primary-color);
        padding-left: 16px !important;
        color: var(--primary-color) !important;
        font-weight: 600;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(248, 140, 5, 0.05);
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background: var(--bg-light);
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .navbar-nav .dropdown-item {
        padding: 10px 20px 10px 40px;
    }

    .navbar-nav .dropdown-item:hover {
        padding-left: 45px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-info {
        width: 100%;
        order: 1;
    }

    .contact-info span {
        font-size: 11px;
    }

    .contact-info a {
        font-size: 11px;
    }

    .ticker-container {
        width: 100%;
        max-width: 100%;
        margin: 5px 0;
        order: 2;
    }

    .ticker-content {
        animation-duration: 10s;
    }

    .ticker-text {
        font-size: 11px;
    }

    .ticker-icon {
        font-size: 14px;
    }

    .social-links {
        width: 100%;
        justify-content: flex-end;
        order: 3;
    }

    .navbar-brand img {
        width: 120px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .slide-prev,
    .slide-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Grille responsive des blocs de contact */
    .contact-blocks-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .offres-grid {
        grid-template-columns: 1/2fr;
    }
}

/* Widget de Chat */
/* Bouton WhatsApp Flottant */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    color: var(--white);
    font-size: 32px;
    z-index: 1000;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.chat-welcome {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
}

.chat-welcome i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.message-content {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.user-message .message-content {
    background: var(--primary-color);
    color: var(--white);
    margin-left: auto;
    border-bottom-right-radius: 3px;
}

.admin-message .message-content {
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 3px;
}

.message-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--primary-color);
}

.admin-message .message-content strong {
    color: var(--primary-color);
}

.message-content p {
    margin: 5px 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 5px;
}

.chat-form {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #eee;
}

.chat-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.chat-input-message {
    display: flex;
    gap: 10px;
}

.chat-input-message input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.chat-input-message input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 18px;
}

.chat-send:hover {
    background: var(--orange-dark);
    transform: scale(1.1);
}

.chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Scrollbar pour le chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 0 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Loading and Messages */
.loading-message,
.no-offres,
.error-message,
.no-articles {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 18px;
}

.error-message {
    color: #e74c3c;
}

/* Offre Detail */
.offre-detail {
    padding: 60px 0;
}

.offre-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.offre-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.offre-detail-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.offre-price-large {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.offre-detail-specs {
    margin: 30px 0;
}

.spec-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-item i {
    color: var(--primary-color);
    font-size: 20px;
    width: 30px;
}

.offre-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Blog */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-date {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.blog-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* About Page */
.a-propos-content {
    padding: 60px 0;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ========== NOUVELLE PAGE À PROPOS ========== */

/* Section: Intro avec SVG */
.about-intro {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.about-intro-content .lead {
    font-size: 20px;
    color: var(--orange-light);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-intro-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.highlight-item i {
    color: var(--orange-light);
    font-size: 20px;
}

/* SVG Animé */
.about-intro-svg {
    position: relative;
}

.animated-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.house-group {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.sun {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sun-rays {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(340px, 60px) rotate(0deg); }
    to { transform: translate(340px, 60px) rotate(360deg); }
}

.keys-group {
    animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
    0%, 100% { transform: translate(50px, 100px) rotate(-10deg); }
    50% { transform: translate(50px, 100px) rotate(10deg); }
}

.window {
    animation: blink 4s ease-in-out infinite;
}

.window-1 {
    animation-delay: 0s;
}

.window-2 {
    animation-delay: 2s;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

/* Section: Mission */
.mission-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a9c 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background Mission avec image et opacité */
.mission-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/apropos_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.mission-section .container {
    position: relative;
    z-index: 1;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--orange-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mission-content h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 25px;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* Section: Statistiques améliorées */
.stats-section {
    padding: 40px 0;
    background: var(--white);
}

.stats-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--orange-light);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #2d5a9c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--orange-light);
    margin-bottom: 15px;
}

.stat-label {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* Section: Timeline */
.timeline-section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* Background avec image et opacité */
.timeline-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.offres-liste,
.offres-actuelles {
    position: relative;
    overflow: hidden;
}

.offres-liste .container,
.offres-actuelles .container {
    position: relative;
    z-index: 1;
}

/* Alternative : Si vous avez votre propre image locale */
/* .timeline-background {
    background-image: url('assets/images/timeline-bg.jpg');
} */

.timeline-section .container {
    position: relative;
    z-index: 1;
}

.timeline-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 60px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: 50%;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--orange-light);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--orange-light);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    color: var(--orange-light);
    font-size: 28px;
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section: Valeurs avec SVG */
.values-section {
    padding: 40px 0;
    background: var(--white);
}

.values-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.value-svg {
    width: 100%;
    height: 100%;
}

.circle-anim {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.check-anim {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 1s ease-out 0.5s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.star-anim {
    transform-origin: center;
    animation: rotateStar 3s ease-in-out infinite;
}

@keyframes rotateStar {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.shield-anim {
    transform-origin: center;
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.smile-anim {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawSmile 1s ease-out 0.5s forwards;
}

@keyframes drawSmile {
    to {
        stroke-dashoffset: 0;
    }
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section: Galerie */
.gallery-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.gallery-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.gallery-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-thumbnail {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
}

.gallery-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(248, 140, 5, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-thumbnail img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 15px;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

/* Section: Agences améliorées */
.agencies-section {
    padding: 40px 0;
    background: var(--white);
}

.agencies-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 60px;
}

.adresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.adresse-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.adresse-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.adresse-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-light), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}

.adresse-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.adresse-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.adresse-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.adresse-phone:hover {
    color: var(--primary-color);
}

/* Section: CTA Final */
.cta-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a9c 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background CTA avec image et opacité */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1560520653-9e0e4c89eb11?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--orange-light);
    color: var(--white);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
    .about-intro-grid {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-intro-content h2 {
        font-size: 28px;
    }
    
    .about-intro-content .lead {
        font-size: 18px;
    }
    
    .mission-content h2 {
        font-size: 26px;
    }
    
    .stats-section .section-title,
    .timeline-section .section-title,
    .values-section .section-title,
    .gallery-section .section-title,
    .agencies-section .section-title {
        font-size: 28px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .adresses-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* About Page (ancien - conservé pour compatibilité) */
.about-section {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin: 40px 0 20px;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.adresses-contact {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.adresses-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.adresse-item {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
}

/* ========== GRILLE BOOTSTRAP-LIKE POUR CONTACT ========== */
.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.col {
    min-width: 0;
}

.w-100 {
    grid-column: 1 / -1;
    height: 0;
}

/* Styles pour les blocs de contact */
.col .contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.col .contact-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.col .contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.col .contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 18px;
}

.col .contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Formulaire de contact */
.col .contact-form {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Adresses des agences */
.col .adresses-contact {
    background: var(--white);
    padding: 20px;
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.col .adresses-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.col .adresses-contact .adresse-item {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.col .adresses-contact .adresse-item:last-child {
    margin-bottom: 0;
}

/* Carte Google Maps */
.col iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablettes (3 colonnes -> 2 colonnes) */
@media (max-width: 1200px) {
    .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablettes moyennes (2 colonnes) */
@media (max-width: 968px) {
    .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .col iframe {
        height: 350px;
    }
}

/* Mobile (1 colonne) */
@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .col .contact-item {
        padding: 15px;
    }
    
    .col .contact-form {
        padding: 20px;
    }
    
    .col .adresses-contact {
        padding: 20px;
    }
    
    .col iframe {
        height: 300px;
    }
}

.contact-form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    display: none;
}

.contact-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.contact-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@media (max-width: 968px) {
    .offre-detail-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-indicators {
        bottom: 20px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Contact blocks responsive */
    .contact-blocks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-block {
        padding: 25px 20px;
    }
    
    .contact-block-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-form-wrapper {
        padding: 25px 15px;
    }
    
    .contact-form-title {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .chat-container {
        width: calc(100% - 40px);
        height: calc(100vh - 100px);
        right: 20px;
        left: 20px;
        bottom: 90px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
}

/* Plans cadastraux - liste : cartes cliquables */
.plan-card-link:hover .plan-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Plans cadastraux - détail : 2 cards responsive */
.plan-detail-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .plan-detail-cards {
        grid-template-columns: 1fr;
    }
}

