/* =====================================================
   NUISIBLE.LU - CSS Principal
   Expert Extermination Nuisibles Luxembourg
   ===================================================== */

/* =====================================================
   1. VARIABLES & RESET
   ===================================================== */
:root {
    /* Couleurs principales */
    --primary-green: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    
    /* Couleurs secondaires */
    --secondary-orange: #f97316;
    --accent-red: #dc2626;
    --accent-yellow: #fbbf24;
    
    /* Neutres */
    --black: #0f172a;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;
    
    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Typographie */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Espacements */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --card-padding: 32px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* =====================================================
   2. UTILITAIRES
   ===================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
}

.btn-white:hover {
    background: var(--gray-lighter);
}

.btn-secondary-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-white:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   3. WIDGET URGENCE MOBILE (STICKY)
   ===================================================== */
.urgence-widget-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-red);
    color: var(--white);
    padding: 16px;
    z-index: 9999;
    box-shadow: var(--shadow-xl);
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.urgence-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
}

.urgence-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.urgence-text {
    font-weight: 600;
    flex: 1;
}

.urgence-btn {
    background: var(--white);
    color: var(--accent-red);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    white-space: nowrap;
}

/* Afficher le widget en mobile uniquement */
@media (max-width: 768px) {
    .urgence-widget-mobile {
        display: block;
    }
}

/* =====================================================
   4. HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-accent {
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-phone {
    color: var(--primary-green) !important;
    font-weight: 700 !important;
}

.btn-header {
    display: none;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

/* Responsive Header */
@media (min-width: 1024px) {
    .btn-header {
        display: inline-flex;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 72px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* =====================================================
   5. HERO SECTION
   ===================================================== */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-icon {
    background: var(--primary-green);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.9;
}

.trust-icon {
    height: 24px;
}

.trust-rating {
    font-size: 14px;
    font-weight: 600;
}

/* Hero Form */
.hero-form-container {
    position: relative;
}

.hero-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--black);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    font-size: 15px;
}

.form-group textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    margin-top: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    z-index: 1;
}

.scroll-indicator span {
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-form {
        padding: 24px;
    }
}

/* =====================================================
   6. SERVICES SECTION
   ===================================================== */
.services {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid var(--primary-green);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-yellow);
    color: var(--black);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--gray);
    margin-bottom: 20px;
    flex: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card:hover .service-link {
    gap: 12px;
}

.service-more {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-more .service-desc,
.service-more .feature {
    color: var(--white);
    opacity: 0.9;
}

.service-more .service-link {
    color: var(--white);
}

/* =====================================================
   7. URGENCE BANNER
   ===================================================== */
.urgence-banner {
    background: var(--gradient-primary);
    padding: 60px 0;
    color: var(--white);
}

.urgence-content-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.urgence-text-banner h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.urgence-text-banner p {
    font-size: 18px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .urgence-content-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .urgence-text-banner h3 {
        font-size: 24px;
    }
}

/* =====================================================
   8. ZONES SECTION
   ===================================================== */
.zones {
    padding: var(--section-padding);
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.zone-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.zone-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.zone-card.zone-main {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.zone-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.zone-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.zone-info {
    color: var(--gray);
    margin-bottom: 16px;
}

.zone-card.zone-main .zone-info {
    color: var(--white);
    opacity: 0.9;
}

.zone-services {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
}

.zone-card.zone-main .zone-services {
    color: var(--white);
}

.zones-more {
    text-align: center;
    margin-bottom: 48px;
}

.zones-more p {
    color: var(--gray);
    margin-bottom: 24px;
}

.zones-map {
    margin-top: 60px;
}

.map-placeholder {
    background: var(--gray-lighter);
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 80px 32px;
    text-align: center;
    color: var(--gray);
}

.map-placeholder p:first-child {
    font-size: 48px;
    margin-bottom: 16px;
}

.map-note {
    font-size: 14px;
}

/* =====================================================
   9. WHY US SECTION
   ===================================================== */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 32px;
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* =====================================================
   10. TESTIMONIALS
   ===================================================== */
.testimonials {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--gray-dark);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--black);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 14px;
    margin-left: 8px;
}

.testimonials-cta {
    text-align: center;
}

/* =====================================================
   11. CTA FINAL
   ===================================================== */
.cta-final {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 16px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto 24px;
    }
}

/* =====================================================
   12. FOOTER
   ===================================================== */
.footer {
    background: var(--black);
    color: var(--gray-light);
    padding: 80px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
}

.footer-logo span span {
    color: var(--primary-light);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.footer-email {
    display: block;
    font-size: 14px;
    margin-top: 12px;
}

.footer-certif {
    display: flex;
    gap: 8px;
}

.certif-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-copyright {
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}