/* ============================================================
   LaCaze Life — home-page
   Design system : voir docs/landing/02-style.md
   Dark mode pixel-friendly + chaleur Roblox. Mobile-first.
   ============================================================ */

:root {
  --bg:        #0E1116;
  --surface:   #1A1F28;
  --surface-2: #252C38;
  --line:      #ffffff14;
  --accent:    #7CFC4D;   /* vert lime — CTA primaire (sacré) */
  --accent-2:  #36D7FF;   /* cyan électrique */
  --live:      #FF5A5F;   /* rouge corail — live/urgence */
  --warm:      #FFB23E;   /* orange ludique */
  --text:      #F2F4F8;
  --muted:     #9AA4B2;

  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-pixel:   'Press Start 2P', monospace;
  --font-body:    'Nunito', system-ui, sans-serif;

  --wrap: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.accent-cyan { color: var(--accent-2); }

/* ---------- Typo helpers ---------- */
.overline {
  font-family: var(--font-pixel);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.overline--live { color: var(--live); display: inline-flex; align-items: center; gap: 8px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.section-intro { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin-bottom: 40px; }

/* ---------- Pastille live ---------- */
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--live);
  display: inline-block;
  box-shadow: 0 0 0 0 var(--live);
  animation: pulse 1.8s infinite;
}
.dot--green { background: var(--accent); box-shadow: 0 0 0 0 var(--accent); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,90,95,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255,90,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); }
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-body); font-weight: 800;
  border: none; cursor: pointer;
  padding: 13px 22px; border-radius: var(--radius-sm);
  font-size: 1rem; line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent); color: #0B1A05;
  box-shadow: 0 5px 0 #4fbd24, 0 10px 22px rgba(124,252,77,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #4fbd24, 0 14px 30px rgba(124,252,77,.35); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #4fbd24; }
.btn--ghost { background: #ffffff10; color: var(--text); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #ffffff1c; transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 1.08rem; }
.btn--xl { padding: 20px 40px; font-size: 1.25rem; border-radius: 16px; }

/* ============ 0. NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(14,17,22,.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 22px;
}
.logo {
  font-family: var(--font-pixel); font-size: .82rem; line-height: 1.3;
  letter-spacing: .02em;
}
.logo span { color: var(--text); }
.logo em { color: var(--accent); font-style: normal; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 700; }
.nav__links a { color: var(--muted); transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 11px 18px; }

/* ============ 1. TICKER ============ */
.ticker {
  position: relative; display: flex; align-items: center;
  background: #07090d; border-block: 1px solid var(--line);
  overflow: hidden; height: 42px;
}
.ticker__live {
  /* sits ABOVE the transformed track so the scrolling text slides cleanly behind it */
  position: relative; z-index: 2;
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-pixel); font-size: .55rem; letter-spacing: .1em;
  color: var(--live); background: #1a0608;
  padding: 0 16px; height: 100%; border-right: 1px solid var(--line);
  box-shadow: 8px 0 12px -4px #07090d;
}
.ticker__track {
  display: inline-flex; gap: 34px; white-space: nowrap;
  font-family: var(--font-pixel); font-size: .56rem; color: var(--muted);
  animation: scroll-x 38s linear infinite;
  padding-left: 34px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track b { color: var(--accent-2); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 2. HERO ============ */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 12vh, 130px) 0 clamp(60px, 10vh, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 38%;
}
/* scrim keeps the (light, daytime) school readable under light text on the left */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, var(--bg) 4%, rgba(14,17,22,.92) 30%, rgba(14,17,22,.5) 62%, rgba(14,17,22,.18) 100%),
    linear-gradient(to bottom, rgba(14,17,22,.45) 0%, transparent 22%, transparent 52%, var(--bg) 100%);
}
.hero__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  right: -10%; top: -20%;
  background: radial-gradient(circle, rgba(54,215,255,.18), transparent 62%);
  filter: blur(10px);
}
.hero::before {
  content: ""; position: absolute; left: -10%; bottom: -25%; z-index: 0;
  width: 60vw; height: 60vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(124,252,77,.14), transparent 62%);
}
/* same content column as the rest of the page (.wrap) so the hero's left edge
   lines up with the nav + sections instead of hugging the viewport edge */
