/**
 * CSS personnalisé complet - Remplace Tailwind CDN
 * Toutes les classes utilisées dans le thème
 */

/* === BASE === */
html.h-full { height: 100%; }
body { margin: 0; }

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* === FLEXBOX === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-12 > * + * { margin-left: 3rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* === GRID === */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.justify-items-center { justify-items: center; }

/* === DISPLAY === */
.hidden { display: none; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.block { display: block; }

/* === RESPONSIVE MD (768px+) === */
@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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-1 { flex: 1 1 0%; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
    .md\:w-1\/2 { width: 50%; }
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
}

/* === SPACING === */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem;}
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.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; }
.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-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 {margin-bottom: 4rem;}
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem;}

/* === TYPOGRAPHY === */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.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-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-relaxed { line-height: 1.625; }

/* === COLORS === */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; }
.text-blue-600 { color: #2563eb; }
.text-purple-600 { color: #9333ea; }
.text-orange-600 { color: #ea580c; }

/* Couleurs personnalisées du thème */
.text-\[\#1a5276\] { color: #1a5276; }
.text-\[\#2F6234\] { color: #2F6234; }
.text-\[\#c0392b\] { color: #c0392b; }
.bg-\[\#2F6234\] { background-color: #2F6234; }
.bg-\[\#1a5276\] { background-color: #1a5276; }
.border-\[\#2F6234\] { border-color: #2F6234; }

/* === BACKGROUNDS === */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.text-gray-100 { color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-900 { background-color: #111827; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-green-100 { background-color: #dcfce7; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-red-600\/10 { background-color: rgba(220, 38, 38, 0.1); }
.bg-green-600\/10 { background-color: rgba(22, 163, 74, 0.1); }
.bg-transparent { background-color: transparent; }
.bg-opacity-10 { --tw-bg-opacity: 0.1; }
.bg-opacity-90 { --tw-bg-opacity: 0.9; }
.bg-black\/60 {background-color: rgb(0 0 0 / 0.6);}
.bg-center { background-position: center; }
.bg-cover { background-size: cover; }

/* === BORDERS === */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-800 { border-color: #1f2937; }
.border-white { border-color: #ffffff; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* === SHADOWS === */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl {box-shadow:  0 25px 50px -12px rgb(0 0 0 / 0.25);}

/* === EFFECTS === */
.backdrop-blur { backdrop-filter: blur(12px); }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }
.overflow-hidden { overflow: hidden; }

/* === TRANSITIONS === */
.transition { transition-property: all; transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 300ms; }
.transition-all { transition-property: all; transition-duration: 300ms; }
.transition-shadow { transition-property: box-shadow; transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* === TRANSFORMS === */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }

/* === HOVER STATES === */
.hover\:text-\[\#c0392b\]:hover { color: #c0392b; }
.hover\:text-\[\#2F6234\]:hover { color: #2F6234; }
.hover\:text-\[\#1a5276\]:hover { color: #1a5276; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-black:hover { color: #000000; }
.hover\:bg-\[\#1a5276\]:hover { background-color: #1a5276; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }

/* GROUP HOVER */
.group:hover .group-hover\:block { display: block; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* === POSITION === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.top-8 { top: 2rem; }
.top-full { top: 100%; }
.bottom-2rem { bottom: 2rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* === SIZING === */
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-48 { width: 12rem; }
.w-auto { width: auto; }
.h-1 { height: 0.25rem; }
.h-4 { height: 1rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }

/* === RESPONSIVE MD (768px+) === */
@media (min-width: 768px) {
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:h-96 { height: 24rem; }
    .md\:text-left { text-align: left; }
}

/* === RESPONSIVE LG (1024px+) === */
@media (min-width: 1024px) {
    .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .lg\:gap-16 { gap: 4rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* === RESPONSIVE SM (640px+) === */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* === UTILITIES === */
.list-none { list-style: none; }
.object-cover { object-fit: cover; }
.prose { max-width: 65ch; }
.max-w-none { max-width: none; }
.max-h-16 { max-height: 4rem; }
.max-h-20 { max-height: 5rem; }
.underline { text-decoration: underline; }

/* === FORM ELEMENTS === */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    background-color: white;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #2F6234;
    border-color: #2F6234;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 3px rgba(47, 98, 52, 0.5); }
.focus\:ring-\[\#2F6234\]:focus { box-shadow: 0 0 0 3px rgba(47, 98, 52, 0.5); }
.focus\:border-transparent:focus { border-color: transparent; }
