/* ===== LEVEL 2 — SALON DE COIFFURE ===== */
/* Palier "Pro" : propre et lisible, vraies polices et photos, mais design à plat.
   Animations minimales (simples fondus), pas d'ombres portées ni d'effets de survol
   sophistiqués — volontairement un cran sous le niveau 3. */

:root {
    --primary: #3a2e3f;
    --primary-deep: #2c2230;
    --accent: #b58a5f;
    --accent-dark: #8f6a44;
    --accent-soft: #e8d5c4;
    --text: #4a4148;
    --text-light: #8a7f86;
    --bg: #fbf7f4;
    --bg-white: #fff;
    --border: #e7ddd4;
    --radius: 8px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ANIMATIONS — fondu simple à l'apparition (opacité uniquement) */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease;
}
[data-aos].visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-aos] { opacity: 1 !important; transition: none; }
}

/* HEADER — barre blanche pleine, simple */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
}
.nav a:not(.btn):hover { color: var(--accent-dark); }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0; right: 0;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* BUTTONS — pleins, simples, sans ombre ni dégradé */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--accent);
}
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 14px 34px; font-size: 0.98rem; }
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* HERO — image + voile sombre, contenu simple */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,22,30,0.55);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
}
.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 14px;
    font-weight: 500;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 30em;
}

/* SECTIONS */
section { padding: 80px 0; }
.section-tag {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 10px;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 44px;
    color: var(--primary);
}
/* filet simple sous les titres centrés */
h2:not([style])::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--accent);
}

/* PRESTATIONS — cartes plates */
.presta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.presta-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.presta-card-img { overflow: hidden; }
.presta-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.presta-body { padding: 22px; }
.presta-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary);
}
.presta-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.presta-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
    color: var(--text);
}
.presta-prices strong { color: var(--accent-dark); }

/* GALERIE */
.galerie {
    padding: 80px 0;
    background: var(--primary);
}
.galerie .section-tag { color: var(--accent-soft); }
.galerie h2 { color: #fff; }
.galerie h2::after { background: var(--accent); }
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.galerie-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}
.galerie-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* EQUIPE — fiches plates */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
}
.membre { padding: 24px 18px; }
.membre img {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--accent-soft);
}
.membre h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.membre span {
    font-size: 0.82rem;
    color: var(--accent-dark);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}
.membre p { font-size: 0.88rem; color: var(--text-light); }

/* AVIS SLIDER — simple */
.avis { background: var(--bg); }
.avis-slider { position: relative; max-width: 700px; margin: 0 auto; }
.avis-card {
    display: none;
    text-align: center;
    padding: 40px 36px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.avis-card.active { display: block; }
.avis-card p {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--primary);
    margin-bottom: 18px;
}
.avis-author strong { display: block; font-size: 0.95rem; color: var(--primary); }
.avis-author span { font-size: 0.9rem; color: var(--text-light); }
.avis-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: none;
    cursor: pointer;
}
.dot.active { background: var(--accent); }

/* HORAIRES */
.horaires { background: var(--bg); }
.horaires-map iframe { display: block; border-radius: var(--radius); }
.horaires-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}
.horaires-table { margin: 20px 0; }
.h-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.horaires-adresse { margin-top: 22px; }
.horaires-adresse p { margin-bottom: 6px; font-size: 0.95rem; }
.horaires-adresse a { color: var(--accent-dark); text-decoration: none; }

/* FORMULAIRE RDV */
.rdv { background: var(--bg); }
.rdv-sub {
    text-align: center;
    color: var(--text-light);
    margin-top: -28px;
    margin-bottom: 36px;
}
.rdv-form {
    background: var(--bg-white);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    background: var(--bg-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
}
.form-group input.invalid,
.form-group select.invalid {
    border-color: #e74c3c;
}
.error-msg {
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 18px;
}
.rdv-form .btn { align-self: center; margin-top: 6px; }
.rdv-success { text-align: center; padding: 40px; }
.success-icon { font-size: 2.6rem; margin-bottom: 14px; }
.rdv-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.rdv-success p { color: var(--text-light); }

/* FOOTER — couleur unie */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
}
.footer-brand .logo {
    color: #fff;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
}
.footer-brand p { font-size: 0.88rem; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-social a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
}
.footer-links a:hover, .footer-social a:hover { color: var(--accent-soft); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.8rem;
}
.footer-bottom a { color: var(--accent-soft); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-white);
        padding: 20px 24px;
        gap: 14px;
        border-bottom: 1px solid var(--border);
    }
    .nav.nav-open { display: flex; }
    .presta-grid, .equipe-grid { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .horaires-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .rdv-form { padding: 24px 20px; }
    .avis-card { padding: 32px 22px; }
    section { padding: 60px 0; }
}
