/* --- Variables couleurs --- */
:root {
    --primary-black: #000000;    /* Noir pur pour correspondre au fond du logo */
    --secondary-black: #1a1a1a;  /* Noir un peu plus clair pour le footer */
    --gold: #EDC286;             /* La couleur exacte de votre logo (Sable/Doré) */
    --gold-dark: #cfa368;        /* Version un peu plus foncée pour le survol */
    --bg-warm: #F9F7F2;          /* Beige très clair pour le fond */
    --white: #ffffff;
    --text-grey: #4a4a4a;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary-black);
    background-color: var(--bg-warm);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utilitaires --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-grey);
}

.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary-black); /* Texte noir sur le bouton doré pour la lisibilité */
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
}


/* --- Bouton Flottant (Couleur Dorée du Logo) --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--gold); /* On reprend la couleur dorée du logo */
    color: var(--primary-black) !important; /* Texte noir pour bien lire sur le doré */
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800; /* Texte bien gras */
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--gold);
}

.floating-btn:hover {
    background-color: var(--primary-black);
    color: var(--gold) !important;
    transform: scale(1.05);
}

/* Animation douce pour attirer l'attention sans être agressif */
.floating-btn {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(237, 194, 134, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(237, 194, 134, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 194, 134, 0); }
}
}

.floating-btn:hover {
    background-color: #e67e00;
    transform: scale(1.05);
}

.floating-btn i {
    font-size: 1.3rem;
}

/* Animation pour attirer l'oeil */
.floating-btn {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--white);
    color: var(--gold);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(237, 194, 134, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(237, 194, 134, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 194, 134, 0); }
}

/* --- Header (NOIR POUR FUSIONNER AVEC LE LOGO) --- */
header {
    background-color: var(--primary-black); /* Le fond passe en noir */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 900;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Un peu plus haut pour laisser respirer le logo */
}

.logo-img {
    height: 80px; /* Taille ajustée pour le logo carré */
    margin-top: 5px;
}

nav ul { display: flex; gap: 30px; align-items: center; }

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
    color: var(--white); /* Texte blanc sur fond noir */
}

nav a:hover { color: var(--gold); }

.btn-nav {
    border: 2px solid var(--gold); /* Bordure dorée */
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--gold);
    color: var(--primary-black);
}

/* --- Hero Section --- */
.hero {
   height: 110vh;
    background-size: contain; /* L'image s'affiche en entier sans zoom */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); /* Un peu plus sombre pour faire ressortir le texte */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 span { color: var(--gold); } /* Si on veut mettre un mot en doré */

.hero p { font-size: 1.5rem; margin-bottom: 10px; }
.sub-hero { font-size: 1.1rem; margin-bottom: 30px; color: #ddd; }

/* --- A Propos --- */
/* Style spécifique pour la présentation */
.about-text p {
    font-size: 1.15rem;
    color: var(--text-grey);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-black);
    border-bottom: 2px solid var(--gold);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.h-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.h-item i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 25px;
}

.img-styled {
    width: 100%;
    /* RÉGLAGE DE LA TAILLE ICI */
    max-width: 100px;           /* Réduit la largeur (tu peux tester 200px si c'est encore trop gros) */
    height: auto;               /* Garde les proportions de la photo */
    
    display: block;
    margin: 20px auto;          /* Centre la photo et ajoute un peu d'espace autour */
    border-radius: 10px;        /* Arrondit légèrement les angles pour la modernité */
    box-shadow: 10px 10px 0px var(--gold); /* Garde le petit rappel doré du logo */
    border: 1px solid #ddd;     /* Un petit contour fin pour la finition */
}
}

@media (max-width: 768px) {
    .img-styled {
        box-shadow: 10px 10px 0px var(--gold);
        margin-top: 40px;
    }
}
.about { background-color: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p { margin-bottom: 20px; font-size: 1.1rem;}

.check-list li {
    margin-bottom: 10px;
    font-weight: 600;
}

.check-list i { color: var(--gold); margin-right: 10px; }

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--gold);
}

/* --- Services (Cartes) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--gold);
}

.service-card:hover { transform: translateY(-5px); }

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-card h3 {
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.service-card p {
    padding: 0 15px;
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* --- Avis --- */
.reviews { background-color: var(--white); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-warm);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #eee;
}

