/*
  Architectzone (architectzone.pro) — style.css
  Partie 1 : SOCLE commun des landing pages du portfolio Lasda (templates/one-page, 25/09/2026).
  Partie 2 (plus bas) : identité et sections propres au site.
  Chaque site redéfinit les jetons de :root dans sa partie 2 (couleurs, polices, arrondis, rythme).
*/

/* ============================================================================================
   1. Jetons par défaut (redéfinis par chaque site)
   ============================================================================================ */

:root {
  --fond: #f6f5f2;
  --fond-2: #ecebe6;
  --fond-3: #dedcd4;
  --texte: #141414;
  --texte-doux: rgba(20, 20, 20, 0.72);
  --texte-pale: rgba(20, 20, 20, 0.5);
  --filet: rgba(20, 20, 20, 0.12);
  --filet-fort: rgba(20, 20, 20, 0.24);
  --accent: #e0492b;
  --encre-accent: #ffffff;
  --visuel-a: #d8d4ca;
  --visuel-b: #b9b3a6;

  --f-titre: "Site Titre", Georgia, serif;
  --f-texte: "Site Texte", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Site Mono", ui-monospace, "Cascadia Mono", monospace;

  --largeur: 1240px;
  --gouttiere: clamp(20px, 4.2vw, 64px);
  --espace-section: clamp(72px, 9vw, 140px);
  --barre-hauteur: 72px;
  --r-petit: 10px;
  --r-carte: 20px;
  --r-pilule: 999px;

  --ease-sortie: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-doux: cubic-bezier(0.4, 0, 0.2, 1);

  --z-deco: 0;
  --z-contenu: 1;
  --z-cine-texte: 20;
  --z-entete: 60;
  --z-menu: 70;
  --z-curseur: 90;
}

/* Polices du site (fichiers produits par « npm run fonts -- <dossier> ») */
@font-face {
  font-family: "Site Titre";
  src: url("../assets/fonts/display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Site Texte";
  src: url("../assets/fonts/text.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Site Mono";
  src: url("../assets/fonts/mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================================
   2. Base
   ============================================================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--fond);
  scroll-padding-top: calc(var(--barre-hauteur) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--f-texte);
  font-size: clamp(16px, 0.95rem + 0.2vw, 18px);
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

::selection {
  background: var(--accent);
  color: var(--encre-accent);
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lien-evitement {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-menu) + 1);
  padding: 10px 16px;
  border-radius: var(--r-pilule);
  background: var(--accent);
  color: var(--encre-accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-sortie);
}

.lien-evitement:focus-visible {
  transform: none;
}

/* ============================================================================================
   3. Mise en page et typographie
   ============================================================================================ */

.conteneur {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}

main > section {
  position: relative;
  padding-block: var(--espace-section);
}

.surtitre {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.titre-1 {
  font-family: var(--f-titre);
  font-size: clamp(2.4rem, 1.1rem + 4.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.titre-2 {
  font-family: var(--f-titre);
  font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.titre-3 {
  font-family: var(--f-titre);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
  font-weight: 650;
  line-height: 1.2;
}

.chapeau {
  max-width: 62ch;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
  color: var(--texte-doux);
}

.tete-section {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.tete-section .chapeau {
  margin-top: 20px;
}

.prose p + p {
  margin-top: 1em;
}

.prose strong {
  color: var(--texte);
}

.mono {
  font-family: var(--f-mono);
}

/* ============================================================================================
   4. Barre du haut (toujours visible) et logo
   ============================================================================================ */

.barre {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-entete);
  padding: 12px var(--gouttiere);
  pointer-events: none;
}

.barre__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--largeur);
  min-height: calc(var(--barre-hauteur) - 24px);
  margin-inline: auto;
  padding: 6px 6px 6px 8px;
  border: 1px solid var(--filet);
  border-radius: var(--r-pilule);
  background: color-mix(in srgb, var(--fond) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  pointer-events: auto;
}

/* Logo : icône à gauche, nom, slogan court animé (sur le modèle du site A) */
.marque {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.62em;
  font-size: 1rem;
  line-height: 1;
  color: var(--texte);
  text-decoration: none;
  white-space: nowrap;
}

.marque__icone {
  flex: none;
  width: 2.5em;
  height: 2.5em;
}

.marque__icone svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.marque__texte {
  display: flex;
  flex-direction: column;
  gap: 0.34em;
}

.marque__nom {
  font-family: var(--f-titre);
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.marque__slogan {
  font-family: var(--f-titre);
  font-size: 0.68em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.marque__slogan span {
  display: inline-block;
}

.barre__nav {
  flex: 1;
}

.barre__nav ul {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.barre__nav a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-pilule);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texte-doux);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.barre__nav a:hover,
.barre__nav a[aria-current] {
  color: var(--texte);
  background: color-mix(in srgb, var(--texte) 7%, transparent);
}

.barre__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.barre__menu {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--filet-fort);
  border-radius: 50%;
  background: transparent;
}

.barre__menu-trait,
.barre__menu-trait::before,
.barre__menu-trait::after {
  display: block;
  width: 16px;
  height: 1.6px;
  background: currentColor;
  transition:
    transform 0.3s var(--ease-sortie),
    opacity 0.2s ease;
}

.barre__menu-trait {
  position: relative;
}

.barre__menu-trait::before,
.barre__menu-trait::after {
  content: "";
  position: absolute;
  left: 0;
}

.barre__menu-trait::before {
  top: -5px;
}

.barre__menu-trait::after {
  top: 5px;
}

.est-ouvert .barre__menu-trait {
  background: transparent;
}

.est-ouvert .barre__menu-trait::before {
  transform: translateY(5px) rotate(45deg);
}

.est-ouvert .barre__menu-trait::after {
  transform: translateY(-5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: calc(var(--barre-hauteur) + 8px) 12px auto;
  z-index: var(--z-menu);
  padding: 22px;
  border: 1px solid var(--filet);
  border-radius: var(--r-carte);
  background: var(--fond);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

.menu ul {
  display: grid;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 12px 6px;
  border-bottom: 1px solid var(--filet);
  font-family: var(--f-titre);
  font-size: 1.3rem;
  text-decoration: none;
}

.menu .bouton {
  margin-top: 18px;
  width: 100%;
}

/* ============================================================================================
   5. Boutons (règle de l'utilisateur : principal = icône à gauche + flèche sur pastille blanche
      concentrique à droite ; secondaire = une icône au moins)
   ============================================================================================ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pilule);
  font-family: var(--f-texte);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}

.bouton__icone {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bouton--principal {
  padding-right: 5px;
  background: var(--accent);
  color: var(--encre-accent);
  box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--accent) 80%, transparent);
}

.bouton--principal:hover {
  box-shadow: 0 18px 38px -14px color-mix(in srgb, var(--accent) 90%, transparent);
}

/* Pastille : 50 − 12 = 38 px, même centre que l'arrondi du bouton (courbes parallèles) */
.bouton__fleche {
  box-sizing: content-box;
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  color: #141414;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bouton__fleche path {
  transition: transform 0.25s var(--ease-sortie);
}

.bouton--principal:hover .bouton__fleche path {
  transform: translateX(2px);
}

.bouton--secondaire {
  border-color: var(--filet-fort);
  background: transparent;
  color: var(--texte);
}

.bouton--secondaire:hover {
  border-color: var(--texte);
}

.bouton--petit {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.bouton--petit.bouton--principal {
  padding-right: 5px;
}

/* 42 − 12 = 30 px */
.bouton--petit .bouton__fleche {
  width: 14px;
  height: 14px;
  padding: 8px;
}

/* ============================================================================================
   6. Emplacements d'images (les images seront créées à la fin, ensemble — P6)
   Le nom de l'image attendue est écrit discrètement ; sa description est dans le README du site.
   Quand l'image arrive : <img> dans la figure, le fond disparaît de lui-même.
   ============================================================================================ */

.visuel {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: var(--r-carte);
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--visuel-a) 90%, #fff) 0%, transparent 60%),
    radial-gradient(
      90% 80% at 85% 90%,
      color-mix(in srgb, var(--accent) 22%, transparent) 0%,
      transparent 62%
    ),
    linear-gradient(160deg, var(--visuel-a), var(--visuel-b));
  isolation: isolate;
}

/* Trame fine : l'emplacement se lit comme une image à venir, pas comme un bloc vide */
.visuel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--texte) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--texte) 7%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%);
}

.visuel__nom {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 5px 9px;
  border-radius: var(--r-pilule);
  background: color-mix(in srgb, var(--fond) 70%, transparent);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--texte-doux);
  /* Le nom passe à la ligne plutôt que d'être coupé (étiquette lisible sur téléphone) */
  overflow-wrap: anywhere;
}

.visuel > img,
.visuel > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visuel figcaption {
  position: absolute;
  inset: auto 14px 12px auto;
  font-size: 0.8rem;
  color: var(--texte-doux);
}

/* ============================================================================================
   7. Le film au défilement (section 3 de chaque site — moteur js/scrub.js)
   Sans JavaScript : les quatre plans et leurs textes se lisent l'un sous l'autre.
   ============================================================================================ */

.cine {
  padding-block: 0 !important;
  background: #050505;
  color: #f4f4f4;
}

.cine__piste {
  position: relative;
}

.js .cine__piste {
  height: var(--cine-hauteur, 660vh);
}

.cine__scene {
  display: grid;
  gap: 2px;
}

.js .cine__scene {
  position: sticky;
  top: 0;
  display: block;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.cine__plan {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.js .cine__plan {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  opacity: 0;
  will-change: opacity;
}

.js .cine__plan[data-premier] {
  opacity: 1;
}

/* Mouvement de caméra lent tant que la vidéo n'est pas là (--p : avancement du plan, posé par scrub.js).
   Seul le fond bouge (dégradé qui glisse, trame qui avance) : l'étiquette de l'image reste fixe et lisible. */
.cine__plan .visuel {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background-size: 150% 150%;
  background-position: calc(30% + var(--p, 0) * 40%) calc(60% - var(--p, 0) * 20%);
}

.cine__plan .visuel::before {
  transform: scale(calc(1.18 - var(--p, 0) * 0.18));
}

.cine__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cine__plan[data-peint="1"] .cine__video {
  opacity: 1;
}

.cine__voile {
  position: absolute;
  inset: 0;
  z-index: 15;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 40%);
  pointer-events: none;
}

.cine__textes {
  display: grid;
  gap: 24px;
  padding: 40px var(--gouttiere);
}

.js .cine__textes {
  position: absolute;
  inset: 0;
  z-index: var(--z-cine-texte);
  display: block;
  padding: 0;
  pointer-events: none;
}

.cine__texte {
  max-width: 560px;
}

.js .cine__texte {
  position: absolute;
  left: var(--gouttiere);
  bottom: clamp(56px, 12vh, 140px);
  opacity: 0;
  will-change: opacity, transform;
}

.js .cine__texte[data-premier] {
  opacity: 1;
}

.cine__heure {
  display: block;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.cine__phrase {
  font-family: var(--f-titre);
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cine__detail {
  margin-top: 16px;
  max-width: 46ch;
  color: rgba(244, 244, 244, 0.78);
}

.cine__reperes {
  display: none;
}

.js .cine__reperes {
  position: absolute;
  right: var(--gouttiere);
  bottom: clamp(56px, 12vh, 140px);
  z-index: var(--z-cine-texte);
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.cine__reperes li {
  opacity: 0.4;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.cine__reperes li[data-actif="1"] {
  opacity: 1;
  color: var(--accent);
}

.cine__invite {
  display: none;
}

.js .cine__invite {
  position: absolute;
  left: 50%;
  top: calc(var(--barre-hauteur) + 18px);
  z-index: var(--z-cine-texte);
  display: block;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.7);
  white-space: nowrap;
}

/* ============================================================================================
   8. Questions fréquentes
   ============================================================================================ */

.faq__liste {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq__item {
  border: 1px solid var(--filet);
  border-radius: var(--r-carte);
  background: color-mix(in srgb, var(--fond-2) 60%, transparent);
  transition: border-color 0.25s ease;
}

.faq__item[open] {
  border-color: var(--filet-fort);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--f-titre);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease-sortie);
}

.faq__item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq__reponse {
  padding: 0 24px 22px;
  color: var(--texte-doux);
}

/* ============================================================================================
   9. Pied de page
   ============================================================================================ */

.pied {
  padding-block: 72px 36px;
  border-top: 1px solid var(--filet);
  background: var(--fond-2);
}

.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.pied__titre {
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-pale);
}

.pied ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.pied a {
  color: var(--texte-doux);
  text-decoration: none;
}

.pied a:hover {
  color: var(--accent);
}

.pied__signature {
  max-width: 340px;
  margin-top: 16px;
  color: var(--texte-doux);
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--filet);
  font-size: 0.84rem;
  color: var(--texte-pale);
}

/* ============================================================================================
   10. Pages annexes (mentions légales, 404)
   ============================================================================================ */

.annexe {
  padding-block: calc(var(--barre-hauteur) + 72px) var(--espace-section);
}

.annexe .titre-1 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 1.2rem + 3vw, 3.8rem);
}

.annexe h2 {
  margin: 42px 0 14px;
  font-family: var(--f-titre);
  font-size: 1.4rem;
}

.annexe dl {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 10px 24px;
}

.annexe dt {
  color: var(--texte-pale);
}

.annexe p {
  max-width: 70ch;
  color: var(--texte-doux);
}

.annexe .bouton {
  margin-top: 28px;
}

/* ============================================================================================
   PARTIE 2 — IDENTITÉ ET SECTIONS DU SITE (écrites pour ce site seulement)
   ============================================================================================ */

/*
  Architectzone : architecte de maisons contemporaines. Parti pris : une revue d'architecture. Fond sable,
  noir d'encre, un seul rouge terre cuite ; de très grands titres en Playfair Display (l'italique pour ce qui
  compte), le texte en Figtree, les cotes en Geist Mono. Des filets fins, des angles droits, la courbe
  réservée à ce qui la mérite (l'arche, le plan).
  Palette 80 / 15 / 5 : sable (fond), noir et béton (texte, traits), terre cuite (action).
*/
@font-face {
  font-family: "Site Titre";
  src: url("../assets/fonts/display-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --fond: #ece8e1;
  --fond-2: #e3ded5;
  --fond-3: #d6d0c5;
  --texte: #151413;
  --texte-doux: rgba(20, 20, 20, 0.78);
  --texte-pale: #5f5d59;
  --filet: rgba(20, 20, 20, 0.14);
  --filet-fort: rgba(20, 20, 20, 0.32);
  /* Terre cuite : fond des boutons (texte blanc, contraste 4,75:1) ; plus sombre pour le texte */
  --accent: #c24e22;
  --encre-accent: #ffffff;
  --accent-texte: #a8431f;
  --beton: #9c9a95;
  --visuel-a: #dcd6cc;
  --visuel-b: #9f9a92;

  --largeur: 1240px;
  --barre-hauteur: 72px;
  --r-carte: 3px;
  --r-petit: 2px;
}

.titre-1,
.titre-2,
.titre-3 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.titre-1 em,
.titre-2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-texte);
}

