:root {
  --cosmos-deep:    #050518;
  --cosmos-mid:     #0a0820;
  --cosmos-warm:    #15082a;
  --gold:           #fbbf24;
  --gold-bright:    #fcd34d;
  --violet:         #8b5cf6;
  --violet-bright:  #a78bfa;
  --cyan:           #22d3ee;
  --cyan-bright:    #67e8f9;
  --magenta:        #ec4899;
  --magenta-bright: #f472b6;
  --water:          #7fdbff;
  --text-light:     #ffffff;
  --text-dim:       rgba(255, 255, 255, 0.7);
  --text-fade:      rgba(255, 255, 255, 0.5);
  --serif:          "Playfair Display", "Times New Roman", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cosmos-deep);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ============================================================
   NAV PRINCIPALE + MÉGA-MENU
   ============================================================ */
.mainnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background 0.4s, padding 0.3s;
}

.mainnav.scrolled {
  background: rgba(5, 5, 24, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 0.7rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-logo { height: 72px; width: auto; display: block; }
@media (max-width: 1050px) { .brand-logo { height: 52px; } }

.brand .tag {
  font-family: var(--serif);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gold);
}

/* Menu primaire (groupes + liens simples) */
.menu-primary {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.menu-primary > li { position: relative; }

.menu-primary > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}

.menu-primary > li > a:hover,
.menu-primary > li.is-open > a,
.menu-primary > li.current > a {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.menu-primary > li.has-megamenu > a::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.15rem;
  transform-origin: center;
  transition: transform 0.25s;
  margin-top: -0.2rem;
}

.menu-primary > li.is-open > a::after,
.menu-primary > li.has-megamenu:hover > a::after,
.menu-primary > li.has-megamenu:focus-within > a::after {
  transform: rotate(225deg);
  margin-top: 0.1rem;
}

/* Panneau méga-menu */
.megamenu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -12px);
  width: min(880px, calc(100vw - 2rem));
  max-width: 92vw;
  background: rgba(12, 8, 32, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 0.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

/* Pseudo invisible qui couvre la zone entre le label et le panel,
   pour ne pas perdre le :hover quand la souris descend du label. */
.megamenu-panel::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.has-megamenu:hover > .megamenu-panel,
.has-megamenu:focus-within > .megamenu-panel,
.has-megamenu.is-open > .megamenu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem;
}

.megamenu-item {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.megamenu-item:hover,
.megamenu-item:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateY(-1px);
  outline: none;
}

.megamenu-item .mm-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.megamenu-item .mm-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  background: var(--gold);
  color: var(--cosmos-deep);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

/* Sélecteur de langue FR/EN (2026-08-29) : pastille discrète, volontairement
   moins appuyée que le CTA doré pour ne pas lui voler l'attention. */
.nav-lang {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.3s;
  flex-shrink: 0;
}

.nav-lang:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Clones injectés dans le tiroir mobile : masqués en desktop */
.nav-cta-drawer { display: none; }
.nav-lang-drawer { display: none; }
/* Verrou de scroll du body quand le tiroir mobile est ouvert */
body.nav-locked { overflow: hidden; }

