/* Pages Ravalement et Zone d'intervention (refonte SEO du 01/11/2026), et les liens ajoutés sur l'accueil.
   Fichier à part : styles.css dépasse déjà 1 600 lignes. Mêmes jetons de couleur que styles.css. */

/* ---------- Liens dans le texte et sous les cartes ---------- */
.lien-texte {
  color: var(--accent-texte);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lien-texte:hover { color: var(--accent); }

.card-service__lien {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--accent-texte);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-service__lien::after { content: " →"; }
.card-service__lien:hover { color: var(--accent); }

.specialite__lien { margin-top: 30px; }

.footer__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
}
.footer__pages a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Fil d'Ariane, posé dans le héros sombre ---------- */
.fil { margin-bottom: 18px; }
.fil ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--texte-clair);
}
.fil li + li::before { content: "›"; margin: 0 9px; opacity: 0.7; }
.fil a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.fil [aria-current] { color: var(--blanc); font-weight: 600; }

.hero__proof a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Héros sans image (page Zone) : une seule colonne */
.hero--simple .hero__inner { grid-template-columns: minmax(0, 760px); }

/* ---------- Texte et photo côte à côte ---------- */
.page-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.page-duo__texte h3 { font-size: 1.3rem; margin-bottom: 10px; }
.page-duo__texte > p { color: var(--texte-muet); }

/* ---------- Cartes de finition et phrase des marques ---------- */
.page-finitions { background: var(--blanc); }
.page-cartes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.page-cartes h3 { margin-bottom: 8px; }
.page-cartes p { color: var(--texte-muet); }
.page-marques {
  margin-top: 26px;
  max-width: 70ch;
  color: var(--texte-muet);
}
.page-carte { margin-top: 22px; }

/* ---------- Page Zone : communes, travaux, étapes ---------- */
.communes, .travaux {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.communes li {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-sm);
  padding: 14px 16px;
  font-weight: 600;
}
.communes__base { border-left: 4px solid var(--accent) !important; }
.communes__base span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--texte-muet);
}
.travaux a {
  display: block;
  height: 100%;
  background: var(--ivoire);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-sm);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--texte);
  transition: border-color var(--transition), color var(--transition);
}
.travaux a::after { content: " →"; color: var(--accent-texte); }
.travaux a:hover { border-color: var(--accent); color: var(--accent-texte); }

.etapes {
  list-style: none;
  counter-reset: etape;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.etapes li {
  counter-increment: etape;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px 22px;
  color: var(--texte-muet);
}
.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--blanc);
  font-weight: 700;
}
.etapes strong { display: block; color: var(--texte); margin-bottom: 4px; }

@media (max-width: 860px) {
  .page-duo, .page-cartes, .etapes { grid-template-columns: 1fr; }
}

/* ---------- Bandeau des marques qui défile (01/11) ----------
   Noms en texte : les logos attendent l'accord écrit de chaque marque (décision du 28/10).
   Bande marine pleine largeur, noms en blanc, usage en bleu clair (6,4:1 sur marine). */
.marques--defile { padding-bottom: 0; }
.marques--defile .marques__tete { margin-bottom: 30px; }
.defile {
  background: var(--marine);
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) 0;
}
.defile__piste {
  display: flex;
  width: max-content;
  animation: defile 34s linear infinite;
}
.defile:hover .defile__piste { animation-play-state: paused; }
.defile__liste {
  list-style: none;
  display: flex;
  align-items: baseline;
  flex: none;
}
.defile__liste li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-right: clamp(36px, 5vw, 64px);
  white-space: nowrap;
}
.defile__liste li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: clamp(24px, 3.5vw, 52px);
  align-self: center;
  background: var(--accent-sombre);
  transform: rotate(45deg);
}
.defile__nom {
  color: var(--blanc);
  font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.defile__usage {
  color: var(--accent-sombre);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 600;
}
@keyframes defile { to { transform: translateX(-50%); } }

/* Animations réduites : bande immobile, noms centrés sur plusieurs lignes, sans la copie */
@media (prefers-reduced-motion: reduce) {
  .defile__piste { animation: none; width: auto; justify-content: center; }
  .defile__liste { flex-wrap: wrap; justify-content: center; row-gap: 16px; padding: 0 22px; }
  .defile__liste[aria-hidden="true"] { display: none; }
}
