/* ============================================================
   100xLAB — design system
   Alatsi (display) · Inter (texte) · Blanc / #121627 / #5370fe
   Structure calquée sur glorise-agency.com
   ============================================================ */

@font-face {
  font-family: 'Alatsi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/alatsi-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alatsi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/alatsi-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}

:root {
  --background: #ffffff;
  --foreground: #121627;
  --card: #ffffff;
  --muted: #f4f5f9;
  --muted-foreground: #5c6480;
  --border: #e3e6ef;
  --primary: #5370fe;
  --primary-dark: #2f45d8;
  --primary-light: #7b90ff;
  --primary-foreground: #ffffff;
  --radius: 0.75rem;

  --display: 'Alatsi', 'Trebuchet MS', system-ui, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container: 1200px;
}

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

/* l'attribut hidden doit primer sur les display: des classes utilitaires */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- fond topographique fixe (équivalent du .webp GloRise) ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(closest-side at 18% 8%, rgba(83, 112, 254, 0.10), transparent),
    radial-gradient(closest-side at 88% 42%, rgba(83, 112, 254, 0.08), transparent),
    radial-gradient(closest-side at 30% 88%, rgba(83, 112, 254, 0.07), transparent),
    linear-gradient(rgba(18, 22, 39, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 39, 0.028) 1px, transparent 1px);
  background-size: 90% 70%, 70% 60%, 80% 60%, 44px 44px, 44px 44px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
}

.page { position: relative; z-index: 10; }

/* ---------- primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

.section { padding: 2.5rem 0; }
@media (min-width: 768px) { .section { padding: 3.5rem 0; } }

.glass-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.glass-card:hover { box-shadow: 0 10px 40px -18px rgba(18, 22, 39, .18); }
.glass-card--hoverable:hover { border-color: rgba(83, 112, 254, .3); }

.text-gradient {
  background-image: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-violet { box-shadow: 0 0 40px -10px rgba(83, 112, 254, .5); }

.muted { color: var(--muted-foreground); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: .7rem 1.5rem;
  font-size: .95rem;
  transition: background .2s ease, transform .2s ease, box-shadow .3s ease;
  text-align: center;
  line-height: 1.25;
}
.btn:hover { background: #4460f0; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn svg { flex-shrink: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 112, 254, .22);
  background: rgba(83, 112, 254, .05);
  font-size: .8rem;
  font-weight: 500;
  color: #3d55d6;
  line-height: 1.35;
}

.eyebrow {
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  color: rgba(83, 112, 254, .85);
}

.icon-tile {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: rgba(83, 112, 254, .1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.section-head h2 { font-size: clamp(1.65rem, 4.5vw, 2.35rem); margin-bottom: .85rem; }
.section-head p { color: var(--muted-foreground); }

.grid-3 { display: grid; gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal--left { transform: translateX(-20px); }
.reveal--right { transform: translateX(20px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 230, 239, .8);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav__logo { height: 1.9rem; width: auto; cursor: pointer; }
@media (min-width: 640px) { .nav__logo { height: 2.25rem; } }
.nav__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__link { font-size: .875rem; color: var(--muted-foreground); transition: color .2s; }
.nav__link:hover { color: var(--foreground); }
.nav__burger { display: flex; color: var(--foreground); padding: .25rem; }
@media (min-width: 900px) { .nav__burger { display: none; } }
.nav__mobile { display: none; padding: 0 1rem 1rem; border-bottom: 1px solid rgba(227,230,239,.8); background: rgba(255,255,255,.97); }
.nav__mobile.is-open { display: block; }
@media (min-width: 900px) { .nav__mobile.is-open { display: none; } }
.nav__mobile button.nav__link { display: block; width: 100%; text-align: left; padding: .6rem 0; }
.nav__mobile .btn { margin-top: .5rem; }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  padding: .75rem 1rem 1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(227, 230, 239, .8);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sticky-cta.is-shown { transform: translateY(0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 6.5rem 0 2rem; overflow: hidden; text-align: center; }
@media (min-width: 640px) { .hero { padding-top: 7.5rem; } }
.hero__inner { max-width: 56rem; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.95rem);
  line-height: 1.16;
  margin: 1.25rem auto;
  max-width: 22rem;
}
@media (min-width: 640px) { .hero h1 { max-width: 58rem; } }
.hero h1 span.line { display: block; }
/* jamais de coupure au trait d'union dans le mot mis en avant */
.hero h1 .text-gradient { white-space: nowrap; }
.hero__sub {
  font-size: clamp(.95rem, 2.4vw, 1.2rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.hero__cta .btn { width: 100%; }
@media (min-width: 640px) { .hero__cta .btn { width: auto; } }
.hero__reassurance { font-size: .8rem; color: var(--muted-foreground); }

/* ============================================================
   STATS
   ============================================================ */
.stats { max-width: 64rem; margin: 0 auto; padding: 1.75rem 1.25rem; }
@media (min-width: 640px) { .stats { padding: 1.75rem 2rem; } }
.stats__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat { text-align: center; }
.stat__value { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; }
.stat__label { font-size: .8rem; color: var(--muted-foreground); margin-top: .5rem; }
.stats__divider { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(227, 230, 239, .9); display: flex; justify-content: center; }

.badge-case {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: .5rem 1.5rem .5rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 112, 254, .2);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 8px 30px rgba(83, 112, 254, .08);
  transition: box-shadow .5s ease;
  text-align: left;
}
.badge-case:hover { box-shadow: 0 8px 40px rgba(83, 112, 254, .18); }
.badge-case__logo {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--foreground);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: .45rem; overflow: hidden;
  box-shadow: 0 0 0 4px rgba(83, 112, 254, .06);
}
.badge-case__logo img { width: 100%; height: 100%; object-fit: contain; }
/* variante photo : l'image remplit le disque, pas de fond ni de padding */
.badge-case__logo--photo { background: none; padding: 0; }
.badge-case__logo--photo img { object-fit: cover; border-radius: 999px; }
.badge-case__text { display: flex; flex-direction: column; line-height: 1.3; }
.badge-case__name { font-family: var(--display); font-size: 1.05rem; }