/* Hamburger mobile */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mainnav.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mainnav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.mainnav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1050px) {
  .nav-burger { display: inline-flex; position: relative; z-index: 1001; } /* au-dessus du tiroir (28/08 : le tiroir masquait le bouton de fermeture) */
  .mainnav { gap: 1rem; }
  /* on sort le CTA de la barre (évite le débordement logo+burger+CTA) */
  .mainnav > .nav-cta { display: none; }
  /* …et on affiche son clone en bas du tiroir */
  .nav-cta-drawer { display: block; width: 100%; text-align: center; margin-top: 1.25rem; }
  /* idem pour le sélecteur de langue : hors de la barre (le débordement
     logo+burger+CTA du 28/08 est déjà arrivé une fois), affiché dans le tiroir */
  .mainnav > .nav-lang { display: none; }
  .nav-lang-drawer { display: inline-block; margin-top: 0.75rem; }
  .menu-primary {
    position: fixed;
    z-index: 1000;
    inset: 0 0 0 auto;
    width: min(360px, 90vw);
    background: rgba(8, 6, 26, 0.98);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 5rem 1.25rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
  }
  .mainnav.menu-open .menu-primary { transform: translateX(0); }
  .menu-primary > li > a {
    padding: 0.9rem 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
    justify-content: space-between;
  }
  .menu-primary > li.has-megamenu > a::after {
    margin-left: auto;
  }
  .megamenu-panel {
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.5rem 0.6rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .has-megamenu.is-open > .megamenu-panel {
    max-height: 1200px;
  }
  .has-megamenu:hover > .megamenu-panel,
  .has-megamenu:focus-within > .megamenu-panel {
    max-height: 0;
  }
  .has-megamenu.is-open > .megamenu-panel {
    max-height: 1200px;
  }
  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .megamenu-item { padding: 0.55rem 0.7rem; }
  .megamenu-item .mm-desc { display: none; }
}

@media (max-width: 600px) {
  .mainnav { padding: 0.8rem 1rem; gap: 0.6rem; }
  .brand .tag { display: none; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.8rem; }
}

/* ============================================================
   HERO AVEC MOSAÏQUE VIDÉO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 2rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Vidéo MP4 auto-hébergée en background plein écran (autoplay garanti) */
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  background: var(--cosmos-deep);
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Fond YouTube (iframe) plein écran — couvre le hero en gardant le ratio 16:9 (recadrage) */
.video-bg .yt-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.video-bg .yt-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;   /* 100vh × 16/9 */
  min-width: 100%;
  height: 56.25vw;   /* 100vw × 9/16 */
  min-height: 100%;
  border: 0;
  pointer-events: none;
}

/* Fallback gradient si la vidéo est introuvable */
.video-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(251, 191, 36, 0.3), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.2), transparent 50%),
    linear-gradient(135deg, #4a0e4e 0%, #1a0826 100%);
  z-index: 0;
}

/* Voile sombre sur la vidéo de la home pour lisibilité — limité à la home (28/08 : il assombrissait le texte de Contact et d'autres heros sans wrapper z-indexé) */
.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5, 5, 24, 0.55) 0%, rgba(5, 5, 24, 0.85) 80%);
  z-index: 5;
  pointer-events: none;
}

/* Note placeholder vidéo */
.video-replace-note {
  position: absolute;
  top: 7.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  padding: 0.7rem 1.4rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px dashed var(--gold);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .video-replace-note { font-size: 0.7rem; padding: 0.5rem 1rem; }
  .video-replace-note .long { display: none; }
}

/* Hero content centré */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  padding: 2rem 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 2rem;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.9);
}

.hero h1 .accent {
  display: inline-block;
  font-style: italic;
  padding: 0.06em 0.12em;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 30%, var(--magenta-bright) 60%, var(--violet-bright) 90%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cosmic-shift 12s linear infinite;
  filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.4));
}

@keyframes cosmic-shift { to { background-position: 250% center; } }

.hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 300;
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero p strong { color: var(--text-light); font-weight: 500; }

.hero-cta-row {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Logo géant centré dans le hero (par-dessus la vidéo) */
.hero-logo {
  position: relative;
  z-index: 10;
  width: min(480px, 84vw);
  height: auto;
  display: block;
  margin: 0 auto 5.5rem;
  filter: drop-shadow(0 10px 44px rgba(0, 0, 0, 0.55));
}

/* Titre d'identité dans le hero home (sous le logo) — classe unique, pas de collision */
.hero .home-hero-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}
.hero .home-hero-title .accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 30%, var(--magenta-bright) 60%, var(--violet-bright) 90%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cosmic-shift 12s linear infinite;
}

