@charset "utf-8";

/* ==========================================================================
   Schneider Rénovation — entreprise générale du bâtiment (Grenoble, Isère)
   Direction : le repère d'établi. Un menuisier qui découpe des pièces avant
   assemblage les numérote au ciseau pour les reconnaître au remontage — des
   entailles en tas ("I", "II", "III", "IIII"...), jamais de chiffres romains
   soustractifs, imprécis à tailler et à relire à l'envers. Cette numérotation
   sert de fil rouge structurel (prestations, étapes) : pas un "01/02/03" par
   défaut, un geste réel du métier.
   Couleur de marque : le bleu du cordeau à tracer, l'outil commun à tous les
   corps d'état représentés ici (le fil que l'on claque pour une ligne droite,
   maçon comme menuisier). Le bois n'apparaît qu'en micro-accent, réservé au
   volet menuiserie sur mesure — le fond reste celui d'un enduit de chantier.
   Rampes calculées en OKLCH avec palette.mjs, jamais à l'œil.
   ========================================================================== */

/* --- Polices auto-hébergées : zéro origine tierce, donc zéro bandeau ------ */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('../fonts/bigshouldersdisplay-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: 'Public Sans';
  src: url('../fonts/publicsans-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* --- Repères d'établi : numérotation additive, jamais soustractive -------- */

@counter-style etabli {
  system: fixed;
  symbols: 'I' 'II' 'III' 'IIII' 'IIIII' 'IIIIII';
  suffix: '';
}

/* --- Palier 1 : valeurs littérales issues de palette.mjs ------------------ */

:root {
  /* L'enduit : gris chantier chaud, teinte OKLCH 74°, chroma 0.023 */
  --enduit-050: #f7f5f3;
  --enduit-100: #edeae6;
  --enduit-200: #dbd6cf;
  --enduit-300: #c4bcb2;
  --enduit-400: #aba295;
  --enduit-500: #948a7d;
  --enduit-600: #7b7265;
  --enduit-700: #61594f;
  --enduit-800: #49433b;
  --enduit-900: #312d28;
  --enduit-950: #1d1b17;

  /* Le cordeau : bleu du fil à tracer, teinte OKLCH 263°, chroma 0.112 */
  --cordeau-050: #f1f6ff;
  --cordeau-100: #e1ebff;
  --cordeau-200: #c5d7fb;
  --cordeau-300: #a3bef3;
  --cordeau-400: #82a3e4;
  --cordeau-500: #688ad0;
  --cordeau-600: #5371b2;
  --cordeau-700: #3f5990;
  --cordeau-800: #2f436b;
  --cordeau-900: #202d49;
  --cordeau-950: #121b2d;

  /* La sciure : bois, teinte OKLCH 69°, chroma 0.107 — micro-accent menuiserie */
  --sciure-100: #f8e8d6;
  --sciure-300: #deb588;
  --sciure-500: #b57f3c;
  --sciure-600: #996726;
  --sciure-700: #7b5118;
  --sciure-800: #5c3c13;

  /* --- Palier 2 : les rôles. C'est ce que le reste du CSS utilise. ------- */

  --fond: var(--enduit-050);
  --fond-surface: #ffffff;
  --fond-profond: var(--enduit-950);

  --texte: var(--enduit-950);         /* 15,81:1 sur le fond */
  --texte-doux: var(--enduit-700);    /*  6,33:1 */
  --texte-tenu: var(--enduit-800);    /*  8,98:1 */

  --accent: var(--cordeau-600);       /* grand texte / tracés — 4,42:1 */
  --accent-vif: var(--cordeau-500);   /* éléments graphiques seulement — 3,15:1 */
  --accent-texte: var(--cordeau-700); /* texte courant — 6,35:1 */
  --accent-doux: var(--cordeau-100);

  --bois: var(--sciure-600);          /* graphique seulement, menuiserie */
  --bois-texte: var(--sciure-700);    /* texte courant, menuiserie — 6,37:1 */
  --bois-doux: var(--sciure-100);

  --filet: var(--enduit-200);
  --filet-fort: var(--enduit-300);

  --police-titre: 'Big Shoulders Display', 'Arial Narrow', Arial, sans-serif;
  --police-texte: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --police-technique: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;

  --largeur-lecture: 68ch;
  --largeur-page: 76rem;

  --joint-fin: 0.1875rem;
  --gouttiere: clamp(1rem, 2.5vw, 1.75rem);
  --respiration: clamp(3.25rem, 7vw, 6rem);

  --rayon: 4px;
  color-scheme: light;
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 5rem;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size-adjust: from-font;
  text-wrap: pretty;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-texte);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--sciure-700);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--police-titre);
  color: var(--texte);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 1.3rem + 5.2vw, 4.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.45rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.1em;
  max-width: var(--largeur-lecture);
}

