/**
 * Plomberie Meunier — Multisite one-pager styles
 *
 * Mobile-first, custom properties for easy theming.
 * Primary palette derived from plomberiemeunier.ca logo (#083050 navy).
 */

:root {
    --pmm-navy: #083050;
    --pmm-navy-dark: #051f34;
    --pmm-navy-light: #20659F;
    --pmm-gold: #DAC317;
    --pmm-gold-dark: #b9a513;
    --pmm-bg: #ffffff;
    --pmm-bg-alt: #f4f7fa;
    --pmm-bg-hero: #e9eff5;
    --pmm-text: #0f1a24;
    --pmm-text-muted: #4d5b68;
    --pmm-border: #dbe3eb;
    --pmm-radius: 10px;
    --pmm-shadow: 0 2px 8px rgba(8, 48, 80, 0.08);
    --pmm-shadow-lg: 0 8px 24px rgba(8, 48, 80, 0.14);
    --pmm-font-heading: 'Barlow Condensed', 'Oswald', 'Roboto Condensed', 'Arial Narrow', Impact, sans-serif;
    --pmm-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --pmm-container: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.pmm-body {
    margin: 0;
    font-family: var(--pmm-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--pmm-text);
    background: var(--pmm-bg);
}

.pmm-body img, .pmm-body svg { max-width: 100%; height: auto; }

.pmm-body a { color: var(--pmm-navy); text-decoration: none; transition: color 0.15s; }
.pmm-body a:hover { color: var(--pmm-navy-light); text-decoration: underline; }

.pmm-body h1, .pmm-body h2, .pmm-body h3 {
    font-family: var(--pmm-font-heading);
    color: var(--pmm-navy);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 0.5em;
}

.pmm-body h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.pmm-body h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.pmm-body h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.pmm-body p { margin: 0 0 1em; }

.pmm-container {
    max-width: var(--pmm-container);
    padding: 0 20px;
    margin: 0 auto;
}

.pmm-eyebrow {
    font-family: var(--pmm-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pmm-navy-light);
    margin: 0 0 8px;
}

.pmm-section-intro {
    max-width: 760px;
    font-size: 1.05rem;
    color: var(--pmm-text-muted);
    margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */
.pmm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--pmm-radius);
    font-family: var(--pmm-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.pmm-btn:hover { transform: translateY(-1px); }
.pmm-btn:active { transform: translateY(0); }

.pmm-btn--primary {
    background: var(--pmm-navy);
    color: #fff !important;
    box-shadow: var(--pmm-shadow);
}
.pmm-btn--primary:hover { background: var(--pmm-navy-dark); box-shadow: var(--pmm-shadow-lg); }

.pmm-btn--ghost {
    background: transparent;
    color: var(--pmm-navy) !important;
    border-color: var(--pmm-navy);
}
.pmm-btn--ghost:hover { background: var(--pmm-navy); color: #fff !important; }

.pmm-btn--lg { padding: 14px 28px; font-size: 1.15rem; }
.pmm-btn--xl { padding: 18px 32px; font-size: 1.25rem; }

.pmm-btn--phone {
    background: var(--pmm-gold);
    color: var(--pmm-navy-dark) !important;
    border-color: var(--pmm-gold);
}
.pmm-btn--phone:hover { background: var(--pmm-gold-dark); border-color: var(--pmm-gold-dark); color: var(--pmm-navy-dark) !important; }

.pmm-btn__icon { display: inline-flex; align-items: center; }

/* ---------- Header ---------- */
.pmm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--pmm-border);
}

.pmm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    max-width: var(--pmm-container);
    margin: 0 auto;
}

.pmm-logo-link { display: inline-flex; flex-shrink: 0; }
.pmm-logo-link svg { display: block; }

