/* Fée Maison : feuille de style unique */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/cormorant.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/cormorant-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/jost.woff2') format('woff2'); }

:root {
  --ivoire: #fbf9f6;
  --lin: #f2ede4;
  --lin-fonce: #e6dfd1;
  --encre: #1d1b18;
  --texte: #3a3731;
  --doux: #6b665d;
  --olive: #85824f;          /* teinte du logo : décor, traits, grands textes */
  --olive-texte: #63603a;    /* même famille, assez contrastée pour du petit texte */
  --or: #b39b62;
  --trait: #dcd4c5;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gouttiere: 16px;
  --entete: 72px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}
@media (min-width: 700px) { :root { --gouttiere: 32px; } }
@media (min-width: 1100px) { :root { --gouttiere: 48px; --entete: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font: 360 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--olive-texte); outline-offset: 3px; }

h1, h2, h3, .h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--encre);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.7rem + 4.2vw, 4.75rem); line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); line-height: 1.08; }
h3, .h3 { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.85rem); line-height: 1.2; }

.surtitre {
  font: 500 .75rem/1.5 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive-texte);
  margin-bottom: 1.1rem;
}
.surtitre a { text-decoration: none; }
.surtitre a:hover { text-decoration: underline; }
.chapeau { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--encre); font-weight: 340; }

.sr, .evitement:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--encre); color: var(--ivoire); padding: 10px 16px; }

.conteneur { width: 100%; max-width: calc(1240px + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.conteneur--etroit { max-width: calc(780px + 2 * var(--gouttiere)); }

/* ---------- boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid var(--encre); border-radius: 1px;
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--plein { background: var(--encre); color: var(--ivoire); }
.btn--plein:hover { background: var(--olive-texte); border-color: var(--olive-texte); }
.btn--ligne { background: transparent; color: var(--encre); }
.btn--ligne:hover { background: var(--encre); color: var(--ivoire); }
.btn--clair { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); }
.btn--clair:hover { background: var(--lin-fonce); border-color: var(--lin-fonce); }
.btn--ligne-clair { color: var(--ivoire); border-color: rgba(251, 249, 246, .45); }
.btn--ligne-clair:hover { border-color: var(--ivoire); background: rgba(251, 249, 246, .08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.actions--centre { justify-content: center; margin-top: 0; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--encre); text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid var(--trait);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.lien-fleche svg { width: 22px; height: 11px; flex: none; }
a.lien-fleche:hover, a:hover > .lien-fleche { border-color: var(--olive); gap: 18px; }

/* ---------- en-tête */
.entete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 249, 246, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.entete.defile { border-bottom-color: var(--trait); }
.entete__inner { display: flex; align-items: center; justify-content: space-between; height: var(--entete); }
.entete__logo img { height: calc(var(--entete) - 16px); width: auto; }
.entete__menu {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
}
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 1px; background: var(--encre); transition: transform .3s var(--ease), opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.entete.ouvert .burger { background: transparent; }
.entete.ouvert .burger::before { transform: translateY(7px) rotate(45deg); }
.entete.ouvert .burger::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }
.entete.ouvert .nav {
  display: flex; flex-direction: column; justify-content: space-between;
  position: fixed; inset: var(--entete) 0 0; z-index: 39;
  background: var(--ivoire); padding: 32px var(--gouttiere) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.nav ul { display: flex; flex-direction: column; gap: 4px; }
.nav a:not(.btn) {
  display: block; padding: 10px 0;
  font: 500 2.1rem/1.2 var(--serif); color: var(--encre); text-decoration: none;
  border-bottom: 1px solid var(--trait);
}
.nav a[aria-current="page"] { color: var(--olive-texte); }
.nav__devis { margin-top: 32px; width: 100%; }
body.menu-ouvert { overflow: hidden; }

@media (min-width: 960px) {
  .entete__menu { display: none; }
  .nav, .entete.ouvert .nav {
    display: flex; flex-direction: row; align-items: center; gap: 40px;
    position: static; padding: 0; background: none; overflow: visible;
  }
  .nav ul { flex-direction: row; gap: 32px; }
  .nav a:not(.btn) {
    padding: 6px 0; border: 0;
    font: 500 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
    background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 1px no-repeat;
    transition: background-size .35s var(--ease);
  }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 1px; color: var(--encre); }
  .nav__devis { margin: 0; width: auto; min-height: 44px; padding-inline: 20px; }
}

/* ---------- sections */
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.section--serre { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--lin { background: var(--lin); }
.section__tete { max-width: 680px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section__tete > p:not(.surtitre) { color: var(--doux); }

.toit { display: flex; justify-content: center; padding-inline: var(--gouttiere); }
.toit svg { width: 150px; height: 17px; fill: none; stroke: var(--olive); stroke-width: 1; opacity: .75; }

/* ---------- héros */
.heros { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.heros__inner { display: grid; gap: 48px; align-items: center; }
.heros__texte h1 { margin-bottom: .45em; }
.heros__zone { margin-top: 1.6rem; font-size: .9rem; color: var(--doux); }
.heros__photo { width: min(400px, 88%); justify-self: center; }
@media (min-width: 900px) {
  .heros__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(48px, 6vw, 112px); min-height: min(calc(100svh - var(--entete) - 72px), 760px); }
  .heros__photo { width: min(440px, 100%); justify-self: end; margin-right: 18px; }
  .heros--service .heros__photo { width: min(400px, 100%); }
}

/* photo dans un cadre en forme de maison */
.maison { position: relative; aspect-ratio: 3 / 4; isolation: isolate; }
.maison__img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(50% 0, 100% 22.5%, 100% 100%, 0 100%, 0 22.5%);
  background: var(--lin);
}
.maison__trait {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible;
  transform: translate(16px, 16px);
  fill: none; stroke: var(--olive); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.maison__trait path { vector-effect: non-scaling-stroke; }

/* ---------- services */
.grille-services { display: grid; gap: 56px; }
@media (min-width: 900px) { .grille-services { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); } }
.carte-service a { display: block; text-decoration: none; color: inherit; }
.carte-service__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lin); margin-bottom: 24px; }
.carte-service__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-service a:hover img { transform: scale(1.035); }
.carte-service__num { font: italic 400 1.15rem/1 var(--serif); color: var(--olive); margin-bottom: .6rem; }
.carte-service h3 { margin-bottom: .35em; }
.carte-service p:not(.carte-service__num) { color: var(--doux); margin-bottom: 1.4rem; }

