:root {
    --primary: #259e39;
    --secondary: #e53e3e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    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.5;
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header-top {
    background-color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap; /* Agora os itens ficam todos numa linha s¨® */
}


@media (min-width: 768px) {
    .logo-container {
        justify-content: flex-start;
    }
}
.logo {
    height: 8rem;
}

h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 1rem;
}
.fakf-title {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 1rem;
    flex-grow: 1;
    white-space: nowrap;
}
.bandeira-acre {
    height: 7rem; /* ajuste aqui conforme o tamanho ideal da bandeira */
    border-radius: 0.25rem;
}

/* Navigation */
nav {
    background-color: var(--primary);
    color: white;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    padding: 0.5rem 0;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        padding: 0;
    }
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.875rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

/* Content Card */
.content-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.month-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.no-events {
    color: var(--gray-500);
    font-style: italic;
}

/* Steps List */
.steps-list {
    list-style-position: inside;
    margin: 1rem 0;
}

.steps-list li {
    margin-bottom: 1rem;
}

/* News Section */
.news-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.news-card .date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Photos Section */
.photos-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.photo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: var(--gray-100); /* tom claro, mais neutro */
}

.photo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Grid Section */
.grid-section {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

/* Links */
.link-primary {
    color: var(--primary);
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

.center {
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

/* Carousel Styles */
.image-carousel {
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 400px; /* ou 350px, ajuste conforme seu gosto */
    object-fit: contain;
    margin: 0 auto;
    display: block;
    }

/* Filiation CTA Styles */
.filiation-cta {
    margin: 2rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.button-primary {
    background-color: var(--primary);
    color: white;
}

.button-primary:hover {
    background-color: #142c4e;
}

.button-secondary {
    background-color: var(--secondary);
    color: white;
}

.button-secondary:hover {
    background-color: #c53030;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .carousel-slide img {
        height: 300px;
    }
}
/* Legendas do carrossel */
.slide-caption {
    text-align: center;
    background-color: var(--gray-100); /* tom clarinho e consistente com o tema */
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    color: var(--gray-800);
}

.slide-caption p {
    margin: 0.25rem 0;
}
.photo-item.highlight {
    grid-column: 1 / -1; /* Ocupa toda a linha no grid */
}

.photo-item.highlight img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Exibe a imagem inteira, sem cortes */
}
.nucleo-section {
    margin-bottom: 4rem;
}

.nucleo-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.nucleo-foto {
    flex: 1 1 200px;
    max-width: 250px;
}

.nucleo-foto img {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nucleo-info {
    flex: 2 1 400px;
}

.nucleo-info h2 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.nucleo-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: var(--gray-800);
}

.nucleo-foto-grande {
    width: 100%;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--gray-100);
}

.nucleo-foto-grande img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.graduacao {
    font-size: 1rem;
    font-weight: normal;
    color: var(--gray-600); /* cor mais discreta */
    margin-left: 0.5rem;
    font-style: italic;
}
.agenda ul {
    list-style: disc inside;
    margin-left: 1rem;
    padding-left: 0;
    color: var(--gray-800);
    font-size: 1rem;
}

.agenda ul li {
    margin-bottom: 0.25rem;
}
@media (max-width: 600px) {
  .nucleo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nucleo-info {
    flex: 1 1 100%;
  }
}
.insta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.insta-link:hover {
    color: var(--gray-700);
    text-decoration: underline;
}
#cronometro {
  font-size: 72px;
  margin: 10px 0;
  color: #000000;
  font-weight: bold;
  text-align: center;
}