.titre-2 {
  font-size: clamp(2rem, 1.1rem + 2.7vw, 3.8rem);
  line-height: 1.02;
}

.titre-3 {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  letter-spacing: -0.01em;
}

.surtitre {
  font-size: 0.7rem;
  color: var(--accent-texte);
}

/* ---------- La barre : un filet d'encre, sans cadre ---------- */
.barre__inner {
  border: 0;
  border-bottom: 1px solid var(--texte);
  border-radius: 0;
  background: rgb(236 232 225 / 0.9);
}

.barre__nav a {
  border-radius: var(--r-petit);
  white-space: nowrap;
}

/* ---------- Logo : le plan qui se dessine ---------- */
.marque__icone {
  width: 2.6em;
  height: 2.6em;
}

.marque__nom {
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.marque__slogan {
  font-family: var(--f-texte);
  font-size: 0.64em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent-texte);
}

.az-disque {
  fill: #e6e0d6;
  stroke: rgb(20 20 20 / 0.25);
  stroke-width: 1;
}

.az-plan,
.az-cloison {
  fill: none;
  stroke: var(--texte);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
}

.az-cloison {
  stroke: var(--accent);
  stroke-width: 2.2;
}

/* ---------- Le cartouche d'architecte (ordinateur large) ---------- */
.cartouche {
  display: none;
}

/* Il n'apparaît que lorsque la marge de droite peut l'accueillir sans toucher au contenu */
@media (min-width: 1520px) {
  .cartouche {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: calc(var(--z-entete) - 1);
    display: grid;
    width: 112px;
    border: 1px solid var(--texte);
    background: rgb(236 232 225 / 0.94);
    font-family: var(--f-mono);
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: opacity 0.4s ease;
  }
}

.cartouche.est-efface {
  opacity: 0;
}

.cartouche > span {
  padding: 4px 6px;
  border-bottom: 1px solid var(--texte);
}

.cartouche > span:last-child {
  border-bottom: 0;
}

.cartouche__agence {
  font-weight: 600;
}

