/* Base variables and utility for Certificates Module */
:root {
    --cert-navy: #0f3b63;
}

.text-navy {
    color: var(--cert-navy);
}

.bg-navy {
    background-color: var(--cert-navy);
}

.max-w-700 {
    max-width: 700px;
}

/* `.btn-gold` n'est PAS redéfini ici. styles_new.css en est l'unique
   définition (fond or, texte bleu nuit — jamais blanc, cf. charte) ; ce fichier
   étant chargé APRÈS, une redéfinition ici l'écrasait. Elle peignait du blanc
   sur or, soit 2,10:1, sur le bouton d'envoi de la fiche certificat.
   `test_no_other_stylesheet_redefines_btn_gold` empêche le retour. */

/* Animations for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pole-card, .cert-card {
    animation: fadeInUp 0.5s ease backwards;
}

/* Delays for children cards */
.col-md-6:nth-child(1) .cert-card { animation-delay: 0.1s; }
.col-md-6:nth-child(2) .cert-card { animation-delay: 0.2s; }
.col-md-6:nth-child(3) .cert-card { animation-delay: 0.3s; }
.col-md-6:nth-child(4) .cert-card { animation-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .price-sticky {
        position: static !important;
    }
    .price-card {
        margin-bottom: 24px;
    }
}
@media (max-width: 575.98px) {
    .cert-hero-content { padding: 36px 0 28px; }
    .hero-stats { padding: 14px 16px; }
    .hero-stat { padding: 0 14px; }
}
