/* ==========================================================================
   Riova Patrimoine — version 3
   Langage visuel : des « scènes » arrondies posées dans la page (charbon,
   pâle, pastel), une seule famille de caractères très serrée, du cuivre
   lumineux, des fragments d'interface qui racontent la méthode.
   Aucune ressource externe ; tout le mouvement respecte
   prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../polices/manrope-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../polices/manrope-variable-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}

:root {
  --noir: #121315;
  --noir-2: #1b1c1f;
  --noir-3: #2a2c30;
  --fond: #faf8f4;
  --blanc: #ffffff;
  --gris: #f1ede6;
  --gris-2: #e5dfd5;
  --texte: #141517;
  --texte-2: #5b5752;
  --texte-3: #a7a29b;
  --cuivre: #c98a5e;
  --cuivre-clair: #eab58e;
  --cuivre-pale: #fbe8d8;
  --cuivre-fonce: #95592f;
  --sauge: #93c4a9;
  --sauge-pale: #dde7dc;
  --sauge-fonce: #2f6b4f;
  --filet: rgba(20, 21, 23, 0.1);
  --filet-sombre: rgba(255, 255, 255, 0.09);

  --police: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ressort: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
  --douce: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gouttiere: clamp(8px, 1.2vw, 16px);
  --rayon-scene: clamp(28px, 4vw, 56px);
  --largeur: 1280px;
  --marge: clamp(20px, 4.5vw, 64px);
  --tete-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tete-h) + 16px);
}

@view-transition {
  navigation: auto;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: var(--cuivre);
  color: var(--blanc);
}

:focus-visible {
  outline: 2px solid var(--cuivre);
  outline-offset: 3px;
  border-radius: 6px;
}

.cache {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saut {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--noir);
  color: var(--blanc);
  transform: translateY(-160%);
  transition: transform 0.3s var(--sortie);
}
.saut:focus {
  transform: none;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--marge);
}

/* ------------------------- Typographie ------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 {
  font-size: clamp(44px, 5.6vw, 84px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h2 {
  font-size: clamp(36px, 4.4vw, 66px);
}
h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sous-titre {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--texte-2);
  max-width: 36em;
}
.sombre .sous-titre {
  color: var(--texte-3);
}

/* Mots lumineux (cuivre) */
.lueur {
  background: linear-gradient(120deg, #fff3e7 0%, #f3c8a3 38%, #dc9665 72%, #c47c4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(226, 150, 96, 0.5));
}
.lueur-claire {
  background: linear-gradient(120deg, #d99a6c 0%, #b8743f 55%, #8d532c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Petite étiquette (texte seul, sans capsule) */
.puce {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cuivre-fonce);
  white-space: nowrap;
  justify-self: start;
  width: max-content;
}
.entete--centre .puce,
.final__contenu .puce {
  justify-self: center;
}
.sombre .puce,
.cuivre .puce {
  color: var(--cuivre-clair);
}

/* ------------------------- Boutons ------------------------- */
.bouton {
  --b-fond: var(--noir);
  --b-texte: var(--blanc);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--b-fond);
  color: var(--b-texte);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.4s var(--sortie), box-shadow 0.4s var(--sortie), background-color 0.3s;
}
.bouton:hover {
  transform: translateY(-2px);
}
.bouton:active {
  transform: translateY(0) scale(0.98);
}
.bouton svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--sortie);
}
.bouton:hover svg {
  transform: translateX(3px);
}
.bouton--cuivre {
  --b-fond: linear-gradient(180deg, #e2a77d 0%, #c98a5e 100%);
  --b-texte: #1a1310;
  background: var(--b-fond);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(201, 138, 94, 0.35);
}
.bouton--cuivre:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 34px rgba(201, 138, 94, 0.5);
}
.bouton--blanc {
  --b-fond: var(--blanc);
  --b-texte: var(--texte);
}
.bouton--contour {
  --b-fond: transparent;
  --b-texte: var(--texte);
  box-shadow: inset 0 0 0 1px var(--gris-2);
}
.bouton--contour:hover {
  box-shadow: inset 0 0 0 1px var(--texte);
}
.sombre .bouton--contour {
  --b-texte: var(--blanc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.bouton--petit {
  height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}

/* Bordure qui miroite au survol */
.miroite {
  position: relative;
}
.miroite::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 220, 190, 0.9) 25%, transparent 50%, rgba(255, 220, 190, 0.9) 75%, transparent 100%);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.miroite:hover::before,
.miroite:focus-visible::before {
  opacity: 1;
  animation: miroite 2s linear infinite;
}
@keyframes miroite {
  to {
    background-position: -200% 0;
  }
}

.lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  text-decoration: none;
  color: inherit;
}
.lien svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--sortie);
}
.lien:hover svg {
  transform: translateX(4px);
}

/* ------------------------- Logo ------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.logo__symbole {
  width: 27px;
  height: 30px;
  overflow: visible;
}
.logo__mot {
  height: 19px;
  width: auto;
}
.logo .sommet,
.logo .reflet {
  transition: transform 0.6s var(--sortie);
}
.logo:hover .sommet {
  transform: translateY(-6px);
}
.logo:hover .reflet {
  transform: translateY(6px);
}

/* ------------------------- En-tête ------------------------- */
.tete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--tete-h);
  view-transition-name: tete;
}
.tete__fond {
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 244, 0.8);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.tete.est-defile .tete__fond {
  border-color: var(--filet);
}
.tete__rangee {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tete__nav {
  display: none;
  height: 100%;
}
.tete__nav > ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tete__nav > ul > li {
  height: 100%;
  display: flex;
  align-items: center;
}
.tete__nav a,
.tete__nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s;
}
.tete__nav a:hover,
.tete__nav button:hover,
.tete__nav button[aria-expanded="true"] {
  background: rgba(20, 21, 23, 0.06);
}
.tete__nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--cuivre);
  border-radius: 0;
}
.tete__nav button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--sortie);
}
.tete__nav button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.tete__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tete__actions .bouton {
  display: none;
}
.tete__burger {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  cursor: pointer;
}
.tete__burger i {
  display: block;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.4s var(--sortie);
}
.tete__burger i + i {
  margin-top: 5px;
}
html.menu-ouvert .tete__burger i:first-child {
  transform: translateY(3.3px) rotate(45deg);
}
html.menu-ouvert .tete__burger i:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}
@media (min-width: 1080px) {
  .tete__nav {
    display: block;
  }
  .tete__actions .bouton {
    display: inline-flex;
  }
  .tete__burger {
    display: none;
  }
}

