/* ============================================================
   GN CONSULT — Glassmorphism Web 3.0
   Génération Numérique — OSIANE 2026
   Cible : écran TV 16/9 (1920×1080) + tablette responsive
============================================================ */

:root {
  --gn-blue: #1B5FBE;
  --gn-blue-dark: #0F3F84;
  --gn-blue-light: #6BA5F0;
  --gn-orange: #F39200;
  --gn-orange-light: #FFB347;
  --gn-cyan: #7DD3FC;
  --gn-pink-soft: #FFD4D4;
  --gn-peach-soft: #FFE8D6;
  --gn-lavender: #E8E4FF;
  --gn-dark: #1A2744;
  --gn-text: #1A2744;
  --gn-text-soft: #6B7A95;
  --gn-text-mute: #94A3B8;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-soft: rgba(255, 255, 255, 0.35);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 24px 80px -16px rgba(27, 95, 190, 0.18),
                  inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Manrope', 'Inter', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
*::-webkit-scrollbar { width: 6px; }
*::-webkit-scrollbar-thumb { background: rgba(27,95,190,0.2); border-radius: 6px; }

html, body {
  margin: 0; padding: 0;
  height: 100%; width: 100%;
  font-family: var(--font-body);
  color: var(--gn-text);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* ============= BACKGROUND PASTEL GRADIENT ============= */
body {
  background:
    radial-gradient(ellipse 60% 50% at 18% 20%, rgba(255, 232, 214, 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 25%, rgba(232, 228, 255, 0.75) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 75% 90%, rgba(255, 212, 212, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%, rgba(186, 230, 253, 0.65) 0%, transparent 60%),
    linear-gradient(135deg, #FAF5F0 0%, #F5F0FB 35%, #F0F4FA 65%, #FBF5F0 100%);
  background-attachment: fixed;
  display: flex; flex-direction: row;
}

/* Décor : grain léger */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.025 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ============= SIDEBAR MINI ============= */
.sidebar {
  width: 88px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  align-items: center;
  padding: 28px 0;
  position: relative;
  z-index: 5;
}
.sidebar-logo {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 24px -6px rgba(27, 95, 190, 0.35);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 36px;
}
.sidebar-logo img {
  width: 90%; height: auto;
  object-fit: contain;
}
.sidebar-nav {
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sidebar-btn {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: var(--gn-blue);
  transition: all 0.2s ease;
}
.sidebar-btn:hover { background: white; transform: translateY(-2px); }
.sidebar-btn.active {
  background: linear-gradient(135deg, var(--gn-blue), var(--gn-blue-dark));
  color: white;
  box-shadow: 0 10px 24px -6px rgba(27, 95, 190, 0.5);
}
.sidebar-footer {
  font-size: 9px;
  font-weight: 700;
  color: var(--gn-text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: auto;
}

/* ============= APP CONTAINER ============= */
#app {
  flex: 1;
  position: relative;
  padding: 32px;
  display: flex; flex-direction: column;
  z-index: 2;
  overflow: hidden;
}

/* TOPBAR FLOTTANTE */
.topbar {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  z-index: 6;
}
.topbar-title {
  display: flex; flex-direction: column;
}
.topbar-title strong {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  color: var(--gn-dark);
  letter-spacing: -0.5px;
}
.topbar-title span {
  font-size: 12px; color: var(--gn-orange); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-top: 2px;
}
.badge-osiane {
  padding: 12px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--gn-blue-dark);
  font-weight: 800; font-size: 13px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  display: flex; align-items: center; gap: 10px;
}
.badge-osiane::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gn-orange);
  box-shadow: 0 0 12px var(--gn-orange);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============= GLASS CARD CENTRALE ============= */
.glass-card {
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 36px;
  box-shadow: var(--glass-shadow);
  padding: 48px 64px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255, 232, 214, 0.4), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(186, 230, 253, 0.4), transparent 50%);
  pointer-events: none;
  border-radius: 36px;
}

/* ============= SCREEN BASE ============= */
.screen {
  position: absolute;
  inset: 48px 64px;
  display: none;
  flex-direction: column;
  animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
}
.screen.active { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============= WELCOME / GRANDE SPHÈRE ============= */
.welcome-wrap {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 36px;
  position: relative;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 1000px;
}
.hero-title .text-mute {
  background: linear-gradient(135deg, var(--gn-orange-light) 0%, var(--gn-orange) 60%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: 0.85;
}
.hero-title .text-strong { color: var(--gn-dark); }
.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--gn-text-soft);
  font-weight: 500;
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
}

/* ============= ORBE 3D IRISÉE (HERO) ============= */
.hero-orb-wrap {
  position: relative;
  width: clamp(280px, 32vw, 480px);
  height: clamp(280px, 32vw, 480px);
  display: flex; align-items: center; justify-content: center;
}
.hero-orb {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.1) 14%, transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(125, 211, 252, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(243, 146, 0, 0.75) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #6BA5F0 0%, #1B5FBE 60%, #0F3F84 100%);
  box-shadow:
    0 30px 80px -10px rgba(27, 95, 190, 0.45),
    0 60px 120px -20px rgba(243, 146, 0, 0.25),
    inset 0 -20px 60px rgba(15, 63, 132, 0.4),
    inset 0 20px 60px rgba(255, 255, 255, 0.25);
  position: relative;
  animation: orbFloat 7s ease-in-out infinite;
}
.hero-orb::before {
  content: '';
  position: absolute;
  top: 8%; left: 22%;
  width: 35%; height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.85), transparent 70%);
  filter: blur(8px);
}
.hero-orb::after {
  content: '';
  position: absolute;
  bottom: 12%; right: 18%;
  width: 22%; height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 200, 100, 0.7), transparent 70%);
  filter: blur(10px);
}
/* Reflet sous l'orbe */
.hero-orb-wrap::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%; right: 10%;
  height: 100px;
  background:
    radial-gradient(ellipse at center top, rgba(27, 95, 190, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse at center top, rgba(243, 146, 0, 0.15) 0%, transparent 60%);
  filter: blur(20px);
  border-radius: 50%;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

/* Orbe en mode "thinking" pour l'écran loading */
.hero-orb.thinking {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(255, 220, 130, 0.95) 0%, transparent 45%),
    radial-gradient(circle at 30% 60%, rgba(255, 150, 50, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, var(--gn-orange-light) 0%, var(--gn-orange) 60%, #C75F00 100%);
  animation: orbFloat 2s ease-in-out infinite, orbSpin 8s linear infinite;
}
@keyframes orbSpin { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }

/* ============= PILLS / SUGGESTIONS (welcome bottom) ============= */
.hero-pills {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.pill {
  padding: 12px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--gn-blue-dark);
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px -6px rgba(27, 95, 190, 0.15);
}
.pill .pill-icon { font-size: 16px; }

/* ============= MEGA CTA ============= */
.btn-cta-mega {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 24px 64px;
  border: none;
  background: linear-gradient(135deg, var(--gn-orange) 0%, #E07A00 100%);
  color: white;
  border-radius: 999px;
  font-family: var(--font-head);
  cursor: pointer;
  box-shadow:
    0 20px 50px -10px rgba(243, 146, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  animation: ctaPulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-cta-mega::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: ctaShine 3s ease-in-out infinite;
}
@keyframes ctaShine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}
.btn-cta-mega:active { transform: scale(0.97); }
.cta-icon { font-size: 26px; }
.cta-label { font-size: 26px; font-weight: 800; letter-spacing: 1.5px; }
.cta-sub { font-size: 12px; font-weight: 500; opacity: 0.9; letter-spacing: 0.5px; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 20px 50px -10px rgba(243, 146, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(243, 146, 0, 0.5); }
  50%      { box-shadow: 0 20px 50px -10px rgba(243, 146, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 24px rgba(243, 146, 0, 0); }
}

/* ============= STEP HEAD ============= */
.step-head {
  text-align: center;
  margin-bottom: 32px;
}
.step-label {
  display: inline-block;
  padding: 8px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--gn-blue);
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.step-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--gn-dark);
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -1.2px;
}
.step-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--gn-text-soft);
  margin: 0;
}

