/* ==========================================================================
   TLR Informatique — feuille de style unique
   Direction « Affiche » : fond bleu marine du logo, très gros titres,
   corail du logo en accent, grandes lignes de séparation. Une section
   corail (les avis) rythme la page.
   Aucune requête externe : les polices sont hébergées dans assets/fonts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Polices (Archivo / Archivo Black, licence SIL OFL, hébergées ici)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-400.woff2") format("woff2");
}

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

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-400.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs du logo */
  --marine: #19384f;
  --marine-profond: #11293b;
  --creme: #fbfbf6;
  --brume: #e3edf4;
  --brume-douce: #c9d8e3;

  /* Corail du logo. Sur le marine il ne fait que 4,2:1 : réservé aux grands
     titres, aux chiffres, aux fonds de bouton (texte marine dessus, 5,2:1)
     et aux éléments décoratifs. Pour du petit texte, --corail-texte (4,9:1). */
  --corail: #f2705b;
  --corail-texte: #f68470;
  --corail-fonce: #b93a28; /* texte corail sur fond crème (5,5:1) */

  /* Traits */
  --trait: rgba(251, 251, 246, 0.28);
  --trait-fort: #fbfbf6;

  /* Sémantique (retours de formulaire, sur fonds clairs) */
  --vert-fond: #e4f0ea;
  --vert-texte: #1f4a36;
  --erreur-fond: #fbeade;
  --erreur-texte: #7a2e14;

  /* Typographie */
  --police-titre: "Archivo Black", "Arial Black", Impact, "Helvetica Neue", Arial, sans-serif;
  --police-texte: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Rythme : angles droits, comme sur une affiche */
  --largeur: 1240px;
  --gouttiere: clamp(1.15rem, 4vw, 2.5rem);
  --transition: 180ms ease;
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Compense l'en-tête collant lors du saut vers une ancre */
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  /* Champs, listes déroulantes et barres de défilement en thème sombre */
  color-scheme: dark;
  background: var(--marine);
}

body {
  margin: 0;
  /* 18px de base : confort de lecture, y compris pour les presbytes */
  font: 400 1.125rem/1.65 var(--police-texte);
  color: var(--creme);
  background: var(--marine);
  -webkit-font-smoothing: antialiased;
  /* Empêche une adresse e-mail ou une URL longue d'élargir la page */
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--corail-texte);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--creme);
}

h1,
h2,
h3 {
  font-family: var(--police-titre);
  /* Archivo Black n'a qu'une graisse : évite le faux gras */
  font-weight: 400;
  color: var(--creme);
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.15;
}

strong {
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
}

/* Les marges par défaut de figure/blockquote décalent les cartes en grille */
figure,
blockquote {
  margin: 0;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.45em;
}

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

/* Respecte les utilisateurs sensibles au mouvement */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Utilitaires
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.conteneur--etroit {
  max-width: 820px;
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--creme);
  color: var(--marine-profond);
  padding: 0.85rem 1.5rem;
  z-index: 200;
  font-weight: 700;
}

.saut-contenu:focus {
  left: 0;
  color: var(--marine-profond);
}

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

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  /* Cible tactile généreuse : min. 56px de haut */
  min-height: 3.5rem;
  padding: 0.9rem 2rem;
  border: 2px solid transparent;
  border-radius: 0;
  font: 400 1.0625rem/1.2 var(--police-titre);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
}

/* Texte marine sur corail : 5,2:1 */
.bouton--principal {
  background: var(--corail);
  color: var(--marine-profond);
}

.bouton--principal:hover {
  background: var(--creme);
  color: var(--marine-profond);
}

.bouton--secondaire,
.bouton--fantome {
  background: transparent;
  color: var(--creme);
  border-color: var(--creme);
  font-family: var(--police-texte);
  font-weight: 700;
}

.bouton--secondaire:hover,
.bouton--fantome:hover {
  background: var(--creme);
  color: var(--marine-profond);
}

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

