/* Lena Manucure : feuille de style unique.
   Blanc, marbre clair et filets champagne : l'élégance d'un intérieur de
   palace, avec la Didone du site que Coralie aime.
   Le champagne ne sert qu'aux filets et aux ornements, jamais au texte.
   Contrastes : encre sur blanc 15:1, gris doux sur ivoire 5,7:1,
   blanc sur la photo d'accueil assombrie au moins 4,5:1. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-italique.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 500; font-style: normal; font-display: swap;
}

:root {
  --blanc: #FFFFFF;
  --ivoire: #FAF8F5;
  --encre: #2A2522;
  --doux: #645B55;
  --champagne: #BFA27A;
  --filet: #E7E1D9;

  --titre: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --texte: "Jost", Futura, "Century Gothic", system-ui, sans-serif;

  --marge: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 150px);
  --doux-sortie: cubic-bezier(.22, .61, .36, 1);
  --lent: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 300 17px/1.75 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pictos { position: absolute; }
svg { width: 20px; height: 20px; flex: none; }
.centre { text-align: center; }
::selection { background: #EFE6D8; }

.saut { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--encre); color: var(--blanc); padding: 10px 16px; text-decoration: none; }
.saut:focus { top: 12px; }

.marbre { background: var(--ivoire) url("../img/marbre.webp") center / cover; }

/* Titres : Didone en capitales, soulignés d'un court filet champagne. */
h2 {
  font: 500 clamp(30px, 4.2vw, 50px)/1.08 var(--titre);
  text-transform: uppercase; letter-spacing: .06em; text-align: center; text-wrap: balance;
}
h2::after {
  content: ""; display: block; width: 56px; height: 1px; margin: 22px auto 0;
  background: var(--champagne);
}
.intro { text-align: center; max-width: 560px; margin: 18px auto 0; color: var(--doux); }

/* Boutons */
.pilule {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 34px; border-radius: 40px;
  background: var(--encre); color: var(--blanc); border: 1px solid var(--encre);
  font: 500 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: color .5s var(--doux-sortie), border-color .5s var(--doux-sortie);
}
.pilule::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blanc); transform: translateY(101%);
  transition: transform .5s var(--doux-sortie);
}
.pilule:hover { color: var(--encre); }
.pilule:hover::before { transform: none; }
.pilule-claire { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .8); }
.lien {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .45s var(--doux-sortie);
}
.lien:hover::after { transform: scaleX(0); }

/* ---------- En-tête : transparent sur la photo, blanc ensuite ---------- */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 var(--marge); color: var(--blanc);
  transition: background-color .5s ease, color .5s ease, height .5s ease, box-shadow .5s ease;
}
.entete.defile {
  height: 62px; background: rgba(255, 255, 255, .96); color: var(--encre);
  box-shadow: 0 1px 0 var(--filet);
}
.menu-bouton {
  justify-self: start; width: 44px; height: 44px; margin-left: -10px;
  border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: inherit;
}
.burger, .burger::before, .burger::after { display: block; width: 26px; height: 1px; background: currentColor; position: relative; transition: width .3s ease; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; width: 16px; }
.menu-bouton:hover .burger::after { width: 26px; }
.marque {
  font: 500 15px/1 var(--titre); letter-spacing: .32em; text-transform: uppercase; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center; padding-left: .32em;
}
.entete-reserver {
  justify-self: end; min-height: 44px; display: none; align-items: center;
  font: 500 11.5px/1 var(--texte); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; height: 30px; align-self: center;
}
@media (min-width: 700px) { .entete-reserver { display: inline-flex; } }

