/* Ce fichier est chargé tel quel par le navigateur : aucune compilation
   (Tailwind, PostCSS, Vite...) n'est nécessaire. Les classes utilitaires
   Tailwind (bg-primary, text-on-surface, etc.) sont générées à la volée par
   le script "Play CDN" chargé dans le layout ; seules les classes
   personnalisées ci-dessous (non-Tailwind) sont définies ici. */

[x-cloak] {
    display: none !important;
}

body {
    font-family: 'Cairo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.organic-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(27, 28, 25, 0.1) 0%, rgba(27, 28, 25, 0.75) 100%);
}

.form-input-bottom-border {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(107, 2, 23, 0.2); /* primary à 20% */
    padding: 0.5rem 0;
    font-family: 'Cairo', sans-serif;
    color: #1b1c19; /* on-surface */
    border-radius: 0;
    transition: border-color 0.2s ease;
}
.form-input-bottom-border:focus {
    outline: none;
    box-shadow: none;
    border-bottom-color: #6b0217; /* primary */
}

.upload-area-dashed {
    border: 2px dashed rgba(107, 2, 23, 0.2);
    transition: all 0.3s ease;
}
.upload-area-dashed:hover {
    border-color: rgba(107, 2, 23, 0.5);
    background-color: rgba(107, 2, 23, 0.05);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #6b0217; /* primary */
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover:not(:disabled) {
    background-color: #8b1e2b; /* primary-container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.btn-primary:active:not(:disabled) {
    transform: scale(0.95);
}
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.7s ease-out both;
}
