/* ===== Beleza Pura Studio - Salão de Beleza ===== */
:root {
    --primary: #1a1a1a;
    --primary-hover: #2a2a2a;
    --accent: #C9A84C;
    --bg-light: #FDF8F5;
    --font-body: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-body); color: #1a1a2e; overflow-x: hidden; }
.container { max-width: 1280px; margin: 0 auto; }

.nav-link {
    font-size: 14px; font-weight: 500; color: #4b5563; text-decoration: none;
    position: relative; transition: color 0.3s; padding: 4px 0;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
    height: 2px; background: var(--accent); transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.hero-section {
    min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-shape { position: absolute; bottom: -2px; left: 0; right: 0; height: 150px; background: white; clip-path: ellipse(70% 100% at 50% 100%); }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px;
    transition: all 0.3s ease; text-decoration: none; cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: white; background: transparent; border-radius: 50px; padding: 14px 32px; font-weight: 600; font-size: 15px; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.service-card {
    background: white; border-radius: 20px; padding: 35px 30px; text-align: center;
    transition: all 0.4s ease; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.section-title { font-size: 2.5rem; font-weight: 700; line-height: 1.2; color: #1a1a2e; }
.section-subtitle { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 8px; color: var(--accent); }

.team-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: all 0.4s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.team-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover img { transform: scale(1.05); }

.page-banner { padding: 180px 0 100px; position: relative; text-align: center; }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: white; clip-path: ellipse(60% 100% at 50% 100%); }

.form-input { width: 100%; padding: 14px 18px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 14px; transition: all 0.3s; background: #fafafa; outline: none; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,0,0,0.05); background: white; }
textarea.form-input { min-height: 140px; resize: vertical; }

.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.testimonial-card { background: white; border-radius: 16px; padding: 30px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--accent); transition: all 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.counter-item { text-align: center; padding: 20px; }
.counter-number { font-size: 2.5rem; font-weight: 700; line-height: 1; }

.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.back-to-top {
    position: fixed; bottom: 90px; right: 24px; width: 44px; height: 44px;
    background: var(--primary); color: white; border: none; border-radius: 12px; cursor: pointer;
    display: none; align-items: center; justify-content: center; z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.3s;
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top.show { display: flex; }

.lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 10000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 36px; cursor: pointer; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }

/* ===== MOBILE MENU ANIMATION ===== */
#mobileMenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0.3s ease,
                padding 0.3s ease;
    padding: 0 16px !important;
}
#mobileMenu.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 16px !important;
}
#mobileMenu .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}
#mobileMenu .nav-link:hover,
#mobileMenu .nav-link.active {
    background: var(--accent);
    color: white !important;
}
.hamburger-btn {
    width: 28px; height: 22px; position: relative;
    background: transparent; border: none; cursor: pointer; padding: 0; z-index: 60;
}
.hamburger-btn span {
    display: block; width: 100%; height: 2.5px; background: #374151;
    border-radius: 3px; position: absolute; left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center;
}
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 9px; width: 80%; }
.hamburger-btn span:nth-child(3) { top: 18px; }
.hamburger-btn.active span:nth-child(1) { top: 9px; transform: rotate(45deg); background: var(--accent); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: translateX(12px); width: 100%; }
.hamburger-btn.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); background: var(--accent); }
.mobile-backdrop {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 48;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.mobile-backdrop.show { opacity: 1; visibility: visible; }

@media (max-width: 768px) { .section-title { font-size: 1.75rem; } .hero-section { min-height: 90vh; } .page-banner { padding: 140px 0 80px; } }
@media (max-width: 480px) { .section-title { font-size: 1.4rem; } .btn-primary { padding: 12px 24px; font-size: 14px; } }