/* critical.css — Above-the-fold styles pour chargement non-bloquant de Tailwind */
/* Ce fichier est chargé en bloquant (petit, ~3KB) pour éviter le FOUC */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
a, p, li, span, div { word-wrap: break-word; overflow-wrap: break-word; }

/* Couleurs & typo */
body { background-color: #f9fafb; color: #1f2937; font-family: 'Poppins', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }
.font-sans { font-family: 'Poppins', sans-serif; }
.bg-light { background-color: #f9fafb; }
.bg-primary { background-color: #1a56db; }
.bg-secondary { background-color: #f59e0b; }
.bg-white { background-color: #fff; }
.text-white { color: #fff; }
.text-primary { color: #1a56db; }
.text-secondary { color: #f59e0b; }
.text-dark { color: #1f2937; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* Layout */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-20 { width: 5rem; }
.h-1 { height: 0.25rem; }
.h-10 { height: 2.5rem; }
.h-full { height: 100%; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.object-cover { object-fit: cover; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05); }

/* Spacing */
.p-5 { padding: 1.25rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.gap-4 { gap: 1rem; }
.space-y-4 > :not(:first-child) { margin-top: 1rem; }

/* Typo */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.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; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-relaxed { line-height: 1.625; }

/* Responsive */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:inline { display: inline; }
    .md\:static { position: static; }
    .md\:items-center { align-items: center; }
    .md\:w-auto { width: auto; }
    .md\:shadow-none { box-shadow: none; }
    .md\:p-0 { padding: 0; }
    .md\:space-y-0 > :not(:first-child) { margin-top: 0; }
    .md\:space-x-8 > :not(:first-child) { margin-left: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.bg-black\/60 { background-color: rgba(0,0,0,.6); }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Font loading */
@font-face { font-family: 'Poppins'; font-display: swap; }
@font-face { font-family: 'Playfair Display'; font-display: swap; }