/* Carrousel prestations — marquee défilant continu (hors vidéo) */
.presta-marquee { background: var(--cosmos-deep); padding: 2.8rem 0 3.2rem; overflow: hidden; }
.pm-track { display: flex; gap: 1rem; width: max-content; animation: pm-scroll 70s linear infinite; }
.presta-marquee:hover .pm-track { animation-play-state: paused; }
.pm-card {
  position: relative; flex: 0 0 auto;
  width: 300px; height: 200px;
  background-size: cover; background-position: center; background-color: #0d0a20;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.pm-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease;
}
.pm-card img.pm-loaded { opacity: 1; }
.pm-card:hover img { transform: scale(1.06); }
.pm-card:hover { border-color: var(--gold); }
@media (max-width: 760px) { .pm-card { width: 220px; height: 147px; } }
.pm-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.6rem; font-size: 0.78rem; color: #fff; font-weight: 500;
  background: linear-gradient(transparent, rgba(5, 5, 24, 0.9));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes pm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pm-track { animation: none; } }

/* Strip thumbnails sous le hero (preview vidéos) */
.hero-thumbs {
  position: relative;
  z-index: 10;
  margin-top: 3rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 1rem;
  scrollbar-width: none;
}

.hero-thumbs::-webkit-scrollbar { display: none; }

.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
  text-decoration: none;
  color: inherit;
}

