/* ========================================
   Variables CSS
   ======================================== */
:root {
    /* Couleurs inspirées du logo CID */
    --primary-color: #D4AF37; /* Or */
    --secondary-color: #1a1a1a; /* Noir */
    --accent-color: #B8860B; /* Or foncé */
    --beige-color: #D2B48C; /* Beige/Tan */
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    
    /* Espacements */
    --section-padding: 30px 0;
    --container-padding: 0 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 35px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 75px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.08);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 3px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 60px;
    padding-bottom: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.75) 0%,
        rgba(26, 26, 26, 0.65) 50%,
        rgba(26, 26, 26, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 30px 25px;
    margin-top: auto;
    margin-bottom: 5px;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 50px auto 30px;
    animation: logoZoom 2s ease-in-out infinite;
    cursor: pointer;
}

.hero-logo:hover {
    animation: logoZoom 1s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 35px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s both;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: fadeInUp 1s ease-out 0.2s both, shine 3s linear infinite;
}

.hero-description {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    background-size: 200% auto;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: shine 3s linear infinite;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

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

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 10px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Valeurs Section
   ======================================== */
.valeurs {
    background-color: var(--bg-light);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.valeur-card {
    background: var(--bg-white);
    padding: 20px 18px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.valeur-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text-white);
}

.valeur-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.valeur-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 13px;
}

/* ========================================
   À Propos Section
   ======================================== */
.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.apropos-text h2 {
    text-align: left;
}

.apropos-text h2::after {
    margin: 20px 0;
}

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

.apropos-features {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

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

.apropos-actions {
    margin-top: 30px;
}

.apropos-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
}

.apropos-actions .btn i {
    font-size: 20px;
}

.apropos-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-white);
    padding: 18px 15px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 13px;
}

.service-list {
    list-style: none;
    margin-top: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 13px;
}

.service-list i {
    color: var(--primary-color);
    font-size: 12px;
}

/* ========================================
   Clients Section
   ======================================== */
.clients {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--section-padding);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.client-logo-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.client-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.client-logo {
    width: 100%;
    height: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-item:hover .client-logo {
    transform: scale(1.05);
}

/* Responsive Clients Grid */
@media (max-width: 968px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .client-logo-item {
        padding: 25px;
        min-height: 150px;
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .client-logo-item {
        padding: 20px;
        min-height: 130px;
    }
    
    .client-logo {
        max-width: 140px;
    }
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
/* ================================
   SECTION PROJETS - GALERIE HORIZONTALE
   ================================ */
.projets-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: var(--section-padding);
    overflow: hidden;
}

.projects-gallery-horizontal {
    margin-top: 40px;
    overflow: hidden;
    padding: 20px 0;
}

.projects-track {
    display: flex;
    gap: 25px;
    animation: scroll-horizontal 60s linear infinite;
}

.projects-track:hover {
    animation-play-state: paused;
}

/* Cartes projets */
.project-card {
    position: relative;
    width: 400px;
    height: 280px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* Protection contre téléchargement */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.92);
    z-index: 0;
    /* Protection supplémentaire */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Filigrane simplifié : Logo + WhatsApp uniquement */
.watermark-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.4) 70%, 
        transparent 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 10;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.project-card:hover .watermark-overlay {
    background: linear-gradient(to top, 
        rgba(212, 175, 55, 0.98) 0%, 
        rgba(212, 175, 55, 0.85) 40%,
        rgba(212, 175, 55, 0.5) 70%, 
        transparent 100%);
    backdrop-filter: blur(4px);
}

.watermark-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.6));
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.project-card:hover .watermark-logo {
    opacity: 1;
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 20px rgba(255, 215, 0, 0.9));
}

.watermark-whatsapp {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.watermark-whatsapp i {
    font-size: 16px;
    color: #25D366;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 1));
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.project-card:hover .watermark-whatsapp i {
    color: #128C7E;
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 1));
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(37, 211, 102, 1));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px rgba(37, 211, 102, 1));
    }
}

/* Animation de défilement horizontal */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-425px * 18));
    }
}

