/*
 * Pro Menuiserie Soudure : feuille principale du thème (chargée AVANT les feuilles d'Elementor).
 * Direction : gris et noir demandés par le client, sur une dominante claire (Kevin : « pas trop foncé »).
 * Un seul accent, repris du logo : le dégradé turquoise vers ocre de son coup de pinceau. Il sert de
 * « cordon de soudure » (signature) sous les titres de hero, et l'ocre sert aux boutons d'appel.
 * Polices auto-hébergées : Big Shoulders Display (titres en capitales étroites, comme des barreaux),
 * Hanken Grotesk (texte), Martian Mono (surtitres et étiquettes, comme les cotes d'un plan).
 * Règles Elementor : containers stylés par _element_id (#id ou [id^=], [id$=]) préfixés de body.pms,
 * tout display de container passe par --display !important, flex-direction toujours explicite.
 * Suffixes réservés : -tete (en-tête de section), -texte / -visuel / -photo (colonnes). Préfixes répétés :
 * atout-, ouvrage-, chiffre-, cible-, matiere-, temoignage-, question-, etape-, outil-, finition-, profil-,
 * engagement-. Aucun autre id ne commence par ces mots suivis d'un tiret.
 */

/* Big Shoulders Display latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Big Shoulders Display latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Hanken Grotesk latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Martian Mono latin-ext */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(../fonts/martian-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Martian Mono latin */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(../fonts/martian-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --noir:            #16191B;
    --anthracite:      #2E3438;
    --graphite:        #3F474C;
    --acier:           #5A636A;
    --acier-clair:     #B9C1C5;
    --zinc:            #EEF1F1;
    --trait:           #D6DCDE;
    --blanc:           #FFFFFF;
    --turquoise:       #79D3E5;
    --turquoise-encre: #0E6F7C;
    --ocre:            #E0B658;
    --ocre-vif:        #E9C470;
    --cordon:          linear-gradient(90deg, #79D3E5 0%, #B1DEBE 50%, #E0B658 100%);

    --f-titre: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --f-texte: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono:  'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    --largeur:  1240px;
    --gouttiere: clamp(16px, 4vw, 40px);
    --bloc:     clamp(64px, 8vw, 116px);
    --rayon:    4px;
    --ombre:    0 18px 48px -24px rgba(22, 25, 27, .35);

    --c-fond:   var(--blanc);
    --c-titre:  var(--noir);
    --c-texte:  var(--graphite);
    --c-doux:   var(--acier);
    --c-sur:    var(--turquoise-encre);
    --ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57c.11.35.03.74-.25 1.02z'/%3E%3C/svg%3E");
    --ico-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11v2h12l-5.5 5.5l1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5L16 11z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.pms {
    margin: 0;
    background-color: var(--blanc);
    color: var(--graphite);
    font-family: var(--f-texte);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.pms *, body.pms *::before, body.pms *::after { box-sizing: border-box; }
:where(body.pms) img { max-width: 100%; height: auto; } /* :where : sinon le logo de l'en-tête (40 px) s'affichait à sa taille native, 240 × 160 px */
/* :where() = spécificité nulle : ces deux règles de base ne doivent jamais écraser une couleur ou une taille posée par classe
   (le 2026-09-30, body.pms a (0,1,2) rendait le numéro de l'en-tête gris sur fond noir). */
:where(body.pms) a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
body.pms strong { font-weight: 700; color: var(--c-titre); }
body.pms :focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }
:where(body.pms) svg { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.15em; }
body.pms ::selection { background: rgba(121, 211, 229, .35); color: var(--noir); }
.pms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pms-evitement { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ocre); color: var(--noir); font-weight: 700; }
.pms-evitement:focus { top: 12px; }

/* ---------- Neutralisation des réglages d'usine Elementor (verrou si le kit est réinitialisé) ---------- */
body.pms .e-con { --row-gap: 0px; --column-gap: 0px; --gap: 0px; --container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px; }
body.pms .elementor-widget:not(:last-child) { margin-block-end: 0; }
body.pms .elementor-widget-text-editor p:last-child, body.pms .elementor-widget-text-editor ul:last-child { margin-bottom: 0; }
body.pms .elementor-widget-image img { display: block; }

body.pms .elementor-widget-heading .elementor-heading-title {
    font-family: var(--f-titre);
    font-weight: 800;
    color: var(--c-titre);
    line-height: .98;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0;
}
body.pms .elementor-widget-text-editor { font-family: var(--f-texte); font-weight: 400; color: var(--c-texte); }
body.pms .elementor-widget-text-editor p { margin: 0 0 1em; }
body.pms .elementor-widget-text-editor a { color: var(--c-sur); font-weight: 600; }
body.pms .elementor-widget-text-editor ul { margin: 0 0 1em; padding-left: 1.1em; }
body.pms .elementor-widget-text-editor li { margin-bottom: .4em; }
body.pms .elementor-widget-text-editor li::marker { color: var(--ocre); }

/* Règles par niveau au même préfixe que la règle générique : (0,3,2) bat (0,3,1) */
body.pms .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.1rem); line-height: .94; }
body.pms .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.4rem); line-height: .98; }
body.pms .elementor-widget-heading h3.elementor-heading-title {
    font-family: var(--f-texte); font-weight: 700; font-size: clamp(1.14rem, 1.05rem + .4vw, 1.32rem);
    line-height: 1.25; letter-spacing: 0; text-transform: none;
}

