/* ==========================================================================
   Ara Business : Experience creative, cinetique & WebGL2
   ========================================================================== */

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

html {
  font-size: clamp(15px, 0.22vw + 14.5px, 17px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0b0a0c;
  color: #f6f2eb;
}

body {
  margin: 0;
  font-family: var(--face-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  background-color: #0b0a0c;
  color: #f6f2eb;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: var(--nav-h);
}

/* Gate progressif avec securite 3 s */
@keyframes sq-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

.sq-js [data-reveal]:not([data-ready]) {
  opacity: 0;
  transform: translateY(34px);
  animation: sq-fallback 0.01s linear 3s forwards;
}

.sq-js [data-reveal][data-ready] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-top: 0.06em;
  padding-bottom: 0.16em;
  margin-top: -0.06em;
  margin-bottom: -0.16em;
}

.line-inner {
  display: block;
}

.sq-js .line-inner:not([data-ready]) {
  transform: translateY(115%);
  animation: sq-fallback 0.01s linear 3s forwards;
}

.sq-js .line-inner[data-ready] {
  transform: translateY(0);
  transition: transform 1s var(--ease-expo);
}

/* ==========================================================================
   Curseur magnetique contextuel (desktop uniquement)
   ========================================================================== */

.cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--coral-bright);
  background: transparent;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), background-color 0.25s var(--ease-expo), opacity 0.25s linear, border-color 0.25s var(--ease-expo);
}

.cursor-orb.is-visible {
  opacity: 1;
}

.cursor-orb.is-labeled {
  width: 92px;
  height: 92px;
  background-color: var(--coral);
  border-color: var(--coral);
}

.cursor-label {
  font-family: var(--face-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.cursor-orb.is-labeled .cursor-label {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor-orb {
    display: none;
  }
}

/* ==========================================================================
   Preloader Wordmark Split (ARA geant qui se fend horizontalement)
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 350;
  pointer-events: all;
  overflow: hidden;
}

.preloader.is-done {
  pointer-events: none;
  visibility: hidden;
}

.preloader-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background-color: #0b0a0c;
  overflow: hidden;
  transition: transform 0.85s var(--ease-cut);
}

.preloader-half.top {
  top: 0;
  border-bottom: 1px solid rgba(246, 242, 235, 0.14);
}

.preloader-half.bottom {
  bottom: 0;
}

.preloader.is-splitting .preloader-half.top {
  transform: translateY(-102%);
}

.preloader.is-splitting .preloader-half.bottom {
  transform: translateY(102%);
}

.preloader-word {
  position: absolute;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 19vw, 18rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(246, 242, 235, 0.14);
}

.preloader-half.top .preloader-word {
  top: 0;
}

.preloader-half.bottom .preloader-word {
  bottom: 0;
}

.preloader-word-fill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 32px);
}

.preloader-word-fill::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--coral);
  clip-path: inset(calc(100% - var(--load, 0%)) 0 0 0);
}

.preloader-logo-badge {
  position: fixed;
  top: 28px;
  left: var(--gutter);
  z-index: 351;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.3s linear;
}

.preloader-logo-badge img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.preloader-pct {
  position: fixed;
  bottom: 28px;
  right: var(--gutter);
  z-index: 351;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--coral-bright);
  transition: opacity 0.3s linear;
}

.preloader.is-splitting .preloader-logo-badge,
.preloader.is-splitting .preloader-pct,
.preloader.is-done .preloader-logo-badge,
.preloader.is-done .preloader-pct {
  opacity: 0;
}

/* ==========================================================================
   Navigation flottante reactive a la scene
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 160;
  height: var(--nav-h);
  color: #f6f2eb;
  transition: color 0.3s var(--ease-expo), background-color 0.3s var(--ease-expo), border-color 0.3s var(--ease-expo);
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background-color: rgba(11, 10, 12, 0.88);
  border-bottom-color: rgba(246, 242, 235, 0.12);
}

.site-nav.on-chalk {
  color: #121014;
  background-color: rgba(246, 242, 235, 0.92);
  border-bottom-color: rgba(18, 16, 20, 0.12);
}

.site-nav.on-coral {
  color: #ffffff;
  background-color: rgba(232, 79, 99, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.site-nav.on-coral .mag-btn {
  background-color: #0b0a0c;
  border-color: #0b0a0c;
  color: #ffffff;
}

.site-nav.on-coral .mag-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #0b0a0c;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-lockup img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  opacity: 0.82;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.2s linear;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-expo);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-app-link {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.82;
  white-space: nowrap;
}

.nav-app-link:hover {
  opacity: 1;
}

.mag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  border-radius: 2px;
  border: 1px solid var(--coral);
  background-color: var(--coral);
  color: #ffffff;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
  transition: background-color 0.25s var(--ease-expo), color 0.25s var(--ease-expo), border-color 0.25s var(--ease-expo);
}

.mag-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #0b0a0c;
}

.mag-btn.is-outline {
  background-color: transparent;
  border-color: currentColor;
  color: inherit;
}

.mag-btn.is-outline:hover {
  background-color: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
}

.mag-btn.is-dark {
  background-color: #121014;
  border-color: #121014;
  color: #f6f2eb;
}

.mag-btn.is-dark:hover {
  background-color: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
}

.nav-menu-btn {
  display: none;
  height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: 2px;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Rideau mobile / menu */
.menu-curtain {
  position: fixed;
  inset: 0;
  z-index: 250;
  background-color: #0b0a0c;
  color: #f6f2eb;
  border-bottom: 4px solid var(--coral);
  transform: translateY(-102%);
  transition: transform 0.72s var(--ease-cut);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px var(--gutter) 34px;
}

.menu-curtain.is-open {
  transform: translateY(0%);
}

.curtain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(246, 242, 235, 0.14);
  padding-bottom: 18px;
}

.curtain-nav {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

.curtain-nav a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(246, 242, 235, 0.12);
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 7vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  transition: padding-left 0.3s var(--ease-expo), color 0.25s linear;
}

.curtain-nav a:hover {
  padding-left: 16px;
  color: var(--coral);
}

/* ==========================================================================
   Scene 1 : Hero WebGL2 plein ecran (100svh)
   ========================================================================== */

.hero-webgl {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #0b0a0c;
}

.webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(40px, 8vh, 92px);
  padding-bottom: clamp(26px, 4vh, 46px);
}