/* Méga-menu Services */
.mega {
  position: absolute;
  top: calc(var(--tete-h) - 6px);
  left: 50%;
  width: min(1180px, calc(100vw - 32px));
  transform: translate(-50%, 8px);
  padding: 22px;
  border-radius: 24px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  box-shadow: 0 30px 80px rgba(20, 21, 23, 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--douce), transform 0.4s var(--sortie), visibility 0s 0.3s;
}
.mega.est-ouvert {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.3s var(--douce), transform 0.4s var(--sortie), visibility 0s;
}
.mega__colonne {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 4px;
}
.mega__titre {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--filet);
}
.mega__titre span:first-child {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cuivre-pale);
  color: var(--cuivre-fonce);
}
.mega__titre svg {
  width: 18px;
  height: 18px;
}
.mega__titre strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.mega__titre small {
  display: block;
  font-size: 12.5px;
  color: var(--texte-2);
  font-weight: 500;
}
.mega__colonne a {
  display: block;
  text-decoration: none;
  height: auto;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 560;
}
.mega__colonne a:hover {
  background: var(--gris);
}
.mega__vedette {
  border-radius: 18px;
  padding: 20px;
  background: var(--noir);
  color: var(--blanc);
  display: grid;
  align-content: space-between;
  gap: 16px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.mega__vedette p {
  font-size: 14px;
  color: var(--texte-3);
}
.mega__vedette strong {
  font-size: 19px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.mega__vedette .lien {
  color: var(--cuivre-clair);
  font-size: 14px;
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  padding: calc(var(--tete-h) + 16px) var(--marge) 32px;
  background: var(--fond);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--sortie), visibility 0s 0.6s;
}
html.menu-ouvert .menu {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.6s var(--sortie), visibility 0s;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > ul > li {
  border-bottom: 1px solid var(--filet);
}
.menu > ul > li > a,
.menu summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 26px;
  font-weight: 560;
  letter-spacing: -0.04em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.menu details[open] summary svg {
  transform: rotate(180deg);
}
.menu details ul {
  padding-bottom: 14px;
  display: grid;
  gap: 2px;
}
.menu details a {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 560;
  color: var(--texte-2);
  text-decoration: none;
}
.menu__actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.menu__actions .bouton {
  width: 100%;
}

/* Barre d'action mobile */
.barre {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(18, 19, 21, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(170%);
  transition: transform 0.6s var(--sortie);
}
.barre.est-visible {
  transform: none;
}
.barre a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--blanc);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.barre a:last-child {
  background: linear-gradient(180deg, #e2a77d 0%, #c98a5e 100%);
  color: #1a1310;
}
.barre svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1080px) {
  .barre {
    display: none;
  }
}

/* ------------------------- Scènes ------------------------- */
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gouttiere);
  padding-top: calc(var(--tete-h) + var(--gouttiere));
}
.scene {
  position: relative;
  margin-inline: var(--gouttiere);
  border-radius: var(--rayon-scene);
  /* clip et non hidden : hidden casserait position: sticky (scène du miroir) */
  overflow: clip;
}
.scene.sombre {
  background: var(--noir);
  color: var(--blanc);
}
.scene.pale {
  background: var(--gris);
}
.scene.sauge {
  background: var(--sauge-pale);
}
.scene.cuivre {
  background: var(--cuivre-pale);
}
.section {
  padding-block: clamp(72px, 9vw, 136px);
}
.section--serree {
  padding-block: clamp(48px, 6vw, 88px);
}
.entete {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.entete--centre {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.entete--rangee {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.entete--rangee > div {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

/* Grille lumineuse des scènes sombres */
.grille-lumineuse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 0%, transparent 75%);
}
/* Halo qui suit la souris sur les scènes sombres */
.projecteur {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(214, 140, 90, 0.16), transparent 60%);
  transition: opacity 0.4s;
}

/* ------------------------- Héros ------------------------- */
.heros {
  min-height: min(880px, calc(100svh - var(--tete-h) - var(--gouttiere) * 2));
  display: flex;
  align-items: center;
  transform-origin: 50% 0;
  will-change: transform;
}
.heros__grille {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
@media (min-width: 1080px) {
  .heros__grille {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 24px;
  }
}
.heros__texte {
  display: grid;
  gap: 26px;
  align-content: center;
  max-width: 620px;
}
.heros__cartes {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .heros__cartes {
    grid-template-columns: 1fr 1fr;
  }
}
.carte-entree {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--blanc);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c, rgba(234, 181, 142, 0.55));
  box-shadow: 0 0 0 1px transparent, 0 0 30px -8px var(--c-lueur, rgba(234, 181, 142, 0.35)) inset;
  transition: transform 0.5s var(--sortie), background-color 0.3s, box-shadow 0.4s;
}
.carte-entree:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 40px -6px var(--c-lueur, rgba(234, 181, 142, 0.45)), 0 0 30px -8px var(--c-lueur, rgba(234, 181, 142, 0.35)) inset;
}
.carte-entree strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.carte-entree strong svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--sortie);
}
.carte-entree:hover strong svg {
  transform: translateX(4px);
}
.carte-entree span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-texte, #f3c8a3);
}
.carte-entree span svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.carte-entree--sauge {
  --c: rgba(147, 196, 169, 0.55);
  --c-lueur: rgba(147, 196, 169, 0.35);
  --c-texte: #b6dcc6;
}

