@charset "UTF-8";
/* CSS Document */

/* VARIABlES GLOBAL - PALETTE DE COULEURS ET TYPOGRAPHIE */
:root {
    --dark: #071523;
    --dark2: #0d2235;
    --orange: #ff6b00;
    --orange-hover: #e05e00;
    --red-phone: #d92525;
    --red-phone-hover: #b81d1d;
    --soft: #f3f6f9;
    --soft-border: #e2e8f0;
    --text: #102238;
    --muted: #607087;
    --white: #ffffff;
    --radius: 24px;
    --radius-sm: 12px;
    --shadow: 0 24px 70px rgba(5, 24, 42, 0.14);
    --shadow-sm: 0 10px 30px rgba(5, 24, 42, 0.08);
}

/* ANTI-DÉCALAGE HORIZONTAL & BOX-SIZING RESET STRICT */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

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

/* CONTAINER PRINCIPAL SÉCURISÉ CONTRE LES DÉBORDEMENTS */
.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   TOPBAR D'INFORMATION (FLEX)
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--dark);
    color: #dce6ef;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 6px 0;
}

.topbar-info, .topbar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-info i, .topbar-contacts i {
    color: var(--orange);
    margin-right: 6px;
}

.topbar-contacts a:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   HEADER & NAVBAR (FLEX STRICT & TECHNIQUE)
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(12, 34, 55, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding-bottom: 10px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--dark), #173a59);
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 9px 22px rgba(7, 21, 35, 0.18);
}

.brand-text strong {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark);
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-tagline {
    border-left: 2px solid var(--soft-border);
    padding-left: 18px;
}

.tagline-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.2;
}

.tagline-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
}

.header-right {
    display: flex;
    align-items: center;
}

/* BOUTON MENUS & BOUTONS GÉNÉRIQUES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a18, var(--orange));
    color: var(--white);
    font-weight: 800;
    font-size: 0.92rem;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.23);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(255, 107, 0, 0.35);
    background: linear-gradient(135deg, #ff882b, var(--orange-hover));
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* TÉLÉPHONE EN BOUTON ROUGE CONFORME AUX CONSIGNES */
.btn-phone-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--red-phone);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 50px;
    margin: 15px 0 22px 0;
    box-shadow: 0 10px 25px rgba(217, 37, 37, 0.35);
    transition: all 0.3s ease;
}

.btn-phone-hero:hover {
    background: var(--red-phone-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 37, 37, 0.45);
    color: var(--white);
}

.btn-phone-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red-phone);
    color: var(--white);
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(217, 37, 37, 0.25);
    transition: all 0.3s ease;
}

.btn-phone-call:hover {
    background: var(--red-phone-hover);
    transform: translateY(-2px);
}

.btn-phone-red-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--red-phone);
    color: var(--white);
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 50px;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(217, 37, 37, 0.25);
}

.btn-phone-red-full:hover {
    background: var(--red-phone-hover);
}