.hero-headline {
  margin: 0;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(3.15rem, 10.2vw, 9.6rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  word-spacing: 0.06em;
  color: #f6f2eb;
  max-width: 11ch;
}

.hero-headline .accent-word {
  color: var(--coral-bright);
}

.hero-footer {
  margin-top: clamp(36px, 6vh, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(246, 242, 235, 0.22);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: end;
  gap: 24px;
}

.hero-pitch {
  margin: 0;
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.48;
  color: #f6f2eb;
  max-width: 44ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-hint {
  font-family: var(--face-display);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(246, 242, 235, 0.72);
  white-space: nowrap;
}

/* Compte a rebours architectural de lancement (1er mars 2027) */
.launch-strip {
  margin-top: clamp(22px, 3.6vh, 38px);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 14px 20px;
  background-color: rgba(11, 10, 12, 0.72);
  border: 1px solid rgba(246, 242, 235, 0.2);
  border-left: 3px solid var(--coral);
}

.launch-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.launch-kicker {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--coral-bright);
}

.launch-sub {
  font-size: 0.84rem;
  color: rgba(246, 242, 235, 0.76);
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 44px;
}

.cd-num {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f6f2eb;
}

.cd-lbl {
  font-size: 0.72rem;
  color: rgba(246, 242, 235, 0.62);
  margin-top: 3px;
}

.cd-sep {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--coral);
  transform: translateY(-6px);
}

/* Section apercu Blog sur la home & pages Blog */
.blog-scene {
  padding: clamp(80px, 10vw, 136px) 0;
  border-bottom: 1px solid var(--line);
}

.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.blog-list {
  border-top: 1px solid var(--chalk-line-strong);
}

.blog-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 14px 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--chalk-line);
  transition: padding-left 0.35s var(--ease-expo), border-color 0.25s var(--ease-expo);
}

.blog-row:hover {
  padding-left: 14px;
  border-bottom-color: var(--coral);
}

.blog-row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--chalk-muted);
}

.blog-row-cat {
  font-family: var(--face-display);
  font-weight: 700;
  color: var(--coral);
}

.blog-row-title {
  margin: 0 0 6px;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--chalk-ink);
}

.blog-row-excerpt {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--chalk-muted);
  max-width: 60ch;
}

