/* ==========================================================================
   CF Couverture · feuille du thème, issue de la maquette validée (accueil + pages service)
   23/09/2026 · Web Ranker
   Préfixe unique « cfc » : blocs .cfc-bloc, éléments .cfc-bloc__el, variantes --var.
   Aucune couleur en dur hors des variables. Contrastes vérifiés (CHARTE.md).
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  /* couple n° 9 « Brique et sable », retenu par Benjamin le 28/09/2026 : neutres chauds, famille « terre » */
  --cfc-encre: #2B1D17;          /* titres, texte fort       16,3:1 sur blanc */
  --cfc-texte: #54463F;          /* texte courant             9,0:1 sur blanc */
  --cfc-discret: #6D5F57;        /* texte secondaire          6,1:1 sur blanc, 5,5:1 sur fond */
  --cfc-fond: #F7F1E7;           /* sections alternées (sable clair) */
  --cfc-blanc: #FFFFFF;
  --cfc-ligne: #E6DACB;          /* filets et bordures (décoratif) */
  --cfc-sombre: #2E1F19;         /* bandeaux sombres (brun terre) */
  --cfc-sombre-2: #3A2A22;
  --cfc-clair-sur-sombre: #F1E6D4;      /* 12,8:1 sur sombre */
  --cfc-discret-sur-sombre: #C4B3A0;    /*  7,8:1 sur sombre */

  /* accent : la brique ; le sable prend le relais sur les fonds sombres */
  --cfc-accent: #7E3320;         /* blanc dessus 8,8:1 ; en texte 8,8:1 sur blanc, 7,9:1 sur fond */
  --cfc-accent-fonce: #652816;   /* survol : blanc dessus 11,2:1 */
  --cfc-accent-teinte: #F4E6DA;  /* fonds légers : accent dessus 7,2:1 */
  --cfc-accent-clair: #E7D8BF;   /* sable sur fond sombre 11,3:1 : boutons et repères des bandeaux */
  --cfc-accent-voile: rgba(231, 216, 191, 0.14);
  --cfc-sable: #E7D8BF;

  /* bandeau d'infos, en-tête, pied de page et logo */
  --cfc-infos-fond: #7E3320;     /* brique */
  --cfc-infos-bord: #7E3320;
  --cfc-infos-texte: #E7D8BF;    /* sable sur brique 6,3:1 */
  --cfc-infos-lien: #FFFFFF;     /* 8,8:1 */
  --cfc-entete-fond: rgba(231, 216, 191, 0.97);   /* sable */
  --cfc-entete-ligne: #D6C4A6;
  --cfc-entete-texte: #3A2A22;   /* 9,8:1 sur sable */
  --cfc-entete-survol: rgba(255, 255, 255, 0.45);
  --cfc-entete-bouton: #CDB894;  /* bord du bouton de menu (décoratif) */
  --cfc-entete-panneau: #E7D8BF; /* menu déroulant mobile */
  --cfc-entete-filet: rgba(126, 51, 32, 0.12);
  --cfc-pied-fond: #241712;
  --cfc-logo: #7E3320;           /* brique sur sable 6,3:1 */
  --cfc-logo-pied: #E7D8BF;      /* sable sur le pied 12,4:1 */

  /* typographie */
  --cfc-police-titre: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cfc-police-texte: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* rythme */
  --cfc-largeur: 1240px;
  --cfc-marge: clamp(1rem, 4vw, 2rem);
  --cfc-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --cfc-rayon: 16px;
  --cfc-rayon-petit: 10px;
  --cfc-ombre: 0 22px 44px -28px rgba(20, 27, 29, 0.38);
  --cfc-ombre-legere: 0 10px 24px -18px rgba(20, 27, 29, 0.30);
  --cfc-transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cfc {
  margin: 0;
  background: var(--cfc-blanc);
  color: var(--cfc-texte);
  font-family: var(--cfc-police-texte);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.cfc img { display: block; max-width: 100%; height: auto; }
.cfc h1, .cfc h2, .cfc h3, .cfc h4 {
  font-family: var(--cfc-police-titre);
  color: var(--cfc-encre);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.cfc h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.3rem); line-height: 1.04; font-weight: 760; }