ul {
  padding-inline-start: 1.15em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.evitement {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--texte);
  color: var(--enduit-050);
  transform: translateY(-120%);
}

.evitement:focus {
  transform: translateY(0);
}

/* --- Trame de page ------------------------------------------------------- */

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

.section {
  padding-block: var(--respiration);
  border-block-start: var(--joint-fin) solid var(--filet);
}

.section:first-of-type {
  border-block-start: 0;
}

.section > .enveloppe > h2 {
  margin-block-end: 0.35em;
}

.etiquette {
  display: block;
  font-family: var(--police-technique);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-texte);
  margin-block-end: 1.1rem;
}

.chapeau {
  font-size: 1.12em;
  color: var(--texte-doux);
  max-width: 58ch;
}

/* --- En-tête -------------------------------------------------------------- */

.entete {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--fond) 92%, transparent);
  backdrop-filter: blur(8px);
  border-block-end: var(--joint-fin) solid var(--filet);
}

.entete__bloc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--texte);
  text-decoration: none;
}

.marque__logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex: none;
}

.marque__texte {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.marque__metier {
  font-family: var(--police-technique);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  color: var(--texte-doux);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-texte);
  text-decoration: underline;
}

.entete .bouton {
  display: none;
}

@media (min-width: 62rem) {
  .nav {
    display: flex;
  }

  .entete .bouton {
    display: inline-flex;
  }
}

/* --- Boutons -------------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--accent-texte);
  border-radius: var(--rayon);
  background: var(--accent-texte);
  color: #fff;
  font-family: var(--police-technique);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.bouton:hover {
  background: var(--cordeau-900);
  border-color: var(--cordeau-900);
  transform: translateY(-1px);
}

.bouton--fantome {
  background: transparent;
  color: var(--accent-texte);
}

.bouton--fantome:hover {
  background: var(--accent-doux);
  border-color: var(--accent-texte);
  color: var(--cordeau-900);
}

.bouton--compact {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

/* --- Héros : la ligne de cordeau ------------------------------------------- */

.heros {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5.5rem) 0;
}

.heros__texte {
  position: relative;
  z-index: 2;
}

.heros h1 {
  hyphens: none;
}

.heros h1 .accent {
  color: var(--accent-texte);
}

.heros__chapeau {
  max-width: 50ch;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--texte-doux);
  margin-block-start: 1.4rem;
}

.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block-start: 2rem;
}

.heros__reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--police-technique);
  font-size: 0.85rem;
  color: var(--texte-doux);
}

.heros__reperes li::before {
  content: '▪';
  color: var(--accent);
  margin-inline-end: 0.5rem;
}

/* Le cordeau : une diagonale claquée sur le fond, comme un fil de maçon
   tendu entre deux piquets — le seul geste graphique du héros. */
