/* RESET E CONFIGURAÇÕES GERAIS */
:root {
    --primary-dark: #003300;
    --primary-medium: #014b01;
    --primary-light: #005500;
    --accent-gold: #9b782d;
    --accent-gold-light: #b8942a;
    --accent-light: #fcf2df;
    --light-bg: #eaebec;
    --light-green: #cad6bf;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Compensa o header fixo */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 90px; /* Compensa a altura do header fixo */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
}

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

section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}

.btn-secondary:hover {
    background-color: var(--primary-medium);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}

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

.btn-donate {
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-donate:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-2px);
}

/* Cabeçalho */
#mainHeader {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.3s ease;
    will-change: transform;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

/* Menu Hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark);
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Navegação - ESTILO DESKTOP */
#mainNav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

.nav-list > li > a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 12px 18px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    background-color: var(--primary-medium);
    color: var(--white);
}

.has-submenu {
    position: relative;
}

.has-submenu > a .fa-chevron-down {
    font-size: 0.8rem;
    transition: var(--transition);
}

.has-submenu:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* Submenu Desktop */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.submenu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-medium);
}

/* ===== ESTILOS ESPECÍFICOS DA PÁGINA GRUPO DE JOVENS ===== */

.jovens-banner {
    width: 100%;
    height: 10vh;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jovens-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1);
}

.jovens {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.jovens p {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 30px 0;
    color: var(--text-dark);
    text-align: justify;
}

.jovens #primeiro-paragrafo {
    margin-top: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.9 !important;
    color: var(--primary-dark);
}


/* Rodapé */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    z-index: 8;
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.3;
    font-style: italic;
    font-size: 0.85em;
    margin-top: -5px;
    margin-left: 0;
    max-width: 200px;
}

.footer-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px) scale(1.1);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-medium);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.1);
}

/* Botão Instalar PWA */
.pwa-install-btn {
    position: fixed;
    bottom: 90px;
    left: 30px;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    z-index: 998;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-install-btn:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Classes para animações */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade - TABLET */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-banner {
        height: 70vh;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 400px;
    }
}

/* Responsividade - MOBILE */
@media (max-width: 768px) {
    /* Menu Mobile */
    .menu-toggle {
        display: flex;
    }
    
    #mainNav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        display: block;
    }
    
    #mainNav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    
    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    .nav-list > li > a {
        padding: 15px;
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
        border-bottom: none;
    }
    
    .has-submenu > a .fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .has-submenu.active > a .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    /* Submenu Mobile */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: rgba(0, 51, 0, 0.03);
        border-radius: 0;
        margin: 0;
    }
    
    .has-submenu.active .submenu {
        max-height: 500px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .submenu li {
        border-bottom: none;
    }
    
    .submenu a {
        padding: 12px 15px;
        border-radius: 0;
    }
    
    /* Hero Banner */
    .hero-banner {
        height: 45vh;
        min-height: 280px;
    }
    
    .hero-banner-img {
        object-position: center top;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Cards */
    .about-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card:hover,
    .schedule-card:hover {
        transform: translateY(-5px);
        transform: scale(1.02);
    }
    
    /* Podcast */
    .podcast-art-container {
        padding: 30px 20px;
    }
    
    .sound-circle {
        width: 150px;
        height: 150px;
    }
    
    .sound-circle i {
        font-size: 3rem;
    }
    
    .podcast-name {
        font-size: 1.8rem;
    }
    
    .podcast-link-btn {
        padding: 14px 30px;
        font-size: 1rem;
        min-width: 200px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    /* Botões fixos */
    .pwa-install-btn {
        left: 20px;
        bottom: 80px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Responsividade - SMALL MOBILE */
@media (max-width: 480px) {
    .hero-banner {
        height: 38vh;
        min-height: 240px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-card,
    .schedule-card,
    .address-card,
    .contact-card {
        padding: 20px;
    }
    
    .podcast-stats {
        gap: 20px;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .pwa-install-btn {
        left: 15px;
        bottom: 70px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Acessibilidade - Foco visível */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Imagens lazy loaded */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    #mainHeader,
    .hero-banner,
    .footer,
    #backToTop,
    .pwa-install-btn {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}



/* SEÇÃO GRUPO DE HOMENS (GH) */

.section.gh {
  margin-top: 80px;
  padding: 70px 20px;
  background-color: #eaebec;
  color: #333;
  min-height: 100px;
}

figure.barra {
  position: relative;
  border: 0 solid white;
  box-shadow: 1px 1px 4px black;
}
figure.barra img {
  width: 100%;
  height: 100%;
}

.section.gh p {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 10px auto 0;
  max-width: 800px;
  text-align: justify;
  text-indent: 30px;
}

.section.gh p#primeiro-paragrafo {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  margin-top: 20px !important;
  font-size: 1.1rem;
  line-height: 1.6;
  text-indent: 30px;
}

.section.gh h1 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  text-align: center;
  font-size: 22px;
}

.section.gh p#citacao {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 1.0rem;
  line-height: 1.6;
  margin: 10px auto 0;
  max-width: 600px;
  text-align: center;
  text-indent: 0;
}

@media (max-width: 768px) {
  .section.gh p {
    font-size: 1rem;
    text-indent: 20px;
  }
  .section.gh p#primeiro-paragrafo {
    font-size: 0.95rem;
    line-height: 1.6;
    text-indent: 0;
  }
}
