/* =====================================================================
   Miravista : feuille de style commune
   Palette : encre du lac, pierre ivoire, brume ardoise, laiton champagne
   ===================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
/* Titres : Marcellus (capitales gravées). Texte : Jost (géométrique). */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marcellus.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/jost.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --encre: #0e1a1f;
  --encre-profond: #0a1418;
  --ivoire: #f3efe7;
  --sable: #eae4d9;
  --sable-fonce: #e2dbcd;
  --ardoise: #8a9599;
  --gris: #5b666a;
  --texte: #2b373c;
  --laiton: #b4925a;
  --laiton-fonce: #7e6030;
  --clair-sur-fonce: #c5ccce;
  --doux-sur-fonce: #a9b3b6;
  --filet: rgba(14, 26, 31, 0.2);
  --filet-leger: rgba(14, 26, 31, 0.12);
  --filet-fonce: rgba(138, 149, 153, 0.3);

  --serif: "Marcellus", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;

  --largeur: 1360px;
  --gouttiere: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-synthesis: none;
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }

.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-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--encre); color: var(--ivoire);
}
.skip-link:focus { top: 16px; }

/* ---------- Typographie ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.italic { font-style: italic; }

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--laiton-fonce);
}
.on-dark .eyebrow, .eyebrow--laiton { color: var(--laiton); }

.titre-xl {
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.titre-l {
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.titre-m {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 500;
}
.chapo {
  font-size: 17px;
  line-height: 1.7;
  color: var(--texte);
}
.texte { font-size: 16px; line-height: 1.75; color: var(--texte); }
.petit { font-size: 13px; line-height: 1.6; color: var(--gris); }
.on-dark .chapo, .on-dark .texte { color: var(--clair-sur-fonce); }
.on-dark .petit { color: var(--doux-sur-fonce); }

/* ---------- Mise en page ---------- */
.container {
  max-width: var(--largeur);
  margin: 0 auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere);
}
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--sable { background: var(--sable); }
.section--fonce { background: var(--encre); color: var(--ivoire); }
.section--blanc { background: #ffffff; }
.on-dark .diptyque__legende { color: var(--doux-sur-fonce); border-top-color: var(--filet-fonce); }
.on-dark .titre-l, .on-dark .titre-xl { color: var(--ivoire); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 64px;
  margin-bottom: 56px;
}
.section-head > div { max-width: 760px; }
.section-head > p { max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--texte); }
.on-dark .section-head > p { color: var(--clair-sur-fonce); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px clamp(40px, 6vw, 104px);
}
.split__aside { flex: 1 1 300px; max-width: 420px; }
.split__main { flex: 999 1 520px; }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 1.8em;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 500;
}
.prose h3 { margin-top: 1.4em; font-size: 18px; font-weight: 600; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; color: var(--texte); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--laiton-fonce); }
.prose a { color: var(--laiton-fonce); font-weight: 600; }
.prose strong { color: var(--encre); }

/* ---------- Liens et boutons ---------- */
.lnk {
  background-image: linear-gradient(var(--laiton), var(--laiton));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size 0.55s var(--ease);
}
.lnk:hover, .lnk:focus-visible { background-size: 100% 1px; }
.lnk--laiton { color: var(--laiton-fonce); font-weight: 600; }
.on-dark .lnk--laiton { color: var(--laiton); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--encre);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 13px;
  height: 1px;
  background: var(--laiton);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn--clair { background: var(--ivoire); color: var(--encre); }
.btn--contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.btn--compact { min-height: 46px; padding: 0 20px; }
.btn--compact::after { left: 20px; right: 20px; bottom: 11px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ivoire);
  border-bottom: 1px solid var(--filet-leger);
}
.header__inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.marque { display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
.marque__texte { display: flex; flex-direction: column; gap: 6px; }
.marque__nom { font-size: 15px; line-height: 1; letter-spacing: 0.32em; font-weight: 600; }
.marque__ligne { font-size: 10px; line-height: 1; letter-spacing: 0.14em; font-weight: 600; color: var(--laiton-fonce); }

.nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav a[aria-current="page"] { background-size: 100% 1px; }
.header__actions { display: flex; align-items: center; gap: 18px; flex: none; white-space: nowrap; }
.header__tel { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(14, 26, 31, 0.25);
  border-radius: 2px;
  cursor: pointer;
}

.menu-mobile {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  z-index: 29;
  overflow-y: auto;
  background: var(--ivoire);
  padding: 32px var(--gouttiere) 120px;
}
.menu-mobile.is-open { display: block; }
.menu-mobile a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--filet);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}
.menu-mobile .menu-mobile__contact {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  border: 0;
}

