/* =========================================================
   ELYO PLOMBERIE & CHAUFFAGE
   SITE.CSS
========================================================= */

:root {
    --navy: #061f38;
    --navy-dark: #03182d;
    --blue: #147be8;
    --blue-light: #eaf4ff;
    --red: #ef2938;
    --red-dark: #d81f2d;
    --white: #ffffff;
    --light: #f7f9fc;
    --gray: #667383;
    --border: #e2e8ef;
    --dark: #10233a;
    --shadow-sm: 0 8px 25px rgba(15, 40, 65, 0.07);
    --shadow-md: 0 15px 45px rgba(15, 40, 65, 0.11);
    --shadow-lg: 0 22px 60px rgba(15, 40, 65, 0.15);
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--dark);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   SCROLL / STICKY HEADER FIX
========================================================= */

#accueil,
#services,
#about,
#realisations,
#avis,
#contact {
    scroll-margin-top: 115px;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    min-height: 38px;
    display: flex;
    align-items: center;
    background: var(--navy-dark);
    color: #ffffff;
    font-size: 12px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.topbar-location {
    display: flex;
    align-items: center;
}

.topbar i {
    margin-right: 7px;
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .topbar-contact a {
        color: #ffffff;
        transition: color 0.2s ease;
    }

        .topbar-contact a:hover {
            color: #7fc4ff;
        }


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 92px;
    padding: 7px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.site-logo {
    width: 160px;
    height: 75px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

    .site-logo:hover {
        transform: scale(1.03);
    }


/* =========================================================
   NAVIGATION
========================================================= */

.nav-link {
    position: relative;
    padding: 29px 13px !important;
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 650;
    transition: color 0.2s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 13px;
        right: 13px;
        bottom: 19px;
        height: 2px;
        background: var(--blue);
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--blue) !important;
    }

        .nav-link:hover::after,
        .nav-link.active::after {
            transform: scaleX(1);
        }


/* =========================================================
   HEADER URGENCE
========================================================= */

.header-emergency {
    min-width: 170px;
    min-height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    padding: 10px 15px;
    background: var(--red);
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(239, 41, 56, 0.20);
    transition: all 0.25s ease;
}

    .header-emergency:hover {
        background: var(--red-dark);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(239, 41, 56, 0.28);
    }

    .header-emergency i {
        font-size: 20px;
    }

    .header-emergency span {
        display: flex;
        flex-direction: column;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.25;
    }

    .header-emergency strong {
        font-size: 14px;
    }


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy);
}


/* HERO IMAGE */

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}


/* HERO OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(3, 24, 45, 0.98) 0%, rgba(4, 28, 51, 0.94) 28%, rgba(4, 29, 53, 0.83) 43%, rgba(4, 29, 53, 0.48) 64%, rgba(4, 29, 53, 0.08) 100% );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    padding: 75px 0 115px;
}

.hero-mini-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff4653;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin: 10px 0 20px;
    color: #ffffff;
    font-size: clamp(46px, 4.3vw, 66px);
    line-height: 1.04;
    letter-spacing: -2px;
    font-weight: 850;
}

.hero-blue {
    color: #39a6ff;
}

.hero-red {
    color: #ff3644;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 550;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-call,
.hero-quote {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-radius: 7px;
    transition: all 0.25s ease;
}

.hero-call {
    background: var(--red);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(239, 41, 56, 0.25);
}

    .hero-call:hover {
        background: var(--red-dark);
        color: #ffffff;
        transform: translateY(-2px);
    }

.hero-quote {
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: rgba(5, 26, 45, 0.40);
    backdrop-filter: blur(4px);
}

    .hero-quote:hover {
        background: #ffffff;
        color: var(--navy);
        transform: translateY(-2px);
    }

    .hero-call i,
    .hero-quote i {
        font-size: 19px;
    }

    .hero-call span,
    .hero-quote span {
        display: flex;
        flex-direction: column;
    }

    .hero-call strong,
    .hero-quote strong {
        font-size: 15px;
    }

    .hero-call small,
    .hero-quote small {
        margin-top: 2px;
        font-size: 11px;
    }


/* =========================================================
   TRUST BAR
========================================================= */

