/* Olmos Creek Plumbing : feuille de style de la démo américaine (San Antonio).
   Matières du métier : la fonte des vieux tuyaux (fond sombre), le caliche, le
   calcaire blanc du sol texan (fond clair), le cuivre (unique couleur d'action).
   Mohave, condensée, pour les titres (lettrage de camionnette), Onest pour le texte. */

@font-face {
  font-family: "Mohave";
  src: url("fonts/mohave-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fonte: #1E201D;
  --fonte-2: #282B27;
  --fonte-3: #343833;
  --caliche: #F4F1EA;
  --caliche-2: #EAE6DB;
  --caliche-3: #D8D2C3;
  --papier: #FBFAF6;
  --gris: #5B5F59;
  --gris-clair: #A9ADA6;
  --cuivre: #9E4A1C;
  --cuivre-fonce: #803A12;
  --cuivre-clair: #E08A52;
  --cuivre-pale: #F3DED0;
  --rouge: #B3261E;
  --rouge-pale: #F6E0DE;
  --eau: #8CA5AE;
  --filet-clair: rgb(30 32 29 / 0.14);
  --filet-sombre: rgb(244 241 234 / 0.14);

  --font-titre: "Mohave", "Oswald", "Arial Narrow", sans-serif;
  --font-texte: "Onest", "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.12rem, 1.04rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.6rem);
  --step-5: clamp(3rem, 1.9rem + 5.2vw, 6.4rem);

  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 4px;
  --rayon-carte: 6px;
  --entete-h: 72px;
  --ease-sortie: cubic-bezier(0.22, 1, 0.36, 1);
  --ombre-carte: 0 1px 2px rgb(30 32 29 / 0.06), 0 18px 40px -22px rgb(30 32 29 / 0.45);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete-h) + var(--brnsg-barre, 0px) + 16px);
  scrollbar-color: var(--gris) var(--caliche-2);
}

body {
  margin: 0;
  background: var(--caliche);
  color: var(--fonte);
  font-family: var(--font-texte);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

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

a {
  color: var(--cuivre);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-thickness 0.2s;
}

a:hover {
  color: var(--cuivre-fonce);
  text-decoration-thickness: 2px;
}

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

.section--fonte :focus-visible,
.entete :focus-visible,
.pied :focus-visible,
.barre-actions :focus-visible {
  outline-color: var(--cuivre-clair);
}

address {
  font-style: normal;
}

/* L'attribut hidden gagne toujours, même sur un élément stylé en flex ou grid. */
[hidden] {
  display: none !important;
}

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

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

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: var(--rayon);
  background: var(--cuivre);
  color: var(--papier);
  font-weight: 600;
}

.lien-evitement:focus {
  top: calc(var(--brnsg-barre, 0px) + 0.5rem);
  color: var(--papier);
}

.icone {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* État d'ouverture calculé (horaires.js) : pastille devant le texte. */
[data-brnsg-horaires][data-etat]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45em;
  border-radius: 50%;
  vertical-align: 0.08em;
  background: var(--gris-clair);
}

[data-brnsg-horaires][data-etat="ouvert"]::before {
  background: var(--cuivre-clair);
  box-shadow: 0 0 0 3px rgb(224 138 82 / 0.25);
}

/* ------------------------------------------------------------------ */
/* Boutons et liens                                                     */
/* ------------------------------------------------------------------ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--rayon);
  font: 600 1rem/1.1 var(--font-texte);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-sortie);
}

.bouton:active {
  transform: translateY(1px);
}

.bouton .icone {
  width: 18px;
  height: 18px;
}

.bouton--plein {
  background: var(--cuivre);
  color: var(--papier);
}

.bouton--plein:hover {
  background: var(--cuivre-fonce);
  color: var(--papier);
  text-decoration: none;
}

/* Les règles de couleur des liens par zone (.page-tete a, .section--fonte a,
   .triage a, .formulaire-carte a) ne doivent jamais recolorer le texte du
   bouton plein : il reste papier sur cuivre, au repos comme au survol. */
.page-tete a.bouton--plein,
.section--fonte a.bouton--plein,
.triage a.bouton--plein,
.formulaire-carte a.bouton--plein,
.pied a.bouton--plein,
.page-tete a.bouton--plein:hover,
.section--fonte a.bouton--plein:hover,
.triage a.bouton--plein:hover,
.formulaire-carte a.bouton--plein:hover,
.pied a.bouton--plein:hover {
  color: var(--papier);
}

