/* ============================================================
   TitanPipe — la source de style. dist/style.css en est une COPIE
   ecrasee a chaque rendu : ne jamais editer dist/.

   Huit jetons de couleur, aucun autre. Pas un seul hex en dur :
   les couleurs arrivent de la palette du site par --marque,
   --accent, --fond, --fond-2, --texte, --texte-doux, --bordure et
   --sur-marque (calcule par le moteur, jamais choisi).
   ============================================================ */

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

:root {
  --wr: 1240px;
  --pad: 24px;
  --r: 14px;
  --r-g: 22px;
  --sct: 104px;
  --pol-t: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pol-x: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Header/zones sombres : TOUJOURS foncé (teinté marque mais plancher near-black) pour garantir
     le contraste du texte blanc, quelle que soit la palette du site (accent clair inclus). */
  --sombre: color-mix(in srgb, var(--marque) 42%, #0b1220);
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--pol-x);
  font-size: 16px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--pol-t); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin: 0; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wr { width: 100%; max-width: var(--wr); margin: 0 auto; padding: 0 var(--pad); }
.sct { padding: var(--sct) 0; }
.sct + .sct { padding-top: 0; }

/* ---------- pieces communes ---------- */

.eb {
  font-family: var(--pol-x);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eb::before { content: ''; width: 26px; height: 2px; background: var(--marque); flex: none; }

.tt { font-size: clamp(28px, 4vw, 46px); }
.tt--fort { font-size: clamp(30px, 4.6vw, 56px); }
.tt--geant { font-size: clamp(36px, 6.4vw, 82px); letter-spacing: -.035em; }
.tt--pt { font-size: clamp(20px, 2.2vw, 26px); }
.tt__a { font-style: normal; color: var(--marque); }
/* #3 : sur le HERO (voile sombre), l'accent en couleur de marque devient illisible
   (« Calais » violet foncé sur fond sombre). On l'éclaircit pour garder la teinte tout
   en restant lisible sur l'image sombre. */
.tp-hr .tt__a { color: color-mix(in srgb, var(--marque) 42%, #fff); }
.tt--fort .tt__a, .tt--geant .tt__a { display: inline; }

.ch { font-size: 17px; color: var(--texte-doux); max-width: 62ch; margin: 18px 0 0; }

.pc { display: grid; gap: 8px; margin: 16px 0 0; }
.pc li { position: relative; padding-left: 22px; color: var(--texte-doux); font-size: 15px; }
.pc li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 10px; height: 2px; background: var(--marque);
}
.pc--fin li { font-size: 14px; }

.tg { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tg li {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--bordure); border-radius: 999px; color: var(--texte-doux);
}

.mn { margin: 20px 0 0; font-size: 13px; color: var(--texte-doux); }

.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--pol-x); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, color .18s ease;
  margin-top: 24px;
}
.bt:hover { transform: translateY(-2px); }
.bt--or { background: var(--marque); color: var(--sur-marque); }
.bt--clair { background: transparent; color: var(--texte); border-color: var(--bordure); }
.bt--clair:hover { border-color: var(--texte); }
.bt--fin { padding: 11px 22px; border-radius: 999px; border-color: currentColor; margin-top: 0; }
.bt--nu { opacity: .75; cursor: default; }
.bt--nu:hover { transform: none; }

/* Une vue : l image, ou un cadre nu qui conserve l intitule. */
.ig { display: block; width: 100%; height: 100%; object-fit: cover; }
.ig--nu {
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: var(--fond-2); border: 1px dashed var(--bordure); color: var(--texte-doux);
}
.ig--nu i { font-style: normal; font-size: 12px; text-align: center; line-height: 1.4; }

/* ---------- formulaires ---------- */

.fm { display: grid; gap: 14px; }
.fm__c { margin: 0; display: grid; gap: 6px; min-width: 0; }
.fm__lb { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-doux); }
.fm__i {
  font-family: inherit; font-size: 15px; color: var(--texte); background: var(--fond);
  border: 1px solid var(--bordure); border-radius: 10px; padding: 13px 14px; width: 100%;
}
.fm__i:focus { outline: 2px solid var(--marque); outline-offset: 1px; }
.fm__b .bt { margin-top: 4px; width: 100%; }

/* ---------- entete : barre sombre, navigation centree ---------- */

.tp-hd {
  position: sticky; top: 0; z-index: 60;
  background: var(--sombre);
  border-bottom: 1px solid rgb(255 255 255 / .12);
}
/* Sur une page a affiche, l entete se pose SUR la photo : c est la
   signature du modele. Ailleurs, elle reste une barre pleine. */
/* #5 : l'entête posée sur la photo restait invisible (texte blanc sur zones claires, ex. pages
   service où le voile démarre plus bas). On ajoute un dégradé sombre en haut = l'entête + la marque
   restent lisibles PARTOUT, sans casser la signature « header sur la photo ». */
body:has(.tp-hr) .tp-hd { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgb(0 0 0 / .45), rgb(0 0 0 / 0)); border-bottom-color: transparent; }