/* --------------------------------------------------------------------------
   5. Bandeau de contact et en-tête
   -------------------------------------------------------------------------- */
.bandeau {
  background: var(--marine-profond);
  color: var(--brume-douce);
  font-size: 0.95rem;
}

.bandeau__contenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  padding-block: 0.6rem;
  text-align: center;
}

.bandeau a {
  color: var(--creme);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

.bandeau__separateur {
  color: var(--corail);
}

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 56, 79, 0.97);
  border-bottom: 1px solid var(--trait);
}

.entete__contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.marque__logo {
  width: 150px;
  height: auto;
}

.navigation ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation li {
  margin: 0;
}

.navigation a {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 3px solid transparent;
  color: var(--creme);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.navigation a:hover {
  color: var(--creme);
  border-bottom-color: var(--creme);
}

.navigation a[aria-current="page"] {
  border-bottom-color: var(--corail);
}

.entete__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.entete__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--corail-texte);
  font: 400 1.25rem/1 var(--police-titre);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.entete__tel:hover {
  color: var(--creme);
}

/* Bouton d'ouverture du menu, visible seulement sur petit écran */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.55rem 1rem;
  border: 2px solid var(--creme);
  border-radius: 0;
  background: transparent;
  color: var(--creme);
  font: 700 0.9375rem var(--police-texte);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.burger__barres {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.burger__barres span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--creme);
  transition: transform var(--transition), opacity var(--transition);
}

.burger[aria-expanded="true"] .burger__barres span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__barres span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__barres span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Sections génériques
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

/* Bande plus profonde : crée le rythme sans changer de palette */
.section--profond {
  background: var(--marine-profond);
}

/* Bande à filet supérieur, pour les appels à l'action */
.section--filet {
  background: var(--marine);
  border-top: 2px solid var(--trait-fort);
}

/* Section corail (avis) : texte marine profond, 5,2:1 */
.section--corail {
  background: var(--corail);
  color: var(--marine-profond);
}

.section--corail :focus-visible {
  outline-color: var(--marine-profond);
}

.section--corail h2 {
  color: var(--marine-profond);
}

.section--corail a {
  color: var(--marine-profond);
}

.section--corail a:hover {
  color: var(--creme);
}

/* Section claire : pages légales, textes longs à lire de près */
.section--clair {
  background: var(--creme);
  color: var(--marine);
}

.section--clair :focus-visible {
  outline-color: var(--marine);
}

.section--clair h2,
.section--clair h3 {
  color: var(--marine);
}

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

.section--clair a:hover {
  color: var(--corail-fonce);
}

.section__entete {
  max-width: 820px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.surtitre {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  color: var(--brume-douce);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--corail .surtitre {
  color: var(--marine-profond);
}

.chapo {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--brume);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
}

/* La section qui suit le hero reprend directement dessous */
.hero + .section {
  padding-top: 0;
}

/* Le H1 de l'accueil : discret à l'écran, mais c'est lui qui dit à Google
   ce que fait l'entreprise et où */
.hero__lieu {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  color: var(--brume-douce);
  font-family: var(--police-texte);
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Le slogan, en très grand (un paragraphe : le H1 est .hero__lieu) */
.hero__titre {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  color: var(--creme);
  font: 400 clamp(2.2rem, 11vw, 6.5rem)/0.95 var(--police-titre);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* « Je viens chez vous. » en corail : texte de très grande taille, le
   contraste de 4,2:1 suffit (seuil des grands textes : 3:1) */
.hero__accent {
  display: block;
  color: var(--corail);
  text-wrap: balance;
}

.hero__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 2px solid var(--trait-fort);
}

.hero__accroche {
  flex: 1 1 26rem;
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
  line-height: 1.5;
  color: var(--creme);
}

/* Rangée de boutons (hero, appels à l'action, bloc matériel) */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__rassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  color: var(--brume);
}

.hero__rassurance li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.hero__rassurance li > span {
  color: var(--corail-texte);
  font-weight: 700;
}

.hero__secondaire {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  color: var(--brume);
}

.etoiles {
  color: var(--corail-texte);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.section--corail .etoiles {
  color: var(--marine-profond);
}

/* --------------------------------------------------------------------------
   8. Réassurance (quatre promesses)
   -------------------------------------------------------------------------- */
.atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem 2.5rem;
}

.atout {
  padding-top: 1.5rem;
  border-top: 2px solid var(--trait-fort);
}

.atout__icone {
  margin-bottom: 1rem;
  color: var(--corail-texte);
}

.atout h2,
.atout h3 {
  font-size: 1.125rem;
  margin-bottom: 0.45em;
}

.atout p {
  margin: 0;
  font-size: 1rem;
  color: var(--brume);
}

/* --------------------------------------------------------------------------
   9. Présentation personnelle
   -------------------------------------------------------------------------- */
.presentation {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.presentation__titre h2 {
  margin-bottom: 0;
}

.presentation__texte p {
  font-size: 1.1875rem;
  color: var(--brume);
}

.presentation__texte .presentation__signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--trait-fort);
  font-family: var(--police-titre);
  color: var(--creme);
}

