/* ------------------------
   POLICES
------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:wght@400;700&family=Playfair+Display+SC:wght@700&display=swap');

/* ------------------------
   COULEURS
------------------------*/
:root {
    --brun: #4B3932;
    --beige: #E9D5B9;
    --caramel: #C89666;
}

/* ------------------------
   STYLE GLOBAL
------------------------*/
body {
    background-color: var(--brun);
    color: var(--beige);
    font-family: 'Lato', sans-serif;
}

/* ------------------------
   NAVBAR
------------------------*/
/* NAVBAR */
/* NAVBAR */
/* NAVBAR */
/* NAVBAR */
/* NAVBAR transparente devant la photo */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* on enlève le fond brun */
    padding: 25px 50px;
    z-index: 10;
}

/* NAVBAR sur la page d'accueil */
body.home .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
}

/* NAVBAR sur toutes les autres pages */
body:not(.home) .navbar {
    position: relative !important;
    background-color: var(--marron);
    padding: 20px 50px;
}


.header-photo {
    height: 100vh; /* la photo prend toute la hauteur de l'écran */
    background-size: cover;
    background-position: center top; /* colle la photo en haut */
    background-repeat: no-repeat;
    position: relative;
}


/* FLEX PRINCIPAL (logo + liens) */
.nav-container {
    display: flex;
    justify-content: space-between; /* L’élément clé */
    align-items: center;
    width: 100%;
}

/* LOGO */
.navbar-brand img {
    height: 70px;
    width: auto;
}

/* LIENS DE NAVIGATION */
.nav-links {
    display: flex;
    gap: 40px;   /* espacement entre les liens */
}

/* STYLE DES LIENS */
.nav-link {
    color: #E9D5B9;
    text-decoration: none;
    font-family: "Playfair Display SC", serif;
    font-size: 18px;
    letter-spacing: 1px;
    transition: 0.2s;
}

.nav-link:hover {
    color: #C89666;
}

/* État actif (Page en cours) */
.nav-link.active {
    color: var(--caramel) !important; 
    font-weight: 700;                 
    border-bottom: 2px solid var(--caramel); 
}

.avantages-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.avantage h3 {
    text-align: center;
    color: var(--beige);
    font-family: 'Playfair Display', serif;
}

.avantage p {
    text-align: center;
    color: var(--beige);
    max-width: 250px;
    font-size: 15px;
}



/* ------------------------
   TITRES
------------------------*/
h1, h2, h3 {
    font-family: 'Playfair Display SC', serif;
}

/* ------------------------
   SECTION PAGE D’ACCUEIL
------------------------*/
.header-photo {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.header-overlay {
    background: rgba(75, 57, 50, 0.6);
    position: absolute;
    inset: 0;
}

.header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--beige);
}

.header-text h1 {
    font-size: 50px;
}

.btn-dorole {
    background-color: var(--caramel);
    border: none;
    padding: 15px 35px;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none !important;
}

.btn-dorole:hover {
    background-color: #b37850;
}

/* ------------------------
   CONTENU
------------------------*/
.section {
    padding: 80px 10%;
}

.section h2 {
    margin-bottom: 40px;
}

/* ------------------------
   FORMULAIRE DE CONTACT
------------------------*/
form input, form textarea {
    background-color: #5b4636;
    border: 1px solid var(--caramel);
    color: var(--beige);
}

form input::placeholder,
form textarea::placeholder {
    color: #d8c5a8;
}

form label {
    margin-bottom: 5px;
    display: block;
}

/* ------------------------
   PORTFOLIO / IMAGES MENU
------------------------*/
.card {
    background-color: #5b4636;
    border: none;
    color: var(--beige);
}

.card img {
    width: 100%;
    border-radius: 8px;
}

/* ------------------------
   FOOTER
------------------------*/
footer {
    background-color: #3a2c25;
    color: var(--beige);
    padding: 40px;
    text-align: center;
}

/* ------------------------
   TRANSITIONS DE PAGE
------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px); /* La page arrive un peu du bas */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.8s ease-in-out; /* Durée de 0.8 secondes */
}

