/* Variáveis de Cores baseadas na Imagem */
:root {
    --primary: #8E3E4F; /* Bordô/Vinho */
    --bg-light: #FFF5F0; /* Creme claro */
    --accent: #FDE4D0; /* Pêssego */
    --text-dark: #5A3E36;
    --sage: #B4C3B2; /* Verde dos depoimentos */
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.relative-z { position: relative; z-index: 2; } /* Garante que o conteúdo fique acima das ondas */

/* Header & Navegação */
header {
    padding: 20px 0;
    background: transparent;
    position: fixed; /* Alterado de absolute para fixed para acompanhar o scroll */
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

h1 {
    font-size: 2.5rem;
}

p {
    font-size: 1.2rem;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    transition: 0.3s ease-in-out;
    gap: 30px; /* Adiciona o espaço uniforme entre os links */
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    /* margin-left: 30px; <-- REMOVA ESTA LINHA */
    font-weight: 400;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 4px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    height: 100vh;
    padding: 150px 0 150px;
    background: linear-gradient(to right, var(--bg-light) 30%, rgba(255, 245, 240, 0) 100%), url('assets/hero-image.png');
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text { 
    flex: 1; 
    max-width: 60%; 
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 90%;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px; /* Bordas mais arredondadas como pílula */
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142, 62, 79, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 62, 79, 0.3);
}

.hero-image { flex: 1; display: flex; justify-content: flex-end; }

.hero-image img {
    width: 100%;
    max-width: 420px;
    object-fit: cover;
    /* Forma orgânica refinada */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Divisores de Onda SVG */
.wave-divider.bottom {
    bottom: -1px;
    top: auto;
}

/* Inversão da onda */
.wave-divider.flip {
    transform: scaleY(-1) scaleX(-1);
}

/* Cor da onda no Hero (ajustada para combinar com a seção de baixo) */
.hero .wave-divider.bottom .shape-fill {
    fill: #FFF9F7; /* Mesma cor de início da seção 'About' */
}

.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider.top {
    top: -1px;
}

.services .wave-divider.top .shape-fill { 
    fill: var(--accent); 
}
.testimonials .wave-divider.top .shape-fill { 
    fill: var(--accent);
}

/* Sobre Mim */
.about {
    padding: 50px 0;
    background: linear-gradient(to bottom, #FFF9F7 0%, #FDE4D0 100%);
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.subtitle { 
    margin-bottom: 60px; 
    font-style: italic; 
    color: var(--text-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.about-item .icon { margin-bottom: 15px; }

.about-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Serviços */
.services {
    padding: 120px 0;
    background: linear-gradient(to bottom, #FFF9F7 0%, #FDE4D0 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.service-card:hover { transform: translateY(-5px); }

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Corrigido de "crop" para "cover" */
}

.card-body { padding: 20px; }

.card-body h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Depoimentos */
.testimonials {
    padding: 150px 0 120px;
    background-color: var(--sage);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px; /* Espaço para a foto vazando embaixo */
}

/* Aspas decorativas imitando a imagem */
.testimonial-card::before,
.testimonial-card::after {
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--accent);
    position: absolute;
    opacity: 0.6;
    line-height: 1;
}

.testimonial-card::before {
    top: 10px;
    left: 20px;
}

.testimonial-card::after {
    content: '”';
    bottom: -20px;
    right: 20px;
}

.testimonial-card p { 
    font-style: italic; 
    margin-bottom: 20px; 
    position: relative;
    z-index: 2; /* Garante que o texto fique acima das aspas */
}

.testimonial-card .user-name {
    font-style: italic;
    color: var(--text-dark);
}

/* Foto do usuário posicionada no meio da borda inferior */
.user-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    position: absolute;
    bottom: -35px; /* Metade da altura para vazar do card */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Seção de Contato e Agendamento  */
.contact-section {
    position: relative; 
    padding: 150px 0 100px; 
    background-color: var(--bg-light);
}

.contact-section .wave-divider.top .shape-fill {
    fill: var(--sage);
}

.contact-section .relative-z {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-top: 40px;
}

/* Formulário */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(142, 62, 79, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px; /* Alinhar com o input do lado */
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    cursor: pointer;
    border: none;
}

.form-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
}
.form-message.sucesso { background-color: var(--sage); color: #fff; display: block; }
.form-message.erro { background-color: #f8d7da; color: #721c24; display: block; }

/* Informações e Agenda Visual */
.info-card, .schedule-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.info-card h3, .schedule-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.schedule-desc {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.schedule-instruction {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.horario-slot {
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.2s;
}

.horario-slot.livre {
    background-color: var(--sage);
    color: var(--text-dark);
    border: 1px solid #9eb09d;
}

.horario-slot.ocupado {
    background-color: #f1f1f1;
    color: #a0a0a0;
    text-decoration: line-through;
    border: 1px solid #e0e0e0;
}

/* Modal (Pop-up) de Sucesso */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* =========================================
   Rodapé (Footer)
========================================= */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 50px;
}

footer p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fceceb;
}

footer a {
    color: var(--accent);
    text-decoration: underline;
    transition: 0.2s;
}

footer a:hover {
    color: var(--white);
}

/* Banner de Cookies e RGPD */
.cookie-banner {
    position: fixed;
    bottom: -150%; /* Escondido por padrão */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: bottom 0.6s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    max-width: 75%;
}

.cookie-banner a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: underline;
}

/* Estilos da Página de Privacidade */
.privacy-section {
    padding: 150px 0 80px; /* Espaço pro menu fixo */
    background-color: var(--bg-light);
}

.privacy-content {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.privacy-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.privacy-content ul {
    padding-left: 20px;
}

/* Responsividade */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text p { margin: 0 auto 30px; }
    .hero-image { justify-content: center; margin-top: 30px; }
    
    .about-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .checkbox-group { margin-top: 0; }
}

/* Centraliza o menu apenas na versão Desktop */
@media (min-width: 769px) {
    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 245, 240, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Esconde o menu */
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Mostra o menu */
    }

    .nav-links li { margin: 15px 0; }
    .nav-links li a { margin: 0; }
    
    .hero-text h1 { font-size: 2.5rem; }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .cookie-banner p { max-width: 100%; }
}