/* ============= GRIDS ============= */
.grid {
  display: grid;
  gap: 20px;
  width: 100%;
  flex: 1;
  align-content: center;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============= CHOICE BUTTONS (Domaine/Profil) ============= */
.choice-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 32px;
  cursor: pointer;
  text-align: left;
  display: flex; align-items: center; gap: 22px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
  box-shadow: 0 8px 30px -8px rgba(27, 95, 190, 0.1);
  min-height: 120px;
}
.choice-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -10px rgba(27, 95, 190, 0.25);
  background: rgba(255, 255, 255, 0.7);
}
.choice-btn:active { transform: translateY(-2px) scale(0.99); }

.choice-icon {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gn-blue) 0%, var(--gn-blue-dark) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px -8px rgba(27, 95, 190, 0.45);
}
.choice-btn.alt .choice-icon {
  background: linear-gradient(135deg, var(--gn-orange) 0%, #E07A00 100%);
  box-shadow: 0 12px 30px -8px rgba(243, 146, 0, 0.45);
}
.choice-body { flex: 1; }
.choice-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 700;
  color: var(--gn-dark);
  margin: 0 0 6px;
  line-height: 1.2;
}
.choice-desc {
  font-size: clamp(13px, 1vw, 15px); color: var(--gn-text-soft);
  margin: 0; line-height: 1.4;
}
.choice-arrow {
  color: var(--gn-blue);
  font-size: 26px;
  font-weight: 700;
  opacity: 0.4;
  transition: all 0.3s ease;
}
.choice-btn:hover .choice-arrow { opacity: 1; transform: translateX(4px); }

