/* ===========================================
   Template barbier-urban — Neo-Barber
   Bebas Neue + Space Grotesk — Jaune neon / Noir profond
   =========================================== */

:root {
    --primary: #E2FF4E;
    --secondary: #1A1A1A;
    --accent: #E2FF4E;
    --text: #FFFFFF;
    --text-light: #FFFFFF;
    --text-muted: rgba(255,255,255,0.45);
    --bg: #111111;
    --bg-dark: #0D0D0D;
    --bg-light: #111111;
    --bg-beige: #161616;
    --bg-mid: #1A1A1A;
    --border: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.06);
    --radius: 3px;
    --shadow: 0 8px 32px rgba(0,0,0,0.6);
    --transition: 260ms ease;
    --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.03em;
}
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 700px; }

/* ── Bandeau promo ── */
.bandeau-promo {
    background: var(--primary); color: #111;
    text-align: center; padding: 10px 48px 10px 16px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    font-family: 'Space Grotesk', sans-serif;
}
.bandeau-close {
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; font-size: 20px; cursor: pointer; color: #111;
}

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: transparent;
    z-index: 100;
    transition: background var(--transition);
}
.nav.scrolled {
    background: rgba(11,11,11,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.bandeau-promo ~ .nav { top: 40px; }
.nav-container {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px; font-weight: 400;
    color: #fff; text-decoration: none;
    letter-spacing: 0.08em;
}
.nav-logo-img { height: 34px; width: auto; object-fit: contain; }
.nav-logo-initiale {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 2px;
    background: var(--primary); color: #111;
    font-family: 'Bebas Neue', sans-serif; font-size: 22px;
    text-decoration: none;
}
.nav-links { list-style: none; display: flex; gap: 24px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.5);
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    text-decoration: none;
    transition: color var(--transition);
    font-family: 'Space Grotesk', sans-serif;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); opacity: 1; }
.nav-cta {
    display: inline-block;
    background: var(--primary); color: #111;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 9px 20px; border-radius: 2px;
    white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: #eeff70; opacity: 1; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all var(--transition); }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: flex-end;
    overflow: hidden; background: #0A0A0A;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.5) 35%,
        rgba(0,0,0,0.1) 100%
    );
}
.hero-content {
    position: relative; z-index: 2;
    padding: 0 0 64px min(80px, 8vw);
    max-width: 680px;
}
.hero-tag {
    display: inline-block;
    background: var(--primary); color: #111;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 5px 12px; margin-bottom: 20px;
    border-radius: 1px;
}
.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.5rem, 13vw, 10rem);
    color: #fff;
    line-height: 0.92; letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px;
    max-width: 380px; line-height: 1.7;
}

/* ── Boutons ── */
.btn-cta {
    display: inline-block;
    background: var(--primary); color: #111;
    padding: 13px 30px;
    font-size: 12px; font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase; letter-spacing: 0.1em;
    border: none; border-radius: 2px; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.btn-cta:hover { background: #eeff70; opacity: 1; transform: translateY(-2px); }
.btn-cta-large { font-size: 13px; padding: 16px 40px; margin-top: 24px; }
/* Sur fond section-terracotta (réutilisé pour contact) */
.section-terracotta .btn-cta {
    background: transparent; color: var(--primary);
    border: 1px solid var(--primary);
}
.section-terracotta .btn-cta:hover { background: rgba(226,255,78,0.08); }

/* ── Sections ── */
.section { padding: 88px 0; background: var(--bg); }
.section-beige { background: var(--bg-beige); }
.section-dark { background: var(--bg-dark); }
.section-mid { background: var(--bg-mid); }
.section-terracotta { background: var(--bg-dark); color: #fff; border-top: 1px solid var(--border-light); }
.section-terracotta .section-title { color: #fff; }
.section-terracotta .section-subtitle { color: var(--text-muted); }

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff; letter-spacing: 0.03em;
    text-align: center; margin-bottom: 8px;
}
.section-label {
    display: block; text-align: center;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--primary); margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted); max-width: 560px;
    margin: 0 auto 40px; font-size: 15px; line-height: 1.7;
}

/* ── À propos ── */
.apropos-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px; align-items: center;
}
.apropos-img { position: relative; }
.apropos-img img {
    width: 100%; aspect-ratio: 3/4;
    object-fit: cover; border-radius: 2px;
}
.apropos-img::after {
    content: '';
    position: absolute; bottom: -14px; right: -14px;
    width: 60%; height: 40%;
    border: 2px solid var(--primary);
    border-radius: 2px; z-index: -1;
    opacity: 0.4;
}
.apropos-text .section-label { text-align: left; }
.apropos-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff; margin-bottom: 20px; line-height: 1;
    text-align: left;
}
.apropos-text p {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.85; margin-bottom: 28px;
}
.placeholder-img {
    background: var(--bg-mid); border-radius: 2px;
    aspect-ratio: 3/4; display: flex;
    align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 14px;
    border: 1px solid var(--border);
}

/* ── Menu/Catalogue ── */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab {
    padding: 9px 22px; background: transparent;
    color: var(--text-muted); border: 1px solid var(--border);
    border-radius: 2px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    cursor: pointer; transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--primary); color: var(--primary); }
