/* =========================================================
   HST Construction – feuille de style principale
   Palette : anthracite / blanc / rouge brique (issu du logo)
   ========================================================= */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #121314;
  --anthracite: #1c1e21;
  --graphite: #2a2d31;
  --steel: #3a3e44;
  --muted: #676c73;
  --line: #e3e0db;
  --stone: #f4f2ee;
  --white: #ffffff;
  --accent: #b3262b;
  --accent-dark: #911d21;
  --accent-soft: rgba(179, 38, 43, .12);

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 60px -24px rgba(18, 19, 20, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .6em; color: var(--ink); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg .ico-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.lead { font-size: 1.2rem; color: var(--steel); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--accent); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Libellés de section ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-label span { color: var(--muted); letter-spacing: .1em; }
.section-label::after { content: ""; width: 48px; height: 2px; background: currentColor; }
.section-label-light span { color: rgba(255,255,255,.5); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > p:last-child { color: var(--muted); font-size: 1.15rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 54px; padding: 0 1.75rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 1.2rem; font-size: 1rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(179,38,43,.8); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--graphite); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(18,19,20,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; margin-right: auto; }
.brand-logo {
  display: grid; place-items: center; width: 64px; aspect-ratio: 572 / 400; overflow: hidden;
  border-radius: 3px; background: #2b2b2b; box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo-lg { width: 120px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; color: rgba(255,255,255,.85);
  padding: .4rem 0; transition: color .25s;
}
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav ul a:hover, .main-nav ul a.is-active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }

.header-phone { display: none; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; }
.header-phone svg { color: var(--accent); }

.menu-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,19,20,.92) 0%, rgba(18,19,20,.72) 38%, rgba(18,19,20,.25) 75%, rgba(18,19,20,.15) 100%),
    linear-gradient(0deg, rgba(18,19,20,.85) 0%, rgba(18,19,20,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { position: relative; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: .95rem; color: rgba(255,255,255,.85); margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent); }
.hero-title { font-size: clamp(3.4rem, 10vw, 8.5rem); text-transform: uppercase; color: #fff; line-height: .92; margin-bottom: .2em; letter-spacing: -.005em; }
.hero-tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 1.4rem; }
.hero-text { max-width: 600px; font-size: 1.15rem; color: rgba(255,255,255,.82); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-bar { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(18,19,20,.55); backdrop-filter: blur(6px); }
.hero-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-bar-inner span { padding: 1.3rem 0; font-size: .95rem; color: rgba(255,255,255,.7); border-left: 1px solid rgba(255,255,255,.1); padding-left: 1.4rem; }
.hero-bar-inner span:first-child { border-left: 0; padding-left: 0; }
.hero-bar-inner b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 45%; height: 45%; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); pointer-events: none; }
.about-badge {
  position: absolute; right: -1.5rem; bottom: 2rem; display: flex; align-items: center; gap: 1rem;
  background: var(--ink); color: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .95rem; line-height: 1.3;
}
.about-badge-k { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.values { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.values li:last-child { border-bottom: 0; padding-bottom: 0; }
.values strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.values .dot { width: 10px; height: 10px; margin-top: .5rem; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--stone); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 2.4rem 2.2rem 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: var(--radius); margin-bottom: 1.6rem; transition: background-color .4s, color .4s; }
.card-icon svg { width: 34px; height: 34px; stroke-width: 2; }
.card:hover .card-icon { background: var(--accent); color: #fff; }
.card-num { position: absolute; top: 1.6rem; right: 2rem; font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; color: var(--stone); line-height: 1; transition: color .4s; }
.card:hover .card-num { color: #ece8e2; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); flex: 1; }
.card-link { align-self: flex-start; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: .15rem; transition: color .25s; }
.card-link:hover { color: var(--accent); }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font: inherit; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem;
  padding: .55rem 1.1rem; border: 1px solid var(--line); background: #fff; color: var(--steel); border-radius: 999px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1rem; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone); aspect-ratio: 3 / 4; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.g-item.g-wide { grid-column: span 2; aspect-ratio: auto; }
.g-item.is-hidden { display: none; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover .g-open img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1.1rem; pointer-events: none;
  background: linear-gradient(0deg, rgba(18,19,20,.85), rgba(18,19,20,0));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em;
}
.g-item figcaption span { display: block; font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; color: rgba(255,255,255,.75); margin-bottom: .1rem; }
.g-item figcaption span::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .5rem; }

/* ---------- Pourquoi nous ---------- */
.why { background: var(--ink); color: rgba(255,255,255,.75); overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 32px;
}
.why .container { position: relative; }
.why h2 { color: #fff; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.why-item { padding: 2.4rem 2.2rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); transition: background-color .4s; }
.why-item:hover { background: rgba(255,255,255,.03); }
.why-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .15em; color: var(--accent); margin-bottom: 1.2rem; }
.why-item h3 { color: #fff; font-size: 1.5rem; }
.why-item p { margin: 0; }

/* ---------- Zone d’intervention ---------- */
.zone-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.zone-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; }
.zone-tags span { padding: .45rem .95rem; background: var(--stone); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--steel); }
.zone-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--stone); }
.zone-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); }
.zone-radius { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.zone-radius span { width: 62%; aspect-ratio: 1; border-radius: 50%; background: rgba(179,38,43,.12); border: 2px dashed rgba(179,38,43,.75); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.04); background: rgba(179,38,43,.18); } }
.zone-card { position: absolute; left: 1rem; bottom: 1rem; background: var(--ink); color: rgba(255,255,255,.8); padding: .9rem 1.2rem; border-radius: var(--radius); font-size: .92rem; line-height: 1.4; border-left: 3px solid var(--accent); }
.zone-card strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Devis ---------- */
.quote { background: var(--anthracite); color: rgba(255,255,255,.78); }
.quote::after { content: ""; position: absolute; right: 0; top: 0; width: 38%; height: 6px; background: var(--accent); }
.quote-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.quote h2 { color: #fff; }
.quote-contacts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1rem; }
.quote-contacts li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.quote-contacts small { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.quote-contacts a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.12rem; word-break: break-word; }
.quote-contacts a:hover { color: #f2b6b8; }
.qc-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; flex-shrink: 0; }