/* Menu en tiroir */
.menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
  width: min(420px, 90vw); padding: 92px 44px 40px;
  background: var(--blanc) url("../img/marbre.webp") center / cover;
  transform: translateX(-100%); transition: transform .6s var(--lent);
}
.menu.ouvert { transform: none; }
.menu-fermer {
  position: absolute; top: 14px; left: 30px; width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer; font: 200 36px/1 var(--texte); color: var(--encre);
}
.menu-marque { font: 500 13px/1 var(--titre); letter-spacing: .32em; text-transform: uppercase; color: var(--doux); margin-bottom: 26px; }
.menu ul { display: grid; gap: 2px; }
.menu ul a {
  display: inline-block; padding: 6px 0; font: 400 34px/1.2 var(--titre); text-decoration: none;
  opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .6s var(--lent), color .3s ease;
}
.menu.ouvert ul a { opacity: 1; transform: none; }
.menu.ouvert li:nth-child(2) a { transition-delay: .05s; }
.menu.ouvert li:nth-child(3) a { transition-delay: .1s; }
.menu.ouvert li:nth-child(4) a { transition-delay: .15s; }
.menu.ouvert li:nth-child(5) a { transition-delay: .2s; }
.menu.ouvert li:nth-child(6) a { transition-delay: .25s; }
.menu ul a:hover { font-style: italic; }
.menu-insta { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; min-height: 44px; font-size: 15px; text-decoration: none; }
.voile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(42, 37, 34, .3); }

/* ---------- Accueil ---------- */
.accueil {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center;
  padding: 110px var(--marge) 90px; text-align: center; color: var(--blanc);
}
.accueil-fond { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.accueil-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: zoom-lent 2.8s var(--lent) both; }
.accueil::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(30, 24, 20, .4), rgba(30, 24, 20, .26) 55%, rgba(30, 24, 20, .44)); }
.accueil h1 { font: 300 clamp(14px, 1.4vw, 17px)/1.4 var(--texte); letter-spacing: .24em; text-transform: uppercase; }
.accueil-filet { display: block; width: min(520px, 76vw); height: 1px; margin: 18px auto 0; background: rgba(255, 255, 255, .8); transform-origin: center; }
.accueil-nom {
  margin-top: clamp(36px, 6vh, 70px);
  font: 500 clamp(46px, 9vw, 120px)/.95 var(--titre); text-transform: uppercase; letter-spacing: .04em;
}
.accueil-offres { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: clamp(14px, 1.4vw, 17px); font-weight: 400; letter-spacing: .06em; }
.accueil-offres span + span { border-left: 1px solid rgba(255, 255, 255, .85); margin-left: 18px; padding-left: 18px; }
.accueil-signature { margin-top: 14px; font: italic 400 clamp(20px, 2vw, 26px)/1 var(--titre); }
.accueil .pilule { margin-top: 38px; }
.accueil-suite {
  position: absolute; left: 50%; bottom: 24px; width: 44px; height: 56px; margin-left: -22px;
  display: grid; place-items: center;
}
.accueil-suite span { display: block; width: 1px; height: 46px; background: rgba(255, 255, 255, .55); position: relative; overflow: hidden; }
.accueil-suite span::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--blanc);
  animation: goutte 2.4s ease-in-out infinite;
}

/* Entrée de l'accueil, une ligne après l'autre. */
.entree { opacity: 0; transform: translateY(18px); animation: monter 1.1s var(--lent) forwards; }
.accueil-filet.entree { transform: scaleX(0); animation-name: tracer; }
.e1 { animation-delay: .35s; } .e2 { animation-delay: .6s; } .e3 { animation-delay: .75s; }
.e4 { animation-delay: 1s; } .e5 { animation-delay: 1.15s; } .e6 { animation-delay: 1.35s; }

