/* strate.css : Cote Zéro TP, terrassement à Cahors.
   Ordre : reset, tokens, composants, sections de la home, responsive en fin de fichier.
   Préfixe cz, classes en camelCase. Aucun dégradé, aucune ombre, radius 0. */

/* ---------- Fontes (auto-hébergées, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dmmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body,
h1,
h2,
h3,
p,
ul,
ol,
figure,
address {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
input,
select,
button {
  font: inherit;
  color: inherit;
  border-radius: 0;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}

/* ---------- Tokens ---------- */
:root {
  --terre: #2a2019;
  --pierre: #d8d8ce;
  --craie: #f2f1ea;
  --roche: #45483f;
  --argile: #6e2e1d;
  --ocre: #c48a2c;
  --ocre-clair: #e0a84e;
  --filet: rgba(42, 32, 25, 0.2);

  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --corps: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-mono: 13px;
  --t-texte: 17px;
  --t-21: 21px;
  --t-27: 27px;
  --t-34: 34px;
  --t-42: 42px;

  --gouttiere: clamp(20px, 5vw, 64px);
  --largeur: 1200px;
  --marge: calc((100% - min(100% - 2 * var(--gouttiere), var(--largeur))) / 2);
  --section: clamp(56px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --bandeau: 54px;
}

/* ---------- Base ---------- */
body {
  background: var(--craie);
  color: var(--terre);
  font: 400 var(--t-texte) / 1.55 var(--corps);
  padding-bottom: var(--bandeau);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ---------- Composants ---------- */
.cz_wrap {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}
.cz_h2 {
  font: 800 var(--t-34) / 1.08 var(--display);
}
.cz_amorce {
  display: block;
  font: 800 var(--t-21) / 1.2 var(--display);
  margin-bottom: 8px;
}
.cz_meta {
  font: 400 var(--t-mono) / 1.4 var(--mono);
  color: inherit;
}
.cz_lien {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ocre);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cz_lien:hover {
  text-decoration-color: currentColor;
}
.cz_bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--ocre);
  color: var(--terre);
  border: 1px solid var(--terre);
  font: 600 var(--t-texte) / 1 var(--corps);
  text-decoration: none;
  white-space: nowrap;
}
.cz_bouton:hover {
  background: var(--ocre-clair);
}
.cz_bouton:focus-visible {
  outline-color: var(--terre);
}
.cz_bouton_sombre {
  background: var(--terre);
  color: var(--craie);
}
.cz_bouton_sombre:hover {
  background: var(--roche);
}
.cz_icone {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.cz_coche {
  color: var(--terre);
}
.cz_croix {
  color: var(--argile);
}

/* Champs du formulaire */
.cz_champ {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.cz_champ label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.cz_champ input,
.cz_champ select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--terre);
  font-size: var(--t-texte);
}
.cz_champ input:focus-visible,
.cz_champ select:focus-visible {
  outline-offset: 0;
  outline-width: 3px;
  outline-color: var(--argile);
}
.cz_piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cz_sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Header ---------- */
.cz_header {
  position: relative;
  z-index: 20;
  background: var(--terre);
  color: var(--craie);
  border-bottom: 1px solid var(--roche);
}
.cz_header_barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  min-height: 64px;
  margin-inline: auto;
}
.cz_logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.cz_logo_signe {
  width: 26px;
  height: 24px;
  color: var(--ocre);
  border-bottom: 3px solid var(--craie);
}
.cz_logo_nom {
  font: 800 20px / 1 var(--display);
}
.cz_menu_case {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cz_menu_bouton {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--roche);
  font-weight: 600;
  cursor: pointer;
}
.cz_menu_case:focus-visible + .cz_menu_bouton {
  outline: 3px solid var(--craie);
  outline-offset: 3px;
}
.cz_nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--terre);
  border-bottom: 1px solid var(--roche);
}
.cz_menu_case:checked ~ .cz_nav {
  display: flex;
  flex-direction: column;
}
.cz_nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-inline: var(--gouttiere);
  border-top: 1px solid var(--roche);
  font-weight: 600;
  text-decoration: none;
}
.cz_nav a:hover,
.cz_nav a:focus-visible,
.cz_nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--ocre);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.cz_header_tel {
  display: none;
}
.cz_header_tel:focus-visible {
  outline-color: var(--craie);
}