.pmm-nav {
    display: flex;
    gap: 26px;
    font-family: var(--pmm-font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pmm-nav a { color: var(--pmm-navy); text-decoration: none; }
.pmm-nav a:hover { color: var(--pmm-navy-light); }

.pmm-header__ctas {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-shrink: 0;
}

/* Both header CTAs share the exact same metrics so they render as a pair. */
.pmm-header__ctas .pmm-btn {
    padding: 12px 20px;
    font-size: 1rem;
    min-height: 48px;
}

@media (max-width: 980px) {
    .pmm-nav { display: none; }
}

@media (max-width: 640px) {
    .pmm-btn--header-cta span:last-child,
    .pmm-btn--phone span:last-child {
        display: none;
    }
    .pmm-btn__icon--hide-sm { display: inline-flex !important; }
    .pmm-btn--header-cta,
    .pmm-btn--phone {
        padding: 10px 12px;
    }
}

/* ---------- Hero ---------- */
.pmm-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(32, 101, 159, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, var(--pmm-bg-hero) 0%, var(--pmm-bg) 100%);
    padding: 72px 0 84px;
    overflow: hidden;
}

.pmm-hero__inner {
    max-width: 960px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}

.pmm-hero__eyebrow {
    font-family: var(--pmm-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pmm-navy-light);
    margin: 0 0 14px;
}

.pmm-hero__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin: 0 0 18px;
}

.pmm-hero__subtitle {
    max-width: 720px;
    margin: 0 auto 34px;
    font-size: 1.15rem;
    color: var(--pmm-text-muted);
    line-height: 1.55;
}

.pmm-hero__cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.pmm-hero__values {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 28px;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.pmm-hero__values li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}

.pmm-check { flex-shrink: 0; color: var(--pmm-gold-dark); margin-top: 2px; }

/* ---------- Services ---------- */
.pmm-services {
    padding: 80px 0;
    background: var(--pmm-bg);
}

.pmm-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0 44px;
}

.pmm-service-card {
    background: var(--pmm-bg-alt);
    border: 1px solid var(--pmm-border);
    border-radius: var(--pmm-radius);
    padding: 28px 26px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pmm-service-card:hover { transform: translateY(-2px); box-shadow: var(--pmm-shadow-lg); }

.pmm-service-card__icon {
    width: 56px; height: 56px;
    border-radius: var(--pmm-radius);
    background: var(--pmm-navy);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}

.pmm-service-card h3 { margin: 0 0 14px; }

.pmm-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--pmm-text-muted);
}

.pmm-service-card li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.97rem;
}

.pmm-service-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pmm-gold);
}

.pmm-services__cta { text-align: center; }

/* ---------- About ---------- */
.pmm-about {
    padding: 80px 0;
    background: var(--pmm-bg-alt);
}

.pmm-about__content {
    max-width: 820px;
    font-size: 1.1rem;
    line-height: 1.65;
}

.pmm-about__neighbors {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--pmm-border);
}

