/* ========================================================================
   ARCO REAL - SUPREMO GRANDE CAPÍTULO DE SÃO PAULO
   CSS Completo e Otimizado v2.1
   - Padronização de fontes e cores
   - Remoção de espaços desnecessários
   - Design elegante e responsivo
   - Otimizado para performance
======================================================================== */

/* --------------------------------------------------
   BASE / RESET
-------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #222222;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

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

/* --------------------------------------------------
   CORES & TOKENS DE DESIGN (Arco Real Inglês)
-------------------------------------------------- */
:root {
  /* Cores do Arco Real Inglês */
  --arco-red: #c40b2b;
  --arco-red-dark: #950820;
  --arco-blue: #003b73;
  --arco-blue-light: #0052a3;
  --arco-gold: #f7c75d;
  --arco-purple: #5b2c6f;

  /* Cores de texto padronizadas */
  --text-main: #222222;
  --text-secondary: #444444;
  --text-muted: #555555;
  --bg-light: #faf7f7;
  --bg-soft: #ffffff;

  --radius-lg: 999px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.16);
  --shadow-soft-small: 0 6px 18px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 24px rgba(247, 199, 93, 0.3);

  --section-padding: 4rem;
  --max-width: 1120px;
  
  --header-height: 140px;
}

/* --------------------------------------------------
   HEADER REDESENHADO
-------------------------------------------------- */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  padding: 1.2rem 0;
  border-bottom: 3px solid var(--arco-gold);
}

.container-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 3px var(--arco-gold);
  border: none;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-text {
  color: #ffffff;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 1;
}

/* Menu Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Navegação Principal */
.nav-main {
  background: var(--arco-blue);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.9rem;
  padding: 0.8rem 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Botão Área Restrita */
.btn-area-restrita {
  padding: 0.5rem 1.5rem !important;
  border-radius: var(--radius-lg) !important;
  background: var(--arco-gold) !important;
  color: var(--arco-blue) !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(247, 199, 93, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-left: 0.5rem;
}

.btn-area-restrita:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247, 199, 93, 0.5);
}

/* --------------------------------------------------
   SEÇÕES GERAIS - ESPAÇAMENTO OTIMIZADO
-------------------------------------------------- */
section {
  padding: var(--section-padding) 1.5rem;
  position: relative;
}

section:first-of-type {
  padding-top: calc(var(--section-padding) + var(--header-height));
}

#material {
  padding-bottom: 0;
  margin-bottom: 0;
}

#jornada,
#historia,
#ingresso,
#capitulos,
#administracao,
#noticias,
#contato {
  padding-top: 3rem;
}

.section-alt {
  background: var(--bg-light);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft-small);
}

.section-title {
  font-size: 2.2rem;
  color: var(--arco-blue);
  margin-bottom: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Layout em 2 colunas */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

/* Chips / Tags */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(196, 11, 43, 0.1) 0%, rgba(196, 11, 43, 0.05) 100%);
  color: var(--arco-red-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(196, 11, 43, 0.2);
}

.chip-gold {
  background: linear-gradient(135deg, rgba(247, 199, 93, 0.2) 0%, rgba(247, 199, 93, 0.1) 100%);
  color: #8b6914;
  border-color: rgba(247, 199, 93, 0.3);
}

/* Cards */
.card-soft {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft-small);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-soft:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card-royal {
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.03) 0%, rgba(196, 11, 43, 0.02) 100%);
  border: 2px solid rgba(0, 59, 115, 0.1);
}

.card-royal:hover {
  border-color: rgba(0, 59, 115, 0.3);
}

/* Imagem com moldura */
.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--arco-gold);
  max-width: 400px;
  margin: 0 auto;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

/* Imagem Destaque (Avental) */
.highlight-image-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.highlight-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 59, 115, 0.2);
  border: 3px solid var(--arco-gold);
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-purple) 100%);
  padding: 1rem;
}

.highlight-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.highlight-image-frame:hover .highlight-image {
  transform: scale(1.03);
}

.highlight-caption {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* Listas */
ul.clean {
  list-style: none;
  padding-left: 0;
}

ul.clean li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

ul.clean li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--arco-gold);
  font-size: 0.9rem;
}

.text-small {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Texto padrão para parágrafos */
p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------
   HERO / CARROSSEL - Otimizado para Chrome
-------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  padding: 0;
}

