/* ===========================
   1. ESTILOS GLOBAIS
   =========================== */
   body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1e8db;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* ===========================
   2. CABEÇALHO (HEADER)
   =========================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1e8db;
    padding: 0 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #85274f;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* ===== MENU RESPONSIVO ===== */
.menu-toggle {
    display: none;
    font-size: 32px;
    color: #85274f;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #f1e8db;
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 9999; /* garante que fique acima da hero */
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto; 
    }

    nav.active ul {
        display: flex;
    }
}

/* ===========================
   3. SUBMENU (TREINO)
   =========================== */
nav ul li.has-submenu {
    position: relative;
}

nav ul li ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f1e8db;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 200px;
    z-index: 100;
}

nav ul li.has-submenu:hover ul.submenu,
nav ul li.has-submenu.open ul.submenu {
    display: block;
}

nav ul li ul.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #85274f;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li ul.submenu li a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav ul li ul.submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: #f1e8db;
    }

    nav ul li ul.submenu li a {
        padding: 12px 0;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
}

/* ===========================
   4. CONTAINER PRINCIPAL
   =========================== */
.container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
}

/* ===========================
   5. CARDS GERAIS
   =========================== */
.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0;
    font-size: 1.3em;
    color: #85274f;
}

.card p {
    padding: 0 15px;
    color: #666;
    font-size: 0.95em;
}

.card a {
    display: inline-block;
    margin: 15px 0 20px;
    padding: 10px 20px;
    background-color: #85274f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background-color: #274f85;
}

/* ===========================
   6. FOOTER
   =========================== */
footer {
    background-color: #f1e8db;
    color: #85274f;
    padding: 15px 40px;
    margin-top: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

footer .instagram-icon {
    position: absolute;
    right: 40px;
}

footer .instagram-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    vertical-align: middle;
}

footer .instagram-icon img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        text-align: center;
        position: static;
    }

    footer .instagram-icon {
        position: static;
        margin-top: 10px;
    }
}

/* ===========================
   7. LISTAS E MAPAS
   =========================== */
.list {
    flex: 1 1 40%;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
    color: #555;
}

.list h2 {
    margin: 15px 0 5px;
    font-size: 20px;
    color: #85274f;
}

.list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.list p {
    font-size: 16px;
    color: #555;
}

address a {
    color: inherit;
}

address a:hover {
    color: #85274f;
    text-decoration: underline;
}

.map {
    position: relative;
    width: 640px;
    height: 480px;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .map {
        width: 100%;
        height: 60vw;
    }

    .list {
        text-align: left;
    }
}

/* ===========================
   8. FORMULÁRIOS
   =========================== */