.cfc h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.1; }
.cfc h3 { font-size: 1.28rem; line-height: 1.25; }
:where(.cfc) p { margin: 0; text-wrap: pretty; }
.cfc a { color: var(--cfc-accent); text-underline-offset: 0.18em; }
.cfc a:hover { color: var(--cfc-accent-fonce); }
.cfc :focus-visible { outline: 3px solid var(--cfc-accent); outline-offset: 3px; border-radius: 4px; }
.cfc ::selection { background: var(--cfc-accent-teinte); color: var(--cfc-encre); }
:where(.cfc) .cfc-i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cfc-sauter {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cfc-encre); color: var(--cfc-blanc); padding: 0.7rem 1rem; border-radius: var(--cfc-rayon-petit);
}
.cfc-sauter:focus { top: 1rem; color: var(--cfc-blanc); }
.cfc-conteneur { width: 100%; max-width: var(--cfc-largeur); margin-inline: auto; padding-inline: var(--cfc-marge); }
.cfc-section { padding-block: var(--cfc-section); }
.cfc-section--fond { background: var(--cfc-fond); }
.cfc-sur-titre {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cfc-accent); margin-bottom: 1rem;
}
.cfc-sur-titre::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.cfc-entete-section { max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.cfc-entete-section p { margin-top: 1rem; font-size: 1.1rem; }

/* ---------- 4. Boutons ---------- */
a.cfc-btn, button.cfc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.35rem;
  font: 700 1rem/1.2 var(--cfc-police-texte); text-decoration: none; cursor: pointer;
  border-radius: var(--cfc-rayon-petit); border: 2px solid transparent;
  background: var(--cfc-accent); color: var(--cfc-blanc);
  transition: background-color var(--cfc-transition), transform var(--cfc-transition), box-shadow var(--cfc-transition);
}
a.cfc-btn:hover, button.cfc-btn:hover { background: var(--cfc-accent-fonce); color: var(--cfc-blanc); transform: translateY(-2px); box-shadow: var(--cfc-ombre-legere); }
a.cfc-btn:active, button.cfc-btn:active { transform: translateY(0) scale(0.98); }
a.cfc-btn--contour { background: transparent; color: var(--cfc-encre); border-color: var(--cfc-encre); }
a.cfc-btn--contour:hover { background: var(--cfc-encre); color: var(--cfc-blanc); }
a.cfc-btn--clair { background: var(--cfc-accent-clair); color: var(--cfc-sombre); }
a.cfc-btn--clair:hover { background: var(--cfc-blanc); color: var(--cfc-sombre); }
a.cfc-btn--contour-clair { background: transparent; color: var(--cfc-clair-sur-sombre); border-color: rgba(232, 238, 236, 0.55); }
a.cfc-btn--contour-clair:hover { background: var(--cfc-clair-sur-sombre); color: var(--cfc-sombre); }
a.cfc-lien-fleche { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; text-decoration: none; color: var(--cfc-accent); }
a.cfc-lien-fleche svg { transition: transform var(--cfc-transition); }
a.cfc-lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- 5. Bandeau d'infos et en-tête ---------- */
.cfc-infos { background: var(--cfc-infos-fond); border-bottom: 1px solid var(--cfc-infos-bord); font-size: 0.88rem; color: var(--cfc-infos-texte); }
.cfc-infos__int { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.cfc-infos__liste { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.cfc-infos__liste li { display: inline-flex; align-items: center; gap: 0.45rem; }
.cfc-infos a { color: var(--cfc-infos-lien); font-weight: 600; text-decoration: none; }

.cfc-entete { position: sticky; top: 0; z-index: 40; background: var(--cfc-entete-fond); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--cfc-transition), box-shadow var(--cfc-transition); }
.cfc-entete.is-colle { border-bottom-color: var(--cfc-entete-ligne); box-shadow: 0 8px 24px -22px rgba(20, 27, 29, 0.45); }
.cfc-entete__int { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
a.cfc-marque { display: inline-flex; align-items: center; text-decoration: none; }
.cfc-marque__logo { display: block; width: auto; height: 2.9rem; color: var(--cfc-logo); }
.cfc-nav { display: flex; align-items: center; gap: 0.25rem; }
.cfc-nav__liste { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.cfc-nav__liste a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 0.8rem; border-radius: 8px; color: var(--cfc-entete-texte); font-weight: 600; font-size: 0.97rem; text-decoration: none; }
.cfc-nav__liste a:hover, .cfc-nav__liste a[aria-current="page"] { background: var(--cfc-entete-survol); color: var(--cfc-accent-fonce); }
.cfc-entete__actions { display: flex; align-items: center; gap: 0.6rem; }
a.cfc-tel { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.4rem 0.6rem; font-weight: 700; color: var(--cfc-entete-texte); text-decoration: none; white-space: nowrap; }
a.cfc-tel svg { color: var(--cfc-accent); }
.cfc-entete a.cfc-btn { min-height: 2.75rem; padding: 0.6rem 1.05rem; font-size: 0.95rem; }
.cfc-nav__bouton { display: none; }

/* ---------- 6. Bandeau d'accueil ---------- */
.cfc-hero { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.cfc-hero__int { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.cfc-hero__chapo { margin-top: 1.35rem; font-size: 1.16rem; max-width: 36rem; }
.cfc-hero__chapo strong { color: var(--cfc-encre); }
.cfc-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cfc-preuves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--cfc-ligne); }
.cfc-preuves li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.93rem; line-height: 1.4; color: var(--cfc-texte); }
.cfc-preuves li svg { color: var(--cfc-accent); margin-top: 0.1rem; }
.cfc-preuves strong { display: block; color: var(--cfc-encre); font-size: 0.98rem; }
.cfc-hero__media { position: relative; }
.cfc-hero__photo { position: relative; margin: 0; border-radius: var(--cfc-rayon); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--cfc-ombre); background: var(--cfc-fond); }
.cfc-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.cfc-hero__note {
  position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2.25rem; z-index: 3;
  max-width: 17.5rem; padding: 1rem 1.15rem; border-radius: 14px;
  background: var(--cfc-blanc); box-shadow: var(--cfc-ombre); border: 1px solid var(--cfc-ligne);
}
.cfc-hero__note p { font-size: 0.9rem; line-height: 1.45; }
.cfc-hero__note strong { display: flex; align-items: center; gap: 0.45rem; color: var(--cfc-encre); font-size: 0.98rem; margin-bottom: 0.3rem; }
.cfc-hero__note strong svg { color: var(--cfc-accent); }

/* ---------- 7. Bandeau urgence ---------- */
.cfc-urgence { background: var(--cfc-sombre); color: var(--cfc-clair-sur-sombre); }
.cfc-urgence__int { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 1.75rem; align-items: center; padding-block: 1.6rem; }
.cfc-urgence__icone { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--cfc-accent-voile); color: var(--cfc-accent-clair); }
.cfc-urgence__icone svg { width: 1.6rem; height: 1.6rem; }
.cfc-urgence h2 { color: var(--cfc-blanc); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); }
.cfc-urgence p { color: var(--cfc-discret-sur-sombre); margin-top: 0.3rem; }