.cartouche__projet {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cartouche__projet b {
  font-weight: 500;
  color: var(--accent-texte);
}

.cartouche__ligne {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

/* ---------- Le curseur : une mine de crayon ---------- */
.curseur {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-curseur);
  width: 34px;
  height: 34px;
  pointer-events: none;
  visibility: hidden;
}

.curseur.est-visible {
  visibility: visible;
}

/* La pointe de la mine est au coin haut gauche : c'est elle qui vise */
.crayon {
  width: 100%;
  height: 100%;
  transform-origin: 4px 4px;
  transition: transform 0.3s var(--ease-sortie);
}

.crayon__bois {
  fill: #e8c79a;
  stroke: var(--texte);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.crayon__mine {
  fill: #d9b98c;
  stroke: var(--texte);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.crayon__pointe {
  fill: var(--texte);
}

.curseur.sur-lien .crayon {
  transform: rotate(-12deg) scale(1.1);
}

/* ---------- 1. Premier écran : le titre géant et l'arche ---------- */
.ouverture {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--barre-hauteur) + 36px) 48px !important;
}

.ouverture__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.ouverture__titre {
  font-size: clamp(2.6rem, 1rem + 4.6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.ouverture__titre em {
  display: inline-block;
}

.ouverture__texte .chapeau {
  max-width: 50ch;
  margin-top: 24px;
}

.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.arche {
  justify-self: center;
  width: min(100%, calc((100svh - var(--barre-hauteur) - 140px) * 0.8), 460px);
}

/* L'arche : un encadrement aux coins supérieurs entièrement arrondis */
.arche__cadre {
  overflow: hidden;
  clip-path: inset(0 round 9999px 9999px 0 0);
}

.arche__image {
  border-radius: 0;
  --visuel-a: #e9d5bd;
  --visuel-b: #9c9a95;
}

.arche__legende {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--texte-pale);
}

.arche__legende span {
  display: block;
  font-family: var(--f-titre);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--texte);
}

/* ---------- 2. Manifeste ---------- */
.manifeste {
  border-top: 1px solid var(--texte);
}

.principes {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.principe {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--filet-fort);
}

.principe__numero {
  font-family: var(--f-titre);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-texte);
}

.principe__titre {
  position: relative;
  font-family: var(--f-titre);
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.principe__texte {
  color: var(--texte-doux);
}

/* Les mots se tracent comme à l'encre, de gauche à droite, avec la pointe du crayon en tête */
.az-pret .principe__titre {
  clip-path: inset(0 100% 0 0);
}

.az-pret .principe__titre.est-trace {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s cubic-bezier(0.6, 0.1, 0.3, 1);
}

/* ---------- 3. Le film ---------- */
.cine {
  background: #151411;
  --visuel-a: #d7c7af;
  --visuel-b: #2b2824;
}

.cine .visuel--aube {
  --visuel-a: #f0c9a8;
  --visuel-b: #5d6b76;
}

.cine .visuel--beton {
  --visuel-a: #c9c4bb;
  --visuel-b: #54514c;
}

.cine .visuel--soir {
  --visuel-a: #d9855c;
  --visuel-b: #1d2733;
}

/* ---------- 4. Quatre maisons : des cartes plein cadre ---------- */
.maisons__liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.maison {
  position: relative;
  overflow: hidden;
  background: var(--texte);
}

.maison__image {
  border-radius: 0;
  transition: transform 0.8s var(--ease-sortie);
}

.maison:hover .maison__image {
  transform: scale(1.04);
}

/* L'étiquette de l'emplacement d'image passe en haut : le bas porte le texte */
.maison .visuel__nom {
  top: 12px;
  bottom: auto;
}

/* Le texte se pose sur l'image, sur un voile d'encre */
.maison__texte {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 60px 18px 18px;
  background: linear-gradient(0deg, rgb(20 20 20 / 0.86) 0%, rgb(20 20 20 / 0.6) 55%, rgb(20 20 20 / 0) 100%);
  color: #f3eee5;
}

.maison__texte p {
  font-size: 0.9rem;
  color: rgb(243 238 229 / 0.86);
}

.maison__texte .maison__type {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eda886;
}

.maison__texte .titre-3 {
  font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem);
  font-style: italic;
}

/* ---------- 5. Plan, coupe, façade : le dessin qui se transforme ---------- */
.dessin {
  padding-block: 0 !important;
}

.dessin__piste {
  position: relative;
}

.js .dessin__piste {
  height: 300vh;
}

.dessin__scene {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-block: calc(var(--barre-hauteur) + 24px) 32px;
}

.js .dessin__scene {
  position: sticky;
  top: 0;
  height: 100vh;
}

.dessin__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.dessin__tete .chapeau {
  margin-top: 16px;
}

.dessin__vues {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}

.dessin__vues li {
  display: grid;
  gap: 4px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--filet);
  transition:
    border-color 0.4s ease,
    opacity 0.4s ease;
}

.dessin__vues p {
  font-size: 0.92rem;
  color: var(--texte-doux);
}

.js .dessin__vues li {
  opacity: 0.4;
}

.js .dessin__vues li[data-actif="1"] {
  border-color: var(--accent);
  opacity: 1;
}

.planche {
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--texte);
  background:
    linear-gradient(var(--filet) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--filet) 1px, transparent 1px) 0 0 / 40px 40px,
    #f5f2ed;
}

.planche__dessin {
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--barre-hauteur) - 160px);
  overflow: visible;
}

.planche__trait,
.planche__courbe {
  fill: none;
  stroke: var(--texte);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.planche__courbe {
  stroke: var(--accent);
  stroke-width: 2.6;
}

.planche__cartouche {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--texte);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 6. Du croquis à la clé : six planches ---------- */
.planches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.feuille {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 16px 44px;
  border: 1px solid var(--texte);
  background: #f5f2ed;
}

/* Le petit cartouche de chaque planche */
.feuille__numero {
  position: absolute;
  right: -1px;
  bottom: -1px;
  padding: 4px 8px;
  border: 1px solid var(--texte);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feuille__duree {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--accent-texte);
}

.feuille p:not(.feuille__duree) {
  font-size: 0.88rem;
  color: var(--texte-doux);
}

/* ---------- 7. Les matières : des échantillons ---------- */
.echantillons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.echantillon {
  display: grid;
  align-content: start;
  gap: 10px;
  outline-offset: 6px;
}

.echantillon .visuel {
  border-radius: 0;
  outline: 1px solid transparent;
  outline-offset: 5px;
  transition:
    transform 0.5s var(--ease-sortie),
    outline-color 0.3s ease;
}

.echantillon:hover .visuel,
.echantillon:focus-visible .visuel {
  outline-color: var(--accent);
  transform: translateY(-6px) rotate(-1.5deg);
}

.echantillon p {
  font-size: 0.88rem;
  color: var(--texte-doux);
}

/* ---------- 8. Bioclimatique : le soleil qui tourne ---------- */
.bioclimatique__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.soleil {
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--texte);
  background: #f5f2ed;
}

.soleil svg {
  display: block;
  width: 100%;
  height: auto;
}

.soleil__course {
  fill: none;
  stroke: var(--beton);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
}

.soleil__astre {
  transform-box: view-box;
  transform-origin: 210px 250px;
  transform: rotate(-40deg);
}

.soleil__disque {
  fill: var(--accent);
}

.soleil__rayon {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}

.soleil__sol {
  fill: none;
  stroke: var(--texte);
  stroke-width: 2;
}

.soleil__maison {
  fill: none;
  stroke: var(--texte);
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.soleil__baie {
  fill: none;
  stroke: var(--beton);
  stroke-width: 4;
}

.soleil__texte {
  font-family: var(--f-mono);
  font-size: 12px;
  text-anchor: middle;
  fill: var(--texte-pale);
}

.principes-bio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.principes-bio li {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--texte);
}

.principes-bio p {
  font-size: 0.92rem;
  color: var(--texte-doux);
}

/* ---------- 9. Galerie éditoriale ---------- */
.galerie__mosaique {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.galerie__vue--large {
  grid-column: span 2;
}

.galerie__vue .visuel {
  border-radius: 0;
}

.galerie__vue p {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--texte-pale);
}

.galerie__vue em {
  font-family: var(--f-titre);
  font-size: 1.05rem;
  color: var(--texte);
}

/* ---------- 10. Missions et honoraires ---------- */
.tableau {
  overflow-x: auto;
  border-top: 2px solid var(--texte);
}

.tableau table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.tableau th,
.tableau td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--filet-fort);
  text-align: left;
  vertical-align: top;
}

.tableau thead th {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-pale);
}

.tableau tbody th {
  font-family: var(--f-titre);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
}

.tableau td {
  color: var(--texte-doux);
}

.tableau td b {
  display: block;
  font-family: var(--f-titre);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--texte);
}

.tableau td span {
  font-size: 0.84rem;
}

.tableau__ligne--vedette {
  background: #f5f2ed;
}

.tableau__ligne--vedette td b {
  color: var(--accent-texte);
}

.missions__appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(24px, 3vw, 40px);
}

.missions__appel p {
  max-width: 56ch;
  color: var(--texte-doux);
}

/* ---------- 11. Questions ---------- */
.questions__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.faq__item {
  border-color: var(--filet-fort);
  border-radius: 0;
  background: #f5f2ed;
}

.faq__item summary {
  font-weight: 500;
}

/* ---------- 12. Parlons de votre terrain ---------- */
.terrain {
  border-top: 1px solid var(--texte);
}

