/* Importação de Fontes (NOVAS FONTES) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:wght@400;700&display=swap');

/* Paleta de Cores Serena (Mesma base) */
:root {
    --bg-color: #F8F6F2;
    --text-color: #3D352E;
    --primary-color: #8B6B5C;
    --secondary-color: #BCAE9F;
    --accent-color: #5A7D7C; /* Verde-azulado sereno */
    --white: #FFFFFF;

    /* NOVAS FONTES */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body); /* FONTE NOVA */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7; /* Aumentado para Montserrat */
    font-weight: 300;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho e Navegação */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { 
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 1.75rem; /* Aumentado */
    font-weight: 700; 
    color: var(--primary-color); 
}
.navbar nav ul { list-style: none; display: flex; }
.navbar nav ul li { margin-left: 1.5rem; }
.navbar nav ul li a { 
    text-decoration: none; 
    color: var(--text-color); 
    font-weight: 400; /* FONTE NOVA */
    transition: color 0.3s ease; 
}
.navbar nav ul li a:hover { color: var(--primary-color); }
.language-selector button { background: none; border: 1px solid var(--secondary-color); color: var(--secondary-color); padding: 5px 10px; margin-left: 5px; cursor: pointer; transition: all 0.3s ease; font-size: 0.8rem; font-family: var(--font-body); }
.language-selector button.active { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* Seção Hero (Com GIF) */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://www.mexidodeideias.com.br/wp-content/uploads/2013/04/Melhores-gifs-cafeinados-3.gif');
    background-size: cover;
    background-position: center;
    min-height: 60vh; /* Mínima altura */
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

/* NOVO ESTILO PARA O LOGO */
.hero-logo {
    width: 250px; /* Tamanho controlado */
    height: auto;
    margin-bottom: 1rem;
}

.hero h1 { 
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 3.5rem; 
    font-weight: 700; 
    margin-bottom: 1rem; 
}
.hero .subtitle { 
    font-size: 1.25rem; 
    font-weight: 300; 
    margin-bottom: 2rem; 
    font-style: italic;
}

/* Botão CTA */
.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500; /* FONTE NOVA */
    font-family: var(--font-body);
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase; /* Mais profissional */
    letter-spacing: 0.5px;
}
.cta-button:hover {
    background-color: #7a5c4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilo Padrão das Seções */
section {
    padding: 4.5rem 0;
}
section h2 {
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 2.75rem; /* Aumentado */
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* SEÇÃO PROPÓSITO */
#proposito {
    background-color: var(--white);
}
#proposito h2 {
    color: var(--accent-color);
}
#proposito p {
    font-size: 1.15rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
    font-weight: 400; /* FONTE NOVA */
}

/* SEÇÃO CAFÉ */
#cafe {
    background-color: var(--bg-color);
}
/* NOVO ESTILO para o parágrafo de introdução */
.section-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2.5rem auto;
    color: #555;
    font-style: italic;
    font-weight: 400; /* FONTE NOVA */
}
.cafe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.product-card img {
    max-width: 200px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}
.product-title {
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.product-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
    min-height: 80px;
    font-weight: 400; /* FONTE NOVA */
}
.product-price {
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}
.product-card .cta-button {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
}

/* Seção Palavra Diária */
#palavra-diaria {
    background-color: var(--white);
    text-align: center;
}
#palavra-diaria blockquote { 
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 2rem; /* Aumentado */
    font-style: italic; 
    color: var(--text-color); 
    max-width: 800px; 
    margin: 0 auto; 
    font-weight: 400;
}
#palavra-diaria cite { 
    display: block; 
    margin-top: 1rem; 
    font-size: 1.1rem; /* Aumentado */
    color: var(--accent-color); 
    font-weight: 500; /* FONTE NOVA */
    font-style: normal;
}
#palavra-diaria h3 { 
    font-family: var(--font-heading); /* FONTE NOVA */
    font-weight: 700; 
    font-size: 1.75rem; /* Aumentado */
    margin-top: 2rem; 
    color: var(--text-color); 
}
#palavra-diaria p { 
    max-width: 700px; 
    margin: 0.5rem auto 0; 
    font-size: 1.1rem; /* Aumentado */
    line-height: 1.7; 
    color: #555; 
    font-weight: 400; /* FONTE NOVA */
}

/* SEÇÃO TESTEMUNHOS */
#testemunhos {
    background-color: var(--bg-color);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 0 5px 5px 0;
}
.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    color: #444;
    font-size: 1.05rem;
    font-weight: 400; /* FONTE NOVA */
}
.testimonial-card cite {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
    font-family: var(--font-heading); /* FONTE NOVA */
}

/* Seção Vídeos (MODIFICADO PARA CARROSSEL) */
#videos {
    background-color: var(--white);
}
.videos-grid {
    display: flex; /* MUDOU */
    overflow-x: auto; /* MUDOU */
    gap: 1.5rem; /* MUDOU */
    padding-bottom: 1.5rem; /* MUDOU */
    -webkit-overflow-scrolling: touch; /* MUDOU */
}
.video-placeholder {
    flex: 0 0 360px; /* MUDOU - Define a largura de cada vídeo */
}
.video-placeholder iframe { 
    width: 100%; 
    height: 200px; /* Altura fixa */
    border: none; 
    border-radius: 5px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Seção Blog */
#blog {
    background-color: var(--bg-color);
}
.blog-carousel { display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 1.5rem; -webkit-overflow-scrolling: touch; }
.blog-post { flex: 0 0 300px; border: 1px solid #eee; border-radius: 5px; overflow: hidden; background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.blog-post img { width: 100%; height: 180px; object-fit: cover; }
.blog-post h3 { 
    font-family: var(--font-heading); /* FONTE NOVA */
    font-size: 1.3rem; /* Aumentado */
    font-weight: 700;
    padding: 1rem 1rem 0.5rem 1rem; 
}
.blog-post h3 a { text-decoration: none; color: var(--primary-color); }
.blog-post p { padding: 0 1rem 1rem 1rem; font-size: 0.9rem; color: #666; font-weight: 400; }
.read-more { display: inline-block; padding: 0.5rem 1rem; margin: 0 1rem 1rem 1rem; background-color: var(--accent-color); color: var(--white); text-decoration: none; border-radius: 3px; font-size: 0.9rem; font-weight: 500; }
.read-more:hover { background-color: #4a6a69; }

/* Rodapé */
footer {
    background-color: var(--text-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 2.5rem 0; /* Aumentado */
    margin-top: 2rem;
    font-weight: 400;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    .navbar nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .navbar nav ul li { margin-left: 0; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .cafe-grid {
        grid-template-columns: 1fr; /* Coluna única */
    }
    .product-desc {
        min-height: auto; /* Remove altura mínima no mobile */
    }

    .testimonial-grid {
        grid-template-columns: 1fr; /* Coluna única */
    }

    .video-placeholder {
        flex-basis: 300px; /* Menor no mobile */
    }
}