/* ============= QUESTION BUTTONS ============= */
.q-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 24px 28px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 600;
  color: var(--gn-dark);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; align-items: center; gap: 16px;
  min-height: 84px;
  box-shadow: 0 6px 20px -8px rgba(27, 95, 190, 0.1);
}
.q-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -8px rgba(27, 95, 190, 0.22);
}
.q-btn:active { transform: translateY(-1px) scale(0.99); }
.q-btn .q-bullet {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gn-blue), var(--gn-blue-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(27, 95, 190, 0.4);
}

/* ============= STEP ACTIONS ============= */
.step-actions {
  display: flex; gap: 14px;
  margin-top: 28px;
}
.step-actions.center { justify-content: center; }
.btn-ghost {
  background: var(--glass-bg-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px; font-weight: 600;
  color: var(--gn-text-soft);
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.btn-ghost:hover { background: white; color: var(--gn-blue); transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gn-blue), var(--gn-blue-dark));
  color: white; border: none;
  padding: 18px 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px; font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 10px 30px -6px rgba(27, 95, 190, 0.5);
  transition: all 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -6px rgba(27, 95, 190, 0.6); }
.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--gn-blue);
  border: 1.5px solid var(--gn-blue);
  padding: 16px 30px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px; font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--gn-blue); color: white; transform: translateY(-2px); }
.btn-primary-mega {
  background: linear-gradient(135deg, var(--gn-orange) 0%, #E07A00 100%);
  color: white;
  border: none;
  padding: 24px 44px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 18px 40px -10px rgba(243, 146, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  letter-spacing: 0.4px;
  margin-top: 14px;
  width: 100%;
  max-width: 520px;
}
.btn-primary-mega:active { transform: scale(0.98); }

/* ============= LOADING ============= */
.loading-wrap {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 28px;
}

/* ============= ADVICE CARD ============= */
.advice-wrap {
  display: flex; flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 24px;
  overflow-y: auto;
  padding: 4px;
}
.advice-card {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 40px 48px;
  width: 100%;
  max-width: 1100px;
  position: relative;
  box-shadow: var(--glass-shadow);
}
.advice-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 48px;
  width: 80px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gn-orange), var(--gn-orange-light));
  box-shadow: 0 4px 12px -2px rgba(243, 146, 0, 0.6);
}
#advice-text {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--gn-text);
  margin: 0 0 32px;
  white-space: pre-wrap;
}
.advice-services {
  display: flex; flex-wrap: wrap; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(27, 95, 190, 0.15);
}
.service-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(27, 95, 190, 0.08), rgba(243, 146, 0, 0.05));
  border: 1px solid rgba(27, 95, 190, 0.2);
  border-radius: 16px;
  color: var(--gn-blue-dark);
  font-weight: 700; font-size: 14px;
}
.service-chip .chip-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gn-orange), #E07A00);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 6px 14px -4px rgba(243, 146, 0, 0.5);
}

