/* ============================================================
   TEMPLATE-13 (roofora) — feuille de la coquille.
   SOURCE : ce fichier. dist/ est une SORTIE, jamais editee.

   Le parti pris tient en une tension : des appels a ANGLE VIF de
   hauteur fixe poses au milieu de cartes toutes arrondies a 8.
   Aucun degrade de couleur nulle part. Le vert-noir ne se pose
   que sur la tete, les sections de preuve et le pied ; la couleur
   de marque ne sert QU AUX APPELS.
   ============================================================ */

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: Urbanist, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; }
h2, .rf-chf__c dt { font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

/* ---- Cadre --------------------------------------------------
   Contenu de 1140 dans une fenetre de 1440 : marge de 150. */
.rf-cad { width: min(1140px, 100% - 48px); margin-inline: auto; }
.rf-zn { padding: 92px 0; }
.rf-zn + .rf-zn { padding-top: 0; }
.rf-plein { padding: 0; }

/* ---- Nuit ---------------------------------------------------
   La palette recue peut avoir une marque CLAIRE : la surface
   sombre se prend donc sur l accent, jamais sur la marque. */
.rf-nuit { background: var(--accent); color: var(--fond); }
.rf-nuit .rf-pr, .rf-nuit .rf-meta,
.rf-nuit .rf-adr span, .rf-nuit .rf-oeil { color: color-mix(in srgb, var(--fond) 68%, transparent); }
.rf-nuit .rf-rep li::before { background:var(--marque);--sur-bande:var(--sur-marque); }

/* ---- Typographie --------------------------------------------
   Une seule graisse haute (600) pour les titres de section et
   les nombres ; la hierarchie vient de la TAILLE. */
.rf-ti { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; }
.rf-ti--geant { font-size: clamp(40px, 6.6vw, 100px); font-weight: 500; line-height: 1.05; }
.rf-ti--petit { font-size: clamp(22px, 2.4vw, 32px); }
h3 { font-size: clamp(20px, 2.1vw, 32px); }

/* Le seul ornement typographique de la fiche : un soulignement
   DECOUPE au masque sous la partie accentuee du titre. */
.rf-trait { position: relative; font-style: normal; padding-bottom: 6px; }
.rf-trait::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background:var(--marque);--sur-bande:var(--sur-marque);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 97 10' preserveAspectRatio='none'%3E%3Cpath d='M0 7c18-5 40-7 60-5s28 5 37 3v4H0z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 97 10' preserveAspectRatio='none'%3E%3Cpath d='M0 7c18-5 40-7 60-5s28 5 37 3v4H0z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.rf-oeil {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte-doux);
}
.rf-chapo { margin-top: 16px; max-width: 60ch; color: var(--texte-doux); font-size: 18px; }
.rf-pr { margin-top: 14px; color: var(--texte-doux); }
.rf-pr--large { max-width: 72ch; }
.rf-meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.rf-mention { margin-top: 18px; font-size: 14px; color: var(--texte-doux); }

