/* =========================================================
   ATS Serrurerie : direction artistique « atelier »
   Papier crème, encre marine du logo, jaune signalétique.
   Titres Archivo élargi (plaque gravée), prix en mono (étiquette).
   Angles droits, filets d'encre, ombres dures.
   ========================================================= */

:root {
  --ink: #051728;            /* marine du logo */
  --ink-2: #163247;
  --ink-soft: #4A5866;
  --paper: #F2EEE5;          /* papier crème */
  --paper-2: #E8E2D5;        /* papier plus soutenu */
  --white: #FFFDF8;
  --yellow: #F8C404;         /* jaune du logo */
  --yellow-soft: #FBE38A;
  --rule: rgba(5, 23, 40, .16);
  --green: #2E6B47;

  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: var(--font-body); /* plus de mono : labels en Nunito Sans */

  --container: 1240px;
  --gutter: 28px;
  --section: 104px;
  --header-h: 78px;
  --b: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --t: .2s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  counter-reset: sec;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h3 { letter-spacing: -0.005em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--white); border-top: var(--b); border-bottom: var(--b); }
.section--white + .section--white { border-top: 0; }
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__head--center { /* volontairement aligné à gauche */ }
.section__title { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.section__intro { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }

/* Étiquette de section numérotée : 01 — Tarifs */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: .82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  background: var(--ink); color: var(--yellow);
  padding: 3px 7px; font-weight: 600;
}
.eyebrow::after { content: ""; flex: 1; max-width: 120px; height: 2px; background: var(--ink); }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--yellow); color: var(--ink); padding: 10px 16px; border: var(--b); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }

/* Profil de clé (dents) utilisé comme séparateur */
.key-edge, .footer::before, .cta-band::before {
  --teeth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V10h18l6-8 8 8h14l5-6 7 6h22l7-9 9 9h12l4-5 6 5h20l8-8 7 8h16l5-4 6 4h24l7-7 6 7h14V24z' fill='black'/%3E%3C/svg%3E");
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  padding: 14px 22px;
  border: var(--b);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-call { background: var(--yellow); }
.btn-secondary { background: var(--white); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 9px 14px; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-lg { padding: 18px 28px; font-size: 1.12rem; }
.btn .icon { width: 1.15em; height: 1.15em; }
/* boutons posés sur fond encre */
.on-ink .btn, .hero .btn-ghost, .cta-band .btn-ghost { }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800;
  text-decoration: none; border-bottom: 3px solid var(--yellow); padding-bottom: 2px;
  transition: gap var(--t);
}
.link-arrow:hover { gap: 14px; }
.link-arrow .icon { width: 18px; height: 18px; }
.center-link { margin: 40px 0 0; }

/* ---------- Barre du haut & en-tête ---------- */
.topbar { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; }
.topbar__inner { display: flex; justify-content: center; text-align: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 14px; height: 14px; color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: var(--b); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.header__logo img { height: 56px; width: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none; color: var(--ink);
  border: 2px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.nav__link:hover { border-color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--ink); color: var(--paper); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { font-family: var(--font-mono); font-weight: 600; }
.burger { display: none; width: 46px; height: 46px; background: var(--white); border: var(--b); cursor: pointer; color: var(--ink); padding: 8px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; border-bottom: var(--b); overflow: hidden; }
.hero > .container { max-width: none; padding: 0; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: min(78vh, 720px); }
.hero__grid > * { min-width: 0; }
.hero__grid > div:first-child {
  padding: 72px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  background: var(--yellow); border: var(--b); padding: 5px 10px; margin-bottom: 26px;
}
.hero__badge .icon { width: 15px; height: 15px; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; margin-bottom: 26px; }
.hero__title span {
  display: block; margin-top: 18px;
  font-size: .32em; line-height: 1.25; letter-spacing: 0;
  max-width: 34ch;
}
.hero__title span::before { content: ""; display: inline-block; width: 38px; height: .55em; background: var(--yellow); border: 2px solid var(--ink); margin-right: 12px; vertical-align: -.02em; }
.hero__text { font-size: 1.15rem; color: var(--ink-soft); max-width: 54ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__visual { position: relative; border-left: var(--b); min-height: 420px; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.hero__tag {
  position: absolute; left: -46px; bottom: 64px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--yellow); border: var(--b); box-shadow: var(--shadow);
  padding: 14px 22px 14px 16px;
  transform: rotate(-4deg);
  font-family: var(--font-mono); font-size: .85rem; line-height: 1.3; text-transform: uppercase;
}
.hero__tag::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); flex-shrink: 0; }
.hero__tag strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; text-transform: none; }
.hero__strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: var(--b); background: var(--ink); color: var(--paper);
}
.hero__strip li { display: flex; align-items: center; gap: 14px; padding: 22px var(--gutter); font-size: .95rem; }
.hero__strip li + li { border-left: 2px solid rgba(242, 238, 229, .2); }
.hero__strip li:first-child { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.hero__strip .icon { width: 30px; height: 30px; color: var(--yellow); }
.hero__strip strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--white); }
.icon-door { width: 120px; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { border-bottom: var(--b); background: var(--paper); }
.page-hero > .container { display: grid; grid-template-columns: 1fr; gap: 0; }
.page-hero--img > .container { grid-template-columns: 1.25fr .75fr; max-width: none; padding-right: 0; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.page-hero__body { padding: 56px var(--gutter) 64px 0; }
.page-hero > .container > .breadcrumb, .page-hero > .container > h1, .page-hero > .container > p, .page-hero > .container > .page-hero__ctas { max-width: 860px; }
.page-hero:not(.page-hero--img) > .container { padding-top: 56px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .98; margin-bottom: 22px; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.page-hero__img { margin: 0; border-left: var(--b); position: relative; min-height: 340px; }
.page-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.breadcrumb { font-family: var(--font-mono); font-size: .8rem; margin-bottom: 22px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.breadcrumb a { text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--yellow); }
.breadcrumb span { margin: 0 8px; }

/* ---------- Tableau de prix « vitrine » (accueil, communes) ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--b); background: var(--white); box-shadow: var(--shadow); }
.price-card { padding: 30px 28px; position: relative; }
.price-card + .price-card { border-left: var(--b); }
.price-card__when { margin: 14px 0 0; font-family: var(--font-mono); font-size: .85rem; color: var(--ink-soft); }
.price-card__amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; margin: 10px 0 6px; letter-spacing: -0.03em; }
.price-card__what { margin: 0; font-weight: 600; }
.price-card--dark { background: var(--ink); color: var(--paper); }
.price-card--dark .price-card__amount { color: var(--yellow); }
.price-card--dark .price-card__when { color: rgba(242, 238, 229, .7); }

.slot__tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 8px; border: 2px solid var(--ink); background: var(--paper);
}
.slot__tag--mid { background: var(--yellow-soft); }
.slot__tag--night { background: var(--ink); color: var(--yellow); }
.price-card--dark .slot__tag--night { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Créneaux horaires */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--b); background: var(--white); }
.slot { display: flex; flex-direction: column; gap: 2px; padding: 26px; }
.slot + .slot { border-left: var(--b); }
.slot strong { font-family: var(--font-display); font-size: 1.25rem; margin-top: 14px; }
.slot span { color: var(--ink-soft); }
.slot .slot__rate { margin-top: 16px; padding-top: 12px; border-top: 2px dashed var(--rule); color: var(--ink); font-family: var(--font-mono); font-weight: 600; font-size: .95rem; }
.slot .slot__tag { color: var(--ink); }
.slot .slot__tag--night { color: var(--yellow); }

/* Tableaux de prix détaillés */
.ptable-wrap { margin-bottom: 8px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border: var(--b); }
.ptable caption {
  caption-side: top; text-align: left;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  padding-bottom: 14px;
}
.ptable caption span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .82rem; color: var(--ink-soft); margin-top: 6px; letter-spacing: .01em; }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable thead th { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 0; }
.ptable thead th small { display: block; font-weight: 400; text-transform: none; opacity: .7; }
.ptable thead th:not(:first-child), .ptable td { text-align: right; }
.ptable thead th:last-child { color: var(--yellow); }
.ptable tbody th { font-weight: 700; font-size: 1.02rem; }
.ptable tbody th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.ptable td { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.ptable tbody tr:hover { background: #FFF7D6; }
.ptable__note { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; }
.spacer { height: 40px; }

/* ---------- Cartes prestations ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: var(--b);
  padding: 26px;
  transition: transform var(--t), box-shadow var(--t);
}
.service-card--link { text-decoration: none; color: inherit; padding: 0; }
.service-card--link:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--b); background: var(--paper-2); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .5s ease; }
.service-card--link:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border: var(--b); background: var(--paper); margin-bottom: 18px; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card--link .service-card__icon { display: none; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); margin: 0; font-size: .98rem; flex: 1; }
.service-card p a { color: var(--ink); }
.service-card__price {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 20px; padding-top: 14px; border-top: 2px dashed var(--rule);
  font-family: var(--font-mono); font-weight: 600; font-size: .95rem;
}
.service-card--link .service-card__price::after { content: "→"; font-size: 1.2rem; transition: transform var(--t); }
.service-card--link:hover .service-card__price::after { transform: translateX(4px); }
.service-card--urgent .service-card__price { color: var(--ink); }
.service-card--urgent { background: var(--yellow); }
.service-card--urgent p { color: var(--ink); }
.service-card--urgent .service-card__icon { background: var(--white); }
.service-card--urgent .service-card__price { border-top-color: rgba(5, 23, 40, .35); }
.services__note { margin-top: 20px; font-family: var(--font-mono); font-size: .85rem; color: var(--ink-soft); }

/* ---------- Engagements (trust) ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--b); }
.why__grid--3 { grid-template-columns: repeat(3, 1fr); }
.why__item { padding: 28px 24px 8px 0; }
.why__item + .why__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.why__item .icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--ink); background: var(--yellow); border: var(--b); padding: 5px; }
.why__item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why__item p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.why__item a { color: var(--ink); }

/* ---------- Zones ---------- */
.zone__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zone__card {
  position: relative; min-height: 380px; border: var(--b); box-shadow: var(--shadow);
  background: var(--ink) url("/assets/img/photos/comedie-800.jpg") center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; overflow: hidden;
}
.zone__card strong, .zone__card span { position: relative; z-index: 1; background: var(--yellow); align-self: flex-start; padding: 6px 14px; border-top: var(--b); border-right: var(--b); }
.zone__card strong { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.zone__card span { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .85rem; border-color: var(--ink); }
.zone__card .icon-pin { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; padding: 8px; background: var(--yellow); color: var(--ink); border: var(--b); z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.chip {
  display: inline-block; text-decoration: none;
  font-family: var(--font-mono); font-size: .88rem; font-weight: 500;
  border: var(--b); background: var(--white); padding: 6px 12px;
  transition: background var(--t);
}
a.chip:hover { background: var(--yellow); }
.chip--main { background: var(--ink); color: var(--paper); }
a.chip--main:hover { color: var(--ink); }
.zones-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.zones-list__group { background: var(--white); border: var(--b); padding: 26px; }
.zones-list__group h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.zones-list__group h3 small { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; background: var(--yellow); border: var(--b); padding: 2px 8px; }
.zones-list__group .chips { margin: 6px 0 0; }
.zones-list__group p { margin: 0; color: var(--ink-soft); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: none; border-top: var(--b); }
.step { padding: 26px 26px 10px 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--rule); }
.step__num {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 4rem; line-height: 1; margin-bottom: 18px;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.step__num::before { content: "0"; }
.step:hover .step__num { color: var(--yellow); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Colonnes de texte ---------- */
.text-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: var(--b); }
.text-cols > div { padding: 26px 28px 0 0; }
.text-cols > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.text-cols h3 { font-size: 1.2rem; }
.text-cols p { color: var(--ink-soft); }
.text-cols a { color: var(--ink); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- Niveaux de cylindre ---------- */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--b); background: var(--white); }
.level { padding: 26px; }
.level + .level { border-left: var(--b); }
.level::before { content: ""; display: block; height: 12px; margin-bottom: 18px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--yellow) var(--fill), transparent var(--fill)); }
.level:nth-child(1) { --fill: 25%; }
.level:nth-child(2) { --fill: 50%; }
.level:nth-child(3) { --fill: 75%; }
.level:nth-child(4) { --fill: 100%; }
.level h3 { font-size: 1.2rem; margin-bottom: 6px; }
.level p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.level--top { background: var(--yellow-soft); }

/* ---------- À propos ---------- */
.about__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about__photo { position: relative; aspect-ratio: 4 / 5; border: var(--b); box-shadow: var(--shadow); background: var(--paper-2); overflow: hidden; display: grid; place-items: center; color: var(--ink-soft); font-family: var(--font-mono); font-size: .85rem; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.about__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--yellow); border-top: var(--b); border-right: var(--b); padding: 6px 12px; font-family: var(--font-mono); font-size: .8rem; color: var(--ink); }
.about__sign { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; border-left: 6px solid var(--yellow); padding-left: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; border-top: var(--b); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 60px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  border: var(--b); font-family: var(--font-mono); font-size: 1.2rem; background: var(--white);
  transition: background var(--t);
}
.faq details[open] summary::after { content: "−"; background: var(--yellow); }
.faq details p { padding: 0 60px 22px 0; margin: 0; color: var(--ink-soft); }
.faq details a { color: var(--ink); }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--yellow); border-top: var(--b); position: relative; padding: 0; }
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px;
  background: var(--yellow); -webkit-mask: var(--teeth) repeat-x 0 0 / 240px 20px; mask: var(--teeth) repeat-x 0 0 / 240px 20px;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 64px 0; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 8px; max-width: 18ch; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-band .btn-call { background: var(--ink); color: var(--yellow); font-family: var(--font-mono); font-size: 1.3rem; }