.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8.5vw, 5.4rem);
  line-height: .98; letter-spacing: -.02em;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero__title .accent { color: var(--accent); }
.hero__sub { font-size: 1.18rem; color: #cfd6e0; max-width: 56ch; margin-bottom: 30px; }
.hero__sub strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__social { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; }
.hero__social .counter { color: var(--accent); font-size: 1.15rem; }

/* avatars flottants */
.floaty { position: absolute; z-index: 1; width: clamp(64px, 9vw, 104px); }
.floaty img {
  width: 100%; border-radius: 18px;
  background: var(--surface-2); border: 2px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.floaty .bubble {
  position: absolute; top: -14px; left: 80%;
  background: var(--text); color: #0b0d12;
  font-size: .72rem; font-weight: 800; padding: 6px 10px; border-radius: 10px 10px 10px 2px;
  white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.floaty--1 { right: 8%;  top: 14%;  animation: bob 6s ease-in-out infinite; }
/* top-right avatar: open its bubble leftward so it never runs off the viewport edge */
.floaty--1 .bubble { left: auto; right: 72%; border-radius: 10px 10px 2px 10px; }
.floaty--2 { right: 24%; top: 46%;  animation: bob 7s ease-in-out infinite .6s; }
.floaty--3 { right: 12%; bottom: 8%; animation: bob 5.5s ease-in-out infinite .3s; }
.floaty--4 { right: 38%; top: 12%;  animation: bob 6.5s ease-in-out infinite .9s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

/* ============ 3. LIVE ============ */
.live { position: relative; overflow: hidden; padding: 84px 0; background:
  radial-gradient(ellipse 80% 50% at 50% 0%, #14181f, var(--bg)); }
.live__bg { position: absolute; inset: 0; z-index: 0; }
.live__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.live__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 26%, transparent 62%, var(--bg) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(14,17,22,.35), rgba(14,17,22,.78));
}
.live .wrap { position: relative; z-index: 1; }
.live__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.live__head .overline { margin-bottom: 0; }
.live__clock {
  font-family: var(--font-pixel); font-size: .7rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 10px;
}
.feed { display: grid; gap: 12px; margin-bottom: 32px; }
.feed-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  animation: slide-in .45s ease both;
}
.feed-item__emoji { font-size: 1.4rem; flex: none; }
.feed-item__meta { font-family: var(--font-pixel); font-size: .5rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 5px; }
.feed-item__text { font-weight: 600; }
.feed-item__text b { color: var(--accent-2); font-weight: 800; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* live board — groupé par lieu (le module "en ce moment") */
.live-place { grid-column: 1 / -1; }
.live-place__head { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; }
.live-place__emoji { font-size: 1.15rem; }
.live-place__name { font-family: var(--font-display); font-size: 1rem; }
.live-place__count { font-family: var(--font-pixel); font-size: .5rem; color: var(--bg); background: var(--accent-2); padding: 4px 7px; border-radius: 6px; }
.live-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.live-card { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; animation: slide-in .45s ease both; }
.live-card__face { width: 42px; height: 42px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.live-card__name { font-weight: 800; font-size: .9rem; }
.live-card__name b { color: var(--accent-2); }
.live-card__act { font-size: .84rem; margin-top: 2px; }
.live-card__emo { font-size: .72rem; color: var(--accent-2); margin-top: 3px; }
.live-more { align-self: center; color: var(--muted); font-size: .82rem; font-weight: 700; padding-left: 4px; }

/* moments counter + public journal strip ("potins") + locked teasers */
.moments { margin: 4px 0 22px; color: var(--muted); font-size: .95rem; }
.moments__num { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent-2); }
.jstrip-title { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 12px; }
.jstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 22px; }
.jcard { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; animation: slide-in .45s ease both; }
.jcard__emoji { font-size: 1.25rem; flex: none; }
.jcard__meta { font-family: var(--font-pixel); font-size: .5rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 5px; }
.jcard__text { font-weight: 600; font-size: .9rem; }
.jcard__text b { color: var(--accent-2); font-weight: 800; }
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; }
.lockcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 16px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1d2530, #141922); border: 1px dashed var(--accent-2); position: relative; overflow: hidden; transition: transform .15s, border-color .15s; }
.lockcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.lockcard__emoji { font-size: 1.5rem; filter: blur(.4px); }
.lockcard__label { font-family: var(--font-display); font-size: .95rem; color: var(--text); filter: blur(3px); user-select: none; }
.lockcard__lock { font-size: .72rem; font-weight: 800; color: var(--accent); }
.live-disclaimer { color: var(--muted); font-size: .72rem; margin: 0 0 26px; opacity: .8; }

.punch-card {
  background: linear-gradient(135deg, #1d2530, #161b23);
  border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 32px; text-align: center;
  box-shadow: 0 0 40px rgba(124,252,77,.1);
}
.punch-card h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 12px; }
.punch-card p { color: #cfd6e0; max-width: 50ch; margin: 0 auto 10px; }
.punch-card strong { color: var(--accent); }
.punch-card__minor { font-size: .95rem; color: var(--muted); }
.punch-card__minor strong { color: var(--accent-2); }
.punch-card .btn { margin-top: 18px; }

/* ============ 4. CONCEPT ============ */
.concept { padding: 84px 0; }
.panels { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 44px; }
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, border-color .2s;
}
.panel:hover { transform: translateY(-4px); border-color: #ffffff2a; }
.panel--feature { border-color: var(--accent-2); box-shadow: 0 0 36px rgba(54,215,255,.1); }
.panel__icon { font-size: 2.4rem; margin-bottom: 14px; }
.panel h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; line-height: 1.15; }
.panel p { color: var(--muted); }
.panel strong { color: var(--text); }

/* ============ 5. STEPS ============ */
.steps { padding: 84px 0; background: radial-gradient(ellipse 70% 60% at 50% 100%, #14181f, var(--bg)); }
.step-list { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 44px; counter-reset: s; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 26px 26px 84px;
}
.step__n {
  position: absolute; left: 22px; top: 24px;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem;
  background: var(--accent); color: #0B1A05;
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); }
.step strong { color: var(--accent); }
.step--maxence { padding-right: 92px; }
.step__face {
  position: absolute; right: 18px; top: 18px;
  width: 60px; height: 60px; border-radius: 14px;
  border: 2px solid var(--accent); background: var(--surface-2);
  box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 4px rgba(124,252,77,.12);
  image-rendering: auto;
}

/* ============ 6. QG ============ */
.qg { padding: 84px 0; }
.features { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 40px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.feature__icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 10px; }
.feature p { color: var(--muted); }
.qg__punch { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 2rem); text-align: center; }

/* ============ 7. AVATAR ============ */
.avatar { padding: 84px 0; background: radial-gradient(ellipse 80% 50% at 50% 0%, #14181f, var(--bg)); }
.avatar__grid { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; margin-bottom: 44px; }

.kazi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.kazi__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kazi__face { width: 64px; height: 64px; border-radius: 14px; background: var(--surface-2); border: 2px solid var(--line); }
.kazi__name { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.kazi__action { color: var(--muted); font-size: .92rem; }
.gauges { list-style: none; display: grid; gap: 10px; }
.gauges li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.bar { height: 10px; background: #0c0f14; border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 6px; transform-origin: left; animation: grow 1s ease both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kazi__rel { margin-top: 16px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.kazi__rel strong { color: var(--text); }

.avatar__text p { margin-bottom: 16px; color: #cfd6e0; }
.avatar__text strong { color: var(--text); }
.places { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.places li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.places strong { color: var(--accent-2); }

/* customizer */
.customizer { background: linear-gradient(135deg, #1d2530, #15191f); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.customizer__title { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 24px; text-align: center; }
.customizer__body { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
.customizer__preview { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.customizer__avatar {
  width: 190px; height: 190px; border-radius: 24px;
  background: var(--surface-2); display: grid; place-items: center;
  border: 3px solid var(--accent-2);
  box-shadow: 0 0 36px -6px var(--accent-2);
  transition: border-color .2s, box-shadow .2s;
}
.customizer__avatar img { width: 84%; border-radius: 16px; }
.chip { font-family: var(--font-pixel); font-size: .55rem; background: var(--surface); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; color: var(--muted); }
.customizer__lead { color: #cfd6e0; margin-bottom: 18px; }
.swatch-group { margin-bottom: 16px; }
.swatch-group label { display: block; font-weight: 800; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw {
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  background: var(--c); border: 3px solid transparent;
  transition: transform .12s, border-color .12s;
}
.sw:hover { transform: scale(1.1); }
.sw.is-on { border-color: #fff; transform: scale(1.1); box-shadow: 0 0 0 3px var(--bg), 0 0 14px var(--c); }
.customizer__note { color: var(--muted); margin: 6px 0 18px; }
.customizer__note strong { color: var(--text); }

/* ============ 8. TRUST ============ */
.trust { padding: 84px 0; }
.trust__grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 28px; }
.trust__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust__item span { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.trust__item h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 6px; }
.trust__item p { color: var(--muted); font-size: .95rem; }
.trust__link { text-align: center; }
.trust__link a { color: var(--accent-2); font-weight: 700; }

/* ============ 9. FINAL ============ */
.final { position: relative; padding: clamp(80px, 14vh, 140px) 0; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, #17202b, var(--bg)); }
.final__bg { position: absolute; inset: 0; z-index: 0; }
.final__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.final__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at 50% 50%, rgba(14,17,22,.42), rgba(14,17,22,.86)),
    linear-gradient(to bottom, var(--bg) 0%, transparent 24%, transparent 70%, var(--bg) 100%);
}
.final__content { position: relative; z-index: 2; }
.final__title { font-family: var(--font-display); font-size: clamp(2rem, 6.5vw, 4rem); line-height: 1; margin-bottom: 18px; }
.final__sub { color: #cfd6e0; max-width: 52ch; margin: 0 auto 32px; font-size: 1.15rem; }
.final__reminder { margin-top: 22px; color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; gap: 9px; }
.final__reminder .counter { color: var(--accent); }

/* ============ 10. FOOTER ============ */
.footer { background: #07090d; border-top: 1px solid var(--line); padding: 50px 0 70px; text-align: center; }
.footer__maxence {
  width: 104px; height: auto; margin: 0 auto 16px;
  image-rendering: auto;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(0,0,0,.5);
  animation: bob 6s ease-in-out infinite;
}
.footer__tag { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.footer__credit { color: var(--muted); margin-bottom: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 22px; font-weight: 700; }
.footer__links a { color: var(--muted); transition: color .15s; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { color: #5c6573; font-size: .82rem; max-width: 60ch; margin-inline: auto; }

/* ============ STICKY CTA MOBILE ============ */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: none; text-align: center;
  background: var(--accent); color: #0B1A05; font-weight: 900;
  padding: 16px; border-radius: 14px;
  box-shadow: 0 6px 0 #4fbd24, 0 12px 30px rgba(0,0,0,.4);
}
.sticky-cta.is-show { display: block; animation: slide-up .3s ease; }
@keyframes slide-up { from { transform: translateY(120%); } to { transform: none; } }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (min-width: 720px) {
  .panels { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .avatar__grid { grid-template-columns: 380px 1fr; }
  .customizer__body { grid-template-columns: 240px 1fr; }
  .feed { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .sticky-cta { /* activé en JS après le hero */ }
  .floaty--2, .floaty--4 { display: none; }
  .hero__sub { font-size: 1.05rem; }
  /* text is full-width on mobile -> darken the whole scrim, anchor school lower */
  .hero__photo { object-position: 64% 30%; }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(14,17,22,.62) 0%, rgba(14,17,22,.78) 45%, var(--bg) 100%);
  }
}

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