:root {
    --primary-blue: #0d5d9f;
    --secondary-blue: #1976d2;
    --accent-gold: #d4af37;
    --accent-brown: #6b4423;
    --beige: #e8e4d8;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --whatsapp-green: #25d366;
    --dark-bg: #0f1419;
    --bg-light: #f5f7fa;
    --transition: all 0.3s ease;
}

/* ============================================================================
   HERO SECTION - STYLE ANIMÉ (même que nos-biens)
   ============================================================================ */
.properties-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(13, 93, 159, 0.85) 0%, rgba(10, 69, 112, 0.9) 100%),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
}

.properties-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(13, 93, 159, 0.2) 0%, transparent 50%);
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.properties-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%);
    z-index: 1;
}

.properties-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.properties-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease-out;
    letter-spacing: 1px;
}

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

.properties-hero-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin: 1rem auto 0;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.properties-hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 1rem;
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.3s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.properties-hero-content .hero-welcome {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.95; }
}

/* Particules décoratives */
.properties-hero .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    z-index: 1;
}

.properties-hero .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatParticle 6s ease-in-out infinite;
}

.properties-hero .particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation: floatParticle 8s ease-in-out infinite 1s;
}

.properties-hero .particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation: floatParticle 7s ease-in-out infinite 0.5s;
}

.properties-hero .particle:nth-child(4) {
    top: 70%;
    right: 25%;
    animation: floatParticle 9s ease-in-out infinite 2s;
}

.properties-hero .particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation: floatParticle 10s ease-in-out infinite 1.5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-10px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.7;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .properties-hero {
        min-height: 400px;
    }
    
    .properties-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .properties-hero-content p {
        font-size: 1rem;
    }
    
    .properties-hero .particle {
        display: none;
    }
}

@media (max-width: 480px) {
    .properties-hero {
        min-height: 350px;
    }
    
    .properties-hero-content h1 {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto;
}

/* Image optimization for all devices */
.hero-slide img,
.carousel-slide img,
.target-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Logo image optimization */
.logo-image {
    width: auto;
    height: clamp(50px, 10vw, 70px);
    display: block;
    aspect-ratio: auto;
}

button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: linear-gradient(90deg, #0d5d9f 0%, #1976d2 50%, #0d5d9f 100%);
    color: var(--white);
    padding: clamp(0.6rem, 1.5vw, 0.8rem) 0;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: clamp(0.8rem, 3vw, 2rem);
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar-contact i {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    gap: clamp(0.6rem, 1.5vw, 1rem);
    align-items: center;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
    min-height: 44px;
    min-width: 44px;
}

.social-icon:active,
.social-icon:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ========== MAIN NAVIGATION ========== */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 998;
}

.main-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 4vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 2vw, 1rem);
    text-decoration: none;
    min-width: 0;
}

.logo-image {
    height: clamp(50px, 10vw, 70px);
    width: auto;
    flex-shrink: 0;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    word-break: break-word;
}

.logo-subtitle {
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    color: var(--text-light);
    font-style: italic;
}

.main-menu {
    display: none;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.main-menu.active {
    display: flex;
}

.main-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    transition: var(--transition);
    position: relative;
    display: block;
    padding: 0.5rem;
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.main-menu a:active,
.main-menu a:hover {
    color: var(--primary-blue);
}

.main-menu a:active::after,
.main-menu a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    background: var(--accent-gold);
    color: var(--white);
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1.2rem, 2vw, 2rem);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-contact-btn:active,
.nav-contact-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-contact-btn::after {
    display: none;
}

/* ========== MOBILE MENU TOGGLE ========== */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO CAROUSEL ========== */
.hero {
    height: clamp(300px, 90vh, 900px);
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 93, 159, 0.6), rgba(13, 93, 159, 0.7));
    z-index: 1;
}

/* Effet glow pulsant */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(13, 93, 159, 0.2) 0%, transparent 50%);
    z-index: 2;
    animation: heroPulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Particules dorées */
.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

.hero-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: heroFloatParticle 6s ease-in-out infinite;
}

.hero-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation: heroFloatParticle 8s ease-in-out infinite 1s;
}

.hero-particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation: heroFloatParticle 7s ease-in-out infinite 0.5s;
}

.hero-particle:nth-child(4) {
    top: 70%;
    right: 25%;
    animation: heroFloatParticle 9s ease-in-out infinite 2s;
}

