/*
 * Remplace le CDN Tailwind (version de développement, déconseillée en prod)
 * sur les pages terms / privacy / legal / confirm-email / reset-password.
 * Seules les utilitaires réellement utilisées par ces pages sont définies,
 * avec les valeurs Tailwind correspondantes et les couleurs brand du
 * tailwind.config inline d'origine (primary #f2e6d8, secondary #cc6633,
 * text #2C2420).
 */

* { margin: 0; padding: 0; box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { line-height: inherit; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ul { list-style: none; }
img, svg { display: block; vertical-align: middle; }
button, input { font: inherit; color: inherit; }

/* Layout */
.block { display: block; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }
.max-w-none { max-width: none; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }

/* Espacements */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-16 { margin-top: 4rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Typographie */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Couleurs texte */
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-red-500 { color: #ef4444; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-green-500 { color: #22c55e; }
.text-blue-800 { color: #1e40af; }
.text-brand-secondary { color: #cc6633; }
.text-brand-text { color: #2C2420; }

/* Couleurs fond */
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-brand-primary { background-color: #f2e6d8; }
.bg-brand-primary\/20 { background-color: rgba(242, 230, 216, 0.2); }
.bg-brand-secondary { background-color: #cc6633; }

/* Bordures */
.border { border-width: 1px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-t-transparent { border-top-color: transparent; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-400 { border-color: #9ca3af; }
.border-red-200 { border-color: #fecaca; }
.border-red-500 { border-color: #ef4444; }
.border-blue-500 { border-color: #3b82f6; }
.border-brand-primary { border-color: #f2e6d8; }
.border-brand-secondary { border-color: #cc6633; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effets */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }
.transition { transition: color 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s, box-shadow 0.15s, transform 0.15s; }

/* États */
.hover\:bg-opacity-90:hover { opacity: 0.9; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:underline:hover { text-decoration: underline; }
.focus\:ring-2:focus { outline: none; box-shadow: 0 0 0 2px #cc6633; }
.focus\:ring-brand-secondary:focus { box-shadow: 0 0 0 2px #cc6633; }
.focus\:border-transparent:focus { border-color: transparent; }

/* Animation (spinners des pages auth) */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* Équivalent minimal de .prose pour le contenu légal */
.prose p { margin-bottom: 1rem; }
.prose h2 { margin-top: 1.5rem; }
