/* ====================================================================
   COMPTES-À-CLAIR — Identité visuelle officielle 2026
   Palette : Bleu marine #1B3669 · Or #C9A840 · Blanc
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --void:       #1B3669;
  --dark:       #1B3669;
  --surface:    #F5F7FC;
  --surface-hi: #EBF0FA;
  --emerald:    #EBF0FA;
  --emerald-hi: #DDE6F5;

  --ink:        #F0F4FD;
  --ink-dark:   #152C57;
  --ink-soft:   #4A5E8A;
  --ink-muted:  #7A8EBB;

  --gold:       #C9A840;
  --gold-light: #D9BE5A;
  --gold-dark:  #8A7218;
  --gold-wash:  rgba(201,168,64,0.08);
  --rule:       rgba(183,196,218,0.55);
  --rule-hi:    rgba(201,168,64,0.45);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-brand:   "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", "DM Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1320px;
  --gutter:    clamp(16px, 5vw, 40px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain de papier ultra-subtil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.3) 3px, rgba(255,255,255,0.3) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255,255,255,0.1) 12px, rgba(255,255,255,0.1) 13px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-dark);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
}
h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  font-weight: 400;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Label de section (eyebrow) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(27, 54, 105, 0.10);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  border-color: rgba(27, 54, 105, 0.16);
  box-shadow: 0 2px 20px rgba(27, 54, 105, 0.08);
}
.site-header.scrolled .nav {
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.22s;
}
.brand:hover { opacity: 0.82; }

.brand-logo-img {
  width: 300px;
  height: auto;
  display: block;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.scrolled .brand-logo-img {
  width: 210px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
/* Rend le <li> du CTA transparent dans le flex layout :
   .nav-cta devient un flex item direct, comme l'ancien standalone */
.nav-links li:has(> .nav-cta) { display: contents; }
.nav-links a:not(.nav-cta) {
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--gold);
  transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { right: 0; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule-hi);
  padding: 10px 22px;
  color: var(--gold);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.lang-switch a { color: var(--ink-muted); transition: color 0.2s; }
.lang-switch a:hover { color: var(--gold); }
.lang-current { color: var(--gold); font-weight: 600; }
.lang-sep { color: var(--ink-muted); opacity: 0.45; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(27, 54, 105, 0.22);
  padding: 8px 13px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink-dark);
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(27, 54, 105, 0.99);
    border-bottom: 1px solid rgba(201,168,64,0.18);
    padding: 24px var(--gutter) 32px;
    gap: 20px;
    font-size: 1rem;
    animation: nav-open 0.22s ease-out both;
  }
  .nav.open .nav-links .nav-cta {
    margin-top: 4px;
    padding: 14px 28px;
    font-size: 0.78rem;
  }
}
@keyframes nav-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Sceau de prestige ---------- */
.stamp {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transform: rotate(-8deg);
  animation: stamp-press 0.85s cubic-bezier(.2, 1.4, .4, 1) 0.3s both;
  box-shadow:
    0 0 48px rgba(201,168,76,0.1),
    0 0 100px rgba(201,168,76,0.04),
    inset 0 0 40px rgba(201,168,76,0.03);
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(201,168,76,0.35);
  border-radius: 50%;
}
.stamp::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 50%;
}
.stamp-text {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-align: center;
  line-height: 1.6;
  z-index: 1;
}
.stamp-text strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
@keyframes stamp-press {
  0%   { transform: rotate(-8deg) scale(2.6); opacity: 0; filter: blur(8px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}

.stamp.small {
  width: 96px; height: 96px;
}
.stamp.small .stamp-text { font-size: 0.38rem; }
.stamp.small .stamp-text strong { font-size: 1.2rem; }

/* ---------- Stats + animation de marque ---------- */
.ledger-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.ledger-stats-grid {
  flex: 1;
}
.ledger-stats-video {
  width: 560px;
  flex-shrink: 0;
  border-left: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}
.ledger-stats-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

/* Tablette : vidéo plus compacte */
@media (max-width: 1024px) {
  .ledger-stats-video { width: 380px; padding: 0 32px; }
}

/* Mobile : empilement vertical, vidéo sous les stats */
@media (max-width: 820px) {
  .ledger-stats-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ledger-stats-video {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--rule);
    padding: 32px var(--gutter);
    justify-content: center;
  }
  .ledger-stats-video video {
    width: min(420px, 100%);
    margin: 0 auto;
  }
}

/* ---------- Fond hero (registre épuré + support image) ---------- */
.ledger-bg {
  position: relative;
  background-color: var(--void);
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
  isolation: isolate; /* contexte d'empilement propre pour ::before/::after */
}
.ledger-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15,30,65,0.97) 0%, rgba(15,30,65,0.82) 52%, rgba(15,30,65,0.50) 100%),
    radial-gradient(ellipse at 25% 58%, rgba(201,168,64,0.07) 0%, transparent 52%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 10vh, 120px) 0 clamp(56px, 8vh, 100px);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 5; /* contenu au-dessus de l'overlay (z:2) et de la ligne (z:3) */
}
.hero .lede {
  max-width: 640px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 400;
  margin-top: 20px;
  color: var(--ink-soft);
  line-height: 1.68;
}
.hero h1 {
  max-width: 960px;
  margin-top: 0;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 1.02;
}
.hero--compact-title h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
}
.hero .eyebrow {
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.hero .cta-row {
  margin-top: clamp(18px, 2.5vh, 28px);
}

.hero-enter {
  animation: hero-fade 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-enter-delay {
  animation: hero-fade 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.18s both;
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 72px 0 56px; }
  .ledger-bg::after {
    background:
      rgba(15,30,65,0.92),
      radial-gradient(ellipse at 30% 55%, rgba(201,168,64,0.07) 0%, transparent 55%);
  }
}

/* ---------- Boutons ---------- */
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: clamp(22px, 3.5vh, 42px);
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  display: inline-block;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--void);
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.25);
}

