/* ============================================
   NautiPro — Layout
   Sections, grids, hero patterns
   ============================================ */

main { padding-top: 88px; }
main.has-hero-bleed { padding-top: 0; }

/* ============================================
   Hero variants
   ============================================ */
.hero {
  position: relative;
  min-height: min(100vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--abyss);
  color: var(--ivory);
}
.hero--compact { min-height: min(60vh, 620px); }
.hero--medium { min-height: min(72vh, 720px); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Renforcement anti-dominante-turquoise — en attendant shoot drone pro */
  filter: saturate(0.55) brightness(0.85) sepia(0.10) hue-rotate(-8deg);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Overlay double gradient renforcé pour neutraliser la dominante chromatique du JPG source */
  background:
    linear-gradient(180deg, rgba(5, 30, 54,0.25) 0%, rgba(5, 30, 54,0.5) 50%, rgba(5, 30, 54,0.88) 100%),
    linear-gradient(110deg, rgba(5, 30, 54,0.65) 0%, rgba(5, 30, 54,0.35) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--s-9) var(--pad-x) var(--s-10) var(--pad-x);
  max-width: var(--container-ultra);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero__content { padding-top: var(--s-10); padding-bottom: var(--s-10); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: var(--ls-display);
  color: var(--ivory);
  margin-bottom: 24px;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-soft);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  line-height: 1.6;
  color: rgba(232, 237, 243, 0.85);
  margin: 0 0 40px 0;
  max-width: 56ch;
}

.hero__cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================
   Hero FULLSCREEN signature (Round 7 — homepage)
   Vidéo cinéma plein écran + bloc texte ABYSS sur
   backdrop ivory translucide en bas (style éditorial)
   ============================================ */
.hero--fullscreen {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1080px;
  display: block;            /* override flex */
  align-items: initial;
  overflow: hidden;
  background: var(--abyss);  /* fallback */
  color: var(--ink);
}
.hero--fullscreen .hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero--fullscreen .hero__video,
.hero--fullscreen .hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Round 10 : nouveau source vidéo bleu cobalt natif (Pexels 15398522), on laisse la mer respirer */
  filter: saturate(1.05) contrast(1.04) brightness(1.01);
}

/* Overlay ivory bas + léger top wash : texte abyss lisible, vidéo cinéma garde sa lumière */
.hero--fullscreen .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Top wash léger pour lisibilité header transparent */
    linear-gradient(180deg, rgba(5, 30, 54,0.28) 0%, rgba(5, 30, 54,0.08) 16%, transparent 30%),
    /* Voile clair remonté : il doit couvrir TOUT le bloc de texte, pas seulement le bas */
    linear-gradient(180deg, transparent 0%, transparent 26%, rgba(250, 251, 253,0.62) 44%, rgba(250, 251, 253,0.93) 58%, rgba(250, 251, 253,1) 70%, rgba(250, 251, 253,1) 100%);
}

.hero--fullscreen .hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 6vw, 80px) clamp(28px, 4vw, 48px);
  text-align: center;
  max-width: none;
  margin: 0;
  /* Permet aux pointer events sur les liens malgré l'overlay */
  pointer-events: none;
}
.hero--fullscreen .hero__content > * { pointer-events: auto; }

.hero--fullscreen .hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero--fullscreen .hero__eyebrow::before,
.hero--fullscreen .hero__eyebrow::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--brass);
  opacity: 0.6;
}

.hero--fullscreen .hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(2.25rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 auto 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.hero--fullscreen .hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "wght" 400;
  color: var(--brass-deep);
}

.hero--fullscreen .hero__sub {
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
  margin: 0 auto 28px;
}

.hero--fullscreen .hero__cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Filet décoratif "scroll down" très subtil — visible uniquement sur grand desktop */
.hero--fullscreen .hero__scroll {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vh, 48px);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-2);
  display: none;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  opacity: 0.85;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero--fullscreen .hero__scroll::before {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--brass));
}
@media (min-width: 1280px) {
  .hero--fullscreen .hero__scroll { display: inline-flex; }
}

