/* ===== VARIÁVEIS ===== */
:root {
  /* --- PALETA ANTIGA (Azul) - Descomente para voltar ---
  --color-primary: #b6c1c8;
  --color-secondary: #0088cc;
  --color-secondary-rgb: 0, 136, 204;
  --color-bg: #090a0f;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  ------------------------------------------------------ */

  /* NOVA PALETA (Ciano, Roxo e Verde Árvore) */
  --color-primary: #02c39a;
  /* Ciano / Verde Água */
  --color-secondary: #7b2cbf;
  /* Roxo */
  --color-secondary-rgb: 123, 44, 191;
  --color-accent: #2dd4bf;
  /* Ciano Brilhante / Verde Folha */
  --color-bg: #09060f;
  /* Fundo escuro com leve tom roxo */
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.09);

  --text-main: #f5f6f6;
  --text-muted: #a0a5ab;
  --font-base: 'Inter', sans-serif;
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== UTILIDADES ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.highlight {
  color: var(--color-secondary);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 136, 204, 0.1);
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 136, 204, 0.2);
}

.badge-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  background: transparent;
}

.badge-accent {
  background: rgba(182, 193, 200, 0.1);
  color: #b6c1c8;
  border-color: rgba(182, 193, 200, 0.2);
}

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #006da3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(9, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(9, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  transform: scale(1.15);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--text-main);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
  max-width: 220px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-list .btn-primary {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--color-secondary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 460px;
  width: 100%;
}

/* Hero Carousel */
.hero-carousel {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(9, 6, 15, 0.95) 0%, rgba(9, 6, 15, 0) 100%);
  padding: 40px 20px 20px;
  z-index: 2;
}

.hero-carousel-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
}

.hero-carousel-overlay p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin: 0;
}