.presentation__signature span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--police-texte);
  font-size: 0.95rem;
  color: var(--brume-douce);
}

/* Bande de deux photos pleine largeur, légèrement désaturées */
.bande-photos {
  display: flex;
  flex-wrap: wrap;
}

.bande-photos picture {
  flex: 1 1 22rem;
  min-width: 0;
}

.bande-photos img {
  width: 100%;
  height: clamp(220px, 32vw, 440px);
  object-fit: cover;
  filter: saturate(0.75);
}

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */
/* Grille générale (page Services : sous-cartes à texte) */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem 2.5rem;
}

.service {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 2px solid var(--trait-fort);
}

.service__icone {
  margin-bottom: 1rem;
  color: var(--corail-texte);
}

.service__icone .ico {
  width: 2rem;
  height: 2rem;
}

.service h3 {
  margin-bottom: 0.6em;
}

.service p {
  color: var(--brume);
  font-size: 1.0625rem;
  margin-bottom: 1.1rem;
}

.service ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  color: var(--brume);
}

/* Puces carrées corail (services et comparatif neuf / reconditionné) */
.service ul li,
.comparatif__carte li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.service ul li::before,
.comparatif__carte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--corail);
}

.service__lien {
  margin-top: auto;
  font-weight: 700;
  color: var(--corail-texte);
  text-decoration: none;
}

.service__lien:hover {
  color: var(--creme);
  text-decoration: underline;
}

/* Index de l'accueil : une ligne par service, numérotée */
.services--index {
  display: block;
  counter-reset: service;
  border-top: 2px solid var(--trait-fort);
}

.services--index .service {
  counter-increment: service;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-areas:
    "num titre desc"
    "num titre liste"
    "num titre lien";
  column-gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: 2rem 0;
  border-top: 0;
  border-bottom: 1px solid var(--trait);
}

.services--index .service:last-child {
  border-bottom: 2px solid var(--trait-fort);
}

.services--index .service::before {
  content: counter(service, decimal-leading-zero);
  grid-area: num;
  color: var(--corail);
  font: 400 1.25rem/1.6 var(--police-titre);
}

.services--index .service h3 {
  grid-area: titre;
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  transition: color var(--transition);
}

.services--index .service:hover h3 {
  color: var(--corail);
}

.services--index .service p {
  grid-area: desc;
  margin: 0.35rem 0 0.9rem;
  font-size: 1.1875rem;
  color: var(--creme);
}

.services--index .service ul {
  grid-area: liste;
  margin: 0 0 1rem;
  columns: 2 14rem;
  column-gap: 1.5rem;
  font-size: 0.9375rem;
}

.services--index .service ul li {
  break-inside: avoid;
}

