@charset "UTF-8";
/*

 */
/* ==========================================================================
   Home – page d’accueil (design moderne, clair)
   Structure : Variables → Reset → Layout → Typo → Composants → Helpers → A11y
   ========================================================================== */
/* ========== Variables (light/dark via prefers-color-scheme) ========== */
/* line 7, app/assets/stylesheets/pages/_home.scss */
:root {
  --bg: #0b0e14;
  --surface: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #4f46e5;
  --primary-600: #4338ca;
  --ring: #a78bfa;
  --border: rgba(148,163,184,.18);
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 30px rgba(0,0,0,.28);
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --max-w: 720px;
}

@media (prefers-color-scheme: light) {
  /* line 32, app/assets/stylesheets/pages/_home.scss */
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --shadow-lg: 0 12px 30px rgba(2,6,23,.08);
    --border: rgba(15,23,42,.12);
  }
}

/* ========== Reset minimal ========== */
/* line 43, app/assets/stylesheets/pages/_home.scss */
* {
  box-sizing: border-box;
}

/* line 44, app/assets/stylesheets/pages/_home.scss */
html, body {
  height: 100%;
}

/* line 45, app/assets/stylesheets/pages/_home.scss */
body {
  margin: 0;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(79, 70, 229, 0.18), transparent 60%), radial-gradient(800px 400px at -10% 20%, rgba(167, 139, 250, 0.18), transparent 60%), var(--bg);
  color: var(--text);
  font: 400 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ========== Layout ========== */
/* line 58, app/assets/stylesheets/pages/_home.scss */
.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: var(--space-8);
}

/* line 65, app/assets/stylesheets/pages/_home.scss */
.container {
  width: 100%;
  max-width: var(--max-w);
}

/* line 70, app/assets/stylesheets/pages/_home.scss */
.container--card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  transform: translateY(6px);
  animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

/* ========== Typographie ========== */
/* line 83, app/assets/stylesheets/pages/_home.scss */
.hero {
  margin-bottom: var(--space-8);
}

/* line 87, app/assets/stylesheets/pages/_home.scss */
.hero__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* line 95, app/assets/stylesheets/pages/_home.scss */
.hero__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* ========== Composants ========== */
/* Boutons */
/* line 103, app/assets/stylesheets/pages/_home.scss */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5ch;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
  position: relative;
}

/* line 116, app/assets/stylesheets/pages/_home.scss */
.btn::after {
  content: "→";
  opacity: .8;
  transform: translateX(0);
  transition: transform .2s ease, opacity .2s ease;
}

/* line 123, app/assets/stylesheets/pages/_home.scss */
.btn:hover {
  transform: translateY(-1px);
}

/* line 127, app/assets/stylesheets/pages/_home.scss */
.btn:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* line 132, app/assets/stylesheets/pages/_home.scss */
.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  color: #fff;
}

/* line 137, app/assets/stylesheets/pages/_home.scss */
.btn--primary:hover {
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
  filter: saturate(1.05);
}

/* line 142, app/assets/stylesheets/pages/_home.scss */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* line 148, app/assets/stylesheets/pages/_home.scss */
.btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.45);
}

/* Groupe d’actions */
/* line 153, app/assets/stylesheets/pages/_home.scss */
.actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* line 160, app/assets/stylesheets/pages/_home.scss */
.actions__separator {
  color: rgba(148, 163, 184, 0.6);
  user-select: none;
}

@media (max-width: 480px) {
  /* line 165, app/assets/stylesheets/pages/_home.scss */
  .actions__separator {
    display: none;
  }
}

/* ========== Helpers utils ========== */
/* line 169, app/assets/stylesheets/pages/_home.scss */
.u-text-center {
  text-align: center;
}

/* ========== Focus & accessibilité ========== */
/* line 172, app/assets/stylesheets/pages/_home.scss */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ========== Préférences d’utilisateur ========== */
@media (prefers-reduced-motion: reduce) {
  /* line 180, app/assets/stylesheets/pages/_home.scss */
  * {
    animation: none !important;
    transition: none !important;
  }
}