.btn-outline {
  border: 1px solid var(--rule-hi);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-wash);
  color: var(--gold-light);
}

/* ---------- Statistiques (registre) ---------- */
.ledger-stats {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ledger-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ledger-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.ledger-row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.ledger-row.is-visible::before { transform: scaleX(1); }
.ledger-row:first-child { padding-left: 0; }
.ledger-row:last-child { border-right: none; }

.ledger-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  order: 2;
}
.ledger-value {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1;
  order: 1;
}

@media (max-width: 720px) {
  .ledger-stats-grid { grid-template-columns: 1fr; }
  .ledger-row {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 40px 0;
  }
  .ledger-row:first-child { padding-left: 0; }
  .ledger-row:last-child { border-bottom: none; }
}

/* ---------- Sections génériques ---------- */
.section { padding: 96px 0; background: #ffffff; }
.section-tight { padding: 64px 0; background: #ffffff; }
.section.bg-warm { background: var(--emerald); }
.section.bg-light { background: var(--surface); }

.section-header {
  max-width: var(--container);
  margin: 0 auto 60px;
  padding: 0 var(--gutter);
}

/* ---------- Grille de cartes ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 var(--gutter);
}
@media (min-width: 1281px) {
  .card-grid {
    max-width: var(--container);
    margin: 0 auto;
  }
}

.card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.28s;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover { background: #f8faff; border-color: rgba(201,168,64,0.35); box-shadow: 0 8px 32px rgba(27,54,105,0.09); }
.card:hover::after { transform: scaleX(1); }

.card .num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; font-size: 1.1rem; line-height: 1.75; }

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.card li {
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.55;
}

.card a.card-link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  transition: color 0.2s, letter-spacing 0.25s;
}
.card a.card-link:hover {
  color: var(--gold-light);
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Variante 2 colonnes (about, contact) */
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ---------- Services (page dédiée) ---------- */
.service-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  padding: 48px var(--gutter);
  border-bottom: 1px solid var(--rule);
  max-width: var(--container);
  margin: 0 auto;
}
.service-entry:first-of-type { border-top: 1px solid var(--rule); }

.service-entry .code {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  padding-top: 6px;
  letter-spacing: 0.06em;
}
.service-entry h3 { margin-bottom: 12px; font-size: 1.5rem; }
.service-entry p { font-size: 1.05rem; }
.service-entry ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 1rem;
  display: grid;
  gap: 10px;
  font-weight: 400;
}
.service-entry li {
  padding-left: 20px;
  position: relative;
}
.service-entry li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.55;
}