@keyframes monter { to { opacity: 1; transform: none; } }
@keyframes tracer { to { opacity: 1; transform: scaleX(1); } }
@keyframes zoom-lent { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes goutte { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ---------- Atouts ---------- */
.atouts { padding: clamp(40px, 6vw, 64px) var(--marge); }
.atouts ul { display: grid; grid-template-columns: 1fr 1fr; max-width: 1160px; margin: 0 auto; }
.atouts li { padding: 18px 14px; text-align: center; font-size: 14px; line-height: 1.45; color: var(--doux); }
.atouts strong { display: block; margin-bottom: 8px; font: 400 clamp(34px, 4vw, 52px)/1 var(--titre); color: var(--encre); font-variant-numeric: lining-nums; }
@media (min-width: 800px) {
  .atouts ul { grid-template-columns: repeat(4, 1fr); }
  .atouts li + li { border-left: 1px solid rgba(191, 162, 122, .5); }
}

/* ---------- Formations ---------- */
.formations { padding: var(--section) var(--marge); background: var(--blanc); }
.cartes { display: grid; gap: clamp(28px, 4vw, 48px); max-width: 1040px; margin: clamp(48px, 7vw, 80px) auto 0; }
.carte { background: var(--blanc); }
.carte-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.02); transition: transform 1.4s var(--lent); }
.carte-image::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }
.carte:hover .carte-image img { transform: scale(1.07); }
.carte-infos { padding: 30px 6px 0; }
.carte h3 { font: 500 clamp(22px, 2.4vw, 28px)/1.15 var(--titre); text-transform: uppercase; letter-spacing: .06em; }
.carte-public { margin-top: 10px; color: var(--doux); font-size: 16px; }
.carte ul { margin-top: 18px; border-top: 1px solid var(--filet); }
.carte li, .faits li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 400; }
.carte li { padding: 12px 0; border-bottom: 1px solid var(--filet); }
.carte li svg, .faits svg { color: var(--champagne); }
.carte-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 28px; }
@media (min-width: 760px) { .cartes { grid-template-columns: 1fr 1fr; } }

/* ---------- À propos ---------- */
.apropos { padding: var(--section) var(--marge); }
.apropos-cadre { display: grid; gap: 56px; max-width: 1120px; margin: 0 auto; align-items: center; }
.apropos-portrait { position: relative; width: min(380px, 84%); margin: 0 auto; }
.apropos-portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.apropos-portrait::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; z-index: 0;
  border: 1px solid var(--champagne); border-radius: 999px 999px 0 0;
}
.apropos-panneau { background: rgba(255, 255, 255, .9); padding: clamp(30px, 5vw, 60px); box-shadow: 0 30px 60px -30px rgba(42, 37, 34, .18); }
.apropos h2 { text-align: left; }
.apropos h2::after { margin-left: 0; }
.chapeau { margin-top: 26px; font: italic 400 clamp(21px, 2.1vw, 25px)/1.45 var(--titre); }
.apropos-panneau > p + p, .apropos-panneau .chapeau + p { margin-top: 14px; }
.piliers { margin-top: 30px; border-top: 1px solid var(--filet); }
.piliers div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.piliers dt { font: 500 12px/1.5 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.piliers dd { color: var(--doux); font-size: 16px; }
@media (min-width: 960px) {
  .apropos-cadre { grid-template-columns: 5fr 7fr; gap: clamp(60px, 8vw, 110px); }
  .apropos-portrait { width: 100%; }
  .piliers div { grid-template-columns: 140px 1fr; gap: 24px; }
}

/* ---------- Programme : fil champagne qui se trace au défilement ---------- */
.programme { padding: var(--section) var(--marge); background: var(--ivoire); }
.faits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 30px; }
.fil { position: relative; max-width: 700px; margin: clamp(48px, 7vw, 72px) auto 0; padding-left: 44px; }
.fil::before, .fil::after { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; }
.fil::before { background: var(--filet); }
.fil::after { background: var(--champagne); transform-origin: top; transform: scaleY(var(--trace, 1)); }
.fil li { position: relative; }
.fil li + li { margin-top: 38px; }
.fil li::before {
  content: ""; position: absolute; left: -44px; top: 6px; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%; background: var(--ivoire); border: 1px solid var(--champagne);
  transition: background-color .6s ease;
}
.fil li.vu::before { background: var(--champagne); }
.fil h3 { font: 500 13px/1.5 var(--texte); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.fil p { font-size: 16.5px; }
.fil p + p { margin-top: 5px; }
.fil-note { max-width: 700px; margin: 34px auto 0; font-size: 14.5px; text-align: center; color: var(--doux); }
.objectifs { max-width: 700px; margin: 34px auto 44px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.objectifs summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 60px; cursor: pointer; list-style: none;
  font: 500 12.5px/1.4 var(--texte); letter-spacing: .2em; text-transform: uppercase;
}
.objectifs summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.objectifs summary::after, .faq summary::after {
  content: ""; width: 11px; height: 11px; margin-left: 16px; flex: none;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--doux-sortie);
}
.objectifs[open] summary::after, .faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.deplie { overflow: hidden; }
.objectifs ul { padding: 0 0 22px; font-size: 16px; color: var(--doux); }
.objectifs li + li { margin-top: 8px; }
.perfectionnement {
  max-width: 760px; margin: clamp(80px, 10vw, 120px) auto 0; padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  background: var(--blanc); text-align: center; position: relative;
}
.perfectionnement::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(191, 162, 122, .55); pointer-events: none; }
.perfectionnement > p { margin-top: 22px; color: var(--doux); }
.perfectionnement .faits + p { margin-top: 20px; }
.perfectionnement .centre { margin-top: 32px; }

