/* ==========================================
   VARIABLES DE COULEURS (Ambiance Sauge)
   ========================================== */
:root {
    --main-sauge: #78866b;      /* Vert Sauge principal */
    --sauge-dark: #556b2f;      /* Vert sombre pour les titres */
    --rose-douceur: #f2c2cf;    /* Rose pâle pour les accents */
    --beige-fond: #fdf8f8;      /* Fond très clair pour les sections */
    --noir-text: #333333;
}

/* ==========================================
   STYLES GÉNÉRAUX
   ========================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--noir-text);
}

h1, h2, h3, .text-serif {
    font-family: 'Playfair Display', serif;
}

.text-sauge { color: var(--main-sauge) !important; }
.text-sauge-dark { color: var(--sauge-dark) !important; }

/* ==========================================
   SECTION HERO (Accueil)
   ========================================== */
.hero-section {
    background-color: var(--beige-fond);
    min-height: calc(100vh - 95px);
}

.subtitle {
    color: var(--main-sauge);
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-custom-lg {
    background-color: var(--main-sauge);
    color: white;
    padding: 15px 25px; /* On réduit un peu le padding latéral */
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
    
    /* Correctifs pour le bug mobile */
    display: inline-block;
    white-space: normal;    /* Autorise le texte à aller à la ligne proprement */
    word-wrap: break-word;  /* Coupe les mots si vraiment nécessaire */
    line-height: 1.4;       /* Ajoute de l'espace entre les lignes si le texte double */
    max-width: 100%;        /* Empêche le bouton de déborder de l'écran */
    text-align: center;     /* Centre le texte s'il passe sur deux lignes */
}
@media (max-width: 576px) {
    .btn-custom-lg {
        width: 100%; /* Le bouton prend toute la largeur sur mobile, c'est plus facile de cliquer avec le pouce */
        font-size: 0.9rem; /* On diminue très légèrement la taille de la police */
        padding: 12px 15px;
    }
}

.btn-custom-lg:hover {
    background-color: var(--rose-douceur);
    color: var(--sauge-dark);
}

.hero-img {
    width: 100%;
    height: calc(100vh - 95px);
    object-fit: cover;
}

/* ==========================================
   SECTION SERVICES (Cartes)
   ========================================== */
.service-card {
    border: none;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(120, 134, 107, 0.1) !important;
}

.highlight-card {
    border-top: 4px solid var(--rose-douceur);
}

.btn-link-custom {
    color: var(--sauge-dark);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--rose-douceur);
    transition: 0.3s;
}

/* ==========================================
   FOOTER & ICONES
   ========================================== */
.fas, .fa-solid {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.text-rose { color: var(--rose-douceur); }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.animate-bounce {
    animation: bounce 2s infinite ease-in-out;
}