/* ---------- 1. Hero ---------- */
.cz_hero {
  position: relative;
  isolation: isolate;
  background: var(--terre);
  color: var(--craie);
  padding-block: clamp(36px, 6vw, 56px) clamp(24px, 3vw, 36px);
}
.cz_hero > picture {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cz_hero > picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 32, 25, 0.55);
}
.cz_hero > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cz_hero_corps {
  display: grid;
  gap: 28px;
}
.cz_h1 {
  font: 800 clamp(38px, 5vw, 58px) / 1.02 var(--display);
  letter-spacing: -0.01em;
}
.cz_h1_marque {
  display: block;
  color: var(--ocre-clair);
}
.cz_hero_slogan {
  margin-top: 16px;
  font: 800 clamp(21px, 2.4vw, var(--t-27)) / 1.2 var(--display);
}
.cz_hero_lead {
  max-width: 64ch;
  margin-top: 12px;
  color: var(--pierre);
}
.cz_faits {
  border-top: 1px solid var(--roche);
}
.cz_faits li {
  padding: 12px 0;
  border-bottom: 1px solid var(--roche);
  font-weight: 600;
}
.cz_hero_grille {
  display: grid;
  gap: 32px;
}

/* Carte de devis : structure unique du vault (design-rules § 19), carte verticale à fort contraste */
.cz_devis {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  background: var(--craie);
  color: var(--terre);
  border: 1px solid var(--terre);
  border-top: 4px solid var(--ocre);
}
.cz_devis_titre {
  font: 800 var(--t-21) / 1.15 var(--display);
}
.cz_devis_gratuit {
  color: var(--argile);
}
.cz_devis_duo {
  display: grid;
  gap: 16px;
}
.cz_devis_bouton {
  width: 100%;
  min-height: 56px;
  font-size: 18px;
  white-space: normal;
  text-align: center;
}
.cz_devis_note {
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
.cz_devis_note a {
  text-underline-offset: 3px;
}

/* ---------- 2. Une réalisation en trois temps ---------- */
.cz_preuve {
  padding-block: var(--section);
  background: var(--craie);
}
.cz_preuve_tete {
  display: grid;
  gap: 20px;
}
.cz_preuve_texte {
  max-width: 56ch;
}
.cz_marches {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
.cz_marche {
  padding-top: 16px;
  border-top: 1px solid var(--filet);
}
.cz_marche > picture {
  margin-bottom: 16px;
  overflow: hidden;
}
.cz_marche > picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cz_legende {
  margin-top: 6px;
  font-weight: 600;
}
.cz_autres {
  margin-top: 56px;
  border-top: 1px solid var(--terre);
}
.cz_autres li {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--filet);
}

/* ---------- 3. Services ---------- */
.cz_svcs {
  padding-block: var(--section);
  background: var(--pierre);
}
.cz_svc_liste {
  margin-top: 40px;
  border-top: 1px solid var(--terre);
}
.cz_svc {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding-block: 28px;
  border-bottom: 1px solid var(--filet);
}
.cz_svc_num {
  font: 800 var(--t-27) / 1 var(--display);
  color: var(--argile);
}
.cz_svc_titre {
  font: 800 var(--t-21) / 1.15 var(--display);
}
.cz_svc_texte {
  max-width: 62ch;
  margin-top: 10px;
}
/* Visuel du service : l'emplacement existe toujours, la photo (<picture>) le remplit à son arrivée */
.cz_svc_visuel {
  grid-column: 2;
  margin-top: 20px;
}
.cz_svc_case {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--filet);
  border: 1px solid var(--filet);
}
.cz_svc_case picture,
.cz_svc_case img {
  width: 100%;
  height: 100%;
}
.cz_svc_case img {
  object-fit: cover;
}
.cz_svc_visuel_trio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cz_svc_visuel_trio .cz_svc_case {
  aspect-ratio: 4 / 3;
}
.cz_svc_visuel_trio .cz_svc_case:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}
.cz_svc_visuel_duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cz_svc_visuel_duo .cz_svc_case {
  aspect-ratio: 4 / 3;
}
.cz_svc_premier {
  padding-block: 40px;
}
.cz_svc_premier .cz_svc_num {
  font-size: var(--t-34);
}
.cz_svc_premier .cz_svc_titre {
  font-size: var(--t-27);
}
.cz_svc_appel {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 56px;
}
.cz_svc_appel_texte {
  max-width: 24em;
  font: 800 var(--t-27) / 1.15 var(--display);
}

