/* Amélioration du lissage des polices sur tous les navigateurs (notamment Mac/Safari) */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* S'assure que les images ne débordent jamais sur les petits écrans Safari/Chrome */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- RESET & VARIABLES --- */
:root {
    --primary-gold: #c6a87c; 
    --primary-bordeaux: #800020; /* Ajout de la couleur du flyer */
    --primary-dark: #1f1f1f;
    --bg-light: #fdfbf7;     
    --white: #ffffff;
    --text-grey: #4a4a4a;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-grey);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- TYPOGRAPHIE --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-bordeaux); /* Changé pour le bordeaux */
}

.section-title p {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 0.5rem auto 1rem;
}

/* --- BOUTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #b0936a;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-gold);
}

.btn-white:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* --- HEADER & NAV --- */
.topbar {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    font-size: 0.8rem;
    padding: 8px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px; /* Ajuster selon ton logo */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.btn-rdv a {
    background-color: var(--primary-dark);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-rdv a:hover {
    background-color: var(--primary-gold);
}

/* --- MOBILE NAV (BURGER) --- */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    background-image: url('images/image_principal.jpg'); /* Image fournie */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); /* Assombrit l'image pour lisibilité */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-accent);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- SERVICES GRID (Commun Coiffure & Soins) --- */
.section-padding {
    padding: 5rem 5%;
}

.bg-light {
    background-color: var(--bg-light);
}

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

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

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-img img {
    transform: scale(1.05);
}

.card-info {
    padding: 1.5rem;
    text-align: center;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- SECTION ONGLERIE SPECIFIQUE --- */
.onglerie-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.onglerie-list {
    flex: 1;
}

.onglerie-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.onglerie-item i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.onglerie-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-bordeaux); /* Changé pour le bordeaux */
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.onglerie-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* --- BANNIERE RESERVATION --- */
.booking-banner {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.banner-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Animation Pulse sur le bouton */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--primary-dark);
    color: #ccc;
    padding: 4rem 5% 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.phone-link {
    display: block;
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- BOUTON FLOTTANT (Mobile) --- */
.floating-cta {
    display: none; /* Caché sur desktop */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-dark);
    color: var(--primary-gold);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary-gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid #eee;
        display: none; /* Caché par défaut */
    }

    /* Logique Burger Menu Pure CSS */
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
    }
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        background: var(--primary-dark);
        height: 3px;
        width: 100%;
        position: absolute;
        transition: 0.3s;
    }
    .nav-toggle-label span { top: 11px; }
    .nav-toggle-label span::before { content: ''; top: -11px; }
    .nav-toggle-label span::after { content: ''; top: 11px; }

    #nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    /* Transformations Burger */
    #nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    #nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    #nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }

    .hero-content h1 { font-size: 2.5rem; }
    
    .onglerie-wrapper {
        flex-direction: column;
    }
    
    .onglerie-img { order: -1; width: 100%; }

    /* Afficher le bouton flottant sur mobile */
    .floating-cta { display: flex; }
    .btn-rdv { display: none; } /* Cacher le bouton header sur mobile */
}

/* --- NOUVEAUX STYLES POUR LE FLYER --- */

/* Style du slogan en majuscules */
.slogan-flyer {
    font-size: 1.8rem !important; /* Force la taille */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    color: var(--primary-gold); /* En doré comme sur le flyer */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Style des listes à puces (Épilation) */
.service-list {
    text-align: left;
    padding-left: 1rem;
    margin-top: 15px;
}

.service-list li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px dashed #eee; /* Petite ligne de séparation */
    padding-bottom: 5px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '•';
    color: var(--primary-bordeaux); /* Puce couleur bordeaux */
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
    line-height: 1;
}

/* --- VARIABLES COULEURS MBOA GLAM --- */
:root {
    --gold: #C09A6E;        /* Le doré des textes et boutons */
    --gold-hover: #A6835A;
    --dark: #1A1A1A;        /* Noir/Gris très foncé */
    --white: #FFFFFF;
    --text-grey: #555555;
    
    --font-title: 'Bebas Neue', sans-serif; /* Pour "MBOA GLAM" */
    --font-elegant: 'Playfair Display', serif; /* Pour le sous-titre doré */
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: #FAFAFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- BARRE SUPÉRIEURE NOIRE --- */
.top-bar {
    background-color: #111111;
    color: #DDDDDD;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* --- NAVIGATION BLANCHE --- */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste selon la taille de ton logo */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-grey);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--dark);
}

.btn-rdv-nav {
    background-color: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 3px;
}

.btn-rdv-nav:hover {
    background-color: #333333;
}

/* --- BANDEAU HERO (SOIN) --- */
.hero-soin {
    position: relative;
    /* Remplace ce lien par l'image exacte que tu as uploadée si tu l'héberges quelque part */
    background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); 
    background-size: cover;
    background-position: center 30%; /* Centre l'image sur le visage */
    height: 55vh; /* Hauteur réduite par rapport à un 100vh de page d'accueil */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Assombrit l'image pour lire le texte */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4.5rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 35px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* --- BOUTONS HERO --- */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px; /* Bords arrondis comme sur ton image */
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* --- SECTION CONTENU (Exemple) --- */
.content-section {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Cache le menu texte sur mobile (nécessite un menu burger en JS normalement) */
    }
    
    .hero-soin {
        height: 40vh; /* Encore moins haut sur téléphone */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
    }
}