.bouton--contour {
  background: transparent;
  border-color: currentColor;
  color: var(--fonte);
}

.bouton--contour:hover {
  background: var(--fonte);
  border-color: var(--fonte);
  color: var(--caliche);
  text-decoration: none;
}

.section--fonte .bouton--contour,
.bouton--clair {
  color: var(--caliche);
}

.section--fonte .bouton--contour:hover,
.bouton--clair:hover {
  background: var(--caliche);
  border-color: var(--caliche);
  color: var(--fonte);
}

/* Dans la carte claire du triage, posée sur une section sombre, le contour reprend la couleur du texte. */
.section--fonte .triage .bouton--contour {
  color: var(--fonte);
}

.section--fonte .triage .bouton--contour:hover {
  background: var(--fonte);
  border-color: var(--fonte);
  color: var(--caliche);
}

.bouton--petit {
  min-height: 44px;
  padding: 0 1.05rem;
  font-size: 0.93rem;
}

.bouton--large {
  width: 100%;
}

.bouton[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.bouton-lien {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 0.95rem/1.2 var(--font-texte);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.bouton-lien:hover {
  text-decoration-thickness: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.lien-fleche--seul {
  margin-top: 1.5rem;
}

.lien-fleche--seul a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.icone-fleche {
  transition: transform 0.25s var(--ease-sortie);
}

a:hover .icone-fleche {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* Titres et filet de cuivre                                            */
/* ------------------------------------------------------------------ */

.titre-section {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.titre-section--petit {
  font-size: var(--step-3);
}

.sous-titre {
  margin: 1.5rem 0 0.6rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

/* Le filet : un bout de tube de cuivre posé à plat, avec son reflet. */
.filet-cuivre {
  display: block;
  width: 72px;
  height: 6px;
  margin: 1rem 0 1.4rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cuivre-clair) 0%, var(--cuivre) 55%, var(--cuivre-fonce) 100%);
}

.section-tete {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-chapo {
  font-size: var(--step-1);
  color: var(--gris);
  margin: 0;
}

.section--fonte .section-chapo {
  color: var(--gris-clair);
}

.note {
  color: var(--gris);
  font-size: var(--step--1);
}

.section--fonte .note {
  color: var(--gris-clair);
}

.prix-ligne {
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--cuivre);
  background: var(--cuivre-pale);
  font-size: var(--step-0);
}

.prix-ligne strong {
  font-family: var(--font-titre);
  font-size: 1.35em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.entete {
  position: sticky;
  top: var(--brnsg-barre, 0px);
  z-index: 900;
  background: var(--fonte);
  color: var(--caliche);
  border-bottom: 1px solid var(--filet-sombre);
}

.entete-grille {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: var(--entete-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  color: var(--caliche);
  text-decoration: none;
}

.logo:hover {
  color: var(--caliche);
}

.logo-marque {
  width: 40px;
  height: 40px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-tuyau {
  stroke: currentColor;
  stroke-width: 3.2;
}

.logo-goutte {
  fill: var(--cuivre-clair);
  stroke: none;
}

.logo-texte {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-nom {
  font-family: var(--font-titre);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-metier {
  margin-top: 0.15rem;
  color: var(--cuivre-clair);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  flex: 1;
}

.nav-liste {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-liste a {
  color: var(--caliche);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-liste a:hover,
.nav-liste a[aria-current="page"] {
  color: var(--caliche);
  border-bottom-color: var(--cuivre-clair);
}

.nav-mobile-seulement {
  display: none;
}

.entete-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.entete-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--caliche);
  text-decoration: none;
  line-height: 1.15;
}

.entete-tel:hover {
  color: var(--caliche);
}

.entete-tel-numero {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.entete-statut {
  color: var(--gris-clair);
  font-size: 0.78rem;
}

.menu-bouton {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.2rem;
  border: 0;
  background: none;
  color: var(--caliche);
  font: 600 0.9rem var(--font-texte);
  cursor: pointer;
}

.menu-bouton-traits {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.2s;
}

.menu-bouton-traits::before,
.menu-bouton-traits::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease-sortie);
}

.menu-bouton-traits::before {
  top: -7px;
}

.menu-bouton-traits::after {
  top: 7px;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits {
  background: transparent;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1120px) {
  .nav-liste {
    gap: 1.1rem;
  }

  .nav-liste a {
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .entete-grille {
    gap: 1rem;
  }

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

  .entete-devis {
    display: none;
  }

  .nav {
    position: fixed;
    inset: calc(var(--brnsg-barre, 0px) + var(--entete-h)) 0 0 0;
    z-index: 890;
    display: none;
    padding: 1.5rem var(--gouttiere) 2rem;
    background: var(--fonte);
    overflow-y: auto;
  }

  .nav--ouverte {
    display: block;
  }

  .nav-liste {
    flex-direction: column;
    gap: 0;
  }

  .nav-liste a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--filet-sombre);
    font-family: var(--font-titre);
    font-size: 1.7rem;
    font-weight: 500;
  }

  .nav-liste a[aria-current="page"] {
    color: var(--cuivre-clair);
  }

  .nav-mobile-seulement {
    display: block;
  }

  body.menu-ouvert {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .entete-statut {
    display: none;
  }

  .entete-tel-numero {
    font-size: 1.2rem;
  }

  .logo-marque {
    width: 34px;
    height: 34px;
  }

  .logo-nom {
    font-size: 1.3rem;
  }
}

@media (max-width: 380px) {
  .menu-bouton-texte {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Sections                                                             */
/* ------------------------------------------------------------------ */

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--serre {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section--caliche {
  background: var(--caliche-2);
}

.section--fonte {
  background: var(--fonte);
  color: var(--caliche);
}

.section--fonte a {
  color: var(--cuivre-clair);
}

.section--fonte a:hover {
  color: var(--caliche);
}

.section--fonte .filet-cuivre {
  background: linear-gradient(180deg, #F2B48A 0%, var(--cuivre-clair) 55%, var(--cuivre) 100%);
}

.liste-coches {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liste-coches li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.liste-coches .icone {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  color: var(--cuivre);
  stroke-width: 2.6;
}

.section--fonte .liste-coches .icone {
  color: var(--cuivre-clair);
}

.liste-simple {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--gris);
}

.liste-simple li + li {
  margin-top: 0.3rem;
}

.encadre {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon-carte);
  background: var(--papier);
}

.encadre p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--caliche);
}

.hero-grille {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-amorce {
  margin: 0 0 1rem;
  color: var(--cuivre);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-titre {
  font-family: var(--font-titre);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.hero-texte {
  max-width: 34rem;
  margin: 1.4rem 0 1.8rem;
  font-size: var(--step-1);
  color: var(--gris);
}

.hero-preuves {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--filet-clair);
  list-style: none;
  color: var(--gris);
  font-size: 0.92rem;
}

.hero-preuves strong {
  color: var(--fonte);
  font-family: var(--font-titre);
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-media {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--rayon-carte);
  box-shadow: var(--ombre-carte);
}

@media (max-width: 960px) {
  .hero-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero-image img {
    aspect-ratio: 16 / 9;
  }
}

/* ------------------------------------------------------------------ */
/* Pages intérieures : bandeau de tête                                  */
/* ------------------------------------------------------------------ */

.page-tete {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: var(--fonte);
  color: var(--caliche);
}

.page-tete--simple {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.page-tete-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-titre {
  font-family: var(--font-titre);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 0.96;
  text-wrap: balance;
}

.page-chapo {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: var(--gris-clair);
  font-size: var(--step-1);
}

.page-tete .actions {
  margin-top: 1.8rem;
}

.page-tete a {
  color: var(--cuivre-clair);
}

.page-tete .bouton--contour {
  color: var(--caliche);
}

.page-tete .bouton--contour:hover {
  background: var(--caliche);
  border-color: var(--caliche);
  color: var(--fonte);
}

.page-tete-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--rayon-carte);
}

.page-tete--urgence {
  border-bottom: 4px solid var(--cuivre);
}

.code-erreur {
  margin: 0 0 0.6rem;
  color: var(--cuivre-clair);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-tete--404 {
  min-height: 50vh;
}

@media (max-width: 760px) {
  .page-tete-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Triage : le contrôle d'urgence en trois questions                    */
/* ------------------------------------------------------------------ */

.triage-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.triage-intro > p {
  max-width: 42ch;
  color: var(--gris-clair);
  font-size: var(--step-1);
}

.triage-intro .liste-coches {
  margin-top: 1.5rem;
}

.triage {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--rayon-carte);
  background: var(--caliche);
  color: var(--fonte);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.06);
}

.triage a {
  color: var(--cuivre);
}

.triage-progression {
  height: 5px;
  margin-bottom: 1.6rem;
  overflow: hidden;
  border-radius: 3px;
  background: var(--caliche-3);
}

.triage-progression span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--cuivre);
  transition: width 0.5s var(--ease-sortie);
}

.no-js .triage-progression {
  display: none;
}

.question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.no-js .question + .question {
  margin-top: 2rem;
}

.js .question:not(.question--active) {
  display: none;
}

.question-legende {
  margin-bottom: 0.45rem;
  padding: 0;
  font-family: var(--font-titre);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1;
}

.question-numero {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--cuivre);
  font-family: var(--font-texte);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.question-aide {
  margin: 0 0 1.3rem;
  color: var(--gris);
  font-size: 0.95rem;
}

.tuiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tuiles--une {
  grid-template-columns: minmax(0, 1fr);
}

.tuile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border: 1.5px solid var(--caliche-3);
  border-radius: var(--rayon);
  background: var(--papier);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--ease-sortie);
}

.tuile:hover {
  border-color: var(--gris);
}

.tuile:active {
  transform: scale(0.99);
}

.tuile input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tuile:has(input:checked) {
  border-color: var(--cuivre);
  background: var(--cuivre-pale);
}

.tuile:has(input:focus-visible) {
  outline: 3px solid var(--cuivre);
  outline-offset: 2px;
}

.tuile-corps {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
}

.tuile-libelle {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.tuile-aide {
  color: var(--gris);
  font-size: 0.86rem;
  line-height: 1.4;
}

.tuile-coche {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--caliche-3);
  border-radius: 50%;
  color: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.tuile-coche .icone {
  width: 14px;
  height: 14px;
  stroke-width: 2.8;
}

.tuile:has(input:checked) .tuile-coche {
  border-color: var(--cuivre);
  background: var(--cuivre);
  color: var(--papier);
}

.question-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.no-js .question-nav {
  display: none;
}

.triage-sans-js {
  margin: 1.5rem 0 0;
  color: var(--gris);
}

.triage-resultat:focus {
  outline: none;
}

.resultat-priorite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 0 0 1.4rem;
}

.priorite-libelle {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rayon);
  background: var(--cuivre);
  color: var(--papier);
  font-family: var(--font-titre);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.priorite-libelle[data-priorite="right-now"] {
  background: var(--rouge);
}

.priorite-libelle[data-priorite="next"] {
  background: var(--fonte-3);
}

.priorite-texte {
  color: var(--gris);
  font-size: 0.95rem;
}

.conseil-titre {
  font-family: var(--font-titre);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1;
}

.js .conseil:not(.conseil--active) {
  display: none;
}

.no-js .conseil + .conseil {
  margin-top: 2rem;
}

.conseil-etapes {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: conseil;
}

.conseil-etapes li {
  position: relative;
  padding-left: 3rem;
  counter-increment: conseil;
}

.conseil-etapes li::before {
  content: counter(conseil);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cuivre);
  color: var(--papier);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
}

.conseil-etapes p {
  margin: 0;
}

.conseil-etape-titre {
  font-weight: 700;
}

.conseil-etapes li p + p {
  color: var(--gris);
  font-size: 0.95rem;
}

.conseil-variante {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--cuivre);
  background: var(--papier);
  font-size: 0.95rem;
}

.conseil-variante p {
  margin: 0;
}

.conseil-variante p + p {
  margin-top: 0.5rem;
}

.resultat-rappel {
  margin: 1.4rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--rayon);
  background: var(--caliche-2);
  font-weight: 500;
}

.resultat-rappel p {
  margin: 0;
}

.resultat-rappel[data-ouvert="ferme"] {
  background: var(--rouge-pale);
}

.resultat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .triage-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .tuiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .triage {
    padding: 1.1rem;
  }
}

/* ------------------------------------------------------------------ */
/* Services : bento                                                     */
/* ------------------------------------------------------------------ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.tuile-service {
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon-carte);
  background: var(--papier);
}

.tuile-service--grande {
  grid-column: span 4;
}

.tuile-service--large {
  grid-column: span 4;
}

.tuile-service--petite {
  grid-column: span 3;
}

.tuile-service-lien {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tuile-service-lien:hover {
  color: inherit;
}

.tuile-service-image {
  overflow: hidden;
  background: var(--caliche-2);
}

.tuile-service-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease-sortie);
}

.tuile-service--haute .tuile-service-image img {
  aspect-ratio: 4 / 3;
}

.tuile-service-lien:hover .tuile-service-image img {
  transform: scale(1.03);
}

.tuile-service-texte {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.4rem 1.4rem;
}

.tuile-service-texte > p {
  margin: 0 0 0.6rem;
  color: var(--gris);
  font-size: 0.95rem;
}

.tuile-service-titre {
  margin-bottom: 0.5rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.02;
}

.tuile-service-prix {
  margin-top: auto;
  color: var(--fonte);
  font-weight: 600;
}

.tuile-service .lien-fleche {
  margin-top: 0.5rem;
  color: var(--cuivre);
}

.tuile-service-lien:hover .icone-fleche {
  transform: translateX(4px);
}

.tuile-service--large .tuile-service-lien,
.tuile-service--petite .tuile-service-lien {
  flex-direction: row;
}

.tuile-service--large .tuile-service-image,
.tuile-service--petite .tuile-service-image {
  flex: 0 0 44%;
}

.tuile-service--large .tuile-service-image img,
.tuile-service--petite .tuile-service-image img {
  height: 100%;
  aspect-ratio: auto;
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tuile-service,
  .tuile-service--grande,
  .tuile-service--large,
  .tuile-service--petite {
    grid-column: span 2;
  }

  .tuile-service--haute {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .tuile-service--haute {
    grid-column: span 2;
  }

  .tuile-service--large .tuile-service-lien,
  .tuile-service--petite .tuile-service-lien {
    flex-direction: column;
  }

  .tuile-service--large .tuile-service-image img,
  .tuile-service--petite .tuile-service-image img {
    aspect-ratio: 16 / 9;
  }
}

/* ------------------------------------------------------------------ */
/* Étapes de la visite                                                  */
/* ------------------------------------------------------------------ */

.etapes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etape {
  padding-top: 1.2rem;
  border-top: 3px solid var(--cuivre);
}

.etape-numero {
  margin: 0 0 0.4rem;
  color: var(--cuivre);
  font-family: var(--font-titre);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.etape-titre {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.etape-duree {
  margin: 0.3rem 0 0.7rem;
  color: var(--cuivre);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.etape > p:last-child {
  margin: 0;
  color: var(--gris);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .etapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .etapes {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Tarifs                                                               */
/* ------------------------------------------------------------------ */

.tarifs-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.tarifs-intro > p {
  color: var(--gris);
}

.tableau-enveloppe {
  overflow-x: auto;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon-carte);
  background: var(--papier);
}

.tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

.tableau thead th {
  background: var(--caliche-2);
  color: var(--gris);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tableau tbody th {
  font-weight: 500;
}

.tableau tbody tr:last-child th,
.tableau tbody tr:last-child td {
  border-bottom: 0;
}

.tableau--tarifs td:nth-child(2) {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tableau--tarifs td:nth-child(3) {
  color: var(--gris);
  white-space: nowrap;
}

.tarifs-regles {
  display: grid;
  gap: 1.5rem;
}

.tarifs-sommaire {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tarifs-sommaire a {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon);
  background: var(--papier);
  color: var(--fonte);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.tarifs-sommaire a:hover {
  border-color: var(--cuivre);
  color: var(--cuivre);
}

.tarifs-groupe .titre-section {
  margin-top: 0.5rem;
}

.prix-liste {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
}

.prix-liste div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--filet-clair);
}

.prix-liste dt {
  font-weight: 500;
}

.prix-liste dd {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .tarifs-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Duo image / texte                                                    */
/* ------------------------------------------------------------------ */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.duo--inverse .duo-image {
  order: 2;
}

.duo-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--rayon-carte);
  box-shadow: var(--ombre-carte);
}

.duo-texte > p {
  color: var(--gris);
}

.duo-texte .prix-ligne {
  color: var(--fonte);
}

@media (max-width: 760px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .duo--inverse .duo-image {
    order: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Avis                                                                 */
/* ------------------------------------------------------------------ */

.avis-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.avis-note {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avis-note-chiffre {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
}

.avis-note-texte {
  margin: 0.3rem 0 0;
  color: var(--gris);
  font-size: 0.9rem;
}

.etoiles {
  display: inline-flex;
  gap: 2px;
}

.etoile {
  width: 18px;
  height: 18px;
  fill: var(--caliche-3);
}

.etoile--pleine {
  fill: var(--cuivre);
}

.avis-liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avis-liste--complete {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.avis-carte {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon-carte);
  background: var(--papier);
}

.avis-texte {
  flex: 1;
  margin: 1rem 0 1.2rem;
}

.avis-texte p {
  margin: 0;
}

.avis-auteur {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  margin: 0;
  color: var(--gris);
  font-size: 0.88rem;
}

.avis-nom {
  color: var(--fonte);
  font-weight: 700;
}

.avis-lieu::before,
.avis-auteur time::before {
  content: "·";
  margin-right: 0.6rem;
}

@media (max-width: 960px) {
  .avis-liste {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Carte de la zone                                                     */
/* ------------------------------------------------------------------ */

.zone-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.zone-grille--page {
  align-items: start;
}

.zone-texte > p {
  color: var(--gris);
}

.carte {
  width: 100%;
  height: auto;
  border-radius: var(--rayon-carte);
  font-family: var(--font-texte);
}

.carte-fond {
  fill: var(--papier);
}

.carte-anneau {
  fill: none;
  stroke: var(--caliche-3);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}

.carte-anneau-texte {
  fill: var(--gris);
  font-size: 11px;
}

.carte-route {
  fill: none;
  stroke: var(--caliche-3);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carte-route--loop {
  stroke-width: 3.5;
}

.carte-route--fine {
  stroke-width: 1.8;
}

.carte-route-texte {
  fill: var(--gris-clair);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carte-riviere {
  fill: none;
  stroke: var(--eau);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carte-riviere-texte {
  fill: var(--eau);
  font-size: 10px;
  font-style: italic;
}

.carte-ruisseau {
  fill: none;
  stroke: var(--cuivre);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carte-ruisseau-texte {
  fill: var(--cuivre);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
}

.carte-ville circle {
  fill: var(--fonte);
}

.carte-ville text {
  fill: var(--fonte);
  font-size: 11.5px;
  font-weight: 500;
}

.carte-base circle {
  fill: var(--cuivre);
}

.carte-base-halo {
  fill: var(--cuivre) !important;
  opacity: 0.18;
}

.carte-base text {
  fill: var(--cuivre);
  font-size: 12px;
  font-weight: 700;
}

.villes-phares {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.villes-phares--grille {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.villes-phares dt {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.villes-phares dt span {
  margin-left: 0.4rem;
  color: var(--cuivre);
  font-family: var(--font-texte);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.villes-phares dd {
  margin: 0.3rem 0 0;
  color: var(--gris);
  font-size: 0.95rem;
}

.zone-groupe + .zone-groupe {
  margin-top: 1.5rem;
}

.zone-groupe-titre {
  margin-bottom: 0.5rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.zone-villes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zone-villes li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--filet-clair);
}

.zone-villes li span:last-child {
  color: var(--gris);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .zone-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .villes-phares--grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .villes-phares--grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Équipe, chiffres                                                     */
/* ------------------------------------------------------------------ */

.portraits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portrait-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rayon-carte);
}

.portrait-nom {
  margin-top: 1rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.portrait-role {
  margin: 0.2rem 0 0.6rem;
  color: var(--cuivre);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait > p:last-child {
  margin: 0;
  color: var(--gris);
  font-size: 0.95rem;
}

.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.chiffres div {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--filet-clair);
  border-radius: var(--rayon-carte);
  background: var(--papier);
}

.chiffres dt {
  font-family: var(--font-titre);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1;
}

.chiffres dd {
  margin: 0.4rem 0 0;
  color: var(--gris);
}

@media (max-width: 760px) {
  .portraits {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                  */
/* ------------------------------------------------------------------ */

.faq-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-intro > p {
  color: var(--gris);
}

.faq-item {
  border-bottom: 1px solid var(--filet-clair);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: var(--step-1);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-signe {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.faq-signe::before,
.faq-signe::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--cuivre);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-sortie);
}

.faq-signe::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-signe::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-reponse {
  padding: 0 0 1.2rem;
  color: var(--gris);
}

.faq-reponse p {
  margin: 0;
}

@media (max-width: 960px) {
  .faq-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Formulaires                                                          */
/* ------------------------------------------------------------------ */

.formulaire-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.formulaire-intro > p {
  max-width: 42ch;
  font-size: var(--step-1);
}

.section--fonte .formulaire-intro > p {
  color: var(--gris-clair);
}

.formulaire-intro--clair > p {
  color: var(--gris);
}

.formulaire-carte {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--rayon-carte);
  background: var(--caliche);
  color: var(--fonte);
  box-shadow: var(--ombre-carte);
}

.formulaire-carte--bordee {
  background: var(--papier);
  border: 1px solid var(--filet-clair);
  box-shadow: none;
}

.formulaire-carte a {
  color: var(--cuivre);
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.champ-rangee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.champ label,
.champ legend {
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.champ-optionnel {
  color: var(--gris);
  font-weight: 400;
}

.champ-aide {
  margin: 0;
  color: var(--gris);
  font-size: 0.86rem;
}

.champ input[type="text"],
.champ input[type="tel"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--caliche-3);
  border-radius: var(--rayon);
  background: #FFFEFB;
  color: var(--fonte);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.champ textarea {
  min-height: 96px;
  resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--cuivre);
  box-shadow: 0 0 0 3px rgb(168 80 31 / 0.22);
}

.champ [aria-invalid="true"] {
  border-color: var(--rouge);
}

.select-enveloppe {
  position: relative;
}

.select-enveloppe::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gris);
  border-bottom: 2px solid var(--gris);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.champ select {
  padding-right: 2.5rem;
  -webkit-appearance: none;
  appearance: none;
}

.champ-erreur {
  margin: 0;
  color: var(--rouge);
  font-size: 0.88rem;
}

.formulaire-erreur:empty {
  display: none;
}

.formulaire-erreur {
  margin-top: 0.9rem;
}

.champ-piege {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consentement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.4rem 0 1.1rem;
  color: var(--gris);
  font-size: 0.88rem;
  cursor: pointer;
}

.consentement input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--cuivre);
  flex: none;
}

.formulaire-note {
  margin: 0.9rem 0 0;
  color: var(--gris);
  font-size: 0.85rem;
  text-align: center;
}

.formulaire-note--rappel {
  padding: 0.75rem 0.9rem;
  border-radius: var(--rayon);
  background: var(--caliche-2);
  color: var(--fonte);
  text-align: left;
}

.formulaire-note--rappel[data-ouvert="ferme"] {
  background: var(--rouge-pale);
}

/* Réponses du triage jointes au formulaire d'urgence */
.reponses-jointes {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border: 1.5px dashed var(--cuivre);
  border-radius: var(--rayon);
  background: var(--cuivre-pale);
}

.reponses-jointes-titre {
  margin: 0 0 0.2rem;
  color: var(--cuivre);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reponses-jointes-texte {
  margin: 0;
  font-weight: 600;
}

/* Photo (simulée : le nom du fichier seulement) */
.photo-choix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.photo-bouton {
  cursor: pointer;
}

.champ-photo input:focus-visible + .photo-bouton {
  outline: 3px solid var(--cuivre);
  outline-offset: 3px;
}

.photo-nom {
  margin: 0;
  color: var(--gris);
  font-size: 0.9rem;
}

.photo-nom:empty {
  display: none;
}

.formulaire-succes {
  padding: 1rem 0;
}

.formulaire-succes:focus {
  outline: none;
}

.formulaire-succes-titre {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.contact-carte {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--filet-sombre);
  border-radius: var(--rayon-carte);
  background: var(--fonte-2);
  color: var(--gris-clair);
}

.contact-carte p,
.contact-carte address {
  margin: 0 0 0.6rem;
}

.contact-carte > :last-child {
  margin-bottom: 0;
}

.contact-tel a {
  color: var(--caliche) !important;
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.contact-statut {
  color: var(--caliche);
}

.contact-urgence {
  color: var(--cuivre-clair);
  font-weight: 600;
}

.contact-adresse {
  padding-top: 0.75rem;
  border-top: 1px solid var(--filet-sombre);
  color: var(--caliche);
}

.suite {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: suite;
}

.suite li {
  position: relative;
  padding-left: 3rem;
  counter-increment: suite;
}

.suite li::before {
  content: counter(suite);
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cuivre);
  color: var(--papier);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
}

.suite p {
  margin: 0;
}

.suite-titre {
  font-weight: 700;
}

.suite li p + p {
  color: var(--gris);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .formulaire-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .champ-rangee {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Page contact                                                         */
/* ------------------------------------------------------------------ */

.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-grand-tel {
  margin: 0;
}

.contact-grand-tel a {
  color: var(--fonte);
  font-family: var(--font-titre);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.contact-grand-tel a:hover {
  color: var(--cuivre);
}

.contact-colonne .contact-statut {
  color: var(--fonte);
  font-weight: 600;
}

.contact-colonne .contact-urgence {
  color: var(--cuivre);
}

.contact-horaires {
  max-width: 24rem;
  margin-bottom: 1rem;
}

.contact-horaires li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--filet-clair);
}

.contact-adresse-grande {
  margin-bottom: 0.6rem;
  font-size: var(--step-1);
  font-weight: 600;
}

@media (max-width: 960px) {
  .contact-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Appel final, texte légal                                             */
/* ------------------------------------------------------------------ */

.appel-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.appel-grille > div > p {
  margin: 0;
  color: var(--gris-clair);
  font-size: var(--step-1);
}

.appel-grille .actions {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .appel-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .appel-grille .actions {
    justify-content: flex-start;
  }
}

.texte-legal {
  max-width: 46rem;
}

.texte-legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
}

.texte-legal h2:first-child {
  margin-top: 0;
}

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

.pied {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(5rem, 8vw, 6rem);
  background: var(--fonte);
  color: var(--gris-clair);
}

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

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

.pied-grille {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: 2.5rem;
}

.pied-bloc p {
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
}

.pied-titre {
  margin-bottom: 0.9rem !important;
  color: var(--caliche);
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo--pied {
  margin-bottom: 1rem;
}

.pied-adresse {
  margin-bottom: 0.5rem;
  color: var(--caliche);
}

.pied-tel a {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.pied-horaires,
.pied-liens {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.pied-horaires li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--filet-sombre);
  font-size: 0.93rem;
}

.pied-horaires li span:first-child {
  color: var(--caliche);
}

.pied-statut {
  color: var(--caliche);
}

.pied-urgence {
  color: var(--cuivre-clair);
  font-weight: 600;
}

.pied-liens li {
  padding: 0.25rem 0;
}

.pied-liens a {
  text-decoration: none;
}

.pied-liens a:hover {
  text-decoration: underline;
}

.pied-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet-sombre);
  font-size: 0.85rem;
}

.pied-legal p {
  margin: 0;
}

@media (max-width: 960px) {
  .pied-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pied-grille {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ------------------------------------------------------------------ */
/* Barre d'actions mobile                                               */
/* ------------------------------------------------------------------ */

.barre-actions {
  display: none;
}

@media (max-width: 760px) {
  .barre-actions {
    position: fixed;
    right: 0;
    bottom: var(--brnsg-onglet, 0px);
    left: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.6rem var(--gouttiere) calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--filet-sombre);
    background: rgb(30 32 29 / 0.96);
  }

  .barre-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: var(--rayon);
    font-weight: 600;
    text-decoration: none;
  }

  .barre-actions-tel {
    border: 1.5px solid var(--caliche);
    color: var(--caliche);
  }

  .barre-actions-urgence {
    background: var(--cuivre);
    color: var(--papier);
  }

  body {
    padding-bottom: calc(72px + var(--brnsg-onglet, 0px));
  }

  .pied {
    padding-bottom: 2rem;
  }
}

/* ------------------------------------------------------------------ */
/* Mouvement réduit                                                     */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
