/*FONTS https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap */
/* STUDIO : agences et studios (communication, social media, marketing, design, photo, vidéo).
   Blanc large, encre marine, accent or, bandeau et pied marine, titres serrés en grotesque,
   services numérotés. Fait pour les métiers qui vendent une image, pas un chantier. */

:root {
  --bg: #FFFFFF;
  /* 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: #FFFFFF;
  --bande-b: #F5F6F9;
  --surface: #F5F6F9;
  --ink: #0f5f59;
  --muted: #5A6478;
  --line: #E3E7EE;
  --accent: #0F5F59;
  --accent-fonce: #072a27;
  --sur-accent: #FFFFFF;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --poids-titre: 600;
  --radius: 4px;
  --radius-img: 4px;
  --header-bg: #0f5f59;
  --champ-bg: #FFFFFF;
  --vitesse-reveal: 0.5s;
  --sobre-bg: #0f5f59;
  --sobre-ink: #FFFFFF;
  --sobre-accent: #76e5dd;
  --hero-voile: linear-gradient(to top, rgba(15, 95, 89, 0.86) 0%, rgba(15, 95, 89, 0.42) 52%, rgba(15, 95, 89, 0.12) 100%);
}

h1 { letter-spacing: -0.035em; line-height: 1.06; }
h2 { letter-spacing: -0.025em; }
h2::after {
  content: ""; display: block; width: 48px; height: 2px;
  background: #76e5dd; margin-top: 16px;
}

/* bandeau marine : le nom en blanc, le logo sur sa pastille blanche */
.site-header { border-bottom: none; }
.site-header .brand-name { color: #FFFFFF; }
.site-header .header-tel { color: #76e5dd; }
.site-header .brand-logo { background: #FFFFFF; padding: 5px 9px; border-radius: 3px; }

.hero-metier {
  /* --accent-fonce, pas --accent : un or clair tiré du logo (Unique Construction, #c29a56) tombe
     à 2,6 de contraste sur le blanc du héro scindé ; la version foncée reste lisible partout. */
  color: var(--accent-fonce, var(--accent)); font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem;
}
.hero-plein .hero-metier, .hero-sobre .hero-metier { color: #76e5dd; }
.hero-sous { max-width: 46ch; }

.btn { font-family: var(--font-display); font-weight: 600; padding: 15px 28px; letter-spacing: 0.01em; }
.btn-plein { box-shadow: 0 8px 22px rgba(15, 95, 89, 0.24); }

/* services : le numéro vient de base.css (.services-sans-photo), on soigne juste la ligne */
.service { border-bottom: 1px solid var(--line); padding: 26px 0; }
.service h3 { font-weight: 600; letter-spacing: -0.01em; }

/* engagements en cartes claires, filet or en tête */
.engagement {
  background: #FFFFFF; border: 1px solid var(--line);
  border-top: 2px solid #76e5dd; border-radius: 4px;
  padding: 22px 24px 24px;
  box-shadow: 0 10px 28px rgba(15, 95, 89, 0.05);
}

.galerie figcaption {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.02em;
}
.zone-villes { font-family: var(--font-display); font-weight: 600; }

.contact-form input, .contact-form textarea { border-radius: 4px; }

.site-footer {
  background: #0f5f59; border-top: none; color: #AEB7C6;
  --muted: #AEB7C6; --ink: #FFFFFF; --accent-fonce: #76e5dd;
}
.site-footer .footer-nap strong { color: #FFFFFF; }

/* réglages de style de la fiche */
:root { --radius-img: 8px; --radius-photo: 12px; --radius: 8px; }
.site-header { background: #0F5F59; border-bottom-color: rgba(255, 255, 255, 0.12); }
.site-header .brand-name { color: #FFFFFF; }
.site-header .brand-logo { background: #FFFFFF; padding: 5px 9px; }

/* accent client */
:root { --accent: #0F5F59; --accent-fonce: #072a27; --accent-vif: #32dfd2; --sur-accent: #FFFFFF; --sobre-bg: #0f5f59; --sobre-accent: #76e5dd; }
.site-header .header-tel { color: #32dfd2; }
:root { --marque-fond: #ffffff; }
:root { --logo-ratio: 1; }

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

/* DA libre du client (content.json → style.css) */
:root { --marque-fond: transparent; }
:root { --bg: #F7F3EA; --bande-a: #F7F3EA; --bande-b: #E5EFEB; --surface: #FBF8F1; --surface-2: #EEF5F1; --champ-bg: #FBF8F1; --ink: #10302D; --texte: #10302D; --muted: #4A5F5B; --line: #CFE0DA; --sur-accent: #F7F3EA; --font-display: 'Nunito Sans', 'Segoe UI', sans-serif; --font-body: 'Nunito Sans', 'Segoe UI', sans-serif; --font-accent: 'Nunito Sans', 'Segoe UI', sans-serif; --sobre-bg: #0F5F59; --sobre-ink: #F7F3EA; --sobre-accent: #9FE3D4; }
body { font-family: 'Nunito Sans', 'Segoe UI', sans-serif; }
h1, h2, h3 { font-family: 'Sora', 'Nunito Sans', sans-serif; font-weight: 600; }
h1 { letter-spacing: -0.025em; }
h2::before { content: none; }
h2::after { content: ''; display: block; width: 44px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, #0F5F59 0 65%, #9FE3D4 65% 100%); }
.btn { text-transform: none; letter-spacing: 0.01em; border-radius: 14px; }
.btn-plein { box-shadow: 0 10px 24px rgba(15, 95, 89, 0.22); }
.site-header .brand-name { font-family: 'Sora', 'Nunito Sans', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.site-header .brand-logo { background: transparent; padding: 0; border-radius: 18%; box-shadow: 0 0 0 2px rgba(159, 227, 212, 0.6); }
.site-footer { background: #0C4C47; border-top: none; color: #C9DDD7; --muted: #C9DDD7; --ink: #FFFFFF; --accent-fonce: #9FE3D4; }
.site-footer .footer-nap strong { color: #FFFFFF; }
.hero .hero-metier { display: none; }
@media (max-width: 960px) { .hero.hero-scinde .hero-sous { order: 6; margin-top: 18px; padding: 0 24px 28px; } .hero.hero-scinde h1 { padding-top: clamp(22px, 5vw, 36px); } }
.video-liste:has(.video-item + .video-item) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.video .video-item { max-width: none; }
.video .video-item video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #0C2F2C; }
@media (max-width: 960px) { .video-liste:has(.video-item + .video-item) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .video-liste:has(.video-item + .video-item) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