.terrain__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.terrain__texte .chapeau {
  margin-top: 18px;
}

.terrain__liste {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.terrain__liste li {
  position: relative;
  padding-left: 24px;
  color: var(--texte-doux);
}

.terrain__liste li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.terrain__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.terrain__trait {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.terrain__trait path {
  fill: none;
  stroke: var(--texte);
  stroke-width: 2;
  stroke-linejoin: round;
}

.terrain__image {
  border-radius: 0;
}

/* Pied de page : un filet d'encre */
.pied {
  border-top-color: var(--texte);
}

/* ============================================================================================
   PARTIE 3 — EMBELLISSEMENT (chantier T50, 27/10/2026)
   Rétro-ingénierie des affiches « Altair » et « OKK » (docs/sites/architectzone-pro/embellissement/
   FICHE.md) : clair-obscur, une section sur deux en noir, un trait terre cuite sous chaque titre, l'arc
   qui entoure la maison, des grilles de points, et la lumière rasante sur le béton blanc dans chaque
   emplacement d'image (elle glisse au défilement : « la lumière comme matière »).
   ============================================================================================ */

:root {
  --nuit: #151413;
  --nuit-2: #1e1c1a;
  --orange-vif: #ee7a3f;
  /* Grain de béton (bruit SVG en ligne : fonctionne en file://) */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

/* ---------- Titres : capitales espacées et trait terre cuite ---------- */
.surtitre {
  letter-spacing: 0.26em;
}

.surtitre::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 12px;
  vertical-align: 0.3em;
  background: currentColor;
}

/* Le trait court sous le titre (affiches Altair) ; --trait est animé par animations.js */
.tete-section .titre-2::after,
.dessin__tete .titre-2::after,
.terrain__texte .titre-2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: clamp(16px, 1.6vw, 24px);
  background: var(--accent);
  transform: scaleX(var(--trait, 1));
  transform-origin: left center;
}

/* ---------- Zones sombres : le clair-obscur des affiches ---------- */
.manifeste,
.etapes,
.galerie,
.terrain {
  --fond: var(--nuit);
  --fond-2: var(--nuit-2);
  --texte: #f1ede6;
  --texte-doux: rgb(241 237 230 / 0.76);
  --texte-pale: #a8a198;
  --filet: rgb(241 237 230 / 0.14);
  --filet-fort: rgb(241 237 230 / 0.3);
  --accent-texte: var(--orange-vif);
  --visuel-a: #e0a46a;
  --visuel-b: #24211e;
  isolation: isolate;
  background: var(--fond);
  color: var(--texte);
}

/* Grain et lueur chaude au-dessus du noir, derrière le contenu */
.manifeste::before,
.etapes::before,
.galerie::before,
.terrain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    var(--grain),
    radial-gradient(60% 50% at 85% 0%, rgb(238 122 63 / 0.09), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgb(241 237 230 / 0.05), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.manifeste,
.terrain {
  border-top: 0;
}

.manifeste .principe__numero {
  color: var(--orange-vif);
}

/* ---------- Emplacements d'images : volume blanc au soleil, ombre à arête vive ---------- */
.visuel {
  --lx: 26%;
  --ly: 16%;
  --angle: 118deg;
  --coupe: 58%;
  --ombre: 0.46;
  background:
    linear-gradient(
      var(--angle),
      transparent var(--coupe),
      rgb(21 20 19 / var(--ombre)) calc(var(--coupe) + 0.3%),
      rgb(21 20 19 / calc(var(--ombre) + 0.18)) 100%
    ),
    radial-gradient(62% 56% at var(--lx) var(--ly), rgb(255 247 234 / 0.92), rgb(255 247 234 / 0) 72%),
    linear-gradient(168deg, var(--visuel-a), var(--visuel-b));
}

.visuel::before {
  background-image: var(--grain);
  background-size: 180px 180px;
  mask-image: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

/* Une lumière par image (les variables seules changent) */
[data-visuel="hero-maison"] {
  --visuel-a: #f6f2ea;
  --visuel-b: #b4ada3;
  --angle: 128deg;
  --coupe: 63%;
}

[data-visuel="maison-falaise"] {
  --visuel-a: #f0c8a4;
  --visuel-b: #5d6268;
}

[data-visuel="maison-dune"] {
  --visuel-a: #f1e3c7;
  --visuel-b: #a98f69;
  --angle: 104deg;
}

[data-visuel="maison-foret"] {
  --visuel-a: #cfd5c4;
  --visuel-b: #47523f;
  --angle: 132deg;
}

[data-visuel="maison-lac"] {
  --visuel-a: #dde6e8;
  --visuel-b: #56707c;
  --angle: 96deg;
  --coupe: 66%;
}

[data-visuel="matiere-beton"] {
  --visuel-a: #d6d2cb;
  --visuel-b: #7c7871;
}

[data-visuel="matiere-bois"] {
  --visuel-a: #dfb98d;
  --visuel-b: #74502f;
}

[data-visuel="matiere-verre"] {
  --visuel-a: #e3edef;
  --visuel-b: #6f8c97;
}

[data-visuel="matiere-pierre"] {
  --visuel-a: #d9d0c2;
  --visuel-b: #85796a;
}

[data-visuel="matiere-terre"] {
  --visuel-a: #e0b08a;
  --visuel-b: #8a5636;
}

/* Galerie et appel final (zones sombres) : la maison au crépuscule, vitres chaudes */
.galerie .visuel,
.terrain .visuel {
  --ombre: 0.58;
  --lx: 70%;
  --ly: 62%;
}

[data-visuel="galerie-patio"],
[data-visuel="galerie-chambre"] {
  --visuel-a: #f0d2ad;
  --visuel-b: #3a332c;
}

[data-visuel="galerie-escalier"] {
  --visuel-a: #ece6dc;
  --visuel-b: #2c2926;
  --angle: 140deg;
}

/* ---------- Premier écran : l'arc terre cuite, la grille de points, les cotes ---------- */
.ouverture {
  overflow: hidden;
}

.ouverture__titre {
  font-size: clamp(2.7rem, 1rem + 4.9vw, 6rem);
}

/* Les cotes, à gauche du haut de l'arche (comme « vision · précision » sur les affiches) */
.ouverture__cotes {
  position: absolute;
  top: 3%;
  right: calc(100% + 26px);
  display: grid;
  justify-items: end;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--texte-pale);
}

.arche {
  position: relative;
}

.arche__decor,
.terrain__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.arche__cadre {
  position: relative;
  box-shadow: 0 50px 80px -50px rgb(21 20 19 / 0.55);
}

.arc-terre {
  position: absolute;
  overflow: visible;
}

.arc-terre circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: butt;
  stroke-dasharray: 64 100;
  vector-effect: non-scaling-stroke;
}

.arche .arc-terre {
  top: -9%;
  right: -26%;
  width: 92%;
  rotate: -20deg;
}

.points {
  position: absolute;
  width: 34px;
  height: 58px;
  background: radial-gradient(circle, var(--accent) 1.6px, transparent 2.2px) 0 0 / 12px 12px;
}

.arche .points {
  left: -48px;
  bottom: 18%;
}

/* ---------- Quatre maisons : cartes plus hautes en contraste ---------- */
.maison {
  box-shadow: 0 30px 50px -36px rgb(21 20 19 / 0.6);
}

.maison__texte .maison__type {
  color: var(--orange-vif);
}

/* ---------- Plan, coupe, façade : la planche sur papier blanc ---------- */
.planche {
  box-shadow: 0 40px 70px -50px rgb(21 20 19 / 0.45);
}

/* ---------- Du croquis à la clé : six planches noires séparées par des filets ---------- */
.etapes .conteneur {
  position: relative;
}

.points--etapes {
  top: 6px;
  right: 0;
}

.planches {
  gap: 1px;
  border: 1px solid var(--filet-fort);
  background: var(--filet-fort);
}

.etapes .feuille {
  border: 0;
  background: var(--nuit);
  transition: background-color 0.4s ease;
}

.etapes .feuille::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleX(var(--trait, 0));
  transform-origin: left center;
  transition: transform 0.5s var(--ease-sortie);
}

.etapes .feuille:hover {
  background: var(--nuit-2);
}

.etapes .feuille:hover::before {
  transform: scaleX(1);
}

.etapes .feuille__numero {
  right: 0;
  bottom: 0;
  border: 0;
  border-top: 1px solid var(--filet-fort);
  border-left: 1px solid var(--filet-fort);
  color: var(--orange-vif);
}

/* ---------- Les matières : échantillons posés ---------- */
.echantillon .visuel {
  box-shadow: 0 24px 40px -30px rgb(21 20 19 / 0.55);
}

/* ---------- Bioclimatique ---------- */
.soleil {
  box-shadow: 0 40px 70px -50px rgb(21 20 19 / 0.45);
}

.soleil__disque {
  filter: drop-shadow(0 0 10px rgb(238 122 63 / 0.7));
}