.heros__cordeau {
  position: relative;
  height: clamp(120px, 18vw, 200px);
  margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.heros__cordeau::before {
  content: '';
  position: absolute;
  inset-inline-start: -5%;
  inset-block-start: 30%;
  width: 130%;
  height: 3px;
  background: var(--accent-vif);
  transform: rotate(-3deg);
  transform-origin: 0 0;
  box-shadow: 0 22px 0 -1px var(--filet-fort), 0 -26px 0 -1px var(--filet-fort);
}

.heros__cordeau::after {
  content: '';
  position: absolute;
  inset-inline-start: 6%;
  inset-block-start: 22%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sciure-600);
  box-shadow: 78vw 34px 0 0 var(--sciure-600);
}

/* --- Repères de confiance ------------------------------------------------- */

.reperes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--joint-fin);
  background: var(--filet);
  border: var(--joint-fin) solid var(--filet);
}

@media (min-width: 40rem) {
  .reperes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .reperes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.repere {
  background: var(--fond-surface);
  padding: 1.6rem 1.4rem;
}

.repere__valeur {
  display: block;
  font-family: var(--police-titre);
  font-size: clamp(2.1rem, 1.5rem + 1.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-texte);
}

.repere__libelle {
  display: block;
  margin-block-start: 0.6rem;
  color: var(--texte-doux);
  font-size: 0.98rem;
}

/* --- Prestations ---------------------------------------------------------- */

.prestations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--joint-fin);
  margin-block-start: 2.5rem;
  background: var(--filet);
  border: var(--joint-fin) solid var(--filet);
  counter-reset: prestation etabli;
}

@media (min-width: 40rem) {
  .prestations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .prestations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.prestation {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--fond-surface);
  padding: 1.75rem 1.5rem 1.9rem;
  counter-increment: prestation;
}

.prestation__numero {
  font-family: var(--police-titre);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--enduit-500);
}

.prestation__numero::before {
  content: counter(prestation, etabli);
}

.prestation--vedette .prestation__numero {
  color: var(--bois-texte);
}

.prestation h3 {
  margin: 0;
}

.prestation p {
  margin: 0;
  color: var(--texte-doux);
  font-size: 0.99rem;
}

/* --- Un seul chantier, un seul artisan : l'élément signature -------------- */
/* Coupe statique d'un mur, en strates — la maçonnerie porte les réseaux, qui
   portent les finitions, qui portent le meuble sur mesure. Aucune interaction
   n'est nécessaire pour lire le sens : le survol ne fait qu'accentuer une
   strate déjà lisible au repos. */

.chantier {
  display: grid;
  gap: 1.75rem;
  margin-block-start: 2.5rem;
}

@media (min-width: 58rem) {
  .chantier {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 3rem;
  }
}

.chantier__figure {
  margin: 0;
  border: var(--joint-fin) solid var(--filet-fort);
  background: var(--enduit-100);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.strate {
  transition: filter 0.15s ease;
}

.strate:hover,
.strate:focus-visible {
  filter: brightness(1.08);
}

.strate__structure {
  fill: var(--enduit-400);
}

.strate__reseaux {
  fill: var(--cordeau-200);
}

.strate__finitions {
  fill: var(--enduit-200);
}

.strate__mesure {
  fill: var(--sciure-300);
}

.strate__trait {
  stroke: var(--enduit-700);
  stroke-width: 2;
  fill: none;
}

.strate__meuble {
  fill: var(--sciure-700);
}

.strate__grain {
  stroke: var(--sciure-800);
  stroke-width: 1.5;
  opacity: 0.5;
}

.strate__cable {
  stroke: var(--cordeau-700);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}

.strate__etiquette {
  font-family: var(--police-technique);
  font-size: 13px;
  font-weight: 600;
  fill: var(--enduit-900);
  paint-order: stroke;
  stroke: var(--fond-surface);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.chantier__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: strate etabli;
  display: grid;
  gap: var(--joint-fin);
  background: var(--filet);
  border: var(--joint-fin) solid var(--filet);
}

.chantier__etape {
  background: var(--fond-surface);
  padding: 1.1rem 1.3rem;
  counter-increment: strate;
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.chantier__etape::before {
  content: counter(strate, etabli);
  flex: none;
  font-family: var(--police-titre);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-texte);
  min-width: 2.4em;
}

.chantier__etape strong {
  display: block;
  font-family: var(--police-titre);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.chantier__etape span {
  display: block;
  color: var(--texte-doux);
  font-size: 0.95rem;
  margin-block-start: 0.2rem;
}

/* --- Réalisations --------------------------------------------------------- */

.realisations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--joint-fin);
  margin-block-start: 2.5rem;
  background: var(--filet);
  border: var(--joint-fin) solid var(--filet);
}

