/* ==========================================================
   site.css — Site Ouro para Barbearias | Dule Digital
   Tema: escuro, elegante, masculino, dourado
   ========================================================== */

:root {
    --gold: #c9a24b;
    --gold-light: #e8ce8c;
    --bg-black: #0b0b0b;
    --bg-dark: #121212;
    --bg-card: #171717;
    --text-light: #f2f2f0;
    --text-muted: #a8a8a8;
    --border: #262626;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body.site-body {
    background: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

a { color: inherit; text-decoration: none; }

.gold-dot { color: var(--gold); }
.text-gold { color: var(--gold) !important; }

/* ---------- Navbar ---------- */
.site-navbar {
    background: rgba(11,11,11,0.92);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light) !important;
}
.site-navbar .nav-link {
    color: #d8d8d8 !important;
    font-size: 0.92rem;
    font-weight: 400;
    transition: color 0.2s ease;
}
.site-navbar .nav-link:hover { color: var(--gold) !important; }

.btn-gold-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #14110a !important;
    font-weight: 600;
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    font-size: 0.88rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(201,162,75,0.35); }

.btn-gold-lg {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #14110a;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.btn-gold-lg:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(201,162,75,0.4); color:#14110a; }

.btn-outline-gold {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.85rem 2.1rem;
    border-radius: 40px;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: #14110a; }

.btn-danger-sm {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    background: transparent;
    color: #e05353;
    border: 1px solid #4a2323;
    border-radius: 30px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-danger-sm:hover { background: rgba(224,83,83,0.12); }

.badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}
.status-scheduled, .status-confirmed { background: rgba(201,162,75,0.15); color: var(--gold); }
.status-completed { background: rgba(76,175,125,0.15); color: #4caf7d; }
.status-cancelled, .status-no_show { background: rgba(224,83,83,0.15); color: #e05353; }

/* ---------- Hero / Banner ---------- */
.hero-banner {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #050505;
}
.hero-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 1rem 0;
    line-height: 1.15;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 2rem;
}

/* ---------- Sections ---------- */
section { padding: 6rem 0; }
.section-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 500;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0.5rem 0 1rem; }
.section-lead { color: var(--text-muted); max-width: 620px; }

.bg-darker { background: var(--bg-dark); }

/* ---------- Cards de serviço ---------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-card-body p { color: var(--text-muted); font-size: 0.9rem; }
.service-price { color: var(--gold); font-weight: 600; font-size: 1.1rem; }
.service-duration { color: var(--text-muted); font-size: 0.8rem; }

/* ---------- Equipe ---------- */
.team-card { text-align: center; }
.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 14px;
    filter: grayscale(30%);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.team-card:hover .team-photo { filter: grayscale(0%); transform: scale(1.02); }
.team-name { font-family: var(--font-heading); font-size: 1.25rem; margin-top: 1rem; }
.team-specialty { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Galeria ---------- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* ---------- Depoimentos ---------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
}
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; }
.testimonial-comment { color: #d8d8d8; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }

/* ---------- FAQ ---------- */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    border-radius: 10px !important;
    overflow: hidden;
}
.accordion-button {
    background: var(--bg-card);
    color: var(--text-light);
    font-weight: 500;
}
.accordion-button:not(.collapsed) { background: var(--bg-card); color: var(--gold); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: #080808; border-top: 1px solid var(--border); padding: 4rem 0 1.5rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-text { color: var(--text-muted); font-size: 0.9rem; }
.footer-heading { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--gold); }
.footer-social a { color: var(--text-light); font-size: 1.2rem; margin-right: 1rem; }
.footer-social a:hover { color: var(--gold); }
.footer-divider { border-color: var(--border); margin: 2rem 0 1.5rem; }
.footer-copy { color: #6b6b6b; font-size: 0.8rem; text-align: center; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 999;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ---------- Booking wizard ---------- */
.booking-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.slot-btn {
    background: #0f0f0f;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}
.slot-btn:hover, .slot-btn.selected { border-color: var(--gold); color: var(--gold); background: rgba(201,162,75,0.08); }

@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    .hero-banner {
        min-height: 70vh;
        background-position: center top; /* evita cortar rostos em fotos verticais de pessoas */
    }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .hero-subtitle { font-size: 1rem; }
    .btn-gold-lg, .btn-outline-gold { display: block; width: 100%; text-align: center; margin: 0.5rem 0 !important; }
    .service-card img { height: 180px; }
}

@media (max-width: 480px) {
    .hero-banner { min-height: 60vh; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.35rem; bottom: 16px; right: 16px; }
}