/* ---------- Galerie (sombre) ---------- */
.galerie__vue .visuel {
  box-shadow: 0 40px 60px -40px rgb(0 0 0 / 0.8);
}

/* ---------- Honoraires : la mission complète en aplat noir ---------- */
.tableau__ligne--vedette {
  background: var(--nuit);
  color: #f1ede6;
}

.tableau__ligne--vedette th,
.tableau__ligne--vedette td {
  border-bottom-color: var(--nuit);
}

.tableau__ligne--vedette td {
  color: rgb(241 237 230 / 0.78);
}

.tableau__ligne--vedette td b {
  color: var(--orange-vif);
}

/* ---------- Appel final (sombre) : l'arc derrière l'image ---------- */
/* L'arc déborde de l'image, jamais de la page */
.terrain {
  overflow: clip;
}

.terrain__visuels {
  position: relative;
}

.terrain__decor .arc-terre {
  right: -12%;
  bottom: -22%;
  width: 70%;
  rotate: 150deg;
}

.terrain__decor .points {
  left: -6px;
  bottom: -40px;
}

.terrain__image {
  position: relative;
  box-shadow: 0 50px 80px -50px rgb(0 0 0 / 0.9);
}

/* ---------- Pied de page : béton clair, une lueur terre cuite ---------- */
.pied {
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(194 78 34 / 0.07), transparent 70%),
    var(--fond-2);
}

/* ============================================================================================
   PARTIE 4 — IMAGES RÉELLES ET PREMIER ÉCRAN « WAOUH » (chantier T50, 27/10/2026, soir)
   Consignes de l'utilisateur : réalisme, maisons futuristes spectaculaires, images accordées à la charte
   (béton blanc, noir, terre cuite, lumière dorée). L'arche devient grande : de sous la barre jusqu'au bord
   bas de l'écran, la villa dedans ; la légende passe en verre fumé dans l'arche. Les dessins restent dessous.
   ============================================================================================ */

/* L'image arrivée : le nom d'attente s'efface ; le dessin d'attente reste dessous */
.visuel:has(> img) .visuel__nom {
  display: none;
}

.visuel > img {
  transition: scale 1.2s var(--ease-sortie);
}

.maison:hover .visuel > img,
.galerie__vue:hover .visuel > img,
.echantillon:hover .visuel > img {
  scale: 1.05;
}

/* La lumière qui glisse (--lx, animée au défilement) passe maintenant au-dessus de la photo */
.visuel:has(> img)::before {
  z-index: 1;
  background:
    radial-gradient(60% 50% at var(--lx) var(--ly), rgb(255 236 210 / 0.22), transparent 70%);
  mask-image: none;
  opacity: 1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .ouverture {
    align-items: end;
    padding-bottom: 0 !important;
  }

  .ouverture__grille {
    align-items: end;
  }

  .ouverture__texte {
    align-self: center;
  }

  .ouverture__titre {
    font-size: clamp(2.6rem, 0.9rem + 4.3vw, 5.4rem);
  }

  .arche {
    justify-self: end;
    align-self: end;
    width: min(46vw, calc((100svh - var(--barre-hauteur) - 18px) * 0.8));
  }

  .arche .arc-terre {
    top: -4%;
    right: -10%;
    width: 84%;
  }

  .arche .points {
    left: -56px;
    bottom: 22%;
  }

  /* Les cotes, à gauche du haut de l'arche */
  .ouverture__cotes {
    top: 4%;
  }
}

/* La légende de l'arche : du verre fumé posé dans l'image */
.arche:has(.arche__image > img) .arche__legende {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 2;
  max-width: min(78%, 360px);
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgb(241 237 230 / 0.22);
  border-radius: 2px;
  background: rgb(21 20 19 / 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  color: rgb(241 237 230 / 0.82);
}

.arche:has(.arche__image > img) .arche__legende span {
  color: #fff;
}

.arche__image > img {
  object-position: 50% 40%;
}

/* Le manifeste en bande pleine largeur : la villa au coucher du soleil, sous un voile d'encre */
.manifeste {
  background:
    linear-gradient(90deg, rgb(21 20 19 / 0.9) 0%, rgb(21 20 19 / 0.66) 48%, rgb(21 20 19 / 0.38) 100%),
    url("../assets/images/manifeste-villa.webp") 78% 50% / cover no-repeat,
    var(--nuit);
}

/* Cohérence du design (consigne de l'utilisateur, 27/10/2026) : le menu, les images et les cartes ont des
   angles droits, donc les boutons aussi — la flèche reste sur sa pastille blanche, devenue un carré blanc. */
.bouton,
.bouton--petit,
.barre__menu,
.menu,
.visuel__nom,
.lien-evitement {
  border-radius: 2px;
}

.bouton__fleche {
  border-radius: 1px;
}

/* Les lignes de lumière des exemples futuristes (LED intégrées) : dans les zones sombres, le trait sous les
   titres et l'arc terre cuite luisent comme des bandes LED */
:is(.manifeste, .etapes, .galerie, .terrain) .titre-2::after {
  background: var(--orange-vif);
  box-shadow:
    0 0 10px rgb(238 122 63 / 0.85),
    0 0 26px rgb(238 122 63 / 0.45);
}

.arc-terre {
  filter: drop-shadow(0 0 6px rgb(238 122 63 / 0.55));
}

.terrain .arc-terre circle {
  stroke: var(--orange-vif);
}

/* L'appel final en bande pleine largeur : une maison à l'heure bleue, sous un voile d'encre (image déjà payée,
   reprise ici plutôt que perdue) */
.terrain {
  background:
    linear-gradient(90deg, rgb(21 20 19 / 0.92) 0%, rgb(21 20 19 / 0.72) 50%, rgb(21 20 19 / 0.5) 100%),
    url("../assets/images/terrain-soir.webp") 70% 50% / cover no-repeat,
    var(--nuit);
}

/* ---------- T53-HEROS : jetons de la nouvelle section héros et du film (T53, 02/11/2026) ----------
   la Maison Falaise en travertin blanc et verre noir, de nuit au-dessus de la mer, lumière or champagne aux fenêtres (famille B, monochrome sombre bleu nuit) ; l'or des fenêtres porte le titre en italique, la frise et le bouton. Couleurs de luxe (noir, or, ivoire), jamais de couleurs de désert (consigne de l'utilisateur). */
.heros,
.cine-produit {
  --h-bord: #05080e;
  --h-fond: #0b1520;
  --h-fond-2: #13212f;
  --h-texte: #f3eee4;
  --h-texte-doux: rgba(243, 238, 228, 0.8);
  --h-texte-pale: rgba(243, 238, 228, 0.56);
  --h-vif: #e6b482;
  --h-verre: rgba(230, 180, 130, 0.08);
  --h-verre-fort: rgba(230, 180, 130, 0.14);
  --h-verre-filet: rgba(230, 180, 130, 0.26);
  --h-verre-filet-fort: rgba(230, 180, 130, 0.55);
  --h-carte-a: rgba(230, 180, 130, 0.12);
  --h-carte-b: rgba(230, 180, 130, 0.04);
  --h-lueur: 230 180 130;
  --h-ombre: 5 8 14;
  --h-mot-haut: rgba(230, 180, 130, 0.2);
  --h-mot-bas: rgba(230, 180, 130, 0.03);
  --h-piste: rgba(243, 238, 228, 0.16);
  --h-rayon: 0px;
  --h-action: #e6b482;
  --h-encre-action: #1a1208;
  color-scheme: dark;
}
/* ---------- T53-HEROS : nouvelle section héros et film produit (modèle générique tiré d'airsbot, 02/11/2026) ----------
   Toutes les couleurs viennent des jetons --h-* posés juste au-dessus (rampe de la teinte de l'objet). */
.heros,
.cine-produit {
  background: var(--h-bord);
  color: var(--h-texte);
}

/* Replis : les noms du socle commun, sinon des valeurs sûres ; :where() = aucune priorité, la fiche du site l'emporte */
:where(.heros, .cine-produit) {
  --h-gouttiere: var(--gouttiere, clamp(20px, 4.2vw, 64px));
  --h-barre: var(--barre-hauteur, 72px);
  --h-police-titre: var(--f-titre, inherit);
  --h-police-texte: var(--f-texte, inherit);
  --h-police-mono: var(--f-mono, ui-monospace, monospace);
  --h-ease: var(--ease-sortie, cubic-bezier(0.22, 1, 0.36, 1));
  --h-action: var(--accent, #1554f0);
  --h-encre-action: var(--encre-accent, #ffffff);
  font-family: var(--h-police-texte);
}

/* Boutons de la section, indépendants du socle du site (règle de l'utilisateur : icône à gauche, flèche sur
   pastille blanche à droite) */
.heros .bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--h-police-texte);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.heros .bouton__icone {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heros .bouton--principal {
  padding-right: 5px;
  background: var(--h-action);
  color: var(--h-encre-action);
}

.heros .bouton__fleche {
  box-sizing: content-box;
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  color: #141414;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heros .bouton__fleche path {
  transition: transform 0.25s var(--h-ease);
}

.heros .bouton--principal:hover .bouton__fleche path {
  transform: translateX(2px);
}

.heros {
  padding: 10px;
}

.heros__cadre {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 20px);
  border-radius: var(--h-rayon);
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 70% 30%, var(--h-fond-2) 0%, var(--h-fond) 46%, var(--h-bord) 100%);
}

/* La scène : la photo occupe la droite et s'efface vers la gauche dans le fond (même rouge) */
.heros__scene {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 78%;
  container-type: size;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}

/* Le plan garde les proportions de la photo (1920 × 1072) et la couvre : les couches s'y superposent au pixel */
.heros__plan {
  /* Centré par calcul (pas par « translate », que GSAP réécrit quand il anime la profondeur) */
  --plan-l: max(100cqw, calc(var(--ratio-plan, 1.791) * 100cqh));
  position: absolute;
  top: calc(50% - var(--plan-l) / var(--ratio-plan, 1.791) * (0.5 - var(--decal, 0)));
  left: calc(50% - var(--plan-l) * (0.5 + var(--decal-x, 0)));
  width: var(--plan-l);
  aspect-ratio: var(--ratio-plan, 1.791);
  container-type: inline-size;
}

.heros__plan-entree,
.heros__fond,
.heros__objet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.heros__fond,
.heros__objet {
  object-fit: cover;
}

/* Le halo derrière l'appareil respire lentement */
.heros__halo {
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--h-lueur) / 0.34) 0%, rgb(var(--h-lueur) / 0.12) 42%, transparent 68%);
  mix-blend-mode: var(--h-melange, screen);
  pointer-events: none;
}

