/* ==========================================================================
   PSA Rénovation Construction — feuille de style
   Charte : anthracite #1F2937 · dégradé violet → rose · vert nature #6BA539
   Typo   : Montserrat (titres, majuscules) · Open Sans (textes)
   ========================================================================== */

:root {
  /* Couleurs de la charte */
  --ink: #1f2937;
  --ink-2: #384252;
  --ink-3: #6b7280;
  --violet-deep: #6d28d9;
  --violet: #8b3dff;
  --magenta: #d946ef;
  --rose: #ec4899;
  --leaf: #6ba539;
  --trunk: #263238;

  /* Le sol du site : un gris neutre, ni bleuté ni beige. Le beige se
     querellait avec le violet de la charte. Le grain de crépi apporte la
     matière, la couleur reste neutre. */
  --paper: #ffffff;
  --bone: #f4f4f6;
  --bone-2: #eaeaee;
  --line: #e2e2e8;

  /* Grain de crépi : posé sur les fonds clairs, il ne se voit pas,
     il se sent. Généré en SVG, aucune requête réseau. */
  --crepi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23c)' opacity='0.14'/%3E%3C/svg%3E");

  /* Appareillage de briques : sur les aplats sombres, pour qu'ils cessent
     d'être des rectangles lisses et deviennent des murs. */
  --brique: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27168%27 height=%2772%27%3E%3Crect x='0' y='0' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.042'/%3E%3Cpath d='M1.5 0.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M1.5 21.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='56' y='0' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.030'/%3E%3Cpath d='M57.5 0.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M57.5 21.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='112' y='0' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.050'/%3E%3Cpath d='M113.5 0.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M113.5 21.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='0' y='48' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.036'/%3E%3Cpath d='M1.5 48.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M1.5 69.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='56' y='48' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.046'/%3E%3Cpath d='M57.5 48.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M57.5 69.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='112' y='48' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.028'/%3E%3Cpath d='M113.5 48.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M113.5 69.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='-28' y='24' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.040'/%3E%3Cpath d='M-26.5 24.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M-26.5 45.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='28' y='24' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.054'/%3E%3Cpath d='M29.5 24.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M29.5 45.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='84' y='24' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.042'/%3E%3Cpath d='M85.5 24.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M85.5 45.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Crect x='140' y='24' width='54' height='22' rx='1.5' fill='%23ffffff' opacity='0.030'/%3E%3Cpath d='M141.5 24.6h51' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='1.1'/%3E%3Cpath d='M141.5 45.4h51' stroke='%23000000' stroke-opacity='0.22' stroke-width='1.1'/%3E%3C/svg%3E");

  --grad: linear-gradient(100deg, var(--violet-deep) 0%, var(--violet) 34%, var(--magenta) 68%, var(--rose) 100%);
  --grad-soft: linear-gradient(100deg, rgba(109, 40, 217, .09), rgba(236, 72, 153, .09));

  --title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(31, 41, 55, .04), 0 12px 32px -12px rgba(31, 41, 55, .16);
  --shadow-lg: 0 2px 4px rgba(31, 41, 55, .05), 0 28px 60px -24px rgba(31, 41, 55, .28);
  --wrap: 1180px;
  --pill-h: 68px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
  /* Le grain de crépi court sur toute la page, pas seulement sur les sections
     grises : sinon le blanc paraît nu à côté. Assez léger pour ne jamais se
     voir derrière du texte. */
  background-color: var(--paper);
  background-image: var(--crepi);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--title);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
/* Les capitales demandent de l'air : interlettrage positif, jamais négatif. */
h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .008em; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.25rem); font-weight: 800; text-transform: uppercase; letter-spacing: .012em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
/* Surfaces sombres : le gras doit rester lisible (sinon anthracite sur anthracite) */
.pmr strong, .cta-band strong, .simu-out strong, .values strong, footer.site strong { color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sec { padding: clamp(64px, 8vw, 104px) 0; }
#metiers { padding-top: clamp(46px, 5.6vw, 72px); }
.sec-tight { padding: clamp(44px, 5vw, 64px) 0; }
.bone { background-color: var(--bone); background-image: var(--crepi); }

/* --- Eyebrow + filet compagnon ------------------------------------------ */
.eyebrow {
  font-family: var(--title);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--violet);
  margin: 0 0 .9rem;
  display: block;
}
.rule {
  --w: 84px;
  width: var(--w);
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  margin: 0 0 1.6rem;
}
.rule-c { margin-inline: auto; }

/* Séparateur « trait de compagnon » : filet fin + losange central */
.filet {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--line);
}
.filet::before, .filet::after { content: ""; height: 1px; flex: 1; background: currentColor; }
.filet i {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--grad);
  border-radius: 1px;
}

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  white-space: nowrap;
  font-family: var(--title);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34, 1.4, .64, 1), box-shadow .18s, background-color .18s, color .18s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 10px 26px -10px rgba(139, 61, 255, .75);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(217, 70, 239, .8); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--violet); color: var(--violet-deep); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: .78rem; }