/* ---------- 8. Prestations (grille asymétrique) ---------- */
.cfc-prestations { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
a.cfc-prestation {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.6rem; border-radius: var(--cfc-rayon); background: var(--cfc-blanc);
  border: 1px solid var(--cfc-ligne); text-decoration: none; color: var(--cfc-texte);
  transition: transform var(--cfc-transition), box-shadow var(--cfc-transition), border-color var(--cfc-transition);
}
a.cfc-prestation:hover { transform: translateY(-4px); box-shadow: var(--cfc-ombre); border-color: transparent; color: var(--cfc-texte); }
.cfc-prestation__icone { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--cfc-accent-teinte); color: var(--cfc-accent); }
.cfc-prestation__icone svg { width: 1.5rem; height: 1.5rem; }
.cfc-prestation h3 { font-size: 1.2rem; }
.cfc-prestation p { font-size: 0.97rem; }
.cfc-prestation .cfc-lien-fleche { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--cfc-accent); margin-top: auto; padding-top: 0.5rem; }
.cfc-prestation .cfc-lien-fleche svg { transition: transform var(--cfc-transition); }
a.cfc-prestation:hover .cfc-lien-fleche svg { transform: translateX(4px); }
a.cfc-prestation--vedette { grid-row: span 3; padding: 0; overflow: hidden; background: var(--cfc-sombre); border-color: var(--cfc-sombre); color: var(--cfc-clair-sur-sombre); }
a.cfc-prestation--vedette:hover { color: var(--cfc-clair-sur-sombre); }
.cfc-prestation--vedette .cfc-prestation__photo { position: relative; flex: 1; min-height: 16rem; overflow: hidden; }
.cfc-prestation--vedette .cfc-prestation__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.cfc-prestation--vedette:hover .cfc-prestation__photo img { transform: scale(1.03); }
.cfc-prestation--vedette .cfc-prestation__corps { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem 1.75rem 1.9rem; }
.cfc-prestation--vedette h3 { color: var(--cfc-blanc); font-size: 1.5rem; }
.cfc-prestation--vedette p { color: var(--cfc-discret-sur-sombre); }
.cfc-prestation--vedette .cfc-lien-fleche { color: var(--cfc-accent-clair); }
.cfc-prestation__etiquette { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--cfc-accent-voile); color: var(--cfc-accent-clair); }

/* ---------- 9. Le dirigeant ---------- */
.cfc-dirigeant__int { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.cfc-portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--cfc-rayon); overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--cfc-fond) 0 14px, #E9EEEC 14px 28px);
  display: grid; place-items: center; text-align: center; border: 1px dashed #A9B6B2;
}
.cfc-portrait__texte { max-width: 15rem; padding: 1rem; color: var(--cfc-discret); font-size: 0.95rem; }
.cfc-portrait__texte svg { width: 2.2rem; height: 2.2rem; margin: 0 auto 0.75rem; color: var(--cfc-accent); }
.cfc-dirigeant h2 { margin-bottom: 1.25rem; }
.cfc-dirigeant p + p { margin-top: 1rem; }
.cfc-engagements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cfc-engagements li { display: flex; gap: 0.7rem; align-items: flex-start; padding-top: 1rem; border-top: 2px solid var(--cfc-encre); }
.cfc-engagements li svg { color: var(--cfc-accent); margin-top: 0.15rem; }
.cfc-engagements strong { display: block; color: var(--cfc-encre); }
.cfc-engagements span { font-size: 0.93rem; }

/* ---------- 10. Méthode / étapes ---------- */
.cfc-etapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.cfc-etapes li { position: relative; padding-top: 3.4rem; counter-increment: etape; }
.cfc-etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--cfc-police-titre); font-weight: 760; font-size: 1.05rem; color: var(--cfc-accent);
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--cfc-blanc); border: 2px solid var(--cfc-accent);
}
.cfc-etapes li::after { content: ""; position: absolute; top: 1.3rem; left: 3.1rem; right: -0.7rem; height: 2px; background: var(--cfc-ligne); }
.cfc-etapes li:last-child::after { display: none; }
.cfc-etapes h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.cfc-etapes p { font-size: 0.95rem; }

/* ---------- 11. Réalisations ---------- */
.cfc-galerie { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cfc-galerie figure { position: relative; margin: 0; border-radius: var(--cfc-rayon); overflow: hidden; background: var(--cfc-fond); min-height: 15rem; }
.cfc-galerie figure:first-child { grid-row: span 2; }
.cfc-galerie img { width: 100%; height: 100%; object-fit: cover; }
.cfc-galerie figcaption { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; max-width: calc(100% - 9rem); padding: 0.45rem 0.75rem; border-radius: 10px; background: rgba(255, 255, 255, 0.94); color: var(--cfc-encre); font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.cfc-galerie__pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; }

/* ---------- 12. Zone d'intervention ---------- */
.cfc-zone__int { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.cfc-communes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.cfc-communes li { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--cfc-blanc); border: 1px solid var(--cfc-ligne); }
.cfc-communes li strong { color: var(--cfc-encre); font-size: 0.98rem; line-height: 1.3; }
.cfc-communes li span { font-size: 0.82rem; color: var(--cfc-discret); }
.cfc-communes li.cfc-communes__siege { background: var(--cfc-encre); border-color: var(--cfc-encre); }
.cfc-communes li.cfc-communes__siege strong { color: var(--cfc-blanc); }
.cfc-communes li.cfc-communes__siege span { color: var(--cfc-discret-sur-sombre); }
.cfc-zone p + p { margin-top: 1rem; }

/* ---------- 13. FAQ ---------- */
.cfc-faq__int { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.cfc-faq__aside { position: sticky; top: 6.5rem; }
.cfc-faq__aside p { margin-top: 1rem; }
.cfc-faq__aside .cfc-btn { margin-top: 1.5rem; }
.cfc-question { border-bottom: 1px solid var(--cfc-ligne); }
.cfc-question:first-child { border-top: 1px solid var(--cfc-ligne); }
.cfc-question summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--cfc-police-titre); font-weight: 650; font-size: 1.1rem; line-height: 1.3; color: var(--cfc-encre);
}
.cfc-question summary::-webkit-details-marker { display: none; }
.cfc-question summary::after {
  content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--cfc-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319211F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 1rem no-repeat;
  transition: transform var(--cfc-transition);
}
.cfc-question[open] summary::after { transform: rotate(45deg); }
.cfc-question__reponse { padding: 0 0 1.35rem; max-width: 42rem; }
.cfc-question__reponse p + p { margin-top: 0.75rem; }

