/* =============================================
   FRENGLAIS — Design System
   ============================================= */

/* Google Fonts loaded via <link> in HTML for non-blocking render */

:root {
  --red:        #FF4D4D;
  --red-dark:   #CC2E2E;
  --red-light:  #FF7A7A;
  --red-glow:   rgba(255,77,77,.18);
  --black:      #0A0A0A;
  --dark:       #171717;
  --gray-900:   #1a1a1a;
  --gray-800:   #262626;
  --gray-600:   #525252;
  --gray-400:   #a3a3a3;
  --gray-200:   #e5e5e5;
  --gray-100:   #f5f5f5;
  --gray-50:    #fafafa;
  --white:      #ffffff;

  --traveller:  #10B981;
  --traveller-l:#D1FAE5;
  --boss:       #EF4444;
  --boss-l:     #FEE2E2;
  --vip:        #F59E0B;
  --vip-l:      #FEF3C7;
  --student:    #3B82F6;
  --student-l:  #DBEAFE;

  --radius-sm:  .5rem;
  --radius:     1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 20px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 32px rgba(0,0,0,.09),0 2px 8px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.10),0 4px 16px rgba(0,0,0,.05);
  --shadow-red: 0 8px 32px rgba(255,77,77,.25);

  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeSpeed;
}

::selection { background: rgba(255,77,77,.15); }

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

/* =============================================
   TYPOGRAPHY
   ============================================= */

.display-xl {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.display-lg {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.display-md {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.text-lg  { font-size: 1.125rem; line-height: 1.65; }
.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.muted    { color: var(--gray-600); }

/* =============================================
   LAYOUT
   ============================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
section.compact { padding: 64px 0; }
section.dark { background: var(--black); color: var(--white); }
section.gray { background: var(--gray-50); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.section-tag.red { background: rgba(255,77,77,.07); border-color: rgba(255,77,77,.2); color: var(--red-dark); }

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--gray-600); max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  border: none;
  margin: 0;
}

/* =============================================
   HEADER
   ============================================= */

#launch-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #e63939 0%, #FF4D4D 50%, #e63939 100%);
  background-size: 200% 100%;
  animation: bannerShimmer 3s ease infinite;
  color: white;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  padding: 11px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: .01em;
  box-shadow: 0 2px 20px rgba(255,77,77,.35);
}
@keyframes bannerShimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
#launch-banner .banner-emoji { font-size: 1rem; }
#launch-banner .banner-link {
  color: white;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: opacity .15s;
}
#launch-banner .banner-link:hover { opacity: .82; }
#launch-banner .banner-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 4px 8px;
  transition: color .15s;
}
#launch-banner .banner-close:hover { color: white; }
#launch-banner.hidden { display: none; }

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 0;
  transition: all var(--transition);
}
body.has-banner #header { top: 40px; }
#header.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 4px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img { height: 105px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(10,10,10,.65);
  border-radius: 10px;
  transition: color .15s, background .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-links a:hover { color: var(--black); background: rgba(0,0,0,.05); }

.header-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.06);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(10,10,10,.45);
  transition: all var(--transition);
  font-family: inherit;
}
.lang-btn.active { background: var(--white); color: var(--black); box-shadow: var(--shadow-sm); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .22s cubic-bezier(.4,0,.2,1),
              visibility .22s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  transition: background .15s, transform .15s cubic-bezier(.22,1,.36,1);
  touch-action: manipulation;
}
.mobile-nav a:hover  { background: var(--gray-100); }
.mobile-nav a:active { transform: scale(.96); background: var(--gray-100); }
.mobile-nav-lang { display: flex; gap: 8px; margin-top: 16px; }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .18s cubic-bezier(.4,0,.2,1),
              box-shadow .18s cubic-bezier(.4,0,.2,1),
              transform .15s cubic-bezier(.22,1,.36,1),
              border-color .15s;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96) !important; }
