/* ========================================
   STYLES.CSS - Noyau principal (global)
   ======================================== */

:root {
    --blue: #0A3D91;
    --blue-dark: #072d69;
    --green: #3AAA00;
    --green-dark: #2f8b00;
    --white: #ffffff;
    --light: #f5f8fc;
    --gray: #6b7280;
    --dark: #1f2937;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius: 20px;
    --header-height: 116px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 95%;
    max-width: 1600px;
    margin: auto;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--blue);
    margin-top: 15px;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: var(--gray);
}

/* ===================================
   HEADER
=================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s ease;
    background: transparent;
}

#header.scrolled {
    background: white;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo-area img {
    height: 80px;
    width: auto;
}

#nav-menu ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

#nav-menu a {
    color: white;
    font-weight: 600;
    transition: .3s;
    position: relative;
}

#header.scrolled #nav-menu a {
    color: var(--dark);
}

#nav-menu a:hover {
    color: var(--green);
}

#nav-menu a.active {
    color: var(--green);
}

#header.scrolled #nav-menu a.active {
    color: var(--green);
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.call-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

#header.scrolled .call-btn {
    border-color: var(--blue);
    color: var(--blue);
}

.call-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.quote-btn {
    background: var(--green);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.quote-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

#menu-btn {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

#header.scrolled #menu-btn {
    color: var(--blue);
}


/* ===== HERO ===== */
#hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background-color: var(--blue-dark);
    background-image: url("../images/hero2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 38%;
}

#hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(4, 35, 82, 0.96) 0%,
        rgba(4, 35, 82, 0.86) 30%,
        rgba(4, 35, 82, 0.44) 56%,
        rgba(4, 35, 82, 0.10) 100%
    );

    /* L’overlay disparaît progressivement avant les services */
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.75) 76%,
        rgba(0, 0, 0, 0.20) 84%,
        transparent 91%
    );

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.75) 76%,
        rgba(0, 0, 0, 0.20) 84%,
        transparent 91%
    );
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 1600px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 44px;
}


#hero .hero-left {
    width: 52%;
    max-width: 720px;
    color: #ffffff;
    transform: translateY(-55px);
}

#hero .hero-left h1 {
    margin: 0 0 30px;
    color: #ffffff;
    font-size: clamp(48px, 5.5vw, 86px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

#hero .hero-left p {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.65;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hero-features i {
    color: #7CFF6B;
}

.hero-right img {
    width: 100%;
    max-width: 850px;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(58, 170, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 170, 0, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #7CFF6B;
    margin-bottom: 25px;
    animation: pulseBadge 2s infinite;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 16px 30px;
    background: #28a900;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-cta:hover {
    background: #208900;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    #hero {
        background-position: 62% 38%;
    }
    #hero .hero-content {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 42px;
        text-align: left;
    }
  
    #hero .hero-left {
    width: 72%;
    max-width: 680px;
    transform: translateY(-35px);
}
    #hero .hero-left p {
        margin: 0;
    }
}

@media (max-width: 768px) {
    #hero {
        background-position: 68% center;
    }
    #hero .hero-overlay {
        background: linear-gradient(90deg,
                rgba(4, 35, 82, 0.94) 0%,
                rgba(4, 35, 82, 0.80) 62%,
                rgba(4, 35, 82, 0.42) 100%);
    }
    #hero .hero-content {
        padding-top: calc(var(--header-height) + 16px);
        padding-bottom: 36px;
    }
  
    #hero .hero-left {
    width: 72%;
    max-width: 680px;
    transform: translateY(-35px);
}
    #hero .hero-left h1 {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1px;
    }
    #hero .hero-left p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    #hero {
        background-position: 70% center;
    }
    #hero .hero-overlay {
        background: rgba(4, 35, 82, 0.78);
    }
    #hero .hero-content {
        padding-top: calc(var(--header-height) + 10px);
        padding-bottom: 30px;
    }
    #hero .hero-left {
    transform: translateY(-10px);
}
    #hero .hero-left h1 {
        font-size: 34px;
        line-height: 1.12;
    }
    #hero .hero-left p {
        font-size: 15px;
    }
    .hero-cta {
        padding: 14px 22px;
        font-size: 15px;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--green);
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: white;
    color: var(--blue);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}



/* ===== ABOUT ===== */

/* ===== ABOUT - HOMEPAGE ===== */