/* Surtitre : mono en capitales, précédé d'un petit cordon de soudure */
body.pms .pms-sur p {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 18px;
    font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--c-sur);
}
body.pms .pms-sur p::before { content: ""; width: 30px; height: 6px; border-radius: 3px; background: var(--cordon); flex-shrink: 0; }
body.pms .pms-chapo p { font-size: clamp(1.1rem, 1.04rem + .3vw, 1.24rem); line-height: 1.6; color: var(--c-texte); }
body.pms .pms-note p { font-size: .95rem; color: var(--c-doux); }
body.pms .pms-legende p {
    margin: 10px 0 0; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-doux);
}

/* ---------- Cordon de soudure (signature) ----------
   Un cordon TIG vu de dessus : ondulations serrées (arcs répétés) sur le dégradé du logo, léger relief.
   Il se dépose de gauche à droite à son arrivée à l'écran (classe is-soude posée par main.js). */
body.pms .pms-cordon-w { width: 100%; }
.pms-cordon {
    position: relative;
    width: min(420px, 100%); height: 12px; margin: 26px 0 30px;
    border-radius: 6px;
    background:
        radial-gradient(circle at 0 50%, transparent 5.2px, rgba(255, 255, 255, .55) 5.8px, rgba(255, 255, 255, 0) 7px) 0 0 / 7px 100% repeat-x,
        linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(0, 0, 0, .16)),
        var(--cordon);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .6);
    clip-path: inset(0 100% 0 0 round 6px);
}
.pms-cordon.is-soude { clip-path: inset(0 0 0 0 round 6px); transition: clip-path 1.6s cubic-bezier(.45, .05, .35, 1); }
.pms-cordon::after {
    /* la pointe encore chaude : un point lumineux qui suit le dépôt puis s'éteint */
    content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: radial-gradient(circle, #fff 0 30%, rgba(255, 214, 140, .9) 45%, rgba(224, 182, 88, 0) 72%);
    opacity: 0;
}
.pms-cordon.is-soude::after { animation: pms-pointe 1.6s cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes pms-pointe { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .pms-cordon, .pms-cordon.is-soude { clip-path: none; transition: none; }
    .pms-cordon::after { display: none; }
}
body.pms .pms-cordon-w--centre .pms-cordon { margin-left: auto; margin-right: auto; }

/* ---------- Boutons (widgets natifs) ---------- */
body.pms .pms-btn .elementor-button,
body.pms .pms-bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 58px; padding: 16px 28px;
    border: 0; border-radius: var(--rayon);
    background-color: var(--ocre); color: var(--noir);
    box-shadow: 0 10px 28px -14px rgba(224, 182, 88, .9);
    font-family: var(--f-texte); font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body.pms .pms-btn .elementor-button:hover, body.pms .pms-bouton:hover { background-color: var(--ocre-vif); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(224, 182, 88, 1); }
body.pms .pms-btn .elementor-button-text { color: inherit; }
body.pms .pms-btn .elementor-button::before {
    content: ""; width: 1.1em; height: 1.1em; flex-shrink: 0; background-color: currentColor;
    -webkit-mask: var(--ico-tel) center / contain no-repeat; mask: var(--ico-tel) center / contain no-repeat;
}
body.pms .pms-btn--geant .elementor-button { min-height: 72px; padding: 20px 36px; font-size: clamp(1.2rem, 1.02rem + .8vw, 1.6rem); }
body.pms .pms-lien .elementor-button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 0; min-height: 0; background-color: transparent; border: 0; border-bottom: 2px solid var(--turquoise); border-radius: 0; box-shadow: none;
    color: var(--c-titre); font-family: var(--f-texte); font-weight: 700; font-size: 1rem;
}
body.pms .pms-lien .elementor-button::after {
    content: ""; width: 1em; height: 1em; background-color: currentColor; transition: transform .2s ease;
    -webkit-mask: var(--ico-fleche) center / contain no-repeat; mask: var(--ico-fleche) center / contain no-repeat;
}
body.pms .pms-lien .elementor-button:hover { background-color: transparent; border-bottom-color: var(--ocre); }
body.pms .pms-lien .elementor-button:hover::after { transform: translateX(4px); }

/* Étiquette d'offre (hero, contact) */
body.pms .pms-etiquette p {
    display: inline-flex; align-items: center; gap: 10px; margin: 0;
    padding: 8px 14px 8px 8px; border: 1px solid var(--trait); border-radius: 999px; background-color: var(--blanc);
    font-size: .95rem; line-height: 1.3; color: var(--graphite);
}
body.pms .pms-etiquette strong {
    display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background-color: var(--noir); color: var(--ocre);
    font-family: var(--f-titre); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em;
}

/* Icône SVG décorative (widget html) */
body.pms .pms-icone { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--rayon); background-color: var(--zinc); color: var(--turquoise-encre); }
body.pms .pms-icone svg { width: 24px; height: 24px; }

