/* CSS Critique - Above the fold content */
/* Classes Tailwind les plus utilisées pour le rendu initial */

/* Layout */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Colors */
.text-primary {
    color: #04487a;
}

.bg-primary {
    background-color: #04487a;
}

.text-white {
    color: #ffffff;
}

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

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

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

.text-gray-800 {
    color: #1f2937;
}

.text-black {
    color: #000000;
}

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

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

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-opacity-10 {
    background-color: rgba(0, 0, 0, 0.1);
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Typography */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-7xl {
    font-size: 4.5rem;
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

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

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

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

.mb-8 {
    margin-bottom: 2rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

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

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.justify-center {
    justify-content: center;
}

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

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

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.right-3 {
    right: 0.75rem;
}

.right-4 {
    right: 1rem;
}

.top-3 {
    top: 0.75rem;
}

.top-4 {
    top: 1rem;
}

.left-0 {
    left: 0;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-max {
    width: max-content;
}

.w-12 {
    width: 3rem;
}

.w-32 {
    width: 8rem;
}

.w-96 {
    width: 24rem;
}

.h-full {
    height: 100%;
}

.h-32 {
    height: 8rem;
}

.h-64 {
    height: 16rem;
}

.h-96 {
    height: 24rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.md\:w-4\/5 {
    @media (min-width: 768px) {
        width: 80%;
    }
}

/* Border & Radius */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-l-4 {
    border-left-width: 4px;
}

.border-primary {
    border-color: #04487a;
}

/* Z-index */
.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* 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;
}

.transition-300 {
    transition-duration: 300ms;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:text-black:hover {
    color: #000000;
}

.hover\:text-primary:hover {
    color: #04487a;
}

/* Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:h-96 {
        height: 24rem;
    }
    
    .md\:pb-24 {
        padding-bottom: 6rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid {
        display: grid;
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:hidden {
        display: none;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Utilities */
.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}

.object-cover {
    object-fit: cover;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.text-center {
    text-center;
}

/* Background image */
.bg-image-home {
    background-image: url('../images/service/image-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: -1;
    opacity: 0.5;
    left: 0;
    top: 0;
}

/* Padding top pour le header */
.pt-130 {
    padding-top: 130px;
}