.rf-rep { margin-top: 16px; display: grid; gap: 8px; }
.rf-rep li { position: relative; padding-left: 24px; color: var(--texte-doux); }
.rf-rep li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  border-radius: 100%; background: var(--accent);
}
.rf-etq { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.rf-etq li {
  padding: 6px 12px; font-size: 13px; color: var(--texte-doux);
  border: 1px solid var(--bordure); border-radius: 8px;
}
.rf-lien { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.rf-adr { display: grid; gap: 6px; margin-top: 16px; font-style: normal; color: var(--texte-doux); }
.rf-prix { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.rf-prix b { font-size: 28px; font-weight: 600; }
.rf-prix span { color: var(--texte-doux); font-size: 14px; }
.rf-prix--fort b { font-size: 44px; }
.rf-cit { margin: 20px 0 0; padding-left: 20px; border-left: 3px solid var(--marque); font-size: 20px; }

/* ---- Appels : ANGLE VIF, hauteur fixe ----------------------- */
.rf-bt {
  display: inline-flex; align-items: center; justify-content: center;
  height: 55px; padding: 0 26px; border: 0; border-radius: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.rf-bt--lime { background:var(--marque);--sur-bande:var(--sur-marque); color:var(--sur-bande,var(--sur-marque)); }
.rf-bt--encre { background: var(--accent); color: var(--fond); }
.rf-bt--trait { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.rf-nuit .rf-bt--encre { background: var(--fond); color: var(--accent); }

.rf-vu { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.rf-vu--nue {
  display: grid; place-items: center; min-height: 180px;
  background: var(--cadre-vide-fond, var(--fond-2));
  color: var(--cadre-vide-encre, var(--texte-doux));
}
.rf-vu--nue i { font-style: normal; font-size: 13px; padding: 10px; text-align: center; }

/* ---- Pastilles : quasi-disques a 28, ronds pleins a 100% ---- */
.rf-past {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 28px;
  background:var(--marque);--sur-bande:var(--sur-marque); color:var(--sur-bande,var(--sur-marque));
  font-weight: 600; text-transform: uppercase; font-size: 15px;
}
.rf-past--sec { background: var(--fond-2); color: var(--texte); }
.rf-rond {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 60px; height: 60px; border-radius: 100px;
  background: var(--accent); color: var(--fond); font-weight: 600;
}
.rf-disq { width: 24px; height: 24px; border-radius: 100%; background: var(--fond-2); position: relative; flex: 0 0 auto; }
.rf-filet { display: block; width: 64px; height: 3px; background:var(--marque);--sur-bande:var(--sur-marque); }

/* ---- Entete de section : mot a gauche, appel ancre a droite -- */
.rf-ent { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.rf-ent__mot { flex: 1 1 420px; min-width: 0; }
.rf-ent__act { flex: 0 0 auto; display: flex; gap: 12px; flex-wrap: wrap; }
.rf-ent--centre { justify-content: center; text-align: center; }
.rf-ent--centre .rf-ent__mot { flex: 0 1 640px; }

/* ============================================================
   Tete de page
   ============================================================ */
.rf-tete { background: var(--accent); color: var(--fond); position: relative; z-index: 30; }
.rf-tete__in { display: flex; align-items: center; gap: 24px; min-height: 79px; }

/* F1 — accueil : le modele porte sa matiere des la premiere rangee (l entete
   flotte, transparente, sur la photo du hero). En flux normal et fond opaque
   l entete pousse le hero vers le bas et decoupe la premiere fenetre en
   aplat + texte. Ecran large uniquement (au-dessus du palier du burger
   mobile, 980px) : jamais fixed/sticky, l entete reste en position: absolute
   et defile avec la page. Le cadre rf-hero__vu est deja teinte fonce a vide
   (cf. bloc "teinte des cadres porteurs" plus bas), l encre --fond reste
   donc lisible aussi bien vide que plein. */
@media (min-width: 981px) {
  body[data-page="home"] .rf-tete {
    position: absolute;
    inset: 0 0 auto 0;
    background: transparent;
  }
}
.rf-logo { font-size: 22px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.rf-tete__bt { margin-left: auto; }
.rf-nav { margin-left: auto; }
.rf-nav__l { display: flex; align-items: center; gap: 26px; }
.rf-nav__e > a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 28px 0; text-decoration: none; font-weight: 500;
}
/* Chevron DECOUPE au masque — la fiche source n a pas d icone en ligne. */
.rf-chev {
  width: 10px; height: 7px; background: currentColor; flex: 0 0 auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  transition: transform .18s;
}
.rf-nav__e--volet.est-ouvert .rf-chev { transform: rotate(180deg); }

/* Volet : il descend SANS TROU depuis le lien (le calc mange le
   pixel fractionnaire), garde sa vitrine a gauche et ne se replie
   que lorsque la souris a quitte l ensemble lien + volet. */
.rf-volet {
  position: absolute; left: 0; right: 0; top: calc(100% - 1px);
  background: var(--fond); color: var(--texte);
  border-top: 1px solid var(--bordure);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.rf-nav__e--volet.est-ouvert .rf-volet { opacity: 1; visibility: visible; transform: none; }
.rf-volet__in {
  width: min(1140px, 100% - 48px); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 40px; padding: 34px 0 40px;
}
.rf-volet__cadre { display: block; position: relative; flex: 0 0 320px; max-width: 100%; }
.rf-volet__vu { border-radius: 0 8px 8px 8px; }
.rf-volet__vu { height: 200px; }
.rf-volet__leg { display: block; padding: 16px 18px 18px; background: var(--fond-2); border-radius: 0 0 8px 8px; }
.rf-volet__leg i { display: block; font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.rf-volet__leg b { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; }
.rf-volet__leg > span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--texte-doux); }
.rf-volet__leg .rf-lien { margin-top: 12px; }
.rf-volet__cols { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 32px; align-content: start; }
.rf-volet__col { min-width: 0; }
.rf-volet__gt { display: block; padding: 0 14px 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.rf-volet__liste { min-width: 0; display: block; }
.rf-volet__liste a { display: block; padding: 12px 14px; text-decoration: none; border-radius: 8px; }
.rf-volet__liste a:hover { background: var(--fond-2); }
.rf-volet__liste b { display: block; font-weight: 600; }
.rf-volet__liste span { display: block; font-size: 14px; color: var(--texte-doux); }

.rf-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 0; margin-left: auto; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.rf-burger i { display: block; width: 22px; height: 2px; background: currentColor; }

/* ============================================================
   Hero — photo pleine vue, cartes de VERRE FUME posees dessus
   ============================================================ */
.rf-hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; padding: 120px 0 56px; color: var(--fond); overflow: hidden; }
.rf-hero__fond { position: absolute; inset: 0; }
.rf-hero__fond::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.rf-hero__vu { border-radius: 0; }
.rf-hero__in { position: relative; width: min(1140px, 100% - 48px); }
.rf-hero__mot { max-width: 720px; }
.rf-hero .rf-oeil { color:var(--encre-marque,var(--marque)); }
.rf-hero__sous { margin-top: 20px; max-width: 56ch; color: color-mix(in srgb, var(--fond) 82%, transparent); font-size: 18px; }
.rf-hero__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rf-hero__fumes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 64px; }
.rf-fume {
  flex: 1 1 260px; min-width: 0; padding: 22px; border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.rf-fume { border-top-left-radius: 0; }
.rf-fume__pt { display: block; width: 45px; height: 45px; border-radius: 100%; background:var(--marque);--sur-bande:var(--sur-marque); margin-bottom: 16px; }
.rf-fume b { display: block; font-size: 19px; font-weight: 600; }
.rf-fume__mot { display: block; margin-top: 8px; font-size: 15px; color: color-mix(in srgb, var(--fond) 76%, transparent); }

/* ============================================================
   marques — GRILLE de logos sur la nuit, quatre par rangee
   ============================================================ */
.rf-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rf-logos__c {
  min-width: 0; min-height: 96px;
  display: grid; place-items: center; padding: 16px; text-align: center;
  border-radius: 8px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fond) 20%, transparent);
  font-weight: 600; letter-spacing: .04em;
}

/* ============================================================
   servicesGrid — empilement ALTERNE
   ============================================================ */
.rf-serv { display: grid; gap: 28px; }
.rf-serv__l {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px;
  padding: 28px; border-radius: 8px; background: var(--fond-2);
}
.rf-serv__l { border-radius: 0 8px 8px 8px; }
.rf-serv__l--pair { flex-direction: row-reverse; border-radius: 8px 0 8px 8px; }
.rf-serv__l--pair .rf-serv__mot { text-align: right; }
.rf-serv__l--pair .rf-rep li { padding-left: 0; padding-right: 24px; }
.rf-serv__l--pair .rf-rep li::before { left: auto; right: 0; }
.rf-serv__mot { flex: 1 1 420px; min-width: 0; }
.rf-serv__vue { flex: 0 0 210px; min-width: 0; max-width: 100%; margin: 0; }
.rf-serv__vu { height: 150px; border-radius: 8px 0 8px 8px; }

/* ============================================================
   introSeo — filet a gauche, propos a droite
   ============================================================ */
.rf-duo { display: flex; flex-wrap: wrap; gap: 40px; }
.rf-duo__g { flex: 0 0 240px; max-width: 100%; }
.rf-duo__d { flex: 1 1 520px; min-width: 0; }
.rf-duo__d .rf-bt { margin-top: 28px; }

/* ============================================================
   blocsSeo — alternance imposee, hauteurs de vue variables
   ============================================================ */
.rf-zn--seo { padding: 92px 0; display: block; }
.rf-seo { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.rf-seo + .rf-seo { margin-top: 88px; }
.rf-seo--pair { flex-direction: row-reverse; }
.rf-seo__vue { flex: 1 1 440px; min-width: 0; }
.rf-seo__vu { height: 420px; }
.rf-seo--haut .rf-seo__vu { height: 540px; }
.rf-seo__mot { flex: 1 1 440px; min-width: 0; }
.rf-seo__mot .rf-bt { margin-top: 26px; }

/* ============================================================
   expertiseSeo
   ============================================================ */
.rf-exp { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rf-exp__mot, .rf-exp__vue { flex: 1 1 420px; min-width: 0; }
.rf-exp__vu { height: 430px; }
.rf-exp__pts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; }
.rf-exp__pts li { flex: 1 1 280px; min-width: 0; padding: 24px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--bordure); }
.rf-exp__pts b { display: block; font-size: 19px; font-weight: 600; }
.rf-exp__pts span { display: block; margin-top: 8px; color: var(--texte-doux); }

/* ============================================================
   whyUs — deux vues de HAUTEURS DIFFERENTES
   ============================================================ */
.rf-pq__tete { margin-bottom: 48px; max-width: 840px; }
.rf-pq__tete .rf-bt { margin-top: 26px; }
.rf-pq { display: flex; flex-wrap: wrap; gap: 44px; }
.rf-pq__vues { flex: 1 1 420px; min-width: 0; display: flex; gap: 16px; align-items: flex-start; }
.rf-pq__vu { flex: 1 1 180px; min-width: 0; }
.rf-pq__vu--court { height: 400px; }
.rf-pq__vu--long { height: 500px; }
.rf-pq__l { flex: 1 1 380px; min-width: 0; display: grid; gap: 24px; align-content: start; }
.rf-pq__l > li { display: grid; grid-template-columns: 56px 1fr; gap: 18px 20px; align-items: center; }
.rf-pq__l b { font-size: 20px; font-weight: 600; }
.rf-pq__l .rf-rep { grid-column: 2; margin-top: 0; }

/* ============================================================
   secteursB2b
   ============================================================ */
.rf-sect { display: grid; grid-template-columns: repeat(var(--pistes, 3), minmax(0, 1fr)); gap: 24px; }
.rf-sect:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 2; }
.rf-sect:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 2; }
.rf-sect__c { min-width: 0; border-radius: 8px; overflow: hidden; background: var(--fond-2); }
.rf-sect__vu { height: 220px; border-radius: 0; }
.rf-sect__mot { padding: 24px; }

/* ============================================================
   zonesAutour
   ============================================================ */
.rf-zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rf-zone { min-width: 0; position: relative; display: block; text-decoration: none; border-radius: 8px; overflow: hidden; }
.rf-zone__vu { height: 240px; border-radius: 0; }
.rf-zone__mot { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: var(--fond); background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%); }
.rf-zone__mot b { display: block; font-size: 19px; font-weight: 600; }
.rf-zone__mot span { display: block; font-size: 13px; opacity: .82; }

/* ============================================================
   process — deux colonnes de pastilles rondes + vue a droite
   ============================================================ */
.rf-proc { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.rf-proc__l { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; }
.rf-proc__l li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; min-width: 0; }
.rf-proc__min { margin: 14px 0 0; }
.rf-proc__mv { height: 120px; border-radius: 0 8px 8px 8px; }
.rf-proc__vue { flex: 1 1 320px; min-width: 0; }
.rf-proc__vu { height: 343px; }

/* ============================================================
   chiffres — le « + » est un signe pose A COTE du nombre
   ============================================================ */
.rf-chf { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.rf-chf__vue { flex: 0 1 264px; min-width: 0; }
.rf-chf__vu { height: 212px; }
.rf-chf__l { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(var(--pistes, 3), minmax(0, 1fr)); gap: 32px; }
.rf-chf__l:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 2; }
.rf-chf__l:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 2; }
.rf-chf__c { min-width: 0; }
.rf-chf__c dt { display: flex; align-items: flex-start; gap: 4px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.1; }
.rf-chf__c dt i { font-style: normal; font-size: 32px; color:var(--encre-marque,var(--marque)); }
.rf-chf__c dd { margin-top: 6px; font-size: 15px; }

/* ============================================================
   ultralocalMap
   ============================================================ */
.rf-carte { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.rf-carte__vue, .rf-carte__mot { flex: 1 1 400px; min-width: 0; }
.rf-carte__vu { height: 420px; }
.rf-carte__mot .rf-bt { margin-top: 26px; }

/* ============================================================
   avis — panneau pale, une parole a la fois
   ============================================================ */
.rf-avis { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.rf-avis__vue { flex: 1 1 340px; min-width: 0; }
.rf-avis__vu { height: 100%; min-height: 380px; }
.rf-avis__pan { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 8px; background: var(--fond-2); }
.rf-avis__f { margin: 0; display: none; }
.rf-avis__f.est-vu { display: block; }
.rf-avis__ti { display: block; margin-top: 12px; font-size: 17px; font-weight: 600; }
.rf-avis__f blockquote { margin: 14px 0 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; }
.rf-avis__f figcaption { margin-top: 20px; }
.rf-avis__f figcaption b { display: block; font-weight: 600; }
.rf-avis__f figcaption span { display: block; font-size: 14px; color: var(--texte-doux); }
.rf-note { font-weight: 600; font-size: 14px; }
.rf-avis__pts { display: flex; flex-wrap: wrap; gap: 12px; }
.rf-past--pt { border: 0; cursor: pointer; font-size: 15px; background: var(--fond); color: var(--texte); }
.rf-past--pt.est-vu { background:var(--marque);--sur-bande:var(--sur-marque); color:var(--sur-bande,var(--sur-marque)); }

/* ============================================================
   faq — intitule etroit a gauche, accordeon a droite
   ============================================================ */
.rf-faq { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.rf-faq__mot { flex: 1 1 360px; min-width: 0; }
.rf-faq__mot .rf-bt { margin-top: 26px; }
.rf-faq__enc { margin-top: 30px; padding: 22px 24px 24px; background: var(--fond-2); border-radius: 0 8px 8px 8px; }
.rf-faq__enc b { display: block; font-size: 17px; font-weight: 600; }
.rf-faq__enc .rf-pr { margin-top: 8px; }
.rf-faq__enc .rf-bt { margin-top: 16px; }
.rf-faq__l { flex: 1 1 520px; min-width: 0; }
.rf-faq__e { border-bottom: 1px solid var(--bordure); }
.rf-faq__e summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; }
.rf-faq__e summary::-webkit-details-marker { display: none; }
.rf-disq::before, .rf-disq::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background:var(--texte);--sur-bande:var(--sur-texte,var(--fond)); transform: translate(-50%, -50%); }
.rf-disq::after { transform: translate(-50%, -50%) rotate(90deg); }
.rf-faq__e[open] .rf-disq::after { display: none; }
.rf-faq__r { padding-bottom: 24px; max-width: 68ch; }

/* ============================================================
   urgence — bandeau de nuit plein cadre
   ============================================================ */
.rf-urg { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 64px 0; }
.rf-urg__mot { flex: 1 1 460px; min-width: 0; }
.rf-urg__act { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.rf-tel { font-size: 18px; color:var(--encre-marque,var(--marque)); }
.rf-tel--vide { color: var(--texte-doux); }

/* ============================================================
   certifications / aides / materiaux / tarifs
   ============================================================ */
.rf-certs { display: grid; grid-template-columns: repeat(var(--pistes, 3), minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.rf-certs:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 2; }
.rf-certs:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 2; }
.rf-certs__c { min-width: 0; padding: 24px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--bordure); }
.rf-certs__c b { display: block; margin-top: 16px; font-weight: 600; }
.rf-certs__c span { display: block; margin-top: 6px; font-size: 15px; color: var(--texte-doux); }

.rf-aides { display: flex; flex-wrap: wrap; gap: 20px; }
.rf-aides__c { flex: 1 1 300px; min-width: 0; padding: 28px; border-radius: 8px; background: var(--fond-2); }

.rf-mat { display: grid; grid-template-columns: repeat(var(--pistes, 3), minmax(0, 1fr)); gap: 24px; }
.rf-mat:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 2; }
.rf-mat:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 2; }
.rf-mat__c { min-width: 0; }
.rf-mat__vu { height: 300px; margin-bottom: 18px; }