.btn-sm { padding: 10px 20px; font-size: .8rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 40px rgba(255,77,77,.35);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn-dark:hover { background: var(--dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,.18);
}
.btn-outline:hover { border-color: rgba(0,0,0,.4); background: rgba(0,0,0,.03); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 10px 16px;
}
.btn-ghost:hover { background: rgba(0,0,0,.05); }

/* =============================================
   HERO
   ============================================= */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 270px 0 100px;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(255,77,77,.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 40%, rgba(255,122,122,.05) 0%, transparent 55%),
    var(--white);
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,77,77,.07);
  border: 1px solid rgba(255,77,77,.2);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--red-dark);
  margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  animation: fadeUp .6s .1s ease both;
}
.hero-title span { color: var(--red); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp .6s .2s ease both;
}

.hero-sub-nowrap {
  max-width: none;
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp .6s .3s ease both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  animation: fadeUp .6s .4s ease both;
}
.stat-item { }
.stat-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.stat-label { font-size: .78rem; color: var(--gray-600); font-weight: 500; margin-top: 2px; }

/* Video block */
.hero-visual {
  animation: fadeUp .7s .15s ease both;
  position: relative;
}
.video-block {
  background: var(--black);
  border-radius: var(--radius-xl);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
  transition: transform var(--transition-slow);
}
.video-block:hover { transform: scale(1.01); }
.video-block-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  opacity: .8;
}
.video-block-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.play-btn {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  margin-bottom: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-block:hover .play-btn { transform: scale(1.08); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.play-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--black);
  margin-left: 4px;
}
.video-label {
  position: relative;
  z-index: 2;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .01em;
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 10;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: -2s; }
.float-card.top-left { top: 20px; left: -20px; }
.float-card.bottom-right { bottom: 20px; right: -20px; }
.float-dot { width: 8px; height: 8px; border-radius: 50%; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* =============================================
   METHOD
   ============================================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s cubic-bezier(.22,1,.36,1),
              border-color .2s;
}
.step-card:hover {
  border-color: rgba(255,77,77,.25);
  box-shadow: 0 8px 32px rgba(255,77,77,.08);
  transform: translateY(-4px);
}
.step-num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 16px;
}
.step-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.step-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transform: scale(1.65);
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

/* Arrow between steps */
.steps-grid .step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--gray-400);
  z-index: 1;
}

/* =============================================
   HUMAN SECTION
   ============================================= */

.human-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.human-visual {
  background: #0d0d0d;
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.06);
}
.hv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hv-section {
  padding: 36px 40px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.hv-no { background: rgba(239,68,68,.04); }
.hv-yes { background: rgba(16,185,129,.04); }
.hv-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 20px;
}
.hv-label.green { color: rgba(16,185,129,.6); }
.hv-rows { display: flex; flex-direction: column; gap: 14px; }
.hv-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.hv-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hv-icon.x {
  background: rgba(239,68,68,.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,.2);
}
.hv-icon.check {
  background: rgba(16,185,129,.12);
  color: #34d399;
  border: 1px solid rgba(16,185,129,.2);
}
.hv-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  position: relative;
  z-index: 1;
}

.human-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.human-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 500;
}
.check-icon {
  width: 24px; height: 24px;
  background: rgba(16,185,129,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--traveller);
  shrink: 0;
  flex-shrink: 0;
}

/* =============================================
   PASSES
   ============================================= */

.passes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pass-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s cubic-bezier(.22,1,.36,1),
              border-color .2s;
  display: flex;
  flex-direction: column;
}
.pass-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pass-card.featured {
  border-color: var(--vip);
  box-shadow: 0 0 0 1px var(--vip), var(--shadow-lg);
}