/* Le noyau et ses cartes flottantes */
.noyau {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 0.92;
  justify-self: center;
}
.noyau__lumiere {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 150, 96, 0.45) 0%, rgba(226, 150, 96, 0.12) 35%, transparent 68%);
  filter: blur(6px);
  animation: respire 6s var(--douce) infinite;
}
.noyau__anneau {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(234, 181, 142, 0.28);
  transform: translate(-50%, -50%);
  animation: onde 5s var(--douce) infinite;
}
.noyau__anneau:nth-of-type(2) {
  width: 34%;
}
.noyau__anneau:nth-of-type(3) {
  width: 54%;
  animation-delay: 0.8s;
  border-color: rgba(234, 181, 142, 0.18);
}
.noyau__anneau:nth-of-type(4) {
  width: 76%;
  animation-delay: 1.6s;
  border-color: rgba(234, 181, 142, 0.1);
}
@keyframes onde {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.97);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.03);
    opacity: 1;
  }
}
@keyframes respire {
  0%,
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}
.noyau__liens {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.noyau__liens path {
  fill: none;
  stroke: rgba(234, 181, 142, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
  animation: flux 1.6s linear infinite;
}
@keyframes flux {
  to {
    stroke-dashoffset: -18;
  }
}
.noyau__centre {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--texte);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 0 0 6px rgba(234, 181, 142, 0.18), 0 0 60px rgba(226, 150, 96, 0.55);
  z-index: 3;
}
.noyau__centre svg {
  width: 22px;
  height: 24px;
}
.flotte {
  position: absolute;
  z-index: 2;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.9s var(--sortie);
}
.flotte > .ui {
  animation: flotter var(--duree, 7s) ease-in-out infinite;
  animation-delay: var(--delai, 0s);
}
@keyframes flotter {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.flotte--a {
  top: 3%;
  left: 0;
  width: 44%;
  max-width: 236px;
}
.flotte--b {
  top: 6%;
  right: 0;
  width: 40%;
  max-width: 216px;
  --delai: -2s;
}
.flotte--c {
  bottom: 5%;
  left: 2%;
  width: 42%;
  max-width: 228px;
  --delai: -4s;
  --duree: 8s;
}
.flotte--d {
  bottom: 0;
  right: 3%;
  width: 42%;
  max-width: 226px;
  --delai: -1s;
  --duree: 9s;
}
.noyau__legende {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* Fragments d'interface */
.ui {
  border-radius: 16px;
  padding: 14px;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.ui--blanc {
  background: var(--blanc);
  color: var(--texte);
}
.ui--sombre {
  background: rgba(30, 31, 35, 0.94);
  color: var(--blanc);
  border: 1px solid var(--filet-sombre);
}
.ui__titre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--texte-2);
  margin-bottom: 10px;
}
.ui--sombre .ui__titre {
  color: var(--texte-3);
}
.ui__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--filet);
  font-weight: 600;
}
.ui--sombre .ui__ligne {
  border-color: var(--filet-sombre);
}
.ui__ligne:first-of-type {
  border-top: 0;
}
.ui__ligne > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui__icone {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--gris);
  color: var(--texte);
  flex: none;
}
.ui__icone svg {
  width: 13px;
  height: 13px;
}
.etat {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.etat--ok {
  background: #e3f1e8;
  color: #23603f;
}
.etat--revoir {
  background: var(--cuivre-pale);
  color: var(--cuivre-fonce);
}
.etat--neutre {
  background: var(--gris);
  color: var(--texte-2);
}
.ui__gros {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.ui__barre {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 6px;
}
.ui--blanc .ui__barre {
  background: var(--gris);
}
.ui__barre i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #eab58e, #c98a5e);
  transform-origin: left;
  animation: remplir 1.6s var(--sortie) both;
  animation-delay: var(--d, 0.6s);
}
.ui__barre--sauge i {
  background: linear-gradient(90deg, #b6dcc6, #6fa88a);
}
@keyframes remplir {
  from {
    transform: scaleX(0);
  }
}
.ui__petit {
  font-size: 11px;
  color: var(--texte-3);
  margin-top: 8px;
}
.ui__personne {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ui__personne img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--gris);
}
.ui__personne strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: -0.02em;
}
.ui__personne small {
  display: block;
  font-size: 11px;
  color: var(--texte-2);
}
.ui__en-ligne {
  position: relative;
}
.ui__en-ligne::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f9b68;
  border: 2px solid var(--blanc);
}
.ui__bouton {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--noir);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 1079px) {
  .noyau {
    max-width: 520px;
    margin-top: 12px;
  }
}
@media (max-width: 560px) {
  .noyau {
    aspect-ratio: 1 / 1.05;
  }
  .ui {
    padding: 11px;
    font-size: 11.5px;
    border-radius: 13px;
  }
  .ui__gros {
    font-size: 20px;
  }
  /* Sur téléphone, deux cartes seulement : le noyau reste lisible */
  .noyau {
    aspect-ratio: 1 / 1;
  }
  .flotte--b,
  .flotte--d {
    display: none;
  }
  .flotte--a {
    top: 0;
    left: 0;
    width: 62%;
  }
  .flotte--c {
    left: auto;
    right: 0;
    bottom: 2%;
    width: 58%;
  }
  .noyau__centre {
    font-size: 14px;
    padding: 9px 14px 9px 10px;
  }
}

