/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: "Inter", sans-serif;
    background: #f7f7f7;
    color: #222;
    font-size: 18px;
    line-height: 1.65;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* TOPO */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #2b0000;
    padding: 16px 0;
    z-index: 1000;
}

.topbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dharma-icon {
    color: #f1c40f;
    font-size: 30px;
}

.logo-text {
    color: #f1c40f;
    font-size: 30px;
    font-weight: 700;
}

.menu a {
    color: #f1c40f;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 600;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1545389336-cf090694435e?q=80&w=2000&auto=format&fit=crop") center/cover no-repeat;
    padding-top: 90px;
}

.hero-overlay {
    background: rgba(0,0,0,0.65);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: #fff;
}

.hero-overlay h1 {
    font-size: 64px;
}

.subtitle {
    font-size: 30px;
    color: #f1c40f;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 22px;
    max-width: 900px;
    margin-bottom: 40px;
}

/* ASHTAMANGALA */
.ashtamangala-spheres {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.sphere {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-image: url("img/ashtamangala-sprite.jpg");
    background-size: 400% 200%;
    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.6),
        0 0 18px rgba(241,196,15,0.7),
        0 0 36px rgba(241,196,15,0.4);
    animation: glow 3.5s ease-in-out infinite,
               float 4s ease-in-out infinite;
}

.parasol { background-position: 0% 0%; }
.peixes { background-position: 33.33% 0%; }
.vaso { background-position: 66.66% 0%; }
.lotus { background-position: 100% 0%; }
.concha { background-position: 0% 100%; }
.no-infinito { background-position: 33.33% 100%; }
.bandeira { background-position: 66.66% 100%; }
.roda { background-position: 100% 100%; }

@keyframes glow {
    50% { box-shadow: 0 0 32px rgba(241,196,15,1); }
}

@keyframes float {
    50% { transform: translateY(-6px); }
}

/* SEÇÕES */
.section {
    padding: 100px 0;
    background: #fff;
}

.section.light {
    background: #f0f0f0;
}

.section h2 {
    text-align: center;
    font-size: 40px;
}

.section-intro {
    text-align: center;
    font-size: 20px;
    margin: 20px auto 60px;
    max-width: 800px;
}

/* CARDS */
.cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 36px;
    width: 340px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.card h3 {
    text-align: center;
}