.services--index .service__lien {
  grid-area: lien;
  margin-top: 0;
  justify-self: start;
}

/* --------------------------------------------------------------------------
   11. Chiffres
   -------------------------------------------------------------------------- */
.chiffres {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chiffres li {
  margin: 0;
}

.chiffres__valeur {
  display: block;
  color: var(--corail);
  font: 400 clamp(2.75rem, 5.4vw, 4.5rem)/1 var(--police-titre);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* Le tiret de « 24–48 h » doit respirer malgré le crénage serré des chiffres */
.chiffres__tiret {
  margin-inline: 0.1em;
  letter-spacing: 0;
}

.chiffres li:nth-child(n + 2) .chiffres__valeur {
  color: var(--creme);
}

.chiffres__libelle {
  display: block;
  margin-top: 0.6rem;
  color: var(--brume-douce);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Étapes « comment ça se passe »
   -------------------------------------------------------------------------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--trait-fort);
}

.etape__numero {
  margin-bottom: 0.75rem;
  color: var(--corail);
  font: 400 clamp(4rem, 8vw, 6rem)/0.9 var(--police-titre);
}

.etape h3 {
  font-size: 1.5rem;
}

.etape p {
  margin: 0;
  color: var(--brume);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   13. Zone d'intervention
   -------------------------------------------------------------------------- */
.zone {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.zone h2 {
  max-width: 20ch;
}

.zone .chapo {
  max-width: 42rem;
}

/* Mur typographique de communes, séparées par des points médians */
.communes {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--police-titre);
  font-size: clamp(1.5rem, 4.6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.communes li {
  margin: 0;
}

.communes li:not(:last-child)::after {
  content: "\00b7";
  content: "\00b7" / "";
  padding-inline: 0.4em;
  color: var(--corail);
}

.communes .commune-phare {
  color: var(--corail);
}

.zone__note {
  max-width: 40rem;
  margin: 0;
  color: var(--brume);
  font-size: 1.1875rem;
}

/* Numéro de téléphone dans un paragraphe : jamais coupé en deux */
.zone__note a {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   14. Avis et témoignages (section corail)
   -------------------------------------------------------------------------- */
.avis-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--marine-profond);
}

.avis-entete .sans-marge {
  flex: 1 1 18rem;
  font-weight: 700;
}

.avis-entete__note {
  margin: 0;
  font-family: var(--police-titre);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--marine-profond);
}

.section--corail .bouton--secondaire {
  color: var(--marine-profond);
  border-color: var(--marine-profond);
}

.section--corail .bouton--secondaire:hover {
  background: var(--marine-profond);
  color: var(--creme);
}

.temoignages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
}

.temoignage {
  display: flex;
  flex-direction: column;
}

/* Le premier avis est mis en grand */
.temoignage:first-child {
  grid-column: 1 / -1;
}

.temoignage:first-child blockquote {
  max-width: 34ch;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.temoignage__etoiles {
  margin-bottom: 1rem;
}

.temoignage blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.temoignage figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}

/* Nom et ancienneté empilés, à droite de la pastille */
.temoignage__auteur {
  min-width: 0;
}

/* Date de publication de l'avis, sous le nom de l'auteur (obligatoire :
   voir « Mettre à jour les avis Google » dans le README) */
.temoignage__date {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
}

.temoignage__initiale {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--marine-profond);
  color: var(--creme);
  font-family: var(--police-titre);
  font-size: 1.1rem;
}

/* Date de dernière synchronisation avec Google */
.avis-maj {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--marine-profond);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.avis-maj a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 900px;
  border-top: 2px solid var(--trait-fort);
}

.faq__item {
  border-bottom: 1px solid var(--trait);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--police-texte);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--creme);
  cursor: pointer;
  list-style: none;
}

.faq__question:hover {
  color: var(--corail-texte);
}

/* Masque le triangle natif de <summary> */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--corail);
  color: var(--marine-profond);
  font: 400 1.5rem/1 var(--police-titre);
}