@media (max-width: 640px) {
  .service-entry { grid-template-columns: 1fr; gap: 10px; padding: 36px var(--gutter); }
}

/* ---------- Citation / confiance ---------- */
.quote-block {
  background: var(--emerald);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(21,44,87,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-block blockquote {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink-dark);
  text-align: center;
  line-height: 1.45;
  font-weight: 400;
}
.quote-block cite {
  display: block;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ---------- Timeline (À propos) ---------- */
.timeline {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.timeline-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding-bottom: 52px;
  position: relative;
}
.timeline-entry:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 44px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.3), transparent);
}
.timeline-entry .year {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  padding-top: 5px;
  letter-spacing: 0.04em;
}
.timeline-entry h3 { margin-bottom: 8px; }

@media (max-width: 640px) {
  .timeline-entry { grid-template-columns: 60px 1fr; gap: 16px; padding-bottom: 36px; }
  .timeline-entry::after { display: none; }
}
@media (max-width: 400px) {
  .timeline-entry { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 var(--gutter);
}
@media (min-width: 1281px) {
  .team-grid { max-width: 920px; margin: 0 auto; }
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 44px 38px;
  transition: background 0.2s, border-color 0.2s;
  overflow: hidden;
}
.team-card:hover { background: var(--surface-hi); border-color: var(--rule-hi); }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.team-card h3 { margin-bottom: 14px; }

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; margin: 0 var(--gutter); }
  .team-card { padding: 32px 24px; }
}

/* ---------- Bandeau CTA ---------- */
.cta-banner {
  background: var(--emerald);
  padding: 88px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--ink);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-primary { position: relative; z-index: 1; }

/* ---------- Formulaire de contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contact-info dl { margin: 0; display: grid; gap: 30px; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 5px;
}
.contact-info dd { margin: 0; color: var(--ink-soft); font-size: 1.1rem; font-weight: 400; }
.contact-info dd a { color: var(--ink-dark); transition: color 0.2s; }
.contact-info dd a:hover { color: var(--gold); }

.hours-table { margin-top: 6px; font-family: var(--font-mono); font-size: 0.92rem; }
.hours-table > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  max-width: 340px;
  color: var(--ink-soft);
}

.map-full {
  margin: 20px var(--gutter) 0;
}
@media (min-width: 1281px) {
  .map-full {
    max-width: var(--container);
    margin: 20px auto 0;
  }
}

.map-frame {
  border: 1px solid var(--rule);
  border-radius: 8px;
  width: 100%;
  height: 320px;
  display: block;
  filter: none;
  opacity: 1;
  transition: opacity 0.3s;
}
.map-frame:hover { opacity: 1; }

@media (max-width: 540px) {
  .map-frame { height: 220px; }
}

form.ledger-form { display: grid; gap: 22px; }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.85;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-note { font-size: 0.9rem; color: var(--ink-muted); font-weight: 400; line-height: 1.6; }
.form-success { color: var(--gold) !important; font-family: var(--font-mono); font-size: 0.78rem !important; letter-spacing: 0.05em; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--void);
  color: var(--ink-soft);
  padding: 68px 0 36px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 20px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-grid li { color: var(--ink-soft); font-weight: 400; }
.footer-grid a {
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--gold);
  transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-grid a:hover,
.footer-grid a.active { color: var(--ink); }
.footer-grid a:hover::after,
.footer-grid a.active::after { right: 0; }

.footer-brand {
  display: block;
  width: 350px;
  height: auto;
  max-width: 100%;
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 300px;
  line-height: 1.65;
  font-weight: 400;
}

.footer-bottom {
  max-width: var(--container);
  margin: 52px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Animations de révélation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-grid .card:nth-child(2).reveal { transition-delay: 0.1s; }
.card-grid .card:nth-child(3).reveal { transition-delay: 0.2s; }
.team-grid .team-card:nth-child(2).reveal { transition-delay: 0.12s; }
.ledger-stats-grid .ledger-row:nth-child(2).reveal { transition-delay: 0.12s; }
.ledger-stats-grid .ledger-row:nth-child(3).reveal { transition-delay: 0.24s; }

/* ---------- Photo d'équipe ---------- */
.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--rule-hi);
  margin-bottom: 22px;
  flex-shrink: 0;
  background: var(--void);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) brightness(0.9);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}