.cta-band .btn-ghost { background: var(--white); }

/* ---------- Contact & formulaire ---------- */
.contact__layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact__info { border-top: var(--b); }
.contact__info li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact__info .icon { width: 40px; height: 40px; padding: 8px; border: var(--b); background: var(--yellow); }
.contact__info strong { display: block; font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; margin-bottom: 2px; }
.contact__info a { color: var(--ink); }
.contact__phone { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; text-decoration: none; }
.form { background: var(--white); border: var(--b); box-shadow: var(--shadow); padding: 34px; }
.form__title { font-size: 1.6rem; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { margin-bottom: 18px; }
.form label { display: block; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 13px 14px;
  border: var(--b); background: var(--paper); color: var(--ink); border-radius: 0;
  transition: background var(--t), box-shadow var(--t);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--white); box-shadow: 4px 4px 0 var(--yellow); }
.form textarea { min-height: 130px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; }
.form__consent { display: flex !important; gap: 10px; align-items: flex-start; font-family: var(--font-body) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: .88rem !important; color: var(--ink-soft); }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ink); }
.form__status { margin-top: 16px; font-weight: 600; }
.form__status--ok { color: var(--green); }
.form__status--error { color: #B42318; }

/* ---------- Simulateur ---------- */
.estimator { max-width: 820px; background: var(--white); border: var(--b); box-shadow: var(--shadow); padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.estimator__field label { display: block; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.estimator select { width: 100%; font: inherit; padding: 13px 14px; border: var(--b); background: var(--paper); border-radius: 0; color: var(--ink); }
.estimator__check { display: flex !important; align-items: center; gap: 10px; font-family: var(--font-body) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; font-weight: 500 !important; }
.estimator__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.estimator__check small { color: var(--ink-soft); }
.estimator__result { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; background: var(--ink); color: var(--paper); padding: 22px 24px; margin: 6px -34px -34px; border-top: var(--b); }
.estimator__result > span { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.estimator__result strong { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--yellow); flex: 1; line-height: 1; }
.estimator__result .btn { box-shadow: 4px 4px 0 var(--yellow); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(242, 238, 229, .78); padding: 72px 0 28px; font-size: .96rem; position: relative; margin-top: 20px; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px;
  background: var(--ink); -webkit-mask: var(--teeth) repeat-x 0 0 / 240px 20px; mask: var(--teeth) repeat-x 0 0 / 240px 20px;
}
.cta-band + .footer, main:has(> .cta-band:last-child) + .footer { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__logo img { height: 60px; width: auto; margin-bottom: 18px; }
.footer h3 { color: var(--yellow); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem; color: var(--yellow) !important; }
.footer__phone .icon { width: 18px; height: 18px; }
.footer__credit { font-weight: 800; color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(242, 238, 229, .2); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: .78rem; }

/* ---------- Bouton d'appel fixe mobile ---------- */

/* ---------- Pages légales ---------- */
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal mark { background: var(--yellow-soft); padding: 0 4px; }
.breadcrumb--light { color: var(--ink-soft); }

/* =========================================================
   Typographie et boutons façon samlock
   ========================================================= */
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .005em; line-height: 1.02; }
h3, h4 { font-family: var(--font-body); font-weight: 800; letter-spacing: 0; line-height: 1.25; }
.hero__title { line-height: .98; }
.hero__title span { font-family: var(--font-body); font-weight: 800; font-size: .3em; color: var(--ink); }
.price-card__amount, .zone__card strong, .step__num, .contact__phone, .estimator__result strong, .hero__tag strong, .ptable td, .footer__phone, .form__title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: .01em;
}
.ptable td { font-size: 1.45rem; }
.ptable caption { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.form__title { font-size: 2.1rem; line-height: 1; }
.contact__phone { font-size: 2rem; }
.footer__phone { font-size: 1.6rem; }
/* labels : majuscules espacées, comme les « eyebrows » de samlock */
.eyebrow, .hero__badge, .slot__tag, .breadcrumb, .ptable thead th, .footer h3, .contact__info strong, .form label, .estimator__field label, .estimator__result > span, .hero__tag, .chip, .zones-list__group h3 small {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .12em;
}
.chip, .form label, .estimator__field label, .contact__info strong { letter-spacing: .02em; }
.chip { font-weight: 700; }
.form label, .estimator__field label { text-transform: none; font-size: .92rem; }
.topbar, .price-card__when, .slot .slot__rate, .ptable caption span, .ptable__note, .services__note, .service-card__price, .zone__card span, .about__photo, .about__photo figcaption, .footer__bottom, .faq summary::after { font-family: var(--font-body); letter-spacing: 0; }
.service-card__price, .slot .slot__rate { font-weight: 800; }
.faq summary, .nav__link, .link-arrow, .about__sign, .slot strong, .hero__strip strong { font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }

/* Boutons : pleins, coins arrondis 6px, sans ombre décalée */
.btn, .btn-sm, .btn-lg {
  font-family: var(--font-body); font-weight: 800; letter-spacing: 0;
  border: 2px solid transparent; border-radius: 6px; box-shadow: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover, .btn-sm:hover { transform: translateY(-1px); box-shadow: none; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-call { background: var(--yellow); color: var(--ink); }
.btn-call:hover { background: #E5B300; }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-secondary:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.header__actions .btn { font-family: var(--font-body); }
.cta-band .btn-call { background: var(--ink); color: var(--yellow); font-family: var(--font-body); font-size: 1.15rem; }
.cta-band .btn-call:hover { background: var(--ink-2); }
.cta-band .btn-ghost { background: transparent; border-color: var(--ink); }
.estimator__result .btn { box-shadow: none; }
.burger { border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 8px 8px; font-size: .9rem; }
  .header__phone-text { display: none; }
}
@media (max-width: 1024px) {
  :root { --section: 80px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .steps, .levels { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3), .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__item:nth-child(n+3), .step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .level:nth-child(3) { border-left: 0; }
  .level:nth-child(n+3) { border-top: var(--b); }
  .zone__layout, .contact__layout { grid-template-columns: 1fr; }
  .text-cols { grid-template-columns: 1fr; }
  .text-cols > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: var(--b);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 4px; border: 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav__link[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 6px 0 0 var(--yellow); padding-left: 16px; }
  .topbar .topbar__right { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__grid > div:first-child { padding: 44px var(--gutter) 40px; }
  .hero__visual { border-left: 0; border-top: var(--b); min-height: 300px; }
  .hero__tag { left: var(--gutter); right: auto; bottom: auto; top: -28px; max-width: calc(100% - 2 * var(--gutter)); font-size: .78rem; padding: 10px 16px 10px 12px; }
  .hero__tag strong { font-size: 1.6rem; }
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip li:first-child { padding-left: var(--gutter); }
  .hero__strip li + li { border-left: 0; border-top: 1px solid rgba(242, 238, 229, .2); }
  .page-hero--img > .container { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); }
  .page-hero__body { padding: 40px 0 36px; }
  .page-hero__img { border-left: 0; border-top: var(--b); min-height: 220px; margin: 0 calc(-1 * var(--gutter)); }
  .page-hero:not(.page-hero--img) > .container { padding-top: 40px; padding-bottom: 44px; }
  .price-cards, .slots { grid-template-columns: 1fr; }
  .price-card + .price-card, .slot + .slot { border-left: 0; border-top: var(--b); }
  .why__grid--3 { grid-template-columns: 1fr; }
  .why__grid--3 .why__item + .why__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .about__layout { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 420px; }
  .zones-list { grid-template-columns: 1fr; }
  /* tableaux empilés */
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable { border: 0; background: transparent; }
  .ptable caption { display: block; }
  .ptable thead { display: none; }
  .ptable tbody tr { background: var(--white); border: var(--b); margin-bottom: 14px; }
  .ptable tbody th { background: var(--paper-2); border-bottom: var(--b); }
  .ptable td { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; white-space: normal; }
  .ptable td::before { content: attr(data-label); font-family: var(--font-body); font-weight: 500; color: var(--ink-soft); text-align: left; }
  .ptable td:last-child { background: #FFF7D6; }
  .ptable tbody tr:last-child th { border-bottom: var(--b); }
  .ptable tbody tr td:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  :root { --section: 60px; --gutter: 20px; --header-h: 68px; }
  body { font-size: 1rem; }
  .header__logo img { height: 44px; }
  .services__grid, .why__grid, .steps, .levels, .footer__grid { grid-template-columns: 1fr; }
  .why__item + .why__item, .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .level + .level { border-left: 0; border-top: var(--b); }
  .btn { white-space: normal; text-align: center; }
  .hero__ctas .btn, .page-hero__ctas .btn, .cta-band__actions .btn { width: 100%; }
  .form, .estimator { padding: 22px; }
  .estimator__result { margin: 6px -22px -22px; }
  .estimator__result .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.02rem; padding-right: 50px; }
  .faq details p { padding-right: 0; }
  .topbar { font-size: .72rem; }
  .topbar__inner { justify-content: center; text-align: center; }
  .cta-band .btn-call { font-size: 1.1rem; }
}



/* ---------- Bloc « Nos autres prestations » ---------- */
.related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.related__list a {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 20px 22px; background: var(--paper); border: var(--b); text-decoration: none; color: var(--ink);
  transition: background .2s, transform .2s;
}
.related__list a:hover { background: var(--yellow); transform: translateY(-2px); }
.related__list strong { font-weight: 800; font-size: 1.05rem; }
.related__list strong::after { content: " →"; }
.related__list span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Bulle téléphone flottante ---------- */
.call-bubble {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.3,1.4,.5,1);
}
.call-bubble.is-shown { opacity: 1; transform: none; }
.call-bubble.is-shown .call-bubble__icon { pointer-events: auto; }
.call-bubble.is-shown:hover .call-bubble__label, .call-bubble.is-hint .call-bubble__label { pointer-events: auto; }
.call-bubble__label { pointer-events: none; }
.call-bubble__icon {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 4px 14px rgba(5, 23, 40, .18);
  transition: transform .25s ease, background .25s ease;
}
.call-bubble__icon .icon { width: 23px; height: 23px; }
.call-bubble__label {
  display: flex; flex-direction: column; align-items: flex-end;
  background: var(--ink); color: var(--white);
  padding: 9px 16px; border-radius: 10px;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; line-height: 1.1;
  box-shadow: 0 10px 28px rgba(5, 23, 40, .22);
  opacity: 0; transform: translateX(12px); transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.call-bubble__label small { font-family: var(--font-body); font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.call-bubble:hover .call-bubble__label, .call-bubble:focus-visible .call-bubble__label, .call-bubble.is-hint .call-bubble__label { opacity: 1; transform: none; }
.call-bubble:hover .call-bubble__icon { transform: scale(1.06); background: #E5B300; }
.call-bubble:focus-visible { outline: none; }
.call-bubble:focus-visible .call-bubble__icon { box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .call-bubble__icon .icon { animation: ring 3.5s ease-in-out 1s infinite; }
}
/* Sur mobile, la bulle remplace la barre d'appel */
@media (max-width: 860px) {
  .call-bubble { right: 16px; bottom: 16px; }
  .call-bubble__icon { width: 50px; height: 50px; }
  .call-bubble__label { font-size: 1.15rem; padding: 8px 13px; }
}

/* =========================================================
   Animations (désactivées si l'utilisateur réduit les animations)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* Apparition au scroll (classe ajoutée par JS, donc rien n'est caché sans JS) */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal--left { transform: translateX(-36px); }
  .js .reveal--right { transform: translateX(36px); }
  .js .reveal--zoom { transform: scale(.94); }

  /* Trait des étiquettes de section qui se dessine */
  .js .eyebrow::after { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .25s; }
  .js .is-visible .eyebrow::after, .js .eyebrow.is-visible::after { transform: scaleX(1); }

  /* Hero : entrée en cascade */
  .hero__grid > div:first-child > *, .page-hero__body > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__grid > div:first-child > *:nth-child(1), .page-hero__body > *:nth-child(1) { animation-delay: .05s; }
  .hero__grid > div:first-child > *:nth-child(2), .page-hero__body > *:nth-child(2) { animation-delay: .15s; }
  .hero__grid > div:first-child > *:nth-child(3), .page-hero__body > *:nth-child(3) { animation-delay: .28s; }
  .hero__grid > div:first-child > *:nth-child(4), .page-hero__body > *:nth-child(4) { animation-delay: .4s; }
  .hero__photo, .page-hero__img { animation: unveil 1.1s cubic-bezier(.7,0,.2,1) .1s both; }
  .hero__photo img, .page-hero__img img { animation: kenburns 9s ease-out both; }
  .hero__tag { animation: tag-drop .9s cubic-bezier(.3,1.5,.5,1) .9s both; }
  .hero__strip li { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__strip li:nth-child(1) { animation-delay: .55s; }
  .hero__strip li:nth-child(2) { animation-delay: .67s; }
  .hero__strip li:nth-child(3) { animation-delay: .79s; }

  /* Téléphone qui sonne de temps en temps sur les boutons d'appel */
  .btn-call .icon { transform-origin: 50% 50%; animation: ring 4s ease-in-out 2s infinite; }

  /* Halo sur le bouton d'appel fixe mobile */

  /* Survols */
  .service-card__img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .why__item .icon, .contact__info .icon { transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
  .why__item:hover .icon, .contact__info li:hover .icon { transform: rotate(-8deg) scale(1.1); }
  .step__num { transition: color .3s, transform .35s cubic-bezier(.3,1.5,.5,1); }
  .step:hover .step__num { transform: translateY(-4px); }
  .price-card { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .price-card:hover { transform: translateY(-4px); }
  .chip { transition: background .2s, color .2s, transform .2s; }
  a.chip:hover { transform: translateY(-2px); }
  .ptable tbody tr { transition: background .2s; }
  .nav__link { position: relative; }

  /* En-tête qui se compacte au scroll */
  .header { transition: box-shadow .3s, background .3s; }
  .header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 23, 40, .12); }
  .header__logo img { transition: height .3s; }
  .header.is-scrolled .header__logo img { height: 44px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes tag-drop { 0% { opacity: 0; transform: translateY(-40px) rotate(-14deg); } 100% { opacity: 1; transform: rotate(-4deg); } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-16deg); } 90% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } 96% { transform: rotate(-4deg); } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(248, 196, 4, .7); } 70%, 100% { box-shadow: 0 0 0 14px rgba(248, 196, 4, 0); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