.menu-tab.active { background: var(--primary); border-color: var(--primary); color: #111; }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 680px; margin: 0 auto; }
.menu-item {
    display: flex; align-items: flex-start;
    justify-content: space-between;
    padding: 18px 0; border-bottom: 1px solid var(--border-light);
    gap: 16px;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 600;
    margin-bottom: 4px; color: #fff;
}
.menu-item-info p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.menu-item-prix {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px; color: var(--primary);
    font-weight: 400; white-space: nowrap;
    margin-left: 16px; letter-spacing: 0.04em;
    flex-shrink: 0;
}

/* ── Horaires — week strip ── */
.week-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px; margin-bottom: 48px;
}
.week-card {
    background: var(--bg-beige);
    border: 1px solid var(--border);
    border-radius: 2px; padding: 18px 10px;
    text-align: center;
    transition: border-color var(--transition);
}
.week-card.open { border-color: rgba(226,255,78,0.35); }
.week-card-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px; letter-spacing: 0.06em;
    color: var(--text-muted); margin-bottom: 10px;
}
.week-card.open .week-card-day { color: var(--primary); }
.week-card-status {
    font-size: 12px; line-height: 1.55;
    color: rgba(255,255,255,0.65);
    font-family: 'Space Grotesk', sans-serif;
}
.week-card.closed .week-card-status { color: var(--text-muted); font-style: italic; }

.horaires-bottom {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: start;
}
.coord-line {
    display: flex; gap: 20px; align-items: baseline;
    padding: 13px 0; border-bottom: 1px solid var(--border-light);
    font-size: 14px; color: rgba(255,255,255,0.65);
}
.coord-line:last-child { border-bottom: none; }
.coord-key {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--primary); min-width: 56px; flex-shrink: 0;
}
.coord-line a { color: rgba(255,255,255,0.65); }
.coord-line a:hover { color: var(--primary); opacity: 1; }
.map-container { border-radius: 2px; overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 280px; min-height: 240px; border: none; display: block; }

/* ── Contact / section-terracotta ── */
.contact-phone { margin: 20px 0 12px; }
.phone-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 9vw, 6.5rem);
    color: var(--primary); text-decoration: none;
    display: inline-block; letter-spacing: 0.04em; line-height: 1;
}
.phone-number:hover { opacity: 0.85; }
.section-terracotta .phone-number { color: var(--primary); }

/* ── Split layout (compat modules) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 16px; color: #fff; text-align: left; }
.split-text p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.split-image img { width: 100%; border-radius: 2px; box-shadow: var(--shadow); }

/* Coordonnées (compat ancienne horaires table) */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--border-light); }
.horaires-table td { padding: 10px 0; font-size: 15px; color: rgba(255,255,255,0.7); }
.jour { font-weight: 600; width: 120px; font-family: 'Space Grotesk', sans-serif; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 20px; }
.coord-item { margin-bottom: 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.coord-item a { color: var(--primary); }
.coord-item strong { color: rgba(255,255,255,0.4); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-family: 'Space Grotesk', sans-serif; }

/* ── Footer ── */
.footer {
    background: #0A0A0A; color: rgba(255,255,255,0.3);
    padding: 36px 0 24px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
}
.footer-row {
    display: flex; justify-content: space-between;
    align-items: flex-start; flex-wrap: wrap; gap: 16px;
    margin-bottom: 24px;
}
.footer-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px; color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em; display: block; margin-bottom: 4px;
}
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,0.3); }
.footer a:hover { color: var(--primary); opacity: 1; }
.footer-bottom {
    border-top: 1px solid var(--border-light); padding-top: 16px;
    display: flex; justify-content: space-between; font-size: 12px;
}
.footer-credit a { color: rgba(255,255,255,0.15); }
.footer-credit a:hover { color: var(--primary); opacity: 1; }
/* Compat ancien footer grid */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 24px; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: rgba(255,255,255,0.45); display: block; margin-bottom: 10px; letter-spacing: 0.08em; }
.footer h4 { color: rgba(255,255,255,0.3); margin-bottom: 10px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; }
.footer p { margin-bottom: 5px; }
.footer-address { color: rgba(255,255,255,0.3); font-size: 13px; margin-bottom: 8px; }

/* ── Formulaires (résa, devis, etc.) ── */
.resa-back { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 0.88rem; margin-bottom: 16px; padding: 0; text-decoration: underline; display: block; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.resa-form input, .resa-form select, .resa-form textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: 2px;
    font-size: 1rem; background: rgba(255,255,255,0.05);
    color: #fff; font-family: 'Space Grotesk', sans-serif;
}
.resa-form input:focus, .resa-form select:focus, .resa-form textarea:focus {
    outline: none; border-color: var(--primary);
}
.form-error {
    color: #ff6b6b; font-size: 0.85rem; margin-bottom: 12px;
    padding: 8px 12px; background: rgba(255,107,107,0.1);
    border-radius: 2px; border-left: 3px solid #ff6b6b;
}
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3rem; color: var(--primary); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.resa-success p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Lang switcher ── */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid var(--border); color: rgba(255,255,255,0.5); border-radius: 2px; padding: 3px 7px; font-size: 0.7rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lang-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #111; }

/* ── WhatsApp ── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 52px; height: 52px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4); z-index: 90;
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .apropos-wrap { grid-template-columns: 1fr; gap: 36px; }
    .apropos-img::after { display: none; }
    .apropos-img img { aspect-ratio: 16/9; }
    .week-strip { grid-template-columns: repeat(4, 1fr); }
    .horaires-bottom { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: var(--nav-height); left: 0; right: 0;
        background: rgba(11,11,11,0.99);
        flex-direction: column; gap: 0; padding: 0;
        max-height: 0; overflow: hidden;
        transition: max-height 300ms ease;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { max-height: 540px; }
    .nav-links li { border-bottom: 1px solid var(--border-light); }
    .nav-links a { display: block; padding: 14px 24px; font-size: 12px; }
    .hero { min-height: 85vh; }
    .hero-content { padding: 0 24px 48px; }
    .week-strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-row { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 10px; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .section { padding: 60px 0; }
}
@media (max-width: 480px) {
    .week-strip { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.8rem; }
}