.blog-row-read {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--chalk-ink);
  white-space: nowrap;
  border-bottom: 1px solid var(--chalk-line-strong);
  padding-bottom: 2px;
}

.blog-row:hover .blog-row-read {
  color: var(--coral);
  border-color: var(--coral);
}

/* Pages Blog dediees (/blog/ et articles) */
.blog-hero {
  padding: calc(var(--nav-h) + clamp(52px, 8vh, 96px)) 0 clamp(44px, 6vw, 72px);
  background-color: #0b0a0c;
  color: #f6f2eb;
  border-bottom: 1px solid rgba(246, 242, 235, 0.14);
}

.blog-hero h1 {
  margin: 0 0 18px;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.blog-hero p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.58;
  color: #b5aebc;
  max-width: 56ch;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.blog-filter-btn {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--chalk-line-strong);
  border-radius: 2px;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--chalk-ink);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-expo), color 0.25s var(--ease-expo), border-color 0.25s var(--ease-expo);
}

.blog-filter-btn.is-active,
.blog-filter-btn:hover {
  background-color: #121014;
  border-color: #121014;
  color: #f6f2eb;
}

.article-shell {
  padding: clamp(52px, 7vw, 96px) 0;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--chalk-ink);
}

.article-body h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-body ul {
  margin: 0 0 1.4em;
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: 0.55em;
}

.article-quote {
  margin: 2em 0;
  padding: 20px 24px;
  background-color: var(--chalk-2);
  border-left: 3px solid var(--coral);
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.4;
}

.article-cta-box {
  margin-top: 3em;
  padding: 28px;
  background-color: #121014;
  color: #f6f2eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta-box strong {
  display: block;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.article-cta-box span {
  font-size: 0.94rem;
  color: #b5aebc;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--coral-bright);
  margin-bottom: 22px;
}

.quick-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.final-countdown {
  margin-bottom: 26px;
  padding: 18px 20px;
  background-color: #141217;
  border: 1px solid rgba(246, 242, 235, 0.16);
  border-left: 3px solid var(--coral);
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.quick-error {
  display: none;
  padding: 12px 14px;
  background-color: rgba(232, 79, 99, 0.16);
  border-left: 3px solid var(--coral);
  color: #ffd5da;
  font-size: 0.9rem;
}

.quick-error.is-visible {
  display: block;
}

/* ==========================================================================
   Scene 2 : Constellation interactive « Tout se repond. » (Craie chaude)
   ========================================================================== */

.nexus-scene {
  padding: clamp(84px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--line);
}

.nexus-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.display-h2 {
  margin: 0;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.9vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.lead-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.56;
  color: var(--ink-muted);
  max-width: 46ch;
}

.nexus-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 44px);
  background-color: var(--chalk-2);
  border: 1px solid var(--chalk-line-strong);
  overflow: hidden;
}

.nexus-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nexus-path {
  fill: none;
  stroke: rgba(18, 16, 20, 0.14);
  stroke-width: 1.25;
  transition: stroke 0.35s var(--ease-expo), stroke-width 0.35s var(--ease-expo);
}

.nexus-path.is-lit {
  stroke: var(--coral);
  stroke-width: 2;
}

.nexus-path-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-dasharray: 28 320;
  stroke-dashoffset: 348;
  opacity: 0;
}

.nexus-path-pulse.is-lit {
  opacity: 1;
  animation: nexus-flow 1.8s linear infinite;
}

@keyframes nexus-flow {
  to {
    stroke-dashoffset: 0;
  }
}

.nexus-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nexus-node {
  text-align: left;
  width: 100%;
  padding: 20px 22px;
  background-color: var(--chalk);
  border: 1px solid var(--chalk-line-strong);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.25s var(--ease-expo), background-color 0.25s var(--ease-expo), transform 0.35s var(--ease-expo);
}

.nexus-node:hover {
  border-color: var(--chalk-ink);
}

.nexus-node.is-active {
  background-color: #121014;
  border-color: #121014;
  color: #f6f2eb;
  transform: translateX(4px);
}

.nexus-col.right .nexus-node.is-active {
  transform: translateX(-4px);
}

.nexus-node.is-linked {
  border-color: var(--coral);
}

.nexus-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nexus-node strong {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nexus-node-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--chalk-muted);
}

.nexus-node.is-active .nexus-node-tag {
  color: var(--coral-bright);
}