/* ---------- En-tête ---------- */
.pms-entete { position: sticky; top: 0; z-index: 100; background-color: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--trait); backdrop-filter: saturate(1.2) blur(6px); }
body.admin-bar .pms-entete { top: 32px; }
.pms-entete__in { display: flex; align-items: center; gap: 24px; max-width: var(--largeur); margin: 0 auto; padding: 6px var(--gouttiere); min-height: 62px; }
.pms-marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--noir); margin-right: auto; }
.pms-marque__logo { width: auto; height: 40px; }
.pms-marque__nom { display: flex; flex-direction: column; font-family: var(--f-titre); font-weight: 800; font-size: 1.16rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.pms-marque__metier { margin-top: 4px; font-family: var(--f-mono); font-weight: 500; font-size: .52rem; letter-spacing: .08em; color: var(--acier); }
.pms-nav__liste { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
/* Survol du menu : deux barreaux qui se referment sur le mot, comme un portail coulissant */
.pms-nav a {
    position: relative; display: inline-block; padding: 8px 15px;
    font-weight: 600; font-size: .98rem; color: var(--graphite); text-decoration: none;
}
.pms-nav a::before, .pms-nav a::after {
    content: ""; position: absolute; top: 22%; bottom: 22%; width: 2px; border-radius: 1px; background-color: var(--noir);
    opacity: 0; transition: transform .28s cubic-bezier(.3, .7, .3, 1), opacity .2s ease;
}
.pms-nav a::before { left: 4px; transform: translateX(-10px); }
.pms-nav a::after { right: 4px; transform: translateX(10px); }
.pms-nav a:hover, .pms-nav a:focus-visible, .pms-nav .current-menu-item > a { color: var(--noir); }
.pms-nav a:hover::before, .pms-nav a:hover::after, .pms-nav a:focus-visible::before, .pms-nav a:focus-visible::after,
.pms-nav .current-menu-item > a::before, .pms-nav .current-menu-item > a::after { opacity: 1; transform: translateX(0); }
.pms-nav .current-menu-item > a::before, .pms-nav .current-menu-item > a::after { background-color: var(--ocre); }
@media (prefers-reduced-motion: reduce) { .pms-nav a::before, .pms-nav a::after { transition: none; } }
.pms-entete__appel {
    display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: var(--rayon);
    background-color: var(--noir); color: var(--blanc); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
    transition: background-color .2s ease;
}
.pms-entete__appel svg { color: var(--ocre); }
.pms-entete__appel:hover { background-color: var(--anthracite); }
.pms-burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); color: var(--noir); cursor: pointer; }
.pms-burger svg { width: 24px; height: 24px; }
.pms-burger__fermer { display: none; }
@media (max-width: 1000px) {
    .pms-entete__in { gap: 12px; flex-wrap: wrap; }
    .pms-burger { display: inline-flex; }
    .pms-nav { display: none; order: 5; width: 100%; }
    .pms-entete.is-open .pms-nav { display: block; }
    .pms-entete.is-open .pms-burger__ouvrir { display: none; }
    .pms-entete.is-open .pms-burger__fermer { display: block; }
    .pms-nav__liste { flex-direction: column; gap: 0; padding: 6px 0 12px; }
    .pms-nav a { display: block; padding: 12px 18px; }
}
@media (max-width: 560px) {
    .pms-marque__logo { height: 34px; }
    .pms-marque__nom { font-size: 1rem; }
    .pms-marque__metier { display: none; }
    .pms-entete__appel { padding: 0; width: 42px; height: 42px; justify-content: center; }
    .pms-entete__appel-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 782px) { body.admin-bar .pms-entete { top: 46px; } }

