/* --- RESET E VARIÁVEIS --- */
:root {
    --primary-color: #B71561; /* Tom Magenta da Marca */
    --primary-light: #e62e78;
    --secondary-color: #525252;
    --bg-light: #F9F9F9;
    --white: #ffffff;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* --- CSS NOVO (Adicionar) --- */
.logo {
    /* Removemos estilos de fonte e mantemos o alinhamento */
    display: flex;
    align-items: center;
    height: 100%; /* Garante que o container ocupe a altura do menu */
}

.logo-img {
    max-height: 50px; /* Define a altura máxima do logo para não esticar o menu */
    width: auto;      /* Mantém a proporção da imagem */
    display: block;   /* Remove espaçamentos indesejados abaixo da imagem */
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .logo-img {
        max-height: 40px; /* Logo um pouco menor em telas pequenas */
    }
}

.logo span { color: var(--secondary-color); margin-left: 5px; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.btn-cta-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-cta-nav:hover { background-color: var(--primary-light); }

/* Menu Mobile Hamburguer (Escondido no Desktop) */
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION (BANNER) --- */
.hero {
    margin-top: 70px;
    /* ATENÇÃO: Substitua a URL abaixo pela imagem real do seu banner */
    background: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.7)), url('./img/banner-conceive-01.JPG');
    background-size: cover;
    background-position: center;
    height: 90vh; 
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(183, 21, 97, 0.4);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    background-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(183, 21, 97, 0.6);
}

/* --- BENEFÍCIOS --- */
.benefits {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 { margin-bottom: 15px; color: var(--text-color); }

/* --- PRODUTOS --- */
.products {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 350px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.product-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-product {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-product:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- TRUST / MÉDICOS --- */
.trust-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.trust-content p {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* --- FOOTER --- */
footer {
    background-color: #333;
    color: #ccc;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }

    .menu-toggle { display: block; color: var(--primary-color); }

    .hero h1 { font-size: 2rem; }
    .hero { height: auto; padding: 100px 0 60px; }
    
    .products-grid { flex-direction: column; align-items: center; }
    .product-card { width: 100%; max-width: 400px; }
}

/* --- PÁGINA ONDE COMPRAR --- */

.retailer-section {
    padding: 120px 0 80px; /* Espaço para não ficar escondido pelo menu fixo */
    background-color: var(--bg-light);
    min-height: 80vh; /* Garante que ocupe boa parte da tela */
    text-align: center;
}

.page-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* GRID DOS VAREJISTAS */
.retailer-grid {
    display: grid;
    /* Cria colunas automáticas. Ideal para 3 ou 4 por linha no desktop */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    justify-content: center;
}

.retailer-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent; /* Borda invisível para transição suave */
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.retailer-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(183, 21, 97, 0.15);
}

.retailer-card img {
    max-width: 100%;
    max-height: 200px;  /* <--- ALTERADO DE 80px PARA 120px */
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease
}

.retailer-card:hover img {
    filter: grayscale(0%); /* Fica colorido ao passar o mouse */
    opacity: 1;
}

.btn-shop {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s;
}

.retailer-card:hover .btn-shop {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Ajuste específico para quando houver 7 itens e quisermos centralizar a última linha */
@media (min-width: 1024px) {
    .retailer-grid {
        max-width: 1000px; /* Controla a largura total para não ficar muito espalhado */
        margin: 0 auto;
    }
}

/* --- PÁGINAS LEGAIS (Termos / Privacidade) --- */

.legal-section {
    padding: 120px 0 80px; /* Margem superior para o menu fixo */
    background-color: var(--white);
    min-height: 80vh;
}

.legal-content {
    max-width: 900px; /* Largura reduzida para facilitar a leitura */
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

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

.divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 40px; /* Espaço antes de cada novo tópico */
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color); /* Detalhe visual */
    padding-left: 15px;
}

.legal-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify; /* Justifica o texto para ficar "quadradinho" */
}

.legal-content ul {
    list-style: disc; /* Bolinhas na lista */
    margin-left: 40px;
    margin-bottom: 20px;
    color: #444;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: #222;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.legal-footer a {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- ESTILOS DA PÁGINA SOBRE --- */

.page-header {
    margin-top: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; }

.detail-section { padding: 60px 0; }
.bg-gray { background-color: var(--bg-light); }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.detail-text h2 { color: var(--primary-color); font-size: 2rem; margin-bottom: 20px; }
.detail-text p { margin-bottom: 15px; font-size: 1.1rem; color: #555; }

.check-list { margin-top: 20px; }
.check-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-weight: 500;
}
.check-list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.detail-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Tabela Comparativa */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.col-bad, .col-good {
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.col-bad { background-color: #fff0f0; border-color: #ffcccc; }
.col-good { background-color: #f0fff4; border-color: #ccffdd; }

.col-bad h3 { color: #d32f2f; margin-bottom: 15px; }
.col-good h3 { color: #388e3c; margin-bottom: 15px; }

/* Passos de Como Usar */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: bold;
    color: rgba(183, 21, 97, 0.1); /* Cor primária bem transparente */
}

.step-card h3 { color: var(--primary-color); margin-bottom: 15px; position: relative; }

/* Badges de Segurança */
.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge {
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Banner CTA */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.cta-banner h2 { margin-bottom: 30px; }

/* Responsivo para Sobre */
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; }
    .comparison-table { grid-template-columns: 1fr; }
    .step-number { font-size: 3rem; }
}


/* --- ESTILOS AVANÇADOS DA PÁGINA TÉCNICA (SOBRE) --- */

.technical-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
}

/* Lista de Perigos (Vermelha) */
.danger-list {
    background-color: #fff5f5;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
    border: 1px solid #ffcccc;
    list-style-type: disc;
    color: #c62828;
}

.danger-list li { margin-bottom: 8px; font-weight: 500; }
.danger-list strong { color: #b71c1c; }

/* Grid de Ciência */
.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.science-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.science-card h3 { color: var(--secondary-color); margin-bottom: 10px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.science-card p { font-size: 0.95rem; color: #555; }

/* Explicação dos Íons */
.ion-explanation {
    background-color: #e3f2fd; /* Azul bem clarinho */
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #2196f3;
}

.ion-explanation h3 { color: #1565c0; margin-bottom: 15px; }
.ion-explanation ul { list-style: none; }
.ion-explanation li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.ion-explanation li::before { content: '⚡'; position: absolute; left: 0; color: #1565c0; }

/* Grid de Indicações */
.indications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.indication-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.indication-item h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--text-color); }
.indication-item ul { list-style: disc; margin-left: 20px; }
.indication-item li { margin-bottom: 5px; color: #555; }

/* Ingredientes */
.ingredients-box {
    background-color: var(--white);
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: monospace; /* Fonte técnica */
    font-size: 0.9rem;
    color: #333;
}
.ingredients-box .note { color: #777; margin-top: 10px; display: block; font-style: italic; }

/* FAQ Accordion (Expansível) */
.faq-container { max-width: 900px; margin: 0 auto; }

.faq-item {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #fafafa;
    list-style: none; /* Remove a seta padrão em alguns browsers */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Seta personalizada para o FAQ */
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #aaa; }
.faq-item[open] summary::after { content: '-'; }

.faq-item p {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
    .indications-grid { grid-template-columns: 1fr; }
}

/* --- ESTILOS DE SEGURANÇA E CERTIFICAÇÃO --- */

.safety-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.safety-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.safety-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.safety-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.safety-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}