#about {
    padding: 48px 0;
    background: #ffffff;
}

#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

#about .about-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: var(--shadow-hover);
}

#about .about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transition: transform 0.5s ease;
}

#about .about-image:hover img {
    transform: scale(1.03);
}

#about .section-badge {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 20px;
    background: #e8f5e9;
    color: var(--green);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

#about .about-content h2 {
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
}

#about .about-content p {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 16px;
}

#about .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

#about .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#about .feature-item:hover {
    background: var(--blue);
    transform: translateX(5px);
}

#about .feature-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--green);
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
}

#about .feature-item span {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

#about .feature-item:hover i,
#about .feature-item:hover span {
    color: #ffffff;
}

@media (max-width: 991px) {
    #about .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    #about .about-image {
        height: 560px;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 35px 0;
    }

    #about .about-image {
        height: 480px;
    }

    #about .about-content h2 {
        font-size: 32px;
    }

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

@media (max-width: 480px) {
    #about .about-image {
        height: 400px;
    }

    #about .about-content h2 {
        font-size: 28px;
    }
}

/* ===== ADVANTAGES ===== */
#advantages {
    padding: 120px 0;
    background: #f8fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: .4s ease;
}

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

.advantage-card i {
    font-size: 50px;
    color: var(--green);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--blue);
}

.advantage-card p {
    color: var(--gray);
}

/* ===== STATS ===== */
#stats {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    transition: .3s;
}

.stat-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .12);
}

.stat-box h3 {
    font-size: 65px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-box p {
    font-size: 18px;
    opacity: .95;
}

/* ===================================
   CLIENT SECTORS
=================================== */
#clients {
    padding: 80px 0;
    background: var(--light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.client-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

.client-item i {
    font-size: 45px;
    color: var(--green);
    margin-bottom: 15px;
    display: block;
}

.client-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
}

/* ===== SECTOR MODAL ===== */
.sector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sector-modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sector-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sector-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sector-modal-close:hover {
    color: #1a3a5c;
    transform: rotate(90deg);
}

.sector-modal-body .modal-icon {
    font-size: 48px;
    color: var(--blue);
    margin-bottom: 15px;
    display: block;
}

.sector-modal-body h2 {
    font-size: 26px;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.sector-modal-body .subtitle {
    color: var(--blue);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 15px;
    display: block;
}

.sector-modal-body p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.sector-modal-body .services-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
}

.sector-modal-body .services-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.sector-modal-body .services-list li i {
    color: var(--green);
    font-size: 16px;
    width: 20px;
}

.sector-modal-body .modal-cta {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.sector-modal-body .modal-cta:hover {
    background: var(--green);
    transform: translateY(-2px);
}

/* ===================================
   TESTIMONIALS
=================================== */
#reviews {
    padding: 80px 0;
    background: #f8fafc;
    overflow: hidden;
}

.reviews-container {
    position: relative;
    margin: 40px 0;
    padding: 0 60px;
}

.reviews-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
    padding: 10px 0;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.testimonial-header .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.testimonial-header .review-date {
    font-size: 12px;
    color: #888;
    display: block;
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    flex-grow: 1;
    margin-bottom: 12px;
}

.read-more {
    display: inline-block;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 0;
    background: none;
    border: none;
    font-family: inherit;
    transition: all 0.3s ease;
    width: fit-content;
}

.read-more:hover {
    color: var(--green);
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #888;
}

.review-footer i {
    color: #ea4335;
    font-size: 16px;
}

.review-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    color: var(--blue);
    font-size: 18px;
}

.review-btn.prev {
    left: 0;
}

.review-btn.next {
    right: 0;
}

.review-btn:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.review-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===================================
   EMERGENCY
=================================== */
#emergency {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-wrapper {
    position: relative;
    z-index: 2;
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.emergency-text {
    flex: 1.5;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.emergency-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.emergency-text p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
}

.emergency-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.emergency-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.emergency-contact {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-phone i {
    font-size: 45px;
    color: var(--green);
}

.emergency-phone span {
    font-size: 13px;
    opacity: 0.8;
}

.emergency-phone h3 {
    font-size: 28px;
    margin: 5px 0;
}

.emergency-phone h3 a {
    color: white;
    transition: 0.3s;
}

.emergency-phone h3 a:hover {
    color: var(--green);
}

.btn-emergency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    width: 100%;
}

.btn-emergency:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