/* ============= EMAIL FORM ============= */
.email-form {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 560px;
  margin: 0 auto;
}
.email-form input {
  padding: 22px 28px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  font-size: 17px;
  font-family: var(--font-body);
  color: var(--gn-text);
  transition: all 0.2s ease;
}
.email-form input:focus {
  outline: none;
  border-color: var(--gn-orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.15);
}
.email-fineprint {
  font-size: 12px; color: var(--gn-text-soft);
  max-width: 560px; margin: 14px auto 0;
  text-align: center; line-height: 1.55;
}

/* ============= THANKS ============= */
.thanks-wrap {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 22px;
}
.check-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(135deg, #34D399 0%, #10B981 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  box-shadow:
    0 24px 60px -10px rgba(16, 185, 129, 0.5),
    inset 0 -8px 20px rgba(0, 0, 0, 0.15);
  animation: checkBounce 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes checkBounce {
  0% { transform: scale(0) rotate(-30deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.thanks-sub { color: var(--gn-text-soft); margin: 10px 0; font-size: 15px; }
#thanks-counter {
  display: inline-block;
  font-weight: 800; color: var(--gn-orange); font-size: 22px;
}

/* ============= VOICE INDICATOR ============= */
.voice-indicator {
  position: fixed; bottom: 36px; right: 36px;
  display: none;
  align-items: flex-end; gap: 4px;
  background: linear-gradient(135deg, var(--gn-blue), var(--gn-blue-dark));
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 30px -6px rgba(27, 95, 190, 0.5);
  z-index: 50;
}
.voice-indicator.active { display: flex; }
.vi-bar {
  width: 4px; height: 18px;
  background: white;
  border-radius: 2px;
  animation: viWave 0.8s ease-in-out infinite;
}
.vi-bar:nth-child(2) { animation-delay: 0.15s; }
.vi-bar:nth-child(3) { animation-delay: 0.3s; }
.vi-bar:nth-child(4) { animation-delay: 0.45s; }
@keyframes viWave {
  0%, 100% { height: 18px; }
  50% { height: 32px; }
}

/* ============= TOAST ============= */
.toast {
  position: fixed; top: 36px; left: 50%;
  transform: translateX(-50%) translateY(-200%);
  background: var(--gn-dark);
  color: white;
  padding: 16px 30px;
  border-radius: 14px;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: linear-gradient(135deg, #10B981, #059669); }
.toast.error { background: linear-gradient(135deg, #EF4444, #DC2626); }

/* ============= RESPONSIVE ============= */
/* TV grand écran (par défaut OK) */
@media (min-width: 1600px) {
  .glass-card { padding: 64px 80px; border-radius: 44px; }
  .screen { inset: 64px 80px; }
}

/* Tablette */
@media (max-width: 1100px) {
  .sidebar { width: 72px; }
  .sidebar-logo { width: 48px; height: 48px; border-radius: 14px; }
  .sidebar-btn { width: 44px; height: 44px; font-size: 18px; }
  #app { padding: 22px; }
  .glass-card { padding: 32px 28px; border-radius: 28px; }
  .screen { inset: 32px 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .choice-btn { padding: 22px 24px; min-height: 100px; }
  .choice-icon { width: 60px; height: 60px; font-size: 26px; }
}

/* Mobile */
@media (max-width: 720px) {
  body { flex-direction: column; }
  .sidebar { width: 100%; height: 64px; flex-direction: row; padding: 12px 20px; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .sidebar-logo { margin-bottom: 0; margin-right: 16px; width: 40px; height: 40px; }
  .sidebar-nav { flex-direction: row; gap: 8px; flex: 1; justify-content: center; }
  .sidebar-btn { width: 38px; height: 38px; font-size: 16px; border-radius: 12px; }
  .sidebar-footer { display: none; }
  #app { padding: 14px; }
  .glass-card { padding: 22px 18px; border-radius: 22px; }
  .screen { inset: 22px 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-orb-wrap { width: 230px; height: 230px; }
  .btn-cta-mega { padding: 20px 40px; }
  .cta-label { font-size: 22px; }
  .topbar-title strong { font-size: 16px; }
  .badge-osiane { padding: 8px 14px; font-size: 10px; }
}
