/* ============================================
   ESTELLE FORMATION IA — MODERN ENGINE
   Design System & Styles
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --bg: #050508;
  --bg-2: #0a0a10;
  --surface: #0f1118;
  --surface-2: #161822;
  --surface-3: #1c1e2e;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text: #e8e8ec;
  --text-2: #a0a0b4;
  --text-3: #6a6a80;

  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --accent-2: #f97316;
  --accent-2-glow: rgba(249, 115, 22, 0.15);
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 999px;

  --section-pad: clamp(80px, 12vh, 160px);
  --container: 1200px;
  --gap: clamp(16px, 2vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease);
}

.loader-text {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* --- AMBIENT SCENE --- */
#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* --- GRAIN --- */
#grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- CUSTOM CURSOR --- */
#cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, background 0.3s;
  mix-blend-mode: difference;
  display: none;
}

#cursor.active {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

#cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* --- ROBOT CANVASES --- */
#robots {
  position: fixed;
  inset: 0;
  z-index: 2;
  cursor: grab;
  pointer-events: auto !important;
  touch-action: auto;
}
#robots.grabbing { cursor: grabbing; }

#robots-ui {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* --- APP CONTAINER --- */
#app {
  position: relative;
  z-index: 3;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo .logo-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.3s;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.3s;
}

.nav-mobile a:hover {
  color: var(--text);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 var(--section-pad);
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.hero h1 .word-inner {
  display: inline-block;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: #4de5f7;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 60px var(--accent-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent-2);
  color: #fff;
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-2-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-3);
  color: var(--text);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vh, 80px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-2);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* --- INTRO --- */
.intro {
  padding: var(--section-pad) 0;
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.intro-text .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-line {
  width: 80px;
  height: 2px;
  background: var(--gradient);
  margin: 40px auto;
  border-radius: var(--radius-full);
}

.intro-sub {
  text-align: center;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
}

/* --- MODULE CARDS --- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: var(--gap);
}

.module-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  transition: all 0.5s var(--ease);
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.04) 0%,
    transparent 50%,
    rgba(249, 115, 22, 0.03) 100%
  );
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.module-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.2),
    rgba(255, 255, 255, 0.05) 40%,
    rgba(249, 115, 22, 0.15)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.module-card:hover::after {
  opacity: 1;
}

.module-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.module-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.module-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.module-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.module-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.module-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.module-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  flex-shrink: 0;
}

.module-item strong {
  color: var(--text);
  font-weight: 600;
}

.module-item span {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.module-objective {
  padding: 20px;
  background: rgba(34, 211, 238, 0.04);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
}

.module-objective p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.module-objective strong {
  color: var(--accent);
  font-weight: 600;
}

/* --- PRICING --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: var(--gap);
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(34, 211, 238, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.pricing-card.featured {
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 0 1px rgba(34, 211, 238, 0.1) inset;
}

.pricing-card.featured::after {
  content: 'Économisez';
  position: absolute;
  top: 20px;
  right: -32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  margin-bottom: 8px;
}

.pricing-duration {
  font-size: 14px;
  color: var(--text-3);
}

.pricing-from {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-amount .currency {
  font-size: 0.5em;
  color: var(--text-2);
}

.pricing-suffix {
  font-size: 14px;
  color: var(--text-3);
}

.pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row-label {
  color: var(--text-2);
}

.pricing-row-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: 18px;
}

.pricing-cta {
  margin-top: 32px;
  text-align: center;
}

/* --- ZONE --- */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.zone-text p {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.8;
}

.zone-text strong {
  color: var(--text);
}

.zone-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.zone-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
  font-size: 14px;
  color: var(--text-3);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 13px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.contact-item-value a {
  transition: color 0.3s;
}

.contact-item-value a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--text-3);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* --- FOOTER --- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-message {
  color: var(--text-2);
  font-size: 15px;
  max-width: 600px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

/* --- COOKIE BANNER --- */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9997;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  width: calc(100% - 48px);
  backdrop-filter: blur(20px);
  transition: transform 0.6s var(--ease);
}

#cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}

#cookie-banner p {
  font-size: 14px;
  color: var(--text-2);
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  width: 0;
}

.reveal-line.revealed {
  width: 80px;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 101;
  transform-origin: left;
  transition: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  button {
    cursor: pointer;
  }

  #cursor {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 52px);
  }

  .modules-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 60px;
  }

  .module-card {
    padding: 24px;
  }

  .pricing-card {
    padding: 24px;
  }
}

/* --- UTILITY --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