.hero-particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation: heroFloatParticle 10s ease-in-out infinite 1.5s;
}

@keyframes heroFloatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-10px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.7;
    }
}

/* Indicateur de scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: heroBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
    max-width: 90%;
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    animation: heroFadeInUp 1s ease-out;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 2px;
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    text-transform: uppercase;
    color: var(--accent-gold);
    animation: heroSlideIn 0.8s ease-out 0.2s both;
}

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

.hero-title {
    font-size: clamp(2rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
    animation: heroSlideIn 0.8s ease-out 0.4s both;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin: 1rem auto 0;
    animation: heroExpandWidth 1s ease-out 0.8s both;
}

@keyframes heroExpandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.hero-tagline {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-style: italic;
    margin-bottom: clamp(1.5rem, 3vw, 3rem);
    color: var(--accent-gold);
    animation: heroSlideIn 0.8s ease-out 0.6s both;
}

.welcome-message {
    animation: heroSlideIn 0.8s ease-out both;
}

/* Responsive pour les particules et scroll indicator */
@media (max-width: 768px) {
    .hero-particle {
        display: none;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
    
    .hero-scroll-indicator i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-scroll-indicator {
        display: none;
    }
    
    .hero-title::after {
        width: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-particle,
    .hero::before,
    .hero-scroll-indicator {
        animation: none;
    }
    
    .hero-content,
    .hero-subtitle,
    .hero-title,
    .hero-tagline,
    .welcome-message {
        animation: none;
    }
}

.btn {
    padding: clamp(0.8rem, 1.8vw, 1.2rem) clamp(1.5rem, 3vw, 3rem);
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

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

.btn-primary:active,
.btn-primary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

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

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

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: clamp(2rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
    background: var(--beige);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 5rem);
}

.section-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    letter-spacing: 2px;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--accent-brown);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.2;
}

.section-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:active,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-contact-btn {
    margin-top: auto;
    padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1.2rem, 2vw, 1.5rem);
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-card:hover .service-contact-btn {
    background: var(--accent-gold);
    transform: scale(1.05);
}

.service-icon {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-blue);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.service-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--accent-brown);
    margin-bottom: clamp(0.6rem, 1vw, 1rem);
    font-weight: 600;
}

.service-description {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 60px;
}

/* ========== ACCORDION STYLES ========== */
.accordion-container {
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1.2rem, 2vw, 2rem);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(13, 93, 159, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    transition: var(--transition);
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(13, 93, 159, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.accordion-header h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--accent-brown);
    margin: 0;
    flex: 1;
    text-align: left;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
    margin-left: 1rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: clamp(1.5rem, 2vw, 2rem);
    background: white;
    border-top: 2px solid #e0e0e0;
    animation: slideDown 0.3s ease;
}

.accordion-item.active .accordion-content {
    display: block;
}

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

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

.service-list-item {
    padding: 1.2rem;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    transition: var(--transition);
}

.service-list-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.service-list-item i {
    color: var(--primary-blue);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.service-list-item h4 {
    font-size: 1rem;
    color: var(--accent-brown);
    margin: 0.5rem 0;
}

.service-list-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: clamp(2rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-brown);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    margin-top: 0;
    line-height: 1.3;
}

.about-text p {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* ========== CAROUSEL ========== */
.about-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: clamp(250px, 50vw, 400px);
    background: var(--beige);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.fade {
    animation: fade 1s;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes blink {
    0%, 49%, 100% {
        opacity: 1;
    }
    50%, 99% {
        opacity: 0.6;
    }
}

.welcome-message {
    animation: blink 2.5s infinite;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.2rem, 2vw, 1.8rem) clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(212, 175, 55, 0.15);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-message p {
    margin: 0;
    font-style: italic;
}

.carousel-slide.active {
    display: block;
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    color: white;
    font-weight: bold;
    font-size: clamp(1rem, 2vw, 1.3rem);
    transition: var(--transition);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-next {
    right: 0.8rem;
}

.carousel-prev {
    left: 0.8rem;
}

.carousel-prev:active,
.carousel-prev:hover,
.carousel-next:active,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 1rem;
    width: 100%;
    z-index: 5;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
    border: none;
    padding: 0;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dot.active {
    background-color: var(--accent-gold);
}

.dot:active,
.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ========== TARGET SECTION ========== */
.target-section {
    padding: clamp(2rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
    background: var(--white);
}

.target-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 3vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
}

.target-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: clamp(350px, 60vw, 600px);
    cursor: pointer;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(13, 93, 159, 0.95) 100%);
    transition: var(--transition);
    z-index: 1;
}

.target-card:active::before,
.target-card:hover::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(212, 175, 55, 0.9) 100%);
}