/* Le mot géant passe derrière l'appareil (entre la photo et l'appareil détouré) */
.heros__mot {
  position: absolute;
  font-family: var(--h-police-titre);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.heros__mot > span {
  display: block;
  background: linear-gradient(180deg, var(--h-mot-haut) 0%, var(--h-mot-bas) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Une lueur sur un détail de l'objet (sa lumière colore le design, règle R-H5) : position donnée par la fiche */
.heros__lueur {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgb(var(--h-lueur) / 0.55) 0%, rgb(var(--h-lueur) / 0.18) 45%, transparent 70%);
  mix-blend-mode: var(--h-melange, screen);
  pointer-events: none;
}

/* Légende reliée à la turbine par un filet */
.heros__legende {
  position: absolute;
  height: 13%;
  border-left: 1px solid var(--h-verre-filet);
  pointer-events: none;
}

.heros__legende::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--h-vif);
  box-shadow: 0 0 0 4px rgb(var(--h-lueur) / 0.22);
}

.heros__legende-texte {
  position: absolute;
  right: 12px;
  bottom: 0;
  font-family: var(--h-police-mono);
  font-size: 0.72rem;
  text-align: right;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--h-texte-doux);
}

/* Le texte, à gauche, sur la partie calme de la photo */
.heros__contenu {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: calc(var(--h-barre) + 2vh) var(--h-gouttiere) clamp(76px, 12vh, 140px);
}

.heros__surtitre {
  margin: 0 0 18px;
  font-family: var(--h-police-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h-vif);
}

.heros__titre {
  margin: 0;
  font-family: var(--h-police-titre);
  font-size: min(clamp(2.2rem, 1rem + 2.6vw, 4.3rem), 7.6svh);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--h-texte);
  text-wrap: balance;
}

.heros__titre em {
  font-style: normal;
  color: var(--h-vif);
}

.heros__chapeau {
  max-width: 46ch;
  margin: 16px 0 0;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.12rem);
  line-height: 1.55;
  color: var(--h-texte-doux);
}

.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.heros .bouton--principal {
  box-shadow:
    0 0 0 1px rgb(var(--h-lueur) / 0.35),
    0 16px 40px -14px rgb(var(--h-lueur) / 0.6);
}

/* Bouton de verre teinté (secondaire sur fond sombre) : réponse immédiate à l'appui */
.bouton--verre {
  border-color: var(--h-verre-filet);
  background: var(--h-verre);
  color: var(--h-texte);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.bouton--verre:hover {
  border-color: var(--h-verre-filet-fort);
  background: var(--h-verre-fort);
}

.heros .bouton {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.16s var(--h-ease);
}

.heros .bouton:active,
.btn:active {
  transform: scale(0.97);
}

/* Trois cartes de verre rouge, en bas à droite (règle R-H9) */
.heros__cartes {
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 2;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heros__carte {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: clamp(180px, 15vw, 222px);
  padding: 14px 16px;
  border: 1px solid var(--h-verre-filet);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--h-carte-a), var(--h-carte-b));
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--h-texte-pale);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.heros__carte:hover {
  border-color: var(--h-verre-filet-fort);
}

.heros__carte strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--h-texte);
}

.heros__icone {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--h-vif);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mention latérale en capitales très espacées (détail de seconde lecture) */
.heros__meta {
  position: absolute;
  top: 50%;
  right: clamp(12px, 1.4vw, 22px);
  z-index: 2;
  margin: 0;
  font-family: var(--h-police-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--h-texte-pale);
  writing-mode: vertical-rl;
  translate: 0 -50%;
}

/* Indicateur de défilement */
.heros__defiler {
  position: absolute;
  bottom: clamp(18px, 2.4vw, 30px);
  left: var(--h-gouttiere);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.heros__souris {
  position: relative;
  width: 20px;
  height: 31px;
  border: 1.5px solid var(--h-texte-pale);
  border-radius: 11px;
}

.heros__souris::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--h-vif);
  translate: -50% 0;
}

/* ---------- 0 bis. Nouvelle section cinématographique (T53) : le film du Faucon, joué par la molette ----------
   Même cadre que le héros (bords rouge noir, cadre arrondi, verre rouge, chiffres en mono rose). */
.cine-produit__piste {
  height: 300vh;
}

.cine-produit__scene {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 10px;
}

.cine-produit__cadre {
  position: relative;
  height: 100%;
  border-radius: var(--h-rayon);
  overflow: clip;
  isolation: isolate;
  background: var(--h-fond);
}

/* La caméra avance très légèrement pendant que le film se déroule */
.cine-produit__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.06 - 0.06 * var(--p, 0)));
}

.cine-produit__voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(var(--h-ombre) / 0.86) 0%, rgb(var(--h-ombre) / 0.45) 34%, transparent 58%),
    linear-gradient(0deg, rgb(var(--h-ombre) / 0.7) 0%, transparent 34%);
  pointer-events: none;
}

.cine-produit__tete {
  position: absolute;
  top: calc(var(--h-barre) + 3vh);
  left: var(--h-gouttiere);
  max-width: 30rem;
}

.cine-produit__titre {
  margin: 0;
  font-family: var(--h-police-titre);
  font-size: min(clamp(1.9rem, 1rem + 1.9vw, 3.4rem), 7svh);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--h-texte);
  text-wrap: balance;
}

.cine-produit__titre em {
  font-style: normal;
  color: var(--h-vif);
}

/* Les trois étapes : celle qui correspond à l'image s'allume */
.cine-produit__etapes {
  position: absolute;
  bottom: clamp(72px, 12vh, 104px);
  left: var(--h-gouttiere);
  display: grid;
  gap: 8px;
  width: min(23rem, 40%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cine-produit__etapes li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--h-texte-pale);
  opacity: 0.42;
  transition:
    opacity 0.35s var(--h-ease),
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.cine-produit__etapes li.est-active {
  border-color: var(--h-verre-filet);
  background: var(--h-verre);
  opacity: 1;
}

.cine-produit__etapes strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--h-texte);
}

.cine-produit__num {
  font-family: var(--h-police-mono);
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--h-vif);
}

/* Compteur et barre de progression du film */
.cine-produit__compteur {
  position: absolute;
  right: var(--h-gouttiere);
  bottom: clamp(22px, 3.4vh, 34px);
  left: var(--h-gouttiere);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--h-police-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--h-texte-doux);
}

.cine-produit__barre {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--h-piste);
  overflow: hidden;
}

.cine-produit__barre > span {
  position: absolute;
  inset: 0;
  background: var(--h-vif);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}


/* ---------- Passe des skills sur toute la page (T53, 02/11/2026 — apple-design, emil-design-eng) ----------
   Réponse immédiate à l'appui (échelle 0,97 en 160 ms, interruptible), titres équilibrés, chiffres de même
   largeur dans les compteurs, focus visible partout, cartes qui s'éclairent au survol sans bouger la mise en page. */
.bouton {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.16s var(--h-ease);
}

.bouton:active,
.btn:active {
  transform: scale(0.97);
}

.titre-1,
.titre-2,
.titre-3 {
  text-wrap: balance;
}

[data-compteur],
.jauge__texte b,
.cine__heure {
  font-variant-numeric: tabular-nums;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent, currentColor);
  outline-offset: 3px;
}

