/* =========================================================
   TRIBAL SOUND SYSTEM — feuille de style commune
   Couleurs des pôles : --son / --lumiere / --video / --structure
   Chaque page définit son accent via la classe du <body>.
   ========================================================= */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* Tokens officiels de la charte graphique 2026 (tribal-sound-tokens.css) */
:root {
  --tss-bg-primary: #0b0b0f;
  --tss-bg-surface: #13131b;
  --tss-bg-elevated: #1c1c28;
  --tss-border-subtle: rgba(255, 255, 255, 0.10);
  --tss-brand-primary: #9333ea;
  --tss-brand-hover: #a855f7;
  --tss-brand-accent: #c084fc;
  --tss-pole-son: #f43f5e;
  --tss-pole-eclairage: #38bdf8;
  --tss-pole-video: #facc15;
  --tss-pole-structure: #34d399;
  --tss-text-primary: #ffffff;
  --tss-text-secondary: #e5e7eb;
  --tss-text-muted: #9ca3af;
  --tss-radius-sm: 8px;
  --tss-radius-md: 14px;
  --tss-radius-lg: 18px;
  --tss-container-max: 1280px;
}

/* Alias internes (mappés sur les tokens de la charte) */
:root {
  --bg: var(--tss-bg-primary);
  --surface: var(--tss-bg-surface);
  --surface-2: var(--tss-bg-elevated);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #F3F4F6;
  --text-2: #D1D5DB;
  --text-3: #9CA3AF;
  --text-4: #6B7280;

  --brand: #9333ea;
  --brand-hover: #a855f7;
  --brand-light: #c084fc;

  --son: #f43f5e;       --son-rgb: 244, 63, 94;
  --lumiere: #38bdf8;   --lumiere-rgb: 56, 189, 248;
  --video: #facc15;     --video-rgb: 250, 204, 21;
  --structure: #34d399; --structure-rgb: 52, 211, 153;

  --accent: var(--brand-light);
  --accent-rgb: 192, 132, 252;

  --radius: 16px;
  --header-h: 80px;
}