/* ------------------------- Carrousel ------------------------- */
.carrousel {
  position: relative;
}
.carrousel__piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(360px, 82vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--marge);
  padding-inline: max(var(--marge), calc((100vw - var(--largeur)) / 2 + var(--marge)));
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
}
.carrousel__piste::-webkit-scrollbar {
  display: none;
}
.carrousel__piste.est-tire {
  cursor: grabbing;
  scroll-snap-type: none;
}
.carrousel__piste.est-tire a {
  pointer-events: none;
}
.situation {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 10px 10px 24px;
  border-radius: 28px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  text-decoration: none;
  transition: transform 0.6s var(--sortie), box-shadow 0.6s var(--sortie);
  user-select: none;
}
.situation:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(20, 21, 23, 0.1);
}
.situation__visuel {
  position: relative;
  height: 230px;
  border-radius: 20px;
  background: var(--gris);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.situation__visuel .ui {
  width: 72%;
  box-shadow: 0 16px 40px rgba(20, 21, 23, 0.12);
  transition: transform 0.7s var(--sortie);
}
.situation:hover .situation__visuel .ui {
  transform: translateY(-6px) rotate(-1deg);
}
.situation__visuel .puce {
  position: absolute;
  bottom: 14px;
  right: 14px;
  transition: transform 0.7s var(--sortie);
}
.situation:hover .situation__visuel .puce {
  transform: translateY(-4px);
}
.situation__texte {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-inline: 14px;
}
.situation__texte p {
  font-size: 15.5px;
  color: var(--texte-2);
}
.situation .lien {
  padding-inline: 14px;
  font-size: 15px;
}
.carrousel__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-inline: var(--marge);
}
.carrousel__fleche {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--filet);
  background: var(--blanc);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}
.carrousel__fleche:hover {
  background: var(--gris);
}
.carrousel__fleche:disabled {
  opacity: 0.35;
  cursor: default;
}
.carrousel__fleche svg {
  width: 16px;
  height: 16px;
}
.carrousel__progres {
  position: relative;
  width: min(280px, 50vw);
  height: 6px;
  border-radius: 99px;
  background: var(--gris-2);
  overflow: hidden;
}
.carrousel__pouce {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--l, 30%);
  border-radius: inherit;
  background: var(--noir);
  transform: translateX(var(--x, 0%));
}
.carrousel__note {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--texte-2);
}

/* ------------------------- Grille de services ------------------------- */
.services {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.service {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 10px 10px 26px;
  border-radius: 28px;
  background: var(--blanc);
}
.service__visuel {
  position: relative;
  height: 250px;
  border-radius: 20px;
  background: var(--gris);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.service h3,
.service p,
.service ul,
.service .bouton {
  margin-inline: 16px;
}
.service h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.service p {
  color: var(--texte-2);
  font-size: 16px;
}
.service ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
}
.service ul a {
  display: inline-flex;
  height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gris);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}
.service ul a:hover {
  background: var(--cuivre-pale);
}
.service .bouton {
  justify-self: start;
}

/* Visuels des services */
.jauge {
  position: relative;
  width: 160px;
  height: 160px;
}
.jauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.jauge circle {
  fill: none;
  stroke-width: 14;
}
.jauge .fond-jauge {
  stroke: var(--gris-2);
}
.jauge .valeur {
  stroke: url(#degrade-cuivre);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s var(--sortie);
}
.est-vu .jauge .valeur {
  stroke-dashoffset: 42;
}
.jauge div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.jauge strong {
  font-size: 34px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.jauge small {
  font-size: 12px;
  color: var(--texte-2);
  font-weight: 600;
}
.service__visuel .puce--a {
  position: absolute;
  top: 18px;
  left: 18px;
}
.service__visuel .puce--b {
  position: absolute;
  bottom: 18px;
  right: 18px;
}
.comptes {
  width: 78%;
  display: grid;
  gap: 8px;
}
.compte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--blanc);
  box-shadow: 0 8px 20px rgba(20, 21, 23, 0.06);
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--douce), transform 0.8s var(--ressort);
  transition-delay: calc(var(--i) * 0.1s + 0.2s);
}
.est-vu .compte {
  opacity: 1;
  transform: none;
}
.compte small {
  font-size: 12px;
  font-weight: 600;
  color: var(--texte-2);
}
.bascule {
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: var(--gris-2);
  position: relative;
  flex: none;
}
.bascule::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s var(--ressort);
  transition-delay: calc(var(--i) * 0.1s + 0.6s);
}
.bascule.oui {
  background: var(--sauge-fonce);
}
.est-vu .bascule.oui::after {
  transform: translateX(14px);
}
.flux {
  width: 86%;
  display: grid;
  gap: 5px;
  justify-items: center;
}
.flux__rangee {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.flux__noeud {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--blanc);
  box-shadow: 0 8px 20px rgba(20, 21, 23, 0.06);
  font-size: 13px;
  font-weight: 650;
  min-width: 92px;
}
.flux__noeud small {
  font-size: 11px;
  font-weight: 600;
  color: var(--texte-2);
}
.flux__trait {
  width: 1.5px;
  height: 14px;
  background: repeating-linear-gradient(var(--cuivre) 0 4px, transparent 4px 8px);
}

/* Sur téléphone, les cartes de services vont droit au texte : pas d'illustration */
@media (max-width: 700px) {
  .service__visuel {
    display: none;
  }
}