.rf-tar { display: flex; flex-wrap: wrap; gap: 24px; }
.rf-tar__c { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; padding: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--bordure); }
.rf-tar__tete { display: flex; align-items: center; gap: 16px; }
.rf-tar__c .rf-bt { margin-top: auto; align-self: flex-start; }
.rf-tar__c .rf-rep { margin-bottom: 24px; }

/* ============================================================
   realisations — rangee INEGALE puis rangees EGALES
   ============================================================ */
.rf-rea { display: flex; flex-wrap: wrap; gap: 16px; }
.rf-rea + .rf-rea { margin-top: 16px; }
.rf-rea__c { min-width: 0; border-radius: 8px; overflow: hidden; background: var(--fond-2); }
.rf-rea__c { border-radius: 0 8px 8px 8px; }
.rf-rea__c--large { flex: 1 1 620px; }
.rf-rea__c--etroite { flex: 1 1 340px; }
.rf-rea--egale .rf-rea__c { flex: 1 1 300px; }
.rf-rea__vu { height: 280px; border-radius: 0; }
.rf-rea__mot { padding: 24px; }

/* ============================================================
   avantApres — deux photos SUPERPOSEES, curseur en surimpression
   ============================================================ */
.rf-ab__l { display: grid; gap: 40px; }
.rf-ab { margin: 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.rf-ab__vue { position: relative; flex: 1 1 460px; min-width: 0; height: 400px; border-radius: 8px; overflow: hidden; }
.rf-ab__av, .rf-ab__vu { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rf-ab__ap { position: absolute; inset: 0; width: var(--pos); overflow: hidden; }
.rf-ab__ap .rf-vu { width: 100vw; max-width: none; }
.rf-ab__ligne { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background:var(--marque);--sur-bande:var(--sur-marque); }
.rf-ab__lb { position: absolute; bottom: 16px; padding: 6px 12px; font-size: 13px; font-weight: 600; background: rgba(0, 0, 0, .62); color: var(--fond); }
.rf-ab__lb--av { right: 16px; }
.rf-ab__lb--ap { left: 16px; }
.rf-ab__cur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.rf-ab__cur:focus-visible { opacity: 1; outline: 3px solid var(--marque); outline-offset: -3px; }
.rf-ab__mot { flex: 1 1 320px; min-width: 0; }

/* ============================================================
   maillageInterne / blogList
   ============================================================ */
.rf-mail, .rf-blog { display: flex; flex-wrap: wrap; gap: 24px; }
.rf-mail__c, .rf-blog__c { flex: 1 1 300px; min-width: 0; border-radius: 8px; overflow: hidden; background: var(--fond-2); }
.rf-mail__vu { height: 220px; border-radius: 0; }
.rf-blog__vu { height: 240px; border-radius: 0; }
.rf-mail__mot, .rf-blog__mot { padding: 24px; }
.rf-mail__mot h3, .rf-blog__mot h3 { margin-top: 10px; font-size: 21px; }
.rf-mail__mot a, .rf-blog__mot a { text-decoration: none; }

/* ============================================================
   ctaBand — vue pleine largeur, appel ancre a DROITE
   ============================================================ */
.rf-zn--cta { position: relative; color: var(--fond); overflow: hidden; }
.rf-cta__fond { position: absolute; inset: 0; }
.rf-cta__fond::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.rf-cta__vu { border-radius: 0; }
.rf-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 104px 0; }
.rf-cta__mot { flex: 1 1 420px; min-width: 0; }
.rf-cta__mot .rf-pr { color: color-mix(in srgb, var(--fond) 78%, transparent); }
.rf-cta__act { flex: 0 1 auto; margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rf-cta__f { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }

.rf-champ { display: block; min-width: 0; }
.rf-champ span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.rf-champ input, .rf-champ textarea {
  width: 100%; padding: 15px 16px; font: inherit; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
}
.rf-champ textarea { resize: vertical; }

/* ============================================================
   Fil d ariane
   ============================================================ */
.rf-fil { padding: 22px 0 0; }
.rf-fil ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--texte-doux); }
.rf-fil li { display: flex; align-items: center; gap: 8px; }
.rf-fil li + li::before { content: ""; width: 5px; height: 5px; border-radius: 100%; background: var(--bordure); }