/* ---------- 14. Contact / formulaire ---------- */
.cfc-contact { background: var(--cfc-sombre); color: var(--cfc-clair-sur-sombre); }
.cfc-contact__int { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.cfc-contact h2 { color: var(--cfc-blanc); }
.cfc-contact .cfc-sur-titre { color: var(--cfc-accent-clair); }
.cfc-contact__intro > p { margin-top: 1rem; color: var(--cfc-discret-sur-sombre); font-size: 1.08rem; }
.cfc-coordonnees { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.cfc-coordonnees li { display: flex; gap: 0.85rem; align-items: flex-start; }
.cfc-coordonnees li svg { color: var(--cfc-accent-clair); margin-top: 0.2rem; }
.cfc-coordonnees span { display: block; font-size: 0.85rem; color: var(--cfc-discret-sur-sombre); }
.cfc-coordonnees a, .cfc-coordonnees strong { color: var(--cfc-blanc); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.cfc-coordonnees a:hover { color: var(--cfc-accent-clair); }
.cfc-formulaire { background: var(--cfc-blanc); color: var(--cfc-texte); border-radius: var(--cfc-rayon); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.cfc-formulaire h3 { margin-bottom: 0.35rem; }
.cfc-formulaire > p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.cfc-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cfc-champ { display: flex; flex-direction: column; gap: 0.4rem; }
.cfc-champ--large { grid-column: 1 / -1; }
.cfc-champ label { font-weight: 700; font-size: 0.95rem; color: var(--cfc-encre); }
.cfc-champ label span { font-weight: 500; color: var(--cfc-discret); }
.cfc-champ input, .cfc-champ select, .cfc-champ textarea {
  width: 100%; font: 400 1rem/1.4 var(--cfc-police-texte); color: var(--cfc-encre);
  min-height: 3rem; padding: 0.75rem 0.9rem; border-radius: var(--cfc-rayon-petit);
  border: 1.5px solid #B9C4C0; background: var(--cfc-blanc);
  transition: border-color var(--cfc-transition), box-shadow var(--cfc-transition);
}
.cfc-champ textarea { min-height: 7.5rem; resize: vertical; }
.cfc-champ input:focus, .cfc-champ select:focus, .cfc-champ textarea:focus { outline: none; border-color: var(--cfc-accent); box-shadow: 0 0 0 3px var(--cfc-accent-teinte); }
.cfc-champ__aide { font-size: 0.85rem; color: var(--cfc-discret); }
.cfc-champ__erreur { display: none; font-size: 0.87rem; font-weight: 600; color: #A12622; }
.cfc-champ.is-erreur input, .cfc-champ.is-erreur select, .cfc-champ.is-erreur textarea { border-color: #A12622; }
.cfc-champ.is-erreur .cfc-champ__erreur { display: block; }
.cfc-consentement { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; line-height: 1.45; }
.cfc-champ .cfc-consentement { font-weight: 400; color: var(--cfc-texte); font-size: 0.88rem; }
.cfc-champ.is-erreur .cfc-consentement input { outline: 2px solid #A12622; outline-offset: 2px; }
.cfc-consentement input { width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: 0.1rem; accent-color: var(--cfc-accent); flex: none; }
.cfc-formulaire__envoi { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.25rem; }
.cfc-formulaire__envoi small { font-size: 0.85rem; color: var(--cfc-discret); }
.cfc-formulaire__succes { display: none; text-align: left; padding: 1rem 0; }
.cfc-formulaire.is-envoye .cfc-champs { display: none; }
.cfc-formulaire.is-envoye .cfc-formulaire__succes { display: block; }
.cfc-formulaire__succes svg { width: 2.5rem; height: 2.5rem; color: var(--cfc-accent); margin-bottom: 0.75rem; }
/* Formulaire court du bandeau d'accueil (« être rappelé ») */
.cfc-formulaire--hero { border: 1px solid var(--cfc-ligne); border-top: 4px solid var(--cfc-accent); box-shadow: var(--cfc-ombre); }
.cfc .cfc-formulaire--hero h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.65rem); line-height: 1.2; margin-bottom: 0.35rem; }
.cfc-formulaire--hero > p { margin-bottom: 1.25rem; }
.cfc-formulaire--hero .cfc-champs { gap: 0.9rem 1rem; }
.cfc-formulaire--hero .cfc-formulaire__envoi .cfc-btn { width: 100%; }
.cfc-formulaire__plus { grid-column: 1 / -1; font-size: 0.88rem; color: var(--cfc-discret); }

/* ---------- 15. Pied de page ---------- */
.cfc-pied { background: var(--cfc-pied-fond); color: var(--cfc-discret-sur-sombre); font-size: 0.95rem; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.cfc-pied__int { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.cfc-pied a.cfc-marque { align-items: flex-start; min-height: 0; }
.cfc-pied .cfc-marque__logo { height: 3.1rem; color: var(--cfc-logo-pied); }
.cfc-pied p { margin-top: 1rem; max-width: 22rem; }
.cfc-pied h3 { font-family: var(--cfc-police-texte); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cfc-blanc); margin-bottom: 1rem; }
.cfc-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.cfc-pied a { color: var(--cfc-clair-sur-sombre); text-decoration: none; display: inline-flex; min-height: 1.9rem; align-items: center; }
.cfc-pied a:hover { color: var(--cfc-accent-clair); }
.cfc-pied__bas { border-top: 1px solid rgba(232, 238, 236, 0.12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; }
.cfc-pied__bas ul { display: flex; gap: 1.25rem; }

/* ---------- 16. Barre d'appel mobile ---------- */
.cfc-barre-appel { display: none; }

/* ---------- 17. Page service ---------- */
.cfc-fil { font-size: 0.88rem; color: var(--cfc-discret); padding-top: 1.25rem; }
.cfc-fil ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.cfc-fil li + li::before { content: "›"; margin-right: 0.4rem; color: var(--cfc-discret); }
.cfc-fil a { color: var(--cfc-discret); text-decoration: none; }
.cfc-fil a:hover { color: var(--cfc-accent); text-decoration: underline; }
.cfc-page-hero .cfc-hero__photo { aspect-ratio: 5 / 4; }
.cfc-reponse-directe { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--cfc-accent); background: var(--cfc-accent-teinte); border-radius: 0 12px 12px 0; color: var(--cfc-encre); font-size: 1.02rem; }
.cfc-signes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; margin: 0; padding: 0; list-style: none; }
.cfc-signes li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--cfc-ligne); }
.cfc-signes li svg { color: var(--cfc-accent); margin-top: 0.15rem; }
.cfc-signes strong { color: var(--cfc-encre); display: block; }
.cfc-causes { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: cause; }
.cfc-causes li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem; border-radius: var(--cfc-rayon); background: var(--cfc-blanc); border: 1px solid var(--cfc-ligne); counter-increment: cause; }
.cfc-causes li::before { content: counter(cause); font-family: var(--cfc-police-titre); font-weight: 760; font-size: 2.1rem; line-height: 1; color: var(--cfc-accent); }
.cfc-causes h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.cfc-deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.cfc-tableau-prix { width: 100%; border-collapse: collapse; font-size: 0.97rem; margin-top: 1.5rem; }
.cfc-tableau-prix caption { text-align: left; font-size: 0.88rem; color: var(--cfc-discret); padding-bottom: 0.75rem; }
.cfc-tableau-prix th, .cfc-tableau-prix td { text-align: left; padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--cfc-ligne); vertical-align: top; }
.cfc-tableau-prix thead th { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cfc-discret); border-bottom: 2px solid var(--cfc-encre); }
.cfc-tableau-prix tbody th { color: var(--cfc-encre); font-weight: 700; }
.cfc-facteurs { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.cfc-facteurs li { display: flex; gap: 0.6rem; align-items: flex-start; }
.cfc-facteurs li svg { color: var(--cfc-accent); margin-top: 0.2rem; }
.cfc-erreurs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cfc-erreurs li { padding: 1.4rem 1.5rem; border-radius: var(--cfc-rayon); background: var(--cfc-blanc); border: 1px solid var(--cfc-ligne); }
.cfc-erreurs h3 { display: flex; gap: 0.6rem; align-items: center; font-size: 1.08rem; margin-bottom: 0.5rem; }
.cfc-erreurs h3 svg { color: #A12622; }
.cfc-encadre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--cfc-rayon); background: var(--cfc-accent-teinte); color: var(--cfc-encre); }
.cfc-encadre svg { width: 2rem; height: 2rem; color: var(--cfc-accent); }
.cfc-encadre h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin-bottom: 0.6rem; }
.cfc-encadre p + p { margin-top: 0.75rem; }
.cfc-autres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cfc-autres .cfc-prestation { min-height: 100%; }
.cfc-cta-final { background: var(--cfc-sombre); color: var(--cfc-clair-sur-sombre); }
.cfc-cta-final__int { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cfc-cta-final h2 { color: var(--cfc-blanc); max-width: 34rem; }
.cfc-cta-final p { color: var(--cfc-discret-sur-sombre); margin-top: 0.6rem; }
.cfc-cta-final__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 18. Apparitions au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cfc-js [data-apparition] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--cfc-rang, 0) * 70ms); }
  .cfc-js [data-apparition].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cfc *, .cfc *::before, .cfc *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1100px) {
  .cfc-nav__liste a { padding-inline: 0.55rem; font-size: 0.93rem; }
  .cfc-entete a.cfc-tel span { display: none; }
  .cfc-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .cfc-etapes li:nth-child(3)::after { display: none; }
  .cfc-pied__int { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cfc-infos { display: none; }
  .cfc-nav__bouton {
    display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
    border-radius: var(--cfc-rayon-petit); border: 1.5px solid var(--cfc-entete-bouton); background: transparent; color: var(--cfc-entete-texte); cursor: pointer;
  }
  .cfc-nav__bouton svg { width: 1.5rem; height: 1.5rem; }
  .cfc-nav__liste {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.75rem var(--cfc-marge) 1.25rem; background: var(--cfc-entete-panneau);
    border-bottom: 1px solid var(--cfc-entete-ligne); box-shadow: 0 24px 40px -30px rgba(20, 27, 29, 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--cfc-transition), transform var(--cfc-transition), visibility var(--cfc-transition);
  }
  .cfc-nav.is-ouverte .cfc-nav__liste { visibility: visible; opacity: 1; transform: none; }
  .cfc-nav__liste a { display: flex; min-height: 3rem; font-size: 1.05rem; border-bottom: 1px solid var(--cfc-entete-filet); border-radius: 0; }
  .cfc-entete__actions .cfc-btn { display: none; }
  .cfc-hero__int, .cfc-dirigeant__int, .cfc-zone__int, .cfc-faq__int, .cfc-contact__int, .cfc-deux-colonnes { grid-template-columns: minmax(0, 1fr); }
  .cfc-hero__photo { aspect-ratio: 16 / 11; }
  .cfc-hero__note { left: 1rem; bottom: -1.5rem; }
  .cfc-hero__media { margin-bottom: 1.5rem; }
  .cfc-prestations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a.cfc-prestation--vedette { grid-row: auto; grid-column: 1 / -1; }
  .cfc-prestation--vedette .cfc-prestation__photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .cfc-galerie { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .cfc-galerie figure:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .cfc-faq__aside { position: static; }
  .cfc-portrait { aspect-ratio: 16 / 10; }
  .cfc-autres { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  body.cfc { font-size: 1rem; padding-bottom: 4.5rem; }
  .cfc-entete__int { min-height: 4rem; }
  .cfc-marque__logo { height: 2.4rem; }
  .cfc-entete a.cfc-tel { display: none; }
  .cfc-preuves { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .cfc-urgence__int { grid-template-columns: auto minmax(0, 1fr); }
  .cfc-urgence__int .cfc-btn { grid-column: 1 / -1; width: 100%; }
  .cfc-prestations, .cfc-engagements, .cfc-signes, .cfc-erreurs, .cfc-champs { grid-template-columns: minmax(0, 1fr); }
  .cfc-etapes { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .cfc-etapes li { padding-top: 0; padding-left: 3.6rem; min-height: 2.6rem; }
  .cfc-etapes li::after { display: none; }
  .cfc-galerie { grid-template-columns: minmax(0, 1fr); }
  .cfc-galerie figure { aspect-ratio: 4 / 3; min-height: 0; }
  .cfc-communes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfc-causes li { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.9rem; padding: 1.25rem; }
  .cfc-causes li::before { font-size: 1.6rem; }
  .cfc-encadre { grid-template-columns: minmax(0, 1fr); }
  .cfc-tableau-prix thead { display: none; }
  .cfc-tableau-prix tr { display: grid; padding: 0.9rem 0; border-bottom: 1px solid var(--cfc-ligne); }
  .cfc-tableau-prix th, .cfc-tableau-prix td { border: 0; padding: 0.15rem 0; }
  .cfc-tableau-prix td[data-titre]::before { content: attr(data-titre) " : "; font-weight: 600; color: var(--cfc-discret); }
  .cfc-pied__int { grid-template-columns: minmax(0, 1fr); }
  .cfc-barre-appel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--cfc-ligne);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .cfc-barre-appel a.cfc-btn { min-height: 3rem; padding-inline: 0.75rem; }
}

/* ---------- 20. Thème WordPress (ajouté à la feuille de la maquette par construire-theme.py) ---------- */
/* Polices auto-hébergées (licence SIL OFL, fichiers dans assets/fonts/) : aucun appel à Google Fonts.
   Sous-ensembles latin et latin étendu ; le latin suffit au français, l'étendu n'est chargé que si un caractère l'exige. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  width: 1px; height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}

/* Sous-menu des prestations */
.cfc-nav__liste li { position: relative; }
.cfc-nav__liste .menu-item-has-children > a::after {
  content: ""; width: 0.42em; height: 0.42em; margin-left: 0.5rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.cfc-nav__liste .sub-menu {
  list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: calc(100% + 0.35rem); left: 0; z-index: 50;
  min-width: 17rem; background: var(--cfc-blanc); border: 1px solid var(--cfc-ligne); border-radius: var(--cfc-rayon-petit);
  box-shadow: var(--cfc-ombre); visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity var(--cfc-transition), transform var(--cfc-transition), visibility var(--cfc-transition);
}
.cfc-nav__liste .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
.cfc-nav__liste li:hover > .sub-menu, .cfc-nav__liste li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.cfc-nav__liste .sub-menu a { display: flex; width: 100%; min-height: 2.6rem; }

/* Pied de page : titres de colonnes et éléments sans lien */
.cfc .cfc-pied__titre { font-family: var(--cfc-police-texte); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cfc-blanc); margin-bottom: 1rem; }
.cfc-pied__liste span { display: inline-flex; min-height: 1.9rem; align-items: center; color: var(--cfc-clair-sur-sombre); }
.cfc-barre-appel--seul { grid-template-columns: 1fr !important; }

/* Pages de texte simple : mentions légales, confidentialité, pages sans mise en forme */
.cfc-page-simple { padding-block: var(--cfc-section); max-width: 52rem; }
.cfc-page-simple h1 { margin-bottom: 1.5rem; }
.cfc .cfc-page-simple h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 2.25rem 0 0.75rem; }
.cfc .cfc-page-simple h3 { margin: 1.5rem 0 0.5rem; }
:where(.cfc-page-simple) p, :where(.cfc-page-simple) ul, :where(.cfc-page-simple) ol { margin: 0 0 1rem; }
.cfc-page-simple li { margin-bottom: 0.35rem; }
.cfc-page-simple__actions { margin-top: 2rem; }

/* Contact Form 7 : bouton d'envoi (un input) et titre du formulaire, au rendu des boutons et titres de la maquette */
input[type="submit"].cfc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.8rem 1.35rem;
  font: 700 1rem/1.2 var(--cfc-police-texte); border-radius: var(--cfc-rayon-petit); border: 2px solid transparent;
  background: var(--cfc-accent); color: var(--cfc-blanc); cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color var(--cfc-transition), transform var(--cfc-transition), box-shadow var(--cfc-transition);
}
input[type="submit"].cfc-btn:hover { background: var(--cfc-accent-fonce); transform: translateY(-2px); box-shadow: var(--cfc-ombre-legere); }
input[type="submit"].cfc-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.cfc .cfc-formulaire__titre { font-size: 1.28rem; line-height: 1.25; margin-bottom: 0.35rem; color: var(--cfc-encre); }
.cfc-contact h1 { color: var(--cfc-blanc); }

/* Contact Form 7 : états et messages, sur la base des champs de la maquette (sa propre CSS n'est pas chargée) */
.wpcf7 .screen-reader-response {
  position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important;
}
.wpcf7 .hidden-fields-container { display: none; }
.cfc-champ .wpcf7-form-control-wrap { display: block; }
.cfc-champ .wpcf7-not-valid { border-color: #A12622; }
.wpcf7-not-valid-tip { display: block; margin-top: 0.35rem; font-size: 0.87rem; font-weight: 600; color: #A12622; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 0.9rem 1rem; border-radius: var(--cfc-rayon-petit); border: 1.5px solid var(--cfc-ligne); font-size: 0.95rem; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2E7D4F; background: #EAF5EE; color: #1F5A38; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: #A12622; background: #FBEDEC; color: #7A1B18; }
.cfc-consentement-bloc .wpcf7-list-item { margin: 0; }
.cfc-consentement-bloc label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.88rem; line-height: 1.45; color: var(--cfc-texte); }
.cfc-champ input[type="checkbox"] { width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; margin: 0.1rem 0 0; accent-color: var(--cfc-accent); flex: none; }
.cfc-champ input[type="file"] { min-height: 0; padding: 0.6rem; }
.wpcf7-spinner {
  visibility: hidden; display: inline-block; width: 1.25rem; height: 1.25rem; margin: 0 0.5rem;
  border: 2px solid var(--cfc-ligne); border-top-color: var(--cfc-accent); border-radius: 50%;
  animation: cfc-tourne 0.8s linear infinite;
}
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
@keyframes cfc-tourne { to { transform: rotate(360deg); } }

/* Accueil : encadré « L'essentiel » (faits clés en réponses directes, repris tels quels par les moteurs d'IA) */
.cfc-essentiel { padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cfc-essentiel__boite {
  border-left: 4px solid var(--cfc-accent); background: var(--cfc-fond); border-radius: 0 var(--cfc-rayon) var(--cfc-rayon) 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 2vw, 2.25rem);
}
.cfc .cfc-essentiel__titre { font-size: 1.2rem; margin-bottom: 0.9rem; }
.cfc-essentiel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 2.25rem; margin: 0; padding: 0; list-style: none; }
.cfc-essentiel li { position: relative; padding-left: 1.15rem; font-size: 0.97rem; line-height: 1.5; }
.cfc-essentiel li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 2px; background: var(--cfc-accent); }
.cfc-essentiel li strong { color: var(--cfc-encre); }

/* Portrait remplacé par une photo de chantier */
.cfc-portrait--photo { display: block; background: var(--cfc-fond); border: 0; }
.cfc-portrait--photo img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ : chaque question est un H3 dans le résumé, au style du résumé */
.cfc .cfc-question summary h3 { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; }

/* Prix indicatifs */
.cfc-prix { max-width: 52rem; }
.cfc-prix__note { margin-top: 1rem; font-size: 0.9rem; color: var(--cfc-discret); }

/* Photos de chantier verticales : elles remplissent leur cadre sans l'étirer (cadrage réglé par object-position) */
.cfc-galerie { grid-template-rows: repeat(2, clamp(13rem, 9rem + 9vw, 18rem)); }
.cfc-galerie figure { min-height: 0; }
.cfc-galerie img, .cfc-prestation--vedette .cfc-prestation__photo img { position: absolute; inset: 0; }

@media (max-width: 960px) {
  /* visibility: inherit, jamais visible : sinon, menu fermé, les liens du sous-menu restent cliquables, invisibles,
     par-dessus la page (bouton d'envoi du formulaire compris). Corrigé le 06/10/2026, thème 0.3.1. */
  .cfc-nav__liste .sub-menu {
    position: static; visibility: inherit; opacity: 1; transform: none; min-width: 0;
    padding: 0 0 0.25rem 1rem; border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  .cfc-nav__liste .menu-item-has-children > a::after { display: none; }
  .cfc-nav__liste .sub-menu a { font-size: 0.98rem; min-height: 2.75rem; }
}
@media (max-width: 767px) {
  .cfc-essentiel ul { grid-template-columns: minmax(0, 1fr); }
}
/* Bouton du menu calé à droite, aligné sur la marge du logo (demande de Benjamin du 06/10/2026, thème 0.3.2) :
   sur tablette, l'icône de téléphone passe à sa gauche ; sur téléphone, le bloc d'actions vide ne prend plus de place. */
@media (max-width: 960px) {
  .cfc-entete__actions { order: 1; margin-left: auto; }
  .cfc-nav { order: 2; }
  .cfc-entete__int { gap: 0.5rem; }
}
@media (max-width: 767px) {
  .cfc-entete__actions { display: none; }
}
@media (max-width: 960px) {
  .cfc-galerie { grid-template-rows: none; }
  .cfc-galerie figure { aspect-ratio: 4 / 3; }
}

/* Hero de l'accueil avec photo de fond : voile brun sombre, textes clairs, formulaire blanc par-dessus.
   La photo est un <img> (élément LCP : fetchpriority haute, jamais en lazy), cadrée par object-position dans la page. */
.cfc-hero--photo { position: relative; isolation: isolate; overflow: hidden; background: var(--cfc-pied-fond); color: var(--cfc-clair-sur-sombre); }
.cfc-hero__fond { position: absolute; inset: 0; z-index: -1; }
.cfc-hero__fond img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfc-hero__fond::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(36, 23, 18, 0.9) 0%, rgba(36, 23, 18, 0.82) 45%, rgba(36, 23, 18, 0.6) 75%, rgba(36, 23, 18, 0.5) 100%);
}
.cfc .cfc-hero--photo h1 { color: var(--cfc-blanc); }
.cfc-hero--photo .cfc-sur-titre { color: var(--cfc-accent-clair); }
.cfc-hero--photo .cfc-hero__chapo { color: var(--cfc-clair-sur-sombre); }
.cfc-hero--photo .cfc-hero__chapo strong { color: var(--cfc-blanc); }
.cfc-hero--photo a.cfc-btn--contour { color: var(--cfc-blanc); border-color: rgba(241, 230, 212, 0.6); }
.cfc-hero--photo a.cfc-btn--contour:hover { background: var(--cfc-accent-clair); border-color: var(--cfc-accent-clair); color: var(--cfc-sombre); }
.cfc-hero--photo .cfc-preuves { border-top-color: rgba(241, 230, 212, 0.2); }
.cfc-hero--photo .cfc-preuves li { color: var(--cfc-discret-sur-sombre); }
.cfc-hero--photo .cfc-preuves li svg { color: var(--cfc-accent-clair); }
.cfc-hero--photo .cfc-preuves strong { color: var(--cfc-blanc); }