@media (min-width: 40rem) and (max-width: 63.999rem) {
  .realisations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realisation:last-child:nth-child(2n + 1) {
    grid-column: span 2;
  }

  .realisation:last-child:nth-child(2n + 1) img {
    aspect-ratio: 8 / 3;
  }
}

@media (min-width: 64rem) {
  .realisations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .realisation:last-child:nth-child(3n + 1) {
    grid-column: span 3;
  }

  .realisation:last-child:nth-child(3n + 1) img {
    aspect-ratio: 4 / 1;
  }

  .realisation:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }

  .realisation:last-child:nth-child(3n + 2) img {
    aspect-ratio: 8 / 3;
  }
}

.realisation {
  margin: 0;
  background: var(--fond-surface);
}

.realisation img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--enduit-200);
}

.realisation figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.25rem 1.25rem;
}

.realisation figcaption strong {
  font-family: var(--police-titre);
  font-weight: 700;
  text-transform: uppercase;
}

.realisation__lieu {
  font-family: var(--police-technique);
  font-size: 0.82rem;
  color: var(--texte-doux);
}

.realisations-repli {
  margin-block-start: 2rem;
  padding: 1.75rem;
  background: var(--fond-surface);
  border: var(--joint-fin) solid var(--filet-fort);
  border-inline-start: 4px solid var(--accent);
}

.realisations-repli p:last-child {
  margin-block-end: 0;
}

/* --- Zone d'intervention -------------------------------------------------- */

.zone {
  display: grid;
  gap: 2rem;
  margin-block-start: 2rem;
}

@media (min-width: 58rem) {
  .zone {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.zone__communes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zone__communes li {
  padding: 0.35rem 0.7rem;
  background: var(--fond-surface);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  font-family: var(--police-technique);
  font-size: 0.82rem;
  color: var(--texte-doux);
}

.zone__communes li.est-base {
  background: var(--accent-doux);
  border-color: var(--cordeau-300);
  color: var(--cordeau-800);
}

/* --- Avis (servis par statics-worker, masqués tant qu'il n'y en a pas) ----- */

.avis-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--joint-fin);
  margin-block-start: 2rem;
  background: var(--filet);
  border: var(--joint-fin) solid var(--filet);
}

.avis-liste > * {
  background: var(--fond-surface);
  padding: 1.5rem;
}

.avis-resume {
  font-family: var(--police-technique);
  color: var(--texte-doux);
}

/* --- Contact -------------------------------------------------------------- */

.contact {
  display: grid;
  gap: 2.5rem;
  margin-block-start: 2rem;
}

@media (min-width: 58rem) {
  .contact {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.coordonnees {
  margin: 0;
  display: grid;
  gap: 1.4rem;
}

.coordonnees dt {
  font-family: var(--police-technique);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--enduit-600);
  margin-block-end: 0.25rem;
}

.coordonnees dd {
  margin: 0;
  font-size: 1.05rem;
}

.coordonnees a {
  font-weight: 600;
}

.horaires {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-family: var(--police-technique);
  font-size: 0.92rem;
}

.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 22rem;
  padding-block: 0.15rem;
  border-block-end: 1px solid var(--filet);
}

.horaires .ferme {
  color: var(--enduit-700);
}