.pmm-about__neighbors h3 {
    font-size: 1.1rem;
    color: var(--pmm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.pmm-about__neighbors ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pmm-about__neighbors a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--pmm-radius);
    background: #fff;
    border: 1px solid var(--pmm-border);
    font-weight: 500;
    color: var(--pmm-navy);
}
.pmm-about__neighbors a:hover { background: var(--pmm-navy); color: #fff; border-color: var(--pmm-navy); text-decoration: none; }

/* ---------- FAQ ---------- */
.pmm-faq {
    padding: 80px 0;
    background: var(--pmm-bg);
}

.pmm-faq__list {
    max-width: 820px;
    margin-top: 32px;
}

.pmm-faq-item {
    background: var(--pmm-bg-alt);
    border: 1px solid var(--pmm-border);
    border-radius: var(--pmm-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.pmm-faq-item[open] { background: #fff; box-shadow: var(--pmm-shadow); }

.pmm-faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-weight: 700;
    font-family: var(--pmm-font-heading);
    font-size: 1.15rem;
    color: var(--pmm-navy);
    list-style: none;
}
.pmm-faq-item summary::-webkit-details-marker { display: none; }
.pmm-faq-item summary:hover { color: var(--pmm-navy-light); }

.pmm-faq-item__chev {
    transition: transform 0.2s;
    color: var(--pmm-text-muted);
    flex-shrink: 0;
}
.pmm-faq-item[open] .pmm-faq-item__chev { transform: rotate(180deg); }

.pmm-faq-item__body {
    padding: 0 22px 20px;
    color: var(--pmm-text-muted);
    line-height: 1.65;
}

/* ---------- Contact ---------- */
.pmm-contact {
    padding: 80px 0;
    background:
        linear-gradient(180deg, var(--pmm-bg-alt) 0%, var(--pmm-bg-hero) 100%);
}

.pmm-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.pmm-contact__lead { color: var(--pmm-text-muted); max-width: 420px; }

.pmm-contact__callbtn { margin: 18px 0 22px; }

.pmm-contact__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 22px 0 0;
}

.pmm-contact__meta dt {
    font-family: var(--pmm-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--pmm-text-muted);
    margin-bottom: 4px;
}
.pmm-contact__meta dd { margin: 0; font-size: 0.97rem; }

@media (max-width: 780px) {
    .pmm-contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .pmm-contact__meta { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.pmm-form {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--pmm-radius);
    box-shadow: var(--pmm-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pmm-form h3 { margin: 0 0 8px; }

.pmm-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.92rem; }

.pmm-form input, .pmm-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--pmm-border);
    border-radius: var(--pmm-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--pmm-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pmm-form input:focus, .pmm-form textarea:focus {
    outline: none;
    border-color: var(--pmm-navy);
    box-shadow: 0 0 0 3px rgba(8, 48, 80, 0.12);
}

.pmm-form__submit { margin-top: 8px; width: 100%; }

.pmm-form__honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pmm-form__feedback {
    margin: 6px 0 0;
    font-size: 0.95rem;
    min-height: 1.4em;
}
.pmm-form__feedback.is-error { color: #b32434; }
.pmm-form__feedback.is-success { color: #10785a; }

.pmm-form.is-loading .pmm-form__submit { opacity: 0.6; pointer-events: none; }

/* ---------- Footer ---------- */
.pmm-footer {
    background: var(--pmm-navy);
    color: #c9d4df;
    padding: 56px 0 24px;
}

.pmm-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.pmm-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.pmm-footer__brand svg { margin-bottom: 8px; }
.pmm-footer__tag { margin: 0; color: #e0e8ef; font-size: 0.98rem; font-weight: 500; }
.pmm-footer__phone { margin: 0; font-size: 1.35rem; font-family: var(--pmm-font-heading); font-weight: 700; }
.pmm-footer__phone a { color: #fff; }
.pmm-footer__phone a:hover { color: var(--pmm-gold); }
.pmm-footer__hours { margin: 0; color: #94a3b0; font-size: 0.9rem; }
.pmm-footer__cta { margin: 14px 0 0; }
.pmm-btn--on-dark { border-color: rgba(255,255,255,0.45); color: #fff !important; background: transparent; }
.pmm-btn--on-dark:hover { background: #fff; color: var(--pmm-navy) !important; border-color: #fff; }

.pmm-footer__col h4 {
    font-family: var(--pmm-font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin: 0 0 16px;
}

.pmm-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pmm-footer__col a { color: #c9d4df; text-decoration: none; font-size: 0.95rem; line-height: 1.45; }
.pmm-footer__col a:hover { color: #fff; text-decoration: underline; }

.pmm-footer__attribution {
    grid-column: 1 / -1;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b0;
    font-size: 0.85rem;
}
.pmm-footer__attribution a { color: #c9d4df; text-decoration: underline; }
.pmm-footer__attribution a:hover { color: #fff; }

@media (max-width: 980px) {
    .pmm-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .pmm-footer__inner { grid-template-columns: 1fr; gap: 28px; }
    .pmm-header__inner { gap: 10px; }
}

/* ---------- Focus visible ---------- */
:focus-visible {
    outline: 3px solid var(--pmm-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

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