/* ------------------------- Méthode (scène sombre) ------------------------- */
.methode {
  display: grid;
  gap: 40px;
}
@media (min-width: 1080px) {
  .methode {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: stretch;
  }
}
.etapes {
  display: grid;
  gap: 10px;
  align-content: start;
}
.etape {
  position: relative;
  text-align: left;
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid var(--filet-sombre);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.4s, border-color 0.4s;
}
.etape[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(234, 181, 142, 0.45);
}
.etape__haut {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.etape__num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cuivre-clair);
  flex: none;
}
.etape p {
  font-size: 15px;
  color: var(--texte-3);
  padding-left: 46px;
  display: none;
}
.etape[aria-selected="true"] p {
  display: block;
  animation: apparaitre 0.6s var(--sortie);
}
@keyframes apparaitre {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.etape__minuterie {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #eab58e, #c98a5e);
  transform-origin: left;
  transform: scaleX(0);
}
.etape[aria-selected="true"] .etape__minuterie {
  animation: minuterie var(--duree-etape, 5s) linear forwards;
}
.etapes.est-en-pause .etape__minuterie {
  animation-play-state: paused;
}
@keyframes minuterie {
  to {
    transform: scaleX(1);
  }
}
.ecran {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--filet-sombre);
  padding: 18px;
  overflow: hidden;
}
.ecran__barre {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.ecran__barre i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.ecran__barre span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--texte-3);
}
.ecran__vue {
  position: absolute;
  inset: 56px 18px 18px;
  display: grid;
  align-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.5s var(--douce), transform 0.7s var(--sortie);
  pointer-events: none;
}
.ecran__vue.est-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ecran .ui {
  box-shadow: none;
}
.coche {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--douce), transform 0.6s var(--sortie);
  transition-delay: calc(var(--i) * 0.12s + 0.15s);
}
.ecran__vue.est-active .coche {
  opacity: 1;
  transform: none;
}
.coche svg {
  width: 20px;
  height: 20px;
  color: var(--sauge);
  flex: none;
}
.document {
  justify-self: center;
  width: min(320px, 90%);
  padding: 22px;
  border-radius: 14px;
  background: var(--blanc);
  color: var(--texte);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 12px;
  transform: rotate(-2deg);
}
.document__tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}
.document__tete svg {
  width: 20px;
  height: 22px;
}
.document i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--gris);
}
.document i.court {
  width: 60%;
}
.document__sceau {
  justify-self: end;
  font-size: 11px;
  font-weight: 700;
  color: var(--sauge-fonce);
  background: #e3f1e8;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ------------------------- Bande transparence ------------------------- */
.bande {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .bande {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}
.bande h2 {
  font-size: clamp(30px, 3.4vw, 50px);
}
.bande p {
  color: #3f4a42;
  margin-top: 12px;
  max-width: 44em;
}

/* ------------------------- FAQ ------------------------- */
.faq {
  display: grid;
  gap: 40px;
}
@media (min-width: 1000px) {
  .faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }
}
.faq__liste {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 20px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  transition: box-shadow 0.4s;
}
.faq details[open] {
  box-shadow: 0 20px 40px rgba(20, 21, 23, 0.06);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gris);
  transition: background-color 0.3s, transform 0.5s var(--sortie);
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s var(--sortie);
}
.faq details[open] summary i {
  background: var(--noir);
  color: var(--blanc);
}
.faq details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq__reponse {
  padding: 0 24px 22px;
  color: var(--texte-2);
  font-size: 16px;
  max-width: 44em;
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.5s var(--sortie), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
:root {
  interpolate-size: allow-keywords;
}

/* ------------------------- Appel final (vidéo) ------------------------- */
.final {
  min-height: min(760px, 92svh);
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
}
.final video,
.final__affiche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(18, 19, 21, 0.62), rgba(18, 19, 21, 0.86));
}
.final__contenu {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 96px var(--marge);
  max-width: 860px;
}
.final__contenu h2 {
  font-size: clamp(40px, 5.4vw, 80px);
}
.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.final .flotte {
  pointer-events: none;
}
.final .ui {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.final__puce {
  position: absolute;
  display: none;
}
@media (min-width: 1080px) {
  .final__puce {
    display: block;
  }
}

/* ------------------------- Pied ------------------------- */
.pied {
  padding: clamp(64px, 8vw, 112px) 0 calc(36px + env(safe-area-inset-bottom));
}
.pied__haut {
  display: grid;
  gap: 48px;
}
@media (min-width: 1000px) {
  .pied__haut {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 64px;
  }
}
.pied__marque {
  display: grid;
  gap: 22px;
  align-content: start;
}
.pied__marque h2 {
  font-size: clamp(34px, 3.6vw, 52px);
}
.pied__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pied__colonnes {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .pied__colonnes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pied h3 {
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pied ul a {
  color: var(--texte-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.pied ul a:hover {
  color: var(--texte);
}
.pied__legal {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--filet);
  font-size: 13px;
  line-height: 1.6;
  color: var(--texte-2);
}
@media (min-width: 1000px) {
  .pied__legal {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
  }
}
.pied__mentions {
  display: grid;
  gap: 4px;
  align-content: start;
}
.pied__mentions strong {
  color: var(--texte);
}

/* ------------------------- Pages intérieures ------------------------- */
.page-heros {
  padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px);
}
.page-heros .conteneur {
  position: relative;
  display: grid;
  gap: 24px;
}
.page-heros h1 {
  max-width: 15ch;
}
.page-heros .sous-titre {
  max-width: 40em;
}
.ancres {
  position: sticky;
  top: calc(var(--tete-h) + 8px);
  z-index: 40;
  display: flex;
  justify-content: center;
  padding-inline: var(--gouttiere);
}
.ancres ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--filet);
  box-shadow: 0 12px 30px rgba(20, 21, 23, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.ancres ul::-webkit-scrollbar {
  display: none;
}
.ancres a {
  display: block;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.ancres a:hover {
  background: var(--gris);
}
.ancres a.est-actif {
  background: var(--noir);
  color: var(--blanc);
}
.fiche-service {
  display: grid;
  gap: 16px;
  scroll-margin-top: calc(var(--tete-h) + 80px);
}
@media (min-width: 1000px) {
  .fiche-service {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}
.fiche-service__texte {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
  background: var(--blanc);
}
.fiche-service__texte h2 {
  font-size: clamp(32px, 3.4vw, 50px);
}
.fiche-service__texte > p {
  font-size: 18px;
  color: var(--texte-2);
}
.fiche-service__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.fiche-service__liste li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--gris);
  font-size: 15.5px;
  font-weight: 560;
}
.fiche-service__liste svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--cuivre-fonce);
  margin-top: 2px;
}
.fiche-service__visuel {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  background: var(--noir);
  color: var(--blanc);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 32px;
}
.fiche-service__visuel .ui {
  width: min(340px, 100%);
}
.note-limite {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed var(--gris-2);
  font-size: 14.5px;
  color: var(--texte-2);
}
.note-limite svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--cuivre-fonce);
}

