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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f39c12;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f9fa" width="1200" height="600"/><path fill="%23e9ecef" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #f39c12;
    color: white;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Urgence Banner */
.urgence-banner {
    background: #e74c3c;
    color: white;
    padding: 25px 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 70px;
    position: relative;
    z-index: 999;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card ul {
    text-align: left;
    margin: 1rem 0;
}

.service-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

.hidden-item {
    display: none;
}

.voir-plus {
    cursor: pointer;
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    transition: color 0.3s;
}

.voir-plus:hover {
    color: #2980b9;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
}

.expertise-points {
    list-style: none;
    margin-top: 2rem;
}

.expertise-points li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.expertise-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

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

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #f39c12;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f39c12;
}

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }



    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Animation Renfort Immo - CSS pour la section À propos */

.animation-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 30%, #f39c12 70%, #e74c3c 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Grille de fond animée */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Bâtiments animés */
.buildings {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 20px;
}

.building {
    background: rgba(255,255,255,0.9);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: buildingGrow 3s ease-out infinite alternate;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.building:nth-child(1) { 
    width: 60px; 
    height: 120px;
    animation-delay: 0s;
    background: rgba(52, 152, 219, 0.9);
}
.building:nth-child(2) { 
    width: 45px; 
    height: 160px;
    animation-delay: 0.5s;
    background: rgba(46, 204, 113, 0.9);
}
.building:nth-child(3) { 
    width: 70px; 
    height: 100px;
    animation-delay: 1s;
    background: rgba(243, 156, 18, 0.9);
}
.building:nth-child(4) { 
    width: 55px; 
    height: 140px;
    animation-delay: 1.5s;
    background: rgba(231, 76, 60, 0.9);
}
.building:nth-child(5) { 
    width: 65px; 
    height: 110px;
    animation-delay: 2s;
    background: rgba(155, 89, 182, 0.9);
}

@keyframes buildingGrow {
    0% { transform: scaleY(0.8); }
    100% { transform: scaleY(1.1); }
}

/* Fenêtres des bâtiments */
.building::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: 
        linear-gradient(transparent 8px, rgba(44, 62, 80, 0.3) 8px, rgba(44, 62, 80, 0.3) 16px, transparent 16px),
        linear-gradient(90deg, transparent 8px, rgba(44, 62, 80, 0.3) 8px, rgba(44, 62, 80, 0.3) 16px, transparent 16px);
    background-size: 20px 24px, 20px 24px;
}

/* Grues de construction */
.cranes {
    position: absolute;
    top: 10%;
    width: 100%;
    height: 80%;
}

.crane {
    position: absolute;
    color: rgba(255,255,255,0.8);
}

.crane:nth-child(1) {
    top: 20%;
    left: 70%;
    animation: craneRotate 8s linear infinite;
    transform-origin: bottom center;
}

.crane:nth-child(2) {
    top: 30%;
    left: 20%;
    animation: craneRotate 12s linear infinite reverse;
    transform-origin: bottom center;
}

@keyframes craneRotate {
    0% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    100% { transform: rotate(-10deg); }
}

/* Outils flottants */
.tools {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tool {
    position: absolute;
    font-size: 24px;
    color: rgba(255,255,255,0.7);
    animation: toolFloat 6s ease-in-out infinite;
}

.tool:nth-child(1) { 
    top: 15%; 
    left: 10%;
    animation-delay: 0s;
}
.tool:nth-child(2) { 
    top: 25%; 
    left: 85%;
    animation-delay: 1s;
}
.tool:nth-child(3) { 
    top: 45%; 
    left: 75%;
    animation-delay: 2s;
}
.tool:nth-child(4) { 
    top: 35%; 
    left: 5%;
    animation-delay: 3s;
}

@keyframes toolFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Particules flottantes */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }

@keyframes particleFloat {
    0% { 
        transform: translateY(400px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(360px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% { 
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

/* Effet de lueur centrale */
.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243,156,18,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* Logo/Texte central */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.center-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.center-text p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@keyframes textGlow {
    0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    100% { text-shadow: 2px 2px 8px rgba(243,156,18,0.8), 0 0 15px rgba(243,156,18,0.4); }
}

/* Responsive */
@media (max-width: 768px) {
    .animation-container {
        height: 300px;
    }
    
    .center-text h3 {
        font-size: 22px;
    }
    
    .center-text p {
        font-size: 12px;
    }
    
    .building {
        transform: scale(0.8);
    }
}