/* Responsive */
@media (max-width: 968px) {
    .project-card {
        width: 350px;
        height: 250px;
    }
    
    .watermark-overlay {
        padding: 18px;
    }
    
    .watermark-logo {
        width: 55px;
        height: 55px;
    }
    
    .watermark-whatsapp {
        font-size: 11px;
    }
    
    .watermark-whatsapp i {
        font-size: 15px;
    }
    
    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-375px * 18));
        }
    }
}

@media (max-width: 600px) {
    .project-card {
        width: 300px;
        height: 220px;
    }
    
    .watermark-overlay {
        padding: 15px;
        gap: 12px;
    }
    
    .watermark-logo {
        width: 45px;
        height: 45px;
    }
    
    .watermark-whatsapp {
        font-size: 10px;
        gap: 5px;
    }
    
    .watermark-whatsapp i {
        font-size: 14px;
    }
    
    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-325px * 18));
        }
    }
}
    background-position: center;
/* ================================
   CLIENTS SECTION
   ================================ */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.projects-info i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
/* ================================
   SOCIAL MEDIA SECTION
   ================================ */
.social-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 25px auto 0;
    padding: 0 20px;
}

.social-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-icon.location {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.social-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.social-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 13px;
}

.social-link-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-link-text::after {
    content: '→';
    transition: transform 0.3s ease;
}

.social-card:hover .social-link-text::after {
    transform: translateX(5px);
}

.location-card {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.whatsapp-card {
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

/* Responsive Social Grid */
@media (max-width: 1200px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-card {
        padding: 30px 20px;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-card {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 13px;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Message de confirmation */
.form-message {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    animation: slideInUp 0.5s ease-out;
}

.form-message-content {
    text-align: center;
    color: white;
}

.form-message-content i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    animation: scaleIn 0.6s ease-out;
}

.form-message-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-message-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

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

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-legal {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   Animations du Logo Central
   ======================================== */
@keyframes logoZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Anciennes animations conservées pour compatibilité */
@keyframes logoSwing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(8deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Anciennes animations conservées pour compatibilité */
@keyframes logoBounce {
    0% {
        transform: translateY(-200px) scale(1) rotate(0deg);
        animation-timing-function: ease-in;
    }
    40% {
        transform: translateY(0) scale(1, 1) rotate(0deg);
        animation-timing-function: ease-out;
    }
    50% {
        transform: translateY(-65px) scale(1.1, 0.9) rotate(0deg);
        animation-timing-function: ease-in;
    }
    65% {
        transform: translateY(0) scale(0.95, 1.05) rotate(0deg);
        animation-timing-function: ease-out;
    }
    75% {
        transform: translateY(-30px) scale(1.05, 0.95) rotate(0deg);
        animation-timing-function: ease-in;
    }
    85% {
        transform: translateY(0) scale(0.98, 1.02) rotate(0deg);
        animation-timing-function: ease-out;
    }
    92% {
        transform: translateY(-12px) scale(1.02, 0.98) rotate(0deg);
        animation-timing-function: ease-in;
    }
    100% {
        transform: translateY(0) scale(1, 1) rotate(0deg);
        animation-timing-function: ease-out;
    }
}

/* Anciennes animations conservées pour compatibilité */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5) rotate(-10deg);
        filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    }
    60% {
        opacity: 1;
        transform: translateY(10px) scale(1.1) rotate(5deg);
        filter: drop-shadow(0 6px 25px rgba(212, 175, 55, 0.6));
    }
    80% {
        transform: translateY(-5px) scale(0.95) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
    }
}

@keyframes logoPulseRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.08) rotate(-3deg);
    }
    50% {
        transform: scale(1.15) rotate(0deg);
    }
    75% {
        transform: scale(1.08) rotate(3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 30px rgba(212, 175, 55, 0.7));
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .container {
        padding-right: 250px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 180px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-logo {
        width: 200px;
    }

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

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

    .apropos-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding-right: 20px;
    }

    .hero-logo {
        width: 160px;
    }

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

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

    .valeurs-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