/* Tablet & mobile : align-left, padding accru, hauteur svh */
@media (max-width: 767px) {
  .hero--fullscreen {
    height: 100svh;
    min-height: 560px;
  }
  .hero--fullscreen .hero__content {
    text-align: left;
    padding: 56px 24px 40px;
  }
  .hero--fullscreen .hero__overlay {
    /* Round 8 P0-3 : ribbon ivory démarre plus bas pour libérer 60% de vidéo */
    background:
      linear-gradient(180deg, rgba(5, 30, 54,0.20) 0%, rgba(5, 30, 54,0.0) 22%, transparent 30%, rgba(250, 251, 253,0.70) 42%, rgba(250, 251, 253,0.96) 54%, rgba(250, 251, 253,1) 64%, rgba(250, 251, 253,1) 100%);
  }
  .hero--fullscreen .hero__title {
    font-size: clamp(2.25rem, 9vw, 3rem);
    margin-left: 0;
    margin-right: auto;
  }
  .hero--fullscreen .hero__sub {
    margin-left: 0;
    margin-right: auto;
  }
  .hero--fullscreen .hero__eyebrow {
    align-self: flex-start;
  }
  .hero--fullscreen .hero__cta-row {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero--fullscreen .hero__cta-row .btn { width: 100%; text-align: center; }
  .hero--fullscreen .hero__scroll { display: none; }
}

/* Reduce motion : vidéo masquée, fallback img */
@media (prefers-reduced-motion: reduce) {
  .hero--fullscreen .hero__video { display: none; }
  .hero--fullscreen .hero__fallback { display: block; }
}

/* ============================================
   Hero FULLSCREEN — variante SUB (Round 12)
   Pages secondaires : 80vh max (laisse respiration scroll),
   titre légèrement réduit. Pattern identique homepage.
   ============================================ */
.hero--fullscreen.hero--sub {
  height: 80vh;
  min-height: 560px;
  max-height: 800px;
}
.hero--fullscreen.hero--sub .hero__title {
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  max-width: 24ch;
}
.hero--fullscreen.hero--sub .hero__sub {
  max-width: 56ch;
}
@media (max-width: 767px) {
  .hero--fullscreen.hero--sub {
    height: 78svh;
    min-height: 520px;
  }
  .hero--fullscreen.hero--sub .hero__title {
    font-size: clamp(1.375rem, 5.5vw, 2rem);
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-wrap: balance;
    line-height: 1.1;
  }
  .hero--fullscreen.hero--sub .hero__sub {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  /* Désactive les <br> dans le titre mobile pour laisser wrap naturel */
  /* le <br> disparaît en mobile : on le remplace par une espace pour ne pas coller les mots */
  .hero--fullscreen.hero--sub .hero__title br { display: inline; content: " "; }
  .hero--fullscreen.hero--sub .hero__title br::after { content: " "; }
}
/* Image fallback (no video) — assure que l'image background prend tout l'écran */
.hero--fullscreen .hero__fallback[data-bg="image"] {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__band {
  position: relative;
  z-index: 2;
  background: var(--ivory);
  color: var(--slate);
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}
.hero__band span { color: var(--brass); margin: 0 6px; }

/* Hero internal (light, no media) */
.hero--light {
  background: var(--ivory);
  color: var(--ink);
  min-height: min(56vh, 560px);
}
.hero--light .hero__title { color: var(--ink); }
.hero--light .hero__title em { color: var(--brass); }
.hero--light .hero__subtitle { color: var(--slate); }

/* ============================================
   Section header
   ============================================ */
.section-head {
  margin-bottom: var(--s-8);
  max-width: 60ch;
}
.section-head .h1, .section-head .h2 {
  margin-bottom: 24px;
}
.section-head__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.55;
  /* R13 — default abyss : ivory-soft. Sections light override. */
  color: var(--ivory-soft);
  font-variation-settings: "opsz" 24;
  max-width: 56ch;
}
.section--ivory .section-head__lede,
.section--ivory-2 .section-head__lede,
.section--pearl .section-head__lede { color: var(--slate); }

/* ============================================
   Grids
   ============================================ */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 56px; }
}

