/* --- 1. RESET & VARIABLES --- */
:root {
    --primary-gold: #c6a87c; 
    --primary-bordeaux: #800020; 
    --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; }

/* --- 2. TYPOGRAPHIE GLOBALE --- */
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); }
.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; }

/* --- 3. 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); }

/* --- 4. HEADER & NAVIGATION --- */
.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; }
.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); }
.nav-toggle, .nav-toggle-label { display: none; }

/* --- 5. HERO SECTION (ACCUEIL UNIQUEMENT) --- */
/* C'est ce bloc qui manquait pour réparer la page d'accueil ! */
.hero {
    height: 85vh;
    background-image: url('images/image_principal.jpg');
    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);
}

.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; }


/* --- 6. PAGE HEADER (PAGES INTERNES : TARIFS, SOINS...) --- */
.page-header {
    height: 40vh; /* Plus petit que l'accueil */
    background-image: url('images/image_principal.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

.overlay-header {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}

.header-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
.header-content h1 { font-size: 3.5rem; color: var(--primary-gold); margin-bottom: 0.5rem; }
.header-content p { font-size: 1.2rem; font-family: var(--font-accent); font-style: italic; }


/* --- 7. DESIGN TABLEAUX TARIFS (CHIC) --- */
.tarif-note { text-align: center; font-style: italic; color: #666; margin-bottom: 3rem; }
.pricing-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; max-width: 1000px; margin: 0 auto; }

.price-category { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border: 1px solid #eee; }
.cat-header { background-color: var(--primary-bordeaux); padding: 15px 20px; text-align: center; }
.cat-header h3 { color: #fff !important; margin: 0; font-size: 1.4rem; font-family: var(--font-heading); letter-spacing: 1px; }

.styled-table { width: 100%; border-collapse: collapse; }
.styled-table td { padding: 15px 20px; color: var(--primary-dark); font-size: 1rem; border-bottom: 1px solid #f0f0f0; }
.styled-table tr:nth-child(even) { background-color: #fcfcfc; }
.styled-table .price { text-align: right; font-weight: 700; color: var(--primary-bordeaux); width: 35%; }
.styled-table tr:hover { background-color: #fdfbf7; transition: 0.2s; }

.full-width { grid-column: 1 / -1; }
.supplements-box { padding: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; background: #fff; }
.tag { background: var(--bg-light); color: var(--primary-dark); padding: 10px 25px; border-radius: 50px; border: 1px solid var(--primary-gold); }
.tag strong { color: var(--primary-bordeaux); margin-left: 5px; }


/* --- 8. GRILLES SERVICES (Coiffure, Onglerie...) --- */
.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; }


/* --- 9. BANNIERE & FOOTER --- */
.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; }
.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); } }

.site-footer { background-color: var(--primary-dark); color: #ccc; padding: 4rem 5% 1rem; margin-top: 0; }
.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; }
.floating-cta { display: none; }


/* --- 10. STYLE FLYER (SLOGAN) --- */
.slogan-flyer { font-size: 1.8rem !important; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 2rem; font-family: var(--font-heading); color: var(--primary-gold); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.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; padding-bottom: 5px; }
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: '•'; color: var(--primary-bordeaux); font-size: 1.5rem; position: absolute; left: 0; top: -5px; line-height: 1; }


/* --- 11. RESPONSIVE MOBILE --- */
@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; }
    .nav-toggle-label { display: block; width: 30px; height: 25px; position: relative; cursor: pointer;}
    .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; }
    #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%; }
    .floating-cta { display: flex; 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); }
    .btn-rdv { display: none; }
    
    .pricing-wrapper { grid-template-columns: 1fr; }
    .styled-table td { padding: 12px 15px; font-size: 0.9rem; }
}