.trust-wrapper {
    position: relative;
    z-index: 10;
    height: 35px;
}

.trust-bar {
    position: relative;
    top: -48px;
    min-height: 95px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 18px 25px;
    color: #ffffff;
    background: linear-gradient( 90deg, #061c34, #07345f );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(2, 22, 41, 0.26);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 19px;
}

.trust-item div:last-child {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
}

.trust-item span {
    margin-top: 3px;
    color: #d0d9e3;
    font-size: 11px;
}

.trust-divider {
    width: 1px;
    height: 46px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.24);
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .section-title > span,
    .small-heading {
        display: inline-block;
        color: var(--blue);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.8px;
        text-transform: uppercase;
    }

    .section-title h2 {
        margin: 8px 0 10px;
        color: var(--navy);
        font-size: clamp(28px, 3vw, 36px);
        line-height: 1.2;
        font-weight: 800;
    }

    .section-title p {
        margin: 0;
        color: var(--gray);
        font-size: 15px;
        line-height: 1.7;
    }


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 75px 0 45px;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 45px;
}

.service-card {
    position: relative;
    min-height: 235px;
    padding: 23px 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient( 90deg, var(--blue), var(--red) );
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-7px);
        border-color: transparent;
        box-shadow: var(--shadow-md);
    }

        .service-card:hover::before {
            transform: scaleX(1);
        }

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    font-size: 23px;
}

    .service-icon.blue {
        background: #eaf3ff;
        color: var(--blue);
    }

    .service-icon.red {
        background: #fff0f1;
        color: var(--red);
    }

.service-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 750;
}

.service-card p {
    min-height: 82px;
    color: #566679;
    font-size: 12px;
    line-height: 1.65;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-size: 18px;
    transition: transform 0.2s ease;
}

    .service-card a:hover {
        transform: translateX(4px);
    }


/* =========================================================
   STATS
========================================================= */

.stats-section {
    padding: 25px 0;
    background: #f4f8fc;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
}

    .stat-icon.blue {
        background: var(--blue);
    }

    .stat-icon.red {
        background: var(--red);
    }

.stat-item div:last-child {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.stat-item span {
    color: var(--gray);
    font-size: 11px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-image {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(20, 45, 70, 0.13);
}

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.03);
    }

.about-section h2,
.contact-section h2 {
    margin: 12px 0 20px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.about-section p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 15px 0;
    color: var(--navy);
    font-weight: 600;
}

    .check-line i {
        color: var(--blue);
        font-size: 18px;
    }


/* =========================================================
   REALISATIONS
========================================================= */

.realisations-section {
    position: relative;
    padding: 105px 0;
    background: #f6f9fc;
    overflow: hidden;
}

    .realisations-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        top: -230px;
        right: -170px;
        background: radial-gradient( circle, rgba(20, 123, 232, 0.08), transparent 70% );
        border-radius: 50%;
        pointer-events: none;
    }

.realisations-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
    z-index: 1;
}

.realisation-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .realisation-card:hover {
        transform: translateY(-8px);
        border-color: transparent;
        box-shadow: var(--shadow-lg);
    }

.realisation-placeholder {
    position: relative;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient( 135deg, #041a30, #0a4e87, #147be8 );
    font-size: 55px;
}

    .realisation-placeholder::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 40% );
    }

    .realisation-placeholder.red {
        background: linear-gradient( 135deg, #061f38, #8d2630, var(--red) );
    }

    .realisation-placeholder i {
        position: relative;
        z-index: 2;
        transition: transform 0.35s ease;
    }

.realisation-card:hover
.realisation-placeholder i {
    transform: scale(1.12);
}

.realisation-content {
    padding: 26px 26px 28px;
}

    .realisation-content > span {
        display: inline-block;
        margin-bottom: 7px;
        color: var(--blue);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }

    .realisation-content h3 {
        margin: 0 0 10px;
        color: var(--navy);
        font-size: 20px;
        line-height: 1.3;
        font-weight: 800;
    }

    .realisation-content p {
        margin: 0;
        color: var(--gray);
        font-size: 14px;
        line-height: 1.7;
    }

.realisations-info {
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

    .realisations-info > i {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--blue);
        background: var(--blue-light);
        border-radius: 50%;
        font-size: 21px;
    }

    .realisations-info strong {
        display: block;
        color: var(--navy);
        font-size: 14px;
    }

    .realisations-info p {
        margin: 4px 0 0;
        color: var(--gray);
        font-size: 13px;
        line-height: 1.6;
    }


/* =========================================================
   AVIS CLIENTS
========================================================= */

.avis-section {
    position: relative;
    padding: 105px 0;
    background: #ffffff;
    overflow: hidden;
}

    .avis-section::before {
        content: "“";
        position: absolute;
        top: 25px;
        left: 4%;
        color: rgba(20, 123, 232, 0.045);
        font-family: Georgia, serif;
        font-size: 260px;
        line-height: 1;
        pointer-events: none;
    }

.avis-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
    z-index: 1;
}