/* Split 7+5 */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 7fr 5fr; gap: 80px; }
  .split--reverse { direction: rtl; }
  .split--reverse > * { direction: ltr; }
  .split--6-6 { grid-template-columns: 1fr 1fr; }
}

.split__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 4/5;
  background: var(--midnight);
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.95) sepia(0.04);
}

/* ============================================
   Manifeste signature
   ============================================ */
.manifesto {
  max-width: var(--container-prose);
  margin: 0 auto;
}
.manifesto__body {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  line-height: 1.75;
  color: var(--ivory-soft);
}
.section--ivory .manifesto__body,
.section--ivory-2 .manifesto__body,
.section--pearl .manifesto__body {
  color: var(--ink);
}
.manifesto__body p { margin-bottom: 1.5em; }
.manifesto__body p:last-child { margin-bottom: 0; }
.manifesto__dropcap {
  float: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 4.5em;
  line-height: 0.85;
  color: var(--brass);
  margin: 4px 14px 0 0;
}
.manifesto__quote {
  margin: 48px auto;
  max-width: 540px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brass-soft);
  font-variation-settings: "opsz" 72;
}
.section--ivory .manifesto__quote,
.section--ivory-2 .manifesto__quote,
.section--pearl .manifesto__quote { color: var(--brass-deep); }

/* ============================================
   Big numbers (chiffres flotte)
   ============================================ */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 24px;
}
@media (min-width: 1024px) {
  .big-numbers { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  /* Asymétrie verticale subtile (cf design-review M1) — composition éditoriale, pas tableau de stats */
  .big-numbers > div:nth-child(1) { margin-top: 0; }
  .big-numbers > div:nth-child(2) { margin-top: 32px; }
  .big-numbers > div:nth-child(3) { margin-top: 8px; }
  .big-numbers > div:nth-child(4) { margin-top: 48px; }
}
.big-number__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  /* R13 — default sur abyss : ivory. Sections light overrides plus bas. */
  color: var(--ivory);
  margin-bottom: 16px;
}
.section--ivory .big-number__value,
.section--ivory-2 .big-number__value,
.section--pearl .big-number__value { color: var(--ink); }
.big-number__rule {
  width: 60px;
  height: 1px;
  background: var(--brass-soft);
  margin-bottom: 16px;
}
.section--ivory .big-number__rule,
.section--ivory-2 .big-number__rule,
.section--pearl .big-number__rule { background: var(--brass); }
.big-number__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  line-height: 1.5;
}
.section--ivory .big-number__label,
.section--ivory-2 .big-number__label,
.section--pearl .big-number__label { color: var(--slate); }

/* ============================================
   App section (iPhone mockup)
   ============================================ */
.app-section {
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(193, 127, 89,0.08), transparent 60%);
  pointer-events: none;
}

.iphone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 320 / 660;
  background: linear-gradient(160deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.45),
    0 12px 30px -8px rgba(0,0,0,0.35),
    inset 0 1px 2px rgba(255,255,255,0.1);
  transform: rotate(-4deg);
}
.iphone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--midnight-2) 0%, var(--abyss) 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ivory);
}
.iphone-mockup__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 14px;
  z-index: 2;
}
.iphone-mockup__content {
  padding: 56px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iphone-mockup__brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 4px;
}
.iphone-mockup__brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 2px;
}
.iphone-mockup__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(193, 127, 89,0.2);
  border-radius: 8px;
  padding: 14px;
  font-size: 0.6875rem;
}
.iphone-mockup__card-label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 6px;
}
.iphone-mockup__card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 4px;
}
.iphone-mockup__card-meta { font-size: 0.625rem; color: rgba(232, 237, 243,0.55); }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.process-step__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  font-variation-settings: "opsz" 144, "wght" 300;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 16px;
}
.process-step__rule { width: 40px; height: 1px; background: var(--brass); margin-bottom: 20px; }
.process-step__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 12px;
}
.section--ivory .process-step__title,
.section--ivory-2 .process-step__title,
.section--pearl .process-step__title { color: var(--ink); }
.process-step__body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ivory-muted);
}
.section--ivory .process-step__body,
.section--ivory-2 .process-step__body,
.section--pearl .process-step__body { color: var(--slate); }