/* Contour de focus : le brique tombe sous 3:1 sur les fonds sombres et sur le bandeau brique, sable à la place ;
   brique à nouveau dans les cartes blanches (formulaires). */
.cfc-infos, .cfc-hero--photo, .cfc-urgence, .cfc-contact, .cfc-pied { --cfc-focus: var(--cfc-accent-clair); }
.cfc-formulaire { --cfc-focus: var(--cfc-accent); }
.cfc :focus-visible { outline-color: var(--cfc-focus, var(--cfc-accent)); }

@media (max-width: 960px) {
  .cfc-hero__fond { bottom: auto; height: 46rem; }
  .cfc-hero__fond::after { background: linear-gradient(180deg, rgba(36, 23, 18, 0.84) 0%, rgba(36, 23, 18, 0.82) 60%, var(--cfc-pied-fond) 100%); }
}

/* Consignes numérotées (« que faire en attendant ») : pastilles brique, texte en regard */
.cfc-consignes { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: consigne; }
.cfc-consignes li { position: relative; padding-left: 3rem; counter-increment: consigne; }
.cfc-consignes li::before {
  content: counter(consigne); position: absolute; left: 0; top: -0.15rem; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--cfc-accent); color: var(--cfc-blanc);
  font-family: var(--cfc-police-titre); font-weight: 700; font-size: 0.95rem;
}
.cfc-consignes strong { color: var(--cfc-encre); }
.cfc-entete-section .cfc-btn { margin-top: 1.5rem; }