.coordonnees a,
.pied a,
.formulaire__mention a,
.pl-maj a {
  display: inline-block;
  padding-block: 0.3rem;
}

/* --- Formulaire ----------------------------------------------------------- */

.formulaire {
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem;
  background: var(--fond-surface);
  border: var(--joint-fin) solid var(--filet-fort);
}

@media (min-width: 36rem) {
  .formulaire {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .champ--large,
  .formulaire > .formulaire__pied,
  .formulaire > .formulaire__statut {
    grid-column: 1 / -1;
  }
}

.champ {
  display: grid;
  gap: 0.35rem;
}

.champ label {
  font-family: var(--police-technique);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-tenu);
}

.champ .facultatif {
  text-transform: none;
  letter-spacing: 0;
  color: var(--enduit-600);
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--enduit-050);
  color: var(--texte);
  font: inherit;
  font-size: 1rem;
}

.champ textarea {
  min-height: 8rem;
  resize: vertical;
}

.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible {
  border-color: var(--cordeau-700);
  background: var(--fond-surface);
}

.champ input:user-invalid,
.champ textarea:user-invalid,
.champ input[aria-invalid='true'],
.champ textarea[aria-invalid='true'] {
  border-color: var(--sciure-700);
  background: var(--sciure-100);
}

.champ__erreur {
  display: none;
  font-size: 0.88rem;
  color: var(--sciure-800);
}

.champ input:user-invalid ~ .champ__erreur,
.champ textarea:user-invalid ~ .champ__erreur,
.champ input[aria-invalid='true'] ~ .champ__erreur,
.champ textarea[aria-invalid='true'] ~ .champ__erreur {
  display: block;
}

.formulaire__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.formulaire__mention {
  margin: 0;
  font-size: 0.85rem;
  color: var(--texte-doux);
  max-width: 40ch;
}

.formulaire__statut:not(:empty) {
  padding: 0.85rem 1rem;
  border-inline-start: 4px solid var(--accent);
  background: var(--accent-doux);
  color: var(--cordeau-900);
  font-size: 0.95rem;
}

.appat {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Barre d'appel collante (mobile) -------------------------------------- */

.appel-mobile {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 50;
  display: flex;
  gap: var(--joint-fin);
  padding: 0.55rem;
  background: color-mix(in srgb, var(--enduit-050) 94%, transparent);
  backdrop-filter: blur(8px);
  border-block-start: var(--joint-fin) solid var(--filet-fort);
}

.appel-mobile .bouton {
  flex: 1;
  justify-content: center;
}

@media (min-width: 62rem) {
  .appel-mobile {
    display: none;
  }
}

body {
  padding-block-end: 4.5rem;
}

@media (min-width: 62rem) {
  body {
    padding-block-end: 0;
  }
}

/* --- Pied de page --------------------------------------------------------- */

.pied {
  background: var(--fond-profond);
  color: var(--enduit-300);
  padding-block: 3rem 2.5rem;
  font-size: 0.95rem;
}

.pied__bloc {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .pied__bloc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pied__logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  margin-block-end: 1rem;
  padding: 0.4rem;
  background: var(--enduit-050);
  border-radius: var(--rayon);
}

.pied h2 {
  font-size: 0.8rem;
  font-family: var(--police-technique);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--enduit-400);
  margin-block-end: 0.9rem;
}

.pied a {
  color: var(--sciure-300);
}

.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.pied__legal {
  margin-block-start: 2.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--enduit-800);
  font-family: var(--police-technique);
  font-size: 0.78rem;
  color: var(--enduit-500);
}

.pied__legal p {
  margin: 0 0 0.3rem;
  max-width: none;
}

/* --- Mouvement : une seule intention, discrète ---------------------------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .revele {
      animation: apparition linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 22%;
    }

    @keyframes apparition {
      from {
        opacity: 0;
        transform: translateY(1.25rem);
      }
    }
  }
}

@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;
  }
}
