/* Nexa Habitat – feuille de style
   Palette : noir RAL 9005 (#0E0E10) et blanc crème RAL 9010 (#F1ECE1).
   Typographies : Cormorant Garamond (titres), Jost (texte). */

:root {
  --black: #0E0E10;
  --cream: #F1ECE1;
  --bg: var(--black);
  --fg: var(--cream);
  --line: rgba(241, 236, 225, 0.16);
  --muted: rgba(241, 236, 225, 0.74);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 32px);
  color-scheme: dark;
}

/* Sections sur fond crème : on inverse les variables */
.on-cream {
  --bg: var(--cream);
  --fg: var(--black);
  --line: rgba(14, 14, 16, 0.18);
  --muted: rgba(14, 14, 16, 0.74);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--black); padding: 12px 18px;
  font-size: 14px;
}
.skip:focus { top: 12px; }

/* ---------- Mise en page ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.section {
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(64px, 9vw, 104px);
}
.section--bordered { border-top: 1px solid var(--line); }
.kicker {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05; text-wrap: balance;
}
.h3 {
  font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15;
}
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.8; color: var(--muted); max-width: 62ch; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.head--row {
  max-width: none; flex-direction: row; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between; gap: 20px;
}
.head--row > div { display: flex; flex-direction: column; gap: 14px; }
.tbd { font-style: italic; color: var(--muted); font-size: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font: 500 12px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--lg { padding: 17px 40px; font-size: 13px; letter-spacing: 0.22em; }
.hero .btn--lg { padding: 20px 48px; font-size: 15px; letter-spacing: 0.2em; }
@media (max-width: 480px) { .hero .btn--lg { padding: 18px 32px; font-size: 14px; } }
.link {
  display: inline-block; padding: 10px 0;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.link:hover { opacity: 0.65; }

/* ---------- En-tête ---------- */
.site-header { position: relative; z-index: 20; background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--line); }
.site-header__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 40px; padding-block: 20px;
}
.logo { display: block; line-height: 0; }
.logo img { display: block; height: 62px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 640px) { .logo img { height: 46px; } }
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__nexa { font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: 0.22em; padding-left: 0.22em; }
.brand__habitat { font-size: 10px; letter-spacing: 0.62em; text-transform: uppercase; margin-top: 6px; padding-left: 0.62em; opacity: 0.85; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a:not(.btn) {
  display: block; padding: 12px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover { opacity: 0.65; }
.nav a[aria-current="page"] { border-bottom-color: var(--fg); }
.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--line); color: var(--fg); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 12px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--fg); }
}

/* ---------- Emplacements photo (à remplacer par <img>) ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: #1a1918;
  background-image:
    repeating-linear-gradient(91deg, rgba(241, 236, 225, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, rgba(241, 236, 225, 0.07), rgba(14, 14, 16, 0.3));
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(241, 236, 225, 0.65);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img)::after { display: none; }

/* ---------- Accueil : hero ---------- */
.hero {
  position: relative; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.45), rgba(14, 14, 16, 0.75));
}
.hero__in {
  position: relative; z-index: 2; max-width: 900px;
  padding: 96px var(--gut);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; }
.hero__wordmark, .hero .hero__wordmark { position: static; inset: auto; display: block; width: min(400px, 72vw); height: auto; }
.hero__tag {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px); margin-top: 26px;
}
.hero .btn { margin-top: 40px; }
.hero.ph::after { z-index: 2; left: var(--gut); bottom: 24px; }

