/* Critical CSS - Styles Above The Fold pour améliorer le First Contentful Paint */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
}

/* Hero Section - Critical */
#hero-badge {
    background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#hero-h1 {
    font-weight: 700;
    line-height: 1.2;
}

#hero-h1 .highlight-word {
    display: inline-block;
    background-color: #111827;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transform: rotate(2deg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

/* Navigation - Critical */
nav {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Buttons CTA - Critical */
.bg-red-600 {
    background-color: #dc2626;
}

.text-white {
    color: #ffffff;
}

.hover\:bg-red-700:hover {
    background-color: #b91c1c;
}

/* Loading state */
.hidden {
    display: none;
}

/* Smooth transitions */
.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(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Container max-width */
.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Flex utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Spacing */
.gap-4 {
    gap: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* Typography */
.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-semibold {
    font-weight: 600;
}

/* Colors */
.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

/* Responsive - Mobile First */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}