.avis-card {
    position: relative;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .avis-card::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient( 90deg, var(--blue), var(--red) );
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .avis-card:hover {
        transform: translateY(-7px);
        border-color: transparent;
        box-shadow: var(--shadow-lg);
    }

        .avis-card:hover::after {
            transform: scaleX(1);
        }

.avis-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #ffb400;
    font-size: 15px;
}

.avis-card > p {
    min-height: 85px;
    margin: 0 0 26px;
    color: #526375;
    font-size: 15px;
    line-height: 1.75;
}

.avis-client {
    display: flex;
    align-items: center;
    gap: 13px;
}

.avis-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: 50%;
}

.avis-client div:last-child {
    display: flex;
    flex-direction: column;
}

.avis-client strong {
    color: var(--navy);
    font-size: 14px;
    font-weight: 750;
}

.avis-client span {
    margin-top: 2px;
    color: var(--gray);
    font-size: 11px;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 24px;
    background: var(--red);
    color: #ffffff;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(239, 41, 56, 0.18);
    transition: all 0.25s ease;
    cursor: pointer;
}

    .primary-button:hover {
        background: var(--red-dark);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(239, 41, 56, 0.25);
    }


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {
    padding: 58px 0;
    color: #ffffff;
    background: linear-gradient( 120deg, #ed2434, #f13846 );
}

    .contact-cta .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .contact-cta span {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .contact-cta h2 {
        margin: 7px 0;
        font-size: clamp(27px, 3vw, 34px);
        font-weight: 800;
    }

    .contact-cta p {
        margin: 0;
        color: rgba(255, 255, 255, 0.88);
    }

    .contact-cta a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 17px 27px;
        white-space: nowrap;
        background: #ffffff;
        color: var(--red);
        border-radius: 7px;
        font-size: 18px;
        font-weight: 800;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        transition: all 0.25s ease;
    }

        .contact-cta a:hover {
            color: var(--red-dark);
            transform: translateY(-3px);
            box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
        }


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 105px 0;
    background: #ffffff;
}

    .contact-section p {
        color: var(--gray);
        line-height: 1.7;
    }

.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

    .contact-line > i {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eaf3fb;
        color: var(--navy);
        border-radius: 8px;
    }

    .contact-line div {
        display: flex;
        flex-direction: column;
    }

    .contact-line small {
        margin-bottom: 2px;
        color: var(--gray);
    }

    .contact-line a,
    .contact-line strong {
        color: var(--navy);
        font-weight: 700;
    }


/* =========================================================
   FORM
========================================================= */

.quote-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(25, 47, 68, 0.09);
}

    .quote-card h3 {
        margin-bottom: 25px;
        color: var(--navy);
        font-size: 24px;
        font-weight: 800;
    }

    .quote-card label {
        display: block;
        margin-bottom: 7px;
        color: var(--dark);
        font-size: 12px;
        font-weight: 700;
    }

.form-control,
.form-select {
    min-height: 48px;
    padding: 10px 13px;
    color: var(--dark);
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 7px;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(20, 123, 232, 0.08) !important;
    }

textarea.form-control {
    min-height: 125px;
    resize: vertical;
}


/* =========================================================
   VALIDATION
========================================================= */