/* ===================================
   DEVIS / CONTACT FORM
=================================== */
#devis,
.devis-page,
.contact-page {
    padding: 120px 0;
    background: var(--light);
}

.devis-wrapper,
.contact-form-wrapper {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper {
    margin-top: 50px;
}

.contact-form-wrapper h2 {
    text-align: center;
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #dbe1ea;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    outline: none;
    transition: .3s;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, .1);
}

form textarea {
    margin-bottom: 20px;
    resize: none;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--gray);
}

/* ===================================
   CONTACT INFO
=================================== */
#contact {
    padding: 120px 0;
    background: white;
}

.contact-grid,
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card,
.contact-info-card {
    background: var(--light);
    padding: 40px;
    text-align: center;
    border-radius: 25px;
    transition: .3s;
}

.contact-card:hover,
.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.contact-card i,
.contact-info-card i {
    font-size: 45px;
    color: var(--green);
    margin-bottom: 20px;
}

.contact-card h3,
.contact-info-card h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.contact-card p a,
.contact-info-card p a {
    color: var(--dark);
    transition: .3s;
}

.contact-card p a:hover,
.contact-info-card p a:hover {
    color: var(--green);
}

/* ===================================
   MAP
=================================== */
#map iframe,
.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* ===================================
   PAGE HEADER
=================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===================================
   CTA SECTION
=================================== */
.cta-section {
    padding: 80px 0;
    background: var(--blue);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===================================
   LEGAL PAGE
=================================== */
.legal-page {
    padding: 90px 0;
    background: var(--light);
}

.legal-content {
    max-width: 950px;
    margin: auto;
    background: white;
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    color: var(--blue);
    margin: 28px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content a,
.legal-content li {
    color: var(--gray);
}

.legal-content ul {
    list-style: disc;
    padding-left: 22px;
    margin: 12px 0 20px;
}

/* ===================================
   FOOTER
=================================== */
footer {
    background: #081b3b;
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-certifs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.footer-certifs span {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-animation {
    position: relative;
    padding-left: 20px;
}

.dot-animation::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 170, 0, 0.7);
        opacity: 1;
    }
    70% {
        box-shadow: 0 0 0 8px rgba(58, 170, 0, 0);
        opacity: 0.7;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 170, 0, 0);
        opacity: 1;
    }
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--green);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--green);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

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

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

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

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--green);
    transform: translateY(-3px);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* ===================================
   WHATSAPP FLOATING BUTTON
=================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    transition: .3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ===================================
   SCROLL ANIMATIONS
=================================== */

.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
/* ===================================
   ACCESSIBILITY
=================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

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

/* ===================================
   RESPONSIVE GLOBAL
=================================== */
@media (max-width: 991px) {
    #menu-btn {
        display: block;
    }

    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        display: none;
        box-shadow: var(--shadow);
    }

    #nav-menu.active {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #nav-menu a {
        color: var(--dark) !important;
    }

    .header-buttons .call-btn span {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-left p {
        margin: 0 auto 35px;
    }

    .hero-right img {
        max-width: 100%;
    }

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

    .about-image img {
        min-height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid,
    .contact-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .advantages-grid,
    .stats-grid,
    .clients-grid,
    .contact-grid,
    .contact-info-grid,
    .footer-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 34px;
    }

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

    .devis-wrapper,
    .contact-form-wrapper {
        padding: 30px;
    }

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

    .testimonial-card {
        flex: 0 0 calc(100% - 0px);
    }

    .reviews-container {
        padding: 0 40px;
    }

    .review-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .emergency-text p {
        margin: 0 auto 25px;
    }

    .emergency-features {
        justify-content: center;
    }

    .emergency-contact {
        width: 100%;
    }

    .emergency-phone {
        flex-direction: column;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

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

    .footer-legal {
        align-items: center;
    }

    .sector-modal-content {
        padding: 30px 25px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 34px;
    }

    .stat-box h3 {
        font-size: 48px;
    }

    .section-title h2,
    .about-content h2 {
        font-size: 28px;
    }

    .stat-box {
        padding: 25px 15px;
    }

    .emergency-text h2 {
        font-size: 28px;
    }

    .emergency-phone h3 {
        font-size: 24px;
    }

    .sector-modal-content {
        padding: 25px 18px;
    }

    .review-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .reviews-container {
        padding: 0 30px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

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

/* ============================================
   FIN STYLES.CSS
   ============================================ */