/* ============================================================
   contactForm — le formulaire DANS le bandeau de tete
   ============================================================ */
.rf-ct { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.rf-ct__mot { flex: 1 1 400px; min-width: 0; }
.rf-ct__f { flex: 1 1 480px; min-width: 0; display: flex; flex-wrap: wrap; gap: 22px; }
.rf-ct__f .rf-champ { flex: 1 1 220px; }
.rf-ct__f .rf-champ--plein, .rf-ct__f .rf-champ--long { flex: 1 1 100%; }
.rf-ct__pied { flex: 1 1 100%; display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.rf-ct__f .rf-mention { flex: 1 1 100%; margin-top: 0; }
.rf-coord { display: grid; gap: 22px; margin-top: 32px; }
.rf-coord li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; align-items: center; }
.rf-coord b { font-weight: 600; }
.rf-coord span { grid-column: 2; color: var(--texte-doux); font-size: 15px; }

/* ============================================================
   blogArticle / legal / catalogue / produit
   ============================================================ */
.rf-art__tete { max-width: 900px; margin-bottom: 36px; }
.rf-art__vu { height: 460px; margin-bottom: 48px; }
.rf-art { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.rf-art__som { flex: 0 1 300px; min-width: 0; padding: 26px; border-radius: 8px; background: var(--fond-2); position: sticky; top: 24px; }
.rf-art__som ul { display: grid; gap: 10px; margin-top: 16px; }
.rf-art__som a { color: var(--texte-doux); }
.rf-art__corps { flex: 1 1 520px; min-width: 0; max-width: 72ch; }
.rf-art__corps h2 { margin-top: 40px; }
.rf-art__corps h3 { margin-top: 30px; }

.rf-legal { max-width: 78ch; }
.rf-legal section { margin-top: 40px; }

.rf-fac { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rf-fac__b { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--bordure); }
.rf-fac__b.est-vu { background: var(--accent); color: var(--fond); box-shadow: none; }

.rf-prod { display: grid; grid-template-columns: repeat(var(--pistes, 3), minmax(0, 1fr)); gap: 24px; }
.rf-prod:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 2; }
.rf-prod:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 2; }
.rf-prod__c { min-width: 0; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--bordure); }
.rf-prod__vu { height: 260px; border-radius: 0; }
.rf-prod__mot { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.rf-prod__mot .rf-bt { margin-top: 20px; align-self: flex-start; }

.rf-fic { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rf-fic__vue, .rf-fic__mot { flex: 1 1 420px; min-width: 0; }
.rf-fic__vu { height: 480px; }
.rf-fic__mot .rf-bt { margin-top: 26px; }

.rf-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }
.rf-specs__l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--bordure); min-width: 0; }
.rf-specs__l dt { color: var(--texte-doux); }
.rf-specs__l dd { font-weight: 600; }