.thumb:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.thumb-bg {
  position: absolute;
  inset: 0;
}
.thumb-bg-image picture,
.thumb-bg-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.thumb-bg-1 { background: radial-gradient(ellipse at 50% 50%, rgba(251, 191, 36, 0.4), transparent 60%), linear-gradient(135deg, #4a0e4e, #1a0826); }
.thumb-bg-2 { background: radial-gradient(ellipse at 50% 50%, rgba(127, 219, 255, 0.4), transparent 60%), linear-gradient(135deg, #003566, #001428); }
.thumb-bg-3 { background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 110, 0.4), transparent 60%), linear-gradient(135deg, #2a0050, #050010); }
.thumb-bg-4 { background: radial-gradient(ellipse at 50% 50%, rgba(246, 198, 0, 0.4), transparent 60%), linear-gradient(135deg, #1a1a0a, #0a0a0a); }
.thumb-bg-5 { background: radial-gradient(ellipse at 50% 50%, rgba(255, 100, 70, 0.5), transparent 60%), linear-gradient(135deg, #4a1c1a, #1a0a08); }
.thumb-bg-6 { background: radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.4), transparent 60%), linear-gradient(135deg, #1a3a4a, #0a1a28); }

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.3;
}

.thumb .play-mini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.thumb:hover .play-mini { opacity: 1; }

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: bob 2.5s ease-in-out infinite;
  z-index: 10;
  color: var(--gold);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cosmos-deep);
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: translateX(-100%); transition: transform 0.7s; pointer-events: none; }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 40px rgba(251, 191, 36, 0.6); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary .arrow, .btn-secondary .arrow { transition: transform 0.4s; }
.btn-primary:hover .arrow, .btn-secondary:hover .arrow { transform: translateX(6px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.4s, background 0.3s, border-color 0.3s;
}

.btn-secondary:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   BANDEAU RÉASSURANCE
   ============================================================ */
.reassurance {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--cosmos-deep) 0%, rgba(20, 8, 40, 0.5) 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.15);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}

.reassurance-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
  text-align: center;
}

.reassurance-item .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.reassurance-item .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.8rem;
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section-head .eyebrow { font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 500; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; flex: 0 0 40px; height: 1px; opacity: 0.5; }
.section-head .eyebrow.spectacle { color: var(--gold); }
.section-head .eyebrow.spectacle::before, .section-head .eyebrow.spectacle::after { background: var(--gold); }
.section-head .eyebrow.tech { color: var(--cyan); }
.section-head .eyebrow.tech::before, .section-head .eyebrow.tech::after { background: var(--cyan); }
.section-head h2 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; line-height: 1.05; margin-bottom: 1.2rem; }
.section-head h2 .accent { font-style: italic; color: var(--gold); }
.section-head h2 .accent-cyan { font-style: italic; color: var(--cyan); }
.section-head p { font-size: 1.1rem; color: var(--text-dim); font-weight: 300; }

/* ============================================================
   BRANCHE 1 — SPECTACLES & ÉVÉNEMENTS (signatures)
   ============================================================ */
.branch-anchor {
  height: 1px;
  position: relative;
  top: -90px;
}

.signatures {
  padding: 4rem 2rem 3rem;
  position: relative;
  background: linear-gradient(180deg, var(--cosmos-deep) 0%, var(--cosmos-warm) 50%, var(--cosmos-deep) 100%);
}

.signature-card {
  max-width: 1280px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 0 2rem;
}
.signature-card.flip { direction: rtl; } .signature-card.flip > * { direction: ltr; }
@media (max-width: 900px) { .signature-card, .signature-card.flip { grid-template-columns: 1fr; gap: 1.6rem; padding: 0; direction: ltr; } /* 2026-08-28 (Pierre) : texte AVANT illustration sur mobile (annule l'order:-1 du 15/06) */ .signature-card .signature-visual { order: 0; } .signature-card .signature-text { order: 0; } }

.signature-text { padding: 2rem 0; }
.signature-text .num { font-family: var(--serif); font-style: italic; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 1rem; display: block; }
.signature-text h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.05; margin-bottom: 1.5rem; }
.signature-text h3 .accent { font-style: italic; }
.signature-text .accent-water    { color: var(--water); }
.signature-text .accent-light    { color: var(--magenta-bright); }
.signature-text .accent-fire     { color: var(--gold); }
.signature-text .accent-mapping  { color: var(--violet-bright); }
.signature-text p { font-size: 1.05rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 1.5rem; font-weight: 300; }

.signature-link { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none; font-weight: 500; padding-bottom: 0.4rem; border-bottom: 1px solid var(--gold); transition: gap 0.4s ease; }
.signature-link:hover { gap: 1rem; }

.signature-visual {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.signature-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.signature-visual img,
.signature-visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.signature-visual img { object-fit: cover; }
/* iframe YouTube : zoom léger + recouvrement pour cacher la barre du lecteur */
.signature-visual .yt-wrap { position: absolute; inset: 0; overflow: hidden; }
.signature-visual .yt-wrap iframe { width: 110%; height: 110%; left: -5%; top: -5%; pointer-events: none; }
.sig-water    { background: radial-gradient(ellipse at 50% 80%, #003566 0%, #001428 70%); }
.sig-light    { background: radial-gradient(ellipse at 50% 50%, #2a0050 0%, #050010 80%); }
.sig-kart     { background: radial-gradient(ellipse at 50% 100%, rgba(246, 198, 0, 0.15) 0%, #0a0a0a 60%); }
.sig-spectacle { background: radial-gradient(ellipse at 50% 100%, #1a0826 0%, #050518 70%); }

/* Tag "vidéo réa" sur chaque signature visual */
.sig-video-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   POUR QUI ? (4 personas)
   ============================================================ */
.audience { padding: 5rem 2rem; background: linear-gradient(180deg, var(--cosmos-deep) 0%, var(--cosmos-mid) 100%); }
.audience-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.audience-card { padding: 3rem 2rem; background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; text-decoration: none; color: inherit; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s, background 0.4s; position: relative; overflow: hidden; }
.audience-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.audience-card:hover { transform: translateY(-8px); border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.04); }
.audience-card:hover::before { transform: scaleX(1); }
.audience-card .icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.audience-card h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 0.8rem; color: var(--gold); }
.audience-card p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; font-weight: 300; margin-bottom: 1.5rem; }
.audience-card .arrow-link { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); font-weight: 500; }

/* ============================================================
   BRANCHE 2 — R&D & TECHNOLOGIES (NEW)
   ============================================================ */
.tech-branch {
  padding: 5rem 2rem;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(34, 211, 238, 0.08), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(34, 211, 238, 0.05), transparent 50%),
    linear-gradient(180deg, var(--cosmos-deep) 0%, #061a20 50%, var(--cosmos-deep) 100%);
  position: relative;
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.tech-branch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.tech-grid {
  max-width: 1280px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

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

.tech-card {
  padding: 2.5rem 2rem;
  background: rgba(34, 211, 238, 0.04);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.tech-card:hover::before { transform: scaleX(1); }

.tech-card .num {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--cyan-bright);
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1rem;
}

.tech-card .tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tech-card .tag-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.tech-card .arrow-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  font-weight: 600;
}

.tech-cta {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
}

/* ============================================================
   3 PILIERS
   ============================================================ */
.pillars {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--cosmos-deep) 0%, var(--cosmos-warm) 50%, var(--cosmos-deep) 100%);
  position: relative;
  overflow: hidden;
}

.pillars::before { content: ""; position: absolute; top: 50%; left: 50%; width: 80%; height: 80%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(251, 191, 36, 0.04) 0%, transparent 60%); pointer-events: none; }

.pillars-grid { max-width: 1200px; margin: 5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; position: relative; }

.pillar { padding: 3rem 2.5rem; background: rgba(255, 255, 255, 0.025); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, background 0.4s; position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.15), transparent 60%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.pillar:hover { transform: translateY(-8px); border-color: rgba(251, 191, 36, 0.3); background: rgba(255, 255, 255, 0.04); }
.pillar:hover::before { opacity: 1; }
.pillar .icon { font-size: 2.2rem; margin-bottom: 1.5rem; display: block; }
.pillar h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--gold); margin-bottom: 1.2rem; font-style: italic; }
.pillar p { font-size: 1rem; color: var(--text-dim); line-height: 1.7; font-weight: 300; margin-bottom: 1.2rem; }
.pillar .pillar-quote { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--text-light); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); line-height: 1.5; }

