/* ============================================================================
 * Belhas Couverture : styles du site vitrine (maquette Solane IA, 16/10/2026)
 * Palette "ardoise, zinc, terre cuite" : les trois materiaux du logo.
 * Police : Archivo variable (graisse 100 a 900, largeur 62 a 125 %), sur le site.
 * ==========================================================================*/

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ardoise: #1E2832;
  --ardoise-2: #26323D;
  --ardoise-3: #33424F;
  --ardoise-4: #4A5A68;
  --nuit: #151C23;
  --zinc: #8E9AA4;
  --zinc-clair: #AEB8C0;
  --zinc-pale: #E6EAED;
  --tuile: #BF5229;
  --tuile-fonce: #9A3F1E;
  --tuile-vif: #E8754A;
  --tuile-pale: #F6E3DA;
  --bois: #D7A44A;
  --chaux: #F4F1EB;
  --chaux-2: #EAE5DC;
  --ligne: #DDD6CA;
  --blanc: #FFFFFF;
  --texte: #1E2832;
  --texte-2: #4A5866;
  --ok: #2F7D4F;
  --erreur: #B3261E;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(21, 28, 35, .06), 0 10px 30px -12px rgba(21, 28, 35, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--chaux);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--tuile-vif); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tuile); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tuile); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ardoise); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  font: 700 16px/1.1 var(--font); font-stretch: 108%; letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--tuile { --bg: var(--tuile); }