/* ============================================================
   MARQUEE (références clients)
   ============================================================ */
.marquee-mask {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
  animation-direction: var(--marquee-direction, normal);
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 3rem; padding-right: 3rem; }
@media (min-width: 768px) { .marquee-group { gap: 4rem; padding-right: 4rem; } }

.client-logo {
  height: 2.1rem; width: auto; max-width: 10rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .3s ease, opacity .3s ease;
}
.client-logo:hover { filter: grayscale(0); opacity: 1; }
@media (min-width: 768px) { .client-logo { height: 2.5rem; } }

/* variante avatar (photo de fondateur) dans la bande de logos */
.client-avatar {
  display: flex;
  align-items: center;
  gap: .6rem;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .3s ease, opacity .3s ease;
}
.client-avatar:hover { filter: grayscale(0); opacity: 1; }
.client-avatar img {
  width: 2.4rem; height: 2.4rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  /* un liseré évite que les photos sur fond clair se fondent dans la page */
  box-shadow: inset 0 0 0 1px rgba(18, 22, 39, .1), 0 0 0 1px rgba(18, 22, 39, .07);
}
.client-avatar > span {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--foreground);
  white-space: nowrap;
  line-height: 1;
}
@media (min-width: 768px) {
  .client-avatar img { width: 2.8rem; height: 2.8rem; }
  .client-avatar > span { font-size: 1.05rem; }
}

/* ============================================================
   CARTES (problème / système)
   ============================================================ */
