/* ====================================================================
   Numspot Summit 2026 · JOUR ZÉRO — surcouche charte Numspot
   Chargée APRÈS style.css : on garde la structure et les animations
   du template, on adapte couleurs (#E61938 / #04131D / blanc)
   et typos (Chakra Petch titres · Rethink Sans textes).
==================================================================== */

:root {
  --ns-red:        #E61938;
  --ns-red-dim:    #C2142F;
  --ns-navy:       #04131D;
  --ns-navy-2:     #0A1E2B;
  --ns-navy-3:     #102836;
  --ns-line:       rgba(255,255,255,.12);
  --ns-line-soft:  rgba(255,255,255,.07);

  --primary:          var(--ns-red);
  --primary-dim:      var(--ns-red-dim);
  --primary-light:    rgba(230,25,56,.14);
  --secondary:        var(--ns-red);
  --gradient:         linear-gradient(135deg, #E61938, #C2142F);

  --bg:               var(--ns-navy);
  --surface:          var(--ns-navy-2);
  --surface-high:     var(--ns-navy-3);
  --on-surface:       #FFFFFF;
  --on-surface-muted: rgba(255,255,255,.68);
  --outline:          var(--ns-line);
  --outline-soft:     var(--ns-line-soft);

  --shadow-soft: 0 2px 12px rgba(0,0,0,.3);
  --shadow-md:   0 8px 32px rgba(0,0,0,.35);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.5);

  /* Numspot : angles plus francs */
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 10px; --r-2xl: 12px; --r-3xl: 16px;

  --font-headline: 'Chakra Petch', sans-serif;
  --font-body:     'Rethink Sans', sans-serif;
}

