/*  Déclaration de la police */
@font-face {
    font-family: 'Bogart-Medium';
    src: url('fonts/bogart-medium-trial.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

#logoMenu {
    width: 100%;
    max-width: 220px;
}

@media (min-width: 768px) {
    #logoMenu {
        max-width: 330px;
    }
}

#boutonSmartphone {
    margin-top : 3rem!important;
    margin-bottom: 0rem!important;
}

@media (max-width: 772px) {
    #aPropos {
        margin-bottom: 5rem !important;
    }
}

/* Blocs "Mes prestations" page d'accueil */

#prestations {
    background-color: #f7efe4;
}

#prestations .card {
    background-color: #bda28b;
}

#prestations .card h3 {
    color: #4c4c4a!important;
}

#prestations .card li {
    color: #4c4c4a!important;
}

/* Force le body à prendre toute la hauteur de la fenêtre */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Force le contenu principal à pousser le footer vers le bas */
main {
    flex: 1 0 auto;
}

/* Couleurs */
:root {
    --main-beige-light: #F5F1E9;  
    --main-taupe: #D7CEC1;
    --main-nude-pink: #E8D8D0;
    --main-brown-soft: #C2A790;
    --main-terracotta: #C69F86;
}

.text-primary {
    color: var(--main-terracotta) !important;
}

.bg-primary {
    background-color: var(--main-terracotta) !important;
}

/* Style des boutons */
.btn-primary {
    background-color: var(--main-brown-soft);
    border-color: var(--main-brown-soft);
    color: white;
}

.btn-primary:hover {
    background-color: var(--main-terracotta);
    border-color: var(--main-terracotta);
}

.btn-primary:active, 
.btn-primary.active, 
.show > .btn-primary.dropdown-toggle {
    background-color: var(--main-terracotta) !important;
    border-color: var(--main-terracotta) !important;
}

.btn-primary:focus, 
.btn-primary.focus {
    background-color: var(--main-brown-soft);
    border-color: var(--main-brown-soft);
    /* On remplace l'ombre bleue par une ombre légère de ta couleur */
    box-shadow: 0 0 0 0.25rem rgba(198, 159, 134, 0.5) !important; 
}

/* Style des titres et citations */
h1, h2, h3 {
    color: var(--main-brown-soft);
}

.border-primary {
    border-color: var(--main-terracotta) !important;
}

/* Fond de page très léger pour rappeler le nuancier */
body {
    background-color: #fdfcf9; 
    color: #4a4a4a; 
}

/* Page mes travaux */
.img-grid-custom {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.aa-container {
    display: flex;
    height: 350px;
}

.aa-container img {
    width: 50%;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card-work {
    transition: transform 0.3s ease;
}

.card-work:hover {
    transform: translateY(-5px);
}

@media (min-width: 992px) {
    .btn-contact-custom {
        background-color: var(--main-brown-soft);
        border-color: var(--main-brown-soft);
        color: white !important;
        border-radius: 5px;
        padding: 8px 20px !important; 
        transition: background-color 0.3s;
    }

    .btn-contact-custom:hover {
        background-color: var(--main-terracotta);
        border-color: var(--main-terracotta);
        color: white !important;
    }
}

/* Bandeau défilant avis */

/* Le conteneur principal */
.reviews-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: transparent;
}

/* Le rail qui contient les cartes */
.reviews-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

/* Chaque carte d'avis */
.review-card {
    width: 300px; /* Largeur fixe pour la fluidité */
    margin: 0 15px;
    flex-shrink: 0;
}

/* L'animation de défilement */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause au survol */
.reviews-slider:hover .reviews-track {
    animation-play-state: paused;
}

/* Police titres */

h1, h2, h3, h4, h5, h6, .display-4, .card-title {
    font-family: 'Bogart-Medium', serif !important;
}

#pageTravaux h5 {
    font-family: 'system-ui'!important;
    font-weight: 700!important;
}

/* Masque la barre de légende (bandeau blanc) dans GLightbox */
.gslide-description {
    display: none !important;
}