@media (max-width: 1240px) {
  .header__cta--secondaire { display: none !important; }
}
@media (max-width: 1080px) {
  .nav, .header__tel, .header__cta { display: none !important; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Fil d'Ariane ---------- */
.ariane { padding-top: 28px; font-size: 13px; color: var(--gris); }
.ariane ol { display: flex; flex-wrap: wrap; gap: 10px; }
.ariane li + li::before { content: "/"; margin-right: 10px; }
.ariane [aria-current="page"] { color: var(--encre); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; }
.hero__visuel {
  position: relative;
  width: 100%;
  min-height: 620px;
  aspect-ratio: 16 / 8.6;
  max-height: 880px;
  background: #1e2e35;
  overflow: hidden;
}
.hero__visuel > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Photos plein cadre */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__visuel picture { position: absolute; inset: 0; }
.hero__voile {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(14, 26, 31, 0.55) 0%, rgba(14, 26, 31, 0.15) 55%, rgba(14, 26, 31, 0) 75%),
    linear-gradient(180deg, rgba(14, 26, 31, 0) 35%, rgba(14, 26, 31, 0.75) 100%);
}
.hero__contenu {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gouttiere) clamp(40px, 6vw, 88px);
}
.hero__grille {
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero__titre { flex: 1 1 560px; max-width: 820px; }
.hero h1 { color: var(--ivoire); }
.hero__accroche {
  display: block;
  font-family: var(--serif);
  font-size: clamp(46px, 6.4vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.012em;
}
.hero__sous-titre {
  display: block;
  margin-top: 30px;
  max-width: 540px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: #e4dfd5;
}
.hero .eyebrow { color: #d9c7a4; margin-bottom: 28px; }
.hero__tel { color: var(--ivoire); font-size: 15px; font-weight: 500; }

.bandeau { border-bottom: 1px solid var(--filet-leger); }
.bandeau ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 13px;
  color: var(--gris);
  letter-spacing: 0.02em;
}
.bandeau li:first-child a { color: var(--laiton-fonce); font-weight: 600; }

/* Ouverture animée : buée effacée par une raclette */
.buee {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  animation: devoiler 2.6s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both;
}
.buee svg, .buee .photo { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(9px) saturate(0.45) brightness(1.25); transform: scale(1.04); }
.buee picture { position: absolute; inset: 0; }
.buee::after {
  content: "";
  position: absolute; inset: 0;
  background-color: rgba(214, 221, 222, 0.16);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1.6px),
    radial-gradient(rgba(255, 255, 255, 0.18) 1.6px, transparent 2.4px),
    radial-gradient(rgba(255, 255, 255, 0.14) 2.4px, transparent 3.4px),
    radial-gradient(rgba(255, 255, 255, 0.2) 0.8px, transparent 1.3px);
  background-size: 41px 47px, 67px 59px, 113px 97px, 29px 37px;
  background-position: 0 0, 23px 31px, 51px 13px, 7px 19px;
}
@keyframes devoiler { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }

.raclette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  animation: balayer 2.6s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both;
}
.raclette svg {
  position: absolute; top: 8%; right: calc(100% - 6px);
  height: 84%; width: auto; aspect-ratio: 180 / 600;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.45));
}
@keyframes balayer {
  0% { transform: translateX(0); }
  90% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ---------- Héros des pages intérieures ---------- */
.page-hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero__grille { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 104px); align-items: flex-end; }
.page-hero__titre { flex: 999 1 560px; max-width: 900px; }
.page-hero__titre .chapo { margin-top: 28px; max-width: 680px; }
.page-hero__aside { flex: 1 1 280px; max-width: 380px; }