@media (hover: hover) {
  .vignette,
  [data-revele-carte] {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
  }

  [data-revele-carte]:hover {
    box-shadow: 0 18px 40px -26px rgba(20, 21, 24, 0.45);
  }
}

/* ---------- T53-HEROS, disposition « revue d'architecture » (architectzone, 02/11/2026) ----------
   Une double page de revue : à gauche un panneau nuit avec le titre en serif et italique, le texte, les boutons et
   la frise des quatre étapes ; à droite la photo seule, libre, sur toute la hauteur. Le film inverse la page :
   la vidéo à gauche, le texte et une frise verticale à droite. Aucun texte posé sur une image. */
.heros--editorial {
  padding: 0;
}

.heros--editorial .heros__cadre {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: stretch;
  min-height: 100svh;
  border-radius: 0;
  background: var(--h-fond);
}

.heros--editorial .heros__contenu {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: calc(var(--h-barre) + 3vh) clamp(24px, 3.6vw, 64px) clamp(110px, 18vh, 150px) var(--h-gouttiere);
  background: linear-gradient(180deg, var(--h-fond-2) 0%, var(--h-fond) 100%);
}

.heros--editorial .heros__titre {
  font-size: min(clamp(2.1rem, 1rem + 2.4vw, 4.2rem), 6.4svh);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.heros--editorial .heros__titre em {
  font-style: italic;
  font-weight: 400;
}

.heros--editorial .heros__chapeau {
  max-width: 44ch;
}

/* La photo : toute la moitié droite, libre */
.heros--editorial .heros__scene {
  position: relative;
  inset: auto;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  overflow: clip;
  -webkit-mask-image: none;
  mask-image: none;
}

.heros--editorial .heros__plan {
  --decal: 0;
}

.heros--editorial .heros__mot,
.heros--editorial .heros__legende {
  display: none;
}

/* La frise des étapes, au pied du panneau */
.heros__frise {
  position: absolute;
  right: clamp(24px, 3.6vw, 64px);
  bottom: clamp(22px, 4vh, 40px);
  left: var(--h-gouttiere);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heros__frise li {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--h-verre-filet);
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--h-texte-doux);
}

.heros__frise li::before {
  content: "";
  display: block;
  height: 1px;
  margin-top: -13px;
  background: var(--h-vif);
  transform: scaleX(0);
  transform-origin: left center;
}

.heros__frise b {
  font-family: var(--h-police-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--h-vif);
}

@keyframes frise-trait {
  to {
    transform: scaleX(1);
  }
}

[data-motion="full"] .heros__frise li::before {
  animation: frise-trait 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(1.3s + var(--i, 0) * 0.18s) forwards;
}

html.a-intro .heros__frise li::before {
  animation-play-state: paused;
}

/* Le film : page inversée, la vidéo à gauche, le texte et une frise verticale à droite */
.cine-produit--editorial .cine-produit__scene {
  padding: 0;
}

.cine-produit--editorial .cine-produit__cadre {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(24px, 3.4vw, 56px);
  padding: calc(var(--h-barre) + 2vh) var(--h-gouttiere) clamp(18px, 3vh, 30px) 0;
  border-radius: 0;
  background: var(--h-fond);
}

.cine-produit--editorial .cine-produit__video {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.cine-produit--editorial .cine-produit__voile {
  display: none;
}

.cine-produit--editorial .cine-produit__tete,
.cine-produit--editorial .cine-produit__etapes,
.cine-produit--editorial .cine-produit__compteur {
  position: static;
  grid-column: 2;
  width: auto;
  max-width: none;
}

.cine-produit--editorial .cine-produit__tete {
  grid-row: 1;
}

.cine-produit--editorial .cine-produit__titre {
  font-size: min(clamp(1.7rem, 1rem + 1.5vw, 3rem), 5.6svh);
  font-weight: 500;
}

.cine-produit--editorial .cine-produit__titre em {
  font-style: italic;
  font-weight: 400;
}

.cine-produit--editorial .cine-produit__etapes {
  grid-row: 3;
  align-self: center;
  gap: 0;
  padding-left: 18px;
  border-left: 1px solid var(--h-verre-filet);
}

.cine-produit--editorial .cine-produit__etapes li {
  position: relative;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
}

.cine-produit--editorial .cine-produit__etapes li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--h-fond);
  box-shadow: inset 0 0 0 1px var(--h-verre-filet-fort);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.cine-produit--editorial .cine-produit__etapes li.est-active {
  background: none;
}

.cine-produit--editorial .cine-produit__etapes li.est-active::before {
  background: var(--h-vif);
  box-shadow: 0 0 0 4px rgb(var(--h-lueur) / 0.2);
}

.cine-produit--editorial .cine-produit__compteur {
  grid-row: 4;
}

@media (max-width: 760px) {
  .heros--editorial .heros__cadre,
  .cine-produit--editorial .cine-produit__cadre {
    display: flex;
    flex-direction: column;
  }

  .heros--editorial .heros__contenu {
    padding: calc(var(--h-barre) + 20px) 20px 20px;
  }

  .heros--editorial .heros__scene {
    order: 2;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .heros__frise {
    position: static;
    order: 3;
    grid-template-columns: 1fr 1fr;
    padding: 18px 20px 22px;
  }

  .cine-produit--editorial .cine-produit__cadre {
    justify-content: center;
    gap: 16px;
    padding: calc(var(--h-barre) + 10px) 16px 20px;
  }

  .cine-produit--editorial .cine-produit__video {
    order: 1;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .cine-produit--editorial .cine-produit__etapes {
    order: 2;
  }

  .cine-produit--editorial .cine-produit__compteur {
    order: 3;
  }
}

/* T53 : réglages propres au site */
/* Une seule forme de bouton sur tout le site : rectangle aux angles adoucis (6 px), or champagne de la lumière
   des fenêtres, texte noir ; pas de pilule */
.bouton {
  border-radius: 6px;
}

.bouton__fleche {
  border-radius: 4px;
}

.bouton--principal {
  background: #e6b482;
  color: #1a1208;
  box-shadow: 0 14px 30px -18px rgb(230 180 130 / 0.8);
}

.heros .bouton--verre {
  border-color: rgb(230 180 130 / 0.55);
  background: transparent;
}

/* Menu : une boîte rectangulaire nuit à liseré or (ni pilule, ni barre pleine largeur) */
.barre {
  --fond: #0b1520;
  --texte: #f3eee4;
  --texte-doux: rgb(243 238 228 / 0.8);
  --texte-pale: rgb(243 238 228 / 0.6);
  --filet: rgb(230 180 130 / 0.5);
  --accent: #e6b482;
}

.barre__inner {
  border-radius: 0;
  border-color: rgb(230 180 130 / 0.5);
}

/* La maison est dans la moitié droite de la photo : le plan glisse pour la montrer entière */
.heros--editorial .heros__plan {
  --decal-x: 0.14;
}

/* La boîte du menu : fond nuit explicite (le fond du socle restait clair) */
.barre__inner {
  background: rgb(11 21 32 / 0.88);
}

/* ---------- T53 architectzone : une seule courbe partout (consigne de l'utilisateur, 02/11/2026) ----------
   L'arrondi des boutons (6 px) se retrouve sur la photo du héros, sur la vidéo du film et sur l'icône du logo ;
   le slogan du logo prend l'or champagne des boutons. */
.heros--editorial .heros__scene {
  height: auto;
  margin: calc(var(--barre-hauteur, 72px) + 10px) 10px 10px 0;
  border-radius: 6px;
}

.cine-produit--editorial .cine-produit__video {
  border-radius: 6px;
}

.marque__icone {
  overflow: hidden;
  border-radius: 6px;
  background: #efe6d6;
}

.az-disque {
  fill: transparent;
}

.barre .marque__slogan {
  color: #e6b482;
}

/* Les boutons du héros prennent aussi la forme du site (6 px) : la règle du modèle « .heros .bouton » (pilule) est
   plus précise que « .bouton », d'où cette reprise */
.heros .bouton {
  border-radius: 6px;
}

.heros .bouton__fleche {
  border-radius: 4px;
}

/* L'icône du logo dans le menu : fond bleu nuit et liseré or, pour que ses traits ivoire et or se voient */
.barre .marque__icone {
  background: #13212f;
  box-shadow: inset 0 0 0 1px rgb(230 180 130 / 0.55);
}

/* Le film de visite dure 15,7 s (aller puis retour) : piste de défilement plus longue */
.cine-produit--editorial .cine-produit__piste {
  height: 460vh;
}

/* ---------- T54 — corrections de l'utilisateur (02/11/2026) ----------
   2.1 Le héros : une grande villa avec piscine, à l'heure bleue, couvre toute la section (ciel nuit, lumière or
       champagne aux fenêtres, piscine turquoise : la couleur de l'objet reste celle du site) ; le texte et la frise
       restent à gauche, sur un voile nuit qui s'efface vers la maison. */
.heros--editorial .heros__cadre {
  grid-template-columns: minmax(0, 1fr);
}

.heros--editorial .heros__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.heros--editorial .heros__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(5 8 14 / 0.84) 0%, rgb(5 8 14 / 0.6) 30%, rgb(5 8 14 / 0.12) 56%, transparent 70%),
    linear-gradient(0deg, rgb(5 8 14 / 0.55) 0%, transparent 28%);
  pointer-events: none;
}