.btn--tuile:hover { --bg: var(--tuile-fonce); box-shadow: 0 8px 24px -10px rgba(191, 82, 41, .7); }
.btn--ghost { --bg: transparent; --bd: rgba(244, 241, 235, .4); --fg: var(--chaux); }
.btn--ghost:hover { --bd: var(--chaux); --bg: rgba(244, 241, 235, .06); }
.btn--outline { --bg: transparent; --bd: var(--ardoise); --fg: var(--ardoise); }
.btn--outline:hover { --bg: var(--ardoise); --fg: #fff; }
.btn--lg { min-height: 56px; font-size: 17px; padding: .8em 1.5em; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Petit repere de marque : les trois chevrons du logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 13px; font-weight: 700; font-stretch: 118%;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tuile);
}
.eyebrow::before {
  content: ""; width: 26px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M1 7 13 1l12 6v2.4L13 3.4 1 9.4z' fill='%23BF5229'/%3E%3Cpath d='M1 10.6l12-6 12 6V13L13 7 1 13z' fill='%238E9AA4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eyebrow--light { color: var(--tuile-vif); }
.eyebrow--light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M1 7 13 1l12 6v2.4L13 3.4 1 9.4z' fill='%23E8754A'/%3E%3Cpath d='M1 10.6l12-6 12 6V13L13 7 1 13z' fill='%23AEB8C0'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(30, 40, 50, .96);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s, background-color .3s;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); background: rgba(24, 32, 40, .97); }
.nav__inner {
  height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 18px;
}
.nav__brand { flex: none; margin-right: auto; display: block; }
.nav__brand img { height: 42px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  color: var(--chaux); text-decoration: none; font-weight: 600; font-size: 15px; font-stretch: 106%;
  padding: 10px 12px; border-radius: var(--radius); position: relative; transition: color .2s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  background: var(--tuile-vif); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu-cta, .nav__menu-tel { display: none; }
.nav__call { min-height: 44px; padding: .55em 1.05em; font-size: 15px; }
.nav__call-short { display: none; }
.nav__burger {
  display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--chaux); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__menu a { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__brand img { height: 36px; }
  .nav__burger { display: block; }
  .nav__call { min-height: 42px; padding: .5em .9em; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ardoise); border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 8px var(--gutter) 20px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav__menu a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav__menu a::after { display: none; }
  .nav__menu-cta, .nav__menu-tel { display: block; }
  .nav__menu-cta { color: var(--tuile-vif) !important; }
  .nav__menu-tel { border-bottom: 0 !important; }
}
@media (max-width: 520px) {
  .nav__call-long { display: none; }
  .nav__call-short { display: inline; }
  .nav__brand img { height: 32px; }
  .nav__inner { gap: 10px; }
}
@media (max-width: 359px) {
  .nav__brand img { height: 28px; }
  .nav__call { padding: .5em .7em; }
}

/* ---------- Accueil ---------- */
.hero {
  position: relative; color: var(--chaux); background-color: var(--ardoise);
  padding: calc(var(--nav-h) + clamp(36px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden; isolation: isolate;
}
/* Texture d'ardoises posees en quinconce, tres discrete */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='48' viewBox='0 0 72 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1'%3E%3Cpath d='M0 24h72M0 48h72M36 0v24M0 24v24M72 24v24'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(105deg, transparent 10%, #000 60%);
  mask-image: linear-gradient(105deg, transparent 10%, #000 60%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -18vw; top: -10vw;
  background: radial-gradient(closest-side, rgba(232, 117, 74, .16), transparent 70%);
}
.hero__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 4.9vw, 4.7rem); font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; line-height: .96; letter-spacing: -.005em; margin: 0 0 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--tuile-vif); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19.5px); color: #D5DBE0; max-width: 34em; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__proofs {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(244, 241, 235, .14);
  display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: var(--zinc-clair);
}
.hero__proofs li { display: flex; align-items: baseline; gap: 6px; }
.hero__proofs strong { color: var(--chaux); font-size: 17px; font-stretch: 115%; font-weight: 800; }

.hero__visual { display: flex; justify-content: center; }
.hero__frame { position: relative; width: min(100%, 500px); aspect-ratio: 580 / 740; }
.hero__photo {
  position: absolute; left: 6.897%; top: 18.919%; width: 86.207%; height: 81.081%;
  -webkit-clip-path: polygon(50% 0, 100% 33.333%, 100% 100%, 0 100%, 0 33.333%);
  clip-path: polygon(50% 0, 100% 33.333%, 100% 100%, 0 100%, 0 33.333%);
  background: var(--ardoise-3); overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__roof { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hr-c--tuile { fill: #E06A3B; }
.hr-c--zinc { fill: var(--zinc-clair); }
.hr-c--ardoise { fill: var(--chaux); }
.hr-chim { fill: var(--zinc-clair); }
.hr-cap { fill: var(--zinc-clair); }
.hero__badge {
  position: absolute; left: -2%; bottom: 7%;
  display: grid; gap: 2px; padding: 14px 18px 13px; border-radius: var(--radius);
  background: var(--chaux); color: var(--ardoise); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  font-size: 15px; line-height: 1.25;
}
.hero__badge strong { font-weight: 800; font-stretch: 115%; font-size: 18px; }
.hero__badge small { color: var(--texte-2); font-size: 12.5px; }
.stars { color: #E9A23B; letter-spacing: .12em; font-size: 15px; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__frame { width: min(86%, 420px); }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proofs { gap: 8px 18px; font-size: 13.5px; }
  .hero__proofs strong { font-size: 15.5px; }
  .hero__badge { left: -4%; padding: 11px 14px; font-size: 14px; }
  .hero__badge strong { font-size: 16px; }
}

/* Masque d'entree (effets.js). Securite : tout reapparait seul apres 2,5 s. */
@keyframes fx-safety { to { opacity: 1; visibility: visible; } }
html.fx .hero__inner { opacity: 0; animation: fx-safety .01s 2.5s forwards; }

/* ---------- Bandeau defilant ---------- */
.marquee { background: var(--tuile); color: var(--chaux); overflow: hidden; padding: 16px 0; position: relative; z-index: 1; }
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: .02em;
  animation: marquee 38s linear infinite;
}
.marquee__track i {
  width: 22px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M1 7 13 1l12 6v2.4L13 3.4 1 9.4z' fill='%23F4F1EB'/%3E%3Cpath d='M1 10.6l12-6 12 6V13L13 7 1 13z' fill='%231E2832'/%3E%3C/svg%3E") no-repeat center / contain;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Urgence ---------- */
.urgence { background: var(--chaux-2); padding: clamp(28px, 4vw, 40px) 0; }
.urgence__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.urgence__icon {
  flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--ardoise);
  display: grid; place-items: center;
}
.urgence__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--tuile-vif); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.urgence__text { flex: 1; }
.urgence__text h2 { font-size: clamp(19px, 2.1vw, 24px); font-weight: 800; font-stretch: 110%; margin-bottom: 6px; line-height: 1.2; }
.urgence__text p { margin: 0; color: var(--texte-2); }
@media (max-width: 760px) {
  .urgence__inner { flex-wrap: wrap; align-items: flex-start; }
  .urgence__icon { width: 52px; height: 52px; }
  .urgence__icon svg { width: 28px; height: 28px; }
  .urgence__text { flex: 1 1 calc(100% - 80px); }
  .urgence__btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; }
.section__head--row .section__intro { max-width: 420px; margin: 0; }
.section__title {
  font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; font-stretch: 112%;
  letter-spacing: -.012em; line-height: 1.02; margin-bottom: 18px; text-wrap: balance;
}
.section__intro { font-size: 18px; color: var(--texte-2); max-width: 40em; }

/* ---------- Prestations ---------- */
.services { background: var(--chaux); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  padding: 30px 28px 26px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tuile);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(191, 82, 41, .08), transparent 60%);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service:hover::after { opacity: 1; }
.service__icon { width: 52px; height: 52px; fill: none; stroke: var(--tuile); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.service h3 { font-size: 21px; font-weight: 800; font-stretch: 110%; margin-bottom: 10px; line-height: 1.15; }
.service p { color: var(--texte-2); font-size: 16px; flex: 1; }
.service__link {
  align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--tuile); text-decoration: none;
  display: inline-flex; gap: 6px; padding: 6px 0; position: relative; z-index: 1;
}
.service__link span { transition: transform .25s var(--ease); }
.service__link:hover span { transform: translateX(4px); }
@media (max-width: 960px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 24px 22px 20px; }
  .service__icon { width: 44px; height: 44px; margin-bottom: 16px; }
}