.target-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.target-card:active .target-card-bg,
.target-card:hover .target-card-bg {
    transform: scale(1.1);
}

.target-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
    color: var(--white);
    z-index: 2;
}

.target-card-icon {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.target-card-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(0.8rem, 1vw, 1rem);
    line-height: 1.3;
}

.target-card-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: clamp(1rem, 2vw, 2rem);
}

/* ========== VIDEO SECTION ========== */
.video-section {
    padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

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

.video-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.video-header h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: clamp(0.8rem, 1vw, 1rem);
    color: var(--white);
}

.video-header p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    opacity: 0.9;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

/* ========== MAP SECTION ========== */
.map-section {
    padding: clamp(2rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
    background: var(--beige);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

#map {
    width: 100%;
    height: clamp(300px, 60vw, 500px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: clamp(1.5rem, 3vw, 3rem);
    display: block;
    z-index: 1;
}

.map-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 3rem);
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.legend-dot.dakar {
    background: #ff6b6b;
}

.legend-dot.saly {
    background: #4ecdc4;
}

.legend-text h4 {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.legend-text p {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: var(--text-light);
    margin: 0;
}

/* ========== FOOTER ========== */
footer {
    background: #0f1419;
    color: var(--white);
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem) 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--accent-gold);
    margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    display: block;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    transition: var(--transition);
}

.footer-section a:active,
.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1rem);
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white);
    text-decoration: none;
}

.footer-social a i {
    font-size: 1.2rem;
    color: var(--white);
}

.footer-social a:active,
.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-5px) scale(1.1);
}

.footer-social a:hover i {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 2vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* ========== WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 2rem;
    right: 1rem;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    font-size: clamp(1.5rem, 2vw, 2rem);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-height: 55px;
    min-width: 55px;
}

.whatsapp-float:active,
.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* ========== MODAL BIEN IMMOBILIER ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUpModal 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.modal-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-brown);
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.modal-close-btn:hover,
.modal-close-btn:active {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-form-group {
    margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

.modal-form-group label {
    display: block;
    margin-bottom: clamp(0.4rem, 0.8vw, 0.5rem);
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
}

.modal-form-group input,
.modal-form-group textarea,
.modal-form-group select {
    width: 100%;
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1rem, 1.5vw, 1.5rem);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    color: var(--text-dark);
    min-height: 44px;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus,
.modal-form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(13, 93, 159, 0.1);
}

.modal-form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.modal-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.modal-submit-btn {
    width: 100%;
    padding: clamp(1rem, 1.8vw, 1.3rem);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.modal-submit-btn:hover,
.modal-submit-btn:active {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========== MODAL CONTACT SERVICES ========== */
.modal-contact-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-contact-overlay.active {
    display: flex;
}

.modal-contact-content {
    background: var(--white);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    animation: slideUpModal 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.modal-contact-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-brown);
    margin: 0;
}

.modal-contact-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.modal-contact-close-btn:hover,
.modal-contact-close-btn:active {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

/* Style du formulaire dans la modale contact */
#contactModal .modal-form-group {
    margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

#contactModal .modal-form-group label {
    display: block;
    margin-bottom: clamp(0.4rem, 0.8vw, 0.5rem);
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
}

#contactModal .modal-form-group input,
#contactModal .modal-form-group textarea,
#contactModal .modal-form-group select {
    width: 100%;
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1rem, 1.5vw, 1.5rem);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    color: var(--text-dark);
    min-height: 44px;
}

#contactModal .modal-form-group input:focus,
#contactModal .modal-form-group textarea:focus,
#contactModal .modal-form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(13, 93, 159, 0.1);
}

#contactModal .modal-form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

#contactModal .modal-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

#contactModal .modal-submit-btn {
    width: 100%;
    padding: clamp(1rem, 1.8vw, 1.3rem);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