form {
    max-width: 400px;
    margin: 30px auto 0;
    font-family: Arial, sans-serif;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form textarea,
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

form button {
    background-color: #85274f;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

form button:hover {
    background-color: #6b1f40;
}

/* ===========================
   9. PÁGINAS DE TEXTO E IMAGENS
   =========================== */
.texto {
    overflow: hidden;
    padding: 0 40px;      /* igual ao header e .about */
    max-width: 1200px;    /* mantém largura máxima */
    margin: 0 auto;       /* centraliza horizontalmente */
}

.texto h1 { font-size: 40px; margin-bottom: 30px; color: #85274f; border-bottom: 2px solid rgba(133, 39, 79, 0.2); }
.texto h2 { font-size: 25px; margin-bottom: 10px; color: #333; }
.texto h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.texto p, .texto ul { font-size: 16px; line-height: 1.6; color: #555; }

.texto a { text-decoration: none; color: #85274f; }
.texto a:hover { text-decoration: underline; }

.texto a.button {
    background-color: #85274f;
    color: #f1e8db;
    padding: 15px 30px;
    font-size: 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s;
    margin-top: 20px;
}

.texto a.button:hover {
    background-color: #6b1f40;
    color: #f1e8db;
}

.imagem {
    float: left;
    margin-bottom: 20px;
    margin-right: 30px;
    width: 300px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    object-fit: cover;
}

@media (max-width: 768px) {
    .imagem {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* ===========================
   10. BOTÕES GERAIS
   =========================== */
.button {
    padding: 15px 30px;
    font-size: 22px;
    background-color: #85274f;
    color: #f1e8db;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
}

.button:hover {
    background-color: #6b1f40;
}

/* ===========================
   11. TIMER
   =========================== */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

#message-timer {
    font-size: 30px;
    font-weight: bold;
    color: #85274f;
    margin-bottom: 80px;
}

#timer {
    font-size: 120px;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

#progress-container {
    width: 70%;
    max-width: 600px;
    height: 20px;
    background-color: #e0d6c8;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 40px 0;
}

#progress-bar {
    height: 100%;
    width: 100%;
    transition: width 1s linear, background-color 0.5s ease;
}

.progress-green { background-color: #4caf50; }
.progress-orange { background-color: #ff9800; }
.progress-red { background-color: #f44336; }

#controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

#controls button {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

#controls button:hover {
    background-color: #ddd;
    transform: scale(1.05);
}

#controls svg {
    width: 28px;
    height: 28px;
    fill: black;
}

/* ===========================
   12. RESPONSIVIDADE GERAL
   =========================== */
@media (max-width: 768px) {
    .container { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    footer { flex-direction: column; text-align: center; position: static; }
    footer .instagram-icon { position: static; margin-top: 10px; }
}

/* ===========================
   13. PÁGINA DE EVENTOS
   =========================== */
   .eventos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 40px 0;
}

.evento-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    width: 70%;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.evento-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

.evento-info {
    padding: 20px 25px;
}

.evento-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #85274f;
    font-size: 1.3em;
}

.evento-info p {
    color: #555;
    font-size: 1em;
    line-height: 1.4;
}

/* ===========================
   14. PÁGINA DE EVENTOS - TEXTO E IMAGENS
   =========================== */
.texto-eventos {
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.texto-eventos h1 { font-size: 40px; margin-bottom: 30px; color: #85274f; }
.texto-eventos h2 { font-size: 25px; margin-bottom: 10px; color: #333; }
.texto-eventos h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.texto-eventos p, .texto-eventos ul { font-size: 16px; line-height: 1.6; color: #555; }
.texto-eventos a { text-decoration: none; color: #85274f; }
.texto-eventos a:hover { text-decoration: underline; }

.imagem-eventos {
    float: left;
    margin-bottom: 20px;
    margin-right: 30px;
    width: 300px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    object-fit: cover;
}

.info-eventos {
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-eventos h1 { font-size: 40px; margin-bottom: 30px; color: #85274f; }
.info-eventos h2 { font-size: 25px; margin-bottom: 10px; color: #333; }
.info-eventos h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.info-eventos p { font-size: 25px; line-height: 1.6; color: #555; }
.info-eventos a { text-decoration: none; color: #85274f; }
.info-eventos a:hover { text-decoration: underline; }

.evento-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.evento-item h2 { font-size: 25px; margin: 0; color: #333; }
.evento-item p { font-size: 18px; margin: 0; color: #555; }
.evento-item a { font-size: 18px; margin: 0; color: #85274f; }

/* ===========================
   15. CARDS PIN DE LOCAIS GRATUITOS
   =========================== */
.sitios-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
}

.pin-card {
    position: relative;
    flex: 1 1 280px;
    width: 300px;
    background-color: white;
    border-radius: 5px 5px 30px 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    margin: 20px;
}

.pin-card:hover {
    transform: translateY(-5px);
}

.pin-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.pin-top {
    padding: 15px;
}

.pin-top h3 {
    margin: 10px 0 5px;
    color: #85274f;
    font-size: 1.2em;
}

.pin-top p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
}

/* ===========================
   16. FORMULÁRIO MAILER LITE
   =========================== */
.ml-embedded {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.ml-embedded form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ml-embedded form input,
.ml-embedded form textarea,
.ml-embedded form button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.ml-embedded form button {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
}

@media (max-width: 480px) {
    .ml-embedded {
        padding: 15px;
    }

    .ml-embedded form input,
    .ml-embedded form textarea,
    .ml-embedded form button {
        font-size: 14px;
    }
}

/* ===========================
   17. PÁGINA DE CONTATO
   =========================== */
.contact-text, .contact-form {
    flex: 1 1 400px;
    padding: 20px;
}

.contact-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #85274f;
}

.contact-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.contact-text a {
    text-decoration: none;
    color: #85274f;
}

.contact-text a:hover {
    text-decoration: underline;
    color: #6b1f40;
}

/* ===========================
   18. RESPONSIVIDADE ESPECÍFICA
   =========================== */
@media (max-width: 768px) {
    .evento-card {
        flex-direction: column;
        width: 90%;
    }

    .evento-card img {
        width: 100%;
        height: auto;
    }

    .evento-info {
        padding: 15px;
        text-align: center;
    }

    .imagem-eventos {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .evento-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .evento-item h2,
    .evento-item p,
    .evento-item a {
        font-size: 18px;
    }

    .texto-eventos h1 { font-size: 30px; }
    .texto-eventos h2 { font-size: 22px; }
    .texto-eventos h3 { font-size: 16px; }
    .texto-eventos p,
    .texto-eventos ul { font-size: 16px; }

    .info-eventos h1 { font-size: 30px; }
    .info-eventos p { font-size: 20px; }
}

/* ===========================
   HERO SECTION ANIMADA
   =========================== */
   .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    gap: 40px;
    flex-wrap: wrap;
    overflow: hidden;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-content h1 {
    font-size: 48px;
    color: #85274f;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out 0.3s;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out 0.6s;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===========================
   ANIMAÇÃO AO CARREGAR
   =========================== */
.animate-slide-left.show,
.animate-slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   RESPONSIVIDADE
   =========================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
        gap: 20px; /* reduzir de 40px para 20px */
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
        
    }
}

.section-title {
    padding: 10px 40px;
}

.section-title h2 {
    font-size: 30px;
    color: #85274f;
    border-bottom: 2px solid rgba(133, 39, 79, 0.2); /* Cor da sua marca com pouca opacidade */
}



/* ================================
   PÁGINA SOBRE
   ================================ */

.about {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;        /* centraliza horizontalmente */
    padding: 0 40px;       /* mesmo padding lateral do header */
}

 /* Destacar títulos das seções */
.about h1 {
    font-size: 42px;
    color: #85274f;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.about h2 {
    font-size: 30px;
    color: #85274f;
    border-bottom: 2px solid rgba(133, 39, 79, 0.2);
}

.about h3 {
    font-size: 22px;
    color: #85274f;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about h4 {
    font-size: 16px;
    color: #85274f;
    margin-top: 10px;
    margin-bottom: 10px;
}

.about ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 8px;
    border-left: 2px solid #85274f;
}

.about p { font-size: 16px; line-height: 1.6; color: #555; }


.hub-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.hub-card {
    background-color:  rgba(133, 39, 79, 0.1); /* semi-transparente */
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: #85274f;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* efeito moderno de leve desfoque */
}

.hub-card h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

.hub-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.4;
}

.hub-card:hover {
    background-color: rgba(255, 255, 255, 0.25); /* aumenta opacidade no hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* sombra leve */
    transform: translateY(-5px); /* leve movimento para dar sensação de flutuar */
}


/* ===========================
   19. ARTIGO EM DESTAQUE (BLOG)
   =========================== */
   .blog-destaque {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background-color: white; /* Fundo branco para destaque */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.destaque-imagem {
    flex-shrink: 0; /* Impede que a imagem encolha mais do que o necessário */
    width: 450px; /* Largura da imagem */
    height: 300px; /* Altura fixa para a imagem */
    overflow: hidden;
    border-radius: 10px;
}

.destaque-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra todo o espaço sem distorção */
    transition: transform 0.3s ease;
}

.blog-destaque:hover .destaque-imagem img {
    transform: scale(1.05); /* Efeito de zoom leve no hover */
}

.destaque-conteudo {
    flex-grow: 1; /* Permite que o conteúdo ocupe o espaço restante */
}

.destaque-conteudo .section-title {
    /* Ajusta a margem do título secundário para o contexto do bloco */
    padding: 0;
    border-bottom: none;
    margin-bottom: 10px;
}

.destaque-conteudo h3 {
    font-size: 28px;
    color: #85274f; /* Cor da sua marca */
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.destaque-conteudo p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Reutilizando a classe .button, mas com ajuste de margem */
.destaque-conteudo .button {
    margin-top: 0;
    padding: 12px 25px; /* Botão ligeiramente menor para o contexto */
    font-size: 18px;
}


/* RESPONSIVIDADE PARA O DESTAQUE DO BLOG */
@media (max-width: 992px) {
    .blog-destaque {
        flex-direction: column; /* Empilha em telas menores */
        text-align: center;
        margin: 40px 20px;
        padding: 30px;
        gap: 20px;
    }

    .destaque-imagem {
        width: 100%; /* Largura total */
        height: 250px;
    }
    
    .destaque-conteudo h3 {
        font-size: 24px;
    }
}