/* ---------- Realisations ---------- */
.realisations { background: var(--blanc); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  font: 600 14.5px/1 var(--font); font-stretch: 106%; color: var(--ardoise);
  background: var(--chaux); border: 1px solid var(--ligne); border-radius: 999px;
  padding: 11px 17px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ardoise); }
.filter.is-active { background: var(--ardoise); border-color: var(--ardoise); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shot { margin: 0; min-width: 0; }
.shot__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--chaux-2); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative;
}
.shot__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.shot__btn::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(30, 40, 50, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1EB' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6'/%3E%3C/svg%3E") no-repeat center / 18px;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.shot__btn:hover img, .shot__btn:focus-visible img { transform: scale(1.05); }
.shot__btn:hover::after, .shot__btn:focus-visible::after { opacity: 1; transform: none; }
.shot figcaption { padding: 12px 2px 0; font-size: 15px; line-height: 1.35; }
.shot__tag {
  display: block; font-size: 11.5px; font-weight: 700; font-stretch: 115%; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tuile); margin-bottom: 3px;
}
.shot__title { font-weight: 700; }
.shot__detail { display: none; }
html.js .shot.is-hidden { display: none; }
.gallery__more { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } }
@media (max-width: 520px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 22px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .shot figcaption { font-size: 14px; }
  .shot__tag { font-size: 10.5px; }
}

