/* =========================================================
   GLOBAL STYLES – ED Service Plomberie
========================================================= */

:root {
    --blue: #0b4f6c;
    --blue-dark: #07384d;
    --cyan: #01a7c2;
    --sand: #f7f3ec;
    --text: #17212b;
    --muted: #667085;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(11, 79, 108, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(1120px, 92%);
    margin: auto;
}

.section {
    padding: 72px 0;
}

.muted {
    background: #a2ffd4;
}


/* =========================================================
   BADGES & BUTTONS
========================================================= */

.badge {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #e5f8fb;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.15rem;
    border: 0;
    border-radius: 999px;

    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 1px solid #d7e7ec;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 68%);
    backdrop-filter: blur(3px);
    border-bottom: 1px solid #edf2f4;
}

.header-grid {
    min-height: 90px;

    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

.logo-mark {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    border-radius: 16px;

    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    font-weight: 900;
}

.logo small {
    display: block;
    margin-top: -4px;
    color: var(--muted);
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    justify-content: center;
    gap: 22px;

    font-weight: 700;
}

.main-nav a:hover {
    color: var(--cyan);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 3px;
    margin: 5px;

    background: var(--blue);
    border-radius: 3px;
}


/* =========================================================
   HERO ACCUEIL
========================================================= */

.home-hero {
    padding: 96px 0;
    background: radial-gradient(circle at top left, #ced6d7, #e52e2e00 42%), linear-gradient(135deg, #4f91ff, #1d6ce2);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 42px;
    align-items: center;
}

.home-hero h1,
.page-hero h1 {
    margin: 0.6rem 0 1rem;

    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.03;
}

.home-hero p,
.page-hero p {
    max-width: 760px;

    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 24px;
}

.hero-card,
.card,
.contact-card {
    padding: 28px;

    background: var(--white);
    border: 1px solid #edf2f4;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card ul,
.check-list {
    padding-left: 1.1rem;
}


/* =========================================================
   CARTES & GRILLES
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--blue);
}

.card a {
    color: var(--blue);
    font-weight: 800;
}

.split,
.final-cta-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}


/* =========================================================
   HERO PAGES INTERNES
========================================================= */

.page-hero {
    padding: 64px 0;

    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
}

.page-hero p {
    color: #d9eef4;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: underline;
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-cta {
    padding: 62px 0;

    background: linear-gradient(135deg, #e5f8fb, #ffffff);
}


/* =========================================================
   GALERIE
========================================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-item {
    margin: 0;
}

.placeholder-img {
    height: 220px;
    border-radius: 22px;

    display: grid;
    place-items: center;

    background: linear-gradient(135deg, #d9eef4, #f7f3ec);
    color: var(--blue);
    font-weight: 900;
}


/* =========================================================
   FORMULAIRE CONTACT
========================================================= */

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;

    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;

    border: 1px solid #d6e2e6;
    border-radius: 14px;

    font: inherit;
}

.contact-form textarea {
    min-height: 150px;
}

.honeypot {
    display: none;
}


/* =========================================================
   AVIS & CONTENU LÉGAL
========================================================= */

.review strong {
    color: #f5a400;
}

.legal h2 {
    color: var(--blue);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 56px;

    background: #071f2a;
    color: #dbe8ec;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
}

.site-footer a {
    display: block;
    margin: 0.4rem 0;

    color: #dbe8ec;
}

.footer-bottom {
    margin-top: 35px;
    font-size: 14px;
    padding: 15px 10px 10px 10px;
    text-align: center;
    color: #aac2c945;
    border-top: 1px solid rgb(167 158 158 / 12%);
}


/* =========================================================
   MOBILE CALL
========================================================= */

.mobile-call {
    display: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .site-header {
        padding: 10px 15px;
    }

    .header-grid {
        min-height: 75px;
        grid-template-columns: auto auto;
    }

    .logo img {
        max-height: 55px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .split,
    .final-cta-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards,
    .gallery,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 64px 0;
    }

    .section {
        padding: 52px 0;
    }
}


/* =========================================================
   MENU MOBILE OUVERT
========================================================= */

@media (max-width: 768px) {

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 42px;
        right: 42px;
        padding: 20px;
        background: #ffffff;
        border-radius: 4px;
        border: 1px solid #083c51;
        box-shadow: var(--shadow);
    }
}


/* =========================================================
   COOKIES
========================================================= */

.cookies-banner {
    display: none;
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 580px;
    margin: auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #d7e7ec;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.cookies-banner.is-visible {
    display: block;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 15px;
}

/* 314coury ED Service */