/* ============================================================
   Pied — ferme par une SIGNATURE TYPOGRAPHIQUE geante
   ============================================================ */
.rf-pied { padding-top: 72px; overflow: hidden; }
.rf-pied__haut { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 48px; }
.rf-pied__marque { flex: 1 1 340px; min-width: 0; }
.rf-pied__marque .rf-pr { max-width: 44ch; }
.rf-pied__nap { margin-top: 26px; }
.rf-pied__cols { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.rf-pied__col { flex: 1 1 160px; min-width: 0; }
.rf-pied__col ul { display: grid; gap: 10px; margin-top: 16px; }
.rf-pied__col a { color: color-mix(in srgb, var(--fond) 72%, transparent); text-decoration: none; }
.rf-pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid color-mix(in srgb, var(--fond) 22%, transparent); }
.rf-pied__liens { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.rf-pied__liens a { color: color-mix(in srgb, var(--fond) 72%, transparent); }
.rf-signature {
  display: block; margin-top: 24px; margin-bottom: -0.18em;
  font-size: clamp(56px, 15.6vw, 210px); line-height: .84; font-weight: 600;
  letter-spacing: -0.04em; text-align: center; white-space: nowrap;
  color: color-mix(in srgb, var(--fond) 12%, transparent);
}

/* ============================================================
   Ecrans etroits
   ============================================================ */
@media (max-width: 980px) {
  .rf-zn { padding: 64px 0; }
  .rf-burger { display: flex; }
  .rf-tete__bt { display: none; }
  .rf-nav { display: none; width: 100%; margin-left: 0; }
  .rf-tete.est-ouvert .rf-nav { display: block; }
  .rf-tete__in { flex-wrap: wrap; padding-bottom: 12px; }
  .rf-nav__l { flex-direction: column; align-items: stretch; gap: 0; }
  .rf-nav__e > a { padding: 14px 0; justify-content: space-between; }
  .rf-nav__e + .rf-nav__e { border-top: 1px solid color-mix(in srgb, var(--fond) 18%, transparent); }
  .rf-volet { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; color: inherit; border: 0; }
  .rf-nav__e--volet.est-ouvert .rf-volet { display: block; }
  .rf-volet__in { width: 100%; padding: 4px 0 16px; gap: 16px; }
  .rf-volet__cadre { display: none; }
  .rf-volet__cols { display: block; }
  .rf-volet__gt { padding: 10px 0 4px; }
  .rf-volet__liste a { padding: 10px 0; }
  .rf-volet__liste a:hover { background: transparent; }
  .rf-volet__liste span { color: color-mix(in srgb, var(--fond) 62%, transparent); }
  .rf-serv__l--pair { flex-direction: row; }
  .rf-serv__l--pair .rf-serv__mot { text-align: left; }
  .rf-serv__l--pair .rf-rep li { padding-left: 24px; padding-right: 0; }
  .rf-serv__l--pair .rf-rep li::before { left: 0; right: auto; }
  .rf-seo--pair { flex-direction: row; }
  .rf-seo + .rf-seo { margin-top: 56px; }
  .rf-ct__pied { justify-content: flex-start; }
  .rf-cta__act { margin-left: 0; }
  .rf-art__som { position: static; }

  /* pistes comptees : sous 980px, une seule colonne quel que soit le
     nombre de cartes. Les surcharges :has() ci-dessus doivent etre
     reprises ici a l identique pour battre leur specificite. */
  .rf-sect, .rf-chf__l, .rf-certs, .rf-mat, .rf-prod { --pistes: 1; }
  .rf-sect:has(> :nth-child(2)):not(:has(> :nth-child(3))),
  .rf-chf__l:has(> :nth-child(2)):not(:has(> :nth-child(3))),
  .rf-certs:has(> :nth-child(2)):not(:has(> :nth-child(3))),
  .rf-mat:has(> :nth-child(2)):not(:has(> :nth-child(3))),
  .rf-prod:has(> :nth-child(2)):not(:has(> :nth-child(3))) { --pistes: 1; }
  .rf-sect:has(> :nth-child(4)):not(:has(> :nth-child(5))),
  .rf-chf__l:has(> :nth-child(4)):not(:has(> :nth-child(5))),
  .rf-certs:has(> :nth-child(4)):not(:has(> :nth-child(5))),
  .rf-mat:has(> :nth-child(4)):not(:has(> :nth-child(5))),
  .rf-prod:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --pistes: 1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .rf-cad { width: min(1140px, 100% - 32px); }
  .rf-hero { min-height: 0; padding: 72px 0 40px; }
  .rf-hero__fumes { margin-top: 40px; }
  .rf-seo__vu, .rf-seo--haut .rf-seo__vu { height: 280px; }
  .rf-pq__vues { flex-wrap: wrap; }
  .rf-pq__vu--court, .rf-pq__vu--long { height: 260px; flex: 1 1 100%; }
  .rf-ab__vue { height: 300px; }
  .rf-art__vu { height: 240px; }
  .rf-fic__vu { height: 320px; }
  .rf-avis__pan { padding: 26px; }
  .rf-urg { padding: 48px 0; }
  .rf-cta { padding: 72px 0; }
  .rf-bt { padding: 0 20px; }
  .rf-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-zones { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* Bande d ombre discrete en tete de la nuit : une trame de rayures
   tres pales, jamais un degrade de couleur. */
.rf-nuit::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; pointer-events: none;
  background: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--marque) 70%, transparent) 0 28px,
    transparent 28px 56px);
}
.rf-nuit { position: relative; }