.team-card:hover .team-photo img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}
/* Anneau or au survol */
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}
.team-card:hover .team-photo::after {
  border-color: var(--gold);
}

/* ---------- Bouton retour en haut ---------- */
.back-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 500;
  width: 50px;
  height: 50px;
  background: rgba(27, 54, 105, 0.92);
  border: 1px solid var(--rule-hi);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s,
    background 0.22s,
    border-color 0.22s,
    color 0.22s;
  padding: 0;
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
}
.back-top:hover svg {
  transform: translateY(-3px);
}
.back-top svg {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 600px) {
  .back-top { bottom: 20px; right: 16px; width: 44px; height: 44px; }
}

/* ====================================================================
   RESPONSIVE — Blocs mobiles consolidés (du plus large au plus étroit)
   ==================================================================== */

/* ---- Tablette / grand mobile (≤768px) ---- */
@media (max-width: 768px) {
  .section        { padding: 72px 0; }
  .section-tight  { padding: 52px 0; }
  .section-header { margin-bottom: 44px; }
  .quote-block    { padding: 72px 0; }
  .cta-banner     { padding: 72px var(--gutter); }
  .site-footer    { padding: 56px 0 28px; }

  .card           { padding: 36px 28px; }
  .service-entry  { padding: 40px var(--gutter); }
  .team-card      { padding: 36px 28px; }
  .footer-grid    { gap: 36px; }

  /* Grille stats : on réduit le padding interne */
  .ledger-row       { padding: 44px 36px; }
  .ledger-row:first-child { padding-left: 0; }

  /* Quote block watermark */
  .quote-block::before { font-size: 16rem; }
}

/* ---- Petit mobile (≤540px) ---- */
@media (max-width: 540px) {
  body { font-size: 19px; }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero h1 { margin-top: 14px; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.08; }
  .hero .lede { font-size: 1rem; margin-top: 16px; }

  /* Sceau : réduit, ne prend plus la place d'une 2e colonne */
  .stamp { width: 104px; height: 104px; }
  .stamp-text strong { font-size: 1.5rem; }
  .stamp.small { display: none; }

  /* Boutons CTA du hero : empilés pleine largeur */
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row .btn { text-align: center; }

  /* Sections */
  .section        { padding: 56px 0; }
  .section-tight  { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }
  .quote-block    { padding: 56px 0; }
  .quote-block::before { font-size: 11rem; top: -16px; }
  .cta-banner     { padding: 56px var(--gutter); }

  /* Cards */
  .card           { padding: 28px 22px; }
  .service-entry  { padding: 32px var(--gutter); gap: 8px; }
  .team-card      { padding: 28px 22px; }

  /* Stats */
  .ledger-row     { padding: 32px 0; }
  .ledger-value   { font-size: clamp(2.2rem, 14vw, 3rem); }

  /* Contact */
  .contact-grid   { gap: 36px; }
  .map-frame      { height: 190px; }
  .hours-table > div { max-width: 100%; }

  /* Footer */
  .site-footer    { padding: 48px 0 24px; }
  .footer-bottom  { flex-direction: column; gap: 8px; }

  /* Nav mobile */
  .nav            { padding: 16px var(--gutter); }
  .brand-logo-img { width: 200px; height: auto; }

  /* Back-to-top */
  .back-top       { bottom: 16px; right: 12px; width: 40px; height: 40px; }
}

