/* site/css/base.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Réduction globale légère de l'échelle de toutes les pages */
html { zoom: 0.82; }
/* Compense le zoom pour les héros plein écran (évite un liseré sous le hero) */
.hero { height: calc(100vh / 0.82); height: calc(100svh / 0.82); }
.page-hero--full { height: calc(100vh / 0.82); height: calc(100svh / 0.82); min-height: calc(100vh / 0.82); min-height: calc(100svh / 0.82); }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg-on-dark);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern","liga","calt";
  opacity: 1;
  transition: opacity 150ms ease;
}
body.page-fade-out { opacity: 0; }

img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent-hover); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }

h1,.h1,h2,.h2,h3,.h3,h4,.h4,.display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.display { font-size: var(--fs-display); font-weight: 300; line-height: 1.02; }
h1,.h1   { font-size: var(--fs-h1); }
h2,.h2   { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3,.h3   { font-size: var(--fs-h3); font-weight: 500; line-height: var(--lh-snug); }
h4,.h4   { font-size: var(--fs-h4); font-weight: 500; line-height: var(--lh-snug); }

.lead    { font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--fg-on-dark-muted); }
p        { font-size: var(--fs-body); line-height: var(--lh-normal); text-wrap: pretty; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* Garder le centrage là où c'est voulu (le justify n'altère pas une ligne centrée) */
[style*="text-align:center"] p, [style*="text-align: center"] p,
.nv-cta p, .home-duo__col p, .univers-preview__header p,
.editorial-strip__quote, .hero__offer-sub, .hero__deadline { text-align: center; }
.small   { font-size: var(--fs-small); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--accent);
  display: block;
}

hr.gold {
  border: none; height: 1px;
  background: linear-gradient(90deg,transparent,var(--dsp-gold) 20%,var(--dsp-gold) 80%,transparent);
  margin: var(--space-7) 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-group > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-group.visible > *:nth-child(1) { opacity:1;transform:translateY(0);transition-delay:0ms; }
.reveal-group.visible > *:nth-child(2) { opacity:1;transform:translateY(0);transition-delay:60ms; }
.reveal-group.visible > *:nth-child(3) { opacity:1;transform:translateY(0);transition-delay:120ms; }
.reveal-group.visible > *:nth-child(4) { opacity:1;transform:translateY(0);transition-delay:180ms; }
.reveal-group.visible > *:nth-child(5) { opacity:1;transform:translateY(0);transition-delay:240ms; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn-gold {
  background: var(--dsp-gold);
  color: var(--dsp-navy);
  border-color: var(--dsp-gold);
}
.btn-gold:hover {
  background: var(--dsp-gold-hover);
  border-color: var(--dsp-gold-hover);
  box-shadow: var(--shadow-gold-glow);
  color: var(--dsp-navy);
}
.btn-gold:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  color: var(--dsp-gold);
  border-color: var(--dsp-gold);
}
.btn-outline:hover {
  background: var(--dsp-gold-12);
  border-color: var(--dsp-gold-hover);
  color: var(--dsp-gold-hover);
}
.btn-outline:active { background: var(--dsp-gold-20); }

/* ---- Page hero (40vh) — partagé par univers, realisations, contact ---- */
.page-hero {
  height: 40vh; height: 40svh; min-height: 340px;
  position: relative;
  display: flex; align-items: flex-end;
  padding-bottom: var(--space-9);
  overflow: hidden;
  background: var(--bg-primary);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.page-hero__content { position: relative; z-index: 1; width: 100%; }
.page-hero__content h1 { color: var(--fg-on-dark); margin-top: var(--space-3); }

/* =========================================================
   DA GLOBALE — alignée sur la page « Notre vision »
   Charte de référence conservée pour tout le site.
   Police : Inter partout (sans-serif), titres en graisse légère,
   accents italiques or via <em>.
   ========================================================= */
*, *::before, *::after {
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
h1, .h1, h2, .h2, .display {
  font-weight: 300;
  letter-spacing: -0.012em;
}
h3, .h3, h4, .h4 {
  font-weight: 400;
  letter-spacing: -0.005em;
}
.display { font-weight: 300; line-height: 1.04; }
em, i { font-style: italic; }
/* accent or gras (DA) — em = or, gras, sans italique */
h1 em, h2 em, h3 em, .display em,
.gallery-block__head h3 em,
.editorial-strip__quote em,
.manifeste__quote em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}