/* --- Nav pilule ---------------------------------------------------------- */
.pill-shell {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), opacity .3s;
}
.pill-shell.hidden { transform: translateY(-140%); opacity: 0; }
.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--pill-h);
  padding: 0 10px 0 18px;
  width: min(100% - 40px, var(--wrap));
  /* Verre : c'est le flou qui porte la lisibilité, pas l'opacité. Une pilule
     très transparente laisse voir la page dessous et pèse beaucoup moins. */
  background: rgba(255, 255, 255, .56);
  backdrop-filter: saturate(200%) blur(26px);
  -webkit-backdrop-filter: saturate(200%) blur(26px);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 0 0 1px rgba(255, 255, 255, .42),
    0 1px 2px rgba(31, 41, 55, .04),
    0 16px 44px -20px rgba(31, 41, 55, .34);
}
.pill-logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; flex: none; }
.pill-logo img { height: 40px; width: auto; flex: none; }
.pill nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.pill nav > .btn { display: none; }   /* CTA du menu : réservé au mobile */
.pill nav a {
  font-family: var(--title);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .16s, background-color .16s;
}
.pill nav a:hover { color: var(--violet-deep); background: var(--bone-2); }
.pill nav a[aria-current="page"] { color: var(--violet-deep); background: var(--grad-soft); }
.pill nav a.is-pmr { color: var(--violet-deep); }
.pill nav a.is-pmr::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  margin-right: 7px;
  vertical-align: 1px;
}
.pill .btn { margin-left: 6px; }
.pill-tel {
  flex: none;
  width: 42px; height: 42px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--bone-2);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .18s, color .18s, transform .18s;
}
.pill-tel svg { width: 18px; height: 18px; }
.pill-tel:hover { background: var(--grad); color: #fff; transform: translateY(-1px); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--bone-2);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: rotate(-90deg) translateX(6px); }
.burger[aria-expanded="true"] span::after { opacity: 0; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  /* Le hero occupe l'ecran et son contenu se centre verticalement : sinon il
     se tasse en haut et laisse un vide mort sous le bandeau. */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--pill-h) + 30px) 0 clamp(40px, 4.4vw, 58px);
  background-color: var(--bone);
  /* Le gris se dissout dans le blanc : aucune ligne de coupe en bas d'ecran.
     Distance fixe et non proportionnelle, sinon le fondu s'etire avec la hauteur. */
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) calc(100% - 170px), var(--paper) 100%), var(--crepi);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero h1 { margin-bottom: .34em; }
.hero-sign {
  font-family: var(--title);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 1.2rem;
  text-wrap: balance;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { font-size: 1.08rem; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 2.95; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute;
  left: -26px; bottom: -22px;
  background: #fff;
  border-radius: 20px;
  padding: 17px 24px 17px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(31, 41, 55, .05),
              0 20px 46px -20px rgba(31, 41, 55, .42);
  display: flex; align-items: center; gap: 18px;
}
.hero-badge b {
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--title); font-size: 2.5rem; font-weight: 800; line-height: .9;
}
/* le nombre porte le dégradé, l'unité reste sobre mais collée à lui */
.hero-badge b { background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; }
.hero-badge b i {
  font-style: normal; font-size: .95rem; font-weight: 700;
  letter-spacing: .04em;
}
.hero-badge span {
  font-family: var(--title); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; line-height: 1.5; color: var(--ink-2);
  padding-left: 18px; border-left: 1px solid var(--line);
  white-space: nowrap;
}

/* --- Rail PMR du hero : le nouveau métier, visible sans défiler ---------- */
.pmr-rail {
  position: relative;
  margin-top: clamp(44px, 4.4vw, 56px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 19px clamp(22px, 2.6vw, 30px);
  border-radius: 22px;
  background-color: var(--ink);
  background-image: var(--brique);
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 18px 46px -22px rgba(31, 41, 55, .75);
  transition: transform .28s cubic-bezier(.34, 1.3, .64, 1), box-shadow .28s;
}
.pmr-rail::before {
  content: "";
  position: absolute;
  right: -6%; top: -240%;
  width: 44%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 70, 239, .38), transparent 64%);
  pointer-events: none;
}
.pmr-rail:hover { transform: translateY(-3px); box-shadow: 0 26px 58px -24px rgba(31, 41, 55, .8); }
.pmr-rail > * { position: relative; }
/* Pictogramme d'accessibilité : le repère qui rend le bandeau lisible d'un coup d'œil */
.rail-icon {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px -12px rgba(139, 61, 255, .95);
}
.rail-icon svg { width: 36px; height: 36px; }
.rail-tag {
  display: inline-block;
  margin-bottom: 9px;
  font-family: var(--title); font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em;
  color: #f0abfc;
  background: rgba(217, 70, 239, .16);
  box-shadow: inset 0 0 0 1px rgba(240, 171, 252, .32);
  padding: 5px 10px;
  border-radius: 999px;
}
.rail-txt { flex: 1; min-width: 0; }
.rail-txt b {
  display: block;
  font-family: var(--title); font-weight: 700; font-size: 1.06rem;
  color: #fff; line-height: 1.28; margin-bottom: 3px;
  text-wrap: balance;
}
.rail-sub { display: block; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .74); text-wrap: balance; }
.rail-fig { flex: none; display: flex; align-items: center; gap: 12px; padding-left: clamp(18px, 2.4vw, 30px); border-left: 1px solid rgba(255, 255, 255, .16); }
.rail-fig b {
  font-family: var(--title); font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, #c084fc, #f0abfc 55%, #fbcfe8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.rail-fig em {
  font-style: normal; font-size: .8rem; line-height: 1.32;
  color: rgba(255, 255, 255, .62); white-space: nowrap;
}
.pmr-rail .btn { flex: none; }