.panorama {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  background: #1e2e35;
  overflow: hidden;
}
.panorama > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Fiche « en bref » ---------- */
.fiche { border-top: 1px solid var(--filet); }
.fiche div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--filet);
  font-size: 14px;
}
.fiche dt { color: var(--gris); }
.fiche dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Introduction éditoriale ---------- */
.intro__nom { font-size: 40px; line-height: 1.05; font-weight: 400; letter-spacing: 0.04em; }
.intro__phrase { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.2; font-weight: 400; }
.intro__colonnes { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 48px; }
.intro__colonnes p { flex: 1 1 300px; font-size: 17px; line-height: 1.7; color: var(--texte); }

/* ---------- Tarifs ---------- */
.tarifs { border-top: 1px solid rgba(138, 149, 153, 0.5); margin: 0; }
.tarifs__ligne {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--filet-fonce);
}
.tarifs__ligne::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(243, 239, 231, 0.09) 48%, rgba(180, 146, 90, 0.12) 52%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 1s var(--ease);
}
.tarifs__ligne:hover::after { transform: translateX(110%); }
.tarifs__type { display: block; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 500; }
.tarifs__repere { display: block; margin-top: 6px; font-size: 14px; color: var(--doux-sur-fonce); }
.tarifs__prix {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1;
  color: var(--laiton);
  white-space: nowrap;
  transition: transform 0.5s var(--ease);
}
.tarifs__ligne:hover .tarifs__prix { transform: translateX(-8px); }
.tarifs__prix--neutre { color: var(--ivoire); }

/* ---------- Liste de prestations ---------- */
.liste-liens { border-top: 1px solid var(--filet); }
.liste-liens a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 30px 12px 30px 0;
  border-bottom: 1px solid var(--filet);
  transition: background-color 0.4s ease;
}
.liste-liens a:hover { background-color: rgba(14, 26, 31, 0.035); }
.liste-liens__num { font-size: 13px; color: var(--gris); }
.liste-liens__titre { display: block; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 500; }
.liste-liens__desc { display: block; margin-top: 8px; font-size: 15px; color: var(--gris); }
.fleche { transition: transform 0.45s var(--ease); }
.liste-liens a:hover .fleche { transform: translateX(6px); }

/* ---------- Illustrations ---------- */
.illus { position: relative; overflow: hidden; background: #1e2e35; }
.illus > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.illus--3-4 { aspect-ratio: 3 / 4; }
.illus--4-5 { aspect-ratio: 4 / 5; }
.illus--4-3 { aspect-ratio: 4 / 3; }

/* ---------- Points forts numérotés ---------- */
.points { border-top: 1px solid var(--filet); align-self: flex-start; }
.points li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--filet);
}
.points__num { font-family: var(--serif); font-size: 22px; color: var(--laiton-fonce); font-style: italic; }
.points h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; font-weight: 500; }
.points p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--texte); max-width: 560px; }

/* ---------- Chiffres clés ---------- */
.chiffres { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px; }
.chiffres div { border-top: 1px solid rgba(138, 149, 153, 0.4); padding-top: 28px; }
.chiffres dt { font-family: var(--serif); font-size: clamp(52px, 4.6vw, 76px); line-height: 0.9; color: var(--laiton); font-weight: 400; }
.chiffres dd { margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: var(--clair-sur-fonce); max-width: 280px; }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 40px; }
.etapes li { border-top: 1px solid var(--encre); padding-top: 24px; }
.etapes__num { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--laiton-fonce); }
.etapes h3 { margin: 28px 0 12px; font-size: 17px; font-weight: 600; }
.etapes p { font-size: 15px; line-height: 1.7; color: var(--texte); }

.etapes-liste { border-top: 1px solid var(--filet); }
.etapes-liste li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--filet);
}
.etapes-liste span { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--laiton-fonce); }
.etapes-liste h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.etapes-liste p { font-size: 15px; line-height: 1.7; color: var(--texte); }

/* ---------- Cartes (causes, publics) ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.cartes > * { border-top: 1px solid var(--encre); padding-top: 22px; }
.cartes h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 500; margin-bottom: 12px; }
.cartes p { font-size: 15px; line-height: 1.7; color: var(--texte); }

/* ---------- Liste à puces fines ---------- */
.puces { border-top: 1px solid var(--filet); }
.puces li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--filet); position: relative; font-size: 16px; color: var(--texte); }
.puces li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--laiton); }