.cartes-3 {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .cartes-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.carte {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border-radius: 28px;
  background: var(--blanc);
  text-decoration: none;
  transition: transform 0.6s var(--sortie), box-shadow 0.6s var(--sortie);
}
a.carte:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(20, 21, 23, 0.1);
}
.carte p {
  color: var(--texte-2);
  font-size: 16px;
}
.carte__icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cuivre-pale);
  color: var(--cuivre-fonce);
}
.carte__icone svg {
  width: 22px;
  height: 22px;
}
.carte--sombre {
  background: var(--noir-2);
  color: var(--blanc);
  border: 1px solid var(--filet-sombre);
}
.carte--sombre p {
  color: var(--texte-3);
}
.carte--sombre .carte__icone {
  background: rgba(234, 181, 142, 0.12);
  color: var(--cuivre-clair);
}
.carte strong.gros {
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.deux {
  display: grid;
  gap: 16px;
}
@media (min-width: 1000px) {
  .deux {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.photo-carte {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--gris);
}
.photo-carte img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-carte .flotte {
  position: absolute;
}
.ligne-temps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ligne-temps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--blanc);
}
.ligne-temps li > span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--noir);
  color: var(--cuivre-clair);
  font-size: 14px;
  font-weight: 700;
}
.ligne-temps strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ligne-temps p {
  font-size: 15px;
  color: var(--texte-2);
}

/* ------------------------- Mouvement ------------------------- */
html.js [data-anim] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  transition: opacity 0.9s var(--douce), transform 1.1s var(--sortie), filter 0.9s var(--douce);
  transition-delay: var(--d, 0s);
}
html.js [data-anim].est-vu {
  opacity: 1;
  transform: none;
  filter: none;
}
html.js [data-anim="pop"] {
  transform: translate3d(0, 18px, 0) scale(0.94);
  transition: opacity 0.7s var(--douce), transform 1s var(--ressort), filter 0.7s var(--douce);
}
html.js .heros [data-anim] {
  transition-delay: calc(var(--d, 0s) + 0.1s);
}

/* Mots du titre qui montent, flous puis nets */
.mots .m {
  display: inline-block;
}
html.js .mots .m {
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  filter: blur(10px);
  transition: opacity 0.8s var(--douce), transform 1s var(--sortie), filter 0.8s var(--douce);
  transition-delay: calc(var(--i) * 0.055s + var(--d, 0s));
}
html.js .mots.est-vu .m {
  opacity: 1;
  transform: none;
  filter: none;
}
/* La lueur doit rester sur le mot entier : ses mots gardent le dégradé */
.lueur .m,
.lueur-claire .m {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  /* Le dégradé ne couvre que la boîte du mot : on l'agrandit pour ne pas couper le bas des p, g, j */
  padding: 0 0.04em 0.18em;
  margin: 0 -0.04em -0.18em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-anim],
  html.js .mots .m {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  ::view-transition-group(*) {
    animation: none;
  }
}

