/* =============================================
   AI Data Leaders Summit — Styles globaux
   ============================================= */

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

html { scroll-behavior: smooth; }

body {
  background: #f9f7f3;
  font-family: 'DM Sans', sans-serif;
  color: #202020;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; }
a { text-decoration: none; }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f9f7f3; }
::-webkit-scrollbar-thumb {
  background: rgba(32,32,32,0.2);
  border-radius: 9999px;
}

/* ── Focus ─────────────────────────────────── */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #ea2804 !important;
  box-shadow: 0 0 0 3px rgba(234,40,4,0.1);
}

/* ── Transitions de page ───────────────────── */
.page-enter {
  opacity: 0;
  transform: translateY(8px);
}
.page-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 250ms ease, transform 250ms ease;
}

/* ── Utilitaires typographie ───────────────── */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--blue  { color: #2A17FC; }
.eyebrow--yellow { color: #FCDB16; }
.eyebrow--white { color: rgba(255,255,255,0.65); }

/* ── Container ─────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Gradients CTA "sparkle" (calqués sur le logo) ─── */
:root {
  --gradient-yellow: linear-gradient(-172deg, rgba(13, 10, 128, 1) 0%, rgba(26, 16, 212, 1) 12%, rgba(42, 23, 252, 1) 38%, rgba(123, 90, 255, 1) 58%, rgba(240, 192, 0, 1) 76%, rgba(252, 219, 22, 1) 100%);
  --gradient-blue:   linear-gradient(-172deg, rgba(252, 219, 22, 1) 0%, rgba(240, 192, 0, 1) 12%, rgba(123, 90, 255, 1) 38%, rgba(42, 23, 252, 1) 58%, rgba(26, 16, 212, 1) 76%, rgba(13, 10, 128, 1) 100%);
}

/* ── Boutons globaux ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  transition: filter 150ms ease, transform 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: rgb(252 219 22);
  color: #000000;
  font-size: 15px;
  padding: 12px 24px;
  height: 48px;
}
.btn--primary:hover { filter: brightness(1.1); }

.btn--blue {
  background: var(--gradient-blue);
  color: #ffffff;
  font-size: 15px;
  padding: 12px 24px;
}
.btn--blue:hover { filter: brightness(1.1); }

.btn--outline {
  background: transparent;
  border: 1px solid #202020;
  color: #202020;
  font-size: 15px;
  padding: 10px 22px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--outline:hover {
  background: rgb(252 219 22);
  border-color: transparent;
  color: #000000;
}

.btn--white {
  background: rgb(252 219 22);
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  height: 52px;
}
.btn--white:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 15px;
  padding: 12px 24px;
  height: 48px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn--ghost:hover {
  background: rgb(252 219 22);
  border-color: transparent;
  color: #000000;
  transform: translateY(-2px);
}

/* ── Messages d'erreur ─────────────────────── */
.form-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #FCDB16;
  margin-bottom: 10px;
  padding: 8px 14px;
  background: rgba(252,219,22,0.1);
  border-radius: 8px;
}
.form-error--blue {
  color: #2A17FC;
  background: rgba(42,23,252,0.1);
}

/* ── Succès ────────────────────────────────── */
.success-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}
.success-screen__inner {
  max-width: 520px;
  text-align: center;
}
.success-screen__icon {
  width: 64px;
  height: 64px;
  background: rgba(42,23,252,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-screen__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #202020;
  margin-bottom: 16px;
}
.success-screen__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #575757;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ── Upload zone ───────────────────────────── */
.upload-zone {
  border: 2px dashed rgba(32,32,32,0.15);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  background: #f9f7f3;
  cursor: pointer;
}
.upload-zone__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #8d8d8d;
  margin-bottom: 8px;
}
.upload-zone__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2A17FC;
  cursor: pointer;
  text-decoration: underline;
}
.upload-zone__filename {
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #2b9a66;
}

/* ── Footer ────────────────────────────────── */
.site-footer {
  background: #000000;
  padding: 64px 64px 40px;
  color: #fcfcfc;
}
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer__tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(252,252,252,0.5);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer__date-chip {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(252,252,252,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 4px 12px;
}
.footer__col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fcfcfc;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(252,252,252,0.5);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease;
}
.footer__link:hover { color: rgba(252,252,252,0.85); }
.footer__divider {
  max-width: 1280px;
  margin: 0 auto 24px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(252,252,252,0.35);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 48px 24px 32px;
  }
}
