/* --- Variáveis Globais e Reset --- */
:root {
    --primary-color: #008829; /* Um verde detox/saúde */
    --primary-color-dark: #008a6e;
    --secondary-color: #ffc107; /* Um amarelo/dourado para destaque */
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --text-color: #555;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* --- ESTILOS GLOBAIS DE TÍTULOS (BASE) --- */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-title2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--light-color)
}

.section-subtitle2 {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #fff
}

/* --- Botão CTA (Call to Action) --- */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.cta-button--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- 1. Seção Hero --- */
.hero {
    background: linear-gradient(rgba(45, 52, 54, 0.8), rgba(45, 52, 54, 0.8)), url('https://via.placeholder.com/1500x800?text=Fundo+Abstrato') no-repeat center center/cover;
    color: var(--light-color); /* Define a cor padrão para todo o texto do hero */
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__text {
    max-width: 700px;
}

.hero__trust {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero__image {
    margin-top: 40px;
}

.hero__image img {
    max-width: 350px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- 2. Seção Benefícios --- */
.benefits {
    background-color: var(--gray-color);
}

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.benefit-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

/* --- 3. Seção Ingredientes --- */
.ingredients__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.ingredient-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.ingredient-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

/* --- 4. Seção Como Tomar --- */
.how-to-use {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.how-to-use__steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step__number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.step p {
    font-size: 1.2rem;
}

.how-to-use__recommendation {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
}

/* --- 5. Seção Garantia --- */
.guarantee {
    background-color: var(--gray-color);
}
.guarantee__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.guarantee__image img {
    max-width: 250px;
    margin-bottom: 30px;
}

.guarantee__text p {
    margin-bottom: 30px;
    max-width: 600px;
}


/* ================================================================
--- 6. Estilização de Títulos (SEÇÃO SEPARADA) ---
================================================================
*/

/* --- Títulos H1 (Hero) --- */
.hero__headline {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    /* A cor é herdada do .hero (color: var(--light-color)) */
}

.hero__subheadline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    /* A cor é herdada do .hero (color: var(--light-color)) */
}

/* --- Títulos H2 (Títulos de Seção) --- */
.benefits .section-title {
    color: var(--dark-color); /* Título para seção clara */
}

.ingredients .section-title {
    color: var(--dark-color); /* Título para seção clara */
}

.guarantee .section-title {
    color: var(--dark-color); /* Título para seção clara */
}

.how-to-use .section-title {
    color: var(--light-color); /* Título para seção escura */
}

.final-cta .section-title {
    color: var(--light-color); /* Título para seção escura */
}

/* --- Subtítulos de Seção (.section-subtitle) --- */
.ingredients .section-subtitle {
    color: var(--text-color); /* Subtítulo para seção clara */
}

.how-to-use .section-subtitle,
.final-cta .section-subtitle {
    color: var(--light-color); /* Subtítulo para seção escura */
}

/* --- Títulos H3 (Títulos de Cards) --- */
.benefit-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.ingredient-card h3 {
    color: var(--primary-color-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.guarantee__text h3 {
    font-size: 1.5rem;
    color: var(--primary-color-dark);
    margin-bottom: 15px;
}

/* ================================================================ */


/* --- 7. Selos de Confiança --- */
.seals__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.seal-card {
    text-align: center;
}

.seal-card svg {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.seal-card strong {
    font-size: 1.1rem;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

/* --- 8. Seção Final CTA --- */
.final-cta {
    background-color: var(--dark-color);
    text-align: center;
}
/* Os estilos dos títulos desta seção estão na seção "6. Estilização de Títulos" */


/* --- Footer --- */
.footer {
    background: #111;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
}
.footer p {
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.footer p strong {
    color: #fff;
}

/* --- Animação de Fade-in (JavaScript) --- */
.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE (Mobile-First) --- */

/* Tablet (768px) e acima */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }

    .hero__content {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }
    
    .hero__text {
        flex: 1;
    }
    
    .hero__image {
        flex: 1;
        margin-top: 0;
    }
    
    .hero__headline {
        font-size: 3rem;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-to-use__steps {
        flex-direction: row;
    }
    .step {
        flex-direction: column;
        text-align: center;
        flex: 1;
    }
    .step p {
        font-size: 1.1rem;
    }

    .guarantee__content {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }
    .guarantee__image {
        flex: 1;
    }
    .guarantee__text {
        flex: 2;
    }
    .guarantee__text h2 {
        text-align: left;
    }

    .seals__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px) e acima */
@media (min-width: 1024px) {
    .hero__headline {
        font-size: 3.5rem;
    }

    .benefits__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ingredients__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}