/* ============================================================
   ATELIER
   ============================================================ */
.atelier { padding: 5rem 2rem; position: relative; }
.atelier-grid { max-width: 1280px; margin: 2rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 800px) { .atelier-grid { grid-template-columns: 1fr; gap: 3rem; } }
.atelier-text h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 1.5rem; line-height: 1.15; }
.atelier-text h3 .accent { font-style: italic; color: var(--gold); }
.atelier-text p { font-size: 1.05rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 1rem; font-weight: 300; }
.atelier-text p strong { color: var(--text-light); font-weight: 500; }
.atelier-equipment { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.equip-item { padding: 1rem 1.2rem; background: rgba(251, 191, 36, 0.06); border-left: 2px solid var(--gold); border-radius: 4px; font-size: 0.85rem; }
.equip-item .equip-label { display: block; color: var(--text-fade); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.3rem; }
.equip-item .equip-name { color: var(--text-light); font-weight: 500; }
.atelier-photo { aspect-ratio: 4/5; border-radius: 16px; background: radial-gradient(ellipse at 30% 30%, rgba(251, 191, 36, 0.15), transparent 60%), linear-gradient(135deg, #1a1a1f 0%, #0a0a0f 100%); position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; }
.atelier-photo::before { content: ""; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--text-fade); text-align: center; padding: 2rem; font-weight: 300; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials { padding: 10rem 2rem; background: linear-gradient(180deg, var(--cosmos-deep) 0%, var(--cosmos-warm) 50%, var(--cosmos-deep) 100%); position: relative; }
.testimonials-grid { max-width: 1280px; margin: 5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial { padding: 3rem 2.5rem; background: rgba(255, 255, 255, 0.025); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; position: relative; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s; }
.testimonial:hover { transform: translateY(-6px); border-color: rgba(251, 191, 36, 0.3); }
.testimonial::before { content: "\201C"; position: absolute; top: -1rem; left: 1.5rem; font-family: var(--serif); font-size: 5rem; color: var(--gold); opacity: 0.4; line-height: 1; }
.testimonial .quote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--text-light); margin-bottom: 2rem; font-weight: 400; }
.testimonial .author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.testimonial .author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--violet)); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--cosmos-deep); flex-shrink: 0; }
.testimonial .author-info .name { font-size: 0.95rem; font-weight: 500; color: var(--text-light); margin-bottom: 0.2rem; }
.testimonial .author-info .role { font-size: 0.8rem; color: var(--text-fade); letter-spacing: 0.05em; }
.testimonial .placeholder-note { position: absolute; top: 0.6rem; right: 0.8rem; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); opacity: 0.6; background: rgba(251, 191, 36, 0.1); padding: 0.3rem 0.6rem; border-radius: 4px; }

/* ============================================================
   TRUST BAND (logos)
   ============================================================ */