.nexus-node.is-linked .nexus-node-tag {
  color: var(--coral);
}

.nexus-node span.nexus-sub {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--chalk-muted);
}

.nexus-node.is-active span.nexus-sub {
  color: rgba(246, 242, 235, 0.76);
}

/* Coeur central Ara */
.nexus-core {
  position: relative;
  z-index: 2;
  width: 184px;
  height: 184px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.nexus-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(18, 16, 20, 0.16);
}

.nexus-ring-spin {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--coral);
  border-right-color: rgba(232, 79, 99, 0.35);
  animation: core-spin 11s linear infinite;
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

.nexus-core-disc {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background-color: var(--chalk);
  border: 1px solid var(--chalk-line-strong);
  display: grid;
  place-items: center;
}

.nexus-core-disc img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.nexus-readout {
  margin-top: 20px;
  padding: 20px 24px;
  background-color: #121014;
  color: #f6f2eb;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nexus-readout-flow {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--coral-bright);
}

.nexus-readout-text {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(246, 242, 235, 0.88);
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   Scene 3 : Scene Cinema Plein Cadre (vrais ecrans Ara, perspective 3D)
   ========================================================================== */

.showcase-scene {
  position: relative;
  background-color: #0b0a0c;
  color: #f6f2eb;
  padding: clamp(88px, 11vw, 148px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(246, 242, 235, 0.12);
}

.showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.showcase-head-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.showcase-count {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1rem;
  color: #9f98a6;
}

.showcase-count strong {
  color: var(--coral-bright);
}

.showcase-stage-wrap {
  perspective: 1800px;
  max-width: 1060px;
  margin: 0 auto;
}

.showcase-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.8;
  background-color: #141217;
  border: 1px solid rgba(246, 242, 235, 0.22);
  border-top: 2px solid var(--coral);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-expo);
  cursor: pointer;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: scale(1.035);
  z-index: 0;
  transition: opacity 0.55s var(--ease-expo), transform 0.85s var(--ease-expo);
}

.showcase-slide.is-prev {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.showcase-caption-bar {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.showcase-caption-title {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  letter-spacing: -0.025em;
  color: #f6f2eb;
}

.showcase-caption-sub {
  margin: 4px 0 0;
  font-size: 0.96rem;
  color: #9f98a6;
}

.showcase-dock {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.dock-item {
  text-align: left;
  padding: 14px 12px 12px;
  background-color: #141217;
  border: 1px solid rgba(246, 242, 235, 0.12);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease-expo), background-color 0.25s var(--ease-expo);
}

.dock-item:hover {
  border-color: rgba(246, 242, 235, 0.34);
}

.dock-item.is-active {
  background-color: #1c1920;
  border-color: var(--coral);
}

.dock-bar {
  height: 2px;
  width: 100%;
  background-color: rgba(246, 242, 235, 0.14);
  overflow: hidden;
}

.dock-bar-fill {
  height: 100%;
  width: 0%;
  background-color: var(--coral);
}

.dock-item.is-active .dock-bar-fill {
  width: 100%;
  transition: width 5.5s linear;
}

.dock-label {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: #9f98a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-item.is-active .dock-label {
  color: #f6f2eb;
}

/* Lightbox plein ecran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  background-color: rgba(11, 10, 12, 0.96);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--gutter);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-title {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.lightbox-body {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 20px 0;
  min-height: 0;
}

.lightbox-body img {
  max-height: 78vh;
  width: auto;
  border: 1px solid rgba(246, 242, 235, 0.25);
}

/* ==========================================================================
   Scene 4 : Horloge vivante « Une journee dans Ara » (Craie chaude #F6F2EB)
   ========================================================================== */

.day-scene {
  padding: clamp(84px, 11vw, 148px) 0;
  border-bottom: 1px solid var(--line);
}

.day-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  margin-top: clamp(32px, 5vw, 56px);
}

.day-clock-box {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.day-time {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 11vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--chalk-ink);
}

.day-time span {
  color: var(--coral);
}

.day-place {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--chalk-ink);
}

.day-story {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--chalk-muted);
  max-width: 40ch;
}

.day-timeline {
  border-top: 1px solid var(--chalk-line-strong);
}

.day-beat {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--chalk-line);
  padding: 24px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px 24px;
  align-items: baseline;
  transition: padding-left 0.35s var(--ease-expo);
}

