/* ============================================
   ESPACO DEPILACAO FLAVIA BRANDAO
   CSS Principal - Design System & Animations
   ============================================ */

/* ===== VARIABLES CSS ===== */
:root {
    /* Couleurs principales */
    --primary: #9D1D45;
    --primary-light: #c42d5c;
    --primary-dark: #7a1636;
    --accent: #b597a0;
    --accent-light: #d4c5ca;
    
    /* Backgrounds */
    --bg-light: #fbf8f9;
    --bg-dark: #201216;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    
    /* Textes */
    --text-dark: #1a0f12;
    --text-light: #fbf8f9;
    --text-muted: #935367;
    
    /* Espacements */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typographie */
    --font-main: 'Manrope', 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    
    /* Bordures */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(157,29,69,0.15);
    --shadow-xl: 0 20px 40px rgba(157,29,69,0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f5eef0 50%, var(--bg-light) 100%);
    overflow: hidden;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.animated-bg::before {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(157,29,69,0.08) 0%, transparent 70%);
    top: -20%;
    right: -20%;
    animation-delay: -5s;
}

.animated-bg::after {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(181,151,160,0.1) 0%, transparent 70%);
    bottom: -15%;
    left: -15%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-15px, 20px) rotate(-5deg); }
    75% { transform: translate(25px, 15px) rotate(3deg); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }

p { margin-bottom: var(--space-md); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--primary-light); }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 249, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 29, 69, 0.1);
    transition: box-shadow var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Desktop */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Hamburger Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    padding: 100px var(--space-xl) var(--space-xl);
    transition: right var(--transition-slow);
    z-index: 105;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary);
    transform: translateX(10px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-main);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-light);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(157, 29, 69, 0.05);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    position: relative;
}

.hero-content {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(157, 29, 69, 0.1);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.hero-stats {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: bounceIn 0.6s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary);
}

.hero-stats-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: var(--primary);
    color: white;
    padding: var(--space-md) 0;
    overflow: hidden;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease infinite;
}

.promo-text {
    font-weight: 700;
}

.promo-countdown {
    display: flex;
    gap: var(--space-sm);
}

.countdown-item {
    background: rgba(255,255,255,0.15);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 45px;
}

.countdown-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 800;
}

.countdown-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ===== SERVICES SECTION ===== */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(157, 29, 69, 0.1);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-image-wrapper {
    overflow: hidden;
    position: relative;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(157, 29, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay-text {
    color: white;
    font-weight: 700;
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid white;
    border-radius: var(--radius-full);
}

.service-content {
    padding: var(--space-lg);
}

.service-category {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.service-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-price {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
}

.service-duration {
    font-size: var(--font-size-sm);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f5eef0 100%);
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    line-height: 1;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-info {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
}

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-logo {
    color: var(--primary);
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--accent);
    font-size: var(--font-size-sm);
}

.footer-heading {
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: var(--accent);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: white;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-hour-item {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--accent);
    font-size: var(--font-size-xs);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    border: 2px solid #e5d1d8;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(157, 29, 69, 0.1);
}

.form-control::placeholder {
    color: var(--accent);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-description {
        margin: 0 0 var(--space-xl);
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ===== RESERVATION PAGE SPECIFIC ===== */
.reservation-page {
    min-height: 100vh;
    padding: var(--space-3xl) 0;
}

.reservation-container {
    max-width: 900px;
    margin: 0 auto;
}

.reservation-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.reservation-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e5d1d8;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5d1d8;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    transition: all var(--transition-normal);
}

.progress-step.active .progress-step-number,
.progress-step.completed .progress-step-number {
    background: var(--primary);
    color: white;
}

.progress-step-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-step.active .progress-step-label {
    color: var(--primary);
    font-weight: 700;
}

.reservation-form-section {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
}

.reservation-form-section.hidden {
    display: none;
}

.form-section-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid rgba(157, 29, 69, 0.1);
}

/* Calendar */
.calendar {
    margin-bottom: var(--space-xl);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.calendar-nav {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: background var(--transition-fast);
}

.calendar-nav:hover {
    background: rgba(157, 29, 69, 0.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day-header {
    text-align: center;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--accent);
    padding: var(--space-sm);
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.calendar-day:hover:not(:disabled) {
    background: rgba(157, 29, 69, 0.1);
}

.calendar-day.selected {
    background: var(--primary);
    color: white;
}

.calendar-day:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.time-slot {
    padding: var(--space-md);
    border: 2px solid #e5d1d8;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.time-slot:hover {
    border-color: var(--primary);
    background: rgba(157, 29, 69, 0.05);
}

.time-slot.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Services selection */
.services-select {
    display: grid;
    gap: var(--space-md);
}

.service-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border: 2px solid #e5d1d8;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.service-option:hover {
    border-color: var(--primary);
}

.service-option.selected {
    border-color: var(--primary);
    background: rgba(157, 29, 69, 0.05);
}

.service-option-info {
    flex: 1;
}

.service-option-name {
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.service-option-duration {
    font-size: var(--font-size-sm);
    color: var(--accent);
}

.service-option-price {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
}

.service-option-check {
    width: 24px;
    height: 24px;
    border: 2px solid #e5d1d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--space-md);
    transition: all var(--transition-fast);
}

.service-option.selected .service-option-check {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Order summary */
.order-summary {
    background: rgba(157, 29, 69, 0.05);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xl);
}

.order-summary-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(157, 29, 69, 0.1);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    color: var(--text-muted);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 2px solid var(--primary);
    font-size: var(--font-size-xl);
    font-weight: 800;
}

.order-deposit {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    font-weight: 700;
}

.order-remaining {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    color: var(--accent);
    font-size: var(--font-size-sm);
}

/* PIX Payment */
.pix-section {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
}

.pix-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-lg);
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pix-qr img {
    width: 100%;
    height: 100%;
}

.pix-code {
    background: #f5f5f5;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    font-family: monospace;
    word-break: break-all;
    margin-bottom: var(--space-md);
}

.pix-key {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Confirmation message */
.confirmation-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 2.5rem;
}

.confirmation-title {
    color: #155724;
    margin-bottom: var(--space-md);
}

.confirmation-details {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: left;
    max-width: 400px;
    margin: var(--space-lg) auto 0;
}

.confirmation-detail-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #eee;
}

.confirmation-detail-item:last-child {
    border-bottom: none;
}

/* ===== ADMIN PAGE SPECIFIC ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-white);
    border-right: 1px solid #e5d1d8;
    padding: var(--space-lg);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: var(--space-xl);
    background: var(--bg-light);
}

.admin-header {
    background: var(--bg-white);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid #e5d1d8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-xl);
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-xs);
}

.admin-nav-item:hover {
    background: rgba(157, 29, 69, 0.1);
    color: var(--primary);
}

.admin-nav-item.active {
    background: rgba(157, 29, 69, 0.15);
    color: var(--primary);
    font-weight: 700;
}

.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

.admin-table tr:hover {
    background: rgba(157, 29, 69, 0.02);
}

.status-badge {
    display: inline-flex;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.completed {
    background: #cce5ff;
    color: #004085;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Login Modal */
.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-modal.hidden {
    display: none;
}

.login-box {
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: var(--space-xl);
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 100;
        transition: transform var(--transition-normal);
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 90;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