.trust { padding: 3.5rem 2rem; background: var(--cosmos-deep); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.trust .label { font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-fade); margin-bottom: 2rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.6rem 3rem; max-width: 1100px; margin: 0 auto; }
.trust-logo { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-dim); opacity: 0.65; letter-spacing: 0.02em; transition: opacity 0.3s, color 0.3s; white-space: nowrap; }
.trust-logo:hover { opacity: 1; color: var(--gold); }
.trust .labels { margin-top: 4rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-fade); }
.trust .labels span { padding: 0.5rem 1rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 100px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta { padding: 6rem 2rem; text-align: center; background: radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.2), transparent 60%), radial-gradient(ellipse at 70% 70%, rgba(251, 191, 36, 0.15), transparent 60%), radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.1), transparent 50%), var(--cosmos-deep); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle 1px at center, rgba(255, 255, 255, 0.4) 0%, transparent 100%); background-size: 40px 40px; opacity: 0.3; pointer-events: none; }
.final-cta h2 { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 400; margin-bottom: 1.5rem; line-height: 1; position: relative; }
.final-cta h2 .accent { font-style: italic; background: linear-gradient(120deg, var(--gold), var(--violet-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-cta p { font-size: 1.2rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 3rem; font-weight: 300; position: relative; }
.cta-meta { margin-top: 3rem; font-size: 0.9rem; opacity: 0.6; letter-spacing: 0.1em; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 4rem 2rem 3rem; background: var(--cosmos-deep); border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; font-size: 0.85rem; color: var(--text-fade); }
.footer a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer .links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

/* ============================================================
   FADE IN
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(60px); transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Apparition progressive DÉSACTIVÉE (demande Pierre 2026-06-15) ──
   Override global avec !important : couvre aussi les .fade-in redéfinis
   en local dans les <style> de pages. Pour RÉACTIVER : supprimer ce bloc.
   La mécanique .fade-in/.visible + l'IntersectionObserver (chronix.js) restent en place. */
.fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  .video-frame::before { animation: none; }
}

@media (max-width: 600px) {
  .signatures, .audience, .tech-branch, .pillars, .atelier, .testimonials, .trust, .final-cta { padding-left: 1.5rem; padding-right: 1.5rem; }
  .signatures, .pillars, .atelier, .testimonials, .tech-branch { padding-top: 6rem; padding-bottom: 6rem; }
  .audience { padding-top: 5rem; padding-bottom: 5rem; }
  .final-cta { padding-top: 8rem; padding-bottom: 8rem; }
}


/* ── Mobile compact : réassurance + bandeau confiance (2026-08-28, demande Pierre) ── */
.trust-dup { display: none; }
@media (max-width: 600px) {
  .reassurance { padding: 1.2rem 1rem; }
  .reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem 0.6rem; }
  .reassurance-item .num { font-size: 1.4rem; }
  .reassurance-item .label { font-size: 0.55rem; letter-spacing: 0.06em; margin-top: 0.35rem; line-height: 1.35; }
  /* clients : une seule ligne qui défile */
  .trust { padding: 1.4rem 0 1.6rem; overflow: hidden; }
  .trust .label { margin-bottom: 0.9rem; letter-spacing: 0.22em; font-size: 0.6rem; padding: 0 1rem; }
  .trust-logos { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 2.2rem; width: max-content; max-width: none; margin: 0; animation: trust-scroll 45s linear infinite; }
  .trust-dup { display: contents; }
  .trust-logo { font-size: 0.95rem; }
  .trust .labels { margin-top: 1.2rem; gap: 0.6rem; padding: 0 1rem; }
  @keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .trust-logos { animation: none !important; } }

/* ── Mobile : en-têtes de section et sections « signatures » plus courts (2026-08-28) ── */
@media (max-width: 600px) {
  .signatures { padding: 3.5rem 1.2rem 4rem; }
  .section-head { margin-bottom: 2.5rem; }
  .section-head .eyebrow { margin-bottom: 1rem; }
  .section-head p { font-size: 0.95rem; }
}

/* ── Liens téléphone / email sans classe (footer, bloc infos contact, numéros auto-détectés par iOS) :
   jamais le bleu par défaut du navigateur (2026-08-28, signalé par Pierre) ── */
a[href^="tel:"]:not([class]), a[href^="mailto:"]:not([class]) { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(251, 191, 36, 0.45); }
a[href^="tel:"]:not([class]):hover, a[href^="mailto:"]:not([class]):hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Atelier : « Ce qu'on a développé » + « Comment on fabrique » (2026-08-28) ── */
.atelier-grid { align-items: start; }
.atelier-sub { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 2.2rem 0 1rem; font-weight: 500; }
.atelier-process .atelier-sub:first-child { margin-top: 0; }
.atelier-dev { list-style: none; padding: 0; margin: 0; }
.atelier-dev li { padding: 0.55rem 0 0.55rem 1.2rem; border-top: 1px solid rgba(255,255,255,0.08); position: relative; font-size: 0.95rem; line-height: 1.45; }
.atelier-dev li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.atelier-dev li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }
.atelier-dev a { color: var(--text-light); text-decoration: none; border-bottom: 1px solid rgba(251,191,36,0.35); transition: color 0.3s, border-color 0.3s; }
.atelier-dev a:hover { color: var(--gold); border-color: var(--gold); }
.atelier-steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.atelier-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.atelier-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.atelier-steps .st-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; line-height: 1.3; }
.atelier-steps strong { display: block; font-weight: 500; color: var(--text-light); margin-bottom: 0.2rem; }
.atelier-steps p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--text-dim); font-weight: 300; }
.atelier-process .atelier-photo { margin-top: 2rem; aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .atelier-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; } .atelier { padding: 4rem 1.2rem; } .atelier-sub { margin-top: 1.6rem; } }

