/* HookLab — CSS statique équivalent aux classes Tailwind utilisées dans index.html.
   Pour le regénérer avec Tailwind : npm install && npm run build (écrase ce fichier). */

/* Reset (équivalent preflight) */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; }
h1, h2 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ol { list-style: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; }
button { cursor: pointer; }
svg { display: block; vertical-align: middle; }
input::placeholder { color: #64748b; opacity: 1; }

/* Layout */
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.place-items-center { place-items: center; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.space-y-3 > :not(:last-child) { margin-bottom: .75rem; }
.space-y-4 > :not(:last-child) { margin-bottom: 1rem; }
.space-y-8 > :not(:last-child) { margin-bottom: 2rem; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }

/* Spacing */
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }

/* Tailles */
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-9 { height: 2.25rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-9 { width: 2.25rem; }

/* Typographie */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.whitespace-pre-line { white-space: pre-line; }
.underline { text-decoration-line: underline; }
.break-all { word-break: break-all; }
.break-words { overflow-wrap: break-word; word-break: break-word; }

/* Couleurs de texte */
.text-white { color: #fff; }
.text-transparent { color: transparent; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-red-300 { color: #fca5a5; }
.text-fuchsia-300 { color: #f0abfc; }
.placeholder-slate-500::placeholder { color: #64748b; opacity: 1; }
.placeholder-slate-600::placeholder { color: #475569; opacity: 1; }

/* Fonds */
.bg-slate-950 { background-color: #020617; }
.bg-slate-900 { background-color: #0f172a; }
.bg-red-950\/50 { background-color: rgba(69, 10, 10, .5); }
.bg-fuchsia-500\/20 { background-color: rgba(217, 70, 239, .2); }
.bg-fuchsia-500\/10 { background-color: rgba(217, 70, 239, .1); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-from), var(--tw-to)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-from), var(--tw-to)); }
.from-fuchsia-500 { --tw-from: #d946ef; }
.from-fuchsia-400 { --tw-from: #e879f9; }
.to-indigo-500 { --tw-to: #6366f1; }
.to-indigo-400 { --tw-to: #818cf8; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Bordures */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-700 { border-color: #334155; }
.border-red-900 { border-color: #7f1d1d; }
.border-fuchsia-500 { border-color: #d946ef; }
.border-fuchsia-500\/30 { border-color: rgba(217, 70, 239, .3); }
.border-fuchsia-500\/40 { border-color: rgba(217, 70, 239, .4); }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }

/* SVG / animation */
.opacity-25 { opacity: .25; }
.opacity-75 { opacity: .75; }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: .15s; }

.inline-block { display: inline-block; }

/* États */
.hover\:opacity-90:hover { opacity: .9; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-red-950\/50:hover { background-color: rgba(69, 10, 10, .5); }
.hover\:text-slate-200:hover { color: #e2e8f0; }
.focus\:border-fuchsia-500:focus { border-color: #d946ef; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(217, 70, 239, .3); }
.focus\:ring-fuchsia-500\/30:focus { box-shadow: 0 0 0 2px rgba(217, 70, 239, .3); }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:opacity-50:disabled { opacity: .5; }

/* Responsive (sm ≥ 640px) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}
