/* Serrurier Benoît — feuille unique, mobile d'abord. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #142D4E;        /* titres, navigation, pied de page */
  --navy-2: #1d3d66;
  --white: #FFFFFF;       /* fond principal */
  --alt: #F3F6FA;         /* alternance des sections */
  --red: #C62828;         /* boutons d'appel et accents commerciaux, jamais en aplat large */
  --red-press: #a51f1f;
  --red-soft: #fdf1f1;
  --text: #243247;
  --muted: #4d5b70;       /* ≥ 4.5:1 sur blanc et sur --alt */
  --line: #DCE3EC;
  --ok: #1e6b45;
  --err: #b42318;
  --todo-bg: #fff4cf;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 45, 78, .05), 0 4px 14px rgba(20, 45, 78, .06);
  --gutter: 16px;
  --hdr-h: 64px;
  --callbar-h: 68px;
  --sec: 44px;            /* espacement des sections, mobile */
  /* aliases utilisés par les illustrations */
  --ink: var(--navy); --accent: var(--red); --paper: #fff; --sand: var(--alt);
}
@media (min-width: 900px) { :root { --sec: 72px; --hdr-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.12rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 16px; } }
.narrow { max-width: 852px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.nowrap { white-space: nowrap; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .lead { font-size: 1.15rem; } }
.ico { width: 22px; height: 22px; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.kicker .ico { width: 18px; height: 18px; }

/* --- Aperçu -------------------------------------------------------------- */
.preview-bar { background: var(--todo-bg); color: #4a3700; font-size: .9rem; border-bottom: 1px solid #ecd68c; padding: 8px 0; }
.preview-bar a { color: #4a3700; font-weight: 600; }
.todo { display: flex; gap: 8px; align-items: flex-start; background: var(--todo-bg); color: #4a3700; border: 1px dashed #c9a63a; border-radius: var(--r-sm); padding: 8px 12px; font-size: .9rem; margin: 12px 0; }
span.todo { display: inline-flex; margin: 0; }
.todo .ico { width: 18px; height: 18px; margin-top: 2px; }
.todo-tag { display: inline-block; background: var(--todo-bg); color: #5c4400; border: 1px dashed #c9a63a; border-radius: 6px; padding: 0 6px; font-size: .85rem; font-style: normal; font-weight: 600; }
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 2px dashed #c9a63a; background: #fffaf0; color: #5c4400; border-radius: var(--r); padding: 20px 16px; font-weight: 600; }
.slot small { font-weight: 400; }
.slot .ico { width: 28px; height: 28px; }
.slot-portrait { aspect-ratio: 4 / 3; max-height: 260px; }

/* --- En-tête --------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand-mark { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; }
.brand-name { font-weight: 700; font-size: 1.08rem; line-height: 1.15; letter-spacing: -.01em; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--navy); }
.nav a:hover { background: var(--alt); color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 8px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; }
.hdr-call:hover { background: var(--red-press); color: #fff; }
.hdr-call .ico { width: 20px; height: 20px; }
.hdr-call-txt { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-call-num { display: none; font-weight: 600; font-size: .85rem; }
.hdr-quote { background: var(--navy); }
.hdr-quote:hover { background: var(--navy-2); }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
@media (max-width: 959px) {
  .nav-open .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 4px var(--gutter) 12px; }
  .nav-open .nav ul { flex-direction: column; }
  .nav-open .nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-open .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
}
@media (max-width: 370px) { .brand-name { font-size: 1rem; } .brand-mark { width: 32px; height: 32px; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .hdr-call { padding: 6px 16px; }
  .hdr-call-num { display: block; }
  .hdr-call-lbl { font-size: .8rem; font-weight: 600; opacity: .92; }
  .hdr-quote .hdr-call-lbl { font-size: 1rem; opacity: 1; }
}

/* --- Boutons --------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 8px; border: 2px solid transparent; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .ico { width: 20px; height: 20px; }
.btn-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-num { font-weight: 600; font-size: .9rem; opacity: .95; }
.btn-lg { min-height: 56px; padding: 10px 22px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-press); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--alt); color: var(--navy); }
.btn-missing { background: var(--todo-bg); color: #5c4400; border: 2px dashed #c9a63a; cursor: default; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 559px) {
  .hero .actions .btn, .phead .actions .btn, .cta-band .actions .btn { width: 100%; }
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 10px 0; min-height: 44px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* --- Premier écran ------------------------------------------------------------ */
.hero { padding: 20px 0 var(--sec); border-bottom: 1px solid var(--line); }
@media (max-width: 559px) { .hero .lead { font-size: 1rem; margin-bottom: 0; } .hero .actions { margin-top: 16px; gap: 10px; } }
.hero-in { display: grid; gap: 28px; }
.hero h1 { margin-bottom: .4em; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-weight: 600; font-size: .9rem; color: var(--navy); }
@media (min-width: 900px) { .trust { gap: 8px 22px; font-size: .95rem; margin-top: 20px; } }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { width: 20px; height: 20px; color: var(--red); }
.hero-art, .phead-art { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--alt); }
.hero-art svg, .hero-art img { width: 100%; height: auto; }
.hero-photo img { aspect-ratio: 7 / 6; object-fit: cover; }
.hero-art figcaption, .phead-art figcaption { font-size: .8rem; color: var(--muted); padding: 6px 12px; background: #fff; border-top: 1px solid var(--line); }
@media (max-width: 899px) { .phead-art svg { max-height: 200px; } .hero-art svg { max-height: 150px; } .hero-art { max-width: 420px; } }
@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-in { grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
  .hero-art { max-width: 400px; justify-self: end; }
}

/* Offre « à partir de » : titre, phrase courte, bouton d'appel, lien vers les conditions */
.offer { margin-top: 20px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r); padding: 16px 18px; background: #fff; box-shadow: var(--shadow); max-width: 520px; }
.offer-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0 0 6px; }
.offer-title strong { color: var(--red); font-size: 1.4rem; white-space: nowrap; }
.offer-desc { margin: 0 0 14px; color: var(--text); }
.offer .btn { margin-bottom: 2px; }
.offer .link-arrow { font-size: .95rem; }
.offer-detail { max-width: none; margin: 0 0 32px; }
.offer-detail .btn { margin-top: 14px; }
.offer-cond { margin: 8px 0 0; display: grid; gap: 6px; }
.offer-cond div { display: grid; grid-template-columns: 9rem 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.offer-cond dt { font-weight: 600; color: var(--navy); }
.offer-cond dd { margin: 0; }
@media (max-width: 420px) { .offer-cond div { grid-template-columns: 1fr; gap: 0; } }

/* --- Listes cochées ------------------------------------------------------- */
.facts { list-style: none; display: grid; gap: 10px; margin: 0 0 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--navy); }
.facts-grid { gap: 14px; }
.facts-grid strong { display: block; color: var(--navy); }
@media (min-width: 700px) { .facts-grid { grid-template-columns: 1fr 1fr; gap: 18px 28px; } }

/* --- Sections ---------------------------------------------------------------- */
.sec { padding: var(--sec) 0; }
.sec-tight { padding: calc(var(--sec) * .7) 0 var(--sec); }
.sec-alt { background: var(--alt); }
/* Section blanche qui suit une section blanche : pas de double espacement. */
.sec-follow { padding-top: calc(var(--sec) * .25); }

/* Cartes services */
.cards { list-style: none; display: grid; gap: 16px; margin-top: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-art { display: block; background: var(--alt); border-bottom: 1px solid var(--line); }
.card-art svg { width: 100%; height: auto; max-height: 170px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.2rem; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); margin: 0 0 6px; }
.card-actions { margin-top: auto; display: grid; gap: 2px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } .card-art svg { max-height: none; } }

/* Étapes compactes */
.steps { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.sec-alt .step { background: #fff; }
.step-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.step h3 { margin: 4px 0 2px; font-size: 1.02rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 14px; } .steps-5 { grid-template-columns: repeat(5, 1fr); } .step { flex-direction: column; gap: 10px; } }

/* Prix annoncé avant */
.price-info { display: grid; gap: 16px; align-items: center; background: var(--alt); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.price-info h2 { margin-bottom: .35em; }
.price-info p { margin: 0; color: var(--muted); max-width: 64ch; }
@media (min-width: 860px) { .price-info { grid-template-columns: 1fr auto; padding: 28px 32px; gap: 32px; } }

/* Galerie */
.gallery { list-style: none; display: grid; gap: 16px; }
.g-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-body { padding: 14px 16px; }
.g-tag { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Présentation */
.about { display: grid; gap: 24px; align-items: center; }
.about-photo { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1.4fr; gap: 48px; } .about-solo { grid-template-columns: 1fr; } }

/* Zone */
.zone { display: grid; gap: 22px; align-items: start; }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card-plain h3, .card-plain h2 { display: flex; gap: 10px; align-items: center; font-size: 1.12rem; }
.card-plain h3 .ico, .card-plain h2 .ico { color: var(--red); }
.card-plain .actions { margin-top: 14px; }
.card-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-navy h2 { color: #fff; }
.card-navy h2 .ico { color: #fff; }
.card-navy a { color: #fff; }
.card-navy .hours dt, .card-navy .hours dd { color: #fff; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.hours dt { font-weight: 600; color: var(--navy); }
.hours dd { margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.chips span { color: var(--muted); font-weight: 400; }
.chips-lg li { padding: 8px 16px; }
@media (min-width: 860px) { .zone { grid-template-columns: 1.3fr 1fr; gap: 48px; } }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq-i { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--navy); min-height: 52px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 20px; height: 20px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--navy); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-i[open] .faq-plus::after { transform: rotate(0); }
.faq-i p { padding: 0 16px 16px; margin: 0; color: var(--muted); }

/* Bandeau d'action */
.cta-band { background: var(--navy); color: #fff; padding: var(--sec) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5deea; max-width: 56ch; margin: 0; }
.cta-in { display: grid; gap: 4px; align-items: center; }
.cta-band .btn-missing { background: #24456f; color: #ffe7a6; border-color: #b8952f; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1.2fr 1fr; gap: 40px; } .cta-band .actions { justify-content: flex-end; margin: 0; } }

/* --- En-tête de page ------------------------------------------------------- */
.phead { padding: 24px 0 var(--sec); border-bottom: 1px solid var(--line); }
.phead-plain { padding-bottom: 28px; }
.phead-in { display: grid; gap: 24px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.phead-art svg { max-height: 280px; width: 100%; }
@media (min-width: 900px) {
  .phead { padding-top: 44px; }
  .phead-in { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  .phead-art svg { max-height: none; }
}

/* Tuiles */
.tiles { list-style: none; display: grid; gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.tile h3 { margin-bottom: 4px; }
.tile p { color: var(--muted); margin: 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } }

.compare { display: grid; gap: 16px; margin-top: 8px; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.compare-urgent { border-top: 3px solid var(--red); }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* Notices */
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-sm); padding: 12px 14px; margin: 0 0 18px; }
.notice .ico { margin-top: 2px; }
.notice-todo { background: var(--todo-bg); color: #4a3700; border: 1px dashed #c9a63a; }
.notice-err { background: #fdecec; color: var(--err); border: 1px solid #f2b8b8; }
.notice-urgent { background: var(--red-soft); color: var(--text); border: 1px solid #f1c7c7; }
.notice-urgent .ico { color: var(--red); }
.notice-urgent .actions { margin: 10px 0 0; }

/* Tarifs */
.price-items { margin: 0; display: grid; gap: 10px; }
.price-item { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.price-item dt { font-weight: 700; color: var(--navy); }
.price-item dd { margin: 0; }
.price-item dd p { margin: 0; color: var(--muted); }
.price-item .price-val { color: var(--text); font-weight: 600; margin-top: 4px; }
@media (min-width: 700px) { .price-items { grid-template-columns: 1fr 1fr; } }
.table-wrap { margin: 12px 0 20px; }
.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.ptable th, .ptable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { background: var(--navy); color: #fff; font-size: .9rem; }
.ptable tbody th { font-weight: 600; }
@media (max-width: 699px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .ptable tbody th { border: 0; padding: 4px 14px; }
  .ptable td { border: 0; padding: 3px 14px; display: flex; justify-content: space-between; gap: 12px; }
  .ptable td::before { content: attr(data-label); color: var(--muted); font-size: .92rem; }
}

/* --- Contact / formulaire ------------------------------------------------- */
.contact { display: grid; gap: 20px; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.big-num { font-weight: 700; font-size: 1.6rem; }
.big-num a { text-decoration: none; }
.mini-steps { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.form-t { font-size: 1.4rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.5fr; gap: 44px; align-items: start; } .contact-side { position: sticky; top: calc(var(--hdr-h) + 20px); } .contact-main { order: 2; } }
@media (max-width: 899px) { .contact-main { order: -1; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .form { padding: 26px; } }
.f-row { margin-bottom: 16px; }
.f-grid { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.form label, .f-label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.req, .opt { font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: 4px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #8c99ab; border-radius: var(--r-sm); background: #fff; color: var(--text);
  font-family: inherit; font-weight: 400; font-size: 1rem; line-height: 1.4; /* 16 px : pas de zoom iOS */
}
.form textarea { min-height: 110px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(20, 45, 78, .25); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: var(--err); background: #fffafa; }
.f-hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.f-err { color: var(--err); font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.file { display: flex; gap: 12px; align-items: center; border: 2px dashed #8c99ab; border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; background: #fff; font-weight: 400 !important; min-height: 60px; }
.file .ico { width: 26px; height: 26px; color: var(--navy); }
.file small { color: var(--muted); }
.file:hover { border-color: var(--navy); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.file-list { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: var(--alt); border-radius: 8px; padding: 6px 8px; font-size: .92rem; }
.file-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.file-list .fl-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; color: var(--navy); font-family: inherit; font-weight: 600; font-size: .9rem; padding: 0 10px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; }
.f-check input { width: 22px; height: 22px; margin-top: 2px; }
.f-check label { font-weight: 400; }
.f-privacy { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); }
.f-privacy .ico { width: 18px; height: 18px; margin-top: 3px; }
.f-after { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { background: #eef7f1; border: 1px solid #b7dcc5; border-radius: var(--r); padding: 20px; }
.success:focus { outline: 3px solid var(--ok); }
.success-t { display: flex; gap: 10px; align-items: center; color: var(--ok); font-weight: 700; font-size: 1.2rem; }

/* --- Pages légales / checklist ------------------------------------------------ */
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.lc { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.lc .ico { width: 20px; height: 20px; margin-top: 3px; }
.lc-ok .ico { color: var(--ok); }
.lc-ko .ico { color: var(--err); }
.lc-wait .ico { color: #8a6d00; }
.lc code { font-size: .82rem; background: var(--alt); padding: 1px 6px; border-radius: 4px; }

/* --- Pied de page ------------------------------------------------------------ */
.ftr { background: var(--navy); color: #d5deea; padding: 40px 0 28px; font-size: .95rem; }
.ftr a { color: #fff; }
.ftr a:hover { color: #fff; text-decoration-thickness: 2px; }
.ftr-grid { display: grid; gap: 24px; }
.ftr-brand { font-weight: 700; font-size: 1.15rem; color: #fff; }
.ftr-h { font-weight: 700; color: #fff; margin-bottom: 8px; }
.ftr-list { list-style: none; display: grid; gap: 4px; }
.ftr-list a { display: inline-block; padding: 6px 0; }
.ftr .todo { background: #24456f; color: #ffe7a6; border-color: #b8952f; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* --- Barre d'appel mobile ---------------------------------------------------- */
.callbar { display: none; }
@media (max-width: 959px) {
  .has-callbar { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
  .callbar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(20, 45, 78, .08); transition: transform .2s; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 8px; text-decoration: none; font-weight: 700; }
  .callbar-call { background: var(--red); color: #fff; }
  .callbar-call:hover { color: #fff; }
  .callbar-call > span { display: flex; flex-direction: column; line-height: 1.15; }
  .callbar-num { font-weight: 600; font-size: .85rem; }
  .callbar-quote { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
  .callbar-hidden .callbar { transform: translateY(110%); }
  .callbar-hidden.has-callbar { padding-bottom: 0; }
}

/* --- Animations discrètes ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* --- Consentement ------------------------------------------------------------ */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 28px rgba(20, 45, 78, .16); padding: 16px; font-size: .95rem; }
.consent .actions { margin: 10px 0 0; }
.has-callbar .consent { bottom: calc(var(--callbar-h) + 8px); }
@media (max-width: 599px) {
  .consent { left: 8px; right: 8px; padding: 10px 12px; font-size: .86rem; line-height: 1.45; }
  .consent p { margin: 0; }
  .consent .actions { margin-top: 8px; gap: 8px; }
  .consent .btn { flex: 1; min-height: 44px; }
}

/* --- Admin ------------------------------------------------------------------- */
.adm { padding: 24px 0; }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 12px; }
.adm-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; }
.adm-nav, .adm-periods { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.adm-nav a, .adm-periods a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); text-decoration: none; font-size: .92rem; background: #fff; }
.adm-nav a[aria-current], .adm-periods a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.adm h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.adm-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.adm-kpi strong { font-size: 1.9rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.adm-kpi span { font-weight: 600; color: var(--text); }
.adm-kpi small { color: var(--muted); }
.adm-note { font-size: .88rem; margin-top: 10px; }
.adm-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.adm-table th, .adm-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table th { background: var(--alt); color: var(--navy); font-weight: 600; white-space: nowrap; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table small { font-size: .8rem; }
.adm-hot td { background: var(--red-soft); }
.adm-live { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 16px; }
.adm-live-n { margin: 0; font-size: 1.1rem; color: var(--navy); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-live-n strong { font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.adm-live ul { list-style: none; margin: 8px 0 0; padding: 0; }
.adm-live li { padding: 6px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.adm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.adm-dot.on { background: #1e9e5a; box-shadow: 0 0 0 4px rgba(30, 158, 90, .18); }