.hero-slider {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1s ease-out;
  will-change: opacity;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(196, 11, 43, 0.5) 0%, rgba(0, 59, 115, 0.5) 50%, rgba(91, 44, 111, 0.45) 100%);
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(247, 199, 93, 0.95);
  color: var(--arco-blue);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-gold);
  animation: fadeInDown 1s ease-out;
}

.badge-icon {
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.2rem;
  max-width: 850px;
  margin-bottom: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out;
}

.hero-highlight {
  color: var(--arco-gold);
  text-shadow: 0 2px 10px rgba(247, 199, 93, 0.5);
}

.hero-subtitle {
  max-width: 680px;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.2s backwards;
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-blue-light) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0, 59, 115, 0.5);
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.hero-pagination {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.hero-dot.active {
  width: 32px;
  background: var(--arco-gold);
  border-color: var(--arco-gold);
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Scroll reveal - Otimizado para não travar */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------
   CAPÍTULOS
-------------------------------------------------- */
.grid-capitulos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.cap-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft-small);
  border-left: 5px solid var(--arco-red);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cap-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--arco-red) 0%, var(--arco-blue) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cap-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateX(6px) translateY(-2px);
  border-left-width: 6px;
}

.cap-item:hover::before {
  opacity: 1;
}

.cap-number {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-blue-light) 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  margin-right: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 59, 115, 0.3);
  float: left;
}

.cap-item strong {
  font-weight: 700;
  color: var(--arco-red-dark);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.cap-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.3rem;
}

/* --------------------------------------------------
   ADMINISTRAÇÃO - DESIGN ELEGANTE
-------------------------------------------------- */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.admin-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-soft-small);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--arco-red) 0%, var(--arco-gold) 50%, var(--arco-blue) 100%);
}

.admin-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
  border-color: var(--arco-gold);
}

.admin-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--arco-red);
  box-shadow: 0 4px 15px rgba(196, 11, 43, 0.3), 0 0 0 6px var(--arco-gold);
  position: relative;
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-purple) 100%);
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Ajuste específico para foto do Pato Vila - subir e centralizar no rosto */
.admin-avatar img[alt="José Antônio Pato Vila"] {
  object-position: center 15%;
  transform: scale(1.1);
}

/* Ajuste específico para foto do Cesar Garcia - leve ajuste */
.admin-avatar img[alt="Cesar Augusto Garcia"] {
  object-position: center 25%;
  transform: scale(1.05);
}

.admin-avatar.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-avatar.no-image::before {
  content: "👤";
  font-size: 50px;
  color: var(--arco-gold);
}

.admin-avatar.no-image img {
  display: none;
}

.admin-name {
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  font-size: 1.1rem;
}

.admin-role {
  font-size: 0.9rem;
  color: var(--arco-blue);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 59, 115, 0.08);
  border-radius: var(--radius-lg);
  display: inline-block;
}

/* --------------------------------------------------
   LISTA COMPLETA DE ADMINISTRAÇÃO - DESIGN ELEGANTE
-------------------------------------------------- */
.admin-detailed-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 3px solid var(--arco-gold);
}

.admin-detailed-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--arco-blue);
  font-weight: 800;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.admin-detailed-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--arco-red), var(--arco-gold), var(--arco-blue));
  border-radius: 3px;
}

.admin-departments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.admin-dept {
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 59, 115, 0.02) 100%);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(247, 199, 93, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.admin-dept::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--arco-gold) 0%, var(--arco-red) 100%);
}

.admin-dept:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--arco-gold);
}

.admin-dept-wide {
  grid-column: 1 / -1;
}

.dept-title {
  font-size: 1.2rem;
  color: var(--arco-blue);
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(247, 199, 93, 0.2);
}

.dept-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  padding-left: 0.5rem;
  border-left: 3px solid rgba(247, 199, 93, 0.4);
  font-style: italic;
}

.dept-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--arco-gold) 0%, #D4A950 100%);
  color: var(--arco-blue);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(247, 199, 93, 0.4);
}

.dept-members {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dept-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
}

.member-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(247, 199, 93, 0.03) 100%);
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.member-item:hover {
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.03) 0%, rgba(247, 199, 93, 0.05) 100%);
  border-left-color: var(--arco-gold);
  transform: translateX(5px);
}

.member-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.4;
}

.member-role {
  font-size: 0.85rem;
  color: var(--arco-blue);
  font-weight: 500;
  font-style: italic;
}

/* --------------------------------------------------
   NOTÍCIAS - ACCORDION STYLE COM ABAS
-------------------------------------------------- */

