/* ----- VARIABLES & RESET ----- */
:root {
    --beige: #F5F5DC;
    --anthracite: #2B2B2B;
    --white: #FFFFFF;
    --light-grey: #F9F9F9;
    --gold-subtle: #8F6F30;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--gold-subtle) !important;
    outline-offset: 3px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.7; 
    color: var(--anthracite); 
    background: var(--white); 
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ----- HEADER ----- */
header { 
    background: var(--white); 
    padding: 1.5rem 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
	display: flex;
        flex-direction: row;
	justify-content: space-between; 
        gap: 0.5rem;
	align-items: center;
    }

.logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.1rem; letter-spacing: 2px; }

nav ul { display: flex; list-style: none; gap: 3rem; }
nav ul li a { 
    color: var(--anthracite);
    font-weight: 600; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: 0.3s;
}
nav ul li a:hover { color: var(--gold-subtle); }

/* ----- HERO SECTION  ----- */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/photo.webp') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(245, 245, 220, 0.85); /* Votre Beige en voile transparent */
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 850px; }

.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem; 
    line-height: 1.2;
    color: var(--anthracite);
}

.highlight { 
    color: var(--gold-subtle) !important; 
    display: block; 
    font-style: italic;
}

.hero h1 span { color: var(--gold-subtle); display: block; font-style: italic; }

.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; font-weight: 300; letter-spacing: 1px; }

.seo-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-subtle);
    margin-top: 0.5rem; /* Pour le rapprocher du titre */
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center; 
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    padding: 1.2rem 3rem;
    background: var(--anthracite);
    color: var(--beige);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: 0.4s;
    display: inline-block;
}
.btn-main:hover { background: #444; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* ----- SERVICES ----- */
.services { padding: 8rem 0; background: var(--light-grey); }
.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 3rem; 
    text-align: center; 
    margin-bottom: 4rem; 
}

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

.service-item {
    background: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s;
    border-top: 4px solid var(--gold-subtle); /* Ajoute une ligne de rappel couleur */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Ombre légère par défaut */;
}
.service-item:hover { transform: translateY(-10px); border-color: var(--beige); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.service-item h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 1.2rem; letter-spacing: 1px; color: var(--anthracite)}
.service-item p { font-size: 0.95rem; color: #666; font-weight: 300; }

/* ----- BANDEAU PRO ----- */
.promo-banner-pro { background: var(--beige); padding: 4rem 0; text-align: center; }
.banner-flex { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.promo-banner-pro span { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }

.btn-promo-pro {
    padding: 1rem 2.5rem;
    background: var(--anthracite);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-conversion {
    background: var(--gold-subtle); /* Couleur or pour attirer l'oeil */
    color: var(--white);
    padding: 1.2rem 3rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    transition: 0.4s;
}

footer { padding: 4rem 0; background: var(--anthracite); color: rgba(255,255,255,0.8); text-align: center; font-size: 0.9rem; letter-spacing: 1px; }

/* ----- STYLES SPÉCIFIQUES CGV ----- */
.cgv-container {
    padding: 120px 0 80px 0; /* Espace pour le header fixe */
    max-width: 800px; /* Plus étroit pour une meilleure lecture du texte juridique */
}

.cgv-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--anthracite);
    text-align: center;
}

.cgv-content section {
    margin-bottom: 3rem;
}

.cgv-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-subtle);
    border-bottom: 1px solid var(--beige);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.cgv-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
}

.cgv-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.cgv-content li {
    margin-bottom: 0.8rem;
    list-style-type: square;
    color: #444;
}

.cgv-content strong {
    color: var(--anthracite);
    font-weight: 600;
}

.cgv-content a {
    color: var(--gold-subtle);
    text-decoration: underline;
    transition: 0.3s;
}

.cgv-content a:hover {
    color: var(--anthracite);
}

/* Ajustement mobile optimisé */
@media (max-width: 480px) {

.header-content {
        flex-direction: column !important; /* Force le menu sous le logo */
	align-items: center !important;
        gap: 1rem;
        text-align: center;
    }

 .logo {
        font-size: 1.2rem; /* Logo plus petit pour gagner de la place */
    }

nav {
        width: 100%;
    }

 nav ul {
        display: flex;
        flex-direction: row; /* Garde les liens alignés horizontalement */
        gap: 0.8rem;
        flex-wrap: wrap; 
        justify-content: center;
        padding: 0;
    }

nav ul li a {
        font-size: 0.65rem; /* Liens plus compacts */
    }

 header {
        padding: 0.5rem 0;
    }

    .section-title {
        font-size: 1.8rem; /* Titre de section plus proportionné */
    }

    /* Le formulaire de contact */
    #contact form div {
        grid-template-columns: 1fr !important; /* Force une seule colonne */
    }
    

    /* 2. Empêcher le Hero de cacher le texte */
    .hero {
        height: 100vh; /* Utilise toute la hauteur du téléphone */
        padding-top: 100px;
	padding-bottom: 30px; /* Pousse le contenu vers le bas pour ne pas être sous le header */
    }

    .hero h1 { 
        font-size: 1.6rem !important; /* Taille réduite pour mobile */
        line-height: 1.3;
        padding: 0 10px;
    } 

    .highlight {
        display: inline; /* Évite de trop étirer le titre vers le bas sur mobile */
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    } 
    
    .services, #about, #tarifs, #contact {
        padding: 4rem 0 !important; /* Divise l'espacement par 2 sur mobile */
    }

    .service-grid {	
        gap: 1.5rem; /* Rapproche les cartes de services */
    }

.service-item {
        padding: 2rem 1.5rem; /* Réduit l'espace interne excessif */
    }

    .banner-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

/* Style pour le lien d'évitement clavier */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--anthracite);
    color: var(--white);
    padding: 1rem;
    z-index: 2000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0; /* Apparaît en haut de l'écran quand on appuie sur Tab */
}

/* 3. Assurer le contraste des placeholders dans le formulaire */
::placeholder {
    color: #666; 
    opacity: 1; 
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Rendre l'image de profil flexible */
#about img {
    max-width: 100%;
    height: auto;
}

/* Sécurité pour les textes longs (adresses email, etc.) */
p, h1, h2, h3 {
    overflow-wrap: break-word;
    hyphens: manual;
}