/* Galerie en étapes (avant / pendant / après) : colonnes égales en 4:3, empilées sur mobile, étiquette en haut à gauche */
.cfc-galerie--etapes { grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.cfc-galerie--etapes figure, .cfc-galerie--etapes figure:first-child { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3; min-height: 0; }
.cfc-galerie__etiquette {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 2; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--cfc-sombre); color: var(--cfc-blanc); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
@media (max-width: 767px) {
  .cfc-galerie--etapes { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
}

/* Deux colonnes : sur grand écran, l'en-tête reste visible pendant la lecture de la colonne longue (causes, consignes) */
@media (min-width: 961px) {
  .cfc-deux-colonnes > .cfc-entete-section { position: sticky; top: 6.5rem; }
}

/* Galerie en étapes : légende sur presque toute la largeur (colonnes étroites sur tablette) */
.cfc-galerie--etapes figcaption { max-width: calc(100% - 1.5rem); }
/* Variante photos verticales (3:4) : une colonne par photo sur grand écran, deux en dessous de 960 px */
.cfc-galerie--portrait figure, .cfc-galerie--portrait figure:first-child { aspect-ratio: 3 / 4; }
@media (max-width: 960px) {
  .cfc-galerie--portrait { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Cartes de travaux : gabarit des « erreurs », icône brique au lieu du rouge */
.cfc-erreurs--neutre h3 svg { color: var(--cfc-accent); }

/* Contraste du bandeau photo sur tablette et mobile (contrôle du 29/09/2026, pixels de la photo mesurés) : le texte
   occupe toute la largeur, jusque sur la partie claire de la photo, où le dégradé horizontal descend à 0,5. Voile
   vertical ajouté par-dessus : pire cas mesuré 6,5:1 à 375 px et 5,1:1 à 768 px (au lieu de 3,1 et 2,15). */
@media (max-width: 1199px) {
  .cfc-hero__fond::after {
    background:
      linear-gradient(180deg, rgba(36, 23, 18, 0.2) 0%, rgba(36, 23, 18, 0.45) 50%, rgba(36, 23, 18, 0.75) 100%),
      linear-gradient(90deg, rgba(36, 23, 18, 0.9) 0%, rgba(36, 23, 18, 0.82) 45%, rgba(36, 23, 18, 0.6) 75%, rgba(36, 23, 18, 0.5) 100%);
  }
}

/* Lien d'évitement : blanc sur encre dans tous ses états. « .cfc a » (0,1,1) le repassait en brique et « .cfc a:hover »
   (0,2,1) l'emportait sur « .cfc-sauter:focus » quand la souris passait dessus pendant le focus (1,8:1). */
.cfc a.cfc-sauter, .cfc a.cfc-sauter:hover, .cfc a.cfc-sauter:focus { color: var(--cfc-blanc); }

/* Bas du pied de page (09/11/2026) : « .cfc-pied p » donne 1rem de marge haute à tous les paragraphes du pied ; dans la
   barre du bas, la ligne « © … · Site créé par Web Ranker » descendait sous les liens légaux sur ordinateur. */
.cfc-pied__bas { align-items: center; }
.cfc-pied .cfc-pied__bas p { margin: 0; }
