:root {
    --bleu-profond: #0A2540;
    --bleu-median: #1E4D7B;
    --bleu-clair: #E8F1FA;
    --bleu-ciel: #A8D0F0;
    --accent-dore: #D4AF37;
    --orange-ci: #F7941D;
    --vert-ci: #009E60;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-ci), var(--vert-ci));
    z-index: 100;
    transition: width 0.1s ease;
}

  /* Toast */
/* Toast - Positionné en haut à droite */
.toast-msg {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.4s ease;
}
@keyframes toastIn { 
    from { transform: translateY(100px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

    .toast.success { border-left-color: var(--vert-ci); }
    .toast.error { border-left-color: #EF4444; }       
     

@keyframes slideIn {
    to { transform: translateX(0); }
}

/* Product cards */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
}

/* Category filters */
.category-filter {
    transition: all 0.3s ease;
}

.category-filter.active {
    background-color: var(--orange-ci) !important;
    color: white !important;
    border-color: var(--orange-ci) !important;
}

/* Ripple effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(247, 148, 29, 0.3);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    animation: ripple-animation 0.7s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    from { transform: scale(1); opacity: 0.4; }
    to { transform: scale(50); opacity: 0; }
}

/* Modal */
.modal-content {
    animation: modalEnter 0.3s ease-out;
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Service cards */
.service-card { transition: all 0.3s var(--transition-smooth); }
.service-card:hover { transform: translateY(-8px); }

/* Bouton retour en haut */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-3px);
}

/* Header fixe */
#header {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#header.header-hidden {
    transform: translateY(-100%);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    main { padding-top: 6rem; }
}