/* ---------- vitrine avant/après */
.vitrine { display: grid; gap: 40px; align-items: center; }
.vitrine .ba { width: min(100%, 480px); justify-self: center; }
.vitrine__texte > p:not(.surtitre) { color: var(--doux); margin-bottom: 1.8rem; max-width: 46ch; }
@media (min-width: 900px) {
  .vitrine { grid-template-columns: minmax(0, 1fr) 480px; gap: clamp(48px, 7vw, 120px); }
  .vitrine .ba { justify-self: end; }
}

/* ---------- comparateur avant/après */
.ba { margin: 0; }
.ba__cadre {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--lin-fonce);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__img--avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivoire); transform: translateX(-.5px); pointer-events: none; }
.ba__poignee span {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  border: 1px solid var(--ivoire); border-radius: 50%;
  background: rgba(29, 27, 24, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform .25s var(--ease);
}
.ba__poignee span::before, .ba__poignee span::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--ivoire); border-width: 0 0 1px 1px;
}
.ba__poignee span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.ba__poignee span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.ba__cadre.actif .ba__poignee span { transform: translate(-50%, -50%) scale(1.08); }
.ba__etiquette {
  position: absolute; top: 14px; padding: 5px 10px;
  font: 500 .68rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: rgba(251, 249, 246, .88); color: var(--encre); pointer-events: none;
}
.ba__etiquette--avant { left: 14px; }
.ba__etiquette--apres { right: 14px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba__cadre:has(.ba__range:focus-visible), .ba__cadre.focus { outline: 2px solid var(--olive-texte); outline-offset: 3px; }
.ba figcaption { margin-top: 12px; font-size: .9rem; color: var(--doux); }

/* ---------- pour qui */
.grille-situations { display: grid; gap: 40px; }
@media (min-width: 700px) { .grille-situations { grid-template-columns: repeat(2, 1fr); gap: 56px clamp(32px, 5vw, 80px); } }
.carte-situation { border-top: 1px solid var(--trait); padding-top: 28px; }
.carte-situation h3 { max-width: 22ch; }
.carte-situation p { color: var(--doux); margin-bottom: 1.4rem; max-width: 48ch; }

/* ---------- étapes */
.grille-etapes { display: grid; gap: 40px; counter-reset: etape; }
@media (min-width: 700px) { .grille-etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .grille-etapes { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.etape { border-top: 1px solid var(--trait); padding-top: 24px; }
.etape__num { display: block; font: italic 400 3.2rem/1 var(--serif); color: var(--olive); margin-bottom: 1rem; }
.etape h3 { font-size: 1.5rem; }
.etape p { color: var(--doux); font-size: 1rem; }

/* ---------- avis */
.grille-avis { display: grid; gap: 32px; }
@media (min-width: 900px) { .grille-avis { grid-template-columns: repeat(3, 1fr); } }
.avis blockquote { margin: 0 0 1rem; font: italic 400 1.45rem/1.4 var(--serif); color: var(--encre); }
.avis__auteur { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-texte); }

/* ---------- bandeau final */
.cta { background: var(--encre); color: #d9d3c7; text-align: center; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.cta__inner { max-width: calc(720px + 2 * var(--gouttiere)); }
.cta__logo { width: 132px; height: auto; margin: 0 auto 2.2rem; }
.cta h2 { color: var(--ivoire); }
.cta p { margin-inline: auto; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.4rem; }
.cta__actions .btn { min-width: 0; }
@media (max-width: 520px) { .cta__actions .btn { width: 100%; } }

/* ---------- pied de page */
.pied { padding-block: 4rem calc(2rem + env(safe-area-inset-bottom)); font-size: .95rem; }
.pied__inner { display: grid; gap: 40px; padding-bottom: 3rem; }
@media (min-width: 800px) { .pied__inner { grid-template-columns: 2fr 1fr 1fr; } }
.pied__marque img { width: 108px; height: auto; margin-bottom: 1.2rem; }
.pied__marque p { color: var(--doux); max-width: 34ch; }
.pied__zone { font-style: italic; font-family: var(--serif); font-size: 1.15rem; color: var(--encre) !important; }
.pied__liste li { margin-bottom: .5rem; }
.pied__liste a { text-decoration: none; overflow-wrap: anywhere; }
.pied__liste a:hover { text-decoration: underline; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  background: linear-gradient(var(--trait), var(--trait)) var(--gouttiere) 0 / calc(100% - 2 * var(--gouttiere)) 1px no-repeat;
  padding-top: 1.5rem; font-size: .82rem; color: var(--doux);
}
.pied__bas a { text-decoration: none; }
.pied__bas a:hover { text-decoration: underline; }
.pied__bas p { margin: 0; }

/* bouton WhatsApp flottant, sur mobile seulement */
.wa-flottant {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--encre); color: var(--ivoire);
  box-shadow: 0 6px 20px rgba(29, 27, 24, .22);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-flottant svg { width: 24px; height: 24px; fill: currentColor; }
.wa-flottant:active { transform: scale(.94); }
body.menu-ouvert .wa-flottant { opacity: 0; pointer-events: none; }
@media (min-width: 960px) { .wa-flottant { display: none; } }

/* ---------- en-tête des pages intérieures */
.tete-page { padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4rem); text-align: center; }
.tete-page .chapeau { color: var(--doux); max-width: 60ch; margin-inline: auto; }
.tete-page--projet .chapeau { text-align: left; font-size: 1.1rem; color: var(--texte); }
@media (min-width: 700px) { .tete-page--projet .chapeau { text-align: center; } }

/* ---------- services : rangées et détails */
.rangee { display: grid; gap: 40px; align-items: center; }
.rangee + .rangee { margin-top: clamp(4.5rem, 3rem + 6vw, 8rem); }
.rangee__photo { width: min(360px, 84%); justify-self: center; }
.rangee__texte > p:not(.surtitre):not(.chapeau) { color: var(--doux); margin-bottom: 1.8rem; }
@media (min-width: 900px) {
  .rangee { grid-template-columns: 400px minmax(0, 1fr); gap: clamp(56px, 8vw, 128px); }
  .rangee__photo { width: 100%; }
  .rangee:nth-child(even) .rangee__photo { order: 2; }
}

.grille-details { display: grid; gap: 48px; }
@media (min-width: 900px) { .grille-details { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 72px); } }
.grille-details h2 { margin-bottom: 1.2rem; }
.liste-trait li, .liste-feuille li { position: relative; padding-left: 30px; margin-bottom: .85rem; }
.liste-trait li::before { content: ''; position: absolute; left: 0; top: .85em; width: 16px; height: 1px; background: var(--olive); }
.liste-feuille li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14C2 7 7 2 14 2c0 7-5 12-12 12Zm0 0 8-8' fill='none' stroke='%2385824f' stroke-width='1.1'/%3E%3C/svg%3E") no-repeat center / contain;
}
.liste-deroule li { display: grid; grid-template-columns: 36px 1fr; gap: 6px; margin-bottom: 1rem; }
.liste-deroule span { font: italic 400 1.5rem/1.1 var(--serif); color: var(--olive); }

