/* 
    Espaço Vip Santana - Dark Theme Design System 
    Author: Senior Front-End & UI/UX Specialist
*/

/* --- 1. VARIÁVEIS & RESET --- */
:root {
    /* Cores Premium Dark Theme */
    --bg-primary: #111111;    /* Fundo Escuro Principal */
    --bg-secondary: #1A1A1A;  /* Fundo Escuro Secundário */
    --color-accent: #D48135;  /* Destaque Laranja/Dourado */
    --color-accent-hover: #b36a28;
    --color-success: #25D366; /* Verde WhatsApp */
    
    /* Textos */
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    
    /* Tipografia */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-cursive: 'Great Vibes', cursive;
    
    /* Layout */
    --container-max: 1200px;
    --spacing-section: 100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.theme-dark {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Tipografia Comum */
.cursive-subtitle {
    font-family: var(--font-cursive);
    color: var(--color-accent);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.btn-primary-green {
    background-color: var(--color-success);
    color: #fff;
    border: 2px solid var(--color-success);
}
.btn-primary-green:hover {
    background-color: transparent;
    color: var(--color-success);
}

.btn-secondary-orange {
    background-color: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}
.btn-secondary-orange:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* --- 2. HEADER & NAV --- */
.header-espaco-vip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
}

.header-container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.header-nav {
    display: none; /* Mobile hidden */
}

.header-mobile-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-accent);
    display: block;
}

/* --- 3. HERO SECTION --- */
.hero-espaco-santana {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/topo.jpeg') no-repeat center top;
    background-size: cover;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,17,17,0.85), rgba(17,17,17,0.95));
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-location-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* --- 4. SOBRE NÓS --- */
.sobre-nos-salao {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-primary);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.sobre-imagem img {
    border-radius: 8px;
    box-shadow: -15px -15px 0 var(--bg-secondary);
}

.sobre-texto p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- 5. SERVIÇOS & ESPECIALIDADES --- */
.servicos-principais {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-secondary);
}

.servicos-beleza-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.servico-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.servico-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.servico-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,1) 0%, rgba(17,17,17,0) 60%);
}

.servico-card:hover .servico-bg {
    transform: scale(1.05);
}

.servico-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.servico-nome {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-light);
}

/* --- 6. ÍCONES SECUNDÁRIOS --- */
.servicos-secundarios-faixa {
    background-color: #151515;
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.servicos-icones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.icone-item svg {
    margin-bottom: 1rem;
}

.icone-item h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 7. ESTATÍSTICAS --- */
.diferenciais-estatisticas {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-primary);
}

.grid-diferenciais {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    border-left: 2px solid var(--color-accent);
    padding-left: 1rem;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
}

.stat-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diferenciais-imagem img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    min-height: 400px;
}

/* --- 8. GALERIA (Masonry approximation) --- */
.galeria-masonry-espaco {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-secondary);
}

.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.masonry-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.masonry-item:hover img {
    opacity: 0.8;
}

/* --- 9. FAQ --- */
.faq-salao-santana {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-primary);
}

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

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.faq-item summary {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none; /* Remove seta padrão */
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* --- 10. CTA FINAL --- */
.cta-avaliacao-gratuita {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* --- 11. FOOTER --- */
.footer-espaco-vip {
    background-color: #0A0A0A;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-nav h4, .footer-contact h4 {
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-contact address p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.footer-contact strong {
    color: var(--text-light);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 4px;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- 12. WHATSAPP FLUTUANTE --- */
.whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-success);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
}

/* --- 13. MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 768px) {
    .header-nav {
        display: block;
    }
    
    .header-nav ul {
        display: flex;
        gap: 2rem;
    }
    
    .header-nav a {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .header-nav a:hover {
        color: var(--color-accent);
    }
    
    .header-mobile-toggle {
        display: none;
    }

    .hero-title {
        font-size: 5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .sobre-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .servicos-beleza-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .servicos-icones-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-diferenciais {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 250px);
    }

    .masonry-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .masonry-item.large img {
        height: 100%;
    }

    .masonry-item.wide {
        grid-column: span 1;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
    
    .map-placeholder {
        height: 100%;
    }
}
