/* 1. RESET E VARIÁVEIS */
:root {
    --primary-brown: #4b3831;
    --accent-pink: #d29c9a;
    --neutral-grey: #c2c2b6;
    --light-pink: #efd7d5;
    --bg-white: #f9f5f2;
    --font-header: 'Philosopher', serif;
    --font-body: 'Comfortaa', sans-serif;
    --shadow-soft: 0 15px 30px rgba(75, 56, 49, 0.05);
    --border-radius-lg: 30px;
}

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

body { 
    font-family: var(--font-body); 
    background-color: var(--bg-white); 
    color: var(--primary-brown); 
    line-height: 1.6;
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
}

/* 2. COMPONENTES REUTILIZÁVEIS */
section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-header); font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { opacity: 0.8; font-size: 1.1rem; }

/* Botão Universal */
.btn-cta {
    background-color: var(--accent-pink);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(210, 156, 154, 0.3);
    border: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-cta:hover { background-color: var(--primary-brown); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(75, 56, 49, 0.2); }

/* Formulários */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 0.9rem; }
input, select {
    width: 100%; padding: 14px; border: 1px solid var(--neutral-grey); 
    border-radius: 12px; font-family: var(--font-body); outline-color: var(--accent-pink);
    background: white;
}

/* 3. HEADER GLASSMORPHISM */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(249, 245, 242, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 10px 0; border-bottom: 1px solid rgba(75, 56, 49, 0.05);
}

nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.logo img { height: clamp(50px, 8vw, 70px); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--primary-brown); font-size: 0.95rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-pink); }

/* 4. HERO SECTION (CORRIGIDO) */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; filter: brightness(0.55);
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: white;
    max-width: 800px; padding: 20px;
}

.hero-content h1 { font-family: var(--font-header); font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 20px; line-height: 1.1; }
.hero-content p { font-size: clamp(1rem, 3vw, 1.3rem); margin-bottom: 35px; opacity: 0.9; }

.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-hero { padding: 16px 35px; font-size: 1rem; }

/* 5. SERVIÇOS */
.grid-servicos { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { 
    background: white; padding: 40px; border-radius: var(--border-radius-lg);
    border: 1px solid var(--light-pink); text-align: center; transition: 0.4s;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.card-icon { font-size: 2.5rem; color: var(--accent-pink); margin-bottom: 20px; }
.card h3 { font-family: var(--font-header); font-size: 1.5rem; margin-bottom: 15px; }

/* 6. SOBRE */
.sobre-container {
    display: flex; align-items: center; gap: 50px; flex-wrap: wrap;
    background: var(--light-pink); padding: 50px; border-radius: 40px; margin-top: 40px;
}
.sobre-img { flex: 1; min-width: 300px; border-radius: 25px; overflow: hidden; box-shadow: 20px 20px 0 var(--accent-pink); }
.sobre-img img { width: 100%; height: auto; display: block; }
.sobre-texto { flex: 1.2; min-width: 300px; }
.quote { margin-top: 20px; border-left: 3px solid var(--accent-pink); padding-left: 15px; font-style: italic; }

/* 7. AGENDAMENTO DINÂMICO (NOVO) */
.booking-section { background-color: var(--bg-white); }
.input-form {padding: 10px;}
.form-container {
    max-width: 650px; margin: 0 auto; background: white;
    padding: 40px; border-radius: var(--border-radius-lg);
    border: 1px solid var(--light-pink); box-shadow: var(--shadow-soft);
}

.horarios-grid-wrapper {
    margin: 25px 0; padding: 20px; background: #fffcfb;
    border: 1px dashed var(--accent-pink); border-radius: 15px;
}

.horarios-flex { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 15px; }

.hora-item {
    padding: 12px 20px; border: 1px solid var(--accent-pink);
    border-radius: 50px; cursor: pointer; transition: 0.3s;
    font-size: 0.9rem; font-weight: bold; background: white;
}
.hora-item:hover, .hora-item.selected { background: var(--accent-pink); color: white; }

.btn-submit { width: 100%; margin-top: 20px; padding: 18px; }

/* 8. FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 15px; border-radius: 15px; border: 1px solid var(--light-pink); overflow: hidden; }
summary { padding: 20px; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-pink); transition: 0.3s; }
details[open] summary::after { transform: rotate(180deg); }
details p { padding: 0 20px 20px; opacity: 0.8; }

/* 9. FOOTER */
.main-footer { background: var(--primary-brown); color: white; padding: 60px 5% 30px; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 15px; margin: 25px 0; }
.social-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icon:hover { background: var(--accent-pink); transform: translateY(-3px); }
.footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 30px 0; }

/* 10. RESPONSIVIDADE */
@media (max-width: 768px) {
    .nav-links, header .btn-cta { display: none; }
    header { padding: 15px 0; }
    section { padding: 60px 5%; }
    .hero-content h1 { font-size: 2.5rem; }
    .sobre-container { padding: 30px; gap: 30px; }
    .sobre-img { box-shadow: 10px 10px 0 var(--accent-pink); }
    .form-container { padding: 25px; }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Estilo para o horário ocupado */
.hora-item.indisponivel {
    background-color: #f0f0f0 !important;
    color: #a0a0a0 !important;
    border-color: #dcdcdc !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Estilo para o calendário ocupar bem a tela */
#calendario-profissional {
    max-width: 1100px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Estilo para o evento (nome do cliente) dentro do quadrado */
.fc-event {
    cursor: pointer;
    padding: 2px 5px;
    font-size: 0.85em;
    background-color: #d29c9a !important; /* Rosa da Carla */
    border: none !important;
}
.sidebar { 
background-color: #4b3831; 
min-width: 250px; 
display: flex; 
flex-direction: column; /* Isso aqui garante a coluna */
}

#tela-boutique {
    overflow-y: auto !important;
    /* max-height: 80vh; Permite que a aba Boutique tenha seu próprio scroll se a página travar */
}

#vitrineProdutos {
    display: flex;
    flex-wrap: wrap; /* Permite que os cards pulem para a linha de baixo se não couberem */
    gap: 20px;
    justify-content: center;
}

.card-produto {
    width: 280px; /* Largura fixa para cada card */
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

/* Ajusta o tamanho das fontes dentro do calendário */
.fc-event-title {
    font-size: 0.75rem !important;
    font-weight: bold;
    cursor: pointer;
}

/* Deixa os quadradinhos do dia mais limpos */
.fc-daygrid-day-events {
    margin-bottom: 2px !important;
}