/* Retours de socle : mention d aides, sous-titre de bloc d article. */
.rf-meta--mention { margin-top: 26px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.rf-art__st { margin-top: 26px; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-doux); }

/* >>> NORME COQUILLE — teinte des cadres porteurs (pose par _lib/teinter-cadres.mjs) */
/* Cadres PORTEURS : de l encre claire repose reellement dessus (mesure du
   2026-08-25 sur 3 page(s), 1440 et 390 px). Leur etat vide prend
   le sol de leur section, assombri d un cran, pour que cette encre reste
   lisible sans plaquer une dalle etrangere a la palette ; tous les autres
   cadres gardent le clair par defaut. Ne pas editer a la main : remesurer.

   Un cadre porteur SE TAIT. Sa legende est centree ; de l encre repose
   deja dessus, par definition — l ecrire, c est la poser en travers du
   titre. C est la collision qu on voyait sur le hero pleine fenetre de
   template-14 : « EMPLACEMENT VISUEL — ... » ecrit sur le paragraphe.
   Le libelle reste porte en aria-label, il n est pas perdu. */
[data-slot="rf-cta__vu"]:not(:has(img)):not(:has(video)) {
  --cadre-vide-fond: #222222;
  --cadre-vide-trame: rgba(255, 255, 255, .05);
  --cadre-vide-encre: rgba(255, 255, 255, .82);
  --cadre-vide-filet: rgba(255, 255, 255, .10);
}
[data-slot="rf-cta__vu"]:not(:has(img)):not(:has(video)) > * {
  font-size: 0 !important;
}
[data-slot="rf-hero__vu"]:not(:has(img)):not(:has(video)) {
  --cadre-vide-fond: #171b20;
  --cadre-vide-trame: rgba(255, 255, 255, .05);
  --cadre-vide-encre: rgba(255, 255, 255, .82);
  --cadre-vide-filet: rgba(255, 255, 255, .10);
}
[data-slot="rf-hero__vu"]:not(:has(img)):not(:has(video)) > * {
  font-size: 0 !important;
}
[data-slot="rf-zone__vu"]:not(:has(img)):not(:has(video)) {
  --cadre-vide-fond: #171b20;
  --cadre-vide-trame: rgba(255, 255, 255, .05);
  --cadre-vide-encre: rgba(255, 255, 255, .82);
  --cadre-vide-filet: rgba(255, 255, 255, .10);
}
[data-slot="rf-zone__vu"]:not(:has(img)):not(:has(video)) > * {
  font-size: 0 !important;
}
/* <<< NORME COQUILLE — teinte des cadres porteurs */