.bandeau-devis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.bandeau-devis .h3 { margin: 0; }
.autres-services > div { display: flex; flex-wrap: wrap; gap: 16px 40px; }

/* ---------- réalisations */
.grille-projets { display: grid; gap: 56px; }
@media (min-width: 700px) { .grille-projets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .grille-projets { grid-template-columns: repeat(3, 1fr); } }
.grille-projets:has(> :only-child) { max-width: 480px; margin-inline: auto; grid-template-columns: 1fr; }
.carte-projet a { display: block; text-decoration: none; color: inherit; }
.carte-projet__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--lin); margin-bottom: 22px; }
.carte-projet__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-projet a:hover img { transform: scale(1.035); }
.carte-projet .surtitre { margin-bottom: .6rem; }
.carte-projet h2 { margin-bottom: 1rem; }

/* page projet */
.piece { display: grid; gap: 28px; }
.piece + .piece { margin-top: clamp(4rem, 3rem + 5vw, 7rem); padding-top: clamp(4rem, 3rem + 5vw, 7rem); border-top: 1px solid var(--trait); }
.piece__texte { max-width: 640px; }
.piece__texte p:not(.surtitre) { color: var(--doux); }
.piece__texte .surtitre { font: italic 400 1.3rem/1 var(--serif); letter-spacing: 0; color: var(--olive); text-transform: none; }
.piece__visuels { display: grid; gap: 16px; }
@media (min-width: 700px) {
  .piece__visuels { grid-template-columns: repeat(2, minmax(0, 480px)); gap: clamp(16px, 2.5vw, 40px); }
  .piece--seule .piece__visuels { grid-template-columns: minmax(0, 480px); }
}
@media (min-width: 900px) {
  .piece { gap: 40px; }
  .piece__texte { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .piece__texte .surtitre { grid-column: 1; }
  .piece__texte h2 { grid-column: 1; margin: 0; }
  .piece__texte p:not(.surtitre) { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 56ch; }
}
.photo-grand { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--lin); cursor: zoom-in; }
.photo-grand img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo-grand__legende {
  position: absolute; top: 14px; right: 14px; padding: 5px 10px;
  font: 500 .68rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: rgba(251, 249, 246, .88); color: var(--encre);
}

