/* --- :ROOT / Variáveis (Designer UI) --- */
/* Centralizar as definições de design facilita a manutenção e a consistência. */
:root {
    --primary-color: #D9AAB7; /* Rosa queimado */
    --secondary-color: #333333; /* Cinza escuro para texto */
    --light-color: #FFFFFF;
    --background-color: #FDFDFD;
    --gray-light: #f4f4f4;

    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;

    --spacing-unit: 8px;
    --container-width: 1100px;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Reset e Globais (Desenvolvedor Web) --- */
/* Um reset simples garante que todos os navegadores comecem da mesma base. */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--secondary-color);
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    text-align: center;
}

p {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    display: block; /* Remove espaços extras abaixo da imagem */
    margin-left: auto;
    margin-right: auto;
    object-fit: contain; /* Garante que a imagem caiba dentro do container */
    max-width: 100%; /* Impede que a imagem seja maior que o container */
    height: auto; /* Mantém a proporção */
}

/* --- Utilitários (Desenvolvedor Web) --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-unit);
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* --- Seções Padrão (UI Designer) --- */
section {
    padding: calc(var(--spacing-unit) * 8) 0;
}

/* --- Header --- */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: calc(var(--spacing-unit) * 2) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Seção Hero (Motion Designer & UI) --- */
.hero {
    /* A linha abaixo foi a que você alterou para usar sua imagem local */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/fran.jpg');
    
    /* Esta propriedade garante que a imagem cubra toda a área */
    background-size: cover;

    /* Esta propriedade garante que a imagem fique centralizada */
    background-position: center;

    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding-top: calc(var(--spacing-unit) * 10);
}

.hero-content {
    animation: fadeIn 1s ease-in-out;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-unit);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-weight: 400;
    max-width: 600px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--light-color);
}

/* --- Seção Sobre --- */
.about-section {
    background-color: var(--light-color);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
}

.about-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.about-text {
    text-align: center;
    max-width: 600px;
}

/* --- Seção de Serviços --- */
.services-section {
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 3);
}

.service-card {
    background: var(--light-color);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    border-radius: 50%;
    background-color: var(--gray-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-unit);
}

/* --- Seção de Agenda --- */
.calendar-section {
    background-color: var(--light-color);
}

.calendar-disclaimer {
    text-align: center;
    max-width: 600px;
    margin: 0 auto calc(var(--spacing-unit) * 4);
    font-style: italic;
    color: #666;
}

.calendar-wrapper {
    max-width: 400px;
    margin: 0 auto;
    background: var(--light-color);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
}

.calendar-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: calc(var(--spacing-unit) / 2);
    text-align: center;
}

.calendar-grid div {
    padding: var(--spacing-unit);
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
}

.weekday {
    font-weight: 700;
    color: var(--secondary-color);
}

.day.hoje {
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-weight: 700;
}

.day.dia-disponivel {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 700;
    cursor: help;
    position: relative;
}

/* --- Seção de Galeria --- */
.gallery-section {
    background-color: var(--gray-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 2);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
    padding: calc(var(--spacing-unit) * 3) 0;
}

.footer p {
    margin: 0;
}

/* --- Botão Flutuante WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: calc(var(--spacing-unit) * 3);
    right: calc(var(--spacing-unit) * 3);
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- Animações (Motion Designer) --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Media Queries (Responsividade - Mobile First) (Eng. de Performance) --- */
/* Estilos para telas maiores (tablets) */
@media (min-width: 768px) {
    h2 {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .about-container {
        flex-direction: row;
        text-align: left;
        gap: calc(var(--spacing-unit) * 6);
    }

    .about-text {
        text-align: left;
    }

    .about-image {
        width: 300px;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Estilos para telas grandes (desktops) */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}