.card img {
    width: 100%;
    height: 300px;       /* On force une hauteur identique pour tous */
    object-fit: cover;   /* Ça empêche l'image d'être écrasée/déformée */
    border-radius: 8px 8px 0 0; /* Arrondi seulement en haut */
}

/* ------------------------
   NOUVEAU FOOTER PRO
------------------------*/
.footer-pro {
    background-color: #3a2c25; /* Ton brun foncé */
    color: var(--beige);
    padding-top: 60px;
    border-top: 4px solid var(--caramel); /* Une petite ligne décorative */
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
    justify-content: space-around; /* Espacement égal */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col {
    flex: 1; /* Chaque colonne prend la même largeur */
    min-width: 250px; /* Largeur minimum sur mobile */
    margin-bottom: 40px;
    padding-right: 20px;
}

.footer-col h3 {
    font-family: 'Playfair Display SC', serif;
    font-size: 28px;
    color: var(--caramel);
    margin-bottom: 10px;
}

.footer-col h4 {
    font-family: 'Playfair Display SC', serif;
    font-size: 18px;
    color: var(--beige);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none; /* Enlève les puces */
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--beige);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--caramel);
    padding-left: 5px; /* Petit effet de mouvement au survol */
}

.btn-footer {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
}

.footer-bottom {
    background-color: #2e221d; /* Un peu plus foncé que le reste */
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* ------------------------
   PAGE CONTACT STYLE
------------------------*/
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* Espace entre les colonnes */
    justify-content: center;
    align-items: flex-start;
}

/* Style de la colonne Infos (Gauche) */
.contact-infos {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.info-item p {
    margin: 0;
    line-height: 1.5;
    font-size: 1.1rem;
}

/* Style de la boîte Formulaire (Droite) */
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: rgba(91, 70, 54, 0.3); /* Fond semi-transparent */
    padding: 40px;
    border-radius: 12px; /* Coins arrondis */
    border: 1px solid rgba(200, 150, 102, 0.2); /* Bordure subtile */
}

/* Ajustement des champs pour qu'ils prennent toute la largeur */
.contact-form-wrapper input, 
.contact-form-wrapper textarea {
    width: 100%;
    margin-bottom: 20px;
    background-color: #5b4636; /* Couleur de fond des champs */
    border: 1px solid var(--caramel);
    color: var(--beige);
    padding: 12px;
    border-radius: 6px;
}

.contact-form-wrapper input:focus, 
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #fff; /* Bordure blanche quand on clique */
}

/* Amélioration du titre sur la photo */
.header-text h1, 
.header-text p {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Ombre noire floue derrière le texte */
}
/* Effet sur le bouton au survol */
.btn-dorole:hover {
    background-color: #fff;       /* Le fond devient blanc */
    color: var(--caramel);        /* Le texte devient caramel */
    transform: scale(1.05);       /* Le bouton grossit légèrement */
    box-shadow: 0 0 15px rgba(200, 150, 102, 0.6); /* Petite lueur brillante */
    cursor: pointer;
}

/* ------------------------
   BOUTON BANNIÈRE (GHOST BUTTON)
------------------------*/

/* On crée une classe spécifique pour modifier le bouton de base */
.btn-dorole-hero {
    background-color: transparent;    /* Le fond devient transparent */
    border: 2px solid var(--caramel); /* On ajoute une bordure fine */
    color: #fff;                      /* Le texte reste blanc */
    
    margin-top: 40px;                 /* Ça, c'est pour le DESCENDRE ! */
    padding: 12px 35px;               /* Un peu plus large et aéré */
    letter-spacing: 1px;              /* Espacement des lettres élégant */
    transition: all 0.3s ease;        /* Transition douce */
    
    font-family: 'Lato', sans-serif; 
    font-weight: 700;          /* On le met en gras pour qu'il soit bien visible */
    text-transform: uppercase; /* Les majuscules structurent bien le bouton */
    font-size: 16px;
}

/* Effet au survol (quand la souris passe dessus) */
.btn-dorole-hero:hover {
    background-color: var(--caramel); /* Il se remplit de couleur */
    border-color: var(--caramel);
    color: #fff;
    transform: translateY(-3px);      /* Petit effet de "levier" subtil */
    box-shadow: 0 10px 20px -10px rgba(200, 150, 102, 0.5); /* Ombre douce */
}