/* Styles personnalisés */
:root {
    --primary-color: #991b1b; /* red-800 */
    --primary-hover-color: #7f1d1d; /* red-900 */
    --focus-ring-color: #ef4444; /* red-500 */
    --text-color: #000000; /* Noir */
    --background-color: #ffffff;
    --gray-light: #f3f4f6; /* bg-gray-100 */
    --gray-medium: #6b7280; /* text-gray-500 */
    --gray-dark: #1f2937; /* text-gray-800 */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police système commune */
    color: var(--text-color);
    background-color: var(--gray-light);
}

/* Style de base pour les liens pour améliorer le contraste */
a {
    color: var(--primary-color);
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: var(--primary-hover-color);
}

/* Amélioration des focus pour l'accessibilité */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px; /* Optionnel, pour adoucir les coins */
}

/* Assurer que les focus ne sont pas supprimés par défaut */
*:focus {
    outline: none; /* Tailwind peut ajouter outline:none, on s'assure d'avoir un style pour :focus-visible */
}

/* Ajouter une légère ombre aux cartes pour un look moderne */
.shadow-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
}

/* Style pour la classe .prose utilisée dans les pages légales */
.prose {
    color: var(--text-color);
    line-height: 1.7;
}
.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.25em;
}
.prose strong {
    color: var(--text-color); /* Ou une couleur légèrement plus foncée si besoin */
    font-weight: 600;
}
.prose h2 {
    color: var(--primary-color);
    margin-top: 2em;
    margin-bottom: 1em;
}
.prose a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.prose a:hover {
    text-decoration: underline;
}
.prose ul {
    list-style: disc;
    padding-left: 1.5em;
}

/* Animation de fondu à l'apparition (optionnel) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Animations */
.transition-all {
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom shadows */
.custom-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animations pour le menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobileMenu:not(.hidden) {
    animation: slideDown 0.3s ease forwards;
}

/* Media queries personnalisées */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Styles pour les formulaires */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: border-color 0.3s ease;
}

input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(114, 3, 3, 0.2);
}

/* Boutons personnalisés */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
} 