/* ---- RESET BÁSICO E VARIÁVEIS DE COR ---- */
:root {
    --primary-color: #D9AAB7; /* Rosa Pastel */
    --dark-color: #333333; /* Cinza Escuro para textos */
    --light-color: #FFFFFF;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

/* ---- HEADER E NAVEGAÇÃO ---- */
.main-header {
    background: var(--light-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo a {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

ul.nav-links {
    display: flex;
    list-style: none;
}

ul.nav-links li {
    margin-left: 20px;
}

ul.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

ul.nav-links a:hover {
    border-bottom-color: var(--primary-color);
}

/* ---- SEÇÃO HERO (Página Inicial) ---- */
.hero {
    /* IMPORTANTE: Troque 'hero-background.jpg' por uma imagem real na pasta /assets/images/ */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-background.jpg') no-repeat center center/cover; 
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: 2rem;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: transparent;
    color: var(--light-color);
    padding: 12px 30px;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background: var(--light-color);
    color: var(--dark-color);
}


/* ---- TÍTULOS DE SEÇÃO ---- */
.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 2rem; /* Espaçamento para quando usar âncoras */
}

/* ---- SEÇÃO DE TEMAS (Página Inicial) ---- */
.temas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tema-card {
    background: var(--light-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.tema-card a {
    text-decoration: none;
    color: var(--dark-color);
}

.tema-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.tema-info {
    padding: 1.5rem;
    text-align: center;
}

.tema-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
}

/* ---- PÁGINA DO TEMA (tema.php) ---- */

.tema-hero {
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
}

.tema-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.tema-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ---- GRID DE PRODUTOS (tema.php) ---- */

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.produto-card {
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.produto-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.produto-info {
    padding: 1rem;
    background: var(--light-color);
}

.produto-info h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dark-color);
}

.text-center {
    text-align: center;
    padding: 2rem;
    color: #777;
}

/* ---- BOTÃO FLUTUANTE WHATSAPP ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: var(--light-color);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.whatsapp-float img {
    width: 30px;
    margin-right: 10px;
}

/* ---- FOOTER (Rodapé Principal) ---- */
footer.main-footer {
    background: var(--dark-color);
    color: #f4f4f4;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}