/* ---------- Avant / après ---------- */
.diptyque { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.diptyque figure { margin: 0; }
.diptyque .eyebrow { position: absolute; top: 20px; margin: 0; color: var(--ivoire); z-index: 2; }
.diptyque__avant .eyebrow { left: 40px; }
.diptyque__apres .eyebrow { right: 40px; }
.diptyque__legende {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--filet);
  font-size: 13px; color: var(--texte);
}

/* ---------- Tableau formules ---------- */
.tableau-wrap { overflow-x: auto; }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--filet); }
.tableau thead th { font-family: var(--serif); font-size: 28px; font-weight: 500; border-bottom-color: var(--encre); }
.tableau tbody th { font-weight: 600; color: var(--gris); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; width: 18%; }
.tableau td { color: var(--texte); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(14, 26, 31, 0.25); }
.faq details { border-bottom: 1px solid rgba(14, 26, 31, 0.25); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.faq p { margin: 0 0 30px; max-width: 680px; font-size: 16px; line-height: 1.75; color: var(--texte); }
.plus { flex: none; transition: transform 0.4s ease; }
.faq details[open] .plus { transform: rotate(45deg); }

/* ---------- Carte des zones ---------- */
.carte-zones { flex: 999 1 560px; margin: 0; }
.carte-zones > svg { width: 100%; height: auto; display: block; }
.carte-zones figcaption { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; font-size: 12px; color: var(--gris); }
.carte-zones figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.pt { cursor: pointer; outline: none; }
.pt .pl { opacity: 0; transition: opacity 0.25s ease; paint-order: stroke; stroke: var(--sable-fonce); stroke-width: 5px; stroke-linejoin: round; }
.pt .pd { transform-box: fill-box; transform-origin: center; transition: transform 0.3s var(--ease), fill 0.3s ease; }
.pt:hover .pl, .pt:focus-visible .pl { opacity: 1; }
.pt:hover .pd, .pt:focus-visible .pd { transform: scale(1.7); fill: var(--laiton-fonce); }
.onde circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: onde 6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.onde circle:nth-child(2) { animation-delay: 2s; }
.onde circle:nth-child(3) { animation-delay: 4s; }
@keyframes onde { 0% { transform: scale(0.05); opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }

.secteurs { flex: 1 1 340px; max-width: 460px; display: flex; flex-direction: column; gap: 32px; }
.secteurs > div { border-top: 1px solid var(--filet); padding-top: 20px; }
.secteurs h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.secteurs p { font-size: 14px; line-height: 1.8; color: var(--texte); }
.secteurs a { font-weight: 600; }

/* ---------- Liens croisés ---------- */
.liens-croises { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 104px); }
.liens-croises > div { flex: 1 1 320px; }
.liens-croises h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 18px; }
.liens-croises p { font-size: 15px; line-height: 2; color: var(--texte); }
.liens-croises a { font-weight: 600; }