/* ---------- Methode : le toit qui se construit ---------- */
.methode { background: var(--ardoise); color: var(--chaux); overflow: clip; }
.methode .section__title { color: var(--chaux); }
.methode__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.methode__visual { position: sticky; top: calc(var(--nav-h) + 40px); }
.roofbuild { width: 100%; height: auto; overflow: visible; }
.rb-ground { stroke: #5A6B79; stroke-width: 3; stroke-linecap: round; }
.rb-wall { fill: #2E3B47; stroke: #5A6B79; stroke-width: 2; }
.rb-win { fill: var(--nuit); stroke: #6E7E8B; stroke-width: 3; }
.rb-door { fill: var(--nuit); stroke: #6E7E8B; stroke-width: 3; }
.rb-wood { fill: none; stroke: #C08A4E; stroke-width: 6; stroke-linecap: round; }
.rb-wood--main { stroke-width: 8; stroke-linejoin: round; }
.rb-ecran-lap { stroke: #A9B5BF; stroke-width: 2; }
.rb-liteau { stroke: var(--bois); stroke-width: 5; }
.rb-hip { stroke: #A84622; stroke-width: 11; stroke-linecap: round; }
.rb-ridge { fill: #A84622; }
.rb-ridge-joints { stroke: #8A3618; stroke-width: 2; }
.rb-velux-frame { fill: #3D4954; }
.rb-chim { fill: #5B6874; }
.rb-chim-cap { fill: var(--zinc-clair); }
.rb-zinc { fill: var(--zinc-clair); }
.rb-zinc-hl { stroke: #E6EBEE; stroke-width: 2; stroke-linecap: round; opacity: .8; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 0 0; }
.step + .step { margin-top: clamp(28px, 4vw, 44px); }
.step__num {
  display: inline-block; font-weight: 800; font-stretch: 125%; font-size: 15px; letter-spacing: .08em;
  color: var(--tuile-vif); margin-bottom: 8px;
}
.step h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; font-stretch: 112%; margin-bottom: 10px; color: var(--chaux); }
.step p { color: #C3CBD2; margin: 0; max-width: 32em; }
/* Avec les effets : chaque etape s'allume quand le toit l'atteint */
html.fx-on .methode__layout { min-height: 0; }
html.fx-on .step { opacity: .32; transition: opacity .5s var(--ease); }
html.fx-on .step.is-active { opacity: 1; }
html.fx-on .step::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 3px; height: 0; background: var(--tuile-vif);
  transition: height .6s var(--ease);
}
html.fx-on .step.is-active::before { height: calc(100% - 6px); }
@media (min-width: 961px) {
  html.fx-on .steps { padding: 12vh 0 18vh 26px; }
  html.fx-on .step + .step { margin-top: 20vh; }
}
@media (max-width: 960px) {
  .methode__layout { grid-template-columns: 1fr; gap: 28px; }
  .methode__visual {
    top: var(--nav-h); z-index: 2; background: var(--ardoise);
    padding: 12px 0 14px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
  }
  .roofbuild { max-width: 440px; margin: 0 auto; }
  html.fx-on .steps { padding: 2vh 0 14vh 22px; }
  html.fx-on .step + .step { margin-top: 16vh; }
  html.fx-on .step::before { left: -20px; }
}
@media (max-width: 960px) and (max-height: 700px) {
  .roofbuild { max-width: 330px; }
}

/* ---------- Avis ---------- */
.avis { background: var(--chaux); }
.avis__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.avis__head .section__title { margin: 0; }
.avis__score { display: flex; align-items: center; gap: 18px; }
.avis__score p { margin: 0; font-size: 15px; color: var(--texte-2); line-height: 1.45; }
.avis__note { font-size: 64px !important; font-weight: 800; font-stretch: 125%; color: var(--ardoise) !important; line-height: 1 !important; }
.avis__note small { font-size: 22px; color: var(--texte-2); font-stretch: 100%; }
.avis__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.review {
  margin: 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius);
  padding: 28px 26px 24px; position: relative;
}
.review::before {
  content: "“"; position: absolute; top: 6px; right: 20px; font-size: 84px; line-height: 1; font-weight: 800;
  color: var(--tuile-pale); font-family: Georgia, serif;
}
.review blockquote { margin: 0 0 18px; position: relative; }
.review blockquote::before { content: "★★★★★"; display: block; color: #E9A23B; letter-spacing: .12em; font-size: 14px; margin-bottom: 12px; }
.review p { margin: 0; font-size: 16px; line-height: 1.6; }
.review figcaption { font-size: 14px; color: var(--texte-2); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.review figcaption strong { color: var(--ardoise); font-size: 15.5px; }
.review--big { grid-row: span 2; background: var(--ardoise); color: var(--chaux); border-color: var(--ardoise); }
.review--big::before { color: rgba(232, 117, 74, .35); }
.review--big p { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }
.review--big figcaption, .review--big figcaption strong { color: var(--zinc-clair); }
.review--big figcaption strong { color: var(--chaux); }
.avis__source { margin: 26px 0 0; font-size: 14px; color: var(--texte-2); max-width: 60em; }
.avis__source a { color: var(--tuile); font-weight: 700; }
@media (max-width: 960px) {
  .avis__list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: thin;
  }
  .review { flex: 0 0 min(84%, 380px); scroll-snap-align: start; }
  .avis__note { font-size: 52px !important; }
}

/* ---------- Votre couvreur ---------- */
.apropos { background: var(--blanc); }
.apropos__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.apropos__visual { position: relative; max-width: 480px; }
.apropos__visual > img:first-child {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  -webkit-clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
}
.apropos__mark {
  position: absolute; right: -18px; bottom: -18px; width: 104px; height: 104px; padding: 14px;
  background: var(--chaux); border-radius: var(--radius); box-shadow: var(--shadow);
}
.apropos__text > p:not(.eyebrow) { color: var(--texte-2); font-size: 18px; max-width: 36em; }
.figures { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 44px; margin: 34px 0 0; padding-top: 28px; border-top: 1px solid var(--ligne); }
.figures div { margin: 0; }
.figures dt { font-size: clamp(34px, 4vw, 48px); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--ardoise); }
.figures dd { margin: 6px 0 0; font-size: 14.5px; color: var(--texte-2); }
@media (max-width: 960px) {
  .apropos__inner { grid-template-columns: 1fr; }
  .apropos__visual { max-width: 400px; margin: 0 auto; width: 88%; }
}
@media (max-width: 520px) {
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .figures dt { font-size: 30px; }
  .figures dd { font-size: 13px; }
  .apropos__mark { width: 80px; height: 80px; padding: 10px; right: -10px; bottom: -12px; }
}

/* ---------- Zone ---------- */
.zone { background: var(--chaux); }
.zone__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.zone__text > p:not(.eyebrow) { color: var(--texte-2); font-size: 18px; }
.zone__text .btn { margin-top: 10px; }
.zone__map { max-width: 560px; justify-self: center; width: 100%; }
.map { width: 100%; height: auto; overflow: visible; }
.map__dep { fill: var(--blanc); stroke: var(--ligne); stroke-width: 3; stroke-linejoin: round; }
.map__ring { fill: none; stroke: var(--tuile); stroke-width: 2.5; stroke-dasharray: 7 9; }
.map__ring--25 { fill: rgba(191, 82, 41, .07); }
.map__ring-label { font: 700 15px var(--font); font-stretch: 112%; fill: var(--tuile); letter-spacing: .06em; }
.map__dot { fill: var(--zinc); }
.map__label { font: 600 16px var(--font); fill: var(--texte-2); paint-order: stroke; stroke: var(--chaux); stroke-width: 5px; stroke-linejoin: round; }
.map__label--home { font-weight: 800; font-size: 21px; fill: var(--ardoise); font-stretch: 115%; }
.map__home { fill: var(--tuile); stroke: var(--blanc); stroke-width: 4; }
.map__pulse { fill: rgba(191, 82, 41, .35); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .map__pulse { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 960px) { .zone__inner { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .map__label { font-size: 27px; stroke-width: 7px; }
  .map__label--home { font-size: 32px; }
  .map__label--minor { display: none; }
  .map__ring-label { font-size: 24px; }
}

/* ---------- Questions ---------- */
.faq { background: var(--blanc); }
.faq__inner { max-width: 900px; }
.faq__list { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 52px 22px 0; font-size: clamp(17.5px, 1.6vw, 20px); font-weight: 700; font-stretch: 106%; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--chaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF5229' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--tuile-pale); }
.faq summary:hover { color: var(--tuile); }
.faq details p { margin: -4px 0 24px; color: var(--texte-2); max-width: 46em; }
.faq details a { color: var(--tuile); font-weight: 700; }

/* ---------- Devis ---------- */
.devis { background: var(--ardoise); color: var(--chaux); }
.devis .section__title { color: var(--chaux); }
.devis__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.devis__aside > p:not(.eyebrow):not(.devis__place) { color: #C3CBD2; font-size: 18px; }
.contact { list-style: none; margin: 30px 0 22px; padding: 0; display: grid; gap: 10px; }
.contact a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .2s, border-color .2s;
}
.contact a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(232, 117, 74, .5); }
.contact svg { width: 22px; height: 22px; fill: var(--tuile-vif); flex: none; }
.contact span { display: grid; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; line-height: 1.3; }
.contact small { font-weight: 500; font-size: 12.5px; color: var(--zinc-clair); letter-spacing: .06em; text-transform: uppercase; }
.devis__place { font-size: 14.5px; color: var(--zinc-clair); }
.devis__card { background: var(--blanc); color: var(--texte); border-radius: calc(var(--radius) + 2px); padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
@media (max-width: 960px) { .devis__inner { grid-template-columns: 1fr; } }

/* Formulaire en trois etapes (une seule visible quand JavaScript est actif) */
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__step + .form__step { margin-top: 30px; }
html.js .form.is-steps .form__step { display: none; margin-top: 0; }
html.js .form.is-steps .form__step.is-current { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.form legend { font-size: 22px; font-weight: 800; font-stretch: 110%; margin-bottom: 16px; padding: 0; }
.form__sub { margin-top: 22px !important; }
.form__sub legend { font-size: 16px; font-weight: 700; font-stretch: 100%; margin-bottom: 10px; }
.form__progress { height: 4px; background: var(--chaux-2); border-radius: 4px; overflow: hidden; margin-bottom: 10px; display: none; }
.form__progress span { display: block; height: 100%; width: 33.33%; background: var(--tuile); border-radius: 4px; transition: width .45s var(--ease); }
.form__stepinfo { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 18px; display: none; }
html.js .form.is-steps .form__progress, html.js .form.is-steps .form__stepinfo { display: block; }

.choices { display: grid; gap: 8px; }
.choices--types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--inline { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; min-height: 52px; padding: 12px 14px 12px 44px; position: relative;
  border: 1.5px solid var(--ligne); border-radius: var(--radius); background: var(--blanc);
  font-weight: 600; font-size: 15.5px; line-height: 1.25; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice span::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid var(--zinc); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.choice:hover span { border-color: var(--zinc); }
.choice input:checked + span { border-color: var(--tuile); background: #FCF4F0; box-shadow: 0 0 0 1px var(--tuile); }
.choice input:checked + span::before { border-color: var(--tuile); box-shadow: inset 0 0 0 4px #fff; background: var(--tuile); }
.choice input:focus-visible + span { outline: 3px solid var(--tuile-vif); outline-offset: 2px; }
.choice--sm span { min-height: 44px; padding: 9px 14px 9px 40px; font-size: 15px; }
.choice--sm span::before { left: 12px; width: 16px; height: 16px; margin-top: -8px; }
.form.is-invalid-type .choices--types .choice span { border-color: #E3A39F; }
@media (max-width: 520px) {
  .choices--types { grid-template-columns: 1fr; }
  .choices--inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__urgent {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--tuile-pale); color: var(--tuile-fonce); font-size: 15px; border-left: 4px solid var(--tuile);
}
.form__urgent a { color: var(--tuile-fonce); font-weight: 800; white-space: nowrap; }

.field { margin-bottom: 16px; }
.field label, .field__label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.field small, .field__label small { font-weight: 500; color: var(--texte-2); }
.req { color: var(--tuile); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; font: 400 16.5px/1.4 var(--font); color: var(--texte);
  padding: 13px 14px; border: 1.5px solid var(--ligne); border-radius: var(--radius); background: #FDFCFA;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover { border-color: var(--zinc); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tuile); box-shadow: 0 0 0 3px rgba(191, 82, 41, .16); background: #fff; }
.field ::placeholder { color: #98A2AB; }
.field__err { display: none; margin: 6px 0 0; font-size: 14px; color: var(--erreur); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--erreur); background: #FFF8F7; }
.field.is-invalid .field__err { display: block; }
.file {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 16px; border: 1.5px dashed var(--zinc); border-radius: var(--radius); background: var(--chaux);
  font-weight: 600; font-size: 15.5px; transition: border-color .2s, background-color .2s; overflow-wrap: anywhere;
}
.file svg { width: 24px; height: 24px; fill: var(--tuile); flex: none; }
.file:hover { border-color: var(--tuile); background: #FCF4F0; }
.file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file__input:focus-visible + .file, .field--file:focus-within .file { outline: 3px solid var(--tuile-vif); outline-offset: 2px; }
.field--file { position: relative; }
.form__legal { font-size: 13.5px; color: var(--texte-2); margin: 18px 0 0; }
.form__legal a { color: var(--tuile); }
.form__error {
  margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius);
  background: #FDECEA; color: var(--erreur); font-weight: 600; font-size: 15px;
}
.form__error a { color: inherit; }
.form__nav { display: flex; gap: 10px; margin-top: 24px; }
.form__nav .btn { flex: 1; }
.form__prev { flex: 0 0 auto !important; }
.form__hp { display: none; }
.form__done { text-align: center; padding: 28px 8px; outline: none; }
.form__done svg { width: 72px; height: 72px; margin: 0 auto 18px; fill: none; stroke: var(--tuile); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-size: 26px; font-weight: 800; font-stretch: 112%; margin-bottom: 12px; }
.form__done p { color: var(--texte-2); max-width: 30em; margin: 0 auto; }
.form__done a { color: var(--tuile); font-weight: 700; white-space: nowrap; }

/* ---------- Pied de page ---------- */
.footer { background: var(--nuit); color: #AEB8C0; padding: clamp(56px, 7vw, 90px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: auto 1fr; gap: 40px 80px; align-items: start; }
.footer__logo { height: 52px; width: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--chaux); margin-bottom: 12px; font-stretch: 115%; }
.footer p { font-size: 15px; line-height: 1.85; margin: 0; }
.footer a { color: #D6DCE1; text-decoration: none; }
.footer a:hover { color: var(--tuile-vif); text-decoration: underline; }
.footer .footer__giant {
  margin: clamp(40px, 6vw, 70px) 0 10px; display: flex; justify-content: space-between;
  font-size: clamp(48px, 16.5vw, 210px); font-weight: 900; font-stretch: 125%; line-height: .8; color: #222D38;
  user-select: none;
}
.footer__giant span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 22px; font-size: 13.5px; }
.footer__bottom p { line-height: 1.5; }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__logo { height: 44px; }
}

/* ---------- Agrandissement des photos ---------- */
html.has-lightbox { overflow: hidden; }
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(13, 18, 23, .96); color: var(--chaux); overflow: hidden;
}
.lightbox::backdrop { background: rgba(13, 18, 23, .7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__count { font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--zinc-clair); }
.lightbox__btn {
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1;
  display: grid; place-items: center; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__fig { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; padding: 0 72px 18px; }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox__fig figcaption { text-align: center; padding: 14px 8px 0; font-size: 15.5px; max-width: 46em; margin: 0 auto; }
.lightbox__tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tuile-vif); margin-bottom: 4px; }
.lightbox__title { color: #fff; }
.lightbox__text { color: #C3CBD2; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; font-size: 32px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (max-width: 760px) {
  .lightbox__fig { padding: 0 8px 84px; }
  .lightbox__nav { top: auto; bottom: 18px; margin: 0; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .lightbox__fig figcaption { font-size: 14.5px; }
}

/* ---------- Apparitions au defilement (js/site.js) ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s);
}
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Pages secondaires (mentions legales, merci, 404) ---------- */
.page { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 110px); background: var(--chaux); }
.page__inner { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; font-stretch: 112%; margin-bottom: 10px; }
.page__date { color: var(--texte-2); font-size: 15px; margin-bottom: 32px; }
.page h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; font-stretch: 110%; margin: 46px 0 14px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.page h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.page p, .page li { color: #34414D; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 6px; }
.page a { color: var(--tuile); font-weight: 600; }
.page__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.page__toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); text-decoration: none; color: var(--ardoise); font-size: 14.5px; }
.page__toc a:hover { border-color: var(--ardoise); }
.page__box { background: var(--blanc); border: 1px solid var(--ligne); border-left: 4px solid var(--tuile); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.page__box ul { margin: 0; }
.page__todo { background: #FFF6E5; border: 1px dashed #D7A44A; border-radius: var(--radius); padding: 2px 8px; font-size: .92em; color: #7A5410; font-weight: 600; }
.page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.page dt { font-weight: 700; color: var(--ardoise); }
.page dd { margin: 0; color: #34414D; overflow-wrap: anywhere; }
@media (max-width: 520px) { .page dl { grid-template-columns: 1fr; gap: 0; } .page dd { margin-bottom: 10px; } }
.center-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 30px) var(--gutter) 60px; background: var(--ardoise); color: var(--chaux); }
.center-page img { width: 150px; margin: 0 auto 26px; }
.center-page h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; font-stretch: 118%; text-transform: uppercase; margin-bottom: 14px; }
.center-page p { color: #C3CBD2; max-width: 30em; margin: 0 auto 26px; }
.center-page .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Photos qui apparaissent apres un changement de filtre */
@keyframes shotIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
html.js .shot.is-enter { animation: shotIn .55s var(--ease) both; }