/* ---------- 4. LA COTE (signature, une seule fois) ---------- */
.cz_cote {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 56px;
  padding-inline: var(--marge);
  background: var(--pierre);
  border-bottom: 4px solid var(--ocre);
}
.cz_cote_signe {
  width: 20px;
  height: 16px;
  color: var(--terre);
}
.cz_cote_libelle {
  padding-bottom: 6px;
  font: 400 var(--t-mono) / 1 var(--mono);
  color: var(--roche);
}

/* ---------- 5. Spécificités : trois strates ---------- */
.cz_strate {
  padding-block: clamp(48px, 7vw, 88px);
  color: var(--craie);
}
.cz_strate .cz_amorce {
  color: var(--ocre-clair);
  font-size: var(--t-27);
}
.cz_strate_grille {
  display: grid;
  gap: 24px;
}
.cz_strate_texte p + p {
  margin-top: 16px;
}
.cz_strate_intro {
  max-width: 60ch;
  margin-top: 20px;
  font-size: var(--t-21);
  line-height: 1.45;
  color: var(--pierre);
}
.cz_strate_vallee {
  background: var(--terre);
}
.cz_strate_versant {
  margin-top: -14px;
  padding-top: calc(clamp(48px, 7vw, 88px) + 14px);
  background: var(--argile);
  clip-path: polygon(0 12px, 22% 0, 47% 9px, 74% 3px, 100% 11px, 100% 100%, 0 100%);
}
.cz_strate_causse {
  margin-top: -12px;
  padding-top: calc(clamp(48px, 7vw, 88px) + 12px);
  background: var(--roche);
  clip-path: polygon(0 4px, 31% 12px, 58% 0, 83% 8px, 100% 2px, 100% 100%, 0 100%);
}
.cz_strate_grille > picture {
  overflow: hidden;
}
.cz_strate_grille > picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cz_strate_texte .cz_h2 {
  max-width: 20ch;
}
.cz_strate_texte p:not(.cz_strate_intro) {
  max-width: 60ch;
}
.cz_strate_vallee .cz_strate_texte .cz_h2 + .cz_strate_intro + p {
  margin-top: 40px;
}

/* ---------- 6. Déroulé, compris / non compris ---------- */
.cz_route {
  padding-block: var(--section);
  background: var(--craie);
}
.cz_etapes {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
.cz_etape {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--terre);
}
.cz_etape_num {
  font: 800 var(--t-42) / 1 var(--display);
  color: var(--argile);
}
.cz_bilan {
  display: grid;
  gap: 40px;
  margin-top: 64px;
}
.cz_bilan_titre {
  margin-bottom: 8px;
  font: 800 var(--t-21) / 1.2 var(--display);
}
.cz_bilan_liste li {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--filet);
}
.cz_bilan_liste .cz_icone {
  margin-top: 3px;
}

/* ---------- 7. Zone et fiche Google ---------- */
.cz_zone {
  padding-block: var(--section);
  background: var(--pierre);
}
.cz_zone_grille {
  display: grid;
  gap: 40px;
}
.cz_zone_bloc {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--filet);
}
.cz_zone_bloc .cz_meta {
  margin-bottom: 8px;
}
.cz_zone_fin {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--terre);
  font-weight: 600;
}
.cz_carte {
  background: var(--craie);
  border: 1px solid var(--terre);
}
.cz_carte iframe {
  width: 100%;
  height: 320px;
  border: 0;
}
.cz_carte_liens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 14px 16px;
  border-top: 1px solid var(--terre);
}

/* ---------- 8. Avis ---------- */
.cz_avis {
  padding-block: var(--section);
  background: var(--craie);
}
.cz_avis_grille {
  display: grid;
  gap: 28px;
}
.cz_avis_texte {
  max-width: 28em;
  margin-bottom: 20px;
  font: 800 var(--t-27) / 1.2 var(--display);
}

