/* GERAIS E RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    color: #004d40
}

a {
    text-decoration: none;
    color: #00796b; /* Cor primária */
}

.section-padding {
    padding: 80px 0;
}

.section-light {
    background-color: #F5DEB3;
}

.section-dark {
    background-color: #f2f2f2;
}

.section-colored {
    background-color: #e0f2f1; /* Cor de destaque clara */
}

/* BOTÕES */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2e7d32; /* Verde forte */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1b5e20;
}

/* HEADER/NAVEGAÇÃO */
.main-header {
    background-color: #004d40; /* Cor escura do cabeçalho */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.logo img {
    height: 40px; /* Ajuste o tamanho do seu logo */
    margin-right: 10px;
    height: 60px; /* altera a altura da logo */
    width: auto;  /* mantém proporção original */
    object-fit: contain; 
}

.logo h1 {
    font-size: 1.2em;
    font-weight: 300;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: #ffffff;
    padding: 10px 15px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.main-nav ul li a:hover {
    background-color: #00695c;
}

.btn-contato {
    background-color: #43a047; /* Verde de Contato */
    border-radius: 5px;
    margin-left: 10px;
}

.btn-contato:hover {
    background-color: #388e3c !important;
}

.menu-toggle {
    display: none; /* Escondido por padrão no desktop */
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon {
    font-size: 30px;
    color: #ffffff;
}

/* HERO/CARROSSEL (Simulação) */
.hero-section {
  background-image: url('banner.jpeg'); /* substitua pela sua imagem */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  height: 400px; /* ajuste a altura conforme necessário */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* === Retângulo transparente === */
.hero-section .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* controla a transparência */
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

/* === Texto da frase === */
.hero-section .quote {
  color: #fff;
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-card {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.quote-card.active {
    opacity: 1;
    display: block;
}

.quote {
    font-size: 3em;
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.author {
    font-size: 1.2em;
    font-weight: 300;
    text-transform: uppercase;
}

.carousel-nav {
    margin-top: 30px;
}
.carousel-nav button {
    padding: 8px 15px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-nav button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* SEÇÃO SOBRE */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.content-block h3 {
    color: #A0522D;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.content-block-p {
    color: #004d40;
}

/* SEÇÃO MEDICINAS (Antigo medicine-card) */
.medicine-card {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background-color: #004d40;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.medicine-p{
    color: #ffffff;
}

.medicine-card.reversed {
    flex-direction: row-reverse;
}

.medicine-image-placeholder {
    min-width: 300px;
    height: 200px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}

.medicine-content h3 {
    color: #F5DEB3;
    margin-bottom: 10px;
}

/* SEÇÃO RECOMENDAÇÕES (Tabs) */
.tab-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* esconder inputs (eles ficam antes das labels e conteúdos) */
.tab-container input[type="radio"] {
    display: none;
}

/* label(s) agrupados no topo */
.tab-labels {
    display: flex;
    gap: 10px;
    margin-bottom: 0; /* labels ficarão colados ao topo do conteúdo */
}

.tab-labels label {
    display: inline-block;
    padding: 15px 25px;
    background-color: #eee;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
    color: #004d40;
    transition: background-color 0.2s, color 0.2s;
}

/* label ativo (para cada input) */
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"] {
    background-color: #004d40;
    color: #fff;
}

/* container dos conteúdos */
.tab-contents {
    position: relative;
}

/* estilo comum do conteúdo */
.tab-content {
    background-color: #004d40;
    color: #fff;
    padding: 30px;
    border-radius: 0 5px 5px 5px;
    display: none;
}

.tab-content-h3 {
    color: #F5DEB3;
}

/* mostrar somente o conteúdo ativo */
#tab1:checked ~ .tab-contents #content1,
#tab2:checked ~ .tab-contents #content2 {
    display: block;
}

.tab-content h3 {
    margin-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.tab-content h3:first-child {
    margin-top: 0;
}

/* SEÇÃO EVENTOS */
.centered-content {
    text-align: center;
}

.event-card {
    background-color: #fff;
    display: inline-block;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-card h3 {
    color: #A0522D;
    margin-bottom: 15px;
}

.event-card p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* SEÇÃO CONTATO */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    text-align: left;
}

.contact-info h3 {
    color: #A0522D;
    margin-top: 20px;
    margin-bottom: 5px;
}

.contact-info-p {
    color: #004d40;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 15px;
}

#formMessage {
    font-size: 1em;
    text-align: center;
    transition: all 0.3s ease;
}

/* RODAPÉ */
footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 15px;
}

.footer-links a {
    color: #aaa;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

.cookie-notice {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
}

.cookie-notice button {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #004d40;
        width: 100%;
        display: none;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid #00695c;
    }
    
    .btn-contato {
        margin-left: 0;
        border-radius: 0;
    }

    .menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 50px 15px;
    }
    
    .quote {
        font-size: 1.5em;
    }

    .medicine-card, .medicine-card.reversed {
        flex-direction: column;
    }
    
    .medicine-image-placeholder {
        min-width: 100%;
    }

    .grid-contact {
        grid-template-columns: 1fr;
    }
    
    .contact-info h2 {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-bottom: 10px;
    }

    /* ajuste das tabs no mobile: empilha labels e conteúdos */
    .tab-labels {
        flex-direction: column;
    }

    .tab-labels label {
        border-radius: 5px;
    }
    
    /* === INÍCIO CORREÇÃO SESSÃO MEDICINAS (TAB) - MÁXIMA LARGURA FINAL === */
    .medicinas-tabs {
        /* Margem negativa para compensar o padding de 15px do .container e "esticar" a largura. */
        margin-left: -15px;
        margin-right: -15px;
        width: auto; 
    }
    
    .medicinas-tabs .tab-contents {
        /* Remove o padding lateral, pois o padding do container foi compensado pela margem negativa. */
        padding: 15px 0; 
    }

    .medicinas-tabs .tab-content .medicine-content-adjusted {
        /* REMOVENDO O PADDING LATERAL RESTANTE. Isso deve dar a largura máxima. */
        padding: 0; 
    }

    /* O estilo de cor dos parágrafos, que antes era do .medicine-card, é garantido aqui */
    .medicinas-tabs .tab-content h3 {
        color: #F5DEB3;
    }

    .medicinas-tabs .tab-content p {
        color: #fff;
        text-align: justify;
    }

    /* Reduz a margem das listas para que os marcadores não fiquem escondidos, mas minimiza o espaço */
    .medicinas-tabs .tab-content ul {
        margin-left: 10px !important; 
    }
    /* === FIM CORREÇÃO SESSÃO MEDICINAS (TAB) === */
}

/* ===== NOVO LAYOUT SOBRE COM BLOCOS ===== */
.sobre-layout {
    background-color: #F5DEB3;
}

.sobre-titulo {
    text-align: center;
    color: #004d40;
    margin-bottom: 40px;
}

.sobre-bloco {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.sobre-bloco.invertido {
    flex-direction: row-reverse;
}

.sobre-imagem {
    flex: 1 1 45%;
    text-align: center;
}

.sobre-imagem img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.sobre-texto {
    flex: 1 1 50%;
}

.sobre-texto h3 {
    color: #A0522D;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sobre-texto p {
    color: #004d40;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .sobre-bloco,
    .sobre-bloco.invertido {
        flex-direction: column;
    }
    .sobre-imagem img {
        max-width: 100%;
    }
    .sobre-texto {
        text-align: left;
    }
}

/* ===== LAYOUT DE ABAS PARA MEDICINAS ===== */
.medicinas-tabs {
    margin-top: 40px;
}

.medicinas-tabs input[type="radio"] {
    display: none;
}

.medicinas-tabs .tab-labels {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #A0522D;
    margin-bottom: 20px;
}

.medicinas-tabs .tab-labels label {
    color: #F5DEB3;
    background-color: transparent;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.medicinas-tabs .tab-labels label:hover {
    background-color: rgba(255,255,255,0.1);
}

.medicinas-tabs input#tab-xamanismo:checked ~ .tab-labels label[for="tab-xamanismo"],
.medicinas-tabs input#tab-ayahuasca:checked ~ .tab-labels label[for="tab-ayahuasca"] {
    background-color: #A0522D;
    color: #fff;
}

.medicinas-tabs .tab-contents {
    background-color: rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 0 0 15px 15px;
}

.medicinas-tabs .tab-content {
    display: none;
}

.medicinas-tabs input#tab-xamanismo:checked ~ .tab-contents #content-xamanismo,
.medicinas-tabs input#tab-ayahuasca:checked ~ .tab-contents #content-ayahuasca {
    display: block;
}

/* REMOVIDO: .medicinas-tabs .medicine-card { text-align: center; } */

.medicinas-tabs h3 {
    color: #F5DEB3;
    margin-bottom: 20px;
}

.medicinas-tabs p {
    color: #fff;
    text-align: justify;
}

/* ===== ESTILO ATUALIZADO DAS ABAS DE MEDICINAS (DESKTOP) ===== */
.medicinas-tabs .tab-labels {
    display: flex;
    justify-content: center;
    background-color: #F5DEB3;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    border: 2px solid #004d40;
}

.medicinas-tabs .tab-labels label {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-weight: bold;
    color: #004d40;
    background-color: #F5DEB3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.medicinas-tabs .tab-labels label:hover {
    background-color: #e0cda9;
}

.medicinas-tabs input#tab-xamanismo:checked ~ .tab-labels label[for="tab-xamanismo"],
.medicinas-tabs input#tab-ayahuasca:checked ~ .tab-labels label[for="tab-ayahuasca"] {
    background-color: #004d40;
    color: #F5DEB3;
}

.medicinas-tabs .tab-contents {
    background-color: #004d40;
    border-radius: 0 0 15px 15px;
    padding: 40px;
    border: 2px solid #004d40;
    border-top: none;
}

.medicinas-tabs h3 {
    color: #F5DEB3;
    margin-bottom: 20px;
}

.medicinas-tabs p {
    color: #fff;
    text-align: justify;
}

/* ===== NOVO ESTILO RECOMENDAÇÕES E NORMAS (ACCORDION IXDM) ===== */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background-color: #004d40;
    color: #fff;
    padding: 18px 25px;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #00695c;
}

.accordion-header.active {
    background-color: #A0522D;
}

.accordion-content {
    display: none;
    padding: 20px 25px;
    background-color: #fff;
    color: #004d40;
    border-top: 1px solid #ddd;
}

.accordion-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    display: block;
}

.mt-6 {
    margin-top: 60px;
}

/* Script base */
.accordion-header::after {
    content: '\25BC';
    float: right;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(180deg);
}
}