/* --- Cartes métiers ------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { grid-template-columns: repeat(2, 1fr); }

/* La carte PMR : même famille, traitement sombre, c'est le nouveau métier */
.card.card-dark { background-color: var(--ink); background-image: var(--brique); position: relative; overflow: hidden; }
.card.card-dark::before {
  content: "";
  position: absolute;
  right: -22%; top: -34%;
  width: 74%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 70, 239, .42), transparent 68%);
  pointer-events: none;
}
.card.card-dark .card-body { position: relative; }
.card.card-dark h3 { color: #fff; }
.card.card-dark p { color: rgba(255, 255, 255, .74); }
.card.card-dark .more { color: #f0abfc; }
.card-badge {
  align-self: flex-start;
  font-family: var(--title); font-size: .64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em;
  color: #fff; background: var(--grad);
  padding: 6px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.card.card-dark .card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31, 41, 55, .82), rgba(31, 41, 55, .06) 62%);
}
.card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34, 1.3, .64, 1), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card h3 { text-transform: uppercase; letter-spacing: .01em; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.card .more {
  margin-top: auto;
  font-family: var(--title); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--violet-deep);
  display: inline-flex; align-items: center; gap: .5em;
}
.card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .more svg { transform: translateX(5px); }

/* --- Bloc PMR (la mise en avant) ----------------------------------------- */
.pmr {
  position: relative;
  background-color: var(--ink);
  background-image: var(--brique);
  color: rgba(255, 255, 255, .78);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4.6vw, 58px);
  overflow: hidden;
}
.pmr::before {
  content: "";
  position: absolute;
  right: -14%; top: -46%;
  width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 70, 239, .34), transparent 66%);
  pointer-events: none;
}
.pmr h2, .pmr h3 { color: #fff; }
.pmr h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); text-wrap: balance; }
.pmr .eyebrow { color: #f0abfc; }
.pmr-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pmr-lede { font-size: 1.06rem; }
.pmr-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 11px; }
.pmr-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.pmr-list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: #f0abfc; }
.pmr-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fig {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  padding: 20px 22px;
}
.fig b {
  display: block;
  font-family: var(--title); font-size: 2rem; font-weight: 800; line-height: 1.05;
  background: linear-gradient(100deg, #c084fc, #f0abfc 60%, #fbcfe8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fig > span { display: block; font-size: .84rem; color: rgba(255, 255, 255, .62); margin-top: 5px; line-height: 1.35; }

/* --- Savoir-faire / compagnons ------------------------------------------- */
.craft-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* L'emblème est détouré : il se pose directement sur l'enduit, sans carte */
.emblem { display: grid; place-items: center; padding: clamp(10px, 2vw, 24px); }
.emblem img { width: 100%; height: auto; max-width: 320px; }
.craft-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 2px; }
.craft-steps li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.craft-steps li:last-child { border-bottom: 1px solid var(--line); }
.craft-steps b {
  font-family: var(--title); font-size: .74rem; font-weight: 800; letter-spacing: .12em;
  color: var(--violet); flex: none; width: 30px; padding-top: 3px;
}
.craft-steps i { font-style: normal; }
.craft-steps i > strong { display: block; font-family: var(--title); text-transform: uppercase; font-size: .88rem; letter-spacing: .04em; margin-bottom: 2px; }
/* Un gras DANS la description reste du gras en ligne, pas un titre */
.craft-steps span strong { color: var(--ink); font-weight: 700; }
.craft-steps span { font-size: .94rem; color: var(--ink-3); }

/* --- Listes de prestations ----------------------------------------------- */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.tags li {
  font-family: var(--title); font-size: .78rem; font-weight: 600;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bone .tags li { background: #fff; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--violet); }

/* --- Duo texte + image --------------------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.duo + .duo { margin-top: clamp(48px, 6vw, 84px); }
.duo img { border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.duo-rev .duo-media { order: -1; }

/* --- Galerie ------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.34, 1.3, .64, 1); }
.gallery img:hover { transform: scale(1.02); }

/* --- Zone d'intervention ------------------------------------------------- */
.zone { display: flex; flex-wrap: wrap; gap: 10px; }
.zone span {
  font-family: var(--title); font-weight: 600; font-size: .84rem;
  padding: 9px 17px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.zone span.hl { background: var(--grad); color: #fff; box-shadow: none; }

/* --- Actualités ---------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: #fff; border-radius: var(--r-lg); padding: 26px 28px 30px;
  text-decoration: none; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.34, 1.3, .64, 1), box-shadow .3s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post time { font-family: var(--title); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.post h3 { margin: .7rem 0 .5rem; font-size: 1.1rem; }
.post p { font-size: .93rem; color: var(--ink-3); margin-bottom: 1.1rem; }
.post .more { margin-top: auto; font-family: var(--title); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--violet-deep); }

/* --- Simulateur ---------------------------------------------------------- */
.simu {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.simu-head { padding: 30px clamp(22px, 3.4vw, 40px); border-bottom: 1px solid var(--line); background: var(--grad-soft); }
.simu-head h2 { margin-bottom: .35rem; }
.simu-head p { margin: 0; font-size: .96rem; color: var(--ink-3); }
.simu-body { display: grid; grid-template-columns: 1.12fr .88fr; }
.simu-form { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 22px; }
.simu-step > b {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--title); font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink);
  margin-bottom: 14px;
}
.simu-step > b em {
  font-style: normal; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .78rem; letter-spacing: 0;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: .98rem; color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 61, 255, .14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 17px; padding-right: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.grid-2 > .field { margin-bottom: 0; }
.grid-2:last-child { margin-bottom: 0; }

.simu-out {
  padding: clamp(22px, 3.4vw, 40px);
  background-color: var(--ink);
  background-image: var(--brique);
  color: rgba(255, 255, 255, .74);
  display: flex; flex-direction: column;
}
.simu-out h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.verdict {
  border-radius: var(--r);
  padding: 15px 17px;
  font-size: .9rem;
  line-height: 1.45;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}
.verdict.ok { border-color: rgba(107, 165, 57, .5); background: rgba(107, 165, 57, .14); color: #d6f0bb; }
.verdict.warn { border-color: rgba(240, 171, 252, .45); background: rgba(217, 70, 239, .14); color: #f6d9fd; }
.verdict b { display: block; font-family: var(--title); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: 3px; color: #fff; }

.lines { list-style: none; margin: 0 0 18px; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .93rem; }
.lines li span { color: rgba(255, 255, 255, .66); }
.lines li b { font-family: var(--title); font-weight: 700; color: #fff; white-space: nowrap; }
.lines li.plus b { color: #d6f0bb; }

.total { padding-top: 4px; }
.total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.total-row span { font-family: var(--title); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .72); }
.total-row b {
  font-family: var(--title); font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, #c084fc, #f0abfc 55%, #fbcfe8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.total .rac { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.total .rac b { background: none; color: #fff; -webkit-text-fill-color: #fff; font-size: 1.5rem; }
.simu-note { font-size: .78rem; line-height: 1.5; color: rgba(255, 255, 255, .5); margin: 18px 0 0; }
.simu-out .btn { margin-top: 18px; }
.simu-foot { padding: 18px clamp(22px, 3.4vw, 40px); background-color: var(--bone); background-image: var(--crepi); font-size: .8rem; color: var(--ink-3); line-height: 1.55; }

/* --- Formulaire de contact ---------------------------------------------- */
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(26px, 3.6vw, 44px); }
.form-msg { border-radius: 12px; padding: 13px 16px; font-size: .92rem; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(107, 165, 57, .13); color: #3f6b1c; border: 1px solid rgba(107, 165, 57, .4); }
.form-msg.ko { background: rgba(236, 72, 153, .1); color: #9d174d; border: 1px solid rgba(236, 72, 153, .35); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }
.info-list svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--violet); }
.info-list b { display: block; font-family: var(--title); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-3); margin-bottom: 2px; }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--violet-deep); }

/* --- Bandeau d'appel ----------------------------------------------------- */
.cta-band { background-color: var(--ink); background-image: var(--brique); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -60%;
  width: 780px; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 61, 255, .3), transparent 65%);
}
.cta-band .wrap { position: relative; text-align: center; padding-block: clamp(52px, 6vw, 78px); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 58ch; margin-inline: auto; color: rgba(255, 255, 255, .72); text-wrap: balance; }
.cta-band h2 { text-wrap: balance; }
.cta-band .hero-cta { justify-content: center; }

/* --- Pied de page -------------------------------------------------------- */
footer.site { background-color: #151c26; color: rgba(255, 255, 255, .6); font-size: .92rem; }
footer.site .wrap { padding-block: clamp(30px, 3.4vw, 40px) 20px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
footer.site img.logo { height: 64px; width: auto; margin-bottom: 10px; }
footer.site h4 { color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 10px; font-weight: 700; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer.site a { text-decoration: none; transition: color .16s; }
footer.site a:hover { color: #f0abfc; }
.foot-sign { font-family: var(--title); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .45); }
.foot-bottom {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between;
  font-size: .82rem; color: rgba(255, 255, 255, .42);
}

/* --- Fil d'Ariane + en-tête de page interne ------------------------------ */
/* En-tête de page interne : même squelette que le hero, avec un visuel à
   droite. Sans lui, la moitié droite reste vide et la page semble cassée. */
.page-head { padding: calc(var(--pill-h) + 56px) 0 clamp(44px, 5vw, 68px); background-color: var(--bone); background-image: var(--crepi); position: relative; }
.page-head .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 58px); align-items: center; }
.page-head-media img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  width: 100%;
}
/* Pages sans visuel : une colonne de texte assumée, pas une grille bancale */
.page-head.plain .wrap { display: block; max-width: min(100% - 40px, 76ch); }

/* Chiffres clés en tête de la page PMR, à la place d'une photo */
.head-figs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.head-figs li {
  background: #fff;
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex; align-items: baseline; gap: 18px;
}
.head-figs b {
  font-family: var(--title); font-size: 1.7rem; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  white-space: nowrap; min-width: 132px;   /* aligne les libellés des 3 cartes */
}
.head-figs span { font-size: .88rem; color: var(--ink-3); line-height: 1.35; }
.crumb { font-size: .82rem; color: var(--ink-3); margin-bottom: 1rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--violet-deep); }
.page-head p.lede { font-size: 1.06rem; max-width: 72ch; margin-bottom: 0; }

/* --- Apparition au défilement -------------------------------------------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; }
.rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; }

/* --- Contenu long (mentions légales) ------------------------------------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: .4rem; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1260px) {
  .pill nav a { padding: 10px 8px; font-size: .755rem; }
  .pill-logo img { height: 36px; }
}
/* En dessous, la nav complète ne tient plus dans la pilule : menu déroulant */
@media (max-width: 1160px) {
  .pill-tel { display: none; }
  .burger { display: flex; }
  .pill > .btn { display: none; }
  .pill nav > .btn { display: inline-flex; margin: 6px 0 0; }
  .pill nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    border-radius: 22px; padding: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .pill nav.open { display: flex; }
  .pill nav a { padding: 13px 16px; font-size: .92rem; border-radius: 14px; }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .hero-grid, .pmr-grid, .craft-grid, .duo, .contact-grid, .simu-body,
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head-media { margin-top: 6px; }
  .duo-rev .duo-media { order: 0; }
  .cards, .posts { grid-template-columns: 1fr 1fr; }
  .pmr-rail { flex-wrap: wrap; gap: 16px 20px; }
  .rail-icon { width: 54px; height: 54px; border-radius: 17px; }
  .rail-icon svg { width: 31px; height: 31px; }
  .rail-txt { flex: 1 1 60%; }
  .rail-fig { border-left: 0; padding-left: 0; }
  .pmr-rail .btn { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .values .wrap { grid-template-columns: 1fr; gap: 0; }
  .value + .value { border-top: 1px solid rgba(255, 255, 255, .13); }
  .value + .value::before { display: none; }
  .hero-badge { left: auto; right: 12px; bottom: -20px; }
  /* Le rail PMR passe devant la photo : il doit rester dans le premier écran */
  .hero .wrap { display: flex; flex-direction: column; }
  .hero-grid { display: contents; }
  .hero-grid > .rv:first-child { order: 1; }
  .pmr-rail { order: 2; margin-top: 26px; }
  .hero-media { order: 3; margin-top: 30px; }
  .hero-media img { aspect-ratio: 4 / 2.9; }
  .craft-canvas { max-width: 320px; }
}
@media (max-width: 720px) {
  :root { --pill-h: 60px; }
  .pill { padding-right: 8px; }
  .pill-logo img { height: 34px; }
  /* Sur mobile, appeler est l'action naturelle : on remet le bouton d'appel */
  .pill-tel { display: grid; width: 40px; height: 40px; margin-left: 0; margin-right: 6px; }
  .cards, .cards-4, .posts, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  /* Une colonne, tout aligné à gauche : icône, texte, chiffre, bouton */
  .pmr-rail { padding: 22px; border-radius: 20px; flex-direction: column; align-items: stretch; gap: 15px; }
  .rail-icon { align-self: flex-start; }
  .rail-fig { justify-content: flex-start; }
  .pmr-rail .btn { margin-left: 0; width: 100%; }
  .rail-fig b { font-size: 2.1rem; }
  /* Hero compact : le rail PMR doit tenir dans le premier écran */
  .hero { padding-top: calc(var(--pill-h) + 34px); }
  .hero-lede { font-size: 1rem; }
  .hero-sign { font-size: 1rem; margin-bottom: .9rem; }
  .hero-cta { margin-top: 1.3rem; gap: 10px; }
  .pmr-rail { margin-top: 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .pmr-figures { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-badge { position: static; margin-top: 16px; display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .06s !important; }
}

/* ==========================================================================
   INCARNATION — les composants qui font parler l'entreprise plutôt que
   décrire une offre. Ajoutés après le retour « ça fait agence marketing ».
   ========================================================================== */

/* --- Bloc signé : le gérant parle à la première personne ------------------ */
.signe { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.signe-media > img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  width: 100%;
}
.signe blockquote { margin: 0; }
.signe blockquote p { font-size: 1.06rem; }
.signe blockquote p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.signe-nom {
  display: flex; align-items: center; gap: 20px;
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.signe-nom img { height: 62px; width: auto; opacity: .92; }
.signe-nom span {
  font-family: var(--title); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3);
  line-height: 1.5;
}
.signe-nom span b { display: block; color: var(--ink); font-size: .86rem; letter-spacing: .1em; }

/* --- Liste de prestations groupée, à la place des pastilles --------------- */
.corps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 42px); }
.corps h3 {
  font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--violet-deep);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.corps ul { list-style: none; margin: 0; padding: 0; }
.corps li { padding: 7px 0; font-size: .98rem; border-bottom: 1px solid var(--line); }
.corps li:last-child { border-bottom: 0; }

/* --- Communes : une phrase, pas des boutons ------------------------------- */
.communes { font-size: 1.06rem; max-width: 68ch; }
.communes b { font-weight: 600; color: var(--ink); }

/* --- Chiffres posés sur un filet, sans carte ------------------------------ */
.chiffres { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chiffres li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: baseline; gap: 20px; }
.chiffres li:first-child { border-top: 0; padding-top: 0; }
.chiffres b {
  font-family: var(--title); font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, #c084fc, #f0abfc 55%, #fbcfe8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  white-space: nowrap; min-width: 140px;
}
.chiffres span { font-size: .92rem; color: rgba(255, 255, 255, .66); line-height: 1.4; }

/* --- Une assise de briques assumée, à un seul endroit --------------------- */


/* --- Cachet d'atelier ---------------------------------------------------- */
.cachet {
  width: 118px; height: 118px; flex: none;
  color: var(--violet-deep); opacity: .55;
  transform: rotate(-8deg);   /* valeur de repli : le défilement la remplace */
  will-change: transform;
}
.cachet text { font-family: var(--title); font-weight: 700; }

/* --- Questions qu'on lui pose vraiment ------------------------------------ */
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px) clamp(30px, 4vw, 60px); }
.questions h3 { font-size: 1.02rem; text-transform: none; letter-spacing: 0; margin-bottom: .5rem; }
.questions h3::before { content: "« "; color: var(--violet); }
.questions h3::after { content: " »"; color: var(--violet); }
.questions p { font-size: .97rem; color: var(--ink-2); margin: 0; }

@media (max-width: 900px) {
  .signe, .questions { grid-template-columns: 1fr; }
  .corps { grid-template-columns: 1fr 1fr; }
  .signe-media { order: -1; max-width: 340px; }
}
@media (max-width: 720px) {
  .corps { grid-template-columns: 1fr; }
  .chiffres b { min-width: 118px; font-size: 1.6rem; }
  .assise { height: 56px; }
}

/* Emblème des Compagnons + cachet d'atelier, sous la signature */
.signe-marques { display: flex; align-items: center; gap: 28px; margin-top: 1.6rem; }
.signe-marques img { height: 88px; width: auto; opacity: .9; }

/* Liste de prestations sur deux colonnes, à la place des pastilles */
.liste { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(30px, 4vw, 56px); max-width: 74ch; }
.liste li { break-inside: avoid; padding: 8px 0; font-size: .98rem; border-bottom: 1px solid var(--line); }
@media (max-width: 620px) { .liste { columns: 1; } }

/* --- Schéma de salle de bains adaptée, sur le bloc financement ------------ */
.schema { width: 100%; height: auto; display: block; margin-bottom: clamp(20px, 2.6vw, 32px); }
.schema .trait { stroke: rgba(255, 255, 255, .58); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.schema .fin { stroke: rgba(255, 255, 255, .13); fill: none; stroke-width: 1; }
.schema .cle { stroke: url(#degrade); fill: none; stroke-width: 5.4; stroke-linecap: round; }
.schema .repere { stroke: rgba(240, 171, 252, .42); fill: none; stroke-width: 1; }
.schema text { font-family: var(--title); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; fill: rgba(255, 255, 255, .68); text-transform: uppercase; }

/* ==========================================================================
   PASSE MOBILE — un enfant de grille a min-width:auto par défaut, donc il
   refuse de rétrécir sous la largeur de son contenu et fait déborder la
   page. C'est la cause n°1 des débordements horizontaux.
   ========================================================================== */
.hero-grid > *, .pmr-grid > *, .craft-grid > *, .duo > *, .contact-grid > *,
.simu-body > *, .signe > *, .corps > *, .questions > *, .page-head .wrap > * { min-width: 0; }

/* Cibles tactiles : un lien de pied de page faisait 20px de haut */
/* Le rythme du pied de page ne doit pas dependre du fait qu'une ligne soit un lien */
footer.site ul li { padding: 3px 0; }
footer.site ul a { display: inline-block; }
.crumb a { display: inline-block; padding: 7px 0; }
.pill-logo { padding: 5px 0; }

@media (max-width: 720px) {
  /* Les chiffres passent en colonne : le nombre et sa légende ne se
     disputent plus une largeur qu'ils n'ont pas. */
  .chiffres li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 0; }
  .chiffres b { min-width: 0; font-size: 1.75rem; }
  .chiffres span { font-size: .9rem; }
  .head-figs li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .head-figs b { min-width: 0; }

  /* Le bloc PMR et le simulateur respirent moins large */
  .pmr { padding: 26px 20px; border-radius: 20px; }
  .simu-head, .simu-form, .simu-out, .simu-foot { padding-left: 20px; padding-right: 20px; }
  .simu-step > b { font-size: .8rem; }

  /* Lisibilité : rien sous 12px sur un téléphone */
  .eyebrow { font-size: .78rem; letter-spacing: .18em; }
  .rail-tag, .card-badge { font-size: .75rem; }
  .schema text { font-size: 15px; }

  /* Le schéma prend toute la largeur disponible */
  .schema { margin-bottom: 22px; }

  /* Le bloc signé : portrait raisonnable, marques centrées */
  .signe-media { max-width: 100%; margin-inline: 0; }
  .signe-nom { flex-wrap: wrap; gap: 12px 18px; }
  .signe-nom img { height: 52px; }
  .signe-nom span { font-size: .8rem; }
  .signe-nom span b { font-size: .92rem; }
  .signe-marques img { height: 74px; }
  .cachet { width: 100px; height: 100px; }

  /* Galerie : deux colonnes, c'est plus lisible qu'une seule très haute */
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Les listes à colonnes repassent en une seule */
  .liste { columns: 1; }
}

@media (max-width: 400px) {
  .btn { padding: 14px 20px; font-size: .8rem; }
  .hero-cta .btn { width: 100%; }
  .chiffres b { font-size: 1.6rem; }
  .signe-marques { gap: 18px; }
}

/* --- Barre de résultat collée en bas, sur téléphone uniquement -----------
   Sans elle, il faut remplir dix champs avant de voir le moindre chiffre :
   la promesse « l'estimation se met à jour au fur et à mesure » ne tient
   plus dès qu'on passe sur un écran étroit. */
.simu-mini { display: none; }
@media (max-width: 900px) {
  .simu-mini {
    display: flex;
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    background: rgba(31, 41, 55, .93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -8px 28px -12px rgba(31, 41, 55, .6);
    transform: translateY(110%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  }
  .simu-mini.on { transform: none; }
  .simu-mini span {
    font-family: var(--title); font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255, 255, 255, .68);
  }
  .simu-mini b {
    font-family: var(--title); font-size: 1.4rem; font-weight: 800;
    color: #fff; white-space: nowrap;
  }
}

/* --- Carte de France : le Gard mis en évidence, repère sur Vergèze -------- */
.carte { width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto; }
.c-pays { fill: #e0e0e7; }
.c-region { fill: #cfc6dd; }
.c-gard { fill: url(#gardGrad); }
.c-point { fill: #fff; stroke: var(--violet-deep); stroke-width: 2.5; }
.c-onde { fill: none; stroke: var(--violet); stroke-width: 2; opacity: 0;
  /* sur un SVG, transform-origin se refere au viewBox : il faut le ramener
     a la boite de l'element, sinon l'onde part a l'autre bout de la carte */
  transform-box: fill-box; transform-origin: center;
  animation: onde 2.8s ease-out infinite; }
.c-onde2 { animation-delay: 1.4s; }
.c-nom {
  font-family: var(--title); font-size: 15px; font-weight: 700;
  letter-spacing: .06em; fill: var(--ink);
}
@keyframes onde {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(3.4); }
  100% { opacity: 0;   transform: scale(3.4); }
}
@media (prefers-reduced-motion: reduce) { .c-onde { animation: none; opacity: .3; } }
@media (max-width: 900px) { .carte { max-width: 320px; margin-top: 30px; } }
.zone-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.zone-grid > * { min-width: 0; }
@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }

/* --- Les valeurs P · S · A, dans le bloc du gérant ------------------------
   Elles ferment la liste des étapes au lieu de flotter en dessous : même
   filet, même rythme, la dernière ligne du même tableau. */
.craft-steps li:last-child { border-bottom: 1px solid var(--line); }
.valeurs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.2vw, 44px);
  margin-top: clamp(30px, 3.6vw, 44px);
  /* un fond teinté : les trois lettres se posent dessus au lieu de flotter */
  background: var(--grad-soft);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 38px) clamp(24px, 3vw, 36px);
}
.valeurs > div { display: flex; gap: 15px; }
.valeurs b {
  flex: none;
  font-family: var(--title); font-size: 2.35rem; font-weight: 800; line-height: .78;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.valeurs i {
  display: block;
  font-style: normal; font-family: var(--title); font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; font-size: .8rem; color: var(--ink);
}
.valeurs span { display: block; font-size: .93rem; color: var(--ink-3); line-height: 1.45; margin-top: 5px; }
@media (max-width: 780px) { .valeurs { grid-template-columns: 1fr; gap: 22px; } }

/* --- Recevoir l'estimation par mail, au pied du simulateur ---------------- */
.envoi {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  gap: 10px;
}
.envoi b {
  font-family: var(--title); font-size: .92rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: #fff;
}
.envoi > p { font-size: .88rem; color: rgba(255, 255, 255, .66); margin: -4px 0 4px; line-height: 1.45; }
.envoi-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.envoi input {
  font-family: var(--body); font-size: .95rem; color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .16s, background-color .16s;
}
.envoi input::placeholder { color: rgba(255, 255, 255, .48); }
.envoi input:focus {
  outline: none;
  border-color: #f0abfc;
  background: rgba(255, 255, 255, .12);
}
.envoi .btn { width: 100%; }
.envoi-note { font-size: .76rem; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.envoi .form-msg.ok { background: rgba(107, 165, 57, .18); color: #d6f0bb; border-color: rgba(107, 165, 57, .45); }
.envoi .form-msg.ko { background: rgba(236, 72, 153, .16); color: #fbcfe8; border-color: rgba(236, 72, 153, .4); }
@media (max-width: 520px) { .envoi-champs { grid-template-columns: 1fr; } }



/* Le bloc du gérant se termine sur ses valeurs : pas de vide au-dessous */
#gerant { padding-bottom: clamp(44px, 5vw, 62px); }

/* ==========================================================================
   ACCESSIBILITÉ — une entreprise qui vend l'accessibilité ne peut pas avoir
   un site qui s'utilise mal au clavier.
   ========================================================================== */
.skip {
  position: fixed;
  top: 10px; left: 50%;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-family: var(--title); font-size: .82rem; font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}
.skip:focus { transform: translate(-50%, 0); }

/* Un anneau de focus visible et constant, sur clair comme sur sombre */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.pmr :focus-visible, .cta-band :focus-visible, .simu-out :focus-visible,
footer.site :focus-visible, .card.card-dark :focus-visible, .pmr-rail:focus-visible {
  outline-color: #f0abfc;
}
.btn:focus-visible { outline-offset: 4px; }

/* Les guillemets appartiennent aux vraies questions, pas aux engagements */
.questions.engagements h3::before, .questions.engagements h3::after { content: none; }

/* Renvoi vers l'espace professionnels, depuis la page PMR */
.pmr-pro { grid-template-columns: 1.28fr .72fr; align-items: center; }
.pmr-pro-cta { text-align: right; }
@media (max-width: 900px) {
  .pmr-pro { grid-template-columns: 1fr; }
  .pmr-pro-cta { text-align: left; }
  .pmr-pro-cta .btn { width: 100%; }
}
@media (max-width: 720px) { .info-list b { font-size: .8rem; } }

/* ==========================================================================
   TÉLÉPHONE — le pied de page se range (27/08/2026)
   Une colonne de dix-sept lignes espacées faisait deux écrans. Logo et
   signature sur une ligne, métiers et secteur côte à côte, contact en ligne.
   ========================================================================== */
@media (max-width: 720px) {
  .saut br { display: none; }
  .saut::after { content: " "; }
  .saut.point::after { content: " · "; }
  footer.site .wrap { padding-block: 30px 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
  footer.site img.logo { height: 44px; margin: 0; }
  .foot-sign { margin: 0; font-size: .7rem; }
  footer.site h4 { font-size: .7rem; margin-bottom: 8px; }
  footer.site ul { gap: 1px; }
  footer.site ul li { padding: 3px 0; }
  footer.site li { font-size: .88rem; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child ul { display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .foot-bottom { margin-top: 16px; padding-top: 12px; gap: 4px 12px; font-size: .76rem; }
}

/* Le lien texte dans le bandeau sombre reste lisible */
.cta-band p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