.field-validation-error,
.text-danger {
    display: block;
    margin-top: 5px;
    color: #dc3545 !important;
    font-size: 12px;
}

.input-validation-error {
    border-color: #dc3545 !important;
}


/* =========================================================
   SUCCESS / ERROR ALERTS
========================================================= */

.alert-success {
    color: #0c6544;
    background: #eafaf2;
    border: 1px solid #bcebd4;
    border-radius: 9px;
}

.alert-danger {
    color: #8c2430;
    background: #fff0f1;
    border: 1px solid #f2c4c8;
    border-radius: 9px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 68px 0 20px;
    background: #071827;
    color: #b9c7d4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 60px;
}

.footer-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    padding: 5px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 50%;
}

.footer p {
    max-width: 280px;
    color: #b9c7d4;
    font-size: 13px;
    line-height: 1.7;
}

.footer h4 {
    margin-bottom: 17px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
}

.footer-grid a,
.footer-grid span {
    margin-bottom: 8px;
    color: #b9c7d4;
    font-size: 12px;
    transition: color 0.2s ease;
}

    .footer-grid a:hover {
        color: #ffffff;
    }

.footer-emergency {
    color: #ff4854 !important;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #94a6b6;
    font-size: 11px;
}


/* =========================================================
   FLOATING WHATSAPP + PHONE
========================================================= */