/* ---------- Mise en page commune : tout container de premier niveau est une section ---------- */
body.pms .e-con.e-parent {
    position: relative;
    --display: flex !important; --flex-direction: column; flex-direction: column;
    padding: var(--bloc) max(var(--gouttiere), calc((100% - var(--largeur)) / 2)) !important;
    background-color: var(--c-fond);
    --c-carte: var(--zinc);
}
/* Fonds : blanc par défaut, zinc et anthracite selon la page (alternance vérifiée page par page) */
body.pms--accueil :is(#bandeau, #realisations, #pourqui, #avis, #faq),
body.pms--atelier :is(#artisan, #chantiers, #finitions, #faq),
body.pms--pros :is(#bandeau, #prestations, #methode, #faq),
body.pms--particuliers :is(#bandeau, #matieres, #realisations, #faq) { --c-fond: var(--zinc); --c-carte: var(--blanc); }
body.pms :is(#offre, #devis, #appel) {
    --c-fond: var(--anthracite); --c-carte: rgba(255, 255, 255, .05);
    --c-titre: var(--blanc); --c-texte: #D3D9DC; --c-doux: var(--acier-clair); --c-sur: var(--turquoise);
    --trait: rgba(255, 255, 255, .16);
}
body.pms :is(#offre, #devis, #appel) strong { color: var(--blanc); }

/* En-têtes de section (surtitre + titre + chapô) : alignés à gauche, comme un cartouche de plan */
body.pms [id$="-tete"] {
    --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start;
    max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px);
}
body.pms [id$="-tete"] h2 { margin-bottom: 18px; }
body.pms #faq-tete { margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Hero : texte à gauche, diaporama plein cadre à droite ---------- */
body.pms #hero {
    --display: grid !important; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch;
    padding: 0 !important; min-height: min(740px, calc(100vh - 77px));
}
body.pms #hero-texte {
    --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 72px) clamp(48px, 6vw, 96px) max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));
}
body.pms #hero-texte h1 { max-width: 13.5em; }
body.pms #hero-texte .pms-chapo p { max-width: 36em; }
body.pms #hero-actions {
    --display: flex !important; --flex-direction: row; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 22px;
    margin: 12px 0 22px;
}
body.pms #hero-visuel {
    --display: block !important; position: relative; overflow: hidden; min-height: 460px; background-color: var(--zinc);
}
body.pms #hero-visuel .pms-diapo { position: absolute !important; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
body.pms #hero-visuel .pms-diapo.is-active,
body.pms #hero-visuel .pms-diapo:first-child { opacity: 1; } /* la 1re photo reste visible sans JavaScript ; les suivantes la recouvrent */
body.pms #hero-visuel .pms-diapo img { width: 100%; height: 100%; object-fit: cover; }
.pms-vignettes { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; }
.pms-vignette { width: 68px; height: 50px; padding: 0; border: 2px solid rgba(255, 255, 255, .85); border-radius: 3px; overflow: hidden; background: var(--noir); opacity: .72; cursor: pointer; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.pms-vignette img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pms-vignette:hover { opacity: 1; transform: translateY(-2px); }
.pms-vignette[aria-pressed="true"] { opacity: 1; border-color: var(--ocre); }
@media (prefers-reduced-motion: reduce) { body.pms #hero-visuel .pms-diapo { transition: none; } }
@media (max-width: 900px) {
    body.pms #hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    body.pms #hero-texte { padding: 44px var(--gouttiere) 48px; }
    body.pms #hero-visuel { display: none !important; }
}

/* ---------- Bandeau de confiance ---------- */
body.pms #bandeau { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 30px !important; padding-bottom: 30px !important; }
body.pms [id^="atout-"] { --display: flex !important; --flex-direction: row; flex-direction: row; align-items: center; gap: 14px; padding: 8px 22px; }
body.pms [id^="atout-"]:first-child { padding-left: 0; }
body.pms [id^="atout-"] + [id^="atout-"] { border-left: 1px solid var(--trait); }
body.pms [id^="atout-"] .pms-icone { flex: 0 0 auto; background-color: var(--blanc); }
body.pms [id^="atout-"] .elementor-widget-text-editor p { margin: 0; font-size: .95rem; line-height: 1.35; }
body.pms [id^="atout-"] .elementor-widget-text-editor strong { display: block; font-size: 1rem; }
@media (max-width: 1000px) {
    body.pms #bandeau { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    body.pms [id^="atout-"] { padding-left: 0; }
    body.pms [id^="atout-"] + [id^="atout-"] { border-left: 0; }
}
@media (max-width: 560px) { body.pms #bandeau { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Offre de lancement ---------- */
body.pms #offre { --display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
body.pms .pms-remise p {
    margin: 0; font-family: var(--f-titre); font-weight: 900; font-size: clamp(5.5rem, 3rem + 9vw, 11rem); line-height: .8; letter-spacing: -.01em;
    background: var(--cordon); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.pms #offre-texte { --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start; max-width: 680px; }
body.pms #offre-texte h2 { margin-bottom: 16px; }
body.pms #offre-texte .elementor-widget-text-editor p { margin-bottom: 24px; }
@media (max-width: 760px) { body.pms #offre { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cartes d'ouvrages (services, prestations) ---------- */
body.pms :is(#services-grille, #prestations-grille) { --display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
body.pms [id^="ouvrage-"] {
    --display: flex !important; --flex-direction: column; flex-direction: column;
    background-color: var(--c-carte); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden;
    padding-bottom: 26px !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
body.pms [id^="ouvrage-"]:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
body.pms [id^="ouvrage-"] > .elementor-widget:not(.pms-ouvrage-img) { padding-left: 24px; padding-right: 24px; }
body.pms [id^="ouvrage-"] .pms-ouvrage-img { overflow: hidden; }
body.pms [id^="ouvrage-"] .pms-ouvrage-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
body.pms [id^="ouvrage-"]:hover .pms-ouvrage-img img { transform: scale(1.04); }
body.pms [id^="ouvrage-"] > .pms-icone { margin: 26px 24px 0; width: 56px; height: 56px; padding: 0; background-color: var(--blanc); }
body.pms [id^="ouvrage-"] .elementor-widget-heading h3.elementor-heading-title { margin-top: 20px; margin-bottom: 8px; }
body.pms [id^="ouvrage-"] .elementor-widget-text-editor p { font-size: 1rem; }
body.pms .pms-tag p {
    display: inline-block; margin: 18px 0 0; padding: 5px 10px; border-radius: 3px;
    font-family: var(--f-mono); font-weight: 500; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
    background-color: var(--noir); color: var(--blanc);
}
body.pms .pms-tag--phare p { background-color: var(--ocre); color: var(--noir); }
body.pms .pms-tag--specialite p { background-color: var(--turquoise); color: var(--noir); }
body.pms [id^="ouvrage-"]:has(.pms-tag--specialite) {
    background-color: var(--anthracite); border-color: var(--anthracite);
    --c-titre: var(--blanc); --c-texte: #D3D9DC;
}
body.pms [id^="ouvrage-"]:has(.pms-tag--specialite) .pms-icone { background-color: rgba(255, 255, 255, .08); color: var(--turquoise); }
/* Accueil : les deux services phares sur la première rangée, le garde-corps en large */
body.pms #services-grille > #ouvrage-1 { grid-column: span 2; }
body.pms #services-grille > :is(#ouvrage-1, #ouvrage-2) .pms-ouvrage-img img { aspect-ratio: auto; height: clamp(240px, 26vw, 360px); }
body.pms #services-grille > :is(#ouvrage-1, #ouvrage-2) h3.elementor-heading-title { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
@media (max-width: 1000px) {
    body.pms :is(#services-grille, #prestations-grille) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.pms #services-grille > #ouvrage-1 { grid-column: span 2; }
}
@media (max-width: 600px) {
    body.pms :is(#services-grille, #prestations-grille) { grid-template-columns: minmax(0, 1fr); }
    body.pms #services-grille > #ouvrage-1 { grid-column: auto; }
}

/* ---------- Galerie de réalisations, sans bordure ---------- */
body.pms #galerie { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 4px; }
body.pms .pms-galerie-img { position: relative; overflow: hidden; height: 100%; margin: 0; background-color: var(--noir); }
body.pms .pms-galerie-img a { display: block; height: 100%; }
body.pms .pms-galerie-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
body.pms .pms-galerie-img:hover img { transform: scale(1.04); opacity: .9; }
body.pms .pms-galerie-img--haut { grid-row: span 2; }
body.pms .pms-galerie-img--large { grid-column: span 2; }
body.pms #realisations > .pms-lien { margin-top: 28px; }
@media (max-width: 700px) { body.pms #galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* ---------- Chiffres ---------- */
body.pms #chiffres-grille { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body.pms [id^="chiffre-"] { --display: flex !important; --flex-direction: column; flex-direction: column; padding: 6px clamp(16px, 2.5vw, 36px); }
body.pms [id^="chiffre-"]:first-child { padding-left: 0; }
body.pms [id^="chiffre-"] + [id^="chiffre-"] { border-left: 1px solid var(--trait); }
body.pms .pms-nombre p { margin: 0 0 6px; font-family: var(--f-titre); font-weight: 900; font-size: clamp(3rem, 2rem + 3.4vw, 4.8rem); line-height: .9; color: var(--noir); }
body.pms [id^="chiffre-"] .elementor-widget-text-editor:not(.pms-nombre) p { font-size: .98rem; color: var(--c-doux); }
body.pms #chiffres > .pms-note { margin-top: 32px; }
@media (max-width: 900px) {
    body.pms #chiffres-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
    body.pms [id^="chiffre-"]:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Particuliers ou professionnels ---------- */
body.pms #cibles-grille { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
body.pms [id^="cible-"] {
    --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start; position: relative;
    background-color: var(--c-carte); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; padding-bottom: 30px !important;
}
body.pms [id^="cible-"]::after {
    /* au survol, un cordon de soudure court le long du bord haut de la carte */
    content: ""; position: absolute; top: 0; left: 0; height: 5px; width: 0; background: var(--cordon); transition: width .5s cubic-bezier(.45, .05, .35, 1);
}
body.pms [id^="cible-"]:hover::after { width: 100%; }
body.pms [id^="cible-"] > .elementor-widget:not(.pms-cible-img) { padding-left: 28px; padding-right: 28px; }
body.pms .pms-cible-img { width: 100%; overflow: hidden; }
body.pms .pms-cible-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
body.pms [id^="cible-"]:hover .pms-cible-img img { transform: scale(1.05); }
body.pms [id^="cible-"] h3.elementor-heading-title { margin: 24px 0 10px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
body.pms [id^="cible-"] .pms-lien { margin-top: 8px; }
@media (max-width: 700px) { body.pms #cibles-grille { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { body.pms [id^="cible-"]::after { transition: none; } }

/* ---------- Matières : une pastille de matière en coin de carte ---------- */
body.pms #matieres-grille { --display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 24px); }
body.pms [id^="matiere-"] {
    --display: flex !important; --flex-direction: column; flex-direction: column; position: relative;
    padding: 28px 26px !important; background-color: var(--c-carte); border-radius: var(--rayon); border-top: 3px solid var(--noir);
}
body.pms [id^="matiere-"]::after { content: ""; position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
body.pms #matiere-1::after { background: radial-gradient(circle at 35% 30%, #7C858B, #2E3438 70%); }
body.pms #matiere-2::after { background: repeating-linear-gradient(100deg, #E4E8EA 0 2px, #C3CACE 2px 3px, #DADFE2 3px 5px); }
body.pms #matiere-3::after { background: linear-gradient(145deg, #F4F6F7, #BFC6CA); }
body.pms #matiere-4::after { background: linear-gradient(145deg, rgba(121, 211, 229, .55), rgba(177, 222, 190, .35)); box-shadow: inset 0 0 0 1px rgba(14, 111, 124, .35); }
body.pms [id^="matiere-"] h3.elementor-heading-title { margin: 0 56px 12px 0; font-family: var(--f-titre); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
body.pms [id^="matiere-"] .elementor-widget-text-editor p { font-size: .98rem; }

/* ---------- Avis ---------- */
body.pms #avis-grille { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
body.pms [id^="temoignage-"] {
    --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start;
    padding: 26px 24px !important; background-color: var(--c-carte); border-radius: var(--rayon);
}
.pms-etoiles { display: inline-flex; gap: 2px; color: var(--ocre); }
body.pms .pms-etoiles svg { width: 18px; height: 18px; }
body.pms .pms-citation p { margin: 14px 0 16px; font-weight: 600; font-size: 1.14rem; line-height: 1.45; color: var(--c-titre); }
body.pms .pms-source p { margin: 0; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-doux); }
@media (max-width: 1000px) { body.pms #avis-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { body.pms #avis-grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact (appel) ---------- */
body.pms #devis { --display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
body.pms #devis-texte { --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start; }
body.pms #devis-texte h2 { margin-bottom: 18px; }
body.pms #devis-texte .pms-etiquette { margin: 4px 0 24px; }
body.pms #devis .pms-etiquette p { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #D3D9DC; }
body.pms #devis .pms-etiquette strong { background-color: var(--ocre); color: var(--noir); }
body.pms .pms-fiche { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--trait); border-radius: var(--rayon); background-color: var(--c-carte); }
body.pms .pms-fiche h3 { margin: 0 0 18px; font-family: var(--f-titre); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--c-titre); }
body.pms .pms-fiche ul { list-style: none; margin: 0; padding: 0; }
body.pms .pms-fiche li { margin: 0; padding: 12px 0; border-top: 1px solid var(--trait); }
body.pms .pms-fiche li strong { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-sur); }
body.pms .pms-fiche a { color: var(--blanc); font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { body.pms #devis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zone d'intervention ---------- */
body.pms .pms-villes ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.pms .pms-villes li {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px;
    border: 1px solid var(--trait); border-radius: 999px; background-color: var(--c-carte); font-weight: 600; color: var(--c-titre);
}
body.pms .pms-villes li::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cordon);
}

/* ---------- FAQ ---------- */
body.pms #faq-liste { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
body.pms [id^="question-"] { --display: flex !important; --flex-direction: column; flex-direction: column; padding: 22px 0 !important; border-top: 1px solid var(--trait); }
body.pms [id^="question-"] h3.elementor-heading-title { margin-bottom: 8px; }
body.pms [id^="question-"] .elementor-widget-text-editor p { font-size: 1rem; }
@media (max-width: 800px) { body.pms #faq-liste { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dernier appel ---------- */
body.pms #appel { align-items: center; text-align: center; }
body.pms #appel .pms-sur p { justify-content: center; }
body.pms #appel h2.elementor-heading-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
body.pms #appel .elementor-widget-text-editor:not(.pms-sur) p { max-width: 640px; margin: 0 auto 28px; }

/* ---------- L'atelier ---------- */
body.pms #artisan { --display: grid !important; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
body.pms #artisan-photo { --display: flex !important; --flex-direction: column; flex-direction: column; }
body.pms .pms-photo-cadre img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
body.pms #artisan-texte { --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start; }
body.pms #artisan-texte h2 { margin-bottom: 20px; }
body.pms #artisan-texte .elementor-widget-text-editor p { max-width: 38em; }
body.pms #artisan-texte .pms-btn { margin-top: 12px; }
@media (max-width: 860px) { body.pms #artisan { grid-template-columns: minmax(0, 1fr); } body.pms .pms-photo-cadre img { aspect-ratio: 4 / 3; } }

/* Étapes : une vraie séquence, d'où la numérotation */
body.pms :is(#etapes-grille, #methode-grille, #deroule-grille) { --display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
body.pms [id^="etape-"] { --display: flex !important; --flex-direction: column; flex-direction: column; padding-top: 22px !important; border-top: 2px solid var(--noir); }
body.pms .pms-num p { margin: 0 0 14px; font-family: var(--f-mono); font-weight: 600; font-size: .8rem; letter-spacing: .06em; color: var(--c-sur); }
body.pms [id^="etape-"] h3.elementor-heading-title { margin-bottom: 8px; }
body.pms [id^="etape-"] .elementor-widget-text-editor p { font-size: .98rem; }

/* Avant, après */
body.pms #chantiers-grille { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
body.pms [id^="paire-"] { --display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 0 4px; }
body.pms .pms-paire-img { overflow: hidden; }
body.pms .pms-paire-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 800px) { body.pms #chantiers-grille { grid-template-columns: minmax(0, 1fr); } }

/* Matériel : illustrations en noir et blanc, pour ne jamais se confondre avec les vraies réalisations en couleur */
body.pms #equipement-grille { --display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
body.pms [id^="outil-"] { --display: flex !important; --flex-direction: column; flex-direction: column; }
body.pms .pms-outil-img { overflow: hidden; border-radius: var(--rayon); }
body.pms .pms-outil-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.08); }
body.pms [id^="outil-"] .pms-legende p { margin: 8px 0 14px; }
body.pms [id^="outil-"] h3.elementor-heading-title { margin-bottom: 8px; }
body.pms [id^="outil-"] .elementor-widget-text-editor:not(.pms-legende) p { font-size: .98rem; }
@media (max-width: 1000px) { body.pms #equipement-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { body.pms #equipement-grille { grid-template-columns: minmax(0, 1fr); } }

body.pms #finitions-grille { --display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 24px); }
body.pms [id^="finition-"] { --display: flex !important; --flex-direction: column; flex-direction: column; padding: 26px 24px !important; background-color: var(--c-carte); border-radius: var(--rayon); border-left: 3px solid var(--ocre); }
body.pms [id^="finition-"] h3.elementor-heading-title { margin-bottom: 8px; }
body.pms [id^="finition-"] .elementor-widget-text-editor p { font-size: .98rem; }

/* Spécialité : le profilé à joint */
body.pms #joint { align-items: center; text-align: center; }
body.pms #joint .pms-sur p { justify-content: center; }
body.pms #joint .elementor-widget-text-editor:not(.pms-sur) p { max-width: 640px; margin-left: auto; margin-right: auto; }
body.pms #joint .pms-btn { margin-top: 14px; }

/* ---------- Professionnels ---------- */
body.pms :is(#profils-grille, #engagements-grille) { --display: grid !important; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 24px); }
body.pms :is([id^="profil-"], [id^="engagement-"]) {
    --display: flex !important; --flex-direction: column; flex-direction: column; align-items: flex-start;
    padding: 28px 26px !important; background-color: var(--c-carte); border-radius: var(--rayon);
}
body.pms :is([id^="profil-"], [id^="engagement-"]) .pms-icone { margin-bottom: 18px; background-color: var(--blanc); }
body.pms--pros #engagements :is([id^="engagement-"]) .pms-icone { background-color: var(--zinc); }
body.pms :is([id^="profil-"], [id^="engagement-"]) h3.elementor-heading-title { margin-bottom: 8px; }
body.pms :is([id^="profil-"], [id^="engagement-"]) .elementor-widget-text-editor p { font-size: .98rem; }

/* ---------- Pages de texte (mentions légales, 404) ---------- */
.pms-page-texte { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gouttiere) clamp(56px, 8vw, 100px); }
.pms-page-texte h1 { margin: 0 0 24px; font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); line-height: .95; text-transform: uppercase; color: var(--noir); }
.pms-page-texte h2 { margin: 40px 0 12px; font-family: var(--f-titre); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--noir); }
.pms-page-texte ul { padding-left: 1.1em; }
.pms-page-texte li { margin-bottom: .4em; }
.pms-page-texte a { color: var(--turquoise-encre); font-weight: 600; }
.pms-legal__retour { margin: 0 0 28px; }
.pms-legal__retour a { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }

/* ---------- Pied de page ---------- */
.pms-pied { position: relative; background-color: var(--noir); color: var(--acier-clair); font-size: .98rem; }
.pms-pied__cordon {
    height: 8px;
    background:
        radial-gradient(circle at 0 50%, transparent 3.6px, rgba(255, 255, 255, .5) 4.1px, rgba(255, 255, 255, 0) 5px) 0 0 / 5px 100% repeat-x,
        var(--cordon);
}
.pms-pied__in { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); max-width: var(--largeur); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gouttiere) 36px; }
.pms-pied__logo { width: 120px; height: auto; margin-bottom: 18px; }
.pms-pied p { margin: 0 0 12px; }
.pms-pied__titre { font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--turquoise); }
.pms-pied ul { list-style: none; margin: 0; padding: 0; }
.pms-pied li { margin: 0 0 10px; }
.pms-pied a { color: var(--blanc); text-decoration: none; }
.pms-pied a:hover { text-decoration: underline; }
.pms-pied__tel { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--f-titre); font-weight: 800; font-size: 1.9rem; letter-spacing: .02em; }
.pms-pied__tel svg { color: var(--ocre); }
.pms-pied p svg { color: var(--turquoise); margin-right: 4px; }
.pms-pied__offre { display: inline-block; margin-top: 8px !important; padding: 8px 12px; border: 1px solid rgba(224, 182, 88, .5); border-radius: 3px; color: var(--ocre); font-weight: 600; font-size: .9rem; }
.pms-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; max-width: var(--largeur); margin: 0 auto; padding: 20px var(--gouttiere) 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.pms-pied__bas p { margin: 0; }
.pms-signature a { color: var(--acier-clair); text-decoration: underline; }
@media (max-width: 860px) { .pms-pied__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barre d'appel mobile ---------- */
.pms-barre-appel { display: none; }
@media (max-width: 768px) {
    .pms-barre-appel {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.2fr 1fr;
        transform: translateY(110%); transition: transform .3s ease; box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .35);
    }
    .pms-barre-appel.is-visible { transform: translateY(0); }
    .pms-barre-appel a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 10px; font-weight: 800; text-decoration: none; }
    .pms-barre-appel__tel { background-color: var(--ocre); color: var(--noir); }
    .pms-barre-appel__offre { background-color: var(--noir); color: var(--blanc); font-size: .92rem; }
    body.pms { padding-bottom: 58px; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) { .pms-barre-appel { transition: none; } }