.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.galerie__item { display: block; width: 100%; padding: 0; border: 0; background: var(--lin-fonce); cursor: zoom-in; overflow: hidden; }
.galerie__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease), opacity .3s; }
.galerie__item:hover img { transform: scale(1.04); }

/* visionneuse */
.visionneuse {
  width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 17, 15, .96); color: var(--ivoire);
}
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse::backdrop { background: rgba(18, 17, 15, .6); }
.visionneuse figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 56px 16px; }
.visionneuse img { max-width: min(92vw, 720px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.visionneuse figcaption { font: italic 400 1.25rem/1.3 var(--serif); color: #d9d3c7; }
.visionneuse button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; background: none; color: var(--ivoire); cursor: pointer; font: 300 2.4rem/1 var(--sans); }
.visionneuse__fermer { top: max(8px, env(safe-area-inset-top)); right: 8px; }
.visionneuse__nav { top: 50%; transform: translateY(-50%); }
.visionneuse__nav--prec { left: 4px; }
.visionneuse__nav--suiv { right: 4px; }
@media (max-width: 699px) { .visionneuse__nav { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); transform: none; } .visionneuse__nav--prec { left: 25%; } .visionneuse__nav--suiv { right: 25%; } }

/* ---------- à propos */
.texte-long p { margin-bottom: 1.2em; }
.texte-long h2 { margin-top: 2.2em; margin-bottom: .6em; }
.texte-long h2:first-child { margin-top: 0; }
.heros--propos .texte-long p { color: var(--texte); }
.heros--propos .heros__inner { align-items: start; }
.signature { margin-top: 1.4rem; font: italic 400 2rem/1 var(--serif); color: var(--olive-texte); }
.portrait-attente {
  aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--lin);
  clip-path: polygon(50% 0, 100% 22.5%, 100% 100%, 0 100%, 0 22.5%);
}
.portrait-attente img { width: 58%; height: auto; margin-top: 18%; }
@media (min-width: 900px) { .heros--propos .heros__photo { position: sticky; top: calc(var(--entete) + 40px); } }
.grille-vision { display: grid; gap: 40px; }
@media (min-width: 900px) { .grille-vision { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.grille-vision li { border-top: 1px solid var(--trait); padding-top: 24px; }
.grille-vision p { color: var(--doux); }

/* ---------- contact */
.grille-contact { display: grid; gap: 12px; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 800px) { .grille-contact { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tuile-contact {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 28px; border: 1px solid var(--trait); text-decoration: none; color: inherit;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.tuile-contact:hover { background: var(--lin); border-color: var(--lin-fonce); }
.tuile-contact svg { width: 28px; height: 28px; fill: var(--olive); color: var(--olive); margin-bottom: 14px; }
.tuile-contact .surtitre { margin: 0; }
.tuile-contact__valeur { font: 500 1.6rem/1.25 var(--serif); color: var(--encre); }
.tuile-contact__valeur--mail { font-size: 1.3rem; overflow-wrap: anywhere; }
.contact-infos { max-width: 640px; margin-inline: auto; }
.contact-zone { font: italic 400 1.5rem/1.35 var(--serif); color: var(--encre); margin-bottom: 1.4rem; }

/* ---------- apparitions au défilement */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .wa-flottant, .cta, .visionneuse { display: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* paires au format paysage */
.ba--paysage .ba__cadre, .photo-grand--paysage img { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .piece--paysage .piece__visuels { grid-template-columns: minmax(0, 640px); } }
@media (min-width: 900px) { .carte-service__photo { aspect-ratio: 4 / 5; } }

.wa-flottant { border: 1px solid rgba(251, 249, 246, .35); }

/* =====================================================================
   Direction immersive : typographie, narration au défilement, traits
   (uniquement des transform / opacity : fluide même sur téléphone)
   ===================================================================== */

:root { --rayon: clamp(18px, 2.4vw, 32px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* grain très léger, fixe : donne de la matière au fond ivoire */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.conteneur--moyen { max-width: calc(1040px + 2 * var(--gouttiere)); }
.h4 { font: 500 1.35rem/1.25 var(--serif); color: var(--encre); margin: 0 0 .4em; }
.btn--or { background: var(--or); border-color: var(--or); color: var(--encre); }
.btn--or:hover { background: var(--ivoire); border-color: var(--ivoire); }
.btn--or svg { width: 22px; height: 11px; fill: none; }
.btn { will-change: transform; }

/* ---------- titres révélés mot à mot */
.titre-anime .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.titre-anime .m > span { display: inline-block; }
.js .titre-anime .m > span { transform: translate3d(0, 108%, 0); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 55ms); }
.js .titre-anime.vu .m > span { transform: none; }

/* ---------- illustrations qui se dessinent */
.dessin { width: 100%; height: auto; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dessin .d-encre { stroke: var(--encre); stroke-width: 1.5; }
.dessin .d-olive { stroke: var(--olive); stroke-width: 1.5; }
.dessin .d-or { fill: var(--or); stroke: none; }
.dessin .d-or > * { transform-box: fill-box; transform-origin: center; }
.js .dessin .d-encre > *, .js .dessin .d-olive > *, .js .dessin .d-encre g > *, .js .dessin .d-olive g > * {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s cubic-bezier(.65, 0, .35, 1) calc(var(--o, 0) * 110ms);
}
.js .dessin.vu .d-encre > *, .js .dessin.vu .d-olive > *, .js .dessin.vu .d-encre g > *, .js .dessin.vu .d-olive g > * { stroke-dashoffset: 0; }
.js .dessin .d-or > * { opacity: 0; transform: scale(.3); transition: opacity .8s ease calc(var(--o, 0) * 110ms + .3s), transform .8s cubic-bezier(.34, 1.56, .64, 1) calc(var(--o, 0) * 110ms + .3s); }
.js .dessin.vu .d-or > * { opacity: 1; transform: none; }
.dessin.vu .d-or > *:nth-child(odd) { animation: scintille 2.8s ease-in-out 2.4s infinite alternate; }
.dessin.vu .d-or > *:nth-child(even) { animation: scintille 3.6s ease-in-out 3s infinite alternate-reverse; }
@keyframes scintille { from { opacity: 1; transform: scale(1); } to { opacity: .35; transform: scale(.7); } }

/* ---------- héros de l'accueil */
.heros--accueil {
  position: relative; overflow: clip;
  min-height: calc(100vh - var(--entete)); min-height: calc(100svh - var(--entete));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(1.5rem, 1rem + 3vw, 3rem) 0;
}
.heros--accueil .heros__inner { min-height: 0; flex: 1; align-items: center; gap: clamp(32px, 5vw, 80px); }
.heros--accueil h1 { font-size: clamp(3rem, 1.2rem + 6.6vw, 7.6rem); line-height: .98; letter-spacing: -.02em; margin-bottom: .35em; }
.heros--accueil .chapeau { max-width: 38ch; }
.heros__illus { position: relative; width: min(440px, 86%); justify-self: center; }
.heros__illus--service { width: min(420px, 90%); }
@media (min-width: 900px) {
  .heros--accueil .heros__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .heros__illus { width: 100%; max-width: 460px; justify-self: end; }
}
.heros__lueur {
  position: absolute; z-index: -1; left: 0; top: 0; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 155, 98, .18), rgba(179, 155, 98, 0) 62%);
  transform: translate3d(calc(var(--lx, 60vw) - 50%), calc(var(--ly, 40vh) - 50%), 0);
  pointer-events: none;
}
.heros__pied {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 28px; font-size: .85rem; color: var(--doux);
}
.heros__pied p { margin: 0; }
.heros__defiler { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--encre); }
.heros__defiler i { position: relative; display: block; width: 1px; height: 38px; background: var(--trait); overflow: hidden; }
.heros__defiler i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--olive); animation: goutte 2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes goutte { from { transform: translateY(-14px); } to { transform: translateY(38px); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .heros--accueil .heros__texte { animation: heros-sortie linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
    .heros--accueil .heros__illus { animation: heros-illus linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes heros-sortie { to { opacity: 0; transform: translate3d(0, -60px, 0); } }
@keyframes heros-illus { to { transform: translate3d(0, 80px, 0) scale(.94); opacity: .3; } }

/* ---------- bandeau défilant */
.defilant { overflow: hidden; background: var(--encre); color: var(--ivoire); padding-block: clamp(18px, 2.4vw, 30px); }
.defilant__piste { display: flex; width: max-content; align-items: center; gap: clamp(22px, 3vw, 44px); animation: defilant 46s linear infinite; }
.defilant span { font: italic 400 clamp(1.5rem, 1rem + 2vw, 2.8rem)/1 var(--serif); white-space: nowrap; }
.defilant i { font-style: normal; color: var(--or); font-size: .9rem; }
@keyframes defilant { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .defilant__piste { animation: none; } }

/* ---------- manifeste : les mots s'allument au défilement */
.manifeste { position: relative; }
.js .manifeste { height: 230vh; }
.manifeste__colle { padding-block: clamp(5rem, 4rem + 6vw, 9rem); }
.js .manifeste__colle { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: 0; }
.manifeste__texte {
  font: 400 clamp(1.85rem, .9rem + 3.3vw, 4.1rem)/1.16 var(--serif); letter-spacing: -.01em; color: var(--encre);
  text-wrap: pretty; margin: 0;
}
.js .manifeste__texte .mm { opacity: .13; transition: opacity .35s ease; }
.js .manifeste__texte .mm.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .manifeste { height: auto; } .js .manifeste__colle { position: relative; height: auto; padding-block: 6rem; } .js .manifeste__texte .mm { opacity: 1; } }

/* ---------- services : panneaux qui s'empilent */
.services-pile { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.pile { display: grid; gap: 6vh; }
.panneau {
  position: sticky; top: calc(var(--entete) + 16px + var(--k) * 14px);
  transform-origin: 50% 0; transform: scale(var(--s, 1)); will-change: transform;
}
.panneau__inner {
  display: grid; gap: 28px; align-items: center;
  background: var(--lin); border: 1px solid var(--lin-fonce); border-radius: var(--rayon);
  padding: clamp(24px, 4vw, 64px); min-height: min(68vh, 640px);
  opacity: var(--o, 1);
}
.panneau:nth-child(2) .panneau__inner { background: #ece5d8; }
.panneau:nth-child(3) .panneau__inner { background: #e6dece; }
.panneau h3 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.02; margin-bottom: .3em; }
.panneau__num { font: italic 400 1.2rem/1 var(--serif); color: var(--olive-texte); margin-bottom: 1.2rem; }
.panneau__num span { color: var(--doux); opacity: .7; }
.panneau__resume { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--encre); max-width: 36ch; }
.panneau .liste-feuille { margin-top: 1.4rem; max-width: 44ch; }
.panneau__illus { width: min(100%, 420px); justify-self: center; }
@media (min-width: 900px) { .panneau__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- prestations : défilement horizontal épinglé */
.prestations { position: relative; background: var(--encre); color: #d9d3c7; }
.prestations h2, .prestations h3 { color: var(--ivoire); }
.prestations .surtitre { color: var(--or); }
.prestations__colle { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.prestations__tete { display: grid; gap: 16px 64px; align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.prestations__tete > p { max-width: 44ch; margin: 0; }
@media (min-width: 900px) { .prestations__tete { grid-template-columns: 1.2fr 1fr; } }
.prestations__fenetre { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gouttiere); }
.prestations__fenetre::-webkit-scrollbar { display: none; }
.prestations__piste { display: flex; gap: 16px; width: max-content; padding-right: var(--gouttiere); }
.presta {
  scroll-snap-align: start; width: min(78vw, 340px); min-height: 330px;
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid rgba(251, 249, 246, .14); border-radius: var(--rayon);
  background: rgba(251, 249, 246, .03);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.presta:hover { background: rgba(251, 249, 246, .07); border-color: rgba(179, 155, 98, .5); }
.presta__num { font: italic 300 3.4rem/1 var(--serif); color: var(--or); margin-bottom: auto; padding-bottom: 2.4rem; }
.presta h3 { font-size: 1.65rem; margin-bottom: .45em; }
.presta p { font-size: .98rem; margin-bottom: 1.4rem; }
.presta__lien { display: inline-flex; gap: 10px; align-items: center; font: 500 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ivoire); text-decoration: none; }
.presta__lien svg { width: 20px; height: 10px; }
.prestations__barre { height: 1px; background: rgba(251, 249, 246, .16); margin-top: 2.2rem; overflow: hidden; }
.prestations__barre span { display: block; height: 100%; background: var(--or); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (min-width: 900px) {
  .js .prestations.epingle .prestations__colle { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--entete) + 2vh) 4vh; }
  .js .prestations.epingle .prestations__fenetre { overflow: visible; scroll-snap-type: none; }
  .js .prestations.epingle .prestations__piste { transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
  .presta { width: clamp(280px, 25vw, 360px); min-height: min(48vh, 420px); }
}

/* ---------- pour qui */
.carte-situation__num { display: block; font: italic 400 1.1rem/1 var(--serif); color: var(--olive); margin-bottom: 1.2rem; }

/* ---------- méthode : frise qui se remplit */
.methode__inner { display: grid; gap: 48px; }
.methode__tete p:not(.surtitre) { color: var(--doux); max-width: 38ch; margin-bottom: 2rem; }
@media (min-width: 900px) {
  .methode__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
  .methode__tete { position: sticky; top: calc(var(--entete) + 48px); }
}
.frise { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); padding-left: 0; }
.frise__ligne { position: absolute; left: 31px; top: 8px; bottom: 8px; width: 1px; background: var(--trait); }
.frise__ligne span { position: absolute; inset: 0; background: var(--olive); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.etape { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; border: 0; padding: 0; }
.etape__icone { width: 64px; height: 64px; padding: 12px; background: var(--ivoire); border: 1px solid var(--trait); border-radius: 50%; position: relative; z-index: 1; }
.etape__num { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--olive-texte); margin: 8px 0 .7rem; }
.etape h3 { font-size: 1.6rem; }
.etape p:not(.etape__num) { color: var(--doux); }

/* ---------- exemple Orgeval */
.exemple { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.exemple__inner { display: grid; gap: 40px; align-items: center; }
.exemple .ba { width: min(100%, 460px); justify-self: center; }
.exemple .ba__cadre { border-radius: var(--rayon); }
.exemple__texte > p:not(.surtitre) { color: var(--doux); max-width: 44ch; margin-bottom: 1.8rem; }
@media (min-width: 900px) { .exemple__inner { grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(48px, 7vw, 120px); } .exemple .ba { justify-self: end; } }

/* ---------- FAQ */
.faq__inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 120px); } }
.faq__item { border-top: 1px solid var(--trait); }
.faq__item:last-child { border-bottom: 1px solid var(--trait); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.3 var(--serif); color: var(--encre);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--olive); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__reponse { padding: 0 0 24px; color: var(--doux); max-width: 60ch; }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- devis */
.devis { background: var(--encre); color: #d9d3c7; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); scroll-margin-top: var(--entete); }
.devis h2, .devis h1 { color: var(--ivoire); font-size: clamp(2.4rem, 1.5rem + 3vw, 4.2rem); }
.devis .surtitre { color: var(--or); }
.devis__inner { display: grid; gap: 48px; }
@media (min-width: 1000px) { .devis__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(56px, 7vw, 120px); align-items: start; } .devis__texte { position: sticky; top: calc(var(--entete) + 40px); } }
.devis__texte > p:not(.surtitre) { max-width: 42ch; }
.devis__direct { margin: 2rem 0; display: grid; gap: 4px; }
.devis__direct a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--ivoire); text-decoration: none; border-bottom: 1px solid rgba(251, 249, 246, .12); overflow-wrap: anywhere; }
.devis__direct a:hover span { text-decoration: underline; }
.devis__direct svg { width: 20px; height: 20px; flex: none; fill: var(--or); color: var(--or); }
.devis__zone { font: italic 400 1.2rem/1.4 var(--serif); color: var(--ivoire); }

.devis-form {
  display: grid; gap: 22px 24px;
  padding: clamp(22px, 3.5vw, 48px); border-radius: var(--rayon);
  background: rgba(251, 249, 246, .045); border: 1px solid rgba(251, 249, 246, .12);
}
@media (min-width: 640px) { .devis-form { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.champ > span, .champ legend { font: 500 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #bdb6a8; padding: 0; margin-bottom: 8px; }
.champ em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 360 1.05rem/1.4 var(--sans); color: var(--ivoire);
  background: transparent; border: 0; border-bottom: 1px solid rgba(251, 249, 246, .28); border-radius: 0;
  padding: 10px 0; transition: border-color .3s var(--ease);
}
.champ select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b39b62'/%3E%3C/svg%3E") no-repeat right 4px center / 12px; padding-right: 24px; }
.champ select option { color: var(--encre); }
.champ textarea { resize: vertical; min-height: 110px; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(251, 249, 246, .35); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--or); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { box-shadow: 0 1px 0 var(--or); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.puce span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(251, 249, 246, .25);
  font-size: .92rem; color: var(--ivoire); transition: background-color .25s, border-color .25s, color .25s;
}
.puce input:checked + span { background: var(--or); border-color: var(--or); color: var(--encre); }
.puce input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 3px; }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: #bdb6a8; }
.consentement input { margin-top: 4px; accent-color: var(--or); width: 18px; height: 18px; flex: none; }
.consentement a { color: var(--ivoire); }
.devis-form__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.devis-form__envoi p { margin: 0; font-size: .85rem; color: #bdb6a8; }

/* ---------- pages services */
.rangee__illus { width: min(380px, 86%); justify-self: center; background: var(--lin); border-radius: var(--rayon); padding: clamp(16px, 3vw, 32px); }
@media (min-width: 900px) { .rangee { grid-template-columns: 420px minmax(0, 1fr); } .rangee__illus { width: 100%; } .rangee:nth-child(even) .rangee__illus { order: 2; } }
.heros--service .heros__illus { background: var(--lin); border-radius: var(--rayon); padding: clamp(18px, 3vw, 36px); }
.grille-presta { display: grid; gap: 24px; margin-top: 1rem; }
@media (min-width: 800px) { .grille-presta { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.grille-presta li { border-top: 1px solid var(--trait); padding-top: 20px; }
.grille-presta p { color: var(--doux); }

/* ---------- curseur (souris uniquement) */
.curseur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .curseur { display: block; position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; }
  .curseur__point, .curseur__anneau { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .curseur__point { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .curseur__anneau {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 255, 255, .7);
    display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s;
  }
  .curseur__anneau em { font: 500 .6rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: #000; opacity: 0; transition: opacity .25s; }
  .curseur.survol .curseur__anneau { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .12); }
  .curseur.etiquette .curseur__anneau { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; }
  .curseur.etiquette .curseur__anneau em { opacity: 1; }
  .curseur.cache { opacity: 0; }
}

/* ---------- transitions entre les pages (View Transitions) */
@view-transition { navigation: auto; }
.entete { view-transition-name: entete; }
::view-transition-old(root) { animation: .3s var(--ease) both vt-sortie; }
::view-transition-new(root) { animation: .6s cubic-bezier(.16, 1, .3, 1) both vt-entree; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .js .titre-anime .m > span { transform: none; }
  .js .dessin .d-encre *, .js .dessin .d-olive * { stroke-dashoffset: 0 !important; }
  .js .dessin .d-or > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@media (max-width: 899px) { .panneau { position: relative; top: auto; transform: none !important; } .panneau__inner { opacity: 1 !important; min-height: 0; } }
.curseur { transition: opacity .3s; }