@media print {
  .tete,
  .menu,
  .barre,
  .mega {
    display: none !important;
  }
  html.js [data-anim],
  html.js .mots .m {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ------------------------- Prise de rendez-vous guidée ------------------------- */
.rdv {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: var(--blanc);
  color: var(--texte);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  text-align: left;
}
.rdv__haut {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rdv__progres {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--gris);
  overflow: hidden;
}
.rdv__progres i {
  display: block;
  height: 100%;
  width: var(--p, 33%);
  border-radius: inherit;
  background: linear-gradient(90deg, #eab58e, #c98a5e);
  transition: width 0.6s var(--sortie);
}
.rdv__compte {
  font-size: 13px;
  font-weight: 650;
  color: var(--texte-2);
  white-space: nowrap;
}
.rdv__fermer {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--gris);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.rdv__fermer svg {
  width: 14px;
  height: 14px;
}
.rdv form {
  margin: 0;
}
.rdv__piege {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.rdv__etape {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.rdv__etape.est-active {
  display: grid;
  gap: 18px;
  animation: rdv-entree 0.55s var(--sortie);
}
@keyframes rdv-entree {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}
.rdv__etape.retour.est-active {
  animation-name: rdv-retour;
}
@keyframes rdv-retour {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}
.rdv legend,
.rdv__question {
  padding: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.rdv__sous {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.rdv__choix {
  display: grid;
  gap: 8px;
}
.rdv__choix--grille {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rdv__choix--ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choix {
  position: relative;
  cursor: pointer;
}
.choix input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choix span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--gris-2);
  background: var(--blanc);
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ressort), box-shadow 0.3s;
}
.choix span svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--cuivre-fonce);
}
.choix:hover span {
  border-color: var(--texte-3);
}
.choix input:focus-visible + span {
  outline: 2px solid var(--cuivre);
  outline-offset: 2px;
}
.choix input:checked + span {
  border-color: var(--cuivre);
  background: var(--cuivre-pale);
  box-shadow: 0 0 0 3px rgba(201, 138, 94, 0.18);
}
.choix input:active + span {
  transform: scale(0.98);
}
.rdv__choix--ligne .choix span {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}
.champ-texte {
  display: grid;
  gap: 8px;
}
.champ-texte label {
  font-size: 14.5px;
  font-weight: 650;
}
.champ-texte input {
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--gris-2);
  background: var(--fond);
  font: inherit;
  font-size: 17px;
  font-weight: 560;
  color: var(--texte);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.champ-texte input:focus {
  outline: 0;
  border-color: var(--cuivre);
  background: var(--blanc);
  box-shadow: 0 0 0 3px rgba(201, 138, 94, 0.2);
}
.champ-texte input[aria-invalid="true"] {
  border-color: #b4412f;
}
.consentement {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--texte-2);
  cursor: pointer;
}
.consentement input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--cuivre-fonce);
}
.rdv__note {
  font-size: 12.5px;
  color: var(--texte-2);
}
.rdv__note a {
  color: inherit;
}
.rdv__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.rdv__retour {
  border: 0;
  background: none;
  padding: 10px 4px;
  font-weight: 650;
  color: var(--texte-2);
  cursor: pointer;
}
.rdv__retour:hover {
  color: var(--texte);
}
.rdv__erreur {
  font-size: 14px;
  font-weight: 600;
  color: #9b3524;
  min-height: 1.2em;
}
.rdv__merci {
  display: none;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 18px 0 8px;
}
.rdv__merci.est-active {
  display: grid;
  animation: rdv-entree 0.6s var(--sortie);
}
.rdv__merci svg {
  width: 64px;
  height: 70px;
}
.rdv__merci .sommet {
  animation: rdv-sommet 1.1s var(--ressort) both;
}
.rdv__merci .reflet {
  animation: rdv-reflet 1.1s var(--ressort) both;
}
@keyframes rdv-sommet {
  from {
    transform: translateY(-26px);
    opacity: 0;
  }
}
@keyframes rdv-reflet {
  from {
    transform: translateY(26px);
    opacity: 0;
  }
}
.rdv__merci h3 {
  font-size: 28px;
}
.rdv__merci p {
  color: var(--texte-2);
  max-width: 30em;
}
.bouton[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* La fenêtre (toutes les pages sauf Contact) */
.rdv-dialogue {
  width: min(560px, calc(100vw - 20px));
  max-height: calc(100svh - 20px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.rdv-dialogue[open] {
  animation: rdv-ouvrir 0.5s var(--sortie);
}
.rdv-dialogue::backdrop {
  background: rgba(18, 19, 21, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rdv-dialogue .rdv {
  max-height: calc(100svh - 20px);
  overflow-y: auto;
}
@keyframes rdv-ouvrir {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

/* Contact : le parcours dans le héros */
.contact-heros {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
}
@media (min-width: 1000px) {
  .contact-heros {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
  }
}
@media (max-width: 480px) {
  .rdv__choix--grille {
    grid-template-columns: 1fr;
  }
}
.rdv legend {
  margin-bottom: 10px;
}

/* ------------------------- Héros épuré : le symbole seul ------------------------- */
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.heros__confiance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 560;
  color: var(--texte-3);
}
.heros__confiance li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.heros__confiance li::before {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--cuivre-clair);
}
.embleme {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  justify-self: center;
  perspective: 900px;
}
.embleme__halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 150, 96, 0.42) 0%, rgba(226, 150, 96, 0.12) 38%, transparent 68%);
  filter: blur(8px);
  animation: halo 7s var(--douce) infinite;
}
@keyframes halo {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
.embleme__anneau {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(234, 181, 142, 0.22);
  transform: translate(-50%, -50%);
  animation: onde 6s var(--douce) infinite;
}
.embleme__anneau:nth-of-type(1) {
  width: 52%;
}
.embleme__anneau:nth-of-type(2) {
  width: 74%;
  animation-delay: 1s;
  border-color: rgba(234, 181, 142, 0.13);
}
.embleme__anneau:nth-of-type(3) {
  width: 96%;
  animation-delay: 2s;
  border-color: rgba(234, 181, 142, 0.07);
}
/* La ligne du miroir passe exactement dans l'espace entre le Λ et le V */
.embleme__ligne {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 181, 142, 0.6) 30%, rgba(255, 236, 220, 0.9) 50%, rgba(234, 181, 142, 0.6) 70%, transparent);
  transform-origin: center;
  animation: ligne-miroir 1.6s var(--sortie) 0.6s both;
}
@keyframes ligne-miroir {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
}
.embleme__symbole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 1s var(--sortie);
  filter: drop-shadow(0 0 36px rgba(226, 150, 96, 0.35));
}
.embleme__haut,
.embleme__bas {
  transition: transform 0.9s var(--sortie);
}
.embleme__haut {
  transform: translateY(calc(var(--ecart, 0px) * -1));
}
.embleme__bas {
  transform: translateY(var(--ecart, 0px));
}
/* Le sommet et son reflet respirent, l'un vers le haut, l'autre vers le bas */
.embleme__sommet {
  animation: sommet-respire 6s ease-in-out infinite;
}
.embleme__reflet {
  animation: reflet-respire 6s ease-in-out infinite;
}
@keyframes sommet-respire {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes reflet-respire {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
@media (max-width: 1079px) {
  .embleme {
    max-width: 380px;
  }
}
@media (max-width: 560px) {
  .embleme {
    max-width: 300px;
    margin-top: 8px;
  }
}

/* ------------------------- Héros de l'accueil : la poussière d'or ------------------------- */
/* Les autres héros essayés (lac, relief, WebGL…) sont archivés dans cabinet/archives/site-web-v3-heros-2026-10-14. */
.heros-alt {
  position: relative;
  display: flex;
  min-height: min(880px, calc(100svh - var(--tete-h) - var(--gouttiere) * 2));
  align-items: center;
  isolation: isolate;
}
.heros-alt__toile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  touch-action: pan-y;
}
.heros-alt__texte {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: center;
  padding-block: clamp(56px, 7vw, 96px);
  pointer-events: none;
}
.heros-alt__texte > * {
  max-width: 560px;
  pointer-events: auto;
}
.heros-alt__texte h1 {
  font-size: clamp(44px, 5.6vw, 84px);
  max-width: none;
}
.heros-or {
  background: radial-gradient(ellipse 70% 80% at 72% 50%, #1d1712 0%, #0e0f12 60%, #0b0c0e 100%);
}
/* Sur téléphone : les grains au-dessus du texte, et le héros épouse son contenu (la section suivante pointe en bas) */
@media (max-width: 900px) {
  .heros-alt--visuel-haut {
    min-height: 0;
    align-items: flex-start;
  }
  .heros-alt--visuel-haut .heros-alt__texte {
    padding-top: min(30svh, 250px);
    padding-bottom: 40px;
  }
}

/* Les trois services, qui s'allument à tour de rôle */
.mots-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mots-services a {
  position: relative;
  color: rgba(246, 239, 230, 0.85);
  text-decoration: none;
  transition: color 0.3s;
}
.mots-services a + a::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--cuivre);
}
.mots-services a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--cuivre-clair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--sortie);
}
.mots-services a:hover {
  color: #ffe2c7;
}
.mots-services a:hover::after {
  transform: scaleX(1);
}

