/* =============================================
   Disrupt AI — Styles globaux
   Palette : dark sombre & vibrant (orange / corail)
   ============================================= */

/* ── Tokens de marque ──────────────────────── */
:root {
  --accent-1: #ff6a00;   /* Accent vif 1 — orange incandescent */
  --accent-2: #ff3d63;   /* Accent vif 2 — corail néon */
  --glow:     #ffb899;   /* Pointe de lumière */
  --ink:      #0d0e15;   /* Fond profond */
  --ink-soft: #181a24;   /* Surface & relief */
  --paper:    #f4f5f9;   /* Typographie / surface claire */
  --on-accent:#1a0800;

  --gradient-accent: linear-gradient(135deg, #ff6a00 0%, #ff3d63 100%);
  /* Alias conservés pour compatibilité avec l'existant */
  --gradient-yellow: linear-gradient(135deg, #ff3d63 0%, #ff6a00 100%);
  --gradient-blue:   linear-gradient(135deg, #ff6a00 0%, #ff3d63 100%);
}

/* ── 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: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}

/* ── 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: #ff6a00; }
.eyebrow--yellow { color: #ff3d63; }
.eyebrow--white  { color: rgba(255,255,255,0.65); }

/* ── Wordmark Disrupt AI ───────────────────── */
.brand-word {
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #202020;
}
.brand-word em {
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-word--on-dark { color: #f4f5f9; }
.brand-word--sm { font-size: 18px; }
.brand-word--md { font-size: 22px; }
.brand-word--lg { font-size: 28px; }

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

/* ── 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, box-shadow 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 15px;
  padding: 12px 24px;
  height: 48px;
  box-shadow: 0 6px 20px rgba(255,106,0,0.28);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn--blue {
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 15px;
  padding: 12px 24px;
  box-shadow: 0 6px 20px rgba(255,61,99,0.26);
}
.btn--blue:hover { filter: brightness(1.08); transform: translateY(-1px); }

.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: var(--gradient-accent);
  border-color: transparent;
  color: #ffffff;
}

.btn--white {
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  height: 52px;
  box-shadow: 0 8px 24px rgba(255,106,0,0.30);
}
.btn--white:hover { filter: brightness(1.08); 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: var(--gradient-accent);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Messages d'erreur ─────────────────────── */
.form-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #ff3d63;
  margin-bottom: 10px;
  padding: 8px 14px;
  background: rgba(255,61,99,0.10);
  border-radius: 8px;
}
.form-error--blue {
  color: #d94e00;
  background: rgba(255,106,0,0.10);
}

/* ── 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(255,106,0,0.10);
  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:hover { border-color: rgba(255,106,0,0.45); }
.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: #d94e00;
  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: #0d0e15;
  padding: 64px 64px 40px;
  color: #f4f5f9;
}
.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(244,245,249,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: #ffb899;
  border: 1px solid rgba(255,106,0,0.35);
  background: rgba(255,106,0,0.08);
  border-radius: 9999px;
  padding: 4px 12px;
}
.footer__col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #f4f5f9;
  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(244,245,249,0.5);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease;
}
.footer__link:hover { color: #ffb899; }
.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(244,245,249,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;
  }
}