/* ---------- Travaux d'élèves et poses : arches ---------- */
.travaux { padding: var(--section) var(--marge); }
.arches {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3.5vw, 48px);
  max-width: 940px; margin: clamp(48px, 6vw, 70px) auto 0;
}
.arches li { text-align: center; }
.arches figure { position: relative; padding: 8px; border: 1px solid rgba(191, 162, 122, .7); border-radius: 999px 999px 0 0; background: rgba(255, 255, 255, .6); }
.arches img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; transition: transform 1.2s var(--lent); }
.arches figure { overflow: hidden; }
.arches li:hover img { transform: scale(1.05); }
.arches span { display: block; margin-top: 16px; font: 500 clamp(10px, 1.1vw, 12px)/1.4 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.titre-second { margin-top: clamp(80px, 10vw, 120px); font-size: clamp(24px, 3vw, 36px); }
.arches-petites { max-width: 660px; }
.travaux-insta { text-align: center; margin: 40px auto 0; max-width: 540px; font-size: 15.5px; color: var(--doux); }
.travaux-insta a { color: var(--encre); text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Questions ---------- */
.questions { padding: var(--section) var(--marge); background: var(--blanc); }
.faq { max-width: 780px; margin: clamp(44px, 6vw, 64px) auto 0; border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 66px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 400 clamp(18px, 1.8vw, 21px)/1.4 var(--titre); transition: color .3s ease;
}
.faq summary:hover { color: var(--doux); }
.faq .deplie p { padding: 0 40px 22px 0; color: var(--doux); font-size: 16px; }

/* ---------- Réserver ---------- */
.contact { padding: var(--section) var(--marge); }
.contact-panneau {
  position: relative; max-width: 840px; margin: 0 auto; background: var(--blanc);
  padding: clamp(40px, 6vw, 72px) clamp(22px, 6vw, 72px);
  box-shadow: 0 40px 80px -40px rgba(42, 37, 34, .22);
}
.contact-panneau::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(191, 162, 122, .5); pointer-events: none; }
.formulaire { position: relative; display: grid; gap: 22px; margin-top: 40px; }
.champ { display: grid; gap: 4px; }
.champ label { font: 500 11.5px/1.4 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.champ label span { text-transform: none; letter-spacing: 0; font-weight: 300; color: var(--doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 46px; padding: 10px 0; border: 0; border-bottom: 1px solid #CFC6BB; border-radius: 0;
  background: transparent; color: var(--encre); font: 400 16px/1.4 var(--texte);
  transition: border-color .3s ease;
}
.champ select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%232A2522' stroke-width='1'/%3E%3C/svg%3E") right 4px center no-repeat; }
.champ textarea { resize: vertical; min-height: 96px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--encre); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { box-shadow: 0 1px 0 var(--encre); }
.piege { position: absolute; left: -9999px; }
.formulaire-rgpd { font-size: 14px; color: var(--doux); }
.formulaire .pilule { min-width: 260px; }
@media (min-width: 700px) {
  .formulaire { grid-template-columns: 1fr 1fr; gap: 26px 36px; }
  .champ-large, .formulaire-rgpd { grid-column: 1 / -1; }
}

/* ---------- Pied de page ---------- */
.pied { padding: 72px var(--marge) 120px; background: var(--ivoire); border-top: 1px solid rgba(191, 162, 122, .5); }
.pied-phrase { text-align: center; margin-bottom: 36px; font: italic 400 clamp(22px, 2.4vw, 30px)/1.3 var(--titre); }
.pied-phrase span { display: block; margin-top: 10px; font: 500 11px/1 var(--texte); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
.pied-infos { display: grid; gap: 2px; justify-content: center; font-size: 15px; }
.pied-infos li { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.pied-infos svg { color: var(--champagne); }
.pied-infos a { text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.pied-legal { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; font-size: 13px; color: var(--doux); }
.pied-legal a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.pied-legal > span { align-self: center; }

/* ---------- Bouton fixe sur mobile ---------- */
.barre-reserver {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 40px;
  background: var(--encre); color: var(--blanc); text-decoration: none;
  font: 500 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 14px 30px -12px rgba(42, 37, 34, .45);
  transition: opacity .4s ease, transform .4s var(--doux-sortie);
}
.barre-reserver.cachee { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (min-width: 900px) {
  .barre-reserver { display: none; }
  .pied { padding-bottom: 72px; }
}

/* ---------- Apparitions au défilement ---------- */
.js [data-apparition] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--lent), transform 1.1s var(--lent); transition-delay: var(--delai, 0s); }
.js [data-apparition].vu { opacity: 1; transform: none; }

/* Sans animations pour qui les a désactivées. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entree, .js [data-apparition] { opacity: 1; transform: none; }
  .fil::after { transform: none; }
}

/* ---------- Pages simples ---------- */
.page-simple .entete { position: static; color: var(--encre); background: var(--blanc); box-shadow: 0 1px 0 var(--filet); }
.texte-legal { max-width: 760px; margin: 0 auto; padding: 56px var(--marge) var(--section); }
.texte-legal h1 { font: 500 clamp(28px, 4vw, 42px)/1.1 var(--titre); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 36px; }
.texte-legal h2 { font-size: 19px; text-align: left; margin: 36px 0 10px; }
.texte-legal h2::after { display: none; }
.texte-legal p + p { margin-top: 10px; }
.merci { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 40px var(--marge); gap: 22px; background: var(--ivoire) url("../img/marbre.webp") center / cover; }
.merci h1 { font: 500 clamp(32px, 5vw, 56px)/1.05 var(--titre); text-transform: uppercase; letter-spacing: .06em; }
.merci p { color: var(--doux); max-width: 480px; margin: 0 auto; }
.bouton-sombre {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border-radius: 40px;
  background: var(--encre); color: var(--blanc); text-decoration: none;
  font: 500 12px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; justify-self: center;
}
.lien-retour { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-underline-offset: 4px; }

/* ---------- Visionneuse : photos agrandies au clic ---------- */
.agrandir { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 999px 999px 0 0; }
.agrandir:focus-visible { outline: 1.5px solid var(--encre); outline-offset: 6px; }
.visionneuse {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(250, 248, 245, .97); color: var(--encre);
}
.visionneuse::backdrop { background: rgba(250, 248, 245, .6); }
.visionneuse[open] { display: grid; place-items: center; animation: v-entree .45s var(--lent); }
.visionneuse figure { margin: 0; padding: 70px 70px 40px; text-align: center; max-width: 100%; }
.visionneuse img {
  max-width: min(1100px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; margin: 0 auto;
  box-shadow: 0 30px 70px -30px rgba(42, 37, 34, .35);
  transition: opacity .35s ease, transform .5s var(--lent);
}
.visionneuse img.change { opacity: 0; transform: scale(.98); }
.visionneuse figcaption { margin-top: 18px; font: 500 12px/1.4 var(--texte); letter-spacing: .22em; text-transform: uppercase; }
.visionneuse figcaption::before { content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 14px; background: var(--champagne); }
.visionneuse button { position: absolute; width: 52px; height: 52px; border: 0; background: none; color: var(--encre); cursor: pointer; display: grid; place-items: center; }
.v-fermer { top: 14px; right: 16px; font: 200 40px/1 var(--texte); }
.v-prec, .v-suiv { top: 50%; margin-top: -26px; }
.v-prec { left: 12px; } .v-suiv { right: 12px; }
.v-prec span:first-child, .v-suiv span:first-child { width: 16px; height: 16px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.v-prec span:first-child { transform: rotate(45deg); margin-left: 6px; }
.v-suiv span:first-child { transform: rotate(-135deg); margin-right: 6px; }
.visionneuse button:hover { color: var(--champagne); }
@keyframes v-entree { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  .visionneuse figure { padding: 70px 16px 90px; }
  .v-prec, .v-suiv { top: auto; bottom: 18px; margin-top: 0; }
  .v-prec { left: calc(50% - 64px); } .v-suiv { right: calc(50% - 64px); }
}

/* ---------- Avis d'élèves ---------- */
.avis { padding: var(--section) var(--marge); background: var(--ivoire); }
.avis-liste {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 420px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; justify-content: safe center;
  max-width: 1180px; margin: clamp(44px, 6vw, 64px) auto 0;
  scrollbar-width: thin; scrollbar-color: var(--champagne) transparent;
}
.un-avis { scroll-snap-align: start; position: relative; background: var(--blanc); padding: 38px 34px 30px; display: flex; flex-direction: column; }
.un-avis::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(191, 162, 122, .45); pointer-events: none; }
.un-avis-note { color: var(--champagne); letter-spacing: .2em; font-size: 15px; }
.un-avis blockquote { margin: 16px 0 0; font: italic 400 clamp(18px, 1.7vw, 20px)/1.55 var(--titre); white-space: pre-line; flex: 1; }
.un-avis-auteur { margin-top: 22px; font: 500 11.5px/1.5 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
.avis-intro { text-align: center; max-width: 520px; margin: 36px auto 26px; color: var(--doux); }

/* Fenêtre de dépôt d'un avis */
.fenetre-avis {
  width: min(620px, 94vw); max-height: 92vh; padding: clamp(36px, 6vw, 56px) clamp(22px, 5vw, 52px); border: 0;
  background: var(--blanc); color: var(--encre); box-shadow: 0 40px 90px -30px rgba(42, 37, 34, .35);
}
.fenetre-avis[open] { animation: v-entree .4s var(--lent); }
.fenetre-avis::backdrop { background: rgba(250, 248, 245, .85); }
.fenetre-avis h2 { font-size: clamp(26px, 3.4vw, 34px); }
.fenetre-avis .v-fermer { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; font: 200 38px/1 var(--texte); color: var(--encre); }
.form-avis { display: grid; gap: 22px; }
.form-avis .intro { margin-top: 0; }
.choix, .etoiles { border: 0; margin: 0; padding: 0; min-width: 0; }
.choix legend, .etoiles legend { padding: 0; margin-bottom: 8px; font: 500 11.5px/1.4 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.choix label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.choix input { accent-color: var(--encre); width: 18px; height: 18px; }
.etoiles-choix { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.etoiles-choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.etoiles-choix label { width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; }
.etoiles-choix label::before { content: "☆"; font-size: 28px; line-height: 1; color: var(--champagne); transition: transform .2s ease; }
.etoiles-choix input:checked ~ label::before,
.etoiles-choix label:hover::before, .etoiles-choix label:hover ~ label::before { content: "★"; }
.etoiles-choix label:hover::before { transform: scale(1.12); }
.etoiles-choix input:focus-visible + label { outline: 1.5px solid var(--encre); outline-offset: 2px; }
.form-avis-message { min-height: 1.5em; font-size: 15px; text-align: center; color: var(--doux); }
