/*FONTS https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;900&family=Public+Sans:wght@400;600&display=swap */
/* CHANTIER : BTP (maçon, couvreur, plombier, charpentier, terrassier).
   Grotesque très bold, contrastes francs, anthracite + accent sécurité, angles nets. */

:root {
  --bg: #F4F5F4;
  /* Alternance des fonds : une section sur deux (base.css, classes bande-a / bande-b
     posées par build.js selon le RANG de la section, pas son nom). */
  --bande-a: #F4F5F4;
  --bande-b: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #060606;
  --muted: #5C6369;
  --line: #D5D9DC;
  --accent: #fcb777;
  --accent-fonce: #900e14;
  --sur-accent: #060606;
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --poids-titre: 900;
  --radius: 0;
  --radius-img: 0;
  --header-bg: #060606;
  --vitesse-reveal: 0.4s;
  --sobre-bg: #060606;
  --sobre-ink: #F4F5F4;
  --sobre-accent: #fcb777;
  --hero-voile: linear-gradient(to top, rgba(18, 20, 23, 0.82) 0%, rgba(18, 20, 23, 0.3) 50%, rgba(18, 20, 23, 0.12) 100%);
}

h1, h2 { text-transform: uppercase; letter-spacing: 0.01em; }
h2 { border-left: 6px solid var(--accent); padding-left: 18px; }

.site-header { border-bottom: none; }
.site-header .brand-name, .site-header .header-tel { color: #F4F5F4; }
/* en-tête sombre : un logo en encre noire y disparaîtrait, on lui donne un fond clair */
.site-header .brand-logo { background: #FFFFFF; padding: 5px 9px; }
.site-header .header-tel { color: var(--accent-vif, var(--accent)); }

.hero-metier { color: var(--accent-fonce); }
.hero-plein .hero-metier { color: var(--accent-vif, var(--accent)); }

.btn { font-weight: 700; text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.04em; }

.service { border-top: 2px solid var(--ink); }
.service:last-child { border-bottom: 2px solid var(--ink); }
.service h3 { text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.03em; }

.contact {
  background: #060606; color: #F0F1F1;
  --muted: #AEB4B9; --line: #3A4046; --champ-bg: #292E33;
  --ink: #F0F1F1; --accent-fonce: var(--accent);
}
.contact h2 { color: #F0F1F1; }

/* Footer sombre : redéfinir les jetons pour que le contenu reste lisible */
.site-footer {
  background: #16191C; border-top: none; color: #AEB4B9;
  --muted: #AEB4B9; --ink: #F0F1F1; --accent-fonce: var(--accent);
}
.site-footer .footer-nap strong { color: #F0F1F1; }

/* réglages de style de la fiche */
:root { --radius-img: 8px; --radius-photo: 12px; --radius: 8px; }
.site-header { background: #EFEDE8; border-bottom-color: rgba(0, 0, 0, 0.1); }
.site-header .brand-name { color: #060606; }
.site-header .brand-logo { background: transparent; padding: 0; box-shadow: none; }

/* accent client */
:root { --accent: #C8141C; --accent-fonce: #900e14; --accent-vif: #e9262e; --sur-accent: #FFFFFF; --sobre-bg: #060606; --sobre-accent: #fcb777; }
.site-header .header-tel { color: #C8141C; }
:root { --marque-fond: #ffffff; }
:root { --logo-ratio: 0.62; }
:root { --entete-logo-ratio: 1; }

/* polices réellement chargées (content.json → style.polices) */
:root { --font-display: "Rubik", "Arial Black", sans-serif; --font-body: "Caveat", "Segoe UI", sans-serif; }

/* DA libre du client (content.json → style.css) */
:root { --bg: #EFEDE8; --bande-a: #EFEDE8; --bande-b: #E4E1DA; --surface: #F7F5F1; --ink: #1A1B1E; --muted: #55575B; --line: #CFCBC3; --marque-fond: transparent; --font-display: "Rubik", "Arial Black", sans-serif; --font-body: "Rubik", "Segoe UI", sans-serif; --poids-titre: 800; }
.contact, .site-footer { --accent-fonce: var(--accent-vif, var(--accent)); }
.site-header { border-bottom: 4px solid var(--accent); }
.site-footer { border-top: 6px solid var(--accent); }
.hero .hero-metier { display: none; }
.hero.hero-scinde .hero-sous { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.05; color: var(--accent-fonce); max-width: none; transform: rotate(-2deg); transform-origin: left center; }
.apropos-logo .apropos-photo, .apropos-logo .apropos-photo img { box-shadow: none; background: none; }
@media (min-width: 961px) { .services .services-liste { grid-template-columns: 1fr 1fr; column-gap: 56px; } .services .service:nth-last-child(2) { border-bottom: 2px solid var(--ink); } .apropos-logo .apropos-photo img { max-height: 420px; width: auto; margin-inline: auto; } }
@media (max-width: 960px) { .hero-scinde h1 { padding-top: clamp(22px, 5vw, 36px); } .hero-scinde .hero-actions { padding-bottom: 0; } .hero.hero-scinde .hero-sous { order: 6; margin-top: 18px; padding: 0 24px clamp(24px, 5vw, 36px); font-size: 2rem; } .apropos-logo .apropos-photo img { max-height: 300px; width: auto; margin-inline: auto; } }
