/* ============================================ */
/* STYLE GLOBAL - Viviane Augou                  */
/* Palette : #120D09 #763F21 #664631 #BA957A #928275 */
/* ============================================ */

:root {
    --color-dark: #120D09;
    --color-brown: #763F21;
    --color-brown-light: #664631;
    --color-beige: #BA957A;
    --color-taupe: #928275;
    --color-white: #FFFFFF;
    --color-off-white: #F8F6F3;
    --color-cream: #F5F0EB;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--color-off-white);
    color: var(--color-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-off-white); }
::-webkit-scrollbar-thumb { background: rgba(186,149,122,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(186,149,122,0.6); }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Liens */
a { text-decoration: none; color: inherit; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Utilitaires */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-light { font-weight: 300; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.hidden { display: none !important; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-slideUp { animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
/* Toast - Version corrigée */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 380px;
    backdrop-filter: blur(12px);
    font-size: 14px;
    line-height: 1.3;
    word-break: break-word;
}

.toast i.fa-check-circle,
.toast i.fa-times-circle,
.toast i.fa-info-circle,
.toast i.fa-exclamation-triangle {
    font-size: 20px;
    flex-shrink: 0;
}

.toast span {
    flex: 1;
    min-width: 0;
}

.toast .toast-close {
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.toast .toast-close:hover {
    opacity: 1;
}

.toast.success {
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
}

.toast.error {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
}

.toast.info {
    background: linear-gradient(135deg, #664631, #BA957A);
    color: white;
}

.toast.warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 768px) {
    .toast-container {
        left: 12px;
        right: 12px;
        top: 12px;
    }
    .toast {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .container { padding: 0 16px; }
}