.feature-card { padding: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.feature-card p { font-size: .9rem; color: var(--muted-foreground); line-height: 1.65; }
.feature-card__step {
  position: absolute; top: .9rem; right: 1.1rem;
  font-family: var(--sans); font-weight: 700; font-size: 2.75rem; line-height: 1;
  color: rgba(83, 112, 254, .1);
  transition: color .3s ease;
}
.feature-card:hover .feature-card__step { color: rgba(83, 112, 254, .2); }

.punchline { max-width: 48rem; margin: 2.5rem auto 0; text-align: center; }
.punchline p { font-family: var(--display); font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.35; }

/* ============================================================
   CASE STUDY
   ============================================================ */
.case { max-width: 64rem; margin: 0 auto; padding: 1.5rem; }
@media (min-width: 768px) { .case { padding: 2.25rem; } }
.case__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.case__tag { font-size: .625rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-foreground); }
.case__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .case__metrics { grid-template-columns: repeat(4, 1fr); } }
.case__metric-value { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.9rem); line-height: 1.05; }
.case__metric-label { font-size: .78rem; color: var(--muted-foreground); margin-top: .35rem; line-height: 1.4; }
.case__body { display: grid; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(227, 230, 239, .8); }
@media (min-width: 768px) { .case__body { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.case__body h4 { font-size: 1rem; margin-bottom: .4rem; }
.case__body p { font-size: .9rem; color: var(--muted-foreground); line-height: 1.7; }
.case__foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(227, 230, 239, .6); font-size: .75rem; color: var(--muted-foreground); }

/* ============================================================
   TIMELINE (processus)
   ============================================================ */
.timeline { max-width: 42rem; margin: 0 auto; position: relative; }
.timeline__rail { position: absolute; left: 1.5rem; top: .5rem; bottom: .5rem; width: 1px; background: rgba(227, 230, 239, 1); }
.timeline__progress { position: absolute; left: 1.5rem; top: .5rem; width: 1px; height: 0; background: linear-gradient(to bottom, var(--primary), rgba(83, 112, 254, .5)); transition: height .15s linear; }
.timeline__list { display: flex; flex-direction: column; gap: 1.5rem; }
.timeline__item { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
@media (min-width: 640px) { .timeline__item { gap: 1.5rem; } }
.timeline__dot {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: rgba(83, 112, 254, .1);
  border: 1px solid rgba(83, 112, 254, .4);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  position: relative; z-index: 10; flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--background);
  transition: background .4s ease, transform .4s ease;
}
.timeline__item.is-visible .timeline__dot { background: rgba(83, 112, 254, .2); }
.timeline__card { padding: 1rem 1.15rem; flex: 1; }
.timeline__step { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .02em; color: rgba(83, 112, 254, .8); }
.timeline__card h3 { font-size: 1.08rem; margin: .15rem 0 .3rem; }
.timeline__card p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ============================================================
   TABLEAU COMPARATIF
   ============================================================ */
.compare { max-width: 56rem; margin: 0 auto; overflow: hidden; }
.compare__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; text-align: center; }
.compare__cell { padding: .75rem .5rem; font-size: .75rem; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(227, 230, 239, .7); }
@media (min-width: 640px) { .compare__cell { padding: 1rem .75rem; font-size: .875rem; } }
.compare__cell--label { justify-content: flex-start; text-align: left; color: rgba(18, 22, 39, .9); }
.compare__cell--head { color: var(--muted-foreground); font-weight: 500; }
.compare__cell--own { background: rgba(83, 112, 254, .05); border-bottom-color: rgba(83, 112, 254, .18); }
.compare__cell--own-head { font-family: var(--display); color: var(--primary); border-bottom-color: rgba(83, 112, 254, .3); }
.compare__grid > .compare__cell:nth-last-child(-n+4) { border-bottom: none; }
.icon-yes { color: var(--primary); }
.icon-no { color: rgba(92, 100, 128, .45); }

/* ============================================================
   FONDATEUR
   ============================================================ */
.founder { max-width: 64rem; margin: 0 auto; padding: 1.5rem; }
@media (min-width: 768px) { .founder { padding: 2.5rem; } }
.founder__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
@media (min-width: 768px) { .founder__inner { flex-direction: row; text-align: left; gap: 3rem; } }
.founder__photo {
  width: 7rem; height: 7rem; border-radius: 999px; overflow: hidden;
  border: 2px solid rgba(83, 112, 254, .3);
  flex-shrink: 0; background: var(--foreground);
}
@media (min-width: 768px) { .founder__photo { width: 10rem; height: 10rem; } }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: .35rem; }
.founder__role { color: var(--primary); font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.founder__bio { font-size: .95rem; color: var(--muted-foreground); line-height: 1.75; text-align: left; margin-bottom: 1.25rem; }
.founder__bio p + p { margin-top: .85rem; }
.founder__socials { display: flex; gap: .75rem; margin-bottom: 1.5rem; justify-content: center; }
@media (min-width: 768px) { .founder__socials { justify-content: flex-start; } }
.social-dot {
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-foreground);
  transition: background .2s, border-color .2s, color .2s;
}
.social-dot:hover { background: rgba(83, 112, 254, .08); border-color: rgba(83, 112, 254, .3); color: var(--primary); }

/* ============================================================
   FAÇON DE TRAVAILLER
   ============================================================ */
.method { max-width: 64rem; margin: 0 auto; padding: 1.5rem; border-color: rgba(83, 112, 254, .3); }
@media (min-width: 640px) { .method { padding: 2rem; } }
.method__grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .method__grid { grid-template-columns: repeat(3, 1fr); } }
.method__item { text-align: center; }
.method__item .icon-tile { margin: 0 auto 1rem; }
.method__item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.method__item p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.65; }

/* ============================================================
   FIT (pour vous / pas pour vous)
   ============================================================ */
