/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bandeau d'urgence */
.urgent-banner {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.urgent-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.urgent-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.urgent-text {
    font-weight: 500;
}

.urgent-phone {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.urgent-phone:hover {
    background: rgba(255, 255, 255, 0.3);
}

.urgent-hours {
    font-size: 13px;
    opacity: 0.9;
}

/* Header */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text-mobile {
    display: none;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    letter-spacing: -0.5px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:not(.btn-nav):hover {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23bfdbfe" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-badge span {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-icon {
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.hero-trust p {
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-description {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon {
    font-size: 35px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 15px;
    padding-left: 5px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantages-list {
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.advantage-icon {
    width: 32px;
    height: 32px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.advantage-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.why-us-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.author-location {
    font-size: 13px;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.certifications {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.cert-icon {
    color: var(--success-color);
    font-weight: 700;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: var(--bg-gray);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed var(--border-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: start;
}

.contact-info {
    display: contents;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* Contact Card Primary (Call CTA) */
.contact-card-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: var(--shadow-xl);
    min-height: 320px;
}

.contact-card-primary .contact-icon {
    filter: brightness(0) invert(1);
}

.contact-card-primary h3,
.contact-card-primary p {
    color: white;
}

.contact-phone-btn {
    margin-top: 15px;
    background: white;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    padding: 18px 35px;
    box-shadow: var(--shadow-lg);
}

.contact-phone-btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.contact-note {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.9;
}

.intervention-zones {
    list-style: none;
    margin-top: 15px;
    padding: 0;
    text-align: left;
    flex-grow: 1;
}

.intervention-zones li {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 5px;
    line-height: 1.6;
}

.contact-card-primary .intervention-zones li {
    color: rgba(255, 255, 255, 0.9);
}

/* Call CTA Section */
.call-cta-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    width: 100%;
}

.cta-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    font-size: 22px;
    background: var(--success-color);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.btn-cta-large:hover {
    background: #059669;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
}

.cta-icon {
    font-size: 28px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.cta-text strong {
    font-size: 24px;
    line-height: 1.2;
}

.cta-text small {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta-feature {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.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;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.5);
}

.call-icon {
    font-size: 24px;
}

.call-text {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .why-us-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 35px 25px;
    }
    
    .cta-box h3 {
        font-size: 26px;
    }
    
    .btn-cta-large {
        padding: 18px 35px;
        font-size: 20px;
    }
    
    .contact-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-text-mobile {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .urgent-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-us-stats {
        grid-template-columns: 1fr;
    }

    .floating-call-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .call-icon {
        font-size: 20px;
    }

    .call-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-card {
        padding: 25px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .btn-cta-large {
        flex-direction: column;
        padding: 16px 30px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
}