body.page-son       { --accent: var(--son);       --accent-rgb: var(--son-rgb); }
body.page-lumiere   { --accent: var(--lumiere);   --accent-rgb: var(--lumiere-rgb); }
body.page-video     { --accent: var(--video);     --accent-rgb: var(--video-rgb); }
body.page-structure { --accent: var(--structure); --accent-rgb: var(--structure-rgb); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 0.95rem; font-weight: 600;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -6px rgba(147, 51, 234, .45); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.btn-lg { padding: 14px 28px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand-group { display: flex; align-items: center; gap: 14px; min-width: 0; flex-shrink: 0; }
.brand-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-svg { height: 54px; width: auto; display: block; }
.brand-tagline-box { display: flex; flex-direction: column; justify-content: center; width: max-content; max-width: 100%; }
.brand-kicker {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em;
  color: var(--brand-light); line-height: 1.2; white-space: nowrap;
}
.brand-sublinks {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 4px; line-height: 1.2; gap: 6px;
}
.brand-sublinks a { transition: color .2s ease; }
.brand-sublinks a:hover { color: #fff; }
.brand-sublinks a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.brand-sublinks .dot { color: #fff; }

.desktop-nav {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: 36px;
  font-size: 1rem; font-weight: 500; color: #E5E7EB;
}
.desktop-nav > a { transition: color .2s ease; white-space: nowrap; }
.desktop-nav > a:hover { color: #fff; }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  white-space: nowrap; transition: color .2s ease;
}
.nav-dropdown-trigger:hover { color: #fff; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 10px; font-size: .875rem; font-weight: 500; color: var(--text-2);
  transition: background-color .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-dropdown-menu a[aria-current="page"] { background: rgba(var(--accent-rgb), .12); color: var(--accent); font-weight: 600; }

.dot-son { background: var(--son); } .dot-lumiere { background: var(--lumiere); }
.dot-video { background: var(--video); } .dot-structure { background: var(--structure); }
.nav-dot { width: 7px; height: 7px; border-radius: 9999px; flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { font-size: .9rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.header-phone:hover { color: #fff; }

.mobile-menu-btn {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.12);
  color: var(--text); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
}
.mobile-drawer {
  display: none; flex-direction: column; gap: 12px; padding: 16px 24px 22px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { color: #E5E7EB; }
.mobile-drawer a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.mobile-drawer-title { color: #fff; font-weight: 600; }
.mobile-drawer-group {
  padding-left: 12px; border-left: 2px solid rgba(var(--accent-rgb), .45);
  display: flex; flex-direction: column; gap: 10px; margin: 2px 0;
}
.mobile-drawer .drawer-cta { color: var(--brand-light); font-weight: 600; }

/* ---------- Hero accueil ---------- */
.hero-banner {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #232b3e 0%, #161b26 58%, var(--bg) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 84px 0 92px;
}
.hero-bg-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .34; }
.hero-content { position: relative; z-index: 2; max-width: 980px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 9999px; font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-light); background: rgba(147,51,234,.14); border: 1px solid rgba(168,85,247,.35);
}
.hero-h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 20px; letter-spacing: -.01em; }
.hero-h1 .accent { color: #a855f7; }
.hero-lead { font-size: 1.1rem; color: #E5E7EB; line-height: 1.7; margin-bottom: 32px; max-width: 860px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: .88rem; color: var(--text-3); }
.trust-strip strong { color: #fff; font-weight: 700; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--brand-light); }

/* ---------- Sections génériques ---------- */
.section-block { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.section-eyebrow { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-light); margin-bottom: 8px; }
.section-title { font-size: clamp(1.5rem, 2.7vw, 2rem); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 18px; }
.section-title .accent { color: #a855f7; }
.section-intro { color: var(--text-2); font-size: 1.02rem; line-height: 1.72; margin-bottom: 36px; max-width: 920px; }

/* Pôles */
.poles-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .poles-grid { grid-template-columns: repeat(2, 1fr); } }

.pole-card {
  --c-rgb: 255,255,255;
  display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(var(--c-rgb), .42);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pole-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), .85); box-shadow: 0 20px 40px -15px rgba(var(--c-rgb), .22); }
.pole-card.pole-son { --c: var(--son); --c-rgb: var(--son-rgb); }
.pole-card.pole-lumiere { --c: var(--lumiere); --c-rgb: var(--lumiere-rgb); }
.pole-card.pole-video { --c: var(--video); --c-rgb: var(--video-rgb); }
.pole-card.pole-structure { --c: var(--structure); --c-rgb: var(--structure-rgb); }

.pole-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.pole-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pole-card:hover .pole-thumb img { transform: scale(1.04); }
.pole-badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(11,11,15,.86); backdrop-filter: blur(8px);
  color: var(--c); border: 1px solid rgba(var(--c-rgb), .45);
}
.pole-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: 16px; }
.pole-headline { font-size: 1.12rem; font-weight: 700; color: #fff; line-height: 1.38; margin-bottom: 10px; }
.pole-desc { font-size: .93rem; color: var(--text-2); line-height: 1.65; }
.pole-footer { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 10px; }
.pole-tags { font-size: .8rem; color: var(--text-3); font-weight: 500; }
.pole-link-cta { font-size: .88rem; font-weight: 700; color: var(--c); display: inline-flex; gap: 6px; transition: transform .2s ease; }
.pole-card:hover .pole-link-cta { transform: translateX(4px); }

/* Équipe */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.team-role-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-light); }
.team-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.team-card p { font-size: .9rem; color: var(--text-3); line-height: 1.6; }

/* Méthode */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { position: relative; padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 1.6rem; font-weight: 800; color: rgba(192,132,252,.55); margin-bottom: 10px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-card p { font-size: .9rem; color: var(--text-3); line-height: 1.6; }

/* Réalisations */
.media-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.media-thumb-box { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); display: block; }
.media-thumb-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card:hover .media-thumb-box img { transform: scale(1.03); }
.yt-play-svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 46px; pointer-events: none; }
.media-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: 12px; }
.media-card-title { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.media-card-desc { font-size: .88rem; color: var(--text-3); line-height: 1.6; }
.media-card-link { font-size: .85rem; font-weight: 600; color: var(--brand-light); display: inline-flex; gap: 6px; }
.media-card-link:hover { color: #e9d5ff; }

/* Contact */
.contact-section { padding: 80px 0 92px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 36px; } }
.contact-left { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.contact-intro { font-size: .96rem; color: var(--text-2); line-height: 1.65; }
.contact-cards-stack { display: flex; flex-direction: column; gap: 12px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; display: flex; align-items: center; gap: 14px; transition: border-color .2s ease; }
a.info-card:hover { border-color: rgba(168,85,247,.5); }
.info-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(147,51,234,.15); border: 1px solid rgba(168,85,247,.3); color: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; }
.info-value { font-size: .98rem; font-weight: 700; color: #fff; }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social-btn {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; font-weight: 600; color: #E5E7EB;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.social-btn svg { width: 17px; height: 17px; color: var(--brand-light); flex-shrink: 0; }
.social-btn:hover { background: rgba(147,51,234,.16); border-color: rgba(168,85,247,.55); color: #fff; }
.social-btn:hover svg { color: #fff; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.form-card-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) { .form-grid.two-cols { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--text-2); }
.form-control {
  width: 100%; background: var(--bg); border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  padding: 11px 14px; color: #fff; font-family: inherit; font-size: .92rem; outline: none; transition: border-color .2s ease;
}
.form-control:focus { border-color: var(--brand); }
.form-control::placeholder { color: #6B7280; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9CA3AF 50%), linear-gradient(135deg, #9CA3AF 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input[type="date"].form-control { color-scheme: dark; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--text-3); margin-top: 14px; line-height: 1.5; }
.form-consent input { margin-top: 3px; accent-color: var(--brand); }
.form-consent a { color: var(--brand-light); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 16px; padding: 13px 20px; font-size: .98rem; }
.form-submit[disabled] { opacity: .6; cursor: wait; }
.form-feedback { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; }
.form-feedback.is-ok { display: block; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.45); color: #d1fae5; }
.form-feedback.is-error { display: block; background: rgba(244,63,94,.12); border: 1px solid rgba(244,63,94,.45); color: #ffe4e6; }

/* ---------- Pages pôles ---------- */
.pole-hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.pole-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(var(--accent-rgb), .12), transparent 55%),
              radial-gradient(circle at 85% 30%, rgba(147,51,234,.10), transparent 50%);
}
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-3); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }
.pole-eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 9999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .32);
}
.pole-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 9999px; background: var(--accent); }
.pole-title { position: relative; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; line-height: 1.2; max-width: 940px; letter-spacing: -.01em; }
.pole-title .accent { color: var(--accent); }
.pole-subtitle { position: relative; margin-top: 18px; font-size: 1.075rem; color: var(--text-2); max-width: 840px; line-height: 1.7; }

.carousel-section { padding-bottom: 56px; }
.carousel {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface); aspect-ratio: 16/9; touch-action: pan-y;
}
@media (min-width: 768px) { .carousel { aspect-ratio: 21/9; } }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px 24px;
  background: linear-gradient(to top, rgba(11,11,15,.94) 0%, rgba(11,11,15,.58) 60%, transparent 100%);
}
.carousel-caption-tag { font-size: .825rem; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.carousel-caption-title { color: #fff; font-weight: 600; font-size: 1.05rem; max-width: 80%; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(11,11,15,.78); border: 1px solid rgba(255,255,255,.12); color: #fff;
  width: 42px; height: 42px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.carousel-btn.prev { left: 16px; } .carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; bottom: 22px; right: 24px; display: flex; gap: 8px; z-index: 3; }
.carousel-dot { width: 8px; height: 8px; border-radius: 9999px; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: all .2s ease; }
.carousel-dot.active { width: 22px; background: var(--accent); }

.domains-banner { margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.domains-label {
  display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .28);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.domains-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.domains-list li { font-size: .9rem; color: #E5E7EB; padding: 6px 12px; border-radius: 9999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); }

.features-section { padding: 40px 0 88px; display: flex; flex-direction: column; gap: 96px; }
.feature-row { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 768px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); gap: 56px; }
  .feature-row.reverse .feature-media { order: 2; }
}
.feature-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--surface); box-shadow: 0 24px 48px -18px rgba(0,0,0,.75); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-media:hover img { transform: scale(1.03); }
.feature-content { display: flex; flex-direction: column; gap: 14px; }
.feature-kicker { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
.feature-title { font-size: clamp(1.35rem, 2.15vw, 1.7rem); font-weight: 700; color: #fff; line-height: 1.28; }
.feature-text { color: var(--text-2); font-size: 1rem; line-height: 1.72; }
.feature-text strong { color: #fff; font-weight: 600; }
.feature-points { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.feature-points li { position: relative; padding-left: 22px; font-size: .93rem; color: var(--text-2); }
.feature-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--accent); border-radius: 2px; }

.other-poles { padding: 0 0 72px; }
.other-poles-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .other-poles-grid { grid-template-columns: repeat(3, 1fr); } }
.other-pole {
  --c-rgb: 255,255,255;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid rgba(var(--c-rgb), .3);
  font-weight: 600; color: #fff; transition: border-color .2s ease, transform .2s ease;
}
.other-pole:hover { border-color: rgba(var(--c-rgb), .8); transform: translateY(-2px); }
.other-pole span:last-child { color: var(--c); }
.other-pole.pole-son { --c: var(--son); --c-rgb: var(--son-rgb); }
.other-pole.pole-lumiere { --c: var(--lumiere); --c-rgb: var(--lumiere-rgb); }
.other-pole.pole-video { --c: var(--video); --c-rgb: var(--video-rgb); }
.other-pole.pole-structure { --c: var(--structure); --c-rgb: var(--structure-rgb); }

.cta-section { padding: 0 0 88px; }
.cta-box {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 40px 28px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between;
}
.cta-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb), .14), transparent 60%); }
@media (min-width: 768px) { .cta-box { flex-direction: row; align-items: center; padding: 44px 48px; } }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.cta-box p { color: var(--text-2); font-size: .975rem; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pages texte (mentions, 404) ---------- */
.legal { padding: 56px 0 88px; max-width: 860px; }
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: .96rem; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--brand-light); text-decoration: underline; }
.not-found { padding: 120px 0; text-align: center; }
.not-found .code { font-size: 5rem; font-weight: 800; color: rgba(192,132,252,.5); line-height: 1; }
.not-found h1 { font-size: 1.6rem; color: #fff; margin: 16px 0 10px; }
.not-found p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .88rem; color: var(--text-3); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 380px; line-height: 1.65; margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--text-4); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Bouton appel mobile ---------- */
.mobile-call {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 54px; height: 54px; border-radius: 9999px; background: var(--brand); color: #fff;
  align-items: center; justify-content: center; box-shadow: 0 12px 28px -6px rgba(147,51,234,.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 1080px) {
  .desktop-nav, .header-actions .btn-primary { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .mobile-call { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 74px; }
  .brand-group { gap: 8px; }
  .brand-logo-svg { height: 38px; }
  .brand-kicker { font-size: 9px; letter-spacing: .04em; }
  .brand-sublinks { font-size: 9px; margin-top: 2px; gap: 3px; }
  .carousel-dots { display: none; }
  .carousel-caption-title { max-width: 100%; font-size: .95rem; }
  .carousel-btn { width: 36px; height: 36px; }
  .hero-banner { padding: 56px 0 64px; }
  .section-block { padding: 60px 0; }
  .features-section { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pictogrammes de la charte (stroke 2px) */
.pole-eyebrow.has-icon::before { display: none; }
.pole-eyebrow svg, .other-pole svg, .pole-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.pole-badge { display: inline-flex; align-items: center; gap: 8px; }
.other-pole .op-label { display: inline-flex; align-items: center; gap: 10px; }
.other-pole .op-label svg { color: var(--c); }
.poles-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 3px; }
.poles-bar span:nth-child(1) { background: var(--son); } .poles-bar span:nth-child(2) { background: var(--lumiere); }
.poles-bar span:nth-child(3) { background: var(--video); } .poles-bar span:nth-child(4) { background: var(--structure); }