/* Services qui s'allument à tour de rôle */
.mots-services--lumiere a {
  transition: color 0.5s var(--douce), text-shadow 0.5s var(--douce);
}
.mots-services--lumiere a.est-actif {
  color: #ffe2c7;
  text-shadow: 0 0 18px rgba(226, 150, 96, 0.65);
}
.mots-services--lumiere a.est-actif::after {
  transform: scaleX(1);
}

/* Bouton « halo » : verre cuivré, une bordure lumineuse qui tourne */
@property --angle-halo {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.style-halo .bouton--cuivre {
  --b-fond: rgba(201, 138, 94, 0.1);
  --b-texte: #ffe2c7;
  height: 54px;
  box-shadow: 0 0 30px rgba(201, 138, 94, 0.25);
}
.style-halo .bouton--cuivre::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle-halo), #8a5a3a, #ffe2c7 25%, #c98a5e 50%, #8a5a3a 75%, #ffe2c7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: halo-tourne 3.5s linear infinite;
  pointer-events: none;
}
@keyframes halo-tourne {
  to { --angle-halo: 360deg; }
}
.style-halo .bouton--cuivre:hover {
  --b-fond: rgba(201, 138, 94, 0.2);
  box-shadow: 0 0 40px rgba(201, 138, 94, 0.42);
}

/* ------------------------- À propos : portrait et symbole tracé ------------------------- */
.apropos-heros {
  background: #f3eee5;
  color: var(--texte);
  overflow: clip;
}
.apropos-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
  margin: 0;
}
.apropos-portrait__scene {
  position: relative;
  aspect-ratio: 1122 / 1290;
}
.apropos-portrait .heros-portrait__photo {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.apropos-portrait__legende {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--cuivre);
  font-size: 14px;
  color: var(--texte-2);
}
.apropos-portrait__legende strong {
  font-size: 15px;
  color: var(--texte);
}
/* Le portrait détouré et le symbole tracé derrière lui */
.heros-portrait__symbole {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 112%;
  fill: none;
  stroke: var(--cuivre);
  stroke-width: 0.32;
  opacity: 0.6;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transform: translate(calc(-50% + var(--px, 0) * -26px), calc(-52% + var(--py, 0) * -18px));
  transition: transform 0.8s var(--douce);
  animation: tracer-symbole 2.6s 0.2s var(--douce) forwards;
}
@keyframes tracer-symbole {
  to { stroke-dashoffset: 0; }
}
.heros-portrait__photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 92%;
  object-fit: cover;
  object-position: 50% 0;
  filter: drop-shadow(0 30px 40px rgba(20, 21, 23, 0.12));
  transform: translateX(calc(var(--px, 0) * 10px));
  transition: transform 0.8s var(--douce);
  animation: monter-portrait 1.4s 0.15s var(--sortie) both;
}
@keyframes monter-portrait {
  from { opacity: 0; translate: 0 28px; }
}

/* ------------------------- À propos : la lettre ------------------------- */
.lettre {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 20px;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 6vw, 80px) clamp(32px, 5vw, 60px);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 90px -50px rgba(20, 21, 23, 0.3);
  font-size: 19px;
  line-height: 1.7;
  color: var(--texte-2);
}
.lettre__guillemet {
  position: absolute;
  top: clamp(-34px, -3vw, -24px);
  left: clamp(20px, 5vw, 64px);
  font-size: clamp(110px, 12vw, 160px);
  line-height: 1;
  font-weight: 700;
  color: var(--cuivre);
}
.lettre__salutation,
.lettre__fin {
  color: var(--texte);
  font-weight: 600;
}
.lettre__fin {
  margin-top: 8px;
}
.lettre__signature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--filet);
  line-height: 1.35;
}
.lettre__signature strong {
  display: block;
  font-size: 18px;
  color: var(--texte);
}
.lettre__signature span span {
  font-size: 14.5px;
  color: var(--texte-2);
}
.lettre__photo {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cuivre-pale);
}
.lettre__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}
@media (max-width: 700px) {
  .lettre { font-size: 17px; gap: 16px; margin-inline: -8px; padding-inline: 22px; }
  .lettre__guillemet { left: 22px; }
}

.apropos-portrait picture,
.lettre__photo picture {
  display: contents;
}
.final picture {
  display: contents;
}

/* ------------------------- Pages de service ------------------------- */
.fil-ariane {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  color: var(--texte-3);
}
.fil-ariane a {
  color: inherit;
  text-decoration: none;
}
.fil-ariane a:hover {
  color: var(--cuivre-clair);
}
.fil-ariane span[aria-hidden] {
  opacity: 0.5;
}
.reponse-courte {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 36px) clamp(22px, 4vw, 44px);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--cuivre);
  border-radius: 20px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--texte);
}
.reponse-courte strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cuivre-fonce);
}
.article-service {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--texte-2);
}
.article-service h2 {
  margin: clamp(44px, 5vw, 64px) 0 16px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  color: var(--texte);
}
.article-service h2:first-child {
  margin-top: 0;
}
.article-service p {
  margin: 0 0 16px;
}
.article-service ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.article-service li {
  position: relative;
  padding-left: 26px;
}
.article-service li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cuivre);
}
.article-service .auteur {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--filet);
  font-size: 15px;
  line-height: 1.4;
}
.article-service .auteur img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 8%;
  background: var(--cuivre-pale);
}
.article-service .auteur strong {
  display: block;
  color: var(--texte);
}
.outils-lies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
}
.services-lies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.services-lies a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 18px;
  font-weight: 650;
  color: var(--texte);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.4s var(--sortie);
}
.services-lies a:hover {
  border-color: var(--cuivre);
  transform: translateY(-2px);
}
.services-lies svg {
  width: 15px;
  height: 15px;
  flex: none;
}