/* ---- Très petit (≤380px) ---- */
@media (max-width: 380px) {
  /* Cache le sceau même grand sur très petit écran */
  .stamp { display: none; }

  /* Réduit les eyebrow très spatiaux */
  .eyebrow { letter-spacing: 0.1em; gap: 10px; }
  .eyebrow::before { width: 20px; }

  /* Boutons légèrement plus petits */
  .btn { font-size: 0.7rem; padding: 13px 18px; }

  /* Service entry : une seule colonne serrée */
  .service-entry { gap: 6px; padding: 28px var(--gutter); }

  /* CTA banner compact */
  .cta-banner { padding: 48px var(--gutter); }

  /* Formulaire */
  .field input,
  .field select,
  .field textarea { padding: 12px 14px; }
}

/* =====================================================================
   POLISH PRO — Finitions premium
   ===================================================================== */

/* Piste dorée en haut de page (fond pour la barre de progression) */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, 0.18) 10%,
    rgba(232, 204, 126, 0.22) 50%,
    rgba(201, 168, 76, 0.18) 90%,
    transparent 100%
  );
  z-index: 10000;
  pointer-events: none;
}

/* Curseurs explicites sur tous les éléments cliquables */
.btn, .nav-cta, .nav-toggle, .brand,
.back-top, .nav-links a, .card, .card-link,
.footer-grid a { cursor: pointer; }

/* Centrage du bouton hamburger */
.nav-toggle { align-items: center; justify-content: center; }

/* Toggle icône menu / fermer (CSS-driven, sans JS) */
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-menu  { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

/* Focus visible accessible */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px var(--gold-wash);
}

/* Ombre de survol sur les cartes */
.card.is-visible:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 6px 28px rgba(0, 0, 0, 0.10);
}

/* Transition complète sur les cartes visibles (révélation + hover) */
.card.is-visible {
  transition:
    opacity   0.72s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.72s cubic-bezier(0.4, 0, 0.2, 1),
    background    0.25s ease,
    border-color  0.25s ease,
    box-shadow    0.32s ease;
}

/* Effet shimmer sur le bouton primaire */
.btn-primary { overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 160%; }

/* Optimisation GPU pour les animations de révélation */
.reveal { will-change: opacity, transform; }
.reveal.is-visible { will-change: auto; }

/* =====================================================================
   TÉMOIGNAGES & FAQ
   ===================================================================== */

.testimonial-quote {
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.1rem;
  opacity: 0.88;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.testimonial-author {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.testimonial-initials {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
  text-transform: none;
}

/* =====================================================================
   CARROUSEL DE TÉMOIGNAGES
   ===================================================================== */

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  outline: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter, 24px);
}

.carousel-slide .card {
  max-width: 760px;
  width: 100%;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(201, 168, 64, 0.35);
  color: var(--gold);
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, transform 0.15s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--gold-wash);
  border-color: var(--gold);
  transform: scale(1.06);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.carousel-counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.72;
  min-width: 52px;
  text-align: center;
}

/* =====================================================================
   BARRE DE PROGRESSION AU SCROLL
   ===================================================================== */

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light) 50%, var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 10001;
  pointer-events: none;
}

/* =====================================================================
   HERO SPLIT — INDEX.HTML UNIQUEMENT
   ===================================================================== */

.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.hero-text-panel {
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-text-panel::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 64px;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 15%, var(--gold) 85%, transparent 100%);
  opacity: 0.32;
  pointer-events: none;
}

.hero-text-inner {
  padding: clamp(72px, 9vh, 112px) clamp(40px, 5vw, 80px) clamp(56px, 7vh, 96px);
  position: relative;
  z-index: 1;
}

.hero-text-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-text-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-text-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-text-inner > *:nth-child(4) { animation-delay: 0.55s; }

.hero-image-panel {
  background-size: cover;
  background-position: center 30%;
  position: relative;
  animation: hero-image-in 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

@keyframes hero-image-in {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45), transparent 50%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: hero-fade 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-hint-pulse 2s ease-in-out infinite 1.2s;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.55); transform-origin: top; }
  50%       { opacity: 0.85; transform: scaleY(1);    transform-origin: top; }
}