.pass-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pass-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.pass-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}
.pass-card.traveller .pass-tag { background: var(--traveller-l); color: #059669; }
.pass-card.boss      .pass-tag { background: var(--boss-l);      color: #dc2626; }
.pass-card.featured  .pass-tag { background: var(--vip-l);        color: #d97706; }

.pass-desc { font-size: .875rem; color: var(--gray-600); margin: 12px 0 20px; line-height: 1.55; }

.pass-price-block { margin-bottom: 20px; }
.pass-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.pass-credits { font-size: .8rem; color: var(--gray-600); margin-top: 2px; }
.pass-per { font-size: .78rem; color: var(--gray-400); }

.pass-features { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 28px; }
.pass-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}
.pass-features li::before {
  content: '✓';
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pass-card.traveller .pass-features li::before { background: var(--traveller-l); color: #059669; }
.pass-card.boss      .pass-features li::before { background: var(--boss-l);      color: #dc2626; }
.pass-card.featured  .pass-features li::before { background: var(--vip-l);        color: #d97706; }

.pass-card .btn { width: 100%; justify-content: center; }
.pass-card.traveller .btn { background: var(--black); color: var(--white); }
.pass-card.boss      .btn { background: var(--boss);  color: var(--white); }
.pass-card.featured  .btn { background: var(--vip);   color: var(--white); }

.student-note {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--student-l);
  border-radius: var(--radius);
  font-size: .85rem;
  color: #1d4ed8;
  font-weight: 500;
}

/* =============================================
   CREDITS SHOP
   ============================================= */

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.credit-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s cubic-bezier(.22,1,.36,1),
              border-color .2s;
}
.credit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-400); }
.credit-card.best {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow-lg);
}
.credit-best-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.credit-tokens {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.token {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  border: 2px solid rgba(0,0,0,.12);
}
.token.silver { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #475569; }
.token.gold   { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #92400e; }
.token.red    { background: linear-gradient(135deg, var(--red-light), var(--red)); color: white; }

.credit-name  { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 6px; }
.credit-price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 2px; }
.credit-per   { font-size: .78rem; color: var(--gray-400); margin-bottom: 4px; }
.credit-desc  { font-size: .85rem; color: var(--gray-600); margin-bottom: 24px; flex: 1; }
.credit-card .btn { width: 100%; justify-content: center; }

/* =============================================
   TUTORS SECTION (tutor cards)
   ============================================= */

.tutors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tutor-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.tutor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(255,77,77,.2); }
.tutor-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gray-200);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
}
.tutor-name { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.tutor-lang { font-size: .78rem; color: var(--gray-600); margin-bottom: 8px; }
.tutor-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.tutor-status.available { background: #d1fae5; color: #059669; }
.tutor-status.today     { background: #fef3c7; color: #d97706; }
.tutor-status.soon      { background: var(--gray-100); color: var(--gray-600); }
.tutor-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tutor-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--vip);
  margin-bottom: 14px;
}
.tutor-card .btn { width: 100%; justify-content: center; font-size: .78rem; padding: 8px 14px; }

/* =============================================
   COMING SOON
   ============================================= */

#coming { background: var(--black); color: var(--white); }
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.coming-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.coming-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-3px);
}
.coming-emoji { font-size: 2rem; margin-bottom: 16px; }
.coming-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.coming-card p  { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* =============================================
   FAQ
   ============================================= */

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(255,77,77,.25); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  gap: 16px;
  color: var(--black);
}
.faq-item.open .faq-question { color: var(--red-dark); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: .75rem;
}
.faq-item.open .faq-icon { background: var(--red); color: var(--white); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   FOOTER
   ============================================= */

#footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand .logo img { filter: brightness(0) invert(1); opacity: .85; height: 100px; }
.footer-brand p {
  margin-top: 20px;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 260px;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; animation: pulse 2s infinite; }

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.5);
  transition: background var(--transition), color var(--transition);
}
.footer-socials a:hover {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
}

.footer-col {
  padding-top: 8px;
}
.footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================
   TUTOR RECRUIT SECTION
   ============================================= */

.tutor-recruit {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a2e 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.tutor-recruit::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,77,77,.12) 0%, transparent 70%);
  pointer-events: none;
}
.tutor-recruit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tutor-benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.tutor-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.tutor-benefits li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(255,77,77,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--red-light);
  flex-shrink: 0;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
}
.pay-badge strong { color: var(--white); }

/* Tutor visual side */
.tutor-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tutor-stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.tutor-stat-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.tutor-stat-label { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 4px; font-weight: 500; }
.tutor-stat-card.highlight { border-color: rgba(255,77,77,.3); background: rgba(255,77,77,.08); }
.tutor-stat-card.highlight .tutor-stat-value { color: var(--red-light); }

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1),
              transform .5s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* =============================================
   INNER PAGES
   ============================================= */