.floating-whatsapp,
.floating-phone {
    position: fixed;
    bottom: 24px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    font-size: 22px;
    z-index: 9999;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.floating-whatsapp {
    right: 84px;
    background: #25d366;
}

.floating-phone {
    right: 20px;
    background: var(--red);
}

    .floating-whatsapp:hover,
    .floating-phone:hover {
        color: #ffffff;
        transform: translateY(-4px);
    }

.floating-whatsapp:hover {
    background: #1ebe5d;
}

.floating-phone:hover {
    background: var(--red-dark);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .realisations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .topbar-contact a:last-child {
        display: none;
    }

    .nav-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .site-logo {
        width: 145px;
    }
}


/* =========================================================
   TABLET / MOBILE NAV
========================================================= */

@media (max-width: 991px) {

    #accueil,
    #services,
    #about,
    #realisations,
    #avis,
    #contact {
        scroll-margin-top: 95px;
    }

    .topbar-center {
        display: none;
    }

    .navbar {
        min-height: 80px;
    }

    .navbar-collapse {
        padding: 20px 0;
        background: #ffffff;
    }

    .nav-link {
        padding: 10px !important;
    }

        .nav-link::after {
            display: none;
        }

    .header-emergency {
        display: inline-flex;
        margin-top: 10px;
    }


    /* HERO */

    .hero {
        min-height: 580px;
    }

    .hero-background {
        background-position: 65% center;
    }

    .hero-overlay {
        background: linear-gradient( 90deg, rgba(3, 24, 45, 0.96) 0%, rgba(3, 24, 45, 0.90) 55%, rgba(3, 24, 45, 0.58) 100% );
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 100px;
    }


    /* TRUST */

    .trust-wrapper {
        height: auto;
        padding: 25px 0;
        background: var(--navy);
    }

    .trust-bar {
        top: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        box-shadow: none;
        border: none;
    }

    .trust-divider {
        display: none;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }


    /* REALISATIONS */

    .realisations-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* AVIS */

    .avis-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    #accueil,
    #services,
    #about,
    #realisations,
    #avis,
    #contact {
        scroll-margin-top: 82px;
    }


    /* TOP BAR */

    .topbar-inner {
        justify-content: center;
    }

    .topbar-location {
        display: none;
    }

    .topbar-contact {
        width: 100%;
        justify-content: center;
    }


    /* HEADER */

    .site-logo {
        width: 125px;
        height: 65px;
    }


    /* HERO */

    .hero {
        min-height: 620px;
    }

    .hero-background {
        background-position: 68% center;
    }

    .hero-overlay {
        background: rgba(3, 24, 45, 0.84);
    }

    .hero-content {
        max-width: 100%;
        padding: 70px 0 75px;
    }

    .hero-mini-title {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-call,
    .hero-quote {
        width: 100%;
        justify-content: center;
    }


    /* TRUST */

    .trust-bar {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .trust-item {
        padding: 6px 0;
    }


    /* SERVICES */

    .services-section {
        padding: 70px 0 45px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
    }

        .service-card p {
            min-height: auto;
        }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        justify-content: flex-start;
    }


    /* ABOUT */

    .about-section {
        padding: 75px 0;
    }

    .about-image {
        height: 330px;
    }

    .about-section h2,
    .contact-section h2 {
        font-size: 34px;
    }


    /* REALISATIONS */

    .realisations-section {
        padding: 75px 0;
    }

    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .realisation-placeholder {
        height: 210px;
    }

    .realisations-info {
        align-items: flex-start;
        padding: 18px;
    }


    /* AVIS */

    .avis-section {
        padding: 75px 0;
    }

    .avis-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .avis-card {
        padding: 26px 22px;
    }

        .avis-card > p {
            min-height: auto;
        }


    /* CTA */

    .contact-cta {
        padding: 45px 0;
    }

        .contact-cta .container {
            flex-direction: column;
            text-align: center;
            gap: 25px;
        }

        .contact-cta h2 {
            font-size: 27px;
        }


    /* CONTACT */

    .contact-section {
        padding: 75px 0;
    }

    .quote-card {
        padding: 25px 20px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }


    /* FLOAT BUTTONS */

    .floating-whatsapp,
    .floating-phone {
        width: 50px;
        height: 50px;
        bottom: 18px;
        font-size: 20px;
    }

    .floating-whatsapp {
        right: 76px;
    }

    .floating-phone {
        right: 18px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-section h2,
    .contact-section h2 {
        font-size: 30px;
    }

    .realisation-placeholder {
        height: 185px;
    }

    .realisation-content {
        padding: 22px 20px;
    }

    .avis-card {
        padding: 23px 20px;
    }
}
/* =====================================================
   FORMULAIRE DEVIS - VERSION PROFESSIONNELLE
===================================================== */

.quote-card .form-label {
    display: block;
    margin-bottom: 7px;
    color: #10233a;
    font-size: 14px;
    font-weight: 700;
}

.quote-card .form-control,
.quote-card .form-select {
    min-height: 52px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #ffffff;
    color: #10233a;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-card textarea.form-control {
    min-height: 145px;
    padding: 14px;
    resize: vertical;
}

.quote-card .form-control::placeholder {
    color: #9aa7b4;
}

.quote-card .form-control:focus,
.quote-card .form-select:focus {
    border-color: #147be8;
    box-shadow: 0 0 0 3px rgba(20, 123, 232, .10);
    outline: none;
}


/* ICONES DANS LES CHAMPS */

.quote-card .input-group-text {
    min-width: 50px;
    justify-content: center;
    border: 1px solid #dce3ea;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #f5f8fb;
    color: #147be8;
}

.quote-card .input-group .form-control {
    border-radius: 0 8px 8px 0;
}


/* TITRES DES PARTIES */

.quote-form-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf2;
}

    .quote-form-section-title > i {
        display: flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: #eef6ff;
        color: #147be8;
        font-size: 17px;
    }

    .quote-form-section-title div {
        display: flex;
        flex-direction: column;
    }

    .quote-form-section-title strong {
        color: #061f38;
        font-size: 16px;
        font-weight: 800;
    }

    .quote-form-section-title span {
        margin-top: 2px;
        color: #7b8997;
        font-size: 12px;
    }


/* CONFIDENTIALITÉ */

.quote-form-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dce7f2;
    border-radius: 9px;
    background: #f5f9fd;
}

    .quote-form-info > i {
        color: #147be8;
        font-size: 19px;
    }

    .quote-form-info div {
        display: flex;
        flex-direction: column;
    }

    .quote-form-info strong {
        color: #10233a;
        font-size: 13px;
    }

    .quote-form-info span {
        margin-top: 2px;
        color: #718091;
        font-size: 12px;
    }


/* ERREURS */

.quote-card .field-validation-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 767px) {

    .quote-form-section-title {
        align-items: flex-start;
    }

        .quote-form-section-title span {
            line-height: 1.5;
        }

    .quote-form-info {
        align-items: flex-start;
    }
}