.quote-form-wrap { background: #fff; color: var(--anthracite); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.3rem; }
.field label { font-weight: 600; font-size: .95rem; margin-bottom: .45rem; color: var(--ink); }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: .85rem 1rem; color: var(--ink);
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, background-color .25s, box-shadow .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(18,19,20,.08); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-error { display: none; font-size: .85rem; color: var(--accent); margin-top: .35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent); background: #fff; }
.field.has-error .field-error { display: block; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.field-check input { width: 20px; height: 20px; padding: 0; margin-top: .2rem; accent-color: var(--accent); appearance: auto; }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--muted); margin: 0; }
.field-check label a { color: var(--ink); }
.field-check .field-error { grid-column: 2; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-size: .95rem; color: var(--accent); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 3rem 1rem; outline: none; }
.form-success h3 { font-size: 1.9rem; }
.form-success p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.form-success a { color: var(--accent); font-weight: 600; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; }
.success-icon svg { width: 36px; height: 36px; stroke-width: 2.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.contact-card { background: var(--stone); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); border-top: 4px solid var(--accent); }
.contact-card-head { display: flex; align-items: center; gap: 1.2rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.contact-card-head strong { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.contact-card-head .brand-logo { width: 96px; }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.contact-card dt { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.contact-card dd { margin: 0; font-weight: 500; color: var(--ink); word-break: break-word; }
.contact-card dd a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .25s, color .25s; }
.contact-card dd a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: clamp(3.5rem, 7vw, 5rem) 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; margin: 1.2rem 0 .1rem; }
.footer-tag { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; }
.footer-seo { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 320px; }
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-list a { text-decoration: none; transition: color .25s; word-break: break-word; }
.footer-list a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
.to-top:hover { color: #fff; }

/* ---------- Appel rapide mobile ---------- */
.mobile-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none; align-items: center; gap: .5rem;
  padding: .85rem 1.25rem; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 14px 30px -10px rgba(179,38,43,.7);
  transform: translateY(150%); transition: transform .4s var(--ease);
}
.mobile-call.is-visible { transform: none; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(12,12,13,.95); animation: fadeIn .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-width: 0; }
.lightbox img { max-height: calc(100vh - 7rem); max-width: 100%; width: auto; object-fit: contain; border-radius: 2px; }
.lightbox figcaption { margin-top: 1rem; color: rgba(255,255,255,.8); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.lightbox button { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 52px; height: 52px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background-color .25s; }
.lightbox button:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { position: absolute; top: 1.2rem; right: 1.2rem; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Pages secondaires ---------- */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 4rem) 0 3.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; margin: 0; }
.page-hero p { color: rgba(255,255,255,.65); margin: .6rem 0 0; }
.site-header.is-solid { background: var(--ink); }
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.8rem; margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; gap: .5rem 1.5rem; margin: 0 0 1rem; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; color: var(--steel); }
.legal p, .legal li { color: var(--steel); }
.legal a { color: var(--accent); }
.todo { background: #fff4d6; color: #6b4d00; padding: .05rem .4rem; border-radius: 3px; font-size: .95em; }
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--stone); padding: 7rem 1.5rem 3rem; }
.thanks .container { max-width: 640px; }

/* ---------- Animations d’apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.cards .reveal:nth-child(3n+2), .why-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.cards .reveal:nth-child(3n), .why-grid .reveal:nth-child(3n) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1280px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 1100px) {
  .main-nav ul { gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .header-phone { display: inline-flex; }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); }
  .header-inner { gap: .6rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav ul a::after { display: none; }
  .nav-cta { min-height: 54px; font-size: 1.1rem; }
  .site-header.menu-open { background: var(--ink); }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .zone-grid, .contact-grid { grid-template-columns: 1fr; }
  .mobile-call { display: inline-flex; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin: 0 auto 1rem; width: calc(100% - 1rem); }
  .about-badge { right: -.5rem; }
  .hero-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-bar-inner span:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-bar-inner span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-logo { width: 54px; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text small { font-size: .68rem; letter-spacing: .1em; }
  .hero-media::after { background: linear-gradient(0deg, rgba(18,19,20,.95) 0%, rgba(18,19,20,.7) 55%, rgba(18,19,20,.45) 100%); }
  .hero-actions .btn { width: 100%; }
  .hero-bar-inner span { padding: 1rem 0 1rem 1rem; font-size: .85rem; }
  .hero-bar-inner b { font-size: 1.05rem; }
  .cards, .why-grid, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .g-item.g-wide { grid-column: span 2; }
  .g-item figcaption { padding: 2rem .8rem .8rem; font-size: 1rem; }
  .g-item figcaption span { font-size: .65rem; }
  .card { padding: 2rem 1.6rem 1.8rem; }
  .why-item { padding: 2rem 1.5rem; }
  .form-footer .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: .2rem; }
  .zone-map { aspect-ratio: 1; }
  .zone-radius span { width: 75%; }
  .legal dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal dd { margin-bottom: .8rem; }
  .lightbox { grid-template-columns: 1fr; padding: 4.5rem .75rem 1.5rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.2rem; }
  .lb-prev { left: 1.2rem; }
  .lb-next { right: 1.2rem; }
  .lightbox img { max-height: calc(100vh - 12rem); }
}

@media (max-width: 380px) {
  .brand-text small { display: none; }
}
