/* ==== BASE ==== */
body {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: #4a4a4a; /* gris foncé doux */
    text-align: left;
    background-color: #f5f7f4;
}

h1 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #33539d; /* bleu principal */
}

.h5, h5 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #4a4a4a;
}

a {
    text-decoration: none;
    color: #33539d; /* bleu */
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
    color: #ff7c69; /* orange vif */
}

a.btn:hover {
    text-decoration: none;
}

.banner {
    margin: -24px auto 10px auto;
    background-color: #eef3fc; /* bleu très clair */
    padding: 2px 8px;
    border-radius: 4px;
    color: #33539d; /* bleu */
    font-size: 10px;
    display: table;
}

/* ==== MODAL ==== */
.modal-body {
    font-size: 0.9rem;
    color: #4a4a4a;
}

.modal-body strong {
    font-weight: bold;
}

.modal-body h1 {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 10px;
    color: #33539d;
}

.modal-body h2,
.modal-body h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #4a4a4a;
}

/* ==== CARD ==== */
.card {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    background-color: #eef3fc; /* bleu clair */
    transform: scale(1.01);
}

.card-footer {
    background-color: transparent;
    border-top: none;
}

ferronier-card .card div.card-img-top {
    width: 100%;
    height: 200px;
    align-content:center;
    font-size: 10vw;
    text-align:center;
    font-weight: bold;
}
ferronier-card .card img.card-img-top {
    width: 100%;
    height: 200px;
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.img-fit {
    height: 100px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==== BOUTON LIGHT ==== */
.btn-light {
    color: #33539d;
    background-color: #d6e0fb; /* bleu pastel */
    border-color: #d6e0fb;
}

.btn-light:hover,
.btn-light:focus {
    color: #fff;
    background-color: #33539d;
    border-color: #33539d;
    box-shadow: none;
}

/* ==== BOUTON PRIMARY personnalisé ==== */
.btn-primary {
    background-color: #ff7c69; /* orange vif */
    border-color: #ff7c69;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e86450;
    border-color: #e86450;
    color: #fff;
    box-shadow: none;
}

/* ==== BOUTON PARTICIPER ==== */
.btn-contrib {
    color: #fff;                   /* texte blanc par défaut */
    background-color: #33539d;     /* bleu foncé par défaut */
    border-color: #33539d;
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-contrib:hover,
.btn-contrib:focus {
    color: #33539d;                /* texte bleu foncé au survol */
    background-color: #d6e0fb;     /* bleu pastel au survol */
    border-color: #d6e0fb;
    box-shadow: none;
}


/* ==== LISTE DÉROULANTE (filtre) et recherche ==== */
#filtre-type,
#filtre-etiquettes {
  font-weight: 600;
}
#filtre-type:focus,
#filtre-etiquettes:focus {
  border-color: #33539d;
  box-shadow: 0 0 0 0.25rem  #9bb3f0;
  outline: none;
}
input.form-control:focus {
  border-color: #33539d;
  box-shadow: 0 0 0 0.25rem #9bb3f0;
  outline: none;
}