/* CAMINHOS */
[data-caminho="menla"] { color: #1f4fd8; }
[data-caminho="tara"] { color: #2f6b3c; }
[data-caminho="vajrasattva"] { color: #d4a017; }

.caminho-conteudo {
    display: none;
    margin-top: 40px;
    text-align: center;
}

.caminho-conteudo.ativo {
    display: block;
}

/* CAMINHOS TERAPÊUTICOS – CORES RIGOROSAS */

/* Sangye Menla – Azul profundo */
.link-menla h3 {
    color: #0b3c5d;
}

/* Clareza de Tara – Verde oliva */
.link-tara h3 {
    color: #556b2f;
}

/* Vajrasattva – Dourado */
.link-vajra h3 {
    color: #c9a227;
}

/* TERAPEUTA */
.terapeuta {
    text-align: center;
    max-width: 800px;
}

.terapeuta-nome {
    font-size: 26px;
    font-weight: 600;
    margin-top: 10px;
}

.terapeuta-dharma {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* FOOTER */
.footer {
    background: #1a0000;
    color: #f1c40f;
    text-align: center;
    padding: 24px;
}
/* === BASE MANTIDA DA v2.2 === */
/* (todo o CSS anterior permanece igual) */

/* MODAIS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #fff;
    max-width: 520px;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal h3 {
    margin-bottom: 16px;
    font-size: 26px;
}

.modal p {
    font-size: 18px;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* ================= RESPONSIVIDADE v2.4 ================= */

/* Tablets */
@media (max-width: 1024px) {

    .hero-overlay h1 {
        font-size: 52px;
    }

    .subtitle {
        font-size: 26px;
    }

    .hero-text {
        font-size: 20px;
    }

    .cards {
        gap: 24px;
    }

    .card {
        width: 300px;
        padding: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .topbar-content {
        flex-direction: column;
        gap: 12px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        margin: 6px 10px;
        font-size: 16px;
    }

    .hero {
        height: auto;
        padding-top: 110px;
    }

    .hero-overlay {
        padding: 60px 20px;
    }

    .hero-overlay h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 22px;
    }

    .hero-text {
        font-size: 18px;
    }

    .ashtamangala-spheres {
        gap: 12px;
    }

    .sphere {
        width: 64px;
        height: 64px;
    }

    .section {
        padding: 80px 0;
    }

    .section h2 {
        font-size: 32px;
    }

    .section-intro {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 360px;
    }

    .modal {
        width: 90%;
        padding: 32px 24px;
    }

    .modal h3 {
        font-size: 24px;
    }

    .modal p {
        font-size: 17px;
    }

    .terapeuta-nome {
        font-size: 24px;
    }

    .terapeuta-dharma {
        font-size: 17px;
    }
}

/* Mobile pequeno */
@media (max-width: 420px) {

    .hero-overlay h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
    }

    .hero-text {
        font-size: 17px;
    }
}

/* ================= INVESTIMENTO & PACOTES ================= */
/* INVESTIMENTO & PACOTES (SEM GRÁFICO) */

.investimento-container {
    max-width: 900px;
    margin: 80px auto 0;
    text-align: center;
}

.tabela-pacotes {
    width: 100%;
    border-collapse: collapse;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.tabela-pacotes th,
.tabela-pacotes td {
    padding: 18px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.tabela-pacotes th {
    background: #fafafa;
    font-weight: 600;
}

.opcoes-avulsas {
    margin: 40px auto 0;
    padding: 24px 28px;
    background: #fff1f1;
    border-radius: 12px;
    text-align: center; /* ← centralizado */
    max-width: 420px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.opcoes-avulsas p {
    font-size: 16px;
    margin: 6px 0;
}

/* TERAPEUTA - FOTO */
.terapeuta {
    text-align: center;
}

.terapeuta-foto {
    margin-bottom: 24px;
}

.terapeuta-foto img {
    width: 220px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* ================= CRONOGRAMA SEMANAL ================= */

.section.dark {
    background: radial-gradient(circle at top, #1c1c1f, #0e0e10);
    color: #f2f2f2;
}

.cronograma-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: flex-start;
}

.cronograma-lista h2 {
    font-size: 34px;
    align-items: center;
    margin-bottom:px;
    color: #f5d58a;
}

.cronograma-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 20px;
    position: relative;
}

.cronograma-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 12px 0 0 12px;
}

.cronograma-item.azul::before { background: #3b6cff; }
.cronograma-item.vermelho::before { background: #8b2d2d; }
.cronograma-item.dourado::before { background: #f1c40f; }

.cronograma-item .dia {
    font-weight: 600;
    opacity: 0.7;
    min-width: 80px;
}

.cronograma-item strong {
    font-size: 18px;
}

.cronograma-item p {
    margin-top: 4px;
    font-size: 15px;
    opacity: 0.85;
}

/* DANA */

.cronograma-dana {
    background: rgba(255,255,255,0.05);
    margin-top: 62px; /* alinha com o topo visual do h2 do cronograma */
    border-radius: 16px;
    padding: 36px;
}

.cronograma-dana h3 {
    font-size: 28px;    
    margin-bottom: 22px;
    color: #f5d58a;
}

.cronograma-dana p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.dana-box {
    display: flex;
    gap: 18px;
    align-items: center;
    background: rgba(139,45,45,0.25);
    border-radius: 12px;
    padding: 18px 22px;
}

.dana-box i {
    font-size: 28px;
    color: #ffd6a6;
}

.dana-box strong {
    font-size: 17px;
}

.dana-box p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .cronograma-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= CARROSSEL DE CERTIFICADOS ================= */

.certificados-carousel {
    position: relative;
    max-width: 100%;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 16px;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
}

.carousel-item {
    flex: 0 0 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Setas */

.carousel-arrow {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #8b2d2d;
    padding: 8px;
    transition: transform 0.2s ease;
}

.carousel-arrow:hover {
    transform: scale(1.15);
}

/* Responsivo */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 110px;
        height: 110px;
    }
}