/* Glass Cards */
.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.glass-card i {
  font-size: 2rem;
  color: var(--color-secondary);
  background: rgba(0, 136, 204, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.highlight-card {
  border: 1px solid var(--color-secondary);
  box-shadow: 0 0 20px rgba(var(--color-secondary-rgb), 0.3);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(var(--color-secondary-rgb), 0.4);
  }

  100% {
    box-shadow: 0 0 25px rgba(var(--color-secondary-rgb), 0.8);
  }
}

.decor-1 {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  animation: float 6s ease-in-out infinite;
}

.decor-2 {
  bottom: 15%;
  right: -20px;
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Glows */
.glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.glow-1 {
  background: var(--color-secondary);
  top: 20%;
  left: 10%;
}

.glow-2 {
  background: #5c38b0;
  bottom: 10%;
  right: 10%;
}

/* ===== SECTION DARK ===== */
.dark-section {
  background: var(--color-bg);
  position: relative;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  z-index: 0;
}

.dark-section .container {
  position: relative;
  z-index: 1;
}

/* ===== HISTÓRIA GRID ===== */
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.history-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: var(--transition);
  display: block;
}

.history-card:hover {
  transform: translateY(-10px);
  background: var(--color-surface-hover);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 136, 204, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.history-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.history-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TECH SECTION ===== */
.tech-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 350px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.08), rgba(92, 56, 176, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-icon-big {
  font-size: 6rem;
  color: var(--color-secondary);
  opacity: 0.6;
}

.tech-glow {
  background: var(--color-secondary);
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tech-content h2 {
  margin-bottom: 20px;
}

.tech-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.tech-list {
  margin-top: 20px;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
}

.tech-list li i {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

/* ===== MISSÃO E VISÃO ===== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.mv-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.mv-card:hover {
  border-color: rgba(0, 136, 204, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 136, 204, 0.12);
}

.mv-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 136, 204, 0.1);
  border: 2px solid rgba(0, 136, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mv-icon i {
  font-size: 1.8rem;
  color: var(--color-secondary);
}

.mv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text-main);
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mv-card {
    padding: 30px 20px;
  }
}

/* ===== ORGANOGRAMA / DIRETORIA ===== */
.organograma {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.org-level-top {
  gap: 40px;
}

.org-level-directors {
  gap: 20px;
}

.org-connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--color-secondary), rgba(0, 136, 204, 0.2));
  margin: 0 auto;
}

.org-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  width: 180px;
  transition: var(--transition);
}

.org-card:hover {
  border-color: rgba(0, 136, 204, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.1);
}

.org-presidente {
  border-color: rgba(0, 136, 204, 0.3);
  background: linear-gradient(135deg, var(--color-surface), rgba(0, 136, 204, 0.05));
}

.org-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: rgba(0, 136, 204, 0.1);
  border: 2px solid rgba(0, 136, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.org-photo i {
  font-size: 2rem;
  color: var(--color-secondary);
  opacity: 0.5;
}

.org-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-card h4 {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-main);
  line-height: 1.3;
}

.org-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .org-level {
    gap: 12px;
  }

  .org-card {
    width: 140px;
    padding: 16px 12px;
  }

  .org-photo {
    width: 60px;
    height: 60px;
  }

  .org-level-directors {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== GALERIA ===== */
.gallery-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .gallery-categories {
    grid-template-columns: 1fr;
  }
}

.gallery-category {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-category:hover {
  border-color: rgba(0, 136, 204, 0.2);
}

.gallery-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-category-header:hover {
  background: var(--color-surface-hover);
}

.gallery-cat-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-cat-info i {
  font-size: 1.8rem;
  color: var(--color-secondary);
}

.gallery-cat-info h3 {
  font-size: 1.3rem;
  margin: 0;
}

.gallery-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.gallery-category.open .gallery-arrow {
  transform: rotate(180deg);
}

.gallery-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.gallery-category.open .gallery-category-content {
  max-height: 2000px;
}

.gallery-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  padding: 4px 30px 30px;
}

.gallery-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo:hover {
  transform: scale(1.05);
  border-color: rgba(0, 136, 204, 0.4);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.15), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-empty {
  color: var(--text-muted);
  opacity: 0.5;
  font-style: italic;
  padding: 20px 0;
  text-align: center;
  grid-column: 1 / -1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: lightbox-in 0.3s ease;
}

.lightbox.active {
  display: flex;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* ===== FALE CONOSCO ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contato-form-wrap {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 35px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-info-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.contato-info-card:hover {
  border-color: rgba(0, 136, 204, 0.2);
  transform: translateX(4px);
}

.contato-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 136, 204, 0.1);
  border: 1px solid rgba(0, 136, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contato-info-icon i {
  font-size: 1.3rem;
  color: var(--color-secondary);
}

.contato-info-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--text-main);
}

.contato-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-secondary);
}

.form-success i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contato-form-wrap {
    padding: 24px;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
}

.footer-logo {
  height: 90px;
  width: 90px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.footer p {
  color: var(--text-muted);
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0 8px;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

/* ===== ANIMAÇÕES (scroll reveal) ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
    transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

[data-animate="right"] {
  transform: translateX(40px);
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========================================================
   RESPONSIVO - MOBILE
   ======================================================== */

@media (max-width: 768px) {

  /* NAV */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(9, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .logo-subtitle {
    display: none;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-img {
    height: 50px;
    width: 50px;
  }

  /* HERO */
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-visual {
    height: 300px;
  }

  .decor-1 {
    top: 5%;
    left: 10px;
  }

  .decor-2 {
    bottom: 10%;
    right: 10px;
  }

  .glass-card {
    padding: 12px;
    gap: 10px;
  }

  .glass-card h4 {
    font-size: 0.9rem;
  }

  .glass-card p {
    font-size: 0.75rem;
  }

  /* SECTIONS */
  .section {
    padding: 60px 0;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .tech-container {
    grid-template-columns: 1fr;
  }

  .tech-placeholder {
    max-width: 250px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    justify-content: center;
  }

  .category-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 240px;
  }
}

/* ===== ARTICLE PAGES (pauta-religiosa, agente-comunitario, moradia) ===== */
.article-section {
  padding: 140px 0 100px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: var(--color-secondary);
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.article-content li {
  color: var(--text-muted);
  margin-bottom: 10px;
  list-style: disc;
}

.article-content a.btn-primary {
  margin-top: 30px;
}