.page-hero {
  padding: 200px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,77,77,.08) 0%, transparent 60%),
    var(--white);
  text-align: center;
}
body.has-banner .page-hero { padding-top: 240px; }
.page-hero .hero-badge { margin: 0 auto 24px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p  { max-width: 560px; margin: 0 auto 36px; color: var(--gray-600); font-size: 1.1rem; line-height: 1.7; }
.page-hero .cta-group { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Booking stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.step-dot-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all var(--transition);
}
.step-dot.active .step-dot-circle { background: var(--red); border-color: var(--red); color: var(--white); }
.step-dot.done   .step-dot-circle { background: #10B981; border-color: #10B981; color: var(--white); }
.step-dot-label { font-size: .72rem; font-weight: 600; color: var(--gray-400); white-space: nowrap; }
.step-dot.active .step-dot-label { color: var(--red); }
.step-connector {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  min-width: 40px;
  max-width: 80px;
  margin: 0 4px;
  margin-bottom: 28px;
}

/* Form */
.form-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--gray-600); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Dashboard */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: 100vh;
}
.sidebar {
  background: var(--black);
  color: var(--white);
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-logo { padding: 16px 0 32px; }
.sidebar-logo img { height: 28px; filter: brightness(0) invert(1); opacity: .85; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
  text-decoration: none;
}
.sidebar-link:hover  { color: var(--white); background: rgba(255,255,255,.07); }
.sidebar-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.sidebar-credit-block {
  margin-top: auto;
  background: rgba(255,77,77,.12);
  border: 1px solid rgba(255,77,77,.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.sidebar-credit-value { font-size: 2rem; font-weight: 800; color: var(--white); }
.sidebar-credit-label { font-size: .72rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.dashboard-main { background: var(--gray-50); padding: 40px; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.dashboard-header p  { color: var(--gray-600); font-size: .9rem; margin-top: 4px; }
.db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.db-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}
.db-card-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.db-card-label { font-size: .78rem; color: var(--gray-600); margin-top: 4px; font-weight: 500; }
.db-card.red  { border-color: rgba(255,77,77,.2); background: rgba(255,77,77,.03); }
.db-card.green{ border-color: rgba(16,185,129,.2); background: rgba(16,185,129,.03); }

/* =============================================
   MISSING UTILITIES
   ============================================= */

/* 4-column info grid (e.g. "Après ton achat" on credits page) */
.steps-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.display-sm {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card:not(:last-child)::after { display: none; }
  .human-inner   { grid-template-columns: 1fr; }
  .tutors-grid   { grid-template-columns: repeat(2, 1fr); }
  .tutor-recruit-inner { grid-template-columns: 1fr; gap: 40px; }
  .tutor-recruit { padding: 48px 32px; }
  .footer-grid   { gap: 40px; }
}

/* ── 768px: tablet portrait / large phones ── */
@media (max-width: 768px) {
  html           { overscroll-behavior-y: contain; }
  .cmp-table-wrap { -webkit-overflow-scrolling: touch; }
  section        { padding: 64px 0; }
  .container     { padding: 0 20px; }

  /* Logo */
  .logo img      { height: 100px; }

  /* Hero */
  #hero          { padding: 160px 0 56px; min-height: 0; }
  body.has-banner #hero { padding-top: 200px; }
  .hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats    { gap: 20px; flex-wrap: wrap; }
  .hero-sub      { font-size: 1rem; margin-bottom: 28px; }

  /* Page hero */
  .page-hero          { padding: 160px 0 64px; }
  body.has-banner .page-hero { padding-top: 200px; }

  /* Floating cards: hide on mobile */
  .float-card    { display: none; }

  /* Grids */
  .passes-grid   { grid-template-columns: 1fr; }
  .credits-grid  { grid-template-columns: 1fr; }
  .coming-grid   { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Nav */
  .nav-links, .header-right { display: none; }
  .hamburger     { display: flex; }

  /* Forms */
  .form-grid     { grid-template-columns: 1fr; }
  .form-section  { padding: 28px 20px; }

  /* Dashboard */
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .db-grid { grid-template-columns: 1fr; }
  .dashboard-main { padding: 24px 16px; }

  /* Human section */
  .hv-section    { padding: 24px 20px; }

  /* Tutor recruit */
  .tutor-recruit { padding: 40px 24px; }
  .tutor-visual-grid { grid-template-columns: 1fr 1fr; }

  /* Home offer cards: stack on mobile */
  #credits [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Steps 4-grid: 2 cols on tablet */
  .steps-4-grid { grid-template-columns: repeat(2, 1fr); }

  /* Collectif block */
  .collectif-block { padding: 28px 24px; gap: 24px; }

  /* Boutique comparison table: ensure scroll hint visible */
  .cmp-table-wrap { border-radius: var(--radius); }

  /* Student note */
  .student-note  { flex-direction: column; text-align: center; }

  /* Guarantee badges: always stack */
  .guarantee-badges { flex-direction: column; align-items: center; }
  .guarantee-badge  { width: 100%; max-width: 360px; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  section        { padding: 48px 0; }
  .container     { padding: 0 16px; }

  /* Logo smaller */
  .logo img      { height: 72px; }

  /* Hero */
  #hero          { padding: 136px 0 48px; }
  body.has-banner #hero { padding-top: 178px; }
  .hero-title    { font-size: 2rem; }
  .hero-sub      { font-size: .95rem; }
  .hero-stats    { gap: 16px; }
  .stat-value    { font-size: 1.2rem; }

  /* Page hero */
  .page-hero          { padding: 136px 0 48px; }
  body.has-banner .page-hero { padding-top: 178px; }
  .page-hero h1  { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .page-hero p   { font-size: .95rem; }

  /* Banner: compact to avoid overflow */
  #launch-banner {
    font-size: .72rem;
    padding: 8px 40px 8px 10px;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.3;
  }
  #launch-banner .banner-link { font-size: .72rem; }
  /* Assume banner may go 2 lines — JS corrects this dynamically */
  body.has-banner #header { top: 56px; }
  body.has-banner #hero { padding-top: 194px; }
  body.has-banner .page-hero { padding-top: 194px; }

  /* Typography */
  .display-xl    { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .display-md    { font-size: clamp(1.4rem, 6vw, 2rem); }
  .display-sm    { font-size: clamp(1.15rem, 5vw, 1.5rem); }

  /* Buttons */
  .btn-lg        { padding: 14px 24px; font-size: .9rem; }
  .hero-ctas     { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Passes */
  .pass-card     { padding: 24px 20px; }

  /* Tutor recruit */
  .tutor-recruit { padding: 28px 16px; }

  /* FAQ */
  .faq-question  { padding: 14px 16px; font-size: .875rem; }
  .faq-answer    { padding: 0 16px 16px; }

  /* Footer */
  .footer-brand p { max-width: 100%; }
  #footer        { padding: 48px 0 24px; }

  /* Steps */
  .steps-grid    { grid-template-columns: 1fr; }

  /* Collectif block */
  .collectif-block { padding: 24px 16px; }
  .collectif-block > div:last-child { display: none; } /* hide icon on tiny screens */

  /* Home offer cards: ensure 1 column */
  #credits [style*="grid-template-columns:1fr 1fr"],
  #credits [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Steps 4-grid: 1 col on small phones */
  .steps-4-grid { grid-template-columns: 1fr; }

  /* Tuteur profil criteria (1fr 1fr inline) → 1 col */
  .container-sm [style*="grid-template-columns:1fr 1fr"],
  .container-sm [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Reservation confirmation summary grid → 1 col */
  .confirmation-box [style*="grid-template-columns:1fr 1fr"],
  .confirmation-box [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ── 360px: very small phones ── */
@media (max-width: 360px) {
  .logo img { height: 60px; }
  #hero, body.has-banner #hero { padding-top: 150px; }
  .page-hero, body.has-banner .page-hero { padding-top: 150px; }
  .hero-title { font-size: 1.8rem; }
}