body { background: var(--ns-navy); color: #fff; }
a { color: var(--ns-red); }

/* Titres en Chakra Petch */
h1, h2, h3, h4,
.event-intro__title, .section-heading h2, .venue__title, .reg-card__title,
.registered-card__title, .timeline__time, .countdown__cell span,
.speaker-card__name, .lpcs__heading, .label, .event-intro__kicker,
.btn-primary, .reg-tab, .ns-cta {
  font-family: var(--font-headline);
}

/* ── NAV ── */
.nav__link { color: rgba(255,255,255,.75); font-weight: 500; letter-spacing: .02em; }
.nav__link:hover, .nav__link--active { color: #fff; }
.nav.is-scrolled,
.nav--always-on {
  background: rgba(4,19,29,.92) !important;
  box-shadow: 0 1px 0 var(--ns-line) !important;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav__logo        { height: 2rem; }
.nav__logo-client { height: 1.55rem; }
.nav__burger { border-color: rgba(255,255,255,.3); color: #fff; }
.nav__drawer-panel { background: var(--ns-navy); border-left-color: var(--ns-line); }
.nav__drawer-link:hover { background: var(--ns-navy-3); }
.nav__user { background: rgba(255,255,255,.08); }
.nav__user-logout { color: rgba(255,255,255,.5); }

/* ── HERO ── */
.page-hero-bg { height: 78vh; }
.page-hero-bg__overlay {
  background: linear-gradient(
    to bottom,
    rgba(4,19,29,.35) 0%,
    rgba(4,19,29,.75) 55%,
    rgba(4,19,29,1)   100%
  );
}

/* ── INTRO ── */
.event-intro__kicker {
  display: inline-block;
  padding: .4rem .85rem;
  border: 1px solid var(--ns-red);
  border-radius: var(--r-sm);
  color: var(--ns-red);
  background: rgba(4,19,29,.55);
  font-weight: 600; letter-spacing: .14em;
}
.event-intro__title {
  font-weight: 700; color: #fff; line-height: 1.12;
  letter-spacing: -.005em;
}
.event-intro__title em { font-style: normal; color: var(--ns-red); }
.intro-event-pill {
  color: #fff; font-size: .86rem;
  padding: .35rem .75rem; border: 1px solid var(--ns-line);
  border-radius: var(--r-sm); background: rgba(255,255,255,.04);
}
#introBody p { color: rgba(255,255,255,.78); }
#introBody p:first-child {
  color: #fff; font-weight: 600; font-size: 1.02rem; line-height: 1.65;
}

.ns-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.ns-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.ns-cta .material-symbols-outlined { font-size: 1.05rem; }
.ns-cta--solid { background: var(--ns-red); color: #fff; box-shadow: 0 6px 22px rgba(230,25,56,.28); }
.ns-cta--solid:hover { background: var(--ns-red-dim); transform: translateY(-1px); }
.ns-cta--ghost { border: 1px solid var(--ns-red); color: #fff; }
.ns-cta--ghost:hover { background: rgba(230,25,56,.14); transform: translateY(-1px); }

/* ── GLASS / CARDS ── */
.glass {
  background: rgba(10,30,43,.82);
  border: 1px solid var(--ns-line);
  box-shadow: var(--shadow-md);
}

/* ── FORM ── */
.page-layout__form { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.reg-card { border-top: 3px solid var(--ns-red); }
.reg-tabs { background: var(--ns-navy); }
.reg-tab--active { background: var(--ns-navy-3); color: #fff; }
.reg-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; }
.ns-session {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem; color: #fff; margin-bottom: 1.25rem;
}
.ns-session::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ns-red); box-shadow: 0 0 0 4px rgba(230,25,56,.2); flex-shrink: 0;
}
.form-label, .form-custom__label { color: rgba(255,255,255,.75); }
.form-input {
  background: #fff; color: var(--ns-navy);
  border: 1.5px solid transparent;
}
.form-input:focus { border-color: var(--ns-red); box-shadow: 0 0 0 3px rgba(230,25,56,.25); }
.form-input::placeholder { color: #5b6872; }
select.form-input { cursor: pointer; }
select.form-input:invalid, select.form-input option[value=""] { color: #5b6872; }
.form-custom { margin-top: .1rem; }
.form-gdpr { color: rgba(255,255,255,.72); }
.form-gdpr input[type="checkbox"] { accent-color: var(--ns-red); width: 16px; height: 16px; }
.form-gdpr a { color: #fff; text-decoration: underline; }
.req { color: var(--ns-red); }

.form-status--ok   { background: rgba(16,185,129,.16); color: #6ee7b7; }
.form-status--err  { background: rgba(230,25,56,.16);  color: #ff8a9c; }
.form-status--info { background: rgba(255,255,255,.08); color: #fff; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--ns-red); border-radius: var(--r-sm);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 6px 22px rgba(230,25,56,.25);
}
.btn-primary:hover { background: var(--ns-red-dim); opacity: 1; box-shadow: 0 10px 30px rgba(230,25,56,.35); }

/* ── REGISTERED ── */
.registered-card__icon { background: var(--ns-red); }
.countdown__cell { background: var(--ns-navy); }

/* ── SECTIONS ── */
.section { border-top-color: var(--ns-line-soft); }
.label { color: var(--ns-red); font-weight: 600; }
.section-heading h2 { font-weight: 700; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }

/* Timeline */
.timeline__dot { background: var(--ns-red); box-shadow: 0 0 0 4px rgba(230,25,56,.18); }
.timeline__item:not(:last-child)::after { background: var(--ns-line); }
.timeline__card { background: var(--ns-navy-2); border-color: var(--ns-line); }
.timeline__time { color: var(--ns-red); font-size: .9rem; }
.timeline__title { color: #fff; }

/* Speakers — halo rouge façon Numspot */
.speakers-section__intro { display: none; }
.ns-speakers-intro { font-size: .92rem; color: rgba(255,255,255,.75); margin-top: .5rem; }
.speakers-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.speaker-card {
  background: var(--ns-navy-2); border: 1px solid rgba(230,25,56,.35);
  box-shadow: 0 0 22px rgba(230,25,56,.18);
}
.speaker-card:hover { box-shadow: 0 0 34px rgba(230,25,56,.45); border-color: var(--ns-red); }
.speaker-card__photo img { filter: grayscale(.15); object-position: center top; }
.speaker-card__name { font-size: 1rem; color: #fff; }
.speaker-card__role { color: rgba(255,255,255,.72); }
.speaker-card__company { color: var(--ns-red); }

/* Venue */
.venue__title { color: #fff; font-weight: 700; }
.venue__block-label { color: var(--ns-red); }
.venue__block-name, .venue__block-addr, .venue__access-title { color: #fff; }
.venue__access-item .material-symbols-outlined { color: var(--ns-red); }
.venue__map iframe { filter: grayscale(.4) contrast(1.05); }

/* ── SECTIONS PERSONNALISÉES ── */
.lpcs__body { width: 100%; align-self: stretch; }
/* Présentiel : pas d'onglet Connexion → la barre d'onglets est inutile */
.reg-tabs { display: none; }
.lpcs__video { border-radius: var(--r-lg); border: 1px solid var(--ns-line); box-shadow: var(--shadow-lg); }
.lpcs__cta-wrap { margin-top: .75rem; }
.lpcs__cta { width: auto; padding: .8rem 1.5rem; }
.lpcs__html { overflow: visible; }
#teaser .section-heading h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

/* Scénario : 3 actes en cartes rouges */
.ns-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 100%; }
.ns-act {
  background: var(--ns-red); color: #fff;
  border-radius: var(--r-md); padding: 1.4rem 1.25rem 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ns-act::after {
  content: ''; position: absolute; right: -30px; bottom: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
}
.ns-act:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(230,25,56,.35); }
.ns-act__icon { font-size: 1.5rem; margin-bottom: .9rem; display: block; }
.ns-act__num { font-family: var(--font-headline); font-size: 1.6rem; font-weight: 700; line-height: 1; margin-bottom: .9rem; }
.ns-act__title { font-family: var(--font-headline); font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.ns-act__text { font-size: .84rem; line-height: 1.55; color: rgba(255,255,255,.92); }

/* FAQ */
.ns-faq { width: 100%; border-top: 1px solid var(--ns-line); }
.ns-faq__item { border-bottom: 1px solid var(--ns-line); }
.ns-faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-family: var(--font-headline); font-weight: 600; font-size: 1rem; color: #fff;
}
.ns-faq__item summary::-webkit-details-marker { display: none; }
.ns-faq__item summary::after {
  content: 'expand_more'; font-family: 'Material Symbols Outlined';
  font-size: 1.4rem; color: var(--ns-red); transition: transform .25s;
}
.ns-faq__item[open] summary::after { transform: rotate(180deg); }
.ns-faq__item p { padding: 0 0 1.15rem; font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.ns-faq__item p strong { color: #fff; }

/* ── FOOTER ── */
.footer { background: #020c13; border-top: 1px solid var(--ns-line); }
.footer__logo { height: 1.5rem; }
.footer__link { color: rgba(255,255,255,.6); }
.footer__link:hover { color: #fff; }
.footer__copy { color: rgba(255,255,255,.5); }

/* ── COOKIE / TOAST ── */
.cookie-banner { background: var(--ns-navy-2); border-color: var(--ns-line); }
.cookie-banner__btn { color: rgba(255,255,255,.75); border-color: var(--ns-line); }
.cookie-banner__btn--decline:hover { background: var(--ns-navy-3); }
.cookie-banner__btn--accept { background: var(--ns-red); }
.toast { background: var(--ns-navy-2); color: #fff; border-color: var(--ns-line); }
.toast--ok   { background: #06281f; border-color: #0f5f46; color: #6ee7b7; }
.toast--err  { background: #2a0a12; border-color: #7a1426; color: #ff8a9c; }
.toast--info { background: var(--ns-navy-3); border-color: var(--ns-line); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .ns-acts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .event-intro__title { font-size: 1.75rem; }
  .ns-cta { flex: 1 1 100%; justify-content: center; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
}