/* NAVIGATION ANCRES DYNAMIQUES (FLEX) */
.nav-menu {
    border-top: 1px solid var(--soft-border);
    padding-top: 10px;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-links a {
    color: var(--dark);
    padding: 6px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links a i {
    color: var(--orange);
    font-size: 0.85rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

/* --------------------------------------------------------------------------
   SECTION HERO INTRODUCTIF
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 10%, #173c5d 0%, var(--dark) 44%, #040e18 100%);
    color: var(--white);
    padding: 70px 0 80px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    filter: blur(80px);
    right: -130px;
    top: -180px;
    pointer-events: none;
}

.hero-flex {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1 1 55%;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: #d8e4ee;
    font-size: 0.7em;
    font-weight: 700;
    margin-top: 6px;
}

.hero p {
    font-size: 1.05rem;
    color: #c1cfdb;
    margin-bottom: 25px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #d9e3ec;
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-row i {
    color: var(--orange);
    margin-right: 6px;
}

.hero-visual {
    flex: 1 1 42%;
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    pointer-events: none;
}

.hero-visual img {
    height: 480px;
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
}

.floating-card {
    position: absolute;
    left: -20px;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: var(--text);
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.floating-info span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   SECTIONS STANDARD & RHYTHME FLEX
   -------------------------------------------------------------------------- */
.section {
    padding: 90px 0;
}

.alt-bg {
    background: linear-gradient(180deg, #f7f9fb, #edf2f7);
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading.text-center {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 8px;
}

.tag-orange {
    color: #ff882b;
}

.section h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* SECTION FLEX ROW (ALTERNANCE MEDIA / CONTENU) */
.section-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.section-flex-row.reverse {
    flex-direction: row-reverse;
}

.flex-media {
    flex: 1 1 48%;
    position: relative;
}

.flex-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
}

.flex-media img:hover {
    transform: scale(1.02);
}

.flex-content {
    flex: 1 1 48%;
}

.service-number {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.flex-content h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.flex-content p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--orange);
    margin-top: 4px;
}

.cards-mini-flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.mini-card {
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--soft-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mini-card i {
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
}

.mini-card h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.mini-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: var(--muted);
}

.flex-action-btn {
    margin-top: 15px;
}

/* --------------------------------------------------------------------------
   SECTION SOMBRE (URGENCES 24/7)
   -------------------------------------------------------------------------- */
.dark-section {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.dark-section h2 {
    color: var(--white);
}

.dark-section p {
    color: #bdcbd7;
}

.urgences-flex-box {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.urgences-card {
    flex: 1 1 30%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.urgences-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.urgences-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.15);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px auto;
}

.urgences-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 10px;
}

.urgences-card p {
    font-size: 0.9rem;
    color: #aebdca;
    margin-bottom: 0;
}

.urgences-cta-banner {
    background: linear-gradient(135deg, #173a59, var(--dark2));
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-text h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 5px;
}

.banner-text p {
    margin-bottom: 0;
    color: #c1cfdb;
}

.btn-phone-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--red-phone);
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(217, 37, 37, 0.4);
    white-space: nowrap;
}

.btn-phone-large:hover {
    background: var(--red-phone-hover);
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   SECTION CONTACT & CARTE MAPS (FLEX STRUCTURE)
   -------------------------------------------------------------------------- */
.contact-section {
    background: #eef3f7;
}

.contact-flex-grid {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.contact-card {
    flex: 1 1 45%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.contact-card > p {
    color: var(--muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 18px;
    background: var(--soft);
    border-radius: 15px;
    border: 1px solid var(--soft-border);
}

.contact-item.item-link {
    cursor: pointer;
    transition: background 0.25s ease;
}

.contact-item.item-link:hover {
    background: #e6ecf2;
}

.item-icon {
    width: 38px;
    height: 38px;
    background: var(--dark);
    color: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.phone-link .item-icon {
    background: var(--red-phone);
    color: var(--white);
}

.item-details span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.item-details strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    word-break: break-word;
}

.map-container {
    flex: 1 1 55%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 480px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
}

/* --------------------------------------------------------------------------
   FOOTER (FLEX)
   -------------------------------------------------------------------------- */
footer {
    background: #030b12;
    color: #dce6ef;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-contacts {
    display: flex;
    gap: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-contacts a {
    color: #dce6ef;
}

.footer-contacts a:hover {
    color: var(--orange);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLETTES & MOBILES)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .header-top-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-right {
        width: 100%;
    }

    .header-right .btn-devis {
        width: 100%;
    }

    .menu-toggle {
        display: block;
        align-self: flex-end;
        margin-top: -45px;
    }

    .nav-menu {
        display: none;
        border-top: none;
        padding-top: 15px;
    }

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

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        background: var(--white);
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--soft-border);
    }

    .nav-links a {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid var(--soft);
    }

    .hero-flex, .section-flex-row, .section-flex-row.reverse, .contact-flex-grid {
        flex-direction: column;
        gap: 40px;
    }

    .hero-visual, .flex-media, .flex-content, .hero-text, .contact-card, .map-container {
        width: 100%;
        flex: 1 1 100%;
    }

    .urgences-flex-box {
        flex-direction: column;
    }

    .urgences-cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .header-tagline {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .topbar-info, .topbar-contacts {
        justify-content: center;
    }

    .hero {
        padding: 45px 0 60px 0;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .btn-phone-hero {
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 18px;
    }

    .hero-visual img, .flex-media img {
        height: 300px;
    }

    .floating-card {
        left: 10px;
        right: 10px;
        bottom: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}