.faq__item[open] .faq__question::after {
  content: "\2212";
  background: var(--creme);
}

.faq__reponse {
  padding: 0 3.75rem 1.5rem 0;
  color: var(--brume);
}

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

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.coordonnees {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--trait-fort);
}

.coordonnees li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--trait);
  margin: 0;
}

.coordonnees__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brume-douce);
  margin-bottom: 0.15rem;
}

.coordonnees__valeur {
  font-size: 1.125rem;
  color: var(--creme);
}

.coordonnees__valeur a {
  color: var(--creme);
  font-weight: 700;
  text-decoration: none;
}

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

.coordonnees__icone {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--corail-texte);
}

/* Formulaire : champs encadrés, plus lisibles qu'un simple filet pour
   les personnes peu à l'aise avec les formulaires */
.formulaire {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--trait-fort);
}

.champ {
  margin-bottom: 1.35rem;
}

.champ label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--creme);
  font-size: 1.0625rem;
}

.champ__aide {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--brume-douce);
  margin-top: 0.15rem;
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 1.1rem;
  border: 2px solid rgba(251, 251, 246, 0.6);
  border-radius: 0;
  background: rgba(251, 251, 246, 0.06);
  font: 400 1.0625rem var(--police-texte);
  color: var(--creme);
  transition: border-color var(--transition), background-color var(--transition);
}

.champ textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.6;
}

.champ input:hover,
.champ select:hover,
.champ textarea:hover {
  border-color: var(--creme);
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-color: var(--corail);
  background: rgba(251, 251, 246, 0.1);
  outline: 3px solid var(--corail);
  outline-offset: 0;
}

.champ input:user-invalid,
.champ textarea:user-invalid {
  border-color: var(--corail-texte);
  border-width: 3px;
}

.champ--case {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.champ--case input {
  width: 1.35rem;
  height: 1.35rem;
  min-height: 0;
  margin-top: 0.25rem;
  flex-shrink: 0;
  accent-color: var(--corail);
}

.champ--case label {
  font-weight: 400;
  font-size: 1rem;
  color: var(--brume);
}

.champ--case label a {
  color: var(--creme);
}

.champ select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  cursor: pointer;
  /* Flèche dessinée en SVG, aux couleurs du site */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23fbfbf6' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.champ select option {
  background: var(--marine);
  color: var(--creme);
}

/* Groupes de choix (usage, type de matériel…) présentés en pastilles */
.groupe-choix {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.groupe-choix legend {
  margin-bottom: 0.6rem;
  padding: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--creme);
}

.choix {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choix label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

/* La vraie case reste présente pour le clavier et les lecteurs d'écran */
.choix input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* Le style repose sur « case cochée + span voisin », compris par tous les
   navigateurs, y compris les tablettes de plusieurs années */
.choix span {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.6rem 1.15rem;
  border: 2px solid rgba(251, 251, 246, 0.6);
  background: rgba(251, 251, 246, 0.06);
  font-size: 1rem;
  font-weight: 700;
  color: var(--creme);
  transition: border-color var(--transition), background-color var(--transition),
    color var(--transition);
}

.choix label:hover span {
  border-color: var(--creme);
}

.choix input:checked + span {
  border-color: var(--corail);
  background: var(--corail);
  color: var(--marine-profond);
}

/* Coche visible : l'état ne repose pas uniquement sur la couleur */
.choix input:checked + span::before {
  content: "\2713";
  margin-right: 0.4rem;
  font-weight: 700;
}

.choix input:focus-visible + span {
  outline: 3px solid var(--creme);
  outline-offset: 2px;
}

.formulaire__deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

/* Piège à robots : invisible pour les humains, rempli par les spams */
.pot-de-miel {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.formulaire__retour {
  margin-top: 1.25rem;
  padding: 1.1rem 1.3rem;
  font-size: 1rem;
}

.formulaire__retour a {
  color: inherit;
}

.formulaire__retour--succes {
  background: var(--vert-fond);
  border-left: 6px solid #357050;
  color: var(--vert-texte);
}

.formulaire__retour--erreur {
  background: var(--erreur-fond);
  border-left: 6px solid #a84b2a;
  color: var(--erreur-texte);
}

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

/* --------------------------------------------------------------------------
   17. Appel à l'action final : le numéro en très grand
   -------------------------------------------------------------------------- */
.appel .chapo {
  max-width: 46ch;
}

.appel__numero {
  display: inline-block;
  margin: 1.25rem 0 0.75rem;
  color: var(--corail);
  font: 400 clamp(2.3rem, 9vw, 7.5rem)/1 var(--police-titre);
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.appel__numero:hover {
  color: var(--creme);
}

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  border-top: 2px solid var(--trait-fort);
  background: var(--marine-profond);
  color: var(--brume-douce);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 1rem;
}

.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--trait);
}