/* contraste-source — bandes sombres : chacune declare son encre (--sur-bande) ; marque en texte : --encre-marque. */

/* contraste-bandes (14/09/2026) — chaque regle est PORTEE PAR LA BANDE qui peint le fond mesure.
   Les quatre defauts de cette coquille sont le meme oubli : la feuille a ecrit l encre claire pour
   UNE bande sombre et pas pour l autre, ou pour un voisin du meme bloc et pas pour celui-la.

   1. La bande de nuit (.rf-nuit, sol --accent) donne deja son encre a .rf-pr, .rf-meta, .rf-adr span
      et .rf-oeil (ligne 43), et repeint meme la puce de .rf-rep (ligne 44) — mais le TEXTE de
      .rf-rep li restait en --texte-doux : 1,76 sur le sol de nuit. Meme encre que ses voisins. */
.rf-nuit .rf-rep li { color: color-mix(in srgb, var(--fond) 68%, transparent); }
/* 2. Le numero d appel du bandeau de nuit prenait --encre-marque, c est-a-dire la marque ASSOMBRIE
      pour les fonds clairs : 3,62 sur le sol de nuit. Il prend l encre inverse, la meme marque
      eclaircie jusqu au seuil contre cette bande (jeton pose par render.mjs). */
.rf-nuit .rf-tel { color: var(--encre-marque-inverse, var(--marque)); }
/* 3. La bande d appel (.rf-zn--cta) declare son encre claire (color: var(--fond), ligne 479) et pose
      un voile noir a 58 % sur sa vue. Mais .rf-oeil s ecrit en --texte-doux avec une specificite qui
      bat l heritage : 1,46 sur le voile. Meme encre que sur la bande de nuit. */
.rf-zn--cta .rf-oeil { color: color-mix(in srgb, var(--fond) 68%, transparent); }
/* 4. Meme bande, meme cause pour le bouton d appel VIDE : .rf-bt--trait veut `color: inherit`
      (ligne 103) — donc l encre de la bande — mais .rf-tel--vide le repeint en --texte-doux (1,46).
      On lui rend l heritage que le bouton demandait. */
.rf-zn--cta .rf-tel--vide { color: inherit; }