/* Dernière carte d'une section signatures : pas de marge basse (évite le double vide avant le bloc suivant) */
.signatures .signature-card:last-of-type { margin-bottom: 0; }

/* ── Réseaux sociaux (footer + bande home) — 2026-08-28 ── */
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin: 0 0 1.4rem; }
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-dim); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.06em; padding: 0.45rem 0.9rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; transition: color 0.3s, border-color 0.3s; }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--gold); border-color: var(--gold); }
.social-band { padding: 5rem 2rem; text-align: center; background: linear-gradient(180deg, var(--cosmos-deep) 0%, var(--cosmos-warm) 100%); }
.social-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.social-card { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 2rem 1.4rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; text-decoration: none; color: var(--text-light); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s; }
.social-card svg { width: 40px; height: 40px; color: var(--gold); }
.social-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.social-card span { color: var(--text-dim); font-size: 0.9rem; }
.social-card:hover { transform: translateY(-4px); border-color: var(--gold); }
@media (max-width: 600px) { .social-band { padding: 3rem 1.2rem; } .social-card { padding: 1.3rem 1rem; gap: 0.4rem; } .social-card svg { width: 30px; height: 30px; } }

/* ── Émoticônes retirées du site (28/08, Pierre) : les conteneurs d'icône vides ne prennent plus de place ── */
.icon:empty, .card-icon:empty, .pill-icon:empty, .equip-icon:empty, .tech-icon:empty, .value-icon:empty { display: none !important; }

/* Réseaux sous les boutons du hero (home) — 28/08 */
.hero-social { position: relative; z-index: 10; margin-top: 1.6rem; }
.hero-social .social-links { margin: 0; gap: 0.6rem 0.9rem; }
.hero-social .social-link { border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.85); background: rgba(5,5,24,0.35); }

/* Mobile : l'accordéon du méga-menu ne doit hériter d'aucun transform/positionnement desktop (28/08 : sous-entrées décalées hors écran) */
@media (max-width: 1050px) {
  .has-megamenu > .megamenu-panel,
  .has-megamenu:hover > .megamenu-panel,
  .has-megamenu:focus-within > .megamenu-panel,
  .has-megamenu.is-open > .megamenu-panel { position: static !important; transform: none !important; left: auto !important; width: auto !important; max-width: none !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; box-shadow: none !important; border: 0 !important; background: transparent !important; margin: 0 !important; }
  .megamenu-grid { display: block !important; }
  .megamenu-item { display: block !important; padding: 0.55rem 0.7rem !important; }
}