/* ---------- 9. FAQ ---------- */
.cz_faq {
  padding-block: var(--section);
  background: var(--pierre);
}
.cz_faq_liste {
  margin-top: 40px;
  border-top: 1px solid var(--terre);
}
.cz_q {
  display: grid;
  gap: 10px;
  padding-block: 24px;
  border-bottom: 1px solid var(--filet);
}
.cz_q_titre {
  font: 800 var(--t-21) / 1.25 var(--display);
}
.cz_q_rep {
  max-width: 62ch;
}

/* ---------- 10. Histoire ---------- */
.cz_histoire {
  padding-block: var(--section);
  background: var(--terre);
  color: var(--craie);
}
.cz_genese {
  max-width: 28em;
  margin-top: 32px;
  font: 800 clamp(24px, 3.4vw, var(--t-34)) / 1.2 var(--display);
}
.cz_histoire_cols {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  color: var(--pierre);
}
.cz_histoire_cols p {
  max-width: 60ch;
}

/* ---------- 11. Dernier appel ---------- */
.cz_appel {
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--ocre);
  color: var(--terre);
}
.cz_appel .cz_bouton:focus-visible {
  outline-color: var(--terre);
}
.cz_appel_grille {
  display: grid;
  gap: 28px;
  align-items: end;
}
.cz_appel_texte {
  max-width: 26em;
  font: 800 var(--t-27) / 1.15 var(--display);
}

/* ---------- 12. Footer ---------- */
.cz_footer {
  padding-block: 64px 32px;
  background: var(--terre);
  color: var(--pierre);
}
.cz_footer_tel {
  display: inline-block;
  font: 800 clamp(38px, 9vw, 66px) / 1 var(--display);
  color: var(--ocre-clair);
  text-decoration: none;
}
.cz_footer_tel:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.cz_footer_cols {
  display: grid;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--roche);
}
.cz_footer_titre {
  margin-bottom: 12px;
  font: 800 var(--t-21) / 1.2 var(--display);
  color: var(--craie);
}
.cz_adresse {
  font-style: normal;
}
.cz_adresse span {
  display: block;
}
.cz_adresse a,
.cz_footer_liste a,
.cz_footer_legal a {
  text-underline-offset: 4px;
}
.cz_adresse a:hover,
.cz_footer_liste a:hover,
.cz_footer_legal a:hover {
  color: var(--craie);
}
.cz_footer_horaires {
  margin-top: 12px;
}
.cz_footer_liste li {
  padding-block: 4px;
}
.cz_footer_communes {
  line-height: 1.9;
}
.cz_footer_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--roche);
  font-size: 15px;
}
.cz_footer_copie {
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- CTA sticky ---------- */
.cz_bandeau {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--roche);
  border-top: 1px solid var(--roche);
}
.cz_bandeau a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--bandeau);
  background: var(--terre);
  color: var(--craie);
  font: 600 15px / 1 var(--corps);
  text-decoration: none;
  white-space: nowrap;
}
.cz_bandeau a:focus-visible {
  outline-color: var(--ocre-clair);
  outline-offset: -3px;
}

/* ---------- Pages : fils, fonds, gabarits des pages service, contact, textes ---------- */
.cz_section {
  padding-block: var(--section);
}
.cz_fond_craie {
  background: var(--craie);
  color: var(--terre);
}
.cz_fond_pierre {
  background: var(--pierre);
  color: var(--terre);
}
.cz_h1_page {
  font: 800 clamp(34px, 5vw, 52px) / 1.05 var(--display);
  letter-spacing: -0.01em;
}

/* Fil d'Ariane */
.cz_fil {
  background: var(--roche);
  color: var(--craie);
}
.cz_fil_liste {
  display: flex;
  flex-wrap: wrap;
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
  padding-block: 10px;
  font: 400 var(--t-mono) / 1.4 var(--mono);
}
.cz_fil_liste li + li::before {
  content: "\203A";
  margin-inline: 10px;
  color: var(--pierre);
}
.cz_fil_liste a {
  text-underline-offset: 3px;
}