@media (max-width: 820px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-image-panel {
    height: 300px;
    order: -1;
  }
  .hero-image-panel::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.38));
  }
  .hero-text-panel::before { left: 24px; }
  .hero-text-inner {
    padding: 52px clamp(16px, 5vw, 40px) 48px;
  }
  .hero-scroll-hint { display: none; }
}

/* =====================================================================
   BENTO GRID — SECTION SERVICES (INDEX.HTML)
   ===================================================================== */

.card-grid.bento {
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
}

.card-grid.bento .card:first-child {
  grid-row: span 2;
  padding: 52px 44px;
}

.card-grid.bento .card:first-child .num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.04em;
  opacity: 0.08;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: auto;
}

@media (max-width: 900px) {
  .card-grid.bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .card-grid.bento .card:first-child {
    grid-row: span 1;
  }
  .card-grid.bento .card:first-child .num {
    font-size: clamp(3rem, 10vw, 4.5rem);
    margin-bottom: 0;
  }
}

/* =====================================================================
   THÈME CLAIR — SURCHARGES SECTIONS SOMBRES
   Les sections suivantes gardent un fond sombre (--void) et du texte clair.
   ===================================================================== */

/* Stats band : fond navy */
.ledger-stats {
  background: var(--void);
  border-top-color: rgba(201,168,64,0.22);
  border-bottom-color: rgba(201,168,64,0.22);
}
.ledger-label { color: rgba(240,244,253,0.52); }
.ledger-row   { border-right-color: rgba(201,168,64,0.18); }

/* CTA banner : fond navy */
.cta-banner {
  background: var(--void);
  border-top-color: rgba(201,168,64,0.22);
  border-bottom-color: rgba(201,168,64,0.22);
}
.cta-banner::before {
  background: radial-gradient(ellipse at center, rgba(201,168,64,0.08) 0%, transparent 65%);
}
.cta-banner h2 { color: var(--ink); }

/* Hero text panel (index.html) — fond navy */
.hero-text-inner h1,
.hero-text-inner p,
.hero-text-inner .eyebrow { color: var(--ink); }
.hero-text-inner h1 em    { color: var(--gold-light); }
.hero-text-inner p        { color: rgba(240,244,253,0.72); }

/* Heroes pages internes (.hero.ledger-bg) */
.hero.ledger-bg h1,
.hero.ledger-bg h2,
.hero.ledger-bg p.lede,
.hero.ledger-bg .eyebrow { color: var(--ink); }
.hero.ledger-bg h1 em     { color: var(--gold-light); }
.hero.ledger-bg p.lede    { color: rgba(240,244,253,0.72); }

/* Nav : liens sur fond blanc */
.nav-links a:not(.nav-cta) { color: var(--ink-soft); }
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active { color: var(--ink-dark); }

/* Menu mobile ouvert : fond navy → liens clairs */
.nav.open .nav-links a:not(.nav-cta) { color: rgba(240,244,253,0.72); }
.nav.open .nav-links a:not(.nav-cta):hover,
.nav.open .nav-links a:not(.nav-cta).active { color: var(--ink); }

/* Footer : texte clair sur fond navy */
.footer-brand          { display: block; }
.footer-tag            { color: rgba(240,244,253,0.52) !important; }
.footer-grid a,
.footer-grid li        { color: rgba(240,244,253,0.55); }
.footer-grid a:hover,
.footer-grid a.active  { color: var(--ink); }
.footer-bottom         { color: rgba(240,244,253,0.38); }
.footer-grid h4        { color: var(--gold); }

/* Section sections alternées : fond chaud */
.section-warm { background: var(--emerald); }

/* Sections claires : titre sombre */
.section .section-header h2,
.section-tight .section-header h2 { color: var(--ink-dark); }

/* ---------- Splash screen ---------- */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
#splash-screen video {
  width: min(560px, 88vw);
  height: auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
#splash-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: transparent;
  border: 1px solid rgba(201, 168, 64, 0.45);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease, background 0.2s, color 0.2s;
}
#splash-skip.visible {
  opacity: 1;
}
#splash-skip:hover {
  background: var(--gold);
  color: var(--void);
}
@media (max-width: 480px) {
  #splash-skip { bottom: 20px; right: 20px; }
}