/* ---------- Accueil : atouts ---------- */
.assets { background: var(--black); border-bottom: 1px solid var(--line); }
.assets__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 0;
  padding-block: 56px;
}
.asset {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; padding: 0 24px;
}
.asset + .asset { border-left: 1px solid var(--line); }
.asset svg { width: 42px; height: 42px; }
.asset__t { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.asset__d { font-size: 14px; line-height: 1.7; color: var(--muted); }
@media (max-width: 980px) {
  .assets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .asset:nth-child(odd) { border-left: 0; }
  .asset:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .assets__grid { grid-template-columns: minmax(0, 1fr); }
  .asset + .asset { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}

/* ---------- Cartes de prestations ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); }
.card .ph { height: 300px; }
.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 24px 28px; }
.card__body p { font-size: 14px; line-height: 1.7; color: var(--muted); flex: 1; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bandeau de photos ---------- */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.strip .ph { height: 320px; }
.strip .ph--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .ph { height: 240px; }
  .strip .ph--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip .ph--wide { grid-column: auto; }
}

/* ---------- Bloc image + texte ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split .ph { height: 520px; }
.split__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* ---------- Avis ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.quote { display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--line); padding: 32px 28px; }
.quote__mark { font-family: var(--serif); font-size: 56px; line-height: 0.6; height: 24px; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; flex: 1; }
.quote figcaption { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.cta-row { margin-top: 36px; }

/* ---------- En-tête de page intérieure ---------- */
.page-head { background: var(--black); border-bottom: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px); }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 6.5vw, 76px); line-height: 1.02; text-wrap: balance;
}
.page-head .head { gap: 18px; }