.stars { color: var(--gold); margin-bottom: 15px; font-size: 1.2rem; }

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-grey);
}

.review-author { font-weight: 700; font-size: 0.9rem; }
.review-author span { font-weight: 400; color: #888; font-size: 0.8rem; }

.google-badge {
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
}

/* --- Galerie --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s;
    cursor: pointer;
}

.gallery-item:hover { opacity: 0.8; }

/* --- Footer --- */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding-top: 60px;
    border-top: 5px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-info h3 { color: var(--gold); margin-bottom: 20px; }

/* Logo dans le footer : on lui garde son fond, ou on met un bord blanc fin */
.footer-logo { 
    max-width: 120px; 
    margin-bottom: 20px; 
    border: 1px solid #333;
}

.footer-info p { margin-bottom: 15px; }
.footer-info i { color: var(--gold); width: 25px; text-align: center; margin-right: 10px;}

.copyright {
    background-color: #000;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 15px 0; }
    nav ul { margin-top: 15px; gap: 15px; flex-wrap: wrap; justify-content: center; }
    
    .hero h1 { font-size: 2rem; }
    
    .about-grid, .footer-content { grid-template-columns: 1fr; }
    .about-img { order: -1; }
}
/* Style pour l'icône Instagram */
.social-icon {
    font-size: 1.4rem;
    color: var(--gold) !important;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    color: var(--white) !important;
}

.footer-info a:hover {
    color: var(--gold);
}

.footer-info i.fa-instagram {
    font-size: 1.2rem;
    vertical-align: middle;
}
/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    
    /* On empile les éléments au lieu de les mettre côte à côte */
    .about-grid, .contact-container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    /* On réduit la taille des titres pour qu'ils ne prennent pas tout l'écran */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }

    /* On s'assure que la photo de Lucas reste centrée et à la bonne taille */
    .img-styled {
        width: 180px !important;
        height: 180px !important;
        margin: 20px auto !important;
    }

    /* Le bouton d'appel reste bien visible mais un peu plus compact */
    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* On ajuste le plan pour qu'il ne déborde pas */
    .map-container-small {
        width: 95%;
    }
}
/* --- STYLE DU FORMULAIRE DE DEVIS --- */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box; /* Évite que le champ ne dépasse sur les côtés */
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Alignement de la case à cocher */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    cursor: pointer;
}

.btn-gold {
    width: 100%;
    background-color: #edc286; /* Ta couleur dorée */
    color: #1a1a1a;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-gold:hover {
    background-color: #d4a86a;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espace entre chaque ligne d'info */
}

.map-container {
    margin-top: 20px; /* Espace entre tes réseaux sociaux et la carte */
    border-radius: 8px;
    overflow: hidden; /* Pour que les bords de la carte soient arrondis */
    border: 1px solid #edc286; /* Optionnel : un petit bord doré pour rappeler ton logo */
}

.map-container iframe {
    display: block;
}
/* Container principal en mode "côte à côte" */
.contact-flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* Espace entre les deux colonnes */
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Largeur des colonnes */
.col-left { flex: 1; min-width: 300px; }
.col-right { flex: 1.2; min-width: 350px; }

/* Style des infos de contact */
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Style de la carte */
.map-container {
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

/* Style du formulaire */
.form-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    color: #000; /* Pour que le texte soit lisible sur fond blanc */
}

.form-card input, .form-card select, .form-card textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Adaptation pour Mobile (l'un sous l'autre) */
@media (max-width: 850px) {
    .contact-flex-container {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Mise en page en colonnes */
.contact-flex-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer l'un sous l'autre sur mobile */
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Colonne de gauche (Infos + Map) */
.col-left {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
}

/* Colonne de droite (Formulaire) */
.col-right {
    flex: 1;
    min-width: 320px;
    max-width: 550px;
}

/* Style de la carte sous les infos */
.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #edc286;
}

/* Style du bloc formulaire */
.form-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-card input, .form-card select, .form-card textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Bouton doré */
.btn-gold {
    width: 100%;
    background: #edc286;
    color: #000;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}
.gallery-item:hover {
    transform: scale(1.05);
    transition: 0.3s;
    cursor: pointer;
}