/* ---------- Appel à l'action final ---------- */
.cta { position: relative; background: var(--encre); color: var(--ivoire); }
.cta__inner {
  position: relative; z-index: 1;
  padding-top: clamp(80px, 10vw, 150px);
  padding-bottom: clamp(80px, 10vw, 150px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px clamp(40px, 6vw, 96px);
}
.cta h2 { font-family: var(--serif); font-size: clamp(42px, 5vw, 80px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.cta__texte { margin-top: 28px; max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--clair-sur-fonce); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.cta__actions .lnk { color: var(--ivoire); font-size: 15px; }
.cta__photo { margin: 0; width: 100%; max-width: 520px; justify-self: end; }
@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__photo { order: -1; max-width: none; }
  .cta__photo .illus { aspect-ratio: 16 / 10; }
}

/* ---------- Articles (conseils) ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px 40px; }
.articles a { display: block; border-top: 1px solid var(--encre); padding-top: 22px; }
.articles h2 { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 500; }
.articles p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--texte); }
.articles .petit { margin-top: 16px; }
.meta-article { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13px; color: var(--gris); }
.encadre { padding: 28px 32px; background: var(--sable); border-left: 2px solid var(--laiton); }
.encadre p { font-size: 16px; line-height: 1.75; color: var(--texte); }

/* ---------- Formulaire de devis ---------- */
.formulaire { display: flex; flex-direction: column; gap: 48px; }
.formulaire fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.formulaire legend { padding: 0; margin-bottom: 18px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.formulaire legend em { font-size: 18px; color: var(--gris); }
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center;
  min-height: 46px; padding: 0 20px;
  border: 1px solid rgba(14, 26, 31, 0.28);
  border-radius: 2px;
  font-size: 14px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pill input:hover + span { border-color: var(--encre); }
.pill input:checked + span { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.pill input:focus-visible + span { outline: 2px solid var(--laiton); outline-offset: 3px; }
.champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.lab { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 4px; }
.lab span { font-weight: 400; color: var(--gris); }
.field {
  width: 100%; min-height: 52px; padding: 14px 0;
  border: 0; border-bottom: 1px solid rgba(14, 26, 31, 0.35); border-radius: 0;
  background: transparent;
  font-family: inherit; font-size: 16px; color: var(--encre);
}
.field:focus { outline: none; border-bottom-color: var(--laiton); box-shadow: 0 1px 0 var(--laiton); }
.field::placeholder { color: #7a8487; }
textarea.field { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--texte); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--encre); flex: none; }
.estimation {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px;
  padding: 22px 26px;
  background: var(--encre); color: var(--ivoire);
}
.estimation .eyebrow { margin: 0; color: var(--laiton); }
.estimation__prix { font-family: var(--serif); font-size: 40px; line-height: 1; }
.estimation__note { font-size: 13px; line-height: 1.5; color: var(--doux-sur-fonce); }
.formulaire__envoi { display: flex; flex-direction: column; gap: 28px; padding-top: 32px; border-top: 1px solid var(--encre); }
.cache { display: none; }

/* ---------- Pied de page ---------- */
.footer { background: var(--encre-profond); color: var(--doux-sur-fonce); font-size: 14px; }
.footer__inner { padding-top: 88px; padding-bottom: 120px; }
.footer__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px; }
.footer__logo { display: inline-flex; flex-direction: column; align-items: center; }
.footer__logo-nom { margin-top: 14px; font-size: 20px; line-height: 1; letter-spacing: 0.3em; padding-left: 0.3em; font-weight: 600; color: #fff; }
.footer__logo-filet { width: 28px; height: 1px; margin: 12px 0 10px; background: var(--laiton); }
.footer__logo-ligne { font-size: 9.5px; line-height: 1.7; letter-spacing: 0.16em; font-weight: 600; color: var(--laiton); text-align: center; }
.footer .eyebrow { color: var(--ardoise); margin-bottom: 18px; }
.footer__liens { line-height: 2.1; }
.footer__liens a { color: #d5dadb; }
.footer__contact a { color: var(--ivoire); }
.footer__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px;
  margin-top: 72px; padding-top: 24px;
  border-top: 1px solid var(--filet-fonce);
  font-size: 12px; color: var(--ardoise);
}
.footer__bas a { color: var(--doux-sur-fonce); }

/* ---------- Barre de contact mobile ---------- */
.barre-mobile {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  grid-template-columns: 1fr 1fr 1.4fr;
  background: var(--ivoire);
  border-top: 1px solid rgba(14, 26, 31, 0.15);
}
.barre-mobile a { display: flex; align-items: center; justify-content: center; min-height: 60px; font-size: 13px; font-weight: 600; }
.barre-mobile a + a { border-left: 1px solid rgba(14, 26, 31, 0.15); }
.barre-mobile a:last-child { background: var(--encre); color: var(--ivoire); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 900px) {
  .barre-mobile { display: grid; }
  body.sans-barre .barre-mobile { display: none; }
}

/* ---------- Effets lumineux ---------- */
.reflet { position: relative; overflow: hidden; }
.reflet::after {
  content: "";
  position: absolute; inset: -10% -70%;
  background: linear-gradient(104deg, transparent 44%, rgba(255, 255, 255, 0.07) 48.5%, rgba(255, 255, 255, 0.17) 50%, rgba(255, 255, 255, 0.07) 51.5%, transparent 56%);
  transform: translateX(-55%);
  animation: reflet 11s cubic-bezier(0.45, 0, 0.2, 1) 1.5s infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes reflet { 0% { transform: translateX(-55%); } 50%, 100% { transform: translateX(55%); } }

.caustique { position: relative; overflow: hidden; isolation: isolate; }
.caustique::before {
  content: "";
  position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 28% 16% at 28% 38%, rgba(180, 146, 90, 0.11), transparent 70%),
    radial-gradient(ellipse 22% 14% at 72% 62%, rgba(243, 239, 231, 0.07), transparent 70%),
    radial-gradient(ellipse 34% 18% at 50% 82%, rgba(138, 149, 153, 0.09), transparent 70%);
  animation: derive 26s ease-in-out infinite alternate;
}
.caustique > * { position: relative; z-index: 1; }
@keyframes derive { from { transform: translate3d(-5%, -3%, 0) rotate(0deg); } to { transform: translate3d(5%, 3%, 0) rotate(5deg); } }

/* Apparitions au défilement (activées par js/anim-init.js et js/main.js) */
.anim [data-anim] {
  opacity: 0;
  transition: opacity 0.9s ease, transform 1s var(--ease);
  transition-delay: var(--delai, 0ms);
}
.anim [data-anim="haut"] { transform: translateY(32px); }
.anim [data-anim="gauche"] { transform: translateX(-56px); }
.anim [data-anim="droite"] { transform: translateX(56px); }
.anim [data-anim="zoom"] { transform: scale(1.06); transition-duration: 1.2s, 1.6s; }
.anim [data-anim].visible { opacity: 1; transform: none; }

/* Titres « essuyés » comme une vitre */
.anim .essuyer { clip-path: inset(-10% 100% -20% 0); transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
.anim .essuyer.visible, .anim .visible .essuyer { clip-path: inset(-10% -2% -20% 0); }

@media (max-width: 700px) {
  .anim [data-anim="gauche"] { transform: translateX(-28px); }
  .anim [data-anim="droite"] { transform: translateX(28px); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reflet::after, .caustique::before, .onde circle { animation: none !important; }
  .buee, .raclette { display: none; }
  .lnk, .btn::after, .fleche, .plus, .tarifs__ligne::after, .tarifs__prix, .pt .pd, .pt .pl, .pill span { transition: none; }
}

/* En-tête simplifié (page devis) : téléphone visible sur mobile */
.menu-btn-texte { display: none; }
@media (max-width: 1080px) { .menu-btn-texte { display: inline; } }
@media (max-width: 440px) {
  .menu-btn-texte { font-size: 13px; }
  .marque__ligne { font-size: 9px; letter-spacing: 0.1em; }
  .marque { gap: 10px; }
}

/* ---------- Comment compter ses fenêtres ---------- */
.comptage { margin-top: 48px; }
.comptage .eyebrow { color: var(--laiton); margin-bottom: 28px; }
.comptage__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-bottom: 28px; }
.comptage__liste li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; border: 1px solid rgba(138, 149, 153, 0.3); }
.comptage__liste svg { width: 96px; height: 120px; }
.comptage__nom { font-size: 15px; font-weight: 600; color: var(--ivoire); line-height: 1.3; }
.comptage__nom span { display: block; font-weight: 400; font-size: 13px; color: var(--doux-sur-fonce); }
.comptage__valeur { font-family: var(--sans); font-size: 30px; font-weight: 500; line-height: 1; color: var(--laiton); }
.comptage__valeur small { font-size: 13px; font-weight: 500; color: var(--doux-sur-fonce); margin-left: 6px; }
@media (max-width: 900px) { .comptage__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .comptage__liste li { padding: 18px; } .comptage__liste svg { width: 72px; height: 90px; } }

/* ---------- Tarifs sur mobile : nom, repère et prix empilés, tous alignés à gauche ---------- */
@media (max-width: 700px) {
  .tarifs__ligne { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .tarifs__prix { font-size: 40px; white-space: normal; }
  .tarifs__ligne:hover .tarifs__prix { transform: none; }
  .eclaircir { animation: none !important; }
}

/* ---------- Tuiles « l'essentiel » sous la photo d'accueil ---------- */
.tuiles { border-bottom: 1px solid var(--filet-leger); }
.tuiles__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tuiles__liste li + li { border-left: 1px solid var(--filet-leger); }
.tuiles__liste a { display: flex; flex-direction: column; gap: 8px; padding: 32px 24px 32px 0; transition: background-color 0.4s ease; }
.tuiles__liste li + li a { padding-left: 32px; }
.tuiles__liste a:hover { background-color: rgba(14, 26, 31, 0.03); }
.tuiles__valeur { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--laiton-fonce); }
.tuiles__texte { font-size: 14px; line-height: 1.45; color: var(--texte); }
@media (max-width: 700px) {
  .tuiles__liste a { padding: 22px 10px 22px 0; gap: 6px; }
  .tuiles__liste li + li a { padding-left: 12px; }
  .tuiles__texte { font-size: 12px; }
}

/* ---------- Atouts (accueil) ---------- */
.atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.atouts li { border-top: 1px solid var(--encre); padding-top: 20px; }
.atouts__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--laiton-fonce); }
.atouts h3 { margin: 14px 0 8px; font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 500; }
.atouts p { font-size: 15px; line-height: 1.6; color: var(--texte); }
@media (max-width: 900px) { .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .atouts h3 { font-size: 22px; } }

/* ---------- Mobile : une idée par section ---------- */
@media (max-width: 700px) {
  .seulement-large { display: none !important; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-head { margin-bottom: 32px; }
  .intro__phrase { font-size: 24px; }
  .secteurs--accueil p { display: none; }
  .secteurs--accueil { gap: 0; }
  .secteurs--accueil > div { padding: 16px 0; }
  .secteurs--accueil h3 { margin: 0; font-size: 24px; }
  .liste-liens__desc { display: none; }
  .liste-liens a { padding: 22px 8px 22px 0; }
  .diptyque { grid-template-columns: 1fr 1fr; gap: 8px; }
  .diptyque .eyebrow { top: 12px; left: 12px !important; right: auto !important; font-size: 10px; letter-spacing: 0.12em; }
  .comptage__liste li { padding: 14px; }
}

/* Constat : photos moins hautes sur ordinateur */
@media (min-width: 701px) { .diptyque .illus { aspect-ratio: 3 / 2; } }

/* ---------- Intro de l'accueil : texte + photo de la terrasse ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 104px); align-items: center; }
.intro__photo { margin: 0; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .prestations__photo .illus { aspect-ratio: 4 / 3; }
}

/* ---------- Bandeau photo (perche) entre zones et questions ---------- */
.bandeau-photo { position: relative; height: clamp(300px, 34vw, 480px); overflow: hidden; background: var(--encre); color: var(--ivoire); }
.bandeau-photo__voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 31, 0.78) 0%, rgba(14, 26, 31, 0.35) 45%, rgba(14, 26, 31, 0) 70%); }
.bandeau-photo__texte { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bandeau-photo .eyebrow { color: var(--laiton); margin-bottom: 14px; }
.bandeau-photo__phrase { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; max-width: 520px; margin-bottom: 20px; }
.bandeau-photo .lnk { color: var(--ivoire); font-weight: 600; font-size: 15px; }
@media (max-width: 700px) {
  .bandeau-photo { height: 340px; }
  .bandeau-photo .photo { object-position: 72% 50% !important; }
  .bandeau-photo__voile { background: linear-gradient(180deg, rgba(14, 26, 31, 0) 25%, rgba(14, 26, 31, 0.8) 100%); }
  .bandeau-photo__texte { justify-content: flex-end; padding-bottom: 28px; }
}

/* ---------- Fondateur (accueil) ---------- */
.fondateur { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center; }
.fondateur__photo { margin: 0; }
.fondateur__texte { max-width: 620px; }
@media (max-width: 900px) {
  .fondateur { grid-template-columns: 1fr; }
  .fondateur__photo { max-width: 420px; }
}