.pied__logo {
  width: 170px;
  margin-bottom: 1.25rem;
}

.pied h2 {
  font-size: 0.9375rem;
  font-family: var(--police-texte);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--creme);
  margin-bottom: 1.1rem;
}

.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pied li {
  margin-bottom: 0.65rem;
}

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

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

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--brume-douce);
}

/* --------------------------------------------------------------------------
   19. Barre d'action mobile
   Toujours accessible : appeler ou écrire en un geste.
   -------------------------------------------------------------------------- */
.barre-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--marine-profond);
  border-top: 2px solid var(--trait-fort);
}

.barre-mobile .bouton {
  flex: 1;
  min-height: 3.25rem;
  padding-inline: 1rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   20. Pages de contenu (mentions légales, CGV, confidentialité, 404)
   -------------------------------------------------------------------------- */
.page-entete {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 2px solid var(--trait-fort);
}

.page-entete h1 {
  max-width: 16ch;
  margin-bottom: 0.45em;
}

.page-entete p {
  max-width: 62ch;
  margin: 0;
  color: var(--brume);
  font-size: 1.1875rem;
}

.fil-ariane {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--brume-douce);
}

.fil-ariane a {
  color: var(--creme);
}

.contenu-legal h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(25, 56, 79, 0.25);
}

.contenu-legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.contenu-legal h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.contenu-legal ul {
  padding-left: 1.25rem;
}

.contenu-legal a {
  text-decoration-thickness: 2px;
}

.contenu-legal .maj {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  background: var(--brume);
  font-size: 0.95rem;
  color: var(--marine);
}

/* --------------------------------------------------------------------------
   21. Activité matériel
   -------------------------------------------------------------------------- */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--corail-texte);
  text-decoration: none;
}

.lien-fleche:hover {
  color: var(--creme);
  text-decoration: underline;
}

/* Bloc matériel de l'accueil */
.bloc-materiel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.bloc-materiel__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--trait-fort);
}

.bloc-materiel__liste li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--trait);
}

.bloc-materiel__liste strong {
  display: block;
  color: var(--creme);
  font-size: 1.125rem;
}

.bloc-materiel__liste span.texte {
  font-size: 1rem;
  color: var(--brume);
}

.bloc-materiel__pictos {
  flex-shrink: 0;
  color: var(--corail-texte);
  line-height: 1.2;
}

/* Comparatif neuf / reconditionné */
.comparatif {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparatif__carte {
  padding: 1.75rem 1.75rem 1.5rem;
  border: 2px solid var(--trait-fort);
}

.comparatif__carte--mise-en-avant {
  border-color: var(--corail);
  border-width: 3px;
}

.comparatif__garantie {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: var(--corail);
  color: var(--marine-profond);
  font-weight: 700;
  font-size: 0.9375rem;
}

.comparatif__carte ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  color: var(--brume);
}

/* Utilitaires remplaçant les anciens attributs style="…", bloqués par la
   politique de sécurité du serveur (Content-Security-Policy) */