.fit { display: grid; gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__card { padding: 1.5rem; }
.fit__card--yes { border-color: rgba(83, 112, 254, .3); }
.fit__card h3 { font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.fit__card--no h3 { color: var(--muted-foreground); }
.fit__card li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; line-height: 1.55; }
.fit__card li + li { margin-top: .75rem; }
.fit__card--no li { color: var(--muted-foreground); }
.fit__card svg { margin-top: .2rem; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item { padding: 0 1.5rem; }
.faq__item[data-open="true"] { border-color: rgba(83, 112, 254, .3); }
.faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.25rem 0; text-align: left;
  font-weight: 600; font-size: .95rem;
}
.faq__trigger svg { flex-shrink: 0; transition: transform .2s ease; color: var(--muted-foreground); }
.faq__item[data-open="true"] .faq__trigger svg { transform: rotate(180deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__item[data-open="true"] .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { font-size: .9rem; color: var(--muted-foreground); line-height: 1.75; padding-bottom: 1.25rem; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking { background: rgba(83, 112, 254, .04); border-top: 1px solid rgba(227, 230, 239, .8); border-bottom: 1px solid rgba(227, 230, 239, .8); }
.booking__head { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
/* le widget Calendly porte deja sa propre carte : pas de glass-card autour,
   et une hauteur assez large pour qu'il n'ait pas a scroller en interne */
.booking__frame { max-width: 64rem; margin: 0 auto; }
.booking__frame .calendly-inline-widget {
  min-width: 320px;
  width: 100%;
  height: 1180px !important;
  border-radius: .5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .booking__frame .calendly-inline-widget { height: 690px !important; } }
.booking__note { text-align: center; font-size: .8rem; color: var(--muted-foreground); margin: 1.25rem auto 0; max-width: 42rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 2.5rem 0 5.5rem; border-top: 1px solid rgba(227, 230, 239, .8); }
@media (min-width: 900px) { .footer { padding-bottom: 2.5rem; } }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.footer__logo { height: 3rem; width: auto; object-fit: contain; }
.footer__tagline { font-size: .875rem; color: var(--muted-foreground); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin-top: .5rem; }
.footer__nav button, .footer__nav a { font-size: .75rem; color: var(--muted-foreground); transition: color .2s; }
.footer__nav button:hover, .footer__nav a:hover { color: var(--foreground); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; margin-top: 1rem; font-size: .75rem; color: rgba(92, 100, 128, .8); }
.footer__legal a:hover { color: var(--foreground); }
.footer__copy { font-size: .75rem; color: rgba(92, 100, 128, .65); margin-top: .75rem; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal { max-width: 48rem; margin: 0 auto; padding: 4rem 1rem; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.legal section + section { margin-top: 2rem; }
.legal p { font-size: .9rem; line-height: 1.75; color: rgba(18, 22, 39, .85); }
.legal__back { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted-foreground); margin-bottom: 2rem; }
.legal__back:hover { color: var(--foreground); }

/* ============================================================
   PAGE VSL (/vsl)
   ============================================================ */

/* ---------- bandeau haut ---------- */
.topbar {
  position: relative;
  z-index: 20;
  background: var(--foreground);
  color: var(--background);
  padding: .65rem 0;
}
.topbar__inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem;
  text-align: center;
  font-size: .72rem;
  line-height: 1.35;
}
@media (min-width: 640px) { .topbar__inner { flex-direction: row; gap: 3rem; font-size: .875rem; } }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.topbar__item svg { flex-shrink: 0; opacity: .9; }
.topbar__sep { display: none; opacity: .5; }
@media (min-width: 640px) { .topbar__sep { display: inline; } }

/* ---------- hero VSL ---------- */
.hero--vsl { padding: 1.75rem 0 2rem; }
@media (min-width: 640px) { .hero--vsl { padding-top: 2.25rem; } }
.hero--vsl h1 {
  font-size: clamp(1.4rem, 4.6vw, 2.7rem);
  font-weight: 400;
  margin: 1.5rem auto 1.1rem;
  max-width: 20rem;
}
@media (min-width: 640px) { .hero--vsl h1 { max-width: 56rem; } }
.hero--vsl h1 .text-gradient { white-space: nowrap; }
.hero--vsl .hero__sub { margin-bottom: 1.75rem; }

/* ---------- pill « live » ---------- */
.pill-live {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 112, 254, .2);
  background: rgba(83, 112, 254, .05);
  font-size: .72rem; font-weight: 500; color: #3d55d6;
  line-height: 1.3;
}
.pill-live__dot { position: relative; display: flex; height: .375rem; width: .375rem; flex-shrink: 0; }
.pill-live__dot span { border-radius: 999px; background: var(--primary); }
.pill-live__dot span:first-child {
  position: absolute; inset: 0; opacity: .75;
  animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.pill-live__dot span:last-child { position: relative; display: inline-flex; height: .375rem; width: .375rem; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pill-live__dot span:first-child { animation: none; } }

/* ---------- encart vidéo ---------- */
.vsl { max-width: 48rem; margin: 0 auto; }
.vsl__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; }

.vsl__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; padding: 0;
  border-radius: .75rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px -10px rgba(83, 112, 254, .5);
}
.vsl__poster.is-empty { cursor: default; }
.vsl__poster-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(123, 144, 255, .5), transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(47, 69, 216, .55), transparent 60%),
    linear-gradient(140deg, #1a1f38, #121627 55%, #0d1020);
}
.vsl__poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl__poster.has-image .vsl__poster-bg { background: rgba(18, 22, 39, .38); }
.vsl__poster.has-image .vsl__poster-logo { display: none; }

.vsl__poster-logo {
  position: absolute; top: 1.1rem; left: 1.1rem;
  height: 1.5rem; width: auto; opacity: .9;
}
@media (min-width: 640px) { .vsl__poster-logo { height: 1.9rem; top: 1.4rem; left: 1.4rem; } }

.vsl__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem; height: 4.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 45px -12px rgba(83, 112, 254, .8);
  transition: transform .3s ease;
}
.vsl__play svg { margin-left: .2rem; width: 1.9rem; height: 1.9rem; }
@media (min-width: 640px) {
  .vsl__play { width: 5.5rem; height: 5.5rem; }
  .vsl__play svg { width: 2.4rem; height: 2.4rem; }
}
.vsl__poster:not(.is-empty):hover .vsl__play { transform: translate(-50%, -50%) scale(1.09); }

.vsl__hint {
  position: absolute; left: 0; right: 0; bottom: 1.1rem;
  text-align: center;
  font-size: .8rem; font-weight: 500;
  color: rgba(255, 255, 255, .82);
}
.vsl__poster.is-empty .vsl__hint { display: none; }

/* lecteur */
.vsl__player { position: absolute; inset: 0; border-radius: .75rem; overflow: hidden; background: #000; }
.vsl__mount, .vsl__mount iframe, .vsl__mount wistia-player {
  width: 100%; height: 100%; border: 0; display: block;
}

/* mode flottant quand on scrolle sous la vidéo */
.vsl__player.is-pip {
  position: fixed;
  inset: auto 1rem 1rem auto;
  width: 280px; height: 157px;
  z-index: 50;
  border: 1px solid rgba(83, 112, 254, .3);
  box-shadow: 0 20px 50px -12px rgba(18, 22, 39, .45);
  border-radius: .75rem;
}
@media (min-width: 640px) { .vsl__player.is-pip { width: 360px; height: 202px; } }

.vsl__close {
  position: absolute; top: .5rem; right: .5rem; z-index: 10;
  width: 1.75rem; height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  color: var(--foreground);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vsl__close:hover { background: #fff; }

/* ---------- ajustements de sections sur la page VSL ---------- */
.section--tight { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.founder__cta { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
@media (min-width: 768px) { .founder__cta { align-items: flex-start; } }
.footer--minimal { padding-top: 2rem; padding-bottom: 2.5rem; }

/* ============================================================
   PAGE RÉSERVATION (/reservation)
   ============================================================ */
.booking-page { padding: 2.5rem 0 3.5rem; }
@media (min-width: 640px) { .booking-page { padding: 3.5rem 0 4.5rem; } }

.booking-page__head { text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.booking-page__logo { height: 2.25rem; width: auto; margin: 0 auto 1.75rem; }
@media (min-width: 640px) { .booking-page__logo { height: 2.75rem; } }
.booking-page__head h1 { font-size: clamp(1.6rem, 5vw, 2.75rem); margin-bottom: .9rem; }
.booking-page__head p { color: var(--muted-foreground); font-size: clamp(.9rem, 2.2vw, 1.05rem); line-height: 1.7; }

.booking-page__card { max-width: 38rem; margin: 0 auto; padding: 1.5rem; }
@media (min-width: 640px) { .booking-page__card { padding: 2.25rem; } }

.booking-page__list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.booking-page__list li { display: flex; gap: 1rem; align-items: flex-start; }
.booking-page__num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: rgba(83, 112, 254, .1);
  border: 1px solid rgba(83, 112, 254, .25);
  color: var(--primary);
  /* Inter et non Alatsi : dans Alatsi le 1 se lit comme un I */
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.booking-page__list h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.booking-page__list p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.6; }

.booking-page__cta { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.booking-page__note { text-align: center; font-size: .78rem; color: var(--muted-foreground); margin-top: 1.25rem; }