.tp-hd__k { position: absolute; opacity: 0; pointer-events: none; }
.tp-hd__in {
  max-width: var(--wr); margin: 0 auto; padding: 0 var(--pad);
  min-height: 82px; display: flex; align-items: center; gap: 20px;
}
.tp-hd__m {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0;
  font-family: var(--pol-t); font-size: 19px; font-weight: 700; letter-spacing: -.02em;
  color: #fff; text-decoration: none; flex: none;
}
.tp-hd__lg { width: 38px; height: 38px; flex: none; border-radius: 8px; object-fit: contain; background: #fff; padding: 3px; }
/* Nom + descripteur empilés à côté du logo (« DORIA » / « Rénovation toiture · Metz »). */
.tp-hd__id { display: inline-flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.tp-hd__nom { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.tp-hd__sub { font-size: 11.5px; font-weight: 500; color: rgb(255 255 255 / .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 460px) { .tp-hd__sub { display: none; } } /* mobile étroit : on masque le descripteur (le nom + logo suffisent) */
.tp-hd__pts {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--marque) 3px, transparent 3.5px),
    radial-gradient(circle at 70% 30%, var(--marque) 3px, transparent 3.5px),
    radial-gradient(circle at 30% 70%, var(--marque) 3px, transparent 3.5px),
    radial-gradient(circle at 70% 70%, var(--marque) 3px, transparent 3.5px);
  border: 1px solid rgb(255 255 255 / .3);
}
.tp-hd__d { margin-left: auto; flex: none; }
.tp-hd__d .bt--fin { color: #fff; }
.tp-hd__d .bt--fin:hover { background: var(--marque); color: var(--sur-marque); border-color: var(--marque); }

.tp-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.tp-nav__u { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.tp-nav__i { position: relative; }
.tp-nav__t { display: inline-flex; align-items: center; gap: 6px; }
.tp-nav__l {
  display: inline-block; padding: 12px 12px; font-size: 14.5px; font-weight: 500;
  color: rgb(255 255 255 / .82); text-decoration: none; white-space: nowrap;
}
.tp-nav__i:hover > .tp-nav__t .tp-nav__l,
.tp-nav__i:focus-within > .tp-nav__t .tp-nav__l { color: color-mix(in srgb, var(--accent) 55%, #fff); }
/* Le chevron dit qu il y a un volet : jamais un volet sans chevron. */
.tp-nav__ch {
  width: 8px; height: 8px; flex: none; margin-left: -2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  color: rgb(255 255 255 / .6); transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease, color .2s ease;
}
.tp-nav__i--v:hover .tp-nav__ch, .tp-nav__i--v:focus-within .tp-nav__ch {
  color: var(--marque); transform: rotate(-135deg) translate(-3px, -3px);
}

/* Le volet. Le decalage de recadrage passe par --dx (pose par app.js),
   et l espace sous la tete est un PADDING : une marge creerait un trou
   ou le survol se perdrait, et le volet se fermerait. */
.tp-vol__p {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(calc(-50% + var(--dx, 0px)));
  padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
  z-index: 70;
}
.tp-nav__i--v:hover > .tp-vol__p,
.tp-nav__i--v:focus-within > .tp-vol__p { opacity: 1; visibility: visible; pointer-events: auto; }
.tp-vol__in {
  display: flex; gap: 28px; align-items: stretch;
  min-width: 640px; max-width: min(920px, calc(100vw - 32px));
  padding: 26px; border-radius: var(--r-g);
  background: var(--fond); border: 1px solid var(--bordure);
  box-shadow: 0 26px 60px rgb(0 0 0 / .22);
}
.tp-vol__cols { display: flex; flex-wrap: wrap; gap: 26px; flex: 1 1 auto; min-width: 0; }
.tp-vol__col { flex: 1 1 190px; min-width: 0; }
.tp-vol__ct {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marque); margin: 0 0 12px;
}
.tp-vol__col ul { display: grid; gap: 4px; }
.tp-vol__col a {
  display: block; padding: 7px 10px; margin-left: -10px; border-radius: 8px;
  font-size: 14.5px; color: var(--texte); text-decoration: none;
}
.tp-vol__col a:hover { background: var(--fond-2); color: var(--marque); }
/* La vitrine laterale : le volet montre toujours quelque chose. */
.tp-vol__vt {
  flex: 0 0 240px; min-width: 0; border-radius: var(--r);
  overflow: hidden; background: var(--fond-2); border: 1px solid var(--bordure);
  display: flex; flex-direction: column;
}
.tp-vol__ig { height: 148px; }
.tp-vol__vtx { padding: 14px 16px 16px; }
.tp-vol__vti { font-family: var(--pol-t); font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.tp-vol__vte { font-size: 13px; color: var(--texte-doux); margin: 0; }

.tp-hd__bg { display: none; }

/* ---------- affiche ---------- */

.tp-hr { position: relative; color: #fff; isolation: isolate; }
.tp-hr__ph { position: absolute; inset: 0; z-index: 0; }
.tp-hr__ig { height: 100%; }
.tp-hr__ph .ig--nu { background: var(--sombre); color: rgb(255 255 255 / .5); border-color: rgb(255 255 255 / .2); }
.tp-hr__voile {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .46) 42%, rgb(0 0 0 / .68) 100%);
}
.tp-hr__in {
  position: relative; z-index: 2;
  max-width: var(--wr); margin: 0 auto; padding: 172px var(--pad) 92px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 44px;
}
.tp-hr__tx { flex: 1 1 520px; min-width: 0; }
.tp-hr__tx .eb { color: rgb(255 255 255 / .8); }
.tp-hr__s { font-size: 18px; color: rgb(255 255 255 / .84); max-width: 54ch; margin: 22px 0 0; }
.tp-hr__b { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-hr__b .bt--clair { color: #fff; border-color: rgb(255 255 255 / .55); }
.tp-hr__b .bt--clair:hover { background: #fff; color: var(--texte); }
/* La carte blanche flottante, posee sur la photo. */
.tp-hr__u {
  flex: 1 1 330px; min-width: 0; display: grid; gap: 2px;
  background: var(--fond); color: var(--texte);
  border-radius: var(--r-g); padding: 8px; box-shadow: 0 24px 60px rgb(0 0 0 / .28);
}
.tp-hr__a { padding: 18px 20px; border-radius: var(--r); }
.tp-hr__a + .tp-hr__a { border-top: 1px solid var(--bordure); }
.tp-hr__at { font-family: var(--pol-t); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.tp-hr__ax { font-size: 14px; color: var(--texte-doux); margin: 0; }

/* ---------- bandeau typographique ---------- */

.tp-mq { background: var(--sombre); color: #fff; padding: 22px 0; overflow: hidden; }
.tp-mq__piste { display: flex; min-width: 0; }
.tp-mq__u {
  display: flex; align-items: center; gap: 46px; flex-wrap: nowrap;
  min-width: 0; padding: 0 24px;
  animation: tp-defile 32s linear infinite;
}
.tp-mq__u li {
  font-family: var(--pol-t); font-size: clamp(20px, 2.6vw, 34px); font-weight: 700;
  letter-spacing: -.02em; white-space: nowrap; color: rgb(255 255 255 / .34);
}
.tp-mq__u li:nth-child(3n+1) { color: var(--marque); }
@keyframes tp-defile { from { transform: translateX(0); } to { transform: translateX(-14%); } }
@media (prefers-reduced-motion: reduce) { .tp-mq__u { animation: none; } }

/* ---------- intro ---------- */

.tp-io__in { display: flex; flex-wrap: wrap; gap: 52px; align-items: flex-start; }
.tp-io__g { flex: 1 1 480px; min-width: 0; }
.tp-io__d { flex: 1 1 340px; min-width: 0; font-size: 17px; color: var(--texte-doux); }

/* ---------- services : grands panneaux alternes ---------- */

.tp-sv__h { display: flex; flex-wrap: wrap; gap: 24px 46px; align-items: flex-end; margin-bottom: 48px; }
.tp-sv__h > * { min-width: 0; }
.tp-sv__h .tt { flex: 1 1 460px; }
.tp-sv__h .ch { flex: 1 1 320px; margin-top: 0; }
.tp-sv__l { display: grid; gap: 22px; }
.tp-sv__c {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
  border-radius: var(--r-g); overflow: hidden; background: var(--sombre); color: #fff;
}
.tp-sv__c--inv { flex-direction: row-reverse; }
/* La base est donnee en pixels, pas en pourcentage : un pourcentage de 46 %
   tient toujours a deux sur une ligne, meme a 360px, et laisse une colonne de
   texte de 110px. Avec une base de 340px, le panneau se replie de lui-meme des
   que la place manque, sans requete de media. */
.tp-sv__ph { flex: 1 1 340px; min-width: 0; min-height: 300px; position: relative; }
.tp-sv__ig { position: absolute; inset: 0; }
.tp-sv__tx { flex: 1 1 340px; min-width: 0; padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.tp-sv__n {
  font-family: var(--pol-t); font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--marque); margin: 0 0 14px;
}
.tp-sv__t { font-size: clamp(24px, 2.6vw, 34px); }
.tp-sv__x { font-size: 15px; color: rgb(255 255 255 / .74); margin: 14px 0 0; }
.tp-sv__tx .pc li { color: rgb(255 255 255 / .7); }
.tp-sv__tx .bt--clair { color: #fff; border-color: rgb(255 255 255 / .4); align-self: flex-start; }
.tp-sv__tx .bt--clair:hover { background: var(--marque); color: var(--sur-marque); border-color: var(--marque); }

/* ---------- blocs SEO ---------- */

.tp-bs__l { display: grid; gap: 74px; }
.tp-bs__b { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tp-bs__b--inv { flex-direction: row-reverse; }
.tp-bs__tx { flex: 1 1 420px; min-width: 0; }
.tp-bs__tx p { color: var(--texte-doux); }
.tp-bs__ph {
  flex: 1 1 380px; min-width: 0; margin: 0; border-radius: var(--r-g); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--fond-2);
}
/* Les deux CTA (devis + téléphone additif) posés côte à côte, sans casser l'alignement. */
.tp-bs__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- expertise : mosaique sur filigrane ---------- */

.tp-ex { position: relative; overflow: hidden; }
.tp-ex__fg {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  font-family: var(--pol-t); font-weight: 700; font-size: clamp(90px, 17vw, 250px);
  letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap;
  color: var(--fond-2); z-index: 0; pointer-events: none; line-height: 1;
}
.tp-ex__in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tp-ex__g { flex: 1 1 400px; min-width: 0; }
.tp-ex__x { font-size: 17px; color: var(--texte-doux); margin: 20px 0 0; }
.tp-ex__d { flex: 1 1 400px; min-width: 0; display: grid; gap: 18px; }
.tp-ex__ph { margin: 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 16 / 10; background: var(--fond-2); }
.tp-ex__ps { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-ex__p {
  flex: 1 1 210px; min-width: 0; padding: 22px;
  border-radius: var(--r); background: var(--fond); border: 1px solid var(--bordure);
}
.tp-ex__p:first-child { background: var(--marque); border-color: var(--marque); color: var(--sur-marque); }
.tp-ex__p:first-child p { color: inherit; opacity: .8; }
.tp-ex__pt { font-size: 17px; margin: 0 0 8px; }
.tp-ex__p p { font-size: 14px; color: var(--texte-doux); margin: 0; }

/* ---------- chiffres ---------- */

.tp-ch__u { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-ch__c {
  flex: 1 1 200px; min-width: 0; padding: 30px 26px; border-radius: var(--r-g);
  background: var(--fond-2); border: 1px solid var(--bordure); display: grid; gap: 6px;
}
.tp-ch__c:nth-child(2) { background: var(--marque); border-color: var(--marque); color: var(--sur-marque); }
.tp-ch__v { font-family: var(--pol-t); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1; }
.tp-ch__l { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.tp-ch__c:nth-child(2) .tp-ch__l { color: inherit; opacity: .78; }

/* ---------- confiance : colonnes a filets ---------- */

.tp-wu__h { max-width: 760px; margin-bottom: 46px; }
.tp-wu__l { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--bordure); }
.tp-wu__c { flex: 1 1 240px; min-width: 0; padding: 34px 28px; border-bottom: 1px solid var(--bordure); }
.tp-wu__c + .tp-wu__c { border-left: 1px solid var(--bordure); }
.tp-wu__t { font-size: 19px; }
.tp-wu__x { font-size: 15px; color: var(--texte-doux); margin: 12px 0 0; }
.tp-wu__ph { margin: 34px 0 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 21 / 8; background: var(--fond-2); }

/* ---------- procede : cartes en escalier ---------- */

.tp-pr__h { max-width: 720px; margin-bottom: 46px; }
.tp-pr__l { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.tp-pr__c {
  flex: 1 1 260px; min-width: 0; padding: 30px 26px 26px;
  border: 1px solid var(--bordure); border-radius: var(--r-g); background: var(--fond);
}
.tp-pr__c:nth-child(even) { margin-top: 44px; background: var(--fond-2); }
.tp-pr__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--sombre); color: #fff;
  font-family: var(--pol-t); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 18px;
}
.tp-pr__t { font-size: 19px; }
.tp-pr__x { font-size: 15px; color: var(--texte-doux); margin: 12px 0 0; }
.tp-pr__ph { margin: 18px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--fond-2); }

/* ---------- matiere : carrousel a fleches rondes ---------- */

.tp-mat__h { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.tp-mat__h > * { min-width: 0; }
.tp-mat__fl { display: flex; gap: 10px; flex: none; }
.tp-mat__f {
  width: 48px; height: 48px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid var(--bordure); background: var(--fond-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.tp-mat__f:hover { background: var(--marque); border-color: var(--marque); }
.tp-mat__f i {
  width: 9px; height: 9px; display: block;
  border-top: 2px solid var(--texte); border-right: 2px solid var(--texte);
}
.tp-mat__f[data-pas="-1"] i { transform: rotate(-135deg) translate(-1px, -1px); }
.tp-mat__f[data-pas="1"] i { transform: rotate(45deg) translate(-1px, -1px); }
.tp-mat__piste {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin;
}
.tp-mat__c { flex: 0 0 clamp(230px, 27vw, 320px); min-width: 0; scroll-snap-align: start; }
.tp-mat__ph { margin: 0 0 16px; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 3 / 4; background: var(--fond-2); }
.tp-mat__t { font-size: 18px; }
.tp-mat__x { font-size: 14px; color: var(--texte-doux); margin: 8px 0 0; }

/* ---------- publics ---------- */

.tp-b2__h { max-width: 720px; margin-bottom: 44px; }
.tp-b2__l { display: flex; flex-wrap: wrap; gap: 20px; }
.tp-b2__c {
  flex: 1 1 300px; min-width: 0; border: 1px solid var(--bordure); border-radius: var(--r-g);
  overflow: hidden; background: var(--fond); display: flex; flex-direction: column;
}
.tp-b2__ph { margin: 0; aspect-ratio: 16 / 10; background: var(--fond-2); }
.tp-b2__tx { padding: 26px; }
.tp-b2__m { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); margin: 0 0 10px; }
.tp-b2__t { font-size: 20px; }
.tp-b2__x { font-size: 15px; color: var(--texte-doux); margin: 12px 0 0; }

/* ---------- communes autour ---------- */

.tp-za__h { max-width: 720px; margin-bottom: 40px; }
.tp-za__l { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-za__c { flex: 1 1 220px; min-width: 0; }
.tp-za__a { display: block; text-decoration: none; }
.tp-za__ph { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fond-2); }
.tp-za__tx { padding: 14px 2px 0; }
.tp-za__g { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); }
.tp-za__t { font-size: 17px; margin-top: 6px; }
.tp-za__lb { display: block; font-size: 13px; color: var(--texte-doux); margin-top: 4px; }
.tp-za__a:hover .tp-za__t { color: var(--marque); }

/* ---------- ancrage local ---------- */

.tp-ul__in { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.tp-ul__g { flex: 1 1 340px; min-width: 0; }
.tp-ul__ad { font-style: normal; display: grid; gap: 4px; margin: 22px 0 0; font-size: 16px; color: var(--texte-doux); }
.tp-ul__ph { flex: 1 1 420px; min-width: 0; margin: 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 16 / 10; background: var(--fond-2); }

/* ---------- avis ---------- */

.tp-av { background: var(--sombre); color: #fff; padding: var(--sct) 0; }
.tp-av + .sct { padding-top: var(--sct); }
.tp-av__h { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.tp-av__h .eb { justify-content: center; color: rgb(255 255 255 / .72); }
.tp-av__h .ch { color: rgb(255 255 255 / .74); margin-left: auto; margin-right: auto; }
.tp-av__l { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; justify-content: center; }
.tp-av__c {
  flex: 1 1 280px; min-width: 0; padding: 30px 26px; border-radius: var(--r-g);
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14);
}
/* Le portrait central est le plus grand : c est le releve du modele. */
.tp-av__c--vedette { background: var(--marque); border-color: var(--marque); color: var(--sur-marque); flex-basis: 340px; }
.tp-av__pt {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--pol-t); font-weight: 700; font-size: 20px;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .26);
}
.tp-av__c--vedette .tp-av__pt { background: rgb(0 0 0 / .12); border-color: rgb(0 0 0 / .2); }
.tp-av__e { display: block; letter-spacing: .3em; color: var(--marque); margin-bottom: 10px; }
.tp-av__c--vedette .tp-av__e { color: inherit; }
.tp-av__t { font-size: 18px; }
.tp-av__x { font-size: 15px; margin: 12px 0 0; color: rgb(255 255 255 / .78); }
.tp-av__c--vedette .tp-av__x { color: inherit; opacity: .82; }
.tp-av__n { margin: 20px 0 0; font-family: var(--pol-t); font-weight: 700; font-size: 15px; }
.tp-av__r { display: block; font-family: var(--pol-x); font-weight: 400; font-size: 13px; opacity: .7; margin-top: 2px; }

/* ---------- questions ---------- */

.tp-fq__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.tp-fq__g { flex: 1 1 360px; min-width: 0; }
.tp-fq__d2 { flex: 1 1 460px; min-width: 0; display: grid; gap: 12px; }
.tp-fq__en { margin-top: 30px; padding: 24px; border-radius: var(--r-g); background: var(--fond-2); border: 1px solid var(--bordure); }
.tp-fq__ent { font-family: var(--pol-t); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.tp-fq__enx { font-size: 14px; color: var(--texte-doux); margin: 0; }
.tp-fq__d { border: 1px solid var(--bordure); border-radius: var(--r); background: var(--fond); padding: 4px 22px; }
.tp-fq__d[open] { border-color: var(--marque); }
.tp-fq__q {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--pol-t); font-weight: 700; font-size: 17px; line-height: 1.35;
}
.tp-fq__q::-webkit-details-marker { display: none; }
.tp-fq__q::after,
.tp-fq__q::before { content: ''; position: absolute; right: 4px; top: 50%; background: var(--texte); }
.tp-fq__q::before { width: 14px; height: 2px; margin-top: -1px; }
.tp-fq__q::after { width: 2px; height: 14px; margin-top: -7px; right: 10px; transition: opacity .2s ease; }
.tp-fq__d[open] .tp-fq__q::after { opacity: 0; }
.tp-fq__r { padding: 0 0 20px; font-size: 15px; color: var(--texte-doux); }

/* ---------- avant / apres ---------- */

.tp-ab__h { max-width: 720px; margin-bottom: 44px; }
/* #9 : en flex 1 1 380px, 2 cartes s'étiraient sur une ligne et la 3ᵉ seule prenait toute la
   largeur (« 2 + 1 gros »). En grid auto-fit, les cartes restent de MÊME taille sur une ligne. */
.tp-ab__l { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tp-ab__c { min-width: 0; }
.cm {
  position: relative; margin: 0; border-radius: var(--r-g); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--fond-2); touch-action: pan-y;
}
.cm__f { position: absolute; inset: 0; display: block; }
.cm__f--b { clip-path: inset(0 0 0 var(--pos, 50%)); }
.cm__ig { height: 100%; }
.cm__t {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px; background: var(--marque); z-index: 3;
}
.cm__t::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--marque);
  box-shadow: 0 6px 18px rgb(0 0 0 / .3);
}
.cm__lb {
  position: absolute; bottom: 16px; z-index: 4; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgb(0 0 0 / .62); color: #fff;
}
.cm__lb--a { left: 16px; }
.cm__lb--b { right: 16px; }
/* Le curseur couvre le cadre : souris, tactile et clavier agissent tous
   sur la meme commande. Deux vignettes cote a cote ne seraient pas conformes. */
.ab__i {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; opacity: 0; cursor: ew-resize;
}
/* La commande est invisible mais reste cliquable : le repere visuel est la
   poignee dessinee par .cm__t, et le focus se marque sur le cadre. */
.cm:has(.ab__i:focus-visible) { outline: 3px solid var(--marque); outline-offset: 2px; }
.ab__i::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; border-radius: 50%; background: transparent; cursor: ew-resize; }
.ab__i::-moz-range-thumb { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: ew-resize; }
.tp-ab__tx { padding-top: 18px; }
.tp-ab__t { font-size: 20px; }
.tp-ab__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }

/* ---------- chantiers ---------- */

.tp-rz__h { max-width: 720px; margin-bottom: 44px; }
.tp-rz__l { display: flex; flex-wrap: wrap; gap: 20px; }
.tp-rz__c { flex: 1 1 300px; min-width: 0; }
.tp-rz__ph { margin: 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fond-2); }
.tp-rz__tx { padding: 16px 2px 0; }
.tp-rz__m { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); margin: 0 0 8px; }
.tp-rz__t { font-size: 19px; }
.tp-rz__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }

/* ---------- garanties ---------- */

.tp-cf__in { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.tp-cf__g { flex: 1 1 360px; min-width: 0; }
.tp-cf__x { font-size: 16px; color: var(--texte-doux); margin: 20px 0 0; }
.tp-cf__l { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.tp-cf__c {
  flex: 1 1 220px; min-width: 0; padding: 24px; border-radius: var(--r);
  background: var(--fond-2); border: 1px solid var(--bordure);
}
.tp-cf__t { font-size: 17px; margin-bottom: 8px; }
.tp-cf__c p { font-size: 14px; color: var(--texte-doux); margin: 0; }

/* ---------- aides ---------- */

.tp-ai__h { max-width: 720px; margin-bottom: 40px; }
.tp-ai__l { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-ai__c {
  flex: 1 1 260px; min-width: 0; padding: 26px; border-radius: var(--r-g);
  border: 1px solid var(--bordure); background: var(--fond);
}
.tp-ai__t { font-size: 18px; }
.tp-ai__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }

/* ---------- reperes de prix ---------- */

.tp-tf__h { max-width: 720px; margin-bottom: 40px; }
.tp-tf__l { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-tf__c {
  flex: 1 1 260px; min-width: 0; padding: 30px 26px; border-radius: var(--r-g);
  border: 1px solid var(--bordure); background: var(--fond); display: flex; flex-direction: column;
}
.tp-tf__c:nth-child(2) { border-color: var(--marque); border-width: 2px; }
.tp-tf__t { font-size: 19px; }
.tp-tf__p { font-family: var(--pol-t); font-weight: 700; font-size: 30px; letter-spacing: -.03em; margin: 14px 0 0; }
.tp-tf__u { font-family: var(--pol-x); font-weight: 400; font-size: 13px; color: var(--texte-doux); margin-left: 6px; }
.tp-tf__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }
.tp-tf__c .bt { margin-top: auto; }

/* ---------- urgence ---------- */

.tp-ur__in {
  display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: space-between;
  padding: 44px; border-radius: var(--r-g); background: var(--marque); color: var(--sur-marque);
}
.tp-ur__g { flex: 1 1 380px; min-width: 0; }
.tp-ur__in .eb { color: inherit; opacity: .72; }
.tp-ur__in .eb::before { background: currentColor; }
.tp-ur__x { font-size: 16px; margin: 16px 0 0; opacity: .82; }
.tp-ur__d { flex: 1 1 260px; min-width: 0; }
.tp-ur__d .pc li { color: inherit; opacity: .84; }
.tp-ur__d .pc li::before { background: currentColor; }
.tp-ur__tel { font-family: var(--pol-t); font-weight: 700; font-size: 26px; margin: 16px 0 0; }
.tp-ur__d .bt--or { background: var(--sombre); color: #fff; }

/* ---------- facettes ---------- */

.tp-fc { padding: 30px 0 0; }
.tp-fc__in { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; justify-content: space-between; }
.tp-fc__h { min-width: 0; }
.tp-fc__h .eb { margin-bottom: 8px; }
.tp-fc__u { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.tp-fc__l {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--bordure); color: var(--texte-doux); text-decoration: none;
}
a.tp-fc__l:hover { border-color: var(--texte); color: var(--texte); }
.tp-fc__l--on { background: var(--marque); border-color: var(--marque); color: var(--sur-marque); font-weight: 600; }

/* ---------- grille de references ---------- */

.tp-gp__h { max-width: 720px; margin-bottom: 40px; }
.tp-gp__l { display: flex; flex-wrap: wrap; gap: 20px; }
.tp-gp__c {
  flex: 1 1 280px; min-width: 0; border: 1px solid var(--bordure); border-radius: var(--r-g);
  overflow: hidden; background: var(--fond); display: flex; flex-direction: column;
}
.tp-gp__ph { margin: 0; aspect-ratio: 4 / 3; background: var(--fond-2); }
.tp-gp__tx { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.tp-gp__t { font-size: 19px; }
.tp-gp__t a { text-decoration: none; }
.tp-gp__t a:hover { color: var(--marque); }
.tp-gp__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }
.tp-gp__p { font-family: var(--pol-t); font-weight: 700; font-size: 22px; margin: 16px 0 0; }
.tp-gp__u { font-family: var(--pol-x); font-weight: 400; font-size: 13px; color: var(--texte-doux); margin-left: 6px; }
.tp-gp__c .bt { margin-top: auto; align-self: flex-start; }

/* ---------- fiche de reference ---------- */

.tp-fp__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.tp-fp__ph { flex: 1 1 420px; min-width: 0; margin: 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fond-2); }
.tp-fp__tx { flex: 1 1 380px; min-width: 0; }
.tp-fp__p { font-family: var(--pol-t); font-weight: 700; font-size: 34px; letter-spacing: -.03em; margin: 22px 0 0; }
.tp-fp__u { font-family: var(--pol-x); font-weight: 400; font-size: 14px; color: var(--texte-doux); margin-left: 8px; }

/* ---------- caracteristiques ---------- */

.tp-sp__h { margin-bottom: 30px; }
.tp-sp__l { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--bordure); }
.tp-sp__r {
  flex: 1 1 320px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--bordure);
}
.tp-sp__r dt { color: var(--texte-doux); font-size: 14px; min-width: 0; }
.tp-sp__r dd { margin: 0; font-weight: 600; font-size: 15px; min-width: 0; }

/* ---------- maillage interne ---------- */

.tp-mi__h { max-width: 720px; margin-bottom: 40px; }
.tp-mi__l { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-mi__c { flex: 1 1 280px; min-width: 0; }
.tp-mi__a { display: block; text-decoration: none; height: 100%; }
.tp-mi__ph { margin: 0 0 14px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--fond-2); }
.tp-mi__tx { min-width: 0; }
.tp-mi__m { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); margin: 0 0 6px; }
.tp-mi__t { font-size: 18px; }
.tp-mi__x { font-size: 14px; color: var(--texte-doux); margin: 8px 0 0; }
.tp-mi__a:hover .tp-mi__t { color: var(--marque); }

/* ---------- bandeau d appel ---------- */

.tp-cb { position: relative; color: #fff; isolation: isolate; margin-top: var(--sct); }
.tp-cb__ph { position: absolute; inset: 0; z-index: 0; }
.tp-cb__ph .ig { height: 100%; }
.tp-cb__ph .ig--nu { background: var(--sombre); color: rgb(255 255 255 / .5); border-color: rgb(255 255 255 / .2); }
.tp-cb__voile { position: absolute; inset: 0; background: rgb(0 0 0 / .62); }
.tp-cb__in {
  position: relative; z-index: 1; padding-top: 92px; padding-bottom: 92px;
  display: flex; flex-wrap: wrap; gap: 44px; align-items: center;
}
.tp-cb__tx { flex: 1 1 460px; min-width: 0; }
.tp-cb__tx .eb { color: rgb(255 255 255 / .8); }
.tp-cb__x { font-size: 17px; color: rgb(255 255 255 / .82); margin: 20px 0 0; max-width: 52ch; }
.tp-cb__f {
  flex: 1 1 340px; min-width: 0; padding: 26px; border-radius: var(--r-g);
  background: var(--fond); color: var(--texte);
}
.tp-cb:last-child, .tp-cb + .tp-ft { margin-bottom: 0; }

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

.tp-ct__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.tp-ct__g { flex: 1 1 380px; min-width: 0; }
.tp-ct__x { font-size: 17px; color: var(--texte-doux); margin: 20px 0 0; }
.tp-ct__cos { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.tp-ct__co { flex: 1 1 200px; min-width: 0; padding: 20px; border-radius: var(--r); background: var(--fond-2); border: 1px solid var(--bordure); }
.tp-ct__cot { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); margin: 0 0 10px; }
.tp-ct__col { display: grid; gap: 4px; font-size: 14px; color: var(--texte-doux); }
.tp-ct__f { flex: 1 1 400px; min-width: 0; padding: 30px; border-radius: var(--r-g); border: 1px solid var(--bordure); background: var(--fond-2); }
.tp-ct__f .fm__i { background: var(--fond); }

/* ---------- journal ---------- */

.tp-bl__h { max-width: 760px; margin-bottom: 40px; }
.tp-bl__l { display: flex; flex-wrap: wrap; gap: 22px; }
.tp-bl__c { flex: 1 1 300px; min-width: 0; }
.tp-bl__a { display: block; text-decoration: none; }
.tp-bl__ph { margin: 0 0 16px; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 3 / 2; background: var(--fond-2); }
.tp-bl__m { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); margin: 0 0 8px; }
.tp-bl__t { font-size: 20px; }
.tp-bl__x { font-size: 15px; color: var(--texte-doux); margin: 10px 0 0; }
.tp-bl__a:hover .tp-bl__t { color: var(--marque); }

.tp-ba__in { max-width: 1000px; }
.tp-ba__hd { max-width: 760px; }
.tp-ba__m { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); margin: 18px 0 0; }
.tp-ba__ph { margin: 34px 0 0; border-radius: var(--r-g); overflow: hidden; aspect-ratio: 21 / 9; background: var(--fond-2); }
.tp-ba__co { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 40px; align-items: flex-start; }
.tp-ba__so {
  flex: 1 1 240px; min-width: 0; padding: 24px; border-radius: var(--r);
  background: var(--fond-2); border: 1px solid var(--bordure); position: sticky; top: 110px;
}
.tp-ba__sot { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); margin: 0 0 12px; }
.tp-ba__so ul { display: grid; gap: 8px; }
.tp-ba__so a { font-size: 14px; color: var(--texte-doux); text-decoration: none; }
.tp-ba__so a:hover { color: var(--marque); }
.tp-ba__tx { flex: 1 1 460px; min-width: 0; font-size: 16.5px; color: var(--texte-doux); }
.tp-ba__h2 { font-size: 27px; margin: 34px 0 14px; color: var(--texte); }
.tp-ba__h3 { font-size: 20px; margin: 26px 0 10px; color: var(--texte); }
.tp-ba__en { margin: 26px 0; padding: 24px; border-radius: var(--r); background: var(--fond-2); border-left: 3px solid var(--marque); }
.tp-ba__ent { font-family: var(--pol-t); font-weight: 700; font-size: 17px; color: var(--texte); margin: 0 0 8px; }

/* ---------- mentions ---------- */

.tp-lg__in { max-width: 860px; }
.tp-lg__m { font-size: 13px; color: var(--texte-doux); margin: 16px 0 0; }
.tp-lg__b { margin-top: 38px; }
.tp-lg__t { font-size: 22px; margin-bottom: 12px; }
.tp-lg__b p { color: var(--texte-doux); }

/* ---------- fil d Ariane ---------- */

.tp-fa { padding: 26px 0 0; }
/* Sur une page a affiche, l entete est posee hors flux : le fil d Ariane,
   qui la precede, doit reserver sa hauteur sinon il passe dessous. */
body:has(.tp-hr) .tp-fa { padding-top: 108px; }
.tp-fa__l { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--texte-doux); }
.tp-fa__i + .tp-fa__i::before { content: '/'; margin-right: 8px; color: var(--bordure); }
.tp-fa__i a { text-decoration: none; }
.tp-fa__i a:hover { color: var(--marque); }
.tp-fa__i [aria-current] { color: var(--texte); font-weight: 600; }

/* ---------- pied ---------- */

.tp-ft { background: var(--sombre); color: #fff; padding: 76px 0 0; margin-top: var(--sct); overflow: hidden; }
.tp-cb + .tp-ft { margin-top: 0; }
.tp-ft__in { display: flex; flex-wrap: wrap; gap: 38px; padding-bottom: 46px; }
.tp-ft__m { flex: 1 1 260px; min-width: 0; }
.tp-ft__mq { font-family: var(--pol-t); font-weight: 700; font-size: 22px; margin: 0 0 12px; }
.tp-ft__ds { font-size: 14px; color: rgb(255 255 255 / .66); margin: 0; max-width: 40ch; }
.tp-ft__col, .tp-ft__nap { flex: 1 1 180px; min-width: 0; }
.tp-ft__ct { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marque); margin: 0 0 14px; }
.tp-ft__col ul, .tp-ft__nap ul { display: grid; gap: 8px; font-size: 14px; color: rgb(255 255 255 / .7); }
.tp-ft__col a, .tp-ft__nap a { text-decoration: none; }
.tp-ft__col a:hover, .tp-ft__nap a:hover { color: var(--marque); }
.tp-ft__bas {
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between;
  padding: 24px 0; border-top: 1px solid rgb(255 255 255 / .14);
}
.tp-ft__lg { font-size: 13px; color: rgb(255 255 255 / .58); margin: 0; min-width: 0; }
.tp-ft__ls { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; min-width: 0; }
.tp-ft__ls a { color: rgb(255 255 255 / .7); text-decoration: none; }
.tp-ft__ls a:hover { color: var(--marque); }
/* Le mot geant qui ferme la page, comme sur le modele. Sa hauteur de ligne
   serree fait deborder la boite de ligne au-dessus de sa propre boite : sans
   pointer-events:none, il capterait le clic sur la mention legale posee juste
   au-dessus. Il est decoratif, il ne doit rien capter. */
.tp-ft__geant {
  pointer-events: none;
  margin: 0; font-family: var(--pol-t); font-weight: 700; text-transform: uppercase;
  font-size: clamp(56px, 15vw, 210px); line-height: .82; letter-spacing: -.05em;
  color: rgb(255 255 255 / .08); text-align: center; white-space: nowrap;
  padding: 0 var(--pad) 10px;
}

/* ============================================================
   Adaptation. Le repli du menu se fait par une case a cocher :
   aucun JS n est necessaire pour ouvrir la navigation.
   ============================================================ */

@media (max-width: 1100px) {
  .tp-hd__bg {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; flex: none; cursor: pointer; padding: 0 10px; order: 3;
  }
  .tp-hd__bg i { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .tp-hd__d { order: 2; margin-left: auto; }
  .tp-nav {
    order: 4; flex: 1 1 100%; display: none; justify-content: flex-start;
    padding: 6px 0 22px;
  }
  .tp-hd__k:checked ~ .tp-hd__in .tp-nav { display: block; }
  .tp-hd { position: sticky; }
  body:has(.tp-hr) .tp-hd { position: sticky; background: var(--sombre); border-bottom-color: rgb(255 255 255 / .12); }
  /* l entete revient dans le flux : le fil d Ariane n a plus rien a reserver */
  body:has(.tp-hr) .tp-fa { padding-top: 26px; }
  .tp-hd__in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .tp-nav__u { display: block; }
  .tp-nav__i { border-top: 1px solid rgb(255 255 255 / .12); }
  .tp-nav__t { display: flex; justify-content: space-between; width: 100%; padding-right: 6px; }
  .tp-nav__l { display: block; padding: 14px 0; font-size: 16px; }
  /* Sur petit ecran, le volet se deplie A PLAT : jamais de survol. */
  .tp-vol__p {
    position: static; transform: none; padding-top: 0; opacity: 1; visibility: visible;
    pointer-events: auto; max-height: 0; overflow: hidden; transition: none;
  }
  .tp-nav__i--v:hover > .tp-vol__p, .tp-nav__i--v:focus-within > .tp-vol__p { max-height: none; }
  .tp-nav__i--v:hover .tp-vol__in, .tp-nav__i--v:focus-within .tp-vol__in { display: flex; }
  .tp-vol__in {
    min-width: 0; max-width: none; box-shadow: none; padding: 16px;
    flex-wrap: wrap; margin-bottom: 16px;
  }
  .tp-vol__vt { flex: 1 1 200px; }
  .tp-hr__in { padding-top: 76px; padding-bottom: 64px; }
}

@media (max-width: 900px) {
  :root { --sct: 76px; }
  .tp-sv__tx { padding: 32px 26px; }
  .tp-pr__c:nth-child(even) { margin-top: 0; }
  .tp-ba__so { position: static; }
  .tp-ur__in { padding: 32px 26px; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; --sct: 60px; }
  .tp-hr__in { padding-top: 56px; padding-bottom: 48px; gap: 32px; }
  .tp-sv__ph { min-height: 220px; }
  .tp-bs__l { gap: 52px; }
  .tp-wu__c + .tp-wu__c { border-left: 0; }
  .tp-ex__fg { font-size: 78px; }
  .tp-mat__c { flex-basis: 78%; }
  .tp-av__c--vedette { flex-basis: 280px; }
  .cm__t::after { width: 34px; height: 34px; }
  .tp-ft__geant { font-size: 52px; }
}


/* === CONTRAT GRILLE (factory, chantier 20/08, #1/#2) — services taille égale + avant/après 3-col === */
.tp-sv__ph { flex-grow: 0 !important; }
.cm { flex: 0 1 calc(33.333% - 20px) !important; min-width: min(240px, 100%) !important; }