.sans-marge { margin: 0; }
.insecable { white-space: nowrap; }
.marge-haut { margin-top: 2rem; }
.note {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--brume);
}

/* Encadré légal des garanties (article D. 211-2 du code de la consommation) */
.encadre-legal {
  margin: 1rem 0 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--marine);
  background: #fff;
  font-size: 1rem;
}

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

/* --------------------------------------------------------------------------
   Icônes (sprite assets/img/icones.svg)
   -------------------------------------------------------------------------- */
.ico {
  display: inline-block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
}

.atout__icone .ico,
.coordonnees__icone .ico,
.bloc-materiel__pictos .ico {
  width: 1.75rem;
  height: 1.75rem;
}

.surtitre .ico {
  color: var(--corail-texte);
}

/* --------------------------------------------------------------------------
   22. Adaptations aux écrans
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .presentation,
  .contact,
  .bloc-materiel {
    grid-template-columns: 1fr;
  }

  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }

  .temoignage:first-child blockquote {
    max-width: none;
  }
}

/* Le numéro part avant le menu : à lui seul il fait 200 px et faisait
   déborder l'en-tête sur les écrans intermédiaires. Le numéro reste affiché
   dans le bandeau du haut, et dans la barre fixe du bas sur mobile. */
@media (max-width: 1100px) {
  .entete__tel {
    display: none;
  }
}

@media (max-width: 980px) {
  .burger {
    display: inline-flex;
  }

  /* Menu déroulant plein écran sur mobile */
  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--marine-profond);
    border-bottom: 2px solid var(--trait-fort);
    padding: 0.5rem var(--gouttiere) 1.5rem;
    display: none;
  }

  .navigation[data-ouvert="true"] {
    display: block;
  }

  .navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navigation a {
    padding: 1rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--trait);
  }

  .navigation a[aria-current="page"] {
    color: var(--corail-texte);
  }

  .marque__logo {
    width: 130px;
  }

  /* Laisse la place à la barre d'action fixe */
  body {
    padding-bottom: 5rem;
  }

  .barre-mobile {
    display: flex;
  }

  /* Index des services : la ligne passe en colonne */
  .services--index .service {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "num titre"
      ". desc"
      ". liste"
      ". lien";
  }

  .services--index .service h3 {
    margin-bottom: 0.75rem;
  }
}

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

@media (max-width: 640px) {
  /* L'adresse e-mail, insécable, élargissait la page entière */
  .bandeau {
    font-size: 0.875rem;
  }

  .bandeau a {
    white-space: normal;
  }

  .bandeau__contenu {
    gap: 0.25rem 0.9rem;
  }

  .bandeau__separateur {
    display: none;
  }

  .faq__reponse {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .pied__grille {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .formulaire__deux-colonnes {
    grid-template-columns: 1fr;
  }

  .actions,
  .actions .bouton {
    width: 100%;
  }

  .services--index .service {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .hero__lieu {
    letter-spacing: 0.08em;
  }

  .communes li:not(:last-child)::after {
    padding-inline: 0.25em;
  }
}

/* --------------------------------------------------------------------------
   23. Impression : fond blanc, texte noir, pas de décor
   -------------------------------------------------------------------------- */
@media print {
  .bandeau,
  .entete,
  .barre-mobile,
  .actions,
  .formulaire,
  .bande-photos {
    display: none !important;
  }

  html,
  body,
  .section,
  .section--profond,
  .section--filet,
  .section--corail,
  .section--clair,
  .pied {
    background: #fff !important;
    color: #000 !important;
  }

  h1,
  h2,
  h3,
  p,
  li,
  a,
  .surtitre,
  .chapo,
  .chiffres__valeur,
  .chiffres__libelle,
  .appel__numero {
    color: #000 !important;
  }

  body {
    font-size: 11pt;
    padding-bottom: 0;
  }

  .section {
    padding-block: 1rem;
    break-inside: avoid;
  }
}