/* Abas de Notícias */
.news-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.news-tab {
  padding: 1rem 2rem;
  background: rgba(0, 59, 115, 0.08);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  color: var(--arco-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-tab:hover {
  background: rgba(0, 59, 115, 0.15);
  transform: translateY(-2px);
}

.news-tab.active {
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  color: #ffffff;
  border-color: var(--arco-gold);
  box-shadow: 0 4px 15px rgba(196, 11, 43, 0.3);
}

.news-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.news-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.news-item-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.03) 0%, rgba(196, 11, 43, 0.02) 100%);
  position: relative;
}

.news-item-header:hover {
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.06) 0%, rgba(196, 11, 43, 0.04) 100%);
}

.news-thumbnail {
  width: 180px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.05) 0%, rgba(196, 11, 43, 0.03) 100%);
  padding: 0.5rem;
}

.news-header-content {
  flex: 1;
  min-width: 0;
}

.news-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--arco-blue);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.news-toggle {
  font-size: 2rem;
  color: var(--arco-gold);
  font-weight: 700;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(247, 199, 93, 0.1);
  transition: all 0.3s ease;
}

.news-item-header:hover .news-toggle {
  background: rgba(247, 199, 93, 0.2);
  transform: rotate(90deg);
}

.news-item.active .news-toggle {
  transform: rotate(45deg);
  background: var(--arco-gold);
  color: white;
}

.news-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.news-item.active .news-item-body {
  max-height: 2000px;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}

/* Imagem grande quando expandir a notícia */
.news-body-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--arco-gold);
}

.news-item-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-align: justify;
}

.news-item-body p:last-child {
  margin-bottom: 0;
}

.news-source {
  font-size: 0.85rem;
  color: var(--arco-blue);
  font-weight: 600;
  font-style: italic;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 59, 115, 0.1);
}

/* --------------------------------------------------
   SEÇÃO CRIPTA - Foto menor à esquerda + Texto à direita
-------------------------------------------------- */
.cripta-section {
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg, var(--arco-blue) 0%, #002244 100%);
}

.cripta-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
}

.cripta-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 4px solid var(--arco-gold);
}

.cripta-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cripta-content {
  color: white;
}

.cripta-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--arco-gold);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cripta-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
}

.cripta-text p {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
}

.cripta-quote {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(247, 199, 93, 0.12);
  border-left: 4px solid var(--arco-gold);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cripta-quote cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--arco-gold);
  font-weight: 600;
  text-align: right;
  font-style: normal;
}

.cripta-final {
  font-weight: 600;
  font-size: 1.1rem !important;
  color: var(--arco-gold) !important;
  margin-top: 1.5rem !important;
}

/* --------------------------------------------------
   VISUALIZADOR DE PDF - COMPATÍVEL COM TODOS BROWSERS
-------------------------------------------------- */
.pdf-viewer-section {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 59, 115, 0.08) 0%, rgba(196, 11, 43, 0.05) 100%);
}

.pdf-viewer-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.pdf-viewer-header {
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-purple) 100%);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdf-viewer-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.pdf-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pdf-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.pdf-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
}

.pdf-cover {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--arco-gold);
}

.pdf-cover-image {
  width: 100%;
  height: auto;
  display: block;
}

.pdf-info {
  padding: 0.5rem 0;
}

.pdf-info-title {
  font-size: 1.5rem;
  color: var(--arco-blue);
  font-weight: 800;
  margin-bottom: 1rem;
}

.pdf-info-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pdf-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pdf-features li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 59, 115, 0.1);
  font-size: 1rem;
}

.pdf-features li:last-child {
  border-bottom: none;
}

.pdf-download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-pdf-download,
.btn-pdf-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pdf-download {
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(196, 11, 43, 0.3);
}

.btn-pdf-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196, 11, 43, 0.4);
}

.btn-pdf-open {
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-blue-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 59, 115, 0.3);
}

.btn-pdf-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 59, 115, 0.4);
}

.pdf-tip {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* PDF Viewer Responsivo */
@media (max-width: 768px) {
  .pdf-preview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .pdf-cover {
    max-width: 220px;
    margin: 0 auto;
  }

  .pdf-info {
    text-align: center;
  }

  .pdf-info-title {
    font-size: 1.3rem;
  }

  .pdf-download-buttons {
    justify-content: center;
  }

  .btn-pdf-download,
  .btn-pdf-open {
    width: 100%;
    justify-content: center;
  }

  .pdf-features li {
    text-align: left;
  }
}

.pdf-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pdf-buttons .btn-primary,
.pdf-buttons .btn-outline {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* --------------------------------------------------
   CONTATO
-------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--arco-blue) 0%, var(--arco-blue-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft-small);
}