/* ---------- Page Prestations ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.service .ph { height: 460px; }
.service__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.service--rev .ph { order: 2; }
.service .h2 { font-size: clamp(34px, 4.4vw, 52px); }
@media (max-width: 900px) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .service .ph { height: 320px; order: 0 !important; }
}

/* ---------- Page Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  min-height: 44px; padding: 10px 20px; background: transparent; color: var(--fg);
  border: 1px solid var(--line); font: 500 12px/1.2 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.gallery .ph { aspect-ratio: 4 / 3; }
.gallery [hidden] { display: none !important; }

/* ---------- À propos : étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { border-top: 1px solid var(--fg); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--serif); font-size: 44px; line-height: 1; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 88px); align-items: start; }

.contact--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.info { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.info li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.info svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--fg); }
.info a:hover { opacity: 0.7; }
.map {
  height: 150px; margin-top: 32px; display: flex; align-items: center; justify-content: center;
  background-color: #E4DED0;
  background-image:
    linear-gradient(rgba(14, 14, 16, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 16, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map svg { width: 34px; height: 34px; }
.map-link { margin-top: 18px; }
.form { display: flex; flex-direction: column; gap: 26px; }
.form__row { display: flex; flex-wrap: wrap; gap: 26px; }
.form__row > * { flex: 1 1 220px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(241, 236, 225, 0.45); border-radius: 0;
  color: var(--cream); font: 400 16px/1.5 var(--sans); padding: 12px 0;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' stroke='%23F1ECE1' stroke-width='1.4'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field select option { color: var(--black); background: var(--cream); }
.projets { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.projets legend { padding: 0; margin-bottom: 12px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.projets legend span { text-transform: none; letter-spacing: 0.04em; opacity: 0.7; font-size: 12px; margin-left: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line);
  font: 500 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice:hover span { border-color: var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:checked + span::before { content: "✓"; margin-right: 8px; }
.choice input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(241, 236, 225, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cream); }
.form__legal { font-size: 13px; line-height: 1.6; color: var(--muted); }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 14px; line-height: 1.6; padding: 14px 16px; border: 1px solid var(--line); }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; margin-top: 44px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg); color: var(--fg); border-top: 1px solid var(--line); }
.site-footer__in {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 48px 40px; padding-block: 64px 40px;
}
.site-footer__in > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.f-title { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.f-line { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.f-line svg { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: var(--fg); }
.f-line a:hover { opacity: 0.7; }
.f-brand { align-items: center; text-align: center; }
.brand--foot { align-items: center; }
.f-wordmark { display: block; width: min(300px, 100%); height: auto; }
.f-kw { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.f-map { width: 100%; max-width: 300px; height: 130px; margin: 0; border: 1px solid var(--line); }
.f-map--embed { display: block; width: 100%; max-width: 320px; height: 160px; border: 1px solid var(--line); background: var(--cream); }
.site-footer__bar { border-top: 1px solid var(--line); }
.site-footer__bar .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 22px; font-size: 12px; color: var(--muted);
}
.site-footer__bar nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__bar a:hover { opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Avis : note globale ---------- */
.rating { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-block: 8px; margin-top: 40px; }
.rating__score { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 104px); line-height: 1; }
.rating__score span { font-size: 0.4em; opacity: 0.6; margin-left: 4px; }
.rating__stars { display: flex; gap: 8px; }
.rating__stars svg { width: clamp(30px, 4vw, 44px); height: auto; }
.rating__count { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.f-map--img { position: relative; display: block; height: 160px; width: 100%; max-width: 320px; line-height: 0; overflow: hidden; }
.f-map--img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.f-map--img::after { content: "Google Maps"; position: absolute; left: 8px; bottom: 6px; font: 500 11px/1 var(--sans); color: #5F6368; background: rgba(255,255,255,0.8); padding: 3px 5px; }

/* ---------- Horaires (pied de page) ---------- */
.f-hours > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.f-hours__t { color: var(--fg); }
.hours { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hours > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; }
.hours dt { color: var(--fg); }
.hours dd { margin: 0; }
.hours small { display: block; font-size: 12px; opacity: 0.75; }
.f-note { font-size: 13px; line-height: 1.6; opacity: 0.85; }

/* ---------- Passe design ----------
   Typographie reprise du logo : un grotesque large (Archivo, largeur 125) pour les titres, la même famille en largeur normale pour le texte.
   Plus de capitales espacées : les libellés sont en minuscules. Le bois de la porte du logo sert d'accent. */
:root {
  --serif: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wood: #C07A3A;
}
body { font-stretch: 100%; }
.h2, .h3, .page-head h1, .legal h2, .rating__score, .step__n, .hero__tag, .quote blockquote {
  font-family: var(--serif); font-stretch: 125%; font-style: normal; font-weight: 500; letter-spacing: -0.015em;
}
.page-head h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
.service .h2 { font-size: clamp(26px, 3.2vw, 38px); }
.h3, .legal h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.step__n { font-size: 34px; color: var(--wood); }
.hero__tag { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.01em; }
.rating__score { font-size: clamp(56px, 8vw, 88px); }

/* libellés en minuscules */
.btn, .link, .nav a:not(.btn), .asset__t, .chip, .choice span, .field label, .projets legend, .f-title, .f-kw,
.rating__count, .quote figcaption {
  text-transform: none; letter-spacing: 0.01em; font-weight: 500;
}
.btn { font-size: 15px; min-height: 50px; }
.btn--lg { font-size: 16px; padding: 18px 40px; }
.hero .btn--lg { font-size: 18px; padding: 20px 48px; }
@media (max-width: 480px) { .hero .btn--lg { font-size: 16px; padding: 18px 32px; } }
.nav a:not(.btn) { font-size: 15px; }
.nav a[aria-current="page"] { border-bottom-color: var(--wood); }
.link { font-size: 15px; border-bottom: 1px solid var(--wood); padding: 4px 0; align-self: flex-start; }
.link:hover { opacity: 1; border-bottom-color: var(--fg); }
.asset__t { font-size: 17px; }
.asset svg { stroke: var(--wood); }
.field label, .projets legend { font-size: 13px; }
.projets legend span { font-size: 13px; }
.choice span, .chip { font-size: 14px; }
.f-title { font-size: 14px; letter-spacing: 0.02em; }
.hours small, .f-hours__t { letter-spacing: 0; }
.rating__count { font-size: 16px; }
.rating__stars { color: var(--wood); }
.quote figcaption { font-size: 14px; }
.tbd { font-style: normal; }

/* ---------- Respiration : espaces plus larges ---------- */
.section { padding-block: clamp(88px, 12vw, 168px); }
.head { gap: 22px; }
.lead { line-height: 1.9; }
.cards { gap: 36px; margin-top: 80px; }
.card__body { padding: 32px 30px 36px; gap: 16px; }
.card__body p { line-height: 1.8; }
.strip { gap: 16px; margin-top: 64px; }
.split { gap: clamp(48px, 7vw, 104px); }
.split__txt { gap: 28px; }
.quotes, .steps { gap: 40px; margin-top: 64px; }
.cta-row { margin-top: 56px; }
.page-head { padding-block: clamp(80px, 11vw, 144px); }
.page-head .head { gap: 26px; }
.assets__grid { padding-block: clamp(72px, 9vw, 120px); gap: 64px 0; }
.asset { gap: 18px; padding: 0 32px; }
.asset__d { line-height: 1.8; }
.hero { min-height: clamp(640px, 92vh, 880px); }
.hero__in { padding-block: 120px; }
.hero__tag { margin-top: 36px; }
.hero .btn { margin-top: 56px; }
.site-footer__in { gap: 56px 48px; padding-block: 88px; }
.form { gap: 34px; }
.form__row { gap: 34px; }
.site-header__in { padding-block: 22px; }
@media (max-width: 640px) {
  .cards { gap: 28px; margin-top: 56px; }
  .asset { padding: 0 20px; }
}

/* ---------- Vie : mouvements discrets ---------- */
/* Entête fixe qui se resserre au défilement */
.site-header { position: sticky; top: 0; transition: box-shadow 0.6s ease; }
.site-header__in { transition: padding 0.55s ease; }
.logo img { transition: height 0.55s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.site-header.is-scrolled .site-header__in { padding-block: 10px; }
.site-header.is-scrolled .logo img { height: 46px; }

/* Entrée de l'accueil : le nom, puis la phrase, puis le bouton */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes breathe { from { opacity: 1; } to { opacity: 0.78; } }
@keyframes drift { from { background-position: 0 0, 0 0; } to { background-position: 240px 0, 0 0; } }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__wordmark { animation: rise 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
.hero__tag { animation: rise 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }
.hero .btn { animation: rise 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.45s both; }
.hero::before { animation: breathe 11s ease-in-out infinite alternate; }
.hero.ph { animation: drift 60s linear infinite; }
.hero__bg { animation: slowzoom 38s ease-in-out infinite alternate; object-position: 50% 55%; }
.hero__cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 1px; height: 56px; background: var(--cream); opacity: 0.7; animation: cue 3.5s ease-in-out infinite; }

/* Boutons : le fond se remplit de gauche à droite */
.btn { background-image: linear-gradient(var(--fg), var(--fg)); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; transition: background-size 0.65s ease, color 0.45s ease, border-color 0.45s ease; }
.btn:hover { background-color: transparent; background-size: 100% 100%; color: var(--bg); }
.btn--solid { background-image: linear-gradient(var(--bg), var(--bg)); background-color: var(--fg); background-size: 0% 100%; }
.btn--solid:hover { background-color: var(--fg); background-size: 100% 100%; color: var(--fg); }
.btn--solid:hover { color: var(--fg); }

/* Cartes et photos */
.card { transition: transform 0.65s ease, border-color 0.65s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--wood); }
.ph img { transition: transform 1.8s ease; }
.card:hover .ph img, .strip .ph:hover img, .split .ph:hover img, .gallery .ph:hover img { transform: scale(1.05); }
.strip .ph, .gallery .ph { transition: opacity 0.6s ease; }
.asset svg { transition: transform 0.75s ease; }
.asset:hover svg { transform: translateY(-5px); }
.link { transition: border-color 0.45s ease, padding 0.45s ease; }
.link:hover { padding-right: 8px; }
.nav a:not(.btn) { transition: opacity 0.45s ease, border-color 0.45s ease; }

/* Note : étoiles qui apparaissent une à une */
.js .rating .rating__stars svg { opacity: 0; transform: scale(0.4) rotate(-20deg); }
.js .rating.is-in .rating__stars svg { opacity: 1; transform: none; transition: opacity 1s ease, transform 1.2s cubic-bezier(0.3, 1.5, 0.5, 1); transition-delay: calc(var(--i, 0) * 0.3s + 0.4s); }
.rating__score i { font-style: normal; }

/* Apparition au défilement (le contenu reste visible sans JavaScript) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--photo { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .hero__wordmark, .hero__tag, .hero .btn, .hero::before, .hero.ph, .hero__bg, .hero__cue { animation: none !important; }
  .js .reveal, .js .rating .rating__stars svg { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .ph img, .asset svg, .btn { transition: none !important; }
  .site-header, .site-header__in, .logo img { transition: none !important; }
}
.btn--lg, .hero .btn--lg { letter-spacing: 0.02em; }

/* Prestations : options proposées */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 13px; letter-spacing: 0.01em; padding: 7px 14px; border: 1px solid currentColor; border-radius: 999px; opacity: 0.8; }

/* À propos : chiffre clé à la place de la photo */
.split > .about__stat { flex: 0 1 380px; display: flex; flex-direction: column; gap: 10px; }
.about__n { font-size: clamp(120px, 16vw, 220px); line-height: 0.85; font-weight: 300; letter-spacing: -0.04em; color: var(--wood); }
.about__n i { font-style: normal; }
.about__l { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }

/* Distributeur Internorm : sous le logo de l'accueil et bloc avis */
.partner { display: flex; align-items: center; gap: 12px; line-height: 1; margin: 0; }
.partner img { display: block; width: auto; height: 40px; }
.partner__l { font-size: 14px; letter-spacing: 0.01em; color: var(--muted); }
.partner--hero { justify-content: center; margin-top: 22px; animation: rise 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both; }
.partner--hero .partner__l { color: var(--cream); font-size: 15px; opacity: 0.9; }
.hero .partner--hero img { position: static; inset: auto; width: auto; height: 34px; }
@media (max-width: 640px) { .hero .partner--hero img { height: 28px; } .partner--hero .partner__l { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .partner--hero { animation: none !important; } }
.partner--trust { justify-content: center; width: 100%; margin-top: 44px; }

/* À propos : « Depuis 2003 » */
.about__k { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.about__n { font-size: clamp(88px, 11vw, 168px); font-variant-numeric: tabular-nums; }
.about__who { align-self: flex-start; margin-top: 14px; font-size: 14px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }
/* Écrans de 1041 à 1200 px : le menu tient sur une seule ligne */
@media (max-width: 1200px) and (min-width: 1041px) {
  .site-header__in { gap: 16px 24px; }
  .nav { gap: 12px 18px; }
  .nav ul { gap: 4px 16px; }
  .logo img { height: 54px; }
}

/* Prestations : options cliquables qui changent la photo */
.tags li.tags__opt { padding: 0; border: 0; opacity: 1; }
.tag { font: inherit; font-size: 13px; letter-spacing: 0.01em; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 7px 14px; cursor: pointer; opacity: 0.85; transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease; }
.tag:hover { opacity: 1; border-color: var(--wood); }
.tag[aria-pressed="true"] { opacity: 1; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag:focus-visible { outline: 2px solid var(--wood); outline-offset: 2px; }
.tags__hint { margin-top: -6px; font-size: 13px; color: var(--muted); }
.service .ph img { transition: transform 1.8s ease; }
.service .ph .ph__layer, .ph .ph__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.24s ease-out; }
.service .ph .ph__layer.is-on, .ph .ph__layer.is-on { opacity: 1; }
.service .ph .ph__layer--contain, .ph .ph__layer--contain { object-fit: contain; padding: 24px; background: #fefefe; }
video.ph__layer { background: #e9e9e9; }
.ph.ph--contain { background: #fefefe; }
.ph.ph--contain img { object-fit: contain; padding: 24px; }

.ph .ph__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #e9e9e9; }

/* Réseaux sociaux sous le logo du pied de page */
.social { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 4px 0 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--fg); transition: border-color 0.45s ease, color 0.45s ease; }
.social a:hover { border-color: var(--wood); color: var(--wood); }
.social a:focus-visible { outline: 2px solid var(--wood); outline-offset: 2px; }
.social svg { flex: none; }

/* Formulaire de devis : messages d'envoi */
.form-note--ok { border-color: var(--wood); }
.form-note--err { border-color: #c0392b; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