/* Bullet list editorial */
.bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  line-height: 1.6;
  /* R13 — defaut sur abyss */
  color: var(--ivory-soft);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--brass-soft);
}
.section--ivory .bullets li,
.section--ivory-2 .bullets li,
.section--pearl .bullets li { color: var(--slate); }
.section--ivory .bullets li::before,
.section--ivory-2 .bullets li::before,
.section--pearl .bullets li::before { background: var(--brass); }

/* CTA bloc final */
.cta-bloc {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.cta-bloc .h2 { margin-bottom: 24px; }
.cta-bloc__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(232, 237, 243,0.85);
  margin-bottom: 40px;
  font-variation-settings: "opsz" 24;
}
.cta-bloc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Hotline display */
.hotline {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  color: var(--ivory);
  display: block;
  line-height: 1;
  margin: 24px 0;
}
.hotline a { color: var(--ivory); }
.hotline a:hover { color: var(--brass-soft); }

/* Constructors list */
.constructors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 96, "wght" 300;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--ivory);
  letter-spacing: -0.015em;
  line-height: 1;
}
.section--ivory .constructors-list,
.section--ivory-2 .constructors-list,
.section--pearl .constructors-list { color: var(--ink); }
.constructors-list span {
  position: relative;
  padding-right: 32px;
}
.constructors-list span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 8px;
  color: var(--brass);
}

/* Engagement table */
.engagement-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
}
.engagement-table th, .engagement-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.engagement-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.engagement-table td { font-size: 0.9375rem; color: var(--slate); }
.engagement-table tbody tr:hover { background: rgba(193, 127, 89,0.04); }

/* Radar SVG for urgences */
.radar-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 48px;
}
.radar-wrap .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--emergency);
  border-radius: 50%;
  opacity: 0;
  animation: radar 4s ease-out infinite;
}
.radar-wrap .ring:nth-child(2) { animation-delay: 1s; }
.radar-wrap .ring:nth-child(3) { animation-delay: 2s; }
.radar-wrap .ring:nth-child(4) { animation-delay: 3s; }
.radar-wrap .core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  background: rgba(168,52,30,0.08);
  border: 1px solid var(--emergency);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emergency);
  z-index: 2;
}
@keyframes radar {
  0% { transform: scale(0.2); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(.16,1,.3,1), transform 600ms cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Vidéos hero & showreel (Round 6)
   ============================================ */
.hero__media--video { position: relative; overflow: hidden; }
.hero__media--video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* Round 10 : grading allégé — bleu cobalt préservé, juste un peu de contraste pour la lisibilité du titre */
  filter: saturate(0.95) brightness(0.92) contrast(1.04);
}

/* Section showreel — full-bleed video background + pull quote (legacy variant) */
.section--showreel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--abyss);
  display: flex;
  align-items: center;
  justify-content: center;
}
.showreel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: saturate(0.45) brightness(0.7) sepia(0.06) hue-rotate(-6deg);
}
.showreel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 30, 54,0.55) 0%, rgba(5, 30, 54,0.35) 50%, rgba(5, 30, 54,0.85) 100%),
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(5, 30, 54,0.5) 80%);
}
.showreel__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad-x);
  max-width: 920px;
}
.showreel__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ivory);
  margin: 24px auto 0;
  max-width: 22ch;
}
.showreel__quote em {
  font-style: italic;
  color: var(--brass-soft);
}
@media (max-width: 767px) {
  .section--showreel { height: 56vh; min-height: 380px; }
}