/* Fiche : titre à gauche, éléments à droite (déroulé, étapes, couches, matière) */
.cz_defs .cz_wrap {
  display: grid;
  gap: 32px;
}
.cz_defs_tete {
  display: grid;
  gap: 24px;
  align-content: start;
}
.cz_def {
  padding-block: 20px;
  border-top: 1px solid var(--filet);
}
.cz_def:first-child {
  border-top-color: var(--terre);
}
.cz_def p:not(.cz_amorce) {
  max-width: 62ch;
}

/* Fiche : tableau prestation, durée, ce qui fait varier le prix */
.cz_table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  text-align: left;
}
.cz_table th {
  text-align: left;
}
.cz_table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cz_table,
.cz_table tbody,
.cz_table tr,
.cz_table th,
.cz_table td {
  display: block;
}
.cz_table tbody tr {
  padding-block: 16px;
  border-top: 1px solid var(--filet);
}
.cz_table tbody tr:first-child {
  border-top-color: var(--terre);
}
.cz_table tbody th {
  font: 800 var(--t-21) / 1.2 var(--display);
}
.cz_table td {
  margin-top: 8px;
}
.cz_table td::before {
  content: attr(data-label);
  display: block;
  font: 400 var(--t-mono) / 1.4 var(--mono);
  color: var(--roche);
}
.cz_fiche_note {
  max-width: 62ch;
  margin-top: 24px;
  font-weight: 600;
}
.cz_fiche .cz_svc_appel {
  margin-top: 48px;
}

/* Bande sombre : texte et une photo de la matière */
.cz_bande {
  padding-block: var(--section);
  background: var(--terre);
  color: var(--craie);
}
.cz_bande_grille {
  display: grid;
  gap: 32px;
}
.cz_bande .cz_h2 {
  max-width: 20ch;
}
.cz_bande_texte p {
  max-width: 60ch;
  color: var(--pierre);
}
.cz_bande_texte .cz_h2 + p {
  margin-top: 24px;
}
.cz_bande_texte p + p {
  margin-top: 16px;
}
.cz_bande_texte .cz_bouton {
  margin-top: 28px;
}

/* Cadre de photo : l'emplacement existe toujours, la photo (<picture>) le remplit à son arrivée */
.cz_cadre {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--filet);
  border: 1px solid var(--filet);
}
.cz_cadre picture,
.cz_cadre img {
  width: 100%;
  height: 100%;
}
.cz_cadre img {
  object-fit: cover;
}
.cz_bande .cz_cadre {
  background: rgba(242, 241, 234, 0.08);
  border-color: rgba(242, 241, 234, 0.24);
}

/* Cas : contraintes du terrain, deux colonnes inégales */
.cz_cas_liste {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--terre);
}
.cz_cas_item {
  padding-block: 20px;
  border-bottom: 1px solid var(--filet);
}
.cz_cas_item .cz_meta {
  margin-bottom: 8px;
}
.cz_cas_item p:not(.cz_amorce):not(.cz_meta) {
  max-width: 56ch;
}

/* Grand texte : un seul propos, en gros */
.cz_lead .cz_wrap {
  display: grid;
  gap: 28px;
}
.cz_lead_texte {
  max-width: 34em;
  font-size: var(--t-21);
  line-height: 1.5;
}

/* Compris, non compris */
.cz_compris .cz_bilan {
  margin-top: 40px;
}
.cz_compris_note {
  max-width: 62ch;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--terre);
  font-weight: 600;
}

