/* --- RESET E VARIÁVEIS --- */
:root {
  --primary-color: #5c3a21;      /* Marrom tabaco / Raiz */
  --primary-dark: #3b2313;
  --accent-color: #c98a42;       /* Dourado / Palha */
  --bg-light: #f7f5f0;           /* Branco palha / Linho */
  --text-dark: #2d2a26;
  --text-muted: #6b6660;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
}

/* --- REGRAS GERAIS --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* --- HEADER & NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('assets/fundoapresentação.jpeg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 20px 60px 20px;
}

.hero-content {
  max-width: 750px;
}

.hero-tag {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ffda9f;
  margin-bottom: 12px;
  display: block;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ebebeb;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b07530;
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

/* --- O TEMPLO --- */
.about-image-wrapper img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 400px;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 16px;
  font-style: italic;
  color: var(--primary-color);
  margin-top: 20px;
  font-size: 1.05rem;
}

/* --- CARDS DE LINHAS --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background-color: var(--white);
  border: 1px solid #ebe8e2;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- TABELA DO CALENDÁRIO --- */
.schedule-table-wrapper {
  overflow-x: auto;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th, .schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.schedule-table tr:hover {
  background-color: #faf9f6;
}

/* --- GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item img:hover {
  transform: scale(1.06);
}

/* --- ORIENTAÇÕES --- */
.guidelines-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.guideline-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  border-top: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
}

.guideline-card i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.guideline-card h4 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.guideline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- CONTATO & FOOTER --- */
.contact-info p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--accent-color);
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer {
  background-color: var(--primary-dark);
  color: #c4beb7;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
}