#contactModal .modal-submit-btn:hover,
#contactModal .modal-submit-btn:active {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .main-menu {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 3rem);
    }

    .carousel-container {
        height: clamp(250px, 45vw, 350px);
    }
}

@media (max-width: 767px) {
    /* ========== TOP BAR MOBILE - DESIGN COMME CAPTURE ========== */
    .top-bar {
        background: var(--primary-blue);
        padding: 0.9rem 0;
    }

    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        flex-wrap: nowrap;
    }

    .top-bar-left {
        display: flex;
        gap: 0.6rem;
        align-items: center;
        flex-wrap: nowrap;
    }

    .top-bar-contact {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-bar-contact span {
        display: none;
    }

    .top-bar-contact i {
        font-size: 1.4rem;
        color: var(--accent-gold);
    }

    /* Cacher l'email sur mobile, garder téléphone et localisation */
    .top-bar-contact:nth-child(2) {
        display: none;
    }

    .top-bar-right {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        background: #5a8fc4;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.1rem;
        transition: var(--transition);
    }

    .social-icon:active,
    .social-icon:hover {
        background: #7aa8d4;
        transform: scale(1.05);
    }

    /* ========== NAVIGATION MOBILE - DESIGN COMME CAPTURE ========== */
    .main-nav {
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .main-nav-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 1rem 1.2rem;
        position: relative;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        order: -1;
        position: relative;
        left: 0;
        z-index: 10;
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 4px;
        background: var(--primary-blue);
        border-radius: 2px;
    }

    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .logo-image {
        height: 55px;
        width: auto;
    }

    .logo-text-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--primary-blue);
        letter-spacing: 0.5px;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        color: #888;
        font-style: italic;
        font-weight: 400;
    }

    /* Espace vide à droite pour équilibrer */
    .main-nav-container::after {
        content: '';
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .main-menu {
        position: fixed;
        left: 0;
        top: 0;
        flex-direction: column;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        gap: 0;
        padding: 80px 0 2rem 0;
        z-index: 997;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-menu.active {
        transform: translateX(0);
    }

    .main-menu li {
        width: 100%;
        text-align: left;
        padding: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .main-menu li a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    /* ========== AUTRES STYLES MOBILE ========== */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .target-cards,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-social {
        justify-content: center;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .carousel-container {
        border-radius: 12px;
        height: clamp(200px, 50vw, 300px);
    }

    .service-list-grid {
        grid-template-columns: 1fr;
    }

    .modal-contact-content,
    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .accordion-header h3 {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }

    #contactModal .modal-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar-contact span {
        display: none;
    }

    .top-bar-contact {
        font-size: 0.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        min-height: 44px;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    /* Top bar reste en ligne sur très petits écrans */
    .top-bar {
        padding: 0.7rem 0;
    }

    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 0.8rem;
    }

    .top-bar-left {
        gap: 0.5rem;
    }

    .top-bar-contact i {
        font-size: 1.2rem;
    }

    .top-bar-right {
        gap: 0.35rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 0.95rem;
    }

    /* Navigation ajustée */
    .main-nav-container {
        padding: 0.8rem 1rem;
    }

    .logo-image {
        height: 45px;
    }

    .logo-title {
        font-size: 0.95rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .mobile-menu-btn span {
        width: 26px;
        height: 3px;
    }

    .hero-content {
        padding: clamp(1rem, 2vw, 1.5rem);
    }

    .welcome-message {
        font-size: clamp(0.75rem, 1.5vw, 0.9rem);
        padding: clamp(1rem, 1.5vw, 1.2rem);
    }

    .section-header {
        margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    }

    .services-grid {
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    .service-card {
        padding: clamp(1rem, 2vw, 1.2rem);
        border-radius: 12px;
    }

    .service-icon {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .service-title {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }

    .service-description {
        font-size: clamp(0.8rem, 1.4vw, 0.9rem);
        min-height: 50px;
    }

    .accordion-container {
        padding: 0;
    }

    .accordion-item {
        margin-bottom: 0.75rem;
    }

    .accordion-header {
        padding: clamp(1rem, 1.5vw, 1.2rem);
    }

    .service-list-item {
        padding: 1rem;
    }

    .service-list-item i {
        font-size: 1rem;
        margin-right: 0.6rem;
    }

    .target-card {
        height: clamp(300px, 55vw, 450px);
    }

    .target-card-icon {
        font-size: clamp(2rem, 3.5vw, 2.8rem);
    }

    .target-card-title {
        font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    }

    .modal-content,
    .modal-contact-content {
        padding: clamp(1.5rem, 3vw, 2rem);
        border-radius: 15px;
    }

    .modal-header,
    .modal-contact-header {
        margin-bottom: clamp(1rem, 1.5vw, 1.2rem);
    }

    .modal-header h2,
    .modal-contact-header h2 {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }

    .modal-form-row {
        grid-template-columns: 1fr;
    }

    #contactModal .modal-form-row {
        grid-template-columns: 1fr;
    }

    .contact-option-content p {
        display: none;
    }

    .contact-option {
        padding: clamp(1rem, 1.5vw, 1.2rem);
    }

    .footer-section h4 {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
    }

    .footer-section p,
    .footer-section a {
        font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-social {
        justify-content: center;
    }

    #map {
        height: clamp(250px, 50vw, 350px);
    }
}

@media (max-width: 360px) {
    .top-bar {
        padding: 0.6rem 0;
    }

    .top-bar-container {
        padding: 0 0.6rem;
    }

    .top-bar-contact i {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 0.85rem;
    }

    .top-bar-right {
        gap: 0.3rem;
    }

    .logo-container {
        gap: 0.3rem;
    }

    .logo-image {
        height: 40px;
    }

    .logo-title {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .logo-subtitle {
        font-size: 0.55rem;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
    }

    .service-contact-btn {
        padding: clamp(0.6rem, 1vw, 0.7rem) clamp(0.8rem, 1.5vw, 1rem);
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mode sombre désactivé - Design clair uniquement */

@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }

    .target-card:hover .target-card-bg {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Performance optimization for slower devices */
@media (prefers-reduced-motion: reduce), (update: slow) {
    .hero-slide {
        transition: opacity 0.1s ease-in-out;
    }

    .carousel-slide {
        transition: none;
    }
}

/* Optimize for devices with small viewport */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

    .service-card {
        padding: clamp(0.8rem, 1.5vw, 1rem);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }

    .target-card:hover .target-card-bg {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    button:active {
        transform: scale(0.98);
    }
}

/* High DPI screens optimization */
@media (min-resolution: 2dppx) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print media optimization */
@media print {
    body {
        background: white;
        color: black;
    }

    .top-bar,
    .main-nav,
    .whatsapp-float,
    .modal-overlay,
    .modal-contact-overlay {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }
}

/* ===== CTA Button ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: var(--white);
    color: var(--accent-brown);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 44px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--primary-blue);
    color: var(--white);
}

.cta-btn i {
    font-size: 1.5em;
}

/* ===== AMÉLIORATIONS RESPONSIVE COMPLÈTES ===== */

/* Tablettes paysage */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .target-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        width: 90%;
        max-width: 600px;
    }
}

/* Smartphones paysage */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .properties-hero {
        min-height: 50vh;
    }
}

/* iPhone SE, petits téléphones */
@media (max-width: 375px) {
    .top-bar-left {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .top-bar-contact {
        font-size: 0.7rem;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .modal-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .cta-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Très petits écrans (320px) */
@media (max-width: 320px) {
    .top-bar {
        padding: 0.4rem 0;
    }
    
    .main-nav-container {
        padding: 0.5rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .accordion-header h3 {
        font-size: 0.9rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Écrans haute résolution (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Mode sombre automatique */
@media (prefers-color-scheme: dark) {
    .modal-content,
    .contact-modal-content {
        background: #1a1a2e;
        color: #eaeaea;
    }
    
    .modal-form-group input,
    .modal-form-group select,
    .modal-form-group textarea {
        background: #16213e;
        border-color: #0f3460;
        color: #eaeaea;
    }
}

/* Accessibilité - Réduction des animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slider .hero-slide {
        transition: none;
    }
}

/* Support écran tactile */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .target-card:hover,
    .accordion-item:hover {
        transform: none;
    }
    
    .btn:hover,
    .cta-btn:hover,
    .modal-submit-btn:hover {
        transform: none;
    }
    
    /* Augmenter les zones tactiles */
    .main-menu a,
    .footer-section a {
        padding: 0.8rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* Safe area pour iPhone X+ */
@supports (padding: max(0px)) {
    .top-bar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .whatsapp-float {
        bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
        right: max(1.5rem, env(safe-area-inset-right));
    }
}