.contact-label {
  font-weight: 700;
  color: var(--arco-blue);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-value {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-value a {
  color: var(--arco-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-small);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #ffffff;
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--arco-blue);
  box-shadow: 0 0 0 4px rgba(0, 59, 115, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: linear-gradient(135deg, var(--arco-red) 0%, var(--arco-red-dark) 100%);
  color: #ffffff;
  padding: 3rem 1.5rem 1.5rem;
  border-top: 3px solid var(--arco-gold);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 3px var(--arco-gold);
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: var(--arco-gold);
}

.footer-instagram {
  text-align: center;
  padding: 1.5rem 0;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 12px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom div {
  margin-bottom: 0.5rem;
}

.footer-bottom div:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
   RESPONSIVO - MOBILE & TABLET
-------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
    --header-height: 102px;
  }

  .header-top {
    padding: 0.8rem 0;
  }

  .logo-container {
    width: 50px;
    height: 50px;
  }

  .header-title {
    font-size: 0.9rem;
  }

  .header-subtitle {
    font-size: 0.65rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--arco-blue);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-main.active {
    max-height: 500px;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .btn-area-restrita {
    margin: 1rem auto 0 !important;
    width: 100%;
    text-align: center !important;
    justify-content: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero-pagination {
    bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-primary,
  .btn-outline {
    font-size: 0.95rem;
    padding: 0.9rem 1.7rem;
  }

  .cap-number {
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 0.75rem;
  }

  .cap-item strong {
    font-size: 0.95rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-avatar {
    width: 90px;
    height: 90px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-logo-mark {
    width: 50px;
    height: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .admin-departments {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .admin-detailed-title {
    font-size: 1.5rem;
  }

  .admin-dept {
    padding: 1.5rem;
  }

  .dept-title {
    font-size: 1.1rem;
  }

  .member-name {
    font-size: 0.9rem;
  }

  .member-role {
    font-size: 0.8rem;
  }

  /* Cripta - Layout responsivo (empilhado no mobile) */
  .cripta-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .cripta-image-container {
    max-width: 280px;
    margin: 0 auto;
  }

  .cripta-image {
    max-height: 350px;
  }

  .cripta-title {
    font-size: 1.6rem;
  }

  .cripta-text {
    font-size: 0.95rem;
    text-align: left;
  }

  .cripta-quote {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .pdf-embed-container {
    height: 600px;
  }

  .pdf-viewer-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pdf-viewer-header h3 {
    font-size: 1.2rem;
  }

  .news-item-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: contain;
  }

  .news-headline {
    font-size: 1.05rem;
  }

  .news-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
  }

  .news-header-content {
    width: 100%;
    padding-right: 50px;
  }

  .news-item-body {
    padding: 0 1rem;
  }

  .news-item.active .news-item-body {
    padding: 0 1rem 1.5rem 1rem;
  }

  .news-item-body p {
    font-size: 0.95rem;
  }

  .pdf-buttons {
    flex-direction: column;
  }

  .pdf-buttons .btn-primary,
  .pdf-buttons .btn-outline {
    width: 100%;
  }
}

/* iPhone SE, Galaxy S8, Xiaomi Redmi (320px-375px) */
@media (max-width: 375px) {
  :root {
    --section-padding: 2.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .admin-avatar {
    width: 80px;
    height: 80px;
  }
}

/* iPad Mini, Samsung Galaxy Tab (768px-820px) */
@media (min-width: 768px) and (max-width: 820px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* iPad Air, iPad Pro 11" (820px-1024px) */
@media (min-width: 821px) and (max-width: 1024px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop HD (1920px+) */
@media (min-width: 1920px) {
  :root {
    --max-width: 1600px;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .hero-title {
    font-size: 3.8rem;
  }
}

/* Orientação Landscape em Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/* Suporte para telas de alta resolução (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .admin-avatar {
    border-width: 3px;
  }

  .image-frame {
    border-width: 3px;
  }
}

/* Scroll suave para navegadores antigos / Preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Impressão */
@media print {
  header,
  .hero-pagination,
  .mobile-menu-toggle,
  footer,
  .btn-primary,
  .btn-outline {
    display: none;
  }

  section {
    page-break-inside: avoid;
    padding: 2rem 0;
  }

  body {
    background: white;
  }
}