.day-beat:hover,
.day-beat.is-active {
  padding-left: 14px;
  border-bottom-color: var(--coral);
}

.day-beat-hour {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--chalk-muted);
}

.day-beat.is-active .day-beat-hour {
  color: var(--coral);
}

.day-beat-title {
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
  color: var(--chalk-ink);
}

.day-beat-desc {
  grid-column: 2;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--chalk-muted);
}

/* ==========================================================================
   Scene 5 : Climax plein ecran Corail Ara (#E84F63)
   ========================================================================== */

.coral-climax {
  padding: clamp(88px, 12vw, 160px) 0;
}

.coral-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.coral-h2 {
  margin: 0;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.coral-lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.mode-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.mode-tab {
  padding: 13px 26px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-expo), color 0.25s var(--ease-expo);
}

.mode-tab.is-active {
  background-color: #0b0a0c;
  color: #ffffff;
}

.coral-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 32px;
}

.coral-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.coral-points li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--face-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.coral-points li span {
  display: block;
  font-family: var(--face-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.84);
  margin-top: 5px;
}

.coral-mcp-box {
  background-color: #0b0a0c;
  color: #f6f2eb;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.coral-mcp-box h3 {
  margin: 0;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.coral-mcp-box p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.58;
  color: #b7b1be;
}

.coral-mcp-line {
  padding-top: 16px;
  border-top: 1px solid rgba(246, 242, 235, 0.16);
  font-size: 0.9rem;
  color: var(--coral-bright);
  font-weight: 500;
}

/* ==========================================================================
   Scene 6 : Final magnetique & contact rapide (Noir volcanique #0B0A0C)
   ========================================================================== */

.final-scene {
  background-color: #0b0a0c;
  color: #f6f2eb;
  padding: clamp(88px, 11vw, 152px) 0 48px;
}

.final-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid rgba(246, 242, 235, 0.14);
}

.final-title {
  margin: 0 0 22px;
  font-family: var(--face-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.final-copy {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.58;
  color: #9f98a6;
  max-width: 42ch;
}

.final-direct {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.final-direct a {
  border-bottom: 1px solid rgba(246, 242, 235, 0.3);
  padding-bottom: 3px;
}

.final-direct a:hover {
  color: var(--coral-bright);
  border-color: var(--coral-bright);
}

.quick-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.q-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q-field label {
  font-size: 0.86rem;
  color: #9f98a6;
}

.q-field input,
.q-field select {
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(246, 242, 235, 0.28);
  border-radius: 0;
  font-size: 1.02rem;
  color: #f6f2eb;
  transition: border-color 0.25s linear;
}

.q-field select option {
  background-color: #141217;
  color: #f6f2eb;
}

.q-field input:focus,
.q-field select:focus {
  outline: none;
  border-bottom-color: var(--coral);
}

.quick-receipt {
  display: none;
  padding: 18px 20px;
  background-color: #141217;
  border-left: 3px solid var(--coral);
  font-size: 0.92rem;
  line-height: 1.6;
}

.quick-receipt.is-visible {
  display: block;
}

.quick-receipt-actions {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #9f98a6;
}

/* ==========================================================================
   Accessibilite mouvement reduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .preloader {
    display: none !important;
  }
  .sq-js [data-reveal]:not([data-ready]),
  .sq-js .line-inner:not([data-ready]) {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero-footer,
  .nexus-top,
  .nexus-stage,
  .day-grid,
  .coral-top,
  .coral-board,
  .final-grid {
    grid-template-columns: 1fr;
  }
  .nexus-lines {
    display: none;
  }
  .nexus-core {
    width: 140px;
    height: 140px;
  }
  .nexus-node.is-active,
  .nexus-col.right .nexus-node.is-active {
    transform: none;
  }
  .showcase-dock {
    grid-template-columns: repeat(3, 1fr);
  }
  .day-clock-box {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-app-link,
  .nav-actions .mag-btn {
    display: none;
  }
  .nav-menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .showcase-dock {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quick-form-row {
    grid-template-columns: 1fr;
  }
  .day-beat {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .day-beat-desc {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .hero-headline {
    font-size: clamp(2.6rem, 12.5vw, 3.8rem);
  }
  .mode-switch {
    display: flex;
    width: 100%;
  }
  .mode-tab {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.86rem;
  }
}