/* Aussi à Cahors */
.cz_voisin_liste {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  border-top: 1px solid var(--terre);
}
.cz_voisin_liste li {
  padding-block: 20px;
  border-bottom: 1px solid var(--filet);
}
.cz_voisin_lien {
  display: inline-block;
  margin-bottom: 8px;
  font: 800 var(--t-27) / 1.15 var(--display);
  text-decoration-color: var(--ocre);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.cz_voisin_lien:hover {
  text-decoration-color: currentColor;
}
.cz_voisin_liste p {
  max-width: 52ch;
}
.cz_retour {
  margin-top: 28px;
}

/* Contact */
.cz_contact_grille {
  display: grid;
  gap: 40px;
  align-items: start;
}
.cz_contact_tete {
  display: grid;
  gap: 20px;
}
.cz_contact_lead {
  max-width: 44ch;
  font-size: var(--t-21);
  line-height: 1.45;
}
.cz_contact_note {
  max-width: 44ch;
}
.cz_alerte {
  display: none;
  padding: 14px 16px;
  background: var(--craie);
  border: 2px solid var(--argile);
  color: var(--argile);
  font-weight: 600;
}
.cz_alerte:target {
  display: block;
}

/* Pages de texte : légales, merci, 404 */
.cz_simple .cz_wrap {
  max-width: 760px;
}
.cz_simple .cz_h1_page {
  margin-bottom: 32px;
}
.cz_simple p + p {
  margin-top: 16px;
}
.cz_legal {
  padding-block: 16px;
  border-top: 1px solid var(--filet);
}
.cz_liens {
  margin-top: 28px;
  border-top: 1px solid var(--terre);
}
.cz_liens li {
  padding-block: 12px;
  border-bottom: 1px solid var(--filet);
}

/* ---------- Mouvement (sous conditions) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cz_bouton,
  .cz_bandeau a {
    transition: background-color 0.2s var(--ease);
  }
  .cz_marche > picture img,
  .cz_svc_case img,
  .cz_cadre img,
  .cz_strate_grille > picture img {
    transition: transform 0.6s var(--ease);
  }
  .cz_marche > picture:hover img,
  .cz_svc_case:hover img,
  .cz_cadre:hover img,
  .cz_strate_grille > picture:hover img {
    transform: scale(1.03);
  }
  @supports (animation-timeline: view()) {
    .cz_marche,
    .cz_svc,
    .cz_etape,
    .cz_q,
    .cz_def,
    .cz_cas_item,
    .cz_zone_bloc {
      animation: cz_apparition 1s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
@keyframes cz_apparition {
  from {
    opacity: 0.2;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive : toujours en fin de fichier ---------- */
@media (min-width: 700px) {
  .cz_svc {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 32px;
  }
  .cz_etape {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  /* tableau des prestations : vraies colonnes */
  .cz_table {
    display: table;
  }
  .cz_table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .cz_table tbody {
    display: table-row-group;
  }
  .cz_table tr {
    display: table-row;
  }
  .cz_table th,
  .cz_table td {
    display: table-cell;
    padding: 16px 28px 16px 0;
    vertical-align: top;
    border-top: 1px solid var(--filet);
  }
  .cz_table thead th {
    padding-block: 10px;
    border-top: 1px solid var(--terre);
    border-bottom: 1px solid var(--terre);
    font: 400 var(--t-mono) / 1.4 var(--mono);
  }
  .cz_table tbody tr {
    padding-block: 0;
    border-top: 0;
  }
  .cz_table tbody tr:first-child th,
  .cz_table tbody tr:first-child td {
    border-top: 0;
  }
  .cz_table tbody th {
    width: 30%;
  }
  .cz_table td {
    margin-top: 0;
  }
  .cz_table td::before {
    display: none;
  }
  .cz_table td:last-child {
    width: 40%;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
  .cz_h2 {
    font-size: var(--t-42);
  }
  .cz_amorce {
    font-size: var(--t-27);
  }

  /* header */
  .cz_menu_case,
  .cz_menu_bouton {
    display: none;
  }
  .cz_nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 28px;
    margin-inline: auto;
    background: transparent;
    border-bottom: 0;
  }
  .cz_nav a {
    min-height: 0;
    padding-inline: 0;
    border-top: 0;
    font-size: 16px;
  }
  .cz_header_tel {
    display: inline-flex;
  }

  /* hero */
  .cz_hero_grille {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    column-gap: 56px;
  }
  .cz_devis {
    padding: 24px;
  }
  .cz_devis_duo {
    grid-template-columns: 1fr 1fr;
  }

  /* réalisations */
  .cz_preuve_tete {
    grid-template-columns: 5fr 7fr;
    column-gap: 48px;
    align-items: end;
  }
  .cz_marches {
    grid-template-columns: 1fr 1.2fr 1.4fr;
    gap: 32px;
  }
  .cz_marche:nth-child(2) {
    margin-top: 48px;
  }
  .cz_marche:nth-child(3) {
    margin-top: 96px;
  }
  .cz_autres {
    width: 66.666%;
    margin-left: auto;
  }
  .cz_autres li {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 24px;
  }

  /* services */
  .cz_svc {
    grid-template-columns: 96px minmax(0, 1fr) minmax(0, 320px);
    column-gap: 40px;
  }
  .cz_svc_visuel {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
  }
  .cz_svc_premier {
    grid-template-columns: 120px minmax(0, 1fr) minmax(0, 440px);
  }
  .cz_svc_num {
    font-size: 53px;
  }
  .cz_svc_titre {
    font-size: var(--t-27);
  }
  .cz_svc_premier .cz_svc_num {
    font-size: 66px;
  }
  .cz_svc_premier .cz_svc_titre {
    font-size: var(--t-42);
  }
  .cz_svc_appel {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }

  /* strates : alternance gauche, droite, gauche */
  .cz_strate_grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  .cz_strate_texte {
    grid-column: 1 / span 7;
    grid-row: 1;
  }
  .cz_strate_versant .cz_strate_texte {
    grid-column: 6 / span 7;
  }
  .cz_strate_grille > picture {
    grid-column: 9 / span 4;
    grid-row: 1;
    align-self: start;
  }
  .cz_strate_versant .cz_strate_grille > picture {
    grid-column: 1 / span 4;
  }

  /* déroulé en zigzag */
  .cz_etapes {
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
    row-gap: 40px;
  }
  .cz_etape {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .cz_etape:nth-child(even) {
    margin-top: 96px;
  }
  .cz_etape_num {
    font-size: 66px;
  }
  .cz_bilan {
    grid-template-columns: 7fr 5fr;
    column-gap: 64px;
  }

  /* zone */
  .cz_zone_grille {
    grid-template-columns: 5fr 7fr;
    column-gap: 56px;
    align-items: start;
  }
  .cz_carte iframe {
    height: 440px;
  }

  /* avis */
  .cz_avis_grille {
    grid-template-columns: 4fr 8fr;
    column-gap: 48px;
  }

  /* FAQ : deux colonnes inégales */
  .cz_q {
    grid-template-columns: 5fr 7fr;
    column-gap: 48px;
  }

  /* histoire */
  .cz_histoire_cols {
    grid-template-columns: 7fr 5fr;
    column-gap: 64px;
  }
  .cz_genese {
    font-size: var(--t-34);
  }

  /* dernier appel */
  .cz_appel_grille {
    grid-template-columns: 1fr auto;
    column-gap: 48px;
  }
  .cz_appel_texte {
    font-size: var(--t-34);
  }

  /* pages service : fiche, bande, cas, texte large, voisins */
  .cz_defs .cz_wrap {
    grid-template-columns: 4fr 8fr;
    column-gap: 64px;
    align-items: start;
  }
  .cz_defs .cz_h2 {
    font-size: var(--t-34);
  }
  .cz_bande_grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .cz_bande_texte {
    grid-column: 1 / span 7;
  }
  .cz_bande_grille > .cz_cadre {
    grid-column: 9 / span 4;
  }
  .cz_cas_liste {
    grid-template-columns: 7fr 5fr;
    column-gap: 64px;
  }
  .cz_lead .cz_wrap {
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
    align-items: start;
  }
  .cz_lead_texte {
    font-size: var(--t-27);
    line-height: 1.4;
  }
  .cz_voisin_liste {
    grid-template-columns: 7fr 5fr;
    column-gap: 64px;
  }
  .cz_contact_grille {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 56px;
  }

  /* footer */
  .cz_footer {
    padding-bottom: 96px;
  }
  .cz_footer_cols {
    grid-template-columns: 4fr 3fr 4fr;
    column-gap: 48px;
  }

  /* CTA sticky : bloc en bas à droite */
  .cz_bandeau {
    left: auto;
    right: 16px;
    bottom: 16px;
    display: flex;
    border: 1px solid var(--terre);
    background: var(--terre);
  }
  .cz_bandeau a {
    min-height: 48px;
    padding-inline: 20px;
    background: var(--craie);
    color: var(--terre);
  }
  .cz_bandeau a:hover {
    background: var(--pierre);
  }
  .cz_bandeau a:focus-visible {
    outline-color: var(--terre);
  }
}