/* ============================================
   Showreel MOSAIQUE 4 vidéos (Round 7 — homepage)
   2x2 grid · light mode · ivory background ·
   citation Fraunces flottante au-dessus
   ============================================ */
.showreel-mosaic {
  position: relative;
  background: var(--ivory);
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  overflow: hidden;
}
.showreel-mosaic__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 56px;
}
.showreel-mosaic__head .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.showreel-mosaic__head .h2 {
  margin: 0 auto;
  max-width: 22ch;
}
.showreel-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  max-width: 1480px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.showreel-mosaic__tile {
  position: relative;
  overflow: hidden;
  background: var(--abyss);
  border-radius: 2px;
  /* Léger filet brass à l'intérieur, signature */
  box-shadow: inset 0 0 0 1px rgba(193, 127, 89, 0.0);
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 400ms ease;
  will-change: transform;
}
.showreel-mosaic__tile video,
.showreel-mosaic__tile img.tile__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.02) brightness(0.96);
  transition: filter 600ms ease, transform 1200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Round 8 mineur : fallback img EN-DESSOUS de la video (z=1), video au-dessus (z=2).
   Si la video échoue (iOS Safari autoplay refusé, réseau lent), l'img poster
   reste visible — plus de rectangles noirs vides en mobile. */
.showreel-mosaic__tile img.tile__fallback { z-index: 1; }
.showreel-mosaic__tile video { z-index: 2; }
.showreel-mosaic__tile::after {
  /* Vignette discrète en bas pour le caption */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 30, 54,0.55) 100%);
  pointer-events: none;
  transition: opacity 400ms ease;
}
.showreel-mosaic__caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brass-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.showreel-mosaic__caption::before {
  content: "";
  width: 22px; height: 1px; background: var(--brass-soft);
}
.showreel-mosaic__caption strong {
  color: #fff;
  font-weight: 500;
}

@media (hover: hover) {
  .showreel-mosaic__tile:hover {
    box-shadow: inset 0 0 0 1px rgba(193, 127, 89, 0.6);
  }
  .showreel-mosaic__tile:hover video,
  .showreel-mosaic__tile:hover img.tile__fallback {
    filter: saturate(1) contrast(1.04) brightness(1);
    transform: scale(1.03);
  }
  .showreel-mosaic__tile:hover::after { opacity: 0.65; }
}

/* Citation flottante au-dessus de la mosaïque (style éditorial) */
.showreel-mosaic__quote {
  margin: 64px auto 0;
  max-width: 26ch;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--slate);
}
.showreel-mosaic__quote em {
  font-style: italic;
  color: var(--brass-deep);
}
.showreel-mosaic__rule {
  width: 80px; height: 1px; background: var(--brass);
  margin: 36px auto 0;
  border: 0;
}

/* Mobile : 2 colonnes empilées, 4 lignes (chaque vidéo plus haute) */
@media (max-width: 767px) {
  .showreel-mosaic { padding: 56px 16px; }
  .showreel-mosaic__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
    aspect-ratio: auto;
    gap: 10px;
  }
  .showreel-mosaic__caption {
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    left: 14px; right: 14px; bottom: 12px;
  }
}

/* Reduce motion : posters seulement */
@media (prefers-reduced-motion: reduce) {
  .showreel-mosaic__tile video { display: none; }
  .showreel-mosaic__tile img.tile__fallback { display: block; }
}

/* Vidéo backdrop urgences */
.hero-emergency { position: relative; }
.hero-emergency__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.28;
  filter: saturate(0.35) brightness(0.55) hue-rotate(-10deg);
  pointer-events: none;
}
.hero-emergency > *:not(.hero-emergency__bg) { position: relative; z-index: 2; }
.hero-emergency::before { z-index: 1; }

/* prefers-reduced-motion : poster only, freeze video */
@media (prefers-reduced-motion: reduce) {
  .hero__media--video video,
  .showreel__video,
  .hero-emergency__bg {
    animation: none;
  }
  /* Stop playing - browser respects this in newer Safari; fallback: video paused via JS would be ideal */
}