.heros--editorial .heros__plan {
  --decal-x: 0;
}

.heros--editorial .heros__halo {
  display: none;
}

.heros--editorial .heros__contenu {
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: min(44rem, 52%);
  background: none;
}

/* 2.2 Plus de bandeau noir entre le héros et les films : la marge des sections film disparaît */
main > .cine-produit {
  padding-block: 0;
}

/* 2.3 La visite de la Maison Jardin : la vidéo entière (jamais recadrée), ses bords fondus dans la même image
   floutée ; titre en haut à gauche, quatre étapes en ligne en bas, comme un plan de visite */
.cine-produit--villa .cine-produit__piste {
  height: 620vh;
}

.cine-produit--villa .cine-produit__cadre {
  border-radius: 0;
  background: var(--h-bord);
}

.cine-produit--villa .cine-produit__cadre::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -3;
  background: url("../assets/images/cine-villa-attente.webp") center / 100% 100% no-repeat;
  filter: blur(40px) brightness(0.55);
}

.cine-produit--villa .cine-produit__video {
  transform: none;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 4%, #000 9%, #000 91%, rgb(0 0 0 / 0.55) 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-size: min(100%, 177.78svh) 100%, 100% min(100%, 56.25vw);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 4%, #000 9%, #000 91%, rgb(0 0 0 / 0.55) 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-size: min(100%, 177.78svh) 100%, 100% min(100%, 56.25vw);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: intersect;
}

.cine-produit--villa .cine-produit__voile {
  background:
    radial-gradient(58% 56% at 0% 0%, rgb(var(--h-ombre) / 0.9) 0%, rgb(var(--h-ombre) / 0.55) 45%, transparent 75%),
    linear-gradient(0deg, rgb(var(--h-ombre) / 0.85) 0%, rgb(var(--h-ombre) / 0.45) 20%, transparent 38%);
}

.cine-produit--villa .cine-produit__titre {
  font-weight: 500;
}

.cine-produit--villa .cine-produit__titre em {
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 761px) {
  .cine-produit--villa .cine-produit__etapes {
    right: var(--h-gouttiere);
    bottom: clamp(58px, 10vh, 84px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
  }

  .cine-produit--villa .cine-produit__etapes li {
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
  }
}

/* 2.4 « Architecte de maisons contemporaines hors du commun » : une villa claire couvre toute la section, alignée
   à droite ; un voile ivoire garde la gauche lisible. L'arche (image sombre) est masquée, son code est gardé. */
.ouverture {
  position: relative;
  isolation: isolate;
}

.ouverture__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.ouverture__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.ouverture__fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fond) 0%, color-mix(in srgb, var(--fond) 82%, transparent) 30%, color-mix(in srgb, var(--fond) 30%, transparent) 50%, transparent 64%);
}

.ouverture .arche {
  display: none;
}

/* 2.5 Le manifeste « I, II, III » : la photo de nuit qui était à droite du héros, nette, sous un voile d'encre */
.manifeste {
  background:
    linear-gradient(90deg, rgb(21 20 19 / 0.9) 0%, rgb(21 20 19 / 0.66) 46%, rgb(21 20 19 / 0.3) 100%),
    url("../assets/images/heros-maison-aerien-t53.webp") 70% 50% / cover no-repeat,
    var(--nuit);
}

/* 2.10 Le menu réduit au logo : du haut de la page jusqu'à « Architecte de maisons contemporaines… », il ne reste
   que le logo complet (icône animée, nom, slogan), centré dans son cadre nuit au trait doré ; à cette section, le
   cadre s'élargit et le menu et le bouton apparaissent, jusqu'en bas (attribut data-compact posé par js/scroll.js).
   Largeur du cadre réduit : logo (≈ 212 px) + marges internes (14 et 22 px) + filet. */
.barre__inner {
  transition:
    max-width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    padding 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.barre__nav,
.barre__actions {
  max-width: 900px;
  overflow: hidden;
  transition:
    max-width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease 0.25s,
    visibility 0s linear 0s;
}

.barre[data-compact] .barre__inner {
  justify-content: center;
  gap: 0;
  max-width: 250px;
  padding: 6px 22px 6px 14px;
}

.barre[data-compact] .barre__nav,
.barre[data-compact] .barre__actions {
  flex: 0 0 0;
  max-width: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.2s ease,
    visibility 0s linear 0.7s;
}

/* 2.12 et 2.13 : plus de boutons dans le héros ; le texte descend un peu, le logo aussi (plus d'air en haut) */
.barre {
  padding-top: 24px;
}

.heros--editorial .heros__contenu {
  justify-content: flex-start;
  padding-top: calc(var(--h-barre) + 15vh);
}

.heros--editorial .heros__chapeau {
  margin-top: 22px;
}

/* 2.15 Le cadre du logo réduit respire : 12 px au-dessus et au-dessous de l'icône, 16 px à gauche, 26 px à droite
   (largeur : logo 212 px + 16 + 26 + filet) */
.barre[data-compact] .barre__inner {
  max-width: 258px;
  padding: 12px 26px 12px 16px;
}

/* 2.14 La visite allongée (≈ 39 s : jardin, séjour, suite, cuisine, terrasse, ciel) : la piste s'allonge, cinq étapes */
.cine-produit--villa .cine-produit__piste {
  height: 1000vh;
}

@media (min-width: 761px) {
  .cine-produit--villa .cine-produit__etapes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 2.16 Les cartes des étapes : le numéro au-dessus du texte, des cartes plus étroites — six sur la même ligne */
@media (min-width: 761px) {
  .cine-produit--villa .cine-produit__etapes {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .cine-produit--villa .cine-produit__etapes li {
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
  }

  .cine-produit--villa .cine-produit__num {
    line-height: 1.4;
  }

  .cine-produit--villa .cine-produit__etapes strong {
    font-size: 0.9rem;
  }
}

/* 2.17 La même marge des quatre côtés du logo (≈ 18 px, filet compris) : logo 212 px + 2 × 16 + filet */
.barre[data-compact] .barre__inner {
  max-width: 248px;
  padding: 18px 16px 17px 16px;
}

/* Menu réduit : le menu et le bouton masqués ne comptent plus dans la hauteur du cadre (marges égales autour du logo) */
.barre[data-compact] .barre__nav,
.barre[data-compact] .barre__actions {
  max-height: 0;
}

/* 2.18 Le cadre réduit suit la largeur réelle du logo (--largeur-logo, mesurée par js/scroll.js) : les marges
   restent égales même quand le navigateur grossit les petits textes (taille minimale de police)
   2.19 Le cadre du logo et le menu déployé ont le même arrondi que l'icône du logo (6 px) */
.barre[data-compact] .barre__inner {
  max-width: calc(var(--largeur-logo, 212px) + 34px);
}

.barre__inner {
  border-radius: 6px;
}

/* 2.20 Pendant la visite de la Maison Falaise, le logo réduit glisse au-dessus de la colonne de textes (décalage
   --decale-logo mesuré par js/scroll.js) ; il revient au centre ou se déploie ensuite */
.barre__inner {
  transition:
    max-width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    padding 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    translate 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.barre[data-compact][data-sur-falaise] .barre__inner {
  translate: var(--decale-logo, 0px) 0;
}

@media (max-width: 760px) {
  .barre[data-compact][data-sur-falaise] .barre__inner {
    translate: none;
  }
}

/* 2.20 (suite) : la colonne de textes de la visite Falaise descend pour laisser une marge sous le logo qui s'y
   aligne (le cadre du logo finit à ≈ 100 px du haut ; les textes commencent ≈ 26 px plus bas) */
@media (min-width: 761px) {
  .cine-produit--editorial .cine-produit__tete {
    margin-top: 44px;
  }
}

/* =====================================================================================================================
   T54-FIN — nouvelle méthode cinématographique (04/11/2026, NOUVELLE-METHODE-CINEMATOGRAPHIQUE/)
   ===================================================================================================================== */

/* Deux films : moteur fluide (vidéo lue en avant), arrêts data-cp-marges="0.3 1" (le film démarre une fois la scène
   installée et finit avant qu'elle ne reparte) — piste réglée film par film (≈ 32 vh par seconde, arrêts et passages
   ralentis compris) : la villa (39 s, la suite ralentie) et la maison de la falaise (15,7 s, l'escalier ralenti) */
#film-villa.cine-produit[data-cine-produit] .cine-produit__piste {
  height: 1360vh;
}

#film-produit.cine-produit[data-cine-produit] .cine-produit__piste {
  height: 800vh;
}
