/*
Theme Name: Academia Goianiense de Letras
Theme URI: https://academiagoianiense.org.br
Description: Tema oficial da Academia Goianiense de Letras - inspirado na Académie Française e ABL
Version: 1.0.0
Author: Salazar Digital
Author URI: https://salazardigital.com.br
Text Domain: academia-goianiense
*/

/* =============================================
   VARIÁVEIS & RESET
   ============================================= */
:root {
  --navy: #1a3a5c;
  --gold: #b8960c;
  --gold-light: #d4ac0d;
  --cream: #f7f3ec;
  --cream-dark: #ede8df;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #888;
  --white: #ffffff;
  --border: rgba(184,150,12,0.3);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 4px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-dark); background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.3;
  color: var(--navy);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subtitle {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 300;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 1.5rem;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 80px 0; }
.agnl-hero-section { padding: 0 !important; background: #f0ebe3; }
/* ============================================================
   QUICK CARDS - 5 BOXES BELOW HERO (ABL STYLE)
   ============================================================ */
.agnl-quick-cards {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid #e8e8e8;
}

.agnl-qcards-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}

/* New card style (ABL-inspired) */
.agnl-qcard-link {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  text-decoration: none;
  color: inherit;
  display: flex;
}

.agnl-qcard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #1a6b4a;
  color: #ffffff;
  padding: 24px 16px;
  text-align: center;
  width: 100%;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.agnl-qcard-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.agnl-qcard-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.agnl-qcard-icon svg {
  fill: #ffffff;
  width: 40px;
  height: 40px;
}

.agnl-qcard-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-family: 'Trajan Pro', 'Palatino Linotype', serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}

.agnl-qcard-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
  font-family: 'Libre Baskerville', Georgia, serif;
}

/* Old image-based cards - hide them if they exist */
.agnl-qcard-img-link,
.agnl-qcard-img-item,
.agnl-qcard-banner-img {
  display: none !important;
}

@media (max-width: 900px) {
  .agnl-qcards-inner {
    flex-wrap: wrap;
  }
  .agnl-qcard-link {
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .agnl-qcard-link {
    min-width: 100%;
    max-width: 100%;
  }
}


/* =============================================
   HEADER / NAVBAR
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.site-logo img {
  height: 60px;
  width: auto;
}
.site-name {
  display: flex;
  flex-direction: column;
}
.site-name-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.site-name-sub {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}
.site-nav ul {
  display: flex;
  gap: 5px;
  align-items: center;
}
.site-nav > ul > li {
  position: relative;
}
.site-nav > ul > li > a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: block;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li.current_page_item > a {
  color: var(--gold);
  background: rgba(184,150,12,0.08);
}
.site-nav .dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 100;
}
.site-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-nav .dropdown a:hover { color: var(--gold); background: var(--cream); }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.site-hero {
  min-height: 80vh;
  background: linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(26,58,92,0.75) 100%),
              url('https://www.academiagoianiense.org.br/wp-content/uploads/2019/04/FOTO-ACADEMICOS.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  color: var(--white);
  max-width: 700px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 550px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy);
  padding: 30px 0;
  border-top: 3px solid var(--gold);
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold-light);
  font-weight: 700;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* =============================================
   SOBRE
   ============================================= */
.sobre-section { background: var(--cream); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sobre-text p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}
.sobre-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sobre-quote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}

/* =============================================
   IMORTAIS / ACADÊMICOS  (Académie Française style)
   ============================================= */
.imortais-section { background: var(--white); }
.imortais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}
.imortal-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.imortal-card:hover { transform: translateY(-4px); }
.imortal-photo-wrap {
  position: relative;
  width: 130px;
  height: 150px;
  margin: 0 auto 12px;
}
.imortal-photo {
  width: 130px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.imortal-card:hover .imortal-photo { filter: grayscale(0%); }
.imortal-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.imortal-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.imortal-patrono {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================
   NOTÍCIAS
   ============================================= */
.noticias-section { background: var(--cream); }
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.noticia-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.noticia-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.noticia-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.noticia-body { padding: 24px; }
.noticia-cat {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.noticia-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.noticia-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.7;
}
.noticia-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--cream-dark);
  padding-top: 14px;
}
.noticia-ler {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.noticia-ler:hover { color: var(--gold); }
.noticias-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* =============================================
   AGENDA
   ============================================= */
.agenda-section { background: var(--navy); }
.agenda-section .section-title { color: var(--white); }
.agenda-section .section-subtitle { color: rgba(255,255,255,0.5); }
.agenda-list { display: flex; flex-direction: column; gap: 20px; }
.agenda-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  transition: background 0.2s;
}
.agenda-item:hover { background: rgba(255,255,255,0.08); }
.agenda-date {
  text-align: center;
}
.agenda-day {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 700;
}
.agenda-month {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.agenda-info h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.agenda-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.agenda-info span {
  font-size: 0.78rem;
  color: var(--gold);
}

/* =============================================
   PATROCINADORES / PARCEIROS
   ============================================= */
.parceiros-section { background: var(--cream); padding: 50px 0; }
.parceiros-section .section-title { font-size: 1.4rem; }
.parceiros-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 2rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.2s;
}
.parceiros-logos:hover { opacity: 1; filter: grayscale(0%); }
.parceiros-logos img { max-height: 60px; width: auto; }

/* =============================================
   CONTATO
   ============================================= */
.contato-section { background: var(--white); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contato-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.contato-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.contato-info-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contato-info-text h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contato-info-text p { font-size: 0.95rem; color: var(--text-mid); }
.contato-form input,
.contato-form textarea,
.contato-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--cream);
  color: var(--text-dark);
  transition: border-color 0.2s;
}
.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.contato-form textarea { min-height: 140px; resize: vertical; }
.contato-form .btn-primary { width: 100%; text-align: center; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-name-main { color: var(--white); font-size: 1.2rem; }
.footer-brand .site-name-sub { color: var(--gold); }
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  margin-left: 12px;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .noticias-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-topbar { display: none; }
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow); }
  .site-nav.open ul { flex-direction: column; }
  .hamburger { display: block; }
  .hero-title { font-size: 2rem; }
  .imortais-grid { grid-template-columns: repeat(3, 1fr); }
  .noticias-grid { grid-template-columns: 1fr; }
  .stats-bar .container { gap: 30px; }
  .stat-divider { display: none; }
  section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .imortais-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: var(--navy);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0d2540 60%, #1a3a5c 100%);
    opacity: 0.95;
    z-index: 0;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 80px 0;
}
.hero-badge {
    display: inline-block;
    background: rgba(184, 150, 12, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 25px;
}
.hero-title em {
    color: var(--gold);
    font-style: italic;
}
.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 600px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll-indicator span {
    display: block;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    margin: 0 auto;
    animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.btn-primary:hover {
    background: #a07a00;
    border-color: #a07a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,150,12,0.35);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
    background: var(--navy);
    color: #fff;
}
.btn-gold {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.btn-gold:hover {
    background: #a07a00;
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--navy);
    padding: 50px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   SECTIONS GENERAL
   ============================================================ */
.section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-block;
    background: rgba(184, 150, 12, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 18px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 15px;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-desc {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================================
   SOBRE SECTION
   ============================================================ */
.sobre {
    background: #fff;
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre-content .section-badge { display: inline-block; }
.sobre-content .section-title { text-align: left; }
.sobre-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.sobre-missao {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}
.sobre-missao h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0 0 10px;
}
.sobre-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.12);
}
.sobre-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.sobre-image:hover img { transform: scale(1.03); }

/* ============================================================
   IMORTAIS GRID
   ============================================================ */
.imortais {
    background: var(--cream);
}
.imortais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 20px;
}
.imortal-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.imortal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.imortal-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.imortal-photo-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
}
.imortal-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s;
}
.imortal-card:hover .imortal-photo-wrap img { transform: scale(1.05); }
.cadeira-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--navy);
    color: var(--gold);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--gold);
    line-height: 1;
}
.imortal-info {
    padding: 14px;
    background: #fff;
}
.imortal-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--navy);
    margin: 0 0 5px;
    font-weight: 700;
    line-height: 1.3;
}
.imortal-patrono {
    font-size: 0.73rem;
    color: #888;
    margin: 0;
}
.imortal-patrono strong { color: var(--navy); }

/* ============================================================
   NOTICIAS SECTION
   ============================================================ */
.noticias {
    background: #fff;
}
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.noticia-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.noticia-card a { text-decoration: none; color: inherit; display: block; }
.noticia-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.noticia-card:hover .noticia-img img { transform: scale(1.05); }
.noticia-categoria {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--gold);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.noticia-body {
    padding: 22px;
}
.noticia-data {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
}
.noticia-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.4;
}
.noticia-body p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.btn-ler-mais {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    display: block;
}
.no-content-placeholder {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    background: var(--cream);
    border-radius: 12px;
    color: #666;
}

/* ============================================================
   AGENDA SECTION
   ============================================================ */
.agenda {
    background: var(--cream);
}
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.agenda-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.agenda-item:hover { transform: translateY(-3px); }
.agenda-item.destaque { border-left: 4px solid var(--gold); }
.agenda-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}
.agenda-dia {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.agenda-mes {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 4px;
}
.agenda-info { flex: 1; }
.agenda-tipo {
    display: inline-block;
    background: rgba(184,150,12,0.12);
    color: var(--gold);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.agenda-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 10px;
}
.agenda-info p {
    font-size: 0.82rem;
    color: #777;
    margin: 0 0 5px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.agenda-info p i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.agenda-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}
.agenda-link:hover { text-decoration: underline; }

/* ============================================================
   CONTATO SECTION
   ============================================================ */
.contato {
    background: var(--navy);
    color: #fff;
}
.contato .section-title { color: #fff; }
.section-header-light .section-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.contato-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.contato-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contato-icon i { color: var(--gold); font-size: 1.1rem; }
.contato-item h4 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--gold);
}
.contato-item p {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.5;
}
.contato-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
}
.form-contato .form-group {
    margin-bottom: 20px;
}
.form-contato label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.9;
    color: #fff;
}
.form-contato input, .form-contato textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}
.form-contato input:focus, .form-contato textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}
.form-contato input::placeholder, .form-contato textarea::placeholder {
    opacity: 0.5;
    color: #fff;
}

/* ============================================================
   LOGO
   ============================================================ */
.site-logo img.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}
.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .noticias-grid { grid-template-columns: 1fr; }
    .agenda-grid { grid-template-columns: 1fr; }
    .contato-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    .imortais-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .section-title { font-size: 1.8rem; }
    .contato-form { padding: 25px; }
}


/* ===== ACADEMIC PROFILE PAGE (v2) ===== */
.academico-profile-wrapper {
  background: #f5f5f0;
  min-height: 80vh;
  padding: 40px 0 80px;
}
.academico-profile-wrapper .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.breadcrumb-nav { font-size: 13px; color: #666; margin-bottom: 40px; }
.breadcrumb-nav a { color: #c9a227; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav .sep { margin: 0 8px; color: #999; }

.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}
.profile-photo-frame {
  position: relative;
  border: 4px solid #c9a227;
  border-radius: 4px;
  overflow: visible;
  background: #1a2744;
  margin-bottom: 24px;
}
.profile-photo-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.profile-photo-frame .cadeira-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #c9a227, #e8c444);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(201,162,39,0.5);
  border: 3px solid #fff;
}
.profile-photo-frame .cadeira-badge .num { font-size: 22px; font-weight: 700; color: #1a2744; line-height: 1; }
.profile-photo-frame .cadeira-badge .label { font-size: 7px; font-weight: 700; color: #1a2744; letter-spacing: 1px; }

.profile-contact-card {
  background: #fff;
  border-left: 3px solid #c9a227;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  margin-top: 30px;
}
.profile-contact-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: #1a2744; margin: 0 0 14px; font-weight: 700; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; word-break: break-all; }
.contact-item .icon { flex-shrink: 0; }
.contact-item a { color: #1a2744; text-decoration: none; }
.contact-item a:hover { color: #c9a227; }

.tipo-badge { display: inline-block; background: #c9a227; color: #1a2744; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.profile-name { font-family: 'Georgia', serif; font-size: 40px; color: #1a2744; margin: 0 0 12px; line-height: 1.2; }
.profile-patrono { font-size: 16px; color: #c9a227; margin: 0 0 8px; }
.profile-cadeira { font-size: 15px; color: #555; margin: 0 0 8px; }
.profile-cargo { font-size: 15px; color: #888; margin: 0 0 8px; font-style: italic; }
.profile-posse { font-size: 14px; color: #666; margin: 0 0 30px; }

.profile-section { margin-top: 35px; padding-top: 35px; border-top: 1px solid #e0d9cc; }
.profile-section h2 { font-family: 'Georgia', serif; font-size: 20px; color: #1a2744; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.profile-section h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, #c9a227, transparent); }
.bio-text { font-size: 15px; line-height: 1.9; color: #444; }
.obras-text { font-size: 15px; line-height: 1.9; color: #444; font-style: italic; }
.bio-placeholder { color: #999; font-size: 15px; }
.edit-link { color: #c9a227; font-size: 12px; margin-left: 8px; text-decoration: none; }

.profile-back { margin-top: 60px; text-align: center; }
.btn-back { display: inline-block; background: #1a2744; color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: 1px; transition: background 0.3s; }
.btn-back:hover { background: #c9a227; color: #1a2744; }

@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo-frame img { height: 280px; }
  .profile-name { font-size: 28px; }
}


/* =====================================================
   HERO WITH GROUP PHOTO (Académie Française style)
   ===================================================== */
.hero {
  position: relative;
  min-height: 620px;
  background: #1a2744;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://www.academiagoianiense.org.br/wp-content/uploads/2025/10/acadgoilet-e1757331130562-1024x586-1.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.22;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,39,68,0.97) 40%, rgba(26,39,68,0.65) 70%, rgba(26,39,68,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}
.hero .container { position: relative; z-index: 2; }

/* =====================================================
   ACADÉMICOS ARCHIVE - TABS
   ===================================================== */
.academicos-archive-wrapper { background: #f8f6f1; min-height: 80vh; }

.archive-hero {
  background: linear-gradient(135deg, #1a2744 0%, #2a3d6e 100%);
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://www.academiagoianiense.org.br/wp-content/uploads/2025/10/acadgoilet-e1757331130562-1024x586-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.archive-eyebrow {
  position: relative;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 12px;
  font-weight: 600;
}
.archive-title {
  position: relative;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 48px;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.archive-subtitle {
  position: relative;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Tabs */
.academicos-tabs {
  display: flex;
  gap: 0;
  margin: 50px 0 40px;
  border-bottom: 2px solid #e0d9cc;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
}
.tab-btn:hover { color: #1a2744; }
.tab-btn.active {
  color: #1a2744;
  border-bottom-color: #c9a227;
}
.tab-btn .tab-icon { font-size: 16px; }
.tab-btn .tab-count {
  background: #e8e0d5;
  color: #555;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}
.tab-btn.active .tab-count { background: #c9a227; color: #1a2744; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-intro {
  background: #fff;
  border-left: 4px solid #c9a227;
  padding: 18px 24px;
  margin-bottom: 40px;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* Members Grid */
.membros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.membro-card {
  background: #fff;
  border-radius: 4px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.membro-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.membro-card a { text-decoration: none; display: block; }
.membro-photo { 
  position: relative; 
  overflow: hidden;
  padding-top: 75%;
  height: 0;
  background: #f0ebe2;
}
.membro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(10%);
  transition: filter 0.3s;
}
.membro-card:hover .membro-photo img { filter: grayscale(0%); }
.membro-cadeira-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #c9a227, #e8c444);
  color: #1a2744;
  font-size: 12px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.membro-info {
  padding: 16px 14px 18px;
  border-top: 2px solid #f0ece4;
}
.membro-nome {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 14px;
  color: #1a2744;
  margin: 0 0 6px;
  line-height: 1.3;
  font-weight: 700;
}
.membro-patrono {
  font-size: 11px;
  color: #c9a227;
  margin: 0 0 4px;
  font-style: italic;
}
.membro-cadeira-label {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.5px;
}

/* Correspondentes list grid */
.correspondentes-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 60px;
}
.corr-item {
  background: #fff;
  padding: 14px 18px;
  border-radius: 4px;
  border-left: 3px solid #c9a227;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.corr-num {
  font-size: 12px;
  font-weight: 700;
  color: #c9a227;
  min-width: 24px;
  text-align: center;
  background: rgba(201,162,39,0.1);
  padding: 2px 6px;
  border-radius: 3px;
}
.corr-nome {
  font-size: 14px;
  color: #1a2744;
  font-weight: 500;
}

/* In Memoriam */
.inmemoriam-intro {
  text-align: center;
  border-left: none;
  background: rgba(26,39,68,0.04);
  padding: 30px;
}
.memoriam-icon { font-size: 36px; margin-bottom: 12px; }
.inmemoriam-card-static {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  max-width: 600px;
  margin: 20px auto;
}
.memoriam-photo-placeholder img { width: 120px; height: 150px; object-fit: cover; border-radius: 4px; filter: grayscale(60%); }
.memoriam-info h3 { font-family: 'Playfair Display', 'Georgia', serif; font-size: 22px; color: #1a2744; margin: 0 0 8px; }
.memoriam-cadeira { font-size: 14px; color: #c9a227; }
.memoriam-note { font-size: 14px; color: #999; font-style: italic; }
.inmemoriam-grid .membro-card { filter: grayscale(30%); }
.inmemoriam-grid .membro-card:hover { filter: grayscale(0%); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-page-wrapper { background: #f8f6f1; min-height: 80vh; padding: 60px 0 80px; }
.contact-page-wrapper .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.contact-page-header {
  text-align: center;
  margin-bottom: 60px;
}
.contact-page-header h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 42px;
  color: #1a2744;
  margin: 0 0 12px;
}
.contact-page-header .eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-page-header p {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-col {}
.contact-info-card {
  background: #1a2744;
  color: #fff;
  border-radius: 8px;
  padding: 40px 36px;
  margin-bottom: 24px;
}
.contact-info-card h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 22px;
  color: #fff;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #c9a227;
}
.contact-info-text {}
.contact-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}
.contact-info-value a { color: #c9a227; text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.contact-social-btn:hover { background: rgba(255,255,255,0.1); }
.contact-social-btn.facebook { background: rgba(24,119,242,0.3); }
.contact-social-btn.instagram { background: rgba(193,53,132,0.3); }
.contact-social-btn.youtube { background: rgba(255,0,0,0.3); }
.contact-social-btn.whatsapp { background: rgba(37,211,102,0.3); }

/* Contact Form */
.contact-form-col {}
.contact-form-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.contact-form-card h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 22px;
  color: #1a2744;
  margin: 0 0 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 1px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid #e0d9cc;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #faf9f7;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9a227;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  background: #1a2744;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}
.btn-submit:hover { background: #c9a227; color: #1a2744; }
.contact-map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.contact-map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================
   EVENTOS PAGE  
   ===================================================== */
.eventos-page-wrapper { background: #f8f6f1; min-height: 80vh; padding: 60px 0 80px; }
.eventos-page-header {
  text-align: center;
  margin-bottom: 50px;
}
.eventos-page-header h1 { font-family: 'Playfair Display', 'Georgia', serif; font-size: 42px; color: #1a2744; margin: 0 0 12px; }
.eventos-page-header .eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: #c9a227; font-weight: 600; margin-bottom: 12px; }

.eventos-fotos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.evento-foto-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  background: #1a2744;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}
.evento-foto-card:hover { transform: scale(1.02); }
.evento-foto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.evento-foto-card:hover img { opacity: 1; }
.evento-foto-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,39,68,0.9));
  color: #fff;
  padding: 30px 18px 16px;
}
.evento-foto-caption h4 { font-size: 14px; margin: 0 0 4px; font-weight: 600; }
.evento-foto-caption p { font-size: 12px; color: rgba(255,255,255,0.7); margin: 0; }

/* =====================================================
   ACADÉMIE FRANÇAISE STYLE IMPROVEMENTS
   ===================================================== */
/* Refined typography */
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}
h1, h2, h3, .section-title {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
}

/* Stats bar refinement */
.stats-bar {
  background: #c9a227;
  padding: 0;
}
.stats-bar .stat-item {
  padding: 22px 0;
}

/* Section titles - like Académie Française */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* Improved imortais section */
.imortais-section {
  background: #fff;
  padding: 80px 0;
}
.imortais-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.imortais-section .section-title {
  font-size: 38px;
  color: #1a2744;
  margin: 0;
  line-height: 1.2;
}
.imortais-section .section-subtitle {
  font-size: 15px;
  color: #888;
  max-width: 380px;
  text-align: right;
  line-height: 1.6;
}
.ver-todos-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c9a227;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #c9a227;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.ver-todos-link:hover { color: #1a2744; border-color: #1a2744; }

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: #c9a227;
  margin: 16px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .archive-title { font-size: 32px; }
  .academicos-tabs { flex-direction: column; border-bottom: none; }
  .tab-btn { border-bottom: none; border-left: 3px solid transparent; }
  .tab-btn.active { border-left-color: #c9a227; border-bottom: none; }
}


/* =====================================================
   NOVA SEÇÃO HERO - FUNDO FOTO + MÁSCARA AZUL CLARA
   ===================================================== */
.agnl-hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.agnl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 60, 0.88) 0%,
        rgba(15, 40, 90, 0.82) 40%,
        rgba(20, 55, 110, 0.65) 70%,
        rgba(30, 70, 130, 0.45) 100%
    );
    z-index: 1;
}
.agnl-hero .container {
    position: relative;
    z-index: 2;
}
.agnl-hero-content {
    max-width: 720px;
    padding: 120px 0 80px;
}
.agnl-hero-badge {
    display: inline-block;
    border: 1.5px solid rgba(212, 175, 55, 0.8);
    color: #d4af37;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    padding: 0.5em 1.4em;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}
.agnl-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}
.agnl-hero-title em {
    display: block;
    font-style: italic;
    color: #d4af37;
    font-size: 0.85em;
}
.agnl-hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}
.agnl-hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.btn-primary:hover {
    background: #c49b28;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.35);
    color: #1a1a1a !important;
    text-decoration: none;
}
.btn-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.btn-outline:hover {
    border-color: #d4af37;
    color: #d4af37 !important;
    text-decoration: none;
}
.btn-outline-dark {
    display: inline-block;
    border: 2px solid #1a2744;
    color: #1a2744 !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.btn-outline-dark:hover {
    background: #1a2744;
    color: #fff !important;
}
.btn-text-link {
    color: #1a2744;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1.5rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 2px;
}
.btn-text-link:hover {
    color: #c49b28;
    text-decoration: none;
}

/* =====================================================
   SOBRE SECTION
   ===================================================== */
.agnl-sobre {
    padding: 6rem 0;
    background: #fff;
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.sobre-foto {
    position: relative;
}
.sobre-foto img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.sobre-texto h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: #1a2744;
    margin: 0.8rem 0 1.5rem;
    line-height: 1.2;
}
.sobre-texto p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}
.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e0d0;
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2744;
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-top: 0.4rem;
}

/* =====================================================
   SECTION HEADERS ELEGANT
   ===================================================== */
.section-header-elegant {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c49b28;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.section-header-elegant h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: #1a2744;
    margin: 0.5rem 0 1rem;
}
.section-header-elegant p {
    font-size: 1.05rem;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
}
.section-divider {
    width: 50px;
    height: 3px;
    background: #d4af37;
    margin: 1rem auto;
}

/* =====================================================
   ACADÊMICOS SECTION HOME
   ===================================================== */
.agnl-academicos-section {
    padding: 6rem 0;
    background: #f8f5f0;
}
.academicos-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 1100px) { .academicos-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .academicos-grid-home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .academicos-grid-home { grid-template-columns: 1fr; } }

.academico-card-home {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.academico-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.academico-card-home a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.academico-card-home .cadeira-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: #d4af37;
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}
.academico-card-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.academico-card-home-info {
    padding: 1rem;
    background: #fff;
}
.academico-card-home-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #1a2744;
    margin: 0 0 0.3rem;
}
.academico-card-home-info p {
    font-size: 0.8rem;
    color: #c49b28;
    margin: 0;
    font-style: italic;
}
.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* =====================================================
   BANNER CITAÇÃO
   ===================================================== */
.agnl-banner-citacao {
    background: linear-gradient(135deg, #1a2744 0%, #0f1e40 100%);
    padding: 5rem 0;
    text-align: center;
}
.agnl-banner-citacao blockquote {
    margin: 0;
    border: none;
    padding: 0;
}
.agnl-banner-citacao blockquote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #fff;
    line-height: 1.6;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.agnl-banner-citacao blockquote cite {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #d4af37;
    font-style: normal;
    text-transform: uppercase;
}

/* =====================================================
   EVENTOS SECTION
   ===================================================== */
.agnl-eventos-section {
    padding: 6rem 0;
    background: #fff;
}
.eventos-galeria-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) { .eventos-galeria-home { grid-template-columns: 1fr; } }
.evento-galeria-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}
.evento-galeria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.evento-galeria-card:hover img {
    transform: scale(1.06);
}
.evento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.evento-galeria-card:hover .evento-card-overlay {
    opacity: 1;
}
.evento-card-overlay h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 0.4rem;
}
.evento-card-overlay span {
    font-size: 0.8rem;
    color: #d4af37;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =====================================================
   PUBLICAÇÕES SECTION HOME
   ===================================================== */
.agnl-pub-section {
    padding: 6rem 0;
}
.pubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) { .pubs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pubs-grid { grid-template-columns: 1fr; } }
.pub-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.pub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.pub-capa img { width: 100%; height: 200px; object-fit: cover; }
.pub-info { padding: 1.5rem; }
.pub-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #1a2744; margin: 0 0 0.7rem; }
.pub-info h3 a { color: inherit; text-decoration: none; }
.pub-info p { font-size: 0.9rem; color: #666; line-height: 1.6; margin: 0; }

/* =====================================================
   CONTATO SECTION HOME
   ===================================================== */
.agnl-contato-section {
    padding: 6rem 0;
    background: #f8f5f0;
}
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) { .contato-grid { grid-template-columns: 1fr; } }
.contato-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a2744;
    margin: 0.5rem 0 1rem;
}
.contato-items { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.5rem; }
.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contato-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
    margin-top: 2px;
}
.contato-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 0.2rem;
}
.contato-item a, .contato-item span {
    color: #1a2744;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.5;
}
.contato-item a:hover { color: #c49b28; }
.contato-mapa iframe { border-radius: 12px; }

/* =====================================================
   ACADEMICOS ARCHIVE - CORREÇÕES
   ===================================================== */
.academicos-archive .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.academicos-hero {
    background: linear-gradient(135deg, #1a2744 0%, #0f1e40 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    color: #fff;
}
.academicos-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    margin: 0.5rem 0 1rem;
}
.academicos-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* TABS */
.academicos-tabs {
    display: flex;
    gap: 0;
    border-bottom: 3px solid #e8e0d0;
    margin: 3rem 0 2rem;
    overflow-x: auto;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s;
}
.tab-btn:hover { color: #1a2744; }
.tab-btn.active {
    color: #1a2744;
    border-bottom-color: #d4af37;
}
.tab-count {
    background: #e8e0d0;
    color: #666;
    font-size: 0.7rem;
    padding: 0.2em 0.6em;
    border-radius: 100px;
}
.tab-btn.active .tab-count {
    background: #d4af37;
    color: #1a1a1a;
}
.tab-intro {
    background: #f8f5f0;
    border-left: 4px solid #d4af37;
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0 8px 8px 0;
}
.tab-intro p { margin: 0; color: #555; font-size: 0.95rem; }

/* ACADEMICOS GRID NO ARCHIVE */
.academicos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding-bottom: 4rem;
}
@media (max-width: 1200px) { .academicos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .academicos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .academicos-grid { grid-template-columns: repeat(2, 1fr); } }

.academico-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.academico-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.academico-card-link { display: block; text-decoration: none; color: inherit; }
.card-foto {
    position: relative;
    background: #f0ebe2;
    overflow: hidden;
    padding-top: 75%;
    height: 0;
}
.card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.cadeira-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    background: #d4af37;
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}
.card-info { padding: 0.9rem; }
.card-nome { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: #1a2744; margin: 0 0 0.3rem; }
.card-patrono { font-size: 0.78rem; color: #c49b28; margin: 0 0 0.2rem; font-style: italic; }
.card-cadeira { font-size: 0.72rem; color: #999; margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }

/* CORRESPONDENTES GRID */
.correspondentes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-bottom: 4rem;
}
@media (max-width: 900px) { .correspondentes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .correspondentes-grid { grid-template-columns: 1fr; } }

.correspondente-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e8e0d0;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    transition: all 0.3s;
}
.correspondente-card:hover { border-color: #d4af37; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.correspondente-num {
    min-width: 36px;
    height: 36px;
    background: #1a2744;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}
.correspondente-nome {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #333;
    flex: 1;
}

/* IN MEMORIAM */
.in-memoriam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-bottom: 4rem;
}
@media (max-width: 900px) { .in-memoriam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .in-memoriam-grid { grid-template-columns: 1fr; } }

.memoriam-card {
    background: #fff;
    border: 1px solid #e8e0d0;
    border-top: 4px solid #1a2744;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}
.memoriam-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.memoriam-icon {
    font-size: 2rem;
    color: #1a2744;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.memoriam-cadeira {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    margin-bottom: 0.5rem;
}
.memoriam-nome {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #1a2744;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.memoriam-label {
    font-size: 0.72rem;
    color: #c49b28;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
    font-style: italic;
}

/* =====================================================
   PAGE EVENTOS - ESTILOS COMPLETOS
   ===================================================== */
.page-eventos {
    min-height: 60vh;
}
.eventos-hero {
    background: linear-gradient(135deg, #1a2744 0%, #0f1e40 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    color: #fff;
}
.eventos-hero .section-label { color: #d4af37; }
.eventos-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    margin: 0.5rem 0 1rem;
}
.eventos-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

.eventos-galeria-section, .proximos-eventos-section {
    padding: 4rem 0;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 700px) { .galeria-grid { grid-template-columns: 1fr; } }
.galeria-item { border-radius: 10px; overflow: hidden; }
.galeria-photo {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
}
.galeria-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.galeria-photo:hover img { transform: scale(1.06); }
.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.galeria-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}
.galeria-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.eventos-lista { display: flex; flex-direction: column; gap: 2rem; }
.evento-item {
    display: flex;
    gap: 2rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s;
}
.evento-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.evento-foto { min-width: 200px; max-width: 200px; }
.evento-foto img { width: 100%; height: 100%; object-fit: cover; }
.evento-content { display: flex; gap: 1.5rem; padding: 1.5rem; align-items: flex-start; }
.evento-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    background: #1a2744;
    border-radius: 8px;
    padding: 0.7rem 0.5rem;
    color: #fff;
}
.data-dia { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.data-mes { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #d4af37; margin-top: 0.2rem; }
.evento-info { flex: 1; }
.evento-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #1a2744; margin: 0 0 0.5rem; }
.evento-info h3 a { text-decoration: none; color: inherit; }
.evento-local { font-size: 0.85rem; color: #888; margin: 0 0 0.8rem; }
.evento-excerpt { font-size: 0.95rem; color: #555; line-height: 1.6; }
.btn-ver-evento {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a2744;
    text-decoration: none;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.eventos-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: #f8f5f0;
    border-radius: 12px;
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.eventos-empty h3 { font-family: 'Playfair Display', serif; color: #1a2744; }
.eventos-empty p { color: #888; }

/* =====================================================
   GENERAL SECTION PADDING
   ===================================================== */
.agnl-section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* =====================================================
   ACADÉMIE FRANÇAISE INSPIRED IMPROVEMENTS
   ===================================================== */
/* Gold top accent bar */
.site-header::before, header::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #c49b28, #d4af37);
}
/* Refined typography */
body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    color: #2c2c2c;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}
/* Navigation refined */
.main-nav a, nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Page contato refinements */
.page-contato-hero .section-label { color: #d4af37; }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 700px) { .contact-info-grid { grid-template-columns: 1fr; } }


/* No photo placeholder */
.no-photo {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a2744, #2a3d6e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: 0.4;
}
.academico-card-home .no-photo {
    height: 200px;
}

/* Fix cadeira badge in home grid */
.academico-card-home .cadeira-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: #d4af37;
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

/* Hero buttons position fix */
.agnl-hero-btns a {
    margin: 0;
}

/* Fix img broken appearance */
img[alt] {
    font-size: 0;
    color: transparent;
}

/* Section general */
.agnl-section {
    padding: 6rem 0;
}

/* Events section home fix */
.agnl-eventos-section .section-header-elegant + .eventos-galeria-home {
    margin-top: 0;
}

/* Sobre foto fixed height */
.sobre-foto img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top;
}

/* Contato section home */
.agnl-contato-section .contato-info h2 {
    margin-top: 0.5rem;
}

/* Hero scroll indicator */
.agnl-hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    z-index: 2;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 30px; }
    50% { opacity: 0.8; height: 50px; }
}


/* ===== FIX MOBILE - FOTOS ACADEMICOS =====
   Corrige o corte dos rostos nas fotos dos acadêmicos no mobile */

.membro-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3 !important;
  height: auto !important;
}
.membro-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.academico-card-home img {
  object-position: top center !important;
}

@media (max-width: 600px) {
  .membro-photo {
    aspect-ratio: 3/2 !important;
  }
  .academico-card-home img {
    height: 160px !important;
    object-position: top center !important;
  }
}

@media (max-width: 380px) {
  .membro-photo {
    aspect-ratio: 1/1 !important;
  }
}
/* ===== END FIX ===== */


/* ===== FIX FOTOS MEMBROS v2 ===== */
/* Garante que o objeto/rosto seja visto - usa padding-top ao invés de height fixa */
.card-foto,
.membro-photo,
.memoriam-photo-wrap {
  padding-top: 75% !important;
  height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: unset !important;
}
.card-foto img,
.membro-photo img,
.memoriam-photo-wrap img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
}
/* Mobile: cards em 2 colunas */
@media (max-width: 600px) {
  .academicos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .card-foto,
  .membro-photo { padding-top: 80% !important; }
}
/* ===== END FIX v2 ===== */


/* ===== FIX FOTOS v3 - CONTAIN para evitar corte ===== */
/* Usar contain para mostrar foto inteira sem cortar */
.card-foto,
.membro-photo {
  background: #e8e4dd !important;
  padding-top: 100% !important;
  height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: unset !important;
}
.card-foto img,
.membro-photo img {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}
/* Manter o cadeira badge visível */
.card-foto .cadeira-badge,
.membro-cadeira-badge {
  z-index: 3 !important;
}
/* Mobile responsive */
@media (max-width: 600px) {
  .academicos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .card-foto {
    padding-top: 90% !important;
  }
}
/* ===== END FIX v3 ===== */


/* =====================================================
FIX MOBILE SOBRE FOTO - Override inline Gutenberg styles
===================================================== */
@media (max-width: 900px) {
  /* Override inline styles on the Sobre section grid (Gutenberg block with inline style) */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:90px"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* =====================================================
   ABL-INSPIRED LAYOUT - Academia Goianiense de Letras
   Version: 8.0
   ===================================================== */

/* ---- Site Wrapper ---- */
.agnl-site-wrapper { overflow-x: hidden; }
.agnl-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- Section Headers ---- */
.agnl-section-header {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 40px; padding: 32px 0 8px;
}
.agnl-section-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--navy); letter-spacing: 3px; text-align: center;
  margin: 0; white-space: nowrap;
}
.agnl-section-header--light .agnl-section-title { color: #fff; }
.agnl-section-header--light .agnl-ornament { color: rgba(255,255,255,0.6); }
.agnl-ornament { font-size: 1.4rem; color: var(--gold); opacity: 0.7; }
.agnl-section-cta { text-align: center; margin-top: 36px; padding-bottom: 48px; }

/* ---- Buttons ---- */
.agnl-btn-primary {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 12px 28px; font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.25s;
}
.agnl-btn-primary:hover { background: var(--gold); color: #fff; }
.agnl-btn-outline {
  display: inline-block; background: transparent; color: var(--navy);
  padding: 10px 24px; font-family: var(--font-sans); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--navy);
  transition: all 0.25s;
}
.agnl-btn-outline:hover { background: var(--navy); color: #fff; }
.agnl-btn-small {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 7px 16px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; margin-top: 10px;
  transition: background 0.25s;
}
.agnl-btn-small:hover { background: var(--gold); }
.agnl-label-line {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}

/* =====================
   HERO SLIDER
   ===================== */
.agnl-hero-slider {
  position: relative; width: 100%; max-width: 1140px; height: auto; aspect-ratio: 1600/639; overflow: hidden;
  margin: 0 auto;
  background: var(--navy);
}
.agnl-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease; z-index: 1;
  pointer-events: none;
}
.agnl-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.agnl-slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.agnl-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}
.agnl-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,30,70,0.72) 0%, rgba(10,30,70,0.38) 60%, transparent 100%);
}
.agnl-slide-caption {
  position: absolute; bottom: 80px; left: 60px; right: 40%;
  color: #fff; z-index: 3;
}
.agnl-slide-caption h2 {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  line-height: 1.25; margin: 8px 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.agnl-slide-caption p {
  font-family: var(--font-serif); font-size: 1.1rem; font-style: italic;
  opacity: 0.92; text-shadow: 0 1px 6px rgba(0,0,0,0.4); margin: 0;
}
.agnl-slide-ornament { font-size: 1.4rem; color: var(--gold); margin-bottom: 6px; }
.agnl-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.18); color: #fff; border: none;
  width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; backdrop-filter: blur(4px);
}
.agnl-slider-btn:hover { background: rgba(255,255,255,0.38); }
.agnl-slider-prev { left: 16px; }
.agnl-slider-next { right: 16px; }
.agnl-slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.agnl-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45);
  cursor: pointer; transition: background 0.2s;
}
.agnl-dot.active { background: var(--gold); }

/* =====================
   QUICK ACCESS CARDS
   ===================== */
.agnl-quick-access {
  background: #fff;
  border-bottom: 1px solid var(--cream-dark);
  padding: 0;
}
.agnl-quick-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
}
.agnl-quick-card {
  flex: 1; min-width: 140px; max-width: 220px;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 16px 24px;
  text-decoration: none; color: var(--navy);
  border-right: 1px solid var(--cream-dark);
  transition: background 0.2s;
}
.agnl-quick-card:last-child { border-right: none; }
.agnl-quick-card:hover { background: var(--cream); }
.agnl-quick-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 12px;
  transition: background 0.2s, color 0.2s;
}
.agnl-quick-card:hover .agnl-quick-icon { background: var(--gold); color: #fff; }
.agnl-quick-title {
  font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700;
  text-align: center; margin-bottom: 4px;
}
.agnl-quick-desc {
  font-family: var(--font-sans); font-size: 0.78rem;
  color: var(--text-mid); text-align: center;
}

/* =====================
   NEWS SECTION
   ===================== */
.agnl-news-section {
  background: #fff; padding: 8px 0 0;
}
.agnl-news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.agnl-news-card {
  border: 1px solid var(--cream-dark); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.2s;
}
.agnl-news-card:hover { box-shadow: var(--shadow); }
.agnl-news-img-wrap { display: block; overflow: hidden; height: 180px; }
.agnl-news-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.agnl-news-card:hover .agnl-news-img { transform: scale(1.04); }
.agnl-news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.agnl-news-cat {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.agnl-news-title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin: 0 0 10px; line-height: 1.4;
}
.agnl-news-title a { color: inherit; text-decoration: none; }
.agnl-news-title a:hover { color: var(--gold); }
.agnl-news-excerpt { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-mid); flex: 1; }
.agnl-news-link {
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700;
  color: var(--gold); text-decoration: none; margin-top: 12px;
}
.agnl-news-link:hover { text-decoration: underline; }

/* =====================
   ICON LINKS BAR
   ===================== */
.agnl-icon-links {
  background: var(--cream); border-top: 1px solid var(--cream-dark); padding: 0;
}
.agnl-icon-links-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
}
.agnl-icon-link-item {
  flex: 1; min-width: 120px; max-width: 200px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 32px 16px;
  text-decoration: none; color: var(--navy);
  font-family: var(--font-serif); font-size: 0.9rem; font-weight: 600;
  border-right: 1px solid var(--cream-dark);
  transition: background 0.2s;
}
.agnl-icon-link-item:last-child { border-right: none; }
.agnl-icon-link-item:hover { background: var(--cream-dark); }
.agnl-icon-link-item img { width: 56px; height: 56px; object-fit: contain; }
.agnl-icon-link-fa {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* =====================
   ACADÊMICOS SLIDER
   ===================== */
.agnl-artigos-section {
  background: var(--cream); border-top: 3px solid var(--cream-dark);
  padding: 8px 0 0; margin-bottom: 40px;
}
.agnl-artigos-slider {
  display: flex; align-items: center; gap: 12px; overflow: hidden;
}
.agnl-artigos-btn {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--navy); color: #fff; border: none;
  font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.agnl-artigos-btn:hover { background: var(--gold); }
.agnl-artigos-track {
  display: flex; gap: 24px; overflow: hidden;
  transition: transform 0.4s ease; flex: 1;
}
.agnl-artigo-item {
  flex: 0 0 calc(25% - 18px); display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.agnl-artigo-photo-link { display: block; }
.agnl-artigo-photo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); margin-bottom: 10px;
}
.agnl-artigo-photo-placeholder {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--cream-dark); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-mid); margin-bottom: 10px;
}
.agnl-artigo-name {
  font-family: var(--font-serif); font-size: 0.88rem; font-style: italic;
  color: var(--gold); text-decoration: none; font-weight: 600;
  display: block; margin-bottom: 4px;
}
.agnl-artigo-name:hover { text-decoration: underline; }
.agnl-artigo-cadeira {
  font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-mid);
}

/* =====================
   PROGRAMAÇÃO CULTURAL (EVENTOS)
   ===================== */
.agnl-eventos-section {
  background: var(--navy); padding: 8px 0 0;
}
.agnl-eventos-section .agnl-section-title { color: #fff; }
.agnl-eventos-section .agnl-ornament { color: rgba(184,150,12,0.8); }
.agnl-eventos-section .agnl-btn-outline {
  color: #fff; border-color: rgba(255,255,255,0.5);
}
.agnl-eventos-section .agnl-btn-outline:hover { background: rgba(255,255,255,0.15); }
.agnl-eventos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.agnl-evento-card {
  background: rgba(255,255,255,0.06); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s;
}
.agnl-evento-card:hover { transform: translateY(-4px); }
.agnl-evento-img {
  height: 200px; background-size: cover; background-position: center;
  background-color: rgba(255,255,255,0.1);
}
.agnl-evento-img--placeholder { background: linear-gradient(135deg, #1a3a5c, #2d5986); }
.agnl-evento-body { padding: 20px; }
.agnl-evento-date {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--gold);
  margin-bottom: 8px;
}
.agnl-evento-title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700;
  color: #fff; margin: 0 0 12px; line-height: 1.4;
}
.agnl-evento-title a { color: inherit; text-decoration: none; }
.agnl-evento-title a:hover { color: var(--gold); }

/* =====================
   SOBRE A ACADEMIA
   ===================== */
.agnl-sobre-section { background: #fff; padding: 64px 0; }
.agnl-sobre-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start;
}
.agnl-sobre-title {
  font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700;
  color: var(--navy); margin: 8px 0 24px; line-height: 1.15;
}
.agnl-sobre-text p {
  font-family: var(--font-sans); font-size: 1rem; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 20px;
}
.agnl-sobre-quote {
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
  color: var(--navy); border-left: 3px solid var(--gold);
  padding: 12px 20px; margin: 20px 0 28px; background: var(--cream);
  line-height: 1.7;
}
.agnl-sobre-stats { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; }
.agnl-stat-box {
  background: var(--navy); color: #fff; padding: 24px; text-align: center;
  border-radius: var(--radius);
}
.agnl-stat-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.agnl-stat-label {
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 1px;
  text-transform: uppercase; margin-top: 6px; opacity: 0.8;
}

/* =====================
   CONTATO
   ===================== */
.agnl-contato-section {
  background: var(--cream); border-top: 3px solid var(--cream-dark);
  padding: 64px 0;
}
.agnl-contato-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.agnl-contato-title {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--navy); margin: 8px 0 24px;
}
.agnl-contato-items { display: flex; flex-direction: column; gap: 16px; }
.agnl-contato-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-dark);
}
.agnl-contato-item i {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.agnl-contato-item a { color: var(--navy); text-decoration: none; }
.agnl-contato-item a:hover { color: var(--gold); }
.agnl-newsletter-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin: 8px 0 12px;
}
.agnl-newsletter p { font-family: var(--font-sans); color: var(--text-mid); margin-bottom: 20px; }
.agnl-newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.agnl-newsletter-input {
  flex: 1; min-width: 200px; padding: 12px 16px;
  border: 1px solid rgba(26,58,92,0.25); font-family: var(--font-sans);
  font-size: 0.9rem; outline: none;
}
.agnl-newsletter-input:focus { border-color: var(--navy); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .agnl-news-grid { grid-template-columns: repeat(2, 1fr); }
  .agnl-eventos-grid { grid-template-columns: repeat(2, 1fr); }
  .agnl-sobre-grid { grid-template-columns: 1fr; gap: 32px; }
  .agnl-sobre-stats { flex-direction: row; padding-top: 0; }
  .agnl-stat-box { flex: 1; }
  .agnl-contato-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .agnl-hero-slider { height: auto; }
  .agnl-slide-caption { left: 24px; right: 24px; bottom: 60px; }
  .agnl-slide-caption h2 { font-size: 1.4rem; }
  .agnl-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .agnl-quick-card { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .agnl-news-grid { grid-template-columns: 1fr; }
  .agnl-eventos-grid { grid-template-columns: 1fr; }
  .agnl-artigo-item { flex: 0 0 calc(50% - 12px); }
  .agnl-sobre-stats { flex-direction: column; }
  .agnl-icon-links-grid { grid-template-columns: repeat(2, 1fr); display: grid; }
  .agnl-icon-link-item { border-right: none; border-bottom: 1px solid var(--cream-dark); }
}
@media (max-width: 480px) {
  .agnl-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .agnl-artigo-item { flex: 0 0 calc(100% - 0px); }
  .agnl-slide-caption h2 { font-size: 1.1rem; }
  .agnl-section-title { font-size: 1.1rem; }
}


/* ---- Slider Caption Fix ---- */
.agnl-slide-caption,
.agnl-slide-caption h2,
.agnl-slide-caption p,
.agnl-slide-caption .agnl-slide-ornament {
  color: #fff !important;
}
.agnl-slide-caption h2 {
  text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
}
.agnl-slide-caption p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.8) !important;
}




/* ============================================================
   ABL-STYLE LAYOUT - Academia Goianiense de Letras v9.0
   ============================================================ */

/* ---- Page Wrapper & Background ---- */
.abl-page-wrapper {
  background: #f5f0e8;
  min-height: 100vh;
}

/* ---- SLIDER SECTION ---- */
.abl-slider-section {
  background: #f5f0e8;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.abl-slider-container {
  position: relative;
  width: 60%;
  max-width: 920px;
  overflow: hidden;
  margin: 0 auto;
}
.abl-slider {
  position: relative;
  width: 100%;
  min-height: 380px;
  background: #1a1a1a;
}
.abl-slide {
  display: none;
  position: relative;
  width: 100%;
}
.abl-slide.active { display: block; }
.abl-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.abl-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  padding: 20px 30px;
  text-align: center;
}
.abl-slide-caption h2 {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  font-variant: small-caps;
  letter-spacing: 1px;
}
.abl-slide-caption p {
  color: #fff !important;
  font-size: 0.9rem;
  margin: 0;
  font-family: 'Lato', sans-serif;
  letter-spacing: 2px;
  font-variant: small-caps;
}
.abl-slide-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 1px;
}
.abl-slider-prev,
.abl-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  line-height: 1;
}
.abl-slider-prev { left: 10px; }
.abl-slider-next { right: 10px; }
.abl-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.abl-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s;
}
.abl-slider-dot.active { background: #fff; }

/* ---- QUICK CARDS (Image-based like ABL green cards) ---- */
.abl-quick-section {
  background: #fff;
  padding: 30px 0;
}
.abl-quick-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}
.abl-quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 180px;
  flex-shrink: 0;
}
.abl-quick-card:hover { opacity: 0.85; }
.abl-quick-img {
  width: 100%;
  height: 120px;
  background: #2d6e4f;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.abl-quick-img-green {
  background: linear-gradient(135deg, #2d6e4f 0%, #1a4a32 100%);
}
.abl-quick-title-overlay {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  font-variant: small-caps;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  line-height: 1.2;
}
.abl-quick-desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #555;
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.3;
}

/* ---- NEWS SECTION (3-column like ABL) ---- */
.abl-news-section {
  background: #fff;
  padding: 10px 0 30px;
}
.abl-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.abl-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.abl-news-card {
  display: flex;
  flex-direction: column;
}
.abl-news-img-link { display: block; }
.abl-news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.abl-news-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #2d6e4f 0%, #1a4a32 100%);
}
.abl-news-img-placeholder--pub {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2035 100%);
}
.abl-news-body {
  padding: 12px 0;
  flex: 1;
}
.abl-news-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.4;
}
.abl-news-title a {
  color: #111;
  text-decoration: none;
}
.abl-news-title a:hover { color: #2d6e4f; }
.abl-news-excerpt {
  font-size: 0.85rem;
  color: #555;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
  margin: 0 0 8px;
}
.abl-news-saiba {
  color: #2d6e4f;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  font-weight: 600;
}
.abl-news-saiba:hover { text-decoration: underline; }
.abl-news-more {
  text-align: center;
  padding: 10px 0;
}
.abl-btn-outras {
  display: inline-block;
  background: #e8900a;
  color: #fff;
  padding: 8px 24px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  padding-right: 36px;
}
.abl-btn-outras:hover { background: #c87800; color: #fff; }
.abl-no-news { text-align: center; color: #999; padding: 40px; }

/* ---- CONHEÇA A AGnL (4 gold icons) ---- */
.abl-conheca-section {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid #e0d9ce;
}
.abl-conheca-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.abl-ornament-shell {
  color: #999;
  font-size: 1rem;
}
.abl-conheca-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 2px;
  margin: 0;
}
.abl-conheca-icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.abl-conheca-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #444;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
}
.abl-conheca-item:hover .abl-conheca-icon { color: #c87800; }
.abl-conheca-icon {
  font-size: 2.8rem;
  color: #e8900a;
  transition: color 0.2s;
}

/* ---- ARTIGOS (Damask/beige background) ---- */
.abl-artigos-section {
  background-color: #e8e0d0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8b89a' fill-opacity='0.15'%3E%3Cpath d='M30 30c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20S30 41.046 30 30zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S10 15.523 10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 30px 0 40px;
  position: relative;
}
.abl-artigos-border-top,
.abl-artigos-border-bottom {
  height: 20px;
  background: repeating-linear-gradient(90deg, #b8a070 0px, #b8a070 2px, transparent 2px, transparent 10px);
  opacity: 0.3;
}
.abl-artigos-header {
  text-align: center;
  padding: 10px 0 20px;
}
.abl-artigos-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #444;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #b8a070;
  border-top: 1px solid #b8a070;
  max-width: 800px;
  margin: 0 auto;
}
.abl-artigos-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}
.abl-artigos-prev,
.abl-artigos-next {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  padding: 10px;
  flex-shrink: 0;
}
.abl-artigos-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  flex: 1;
  overflow: hidden;
}
.abl-artigo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: calc(25% - 15px);
  text-align: center;
}
.abl-artigo-photo-link { display: block; }
.abl-artigo-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e8900a;
  display: block;
}
.abl-artigo-photo--placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 2rem;
  border: 3px solid #e8900a;
}
.abl-artigo-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #2d6e4f;
  text-decoration: none;
  font-weight: 700;
  margin-top: 8px;
  display: block;
}
.abl-artigo-name:hover { text-decoration: underline; }
.abl-artigo-date {
  font-size: 0.75rem;
  color: #888;
  margin: 4px 0 0;
}
.abl-artigos-more {
  text-align: center;
  padding: 20px 0 10px;
}

/* ---- BOLETIM (4-column text) ---- */
.abl-boletim-section {
  background: #fff;
  padding: 40px 0;
}
.abl-boletim-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.abl-boletim-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 2px;
  margin: 0;
}
.abl-boletim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}
.abl-boletim-item h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px;
  line-height: 1.4;
}
.abl-boletim-item-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 10px;
}
.abl-boletim-leia {
  color: #2d6e4f;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
}
.abl-boletim-leia:hover { text-decoration: underline; }
.abl-boletim-more {
  text-align: center;
  padding: 10px 0;
}

/* ---- GALERIA SECTION (Nossos Sites style - brown damask BG) ---- */
.abl-nossos-section {
  background: #5c3d1e;
  background-image: url('https://www.transparenttextures.com/patterns/dark-ornament.png');
  background-repeat: repeat;
  background-size: 300px 300px;
  position: relative;
  text-align: center;
  padding: 40px 0;
  color: #fff;
}
.abl-nossos-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-align: center;
  margin: 0 0 30px;
}
.abl-nossos-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.abl-nossos-item {
  text-align: center;
}
.abl-nossos-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #e8900a;
  display: block;
  margin: 0 auto;
}
.abl-nossos-caption {
  color: #ddd;
  font-size: 0.85rem;
  margin: 8px 0 0;
  font-family: 'Lato', sans-serif;
}

/* ---- Footer ornament line ---- */
.abl-footer-ornament-line {
  height: 4px;
  background: repeating-linear-gradient(90deg, #b8a070 0px, #b8a070 8px, #f5f0e8 8px, #f5f0e8 16px);
  opacity: 0.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .abl-slider-container { width: 80%; }
  .abl-news-grid { grid-template-columns: repeat(2, 1fr); }
  .abl-boletim-grid { grid-template-columns: repeat(2, 1fr); }
  .abl-conheca-icons { gap: 30px; }
}
@media (max-width: 768px) {
  .abl-slider-container { width: 100%; }
  .abl-news-grid { grid-template-columns: 1fr; }
  .abl-boletim-grid { grid-template-columns: repeat(2, 1fr); }
  .abl-quick-card { width: 140px; }
  .abl-artigo-item { min-width: calc(50% - 10px); }
  .abl-conheca-icons { gap: 20px; }
}
@media (max-width: 480px) {
  .abl-quick-card { width: 120px; }
  .abl-quick-img { height: 90px; }
  .abl-boletim-grid { grid-template-columns: 1fr; }
  .abl-artigo-item { min-width: 100%; }
  .abl-conheca-icons { gap: 15px; }
  .abl-conheca-item { font-size: 0.8rem; }
  .abl-conheca-icon { font-size: 2rem; }
  .abl-slide img { height: 220px; }
  .abl-slider { min-height: 220px; }
}




/* ============================================================
   ABL HEADER OVERRIDE v9.0 - Match ABL brown nav bar
   ============================================================ */

/* Body background: cream like ABL */
body { background: #f5f0e8 !important; }

/* Top bar: keep navy (looks good) */
.site-topbar {
  background: #1a3a5c !important;
  border-bottom: none !important;
}

/* Main header: ABL brown/olive nav bar */
.site-header {
  background: #1a3a5c !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  border-bottom: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* Make logo stay left */
.header-inner {
  justify-content: space-between !important;
}

/* Site logo: stays on left */
.site-logo { 
  flex-shrink: 0;
}

/* Site name text: white on brown */
.site-name-main,
.site-name-sub {
  color: #fff !important;
}

/* Nav links: white text on brown */
.site-nav > ul > li > a {
  color: #fff !important;
  font-size: 0.82rem !important;
  padding: 8px 12px !important;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li.current_page_item > a,
.site-nav > ul > li.current-menu-item > a {
  color: #e8c870 !important;
  background: rgba(255,255,255,0.12) !important;
}

/* Hamburger: white */
.mobile-menu-toggle span,
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  background: #fff !important;
}

/* Footer logo text fix */
.footer-logo-text { color: #fff !important; }

/* Remove the gold border line under header */
.site-header::after { display: none !important; }

/* Gold line between topbar and header - keep it */
.site-topbar {
  border-bottom: 3px solid #b8960c !important;
}




/* ============================================================
   AGnL HEADER v10 - ABL-style layout with AGnL colors
   ============================================================ */

/* Reset old header styles */
.site-topbar, .site-header, .header-inner, .site-nav,
.site-logo, .site-name, .site-name-main, .site-name-sub { display: none !important; }

/* ---- Header Wrapper ---- */
.agnl-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* ---- TOP ROW (white/light like ABL) ---- */
.agnl-toprow {
  background: #f8f6f0;
  border-bottom: 1px solid #ddd;
}
.agnl-toprow-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 52px;
  gap: 15px;
}

/* ---- LOGO (overlaps both rows) ---- */
.agnl-logo-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  margin-bottom: -80px; /* overlap into nav row */
  flex-shrink: 0;
}
.agnl-logo-link {
  display: block;
  background: transparent;
  border: none;
  padding: 5px;
  box-shadow: none;
}
.agnl-logo-img {
  height: 105px; /* spans both rows total height ~52 + 56 */
  width: auto;
  display: block;
  border-radius: 50%;
}

/* ---- QUICK LINKS ---- */
.agnl-quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
  flex: 1;
}
.agnl-quicklink-btn {
  display: inline-block;
  padding: 4px 12px;
  background: #e8e2d8;
  color: #444;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid #ccc;
  transition: all 0.2s;
  white-space: nowrap;
}
.agnl-quicklink-btn:hover {
  background: #1a3a5c;
  color: #fff;
  border-color: #1a3a5c;
}

/* ---- SEARCH BOX ---- */
.agnl-search-box {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.agnl-search-box .search-form {
  display: flex;
  align-items: center;
  gap: 0;
}
.agnl-search-box input[type="search"] {
  padding: 4px 10px;
  font-size: 0.82rem;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 3px 0 0 3px;
  width: 150px;
  outline: none;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: #333;
}
.agnl-search-box input[type="submit"],
.agnl-search-box button[type="submit"] {
  padding: 4px 10px;
  background: #1a3a5c;
  color: #fff;
  border: 1px solid #1a3a5c;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 0.82rem;
}

/* ---- NAV ROW (brown like ABL) ---- */
.agnl-navrow {
  background: #1a3a5c;
}
.agnl-navrow-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 0 20px;
  min-height: 55px;
}

/* ---- NAV MENU ---- */
.agnl-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.agnl-nav-menu > li {
  position: relative;
}
.agnl-nav-menu > li > a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.agnl-nav-menu > li > a:hover,
.agnl-nav-menu > li.current-menu-item > a,
.agnl-nav-menu > li.current_page_item > a {
  color: #e8c870;
  background: rgba(255,255,255,0.1);
}

/* Dropdown arrow */
.agnl-nav-menu > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.8;
}

/* Dropdown submenu */
.agnl-nav-menu > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-top: 3px solid #b8960c;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 5px 0;
}
.agnl-nav-menu > li:hover > .sub-menu {
  display: block;
}
.agnl-nav-menu > li > .sub-menu > li > a {
  display: block;
  padding: 8px 16px;
  color: #333;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.agnl-nav-menu > li > .sub-menu > li > a:hover {
  background: #f0ede5;
  color: #1a3a5c;
}

/* ---- MOBILE TOGGLE ---- */
.agnl-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.agnl-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.agnl-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.agnl-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.agnl-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- MOBILE NAV ---- */
.agnl-mobile-nav {
  display: none;
  background: #1a3a5c;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.agnl-mobile-nav.open { display: block; }
.agnl-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.agnl-mobile-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.agnl-mobile-menu li a:hover { background: rgba(255,255,255,0.1); }
.agnl-mobile-menu .sub-menu { padding-left: 15px; background: rgba(0,0,0,0.1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .agnl-quicklinks { display: none; }
  .agnl-toprow-inner { min-height: 44px; }
  .agnl-logo-img { height: 70px; }
  .agnl-logo-wrap { margin-bottom: -36px; }
  .agnl-navrow-inner { padding-left: 90px; }
  .agnl-nav-menu { display: none; }
  .agnl-mobile-toggle { display: flex; }
  .agnl-mobile-nav { position: fixed; top: auto; }
}
@media (max-width: 480px) {
  .agnl-logo-img { height: 60px; }
  .agnl-logo-wrap { margin-bottom: -32px; }
  .agnl-navrow-inner { padding-left: 80px; min-height: 36px; }
  .agnl-toprow { display: flex; align-items: center; }
  .agnl-toprow-inner { min-height: 36px; }
}




/* ============================================================
   ABL REFINEMENT v10.3 - Damask BG + Nav font + Dropdown fix
   ============================================================ */

/* ---- DAMASK PATTERN BACKGROUND ---- */
/* The damask SVG pattern: subtle floral/ornamental repeating on cream */
body {
  background-color: #f5f0e8 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23c8b89a' fill-opacity='0.13'%3E%3Cpath d='M40 0 C35 8 28 12 20 12 C28 12 35 16 40 24 C45 16 52 12 60 12 C52 12 45 8 40 0Z'/%3E%3Cpath d='M40 80 C35 72 28 68 20 68 C28 68 35 64 40 56 C45 64 52 68 60 68 C52 68 45 72 40 80Z'/%3E%3Cpath d='M0 40 C8 35 12 28 12 20 C12 28 16 35 24 40 C16 45 12 52 12 60 C12 52 8 45 0 40Z'/%3E%3Cpath d='M80 40 C72 35 68 28 68 20 C68 28 64 35 56 40 C64 45 68 52 68 60 C68 52 72 45 80 40Z'/%3E%3Ccircle cx='40' cy='40' r='4' fill='%23c8b89a' fill-opacity='0.1'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* Top bar also gets damask */
.agnl-toprow {
  background-color: #f5f0e8 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23c8b89a' fill-opacity='0.13'%3E%3Cpath d='M40 0 C35 8 28 12 20 12 C28 12 35 16 40 24 C45 16 52 12 60 12 C52 12 45 8 40 0Z'/%3E%3Cpath d='M40 80 C35 72 28 68 20 68 C28 68 35 64 40 56 C45 64 52 68 60 68 C52 68 45 72 40 80Z'/%3E%3Cpath d='M0 40 C8 35 12 28 12 20 C12 28 16 35 24 40 C16 45 12 52 12 60 C12 52 8 45 0 40Z'/%3E%3Cpath d='M80 40 C72 35 68 28 68 20 C68 28 64 35 56 40 C64 45 68 52 68 60 C68 52 72 45 80 40Z'/%3E%3Ccircle cx='40' cy='40' r='4' fill='%23c8b89a' fill-opacity='0.1'/%3E%3C/g%3E%3C/svg%3E") !important;
  border-bottom: 1px solid #ddd8cc !important;
}

/* Page wrapper also gets damask */
.abl-page-wrapper {
  background: transparent !important;
}

/* Slider section: cream with damask flanking */
.abl-slider-section {
  background-color: #f5f0e8 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23c8b89a' fill-opacity='0.13'%3E%3Cpath d='M40 0 C35 8 28 12 20 12 C28 12 35 16 40 24 C45 16 52 12 60 12 C52 12 45 8 40 0Z'/%3E%3Cpath d='M40 80 C35 72 28 68 20 68 C28 68 35 64 40 56 C45 64 52 68 60 68 C52 68 45 72 40 80Z'/%3E%3Cpath d='M0 40 C8 35 12 28 12 20 C12 28 16 35 24 40 C16 45 12 52 12 60 C12 52 8 45 0 40Z'/%3E%3Cpath d='M80 40 C72 35 68 28 68 20 C68 28 64 35 56 40 C64 45 68 52 68 60 C68 52 72 45 80 40Z'/%3E%3Ccircle cx='40' cy='40' r='4' fill='%23c8b89a' fill-opacity='0.1'/%3E%3C/g%3E%3C/svg%3E") !important;
  padding: 15px 0 !important;
}

/* ---- NAV FONT: uppercase, slightly larger ---- */
.agnl-nav-menu > li > a {
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  font-family: 'Lato', sans-serif !important;
  letter-spacing: 0.03em !important;
  padding: 11px 6px !important;
  color: #fff !important;
}
.agnl-nav-menu > li > a:hover,
.agnl-nav-menu > li.current-menu-item > a,
.agnl-nav-menu > li.current_page_item > a {
  color: #e8c870 !important;
  background: rgba(255,255,255,0.12) !important;
}

/* Dropdown arrow: ▾ like ABL */
.agnl-nav-menu > li.menu-item-has-children > a::after {
  content: ' \25be' !important;
  font-size: 0.75em !important;
  opacity: 0.9 !important;
}

/* ---- DROPDOWN MENU: Match ABL exactly ---- */
.agnl-nav-menu > li > .sub-menu,
.agnl-nav-menu .sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #fff !important;
  min-width: 220px !important;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2) !important;
  border: none !important;
  border-top: none !important;
  z-index: 9999 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  border-radius: 0 !important;
}
.agnl-nav-menu > li:hover > .sub-menu,
.agnl-nav-menu > li:focus-within > .sub-menu {
  display: block !important;
}
.agnl-nav-menu .sub-menu li {
  list-style: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.agnl-nav-menu .sub-menu li a {
  display: block !important;
  padding: 7px 18px !important;
  color: #333 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.agnl-nav-menu .sub-menu li a:hover {
  background: #f5f5f5 !important;
  color: #2d6e4f !important;
}

/* ---- QUICK LINK BUTTONS: Match ABL pill style ---- */
.agnl-quicklink-btn {
  background: #eae6dc !important;
  color: #555 !important;
  border: 1px solid #d0c8b8 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  padding: 5px 14px !important;
  border-radius: 3px !important;
  letter-spacing: 0 !important;
}
.agnl-quicklink-btn:hover {
  background: #1a3a5c !important;
  color: #fff !important;
  border-color: #1a3a5c !important;
}

/* ---- SEARCH BOX: match ABL style ---- */
.agnl-search-box input[type="search"] {
  background: #fff !important;
  border: 1px solid #ccc !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.82rem !important;
  color: #666 !important;
}
.agnl-search-box input[type="search"]::placeholder {
  color: #aaa !important;
  font-style: italic !important;
}
.agnl-search-box input[type="submit"],
.agnl-search-box button[type="submit"] {
  background: #555 !important;
  border-color: #555 !important;
}

/* ---- NEWS SECTION white BG ---- */
.abl-news-section,
.abl-quick-section,
.abl-conheca-section,
.abl-boletim-section {
  background: #fff !important;
}

/* ---- Fallback nav (if no WP menu): same styling ---- */
.agnl-nav-menu li {
  list-style: none !important;
}


/* ============================================================
   DROPDOWN FIX v11.1 - Force correct sub-menu positioning
   ============================================================ */

.agnl-nav-menu > li {
  position: relative !important;
}

.agnl-nav-menu > li > .sub-menu,
.agnl-nav-menu .sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  background: #ffffff !important;
  min-width: 230px !important;
  max-width: 340px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
  border: none !important;
  border-top: 3px solid #b8960c !important;
  z-index: 99999 !important;
  list-style: none !important;
}

.agnl-nav-menu > li:hover > .sub-menu {
  display: block !important;
}

.agnl-nav-menu .sub-menu > li {
  position: static !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.agnl-nav-menu .sub-menu > li > a {
  display: block !important;
  padding: 9px 18px !important;
  color: #333333 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  background: transparent !important;
  border: none !important;
}

.agnl-nav-menu .sub-menu > li > a:hover {
  background: #f5f2ea !important;
  color: #1a3a5c !important;
}


/* PAGINAS INTERNAS - LAYOUT COM SIDEBAR */
body{display:flex;flex-direction:column;min-height:100vh}
.site-footer{flex-shrink:0;margin-top:auto}
.page-academia-wrapper{flex:1 0 auto}
.page-hero-banner{width:100%;min-height:180px;background-size:cover;background-position:center;background-color:#1a3a5c;position:relative}
.page-hero-banner--default{background:linear-gradient(135deg,#1a3a5c 0%,#2c4a6e 100%);min-height:120px}
.page-hero-overlay{position:absolute;inset:0;background:rgba(26,58,92,.72);display:flex;align-items:center}
.page-hero-overlay .container{padding:1.5rem 0}
.page-hero-title{color:#fff!important;font-family:'Playfair Display',Georgia,serif;font-size:2rem;font-weight:700;margin:0 0 .3rem;text-shadow:0 2px 6px rgba(0,0,0,.4)}
.page-hero-sub{color:rgba(255,255,255,.85);font-size:.95rem;margin:0}
.page-breadcrumb{padding:.6rem 0;font-size:.85rem;color:#888;border-bottom:1px solid #e8e0d4}
.page-breadcrumb a{color:#b8960c;text-decoration:none}
.page-breadcrumb a:hover{text-decoration:underline}
.page-breadcrumb span{margin:0 .3rem}
.page-inner-container{padding-top:2rem;padding-bottom:3rem}
.page-inner-layout{display:grid!important;grid-template-columns:1fr 260px!important;gap:2.5rem;align-items:start}
.page-inner-content{min-width:0}
.page-content-body p,.page-content-text p{margin-bottom:1rem;line-height:1.8;color:#444}
.page-content-figure{float:right;margin:0 0 1.5rem 2rem;max-width:320px}
.page-content-figure img{width:100%;height:auto;border-radius:3px;box-shadow:0 4px 16px rgba(0,0,0,.15)}
.page-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e8e0d4;clear:both}
.page-missao-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:1.2rem;padding:1.5rem;background:#f7f3ec;border-radius:4px;margin-top:1.5rem}
.page-missao-item h3{color:#1a3a5c;font-size:.88rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0 0 .4rem}
.page-missao-item p{color:#555;font-size:.9rem;line-height:1.5;margin:0}
.page-inner-nav{margin-top:2rem;padding-top:1rem;border-top:1px solid #e8e0d4;display:flex;gap:1.5rem;font-size:.88rem}
.page-nav-link{color:#b8960c;text-decoration:none;cursor:pointer}
.page-nav-link:hover{text-decoration:underline}
.page-inner-sidebar{position:sticky;top:100px}
.sidebar-box{background:#f7f3ec;border:1px solid #e8dfd0;border-radius:4px;overflow:hidden}
.sidebar-title{background:#1a3a5c;color:#fff;font-family:'Playfair Display',Georgia,serif;font-size:.95rem;font-weight:700;text-align:center;padding:.8rem 1rem;margin:0;letter-spacing:.05em;border-bottom:3px solid #b8960c}
.sidebar-menu{list-style:none;margin:0;padding:.4rem 0}
.sidebar-menu li{border-bottom:1px solid #ece5d8}
.sidebar-menu li:last-child{border-bottom:none}
.sidebar-menu a{display:block;padding:.5rem 1rem;color:#333;text-decoration:none;font-size:.88rem;transition:all .2s}
.sidebar-menu a:hover{background:#ede7dc;color:#b8960c;padding-left:1.3rem}
.sidebar-menu li.current-item a{color:#b8960c;font-weight:700;background:#ede7dc;border-left:3px solid #b8960c;padding-left:.75rem}
.btn-primary{display:inline-block;margin-top:1rem;padding:.6rem 1.4rem;background:#1a3a5c;color:#fff;border-radius:3px;text-decoration:none;font-size:.88rem;font-weight:600;transition:background .2s}
.btn-primary:hover{background:#b8960c;color:#fff}
@media(max-width:900px){.page-inner-layout{grid-template-columns:1fr!important}.page-inner-sidebar{order:-1}}
@media(max-width:640px){.page-content-figure{float:none;margin:0 0 1.5rem 0;max-width:100%}.page-missao-grid{grid-template-columns:1fr!important}}


/* PAGINAS INTERNAS - LAYOUT COM SIDEBAR */
body{display:flex;flex-direction:column;min-height:100vh}
.site-footer{flex-shrink:0;margin-top:auto}
.page-academia-wrapper{flex:1 0 auto}
.page-hero-banner{width:100%;min-height:180px;background-size:cover;background-position:center;background-color:#1a3a5c;position:relative}
.page-hero-banner--default{background:linear-gradient(135deg,#1a3a5c 0%,#2c4a6e 100%);min-height:120px}
.page-hero-overlay{position:absolute;inset:0;background:rgba(26,58,92,.72);display:flex;align-items:center}
.page-hero-overlay .container{padding:1.5rem 0}
.page-hero-title{color:#fff!important;font-family:'Playfair Display',Georgia,serif;font-size:2rem;font-weight:700;margin:0 0 .3rem}
.page-hero-sub{color:rgba(255,255,255,.85);font-size:.95rem;margin:0}
.page-breadcrumb{padding:.6rem 0;font-size:.85rem;color:#888;border-bottom:1px solid #e8e0d4}
.page-breadcrumb a{color:#b8960c;text-decoration:none}
.page-inner-container{padding-top:2rem;padding-bottom:3rem}
.page-inner-layout{display:grid!important;grid-template-columns:1fr 260px!important;gap:2.5rem;align-items:start}
.page-inner-content{min-width:0}
.page-content-body p,.page-content-text p{margin-bottom:1rem;line-height:1.8;color:#444}
.page-content-figure{float:right;margin:0 0 1.5rem 2rem;max-width:320px}
.page-content-figure img{width:100%;height:auto;border-radius:3px}
.page-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e8e0d4;clear:both}
.page-missao-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:1.2rem;padding:1.5rem;background:#f7f3ec;border-radius:4px;margin-top:1.5rem}
.page-missao-item h3{color:#1a3a5c;font-size:.88rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0 0 .4rem}
.page-missao-item p{color:#555;font-size:.9rem;line-height:1.5;margin:0}
.page-inner-nav{margin-top:2rem;padding-top:1rem;border-top:1px solid #e8e0d4;display:flex;gap:1.5rem;font-size:.88rem}
.page-nav-link{color:#b8960c;text-decoration:none;cursor:pointer}
.page-inner-sidebar{position:sticky;top:100px}
.sidebar-box{background:#f7f3ec;border:1px solid #e8dfd0;border-radius:4px;overflow:hidden}
.sidebar-title{background:#1a3a5c;color:#fff;font-family:'Playfair Display',Georgia,serif;font-size:.95rem;font-weight:700;text-align:center;padding:.8rem 1rem;margin:0;letter-spacing:.05em;border-bottom:3px solid #b8960c}
.sidebar-menu{list-style:none;margin:0;padding:.4rem 0}
.sidebar-menu li{border-bottom:1px solid #ece5d8}
.sidebar-menu li:last-child{border-bottom:none}
.sidebar-menu a{display:block;padding:.5rem 1rem;color:#333;text-decoration:none;font-size:.88rem;transition:all .2s}
.sidebar-menu a:hover{background:#ede7dc;color:#b8960c;padding-left:1.3rem}
.sidebar-menu li.current-item a{color:#b8960c;font-weight:700;background:#ede7dc;border-left:3px solid #b8960c;padding-left:.75rem}
.btn-primary{display:inline-block;margin-top:1rem;padding:.6rem 1.4rem;background:#1a3a5c;color:#fff;border-radius:3px;text-decoration:none;font-size:.88rem;font-weight:600}
.btn-primary:hover{background:#b8960c;color:#fff}
@media(max-width:900px){.page-inner-layout{grid-template-columns:1fr!important}}
@media(max-width:640px){.page-missao-grid{grid-template-columns:1fr!important}}


/* ===== FOOTER ABL STYLE - REDESIGN ===== */
.site-footer {
  background: #1a3a5c !important;
  color: rgba(255,255,255,0.85);
  padding: 0;
}
.footer-ornament {
  text-align: center;
  padding: 18px 0 12px;
  font-size: 1.2rem;
  color: #7a6a4e;
  letter-spacing: 3px;
  border-bottom: 1px solid #bbb;
}
.footer-main {
  display: block;
  padding: 10px 0;
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; }
}
.footer-block h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #333;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b8960c;
}
.footer-block p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}
.btn-footer {
  display: inline-block;
  background: #0d2240;
  color: #fff !important;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.btn-footer:hover { background: #0d2240; }
.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.footer-social-icons a {
  color: #4a3f35;
  transition: color 0.2s;
}
.footer-social-icons a:hover { color: #7a6a4e; }
.footer-email-icon {
  color: #4a3f35;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #bbb;
  font-size: 0.8rem;
  color: #555;
  justify-content: center;
}
.footer-links a { color: #555; text-decoration: none; }
.footer-links a:hover { color: #333; text-decoration: underline; }
.footer-links span { color: #999; }

/* Footer Sponsors Bar */
.footer-sponsors {
  background: #1a3a5c;
  border-top: 2px solid #d9d5cc;
  padding: 20px 0;
}
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
  margin-bottom: 12px;
}
.sponsor-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sponsor-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #555;
  text-transform: uppercase;
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.sponsor-logo-text {
  background: #e0d9cf;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a3f35;
  border-radius: 3px;
}
.footer-credit {
  text-align: center;
  font-size: 0.78rem;
  color: #777;
  margin: 0;
}
.footer-credit a {
  color: #7a6a4e;
  text-decoration: none;
  font-weight: 600;
}

/* ===== NOSSA LINGUA PAGE TEMPLATE ===== */
.page-template-nossa-lingua .page-inner-layout,
.nossa-lingua-layout {
  display: grid !important;
  grid-template-columns: 1fr 260px !important;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
}
.nossa-lingua-sidebar {
  background: #f5f0e8;
  border: 1px solid #d9cfc2;
  border-radius: 4px;
  padding: 0;
}
.nossa-lingua-sidebar h3 {
  background: #0d2240;
  color: #fff;
  padding: 12px 16px;
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-align: center;
}
.nossa-lingua-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.nossa-lingua-sidebar ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: #4a3f35;
  text-decoration: none;
  border-bottom: 1px solid #e0d9cf;
  transition: background 0.2s;
}
.nossa-lingua-sidebar ul li a:hover,
.nossa-lingua-sidebar ul li a.active {
  background: #e0d9cf;
  color: #1a1a1a;
}


/* ===== SECTION CARDS - CUSTOM IMAGES ===== */
.abl-quick-card:nth-child(1) .abl-quick-img-green,
.abl-quick-img-academicos {
  background: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-academicos.png') center center / cover no-repeat !important;
}
.abl-quick-card:nth-child(2) .abl-quick-img-green,
.abl-quick-img-publicacoes {
  background: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-publicacoes.png') center center / cover no-repeat !important;
}
.abl-quick-card:nth-child(3) .abl-quick-img-green,
.abl-quick-img-programacao {
  background: linear-gradient(135deg, #1a2744 0%, #0d1832 100%) !important;
}
.abl-quick-card:nth-child(4) .abl-quick-img-green,
.abl-quick-img-memoria {
  background: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-memoria.png') center center / cover no-repeat !important;
}
.abl-quick-card:nth-child(5) .abl-quick-img-green,
.abl-quick-img-galeria {
  background: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-galeria.png') center center / cover no-repeat !important;
}

/* Ensure overlay title remains readable over images */
.abl-quick-card:nth-child(1) .abl-quick-title-overlay,
.abl-quick-card:nth-child(2) .abl-quick-title-overlay,
.abl-quick-card:nth-child(4) .abl-quick-title-overlay,
.abl-quick-card:nth-child(5) .abl-quick-title-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%) !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 16px !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
}


/* ===== HIDE HTML TITLE OVERLAY FOR CARDS WITH BACKGROUND IMAGES ===== */
/* Cards 1, 2, 4, 5 have images with titles already baked in */
.abl-quick-card:nth-child(1) .abl-quick-title-overlay,
.abl-quick-card:nth-child(2) .abl-quick-title-overlay,
.abl-quick-card:nth-child(4) .abl-quick-title-overlay,
.abl-quick-card:nth-child(5) .abl-quick-title-overlay {
  display: none !important;
}

/* Card 3 (Programação) keeps overlay since it has no image */
.abl-quick-card:nth-child(3) .abl-quick-title-overlay {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* Fix card image size to show full image */
.abl-quick-card:nth-child(1) .abl-quick-img-green,
.abl-quick-card:nth-child(2) .abl-quick-img-green,
.abl-quick-card:nth-child(4) .abl-quick-img-green,
.abl-quick-card:nth-child(5) .abl-quick-img-green {
  background-size: cover !important;
  background-position: center center !important;
}

/* Description text below cards */
.abl-quick-desc {
  text-align: center !important;
  font-size: 0.85rem !important;
  color: #555 !important;
  margin-top: 8px !important;
}


/* ===== CARD PROGRAMACAO - Image background ===== */
.abl-quick-section .abl-quick-card:nth-child(3) .abl-quick-img-green {
    background-image: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-programacao.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: transparent !important;
}
.abl-quick-section .abl-quick-card:nth-child(3) .abl-quick-title-overlay {
    display: none !important;
}

/* ===== GALERIA SECTION - Decorative damask background ===== */
.abl-galeria-section {
    background-image: url('http://academiagoianiense.org.br/wp-content/uploads/2026/06/card-academicos.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-blend-mode: multiply !important;
    position: relative !important;
}
.abl-galeria-section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(80, 50, 10, 0.82) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
.abl-galeria-section > * {
    position: relative !important;
    z-index: 1 !important;
}


/* ===== ARTIGOS SECTION - Fictional authors placeholder ===== */
.abl-artigos-list {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0 30px;
    overflow: hidden;
}
.abl-artigo-item {
    flex: 1;
    text-align: center;
    min-width: 0;
}
.abl-artigo-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8b6914;
    margin: 0 auto 10px;
    display: block;
}
.abl-artigo-foto-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #8b6914;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
}
.abl-artigo-autor {
    font-style: italic;
    color: #2c5f2e;
    font-size: 0.9rem;
    margin: 0 0 4px;
    font-weight: 600;
}
.abl-artigo-autor a {
    color: #2c5f2e;
    text-decoration: none;
}
.abl-artigo-autor a:hover {
    text-decoration: underline;
}
.abl-artigo-titulo {
    font-size: 0.88rem;
    color: #333;
    margin: 0 0 4px;
    line-height: 1.4;
    font-weight: 600;
}
.abl-artigo-data {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}
.abl-artigos-nav {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #8b6914;
    cursor: pointer;
    padding: 0 10px;
    align-self: center;
    line-height: 1;
    flex-shrink: 0;
}
.abl-artigos-nav:hover { color: #5a3a00; }
.abl-artigos-more {
    text-align: center;
    padding: 10px 0 20px;
}

/* ===== BOLETIM SECTION - 4-column grid like ABL ===== */
.abl-boletim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0 30px;
}
@media (max-width: 900px) {
    .abl-boletim-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .abl-boletim-grid { grid-template-columns: 1fr; }
    .abl-artigos-list { flex-direction: column; align-items: center; }
}
.abl-boletim-item {}
.abl-boletim-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}
.abl-boletim-item-title a {
    color: #1a1a2e;
    text-decoration: none;
}
.abl-boletim-item-title a:hover { text-decoration: underline; color: #8b6914; }
.abl-boletim-item-text {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px;
}
.abl-boletim-leiamais {
    color: #2c5f2e;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}
.abl-boletim-leiamais:hover { text-decoration: underline; }
.abl-boletim-ornament {
    width: 60px;
    height: 30px;
    margin: 5px auto 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 20"><path d="M0 10 Q15 0 30 10 Q45 20 60 10" stroke="%238b6914" stroke-width="1.5" fill="none"/></svg>') center/contain no-repeat;
}
.abl-boletim-more {
    text-align: center;
    padding: 10px 0 20px;
}
.abl-btn-vertodos {
    background: #d4a020;
    color: #fff;
    padding: 10px 28px;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
}
.abl-btn-vertodos:hover { background: #b8860b; color: #fff; }

/* ===== NOTICIAS SECTION ===== */
.abl-noticias-section {
  background: #fff;
  padding: 40px 0;
}
.abl-noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 10px;
}
.abl-news-card {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.abl-news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.abl-news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.abl-news-img-placeholder {
  width: 100%;
  height: 200px;
  background: #2d6a2d;
  display: block;
}
.abl-news-body {
  padding: 18px 16px 16px;
}
.abl-news-title {
  font-size: 1em;
  font-weight: 700;
  color: #1a3a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}
.abl-news-title a {
  color: #1a3a1a;
  text-decoration: none;
}
.abl-news-title a:hover { color: #c8a030; }
.abl-news-excerpt {
  font-size: 0.88em;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}
.abl-news-saiba-mais {
  color: #2d6a2d;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.abl-news-saiba-mais:hover { color: #c8a030; }
@media (max-width: 900px) {
  .abl-noticias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .abl-noticias-grid { grid-template-columns: 1fr; }
}

/* ===== ARTIGOS SECTION IMPROVEMENTS ===== */
.abl-artigos-section {
  background-color: #f5f0e8 !important;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(180,160,120,0.08) 40px,
    rgba(180,160,120,0.08) 41px
  ) !important;
  position: relative;
  padding: 0;
}
.abl-artigos-border-top, .abl-artigos-border-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  color: #b0a080;
  font-size: 1.1em;
}
.abl-ornament-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b0a080, transparent);
}
.abl-ornament-scroll { color: #b0a080; font-size: 1em; }
.abl-ornament-shell { color: #b0a080; font-size: 1.3em; }
.abl-artigo-foto-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c8a030;
  margin: 0 auto 10px;
  display: block;
}
.abl-artigo-foto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.abl-artigo-foto-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #7a8fa0;
  border: 3px solid #c8a030;
  margin: 0 auto 10px;
  display: block;
}

/* ===== BOLETIM SECTION IMPROVEMENTS ===== */
.abl-boletim-section {
  background: #fff !important;
  padding: 0 0 40px !important;
  border: none !important;
}
.abl-boletim-header {
  text-align: center;
  padding: 40px 0 20px;
  position: relative;
}
.abl-boletim-header::before {
  content: '\2726';
  display: block;
  font-size: 1.6em;
  color: #b0a080;
  margin-bottom: 5px;
  letter-spacing: 0.3em;
}
.abl-boletim-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #b0a080;
  margin: 8px auto 0;
}
.abl-boletim-title {
  font-family: Georgia, serif !important;
  font-size: 2em !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
}
.abl-boletim-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 20px;
  color: #b0a080;
}
.abl-boletim-ornament::before {
  content: '\25BC';
  font-size: 0.6em;
  color: #b0a080;
}
.abl-boletim-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  padding: 0 20px;
}
.abl-boletim-item {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.abl-boletim-item-title {
  font-size: 1em !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}
.abl-boletim-item-text {
  font-size: 0.88em !important;
  color: #444 !important;
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
}
.abl-boletim-leia-mais {
  color: #2d6a2d !important;
  font-size: 0.85em !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.abl-boletim-leia-mais:hover { color: #c8a030 !important; }
.abl-boletim-footer {
  text-align: center !important;
  margin-top: 30px !important;
}
@media (max-width: 900px) {
  .abl-boletim-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .abl-boletim-grid { grid-template-columns: 1fr !important; }
}

/* ===== NOSSOS SECTION - Decorative damask background ===== */
.abl-nossos-section {
    background-color: #6b4a2a !important;
    background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27120%27 height=%27120%27><g fill=%27none%27 stroke=%27%23c8a45a%27 stroke-width=%270.8%27 opacity=%270.25%27><path d=%27M60 10 C40 10 20 30 20 50 C20 70 40 80 60 80 C80 80 100 70 100 50 C100 30 80 10 60 10Z%27/><path d=%27M60 25 C45 25 30 38 30 55 C30 72 45 78 60 78 C75 78 90 72 90 55 C90 38 75 25 60 25Z%27/><path d=%27M60 5 L60 95 M5 50 L115 50%27/><path d=%27M60 20 C55 15 45 12 35 18 C25 24 22 35 25 45%27/><path d=%27M60 20 C65 15 75 12 85 18 C95 24 98 35 95 45%27/><path d=%27M60 80 C55 85 45 88 35 82 C25 76 22 65 25 55%27/><path d=%27M60 80 C65 85 75 88 85 82 C95 76 98 65 95 55%27/><circle cx=%2760%27 cy=%2750%27 r=%278%27/><circle cx=%2760%27 cy=%2710%27 r=%274%27/><circle cx=%2760%27 cy=%2790%27 r=%274%27/><circle cx=%2710%27 cy=%2750%27 r=%274%27/><circle cx=%27110%27 cy=%2750%27 r=%274%27/></g></svg>") !important;
    background-repeat: repeat !important;
    background-size: 120px 120px !important;
    position: relative;
    text-align: center;
    padding: 40px 0;
    color: #fff !important;
}
.abl-nossos-title {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-size: 1.8em;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}
.abl-nossos-item {
    color: #f5e8c0 !important;
}
.abl-nossos-item-name {
    color: #f0d080 !important;
}

/* ============================================
   NOVA BARRA DE NAVEGAÇÃO - LOGO À ESQUERDA
   ============================================ */

/* Hide old toprow elements - now using single nav row with logo inside */
.agnl-toprow,
.agnl-toprow-inner,
.agnl-quicklinks,
.agnl-quicklink-btn,
.agnl-search-box {
  display: none !important;
}

/* Remove the old logo-wrap floating/overlapping behavior */
.agnl-logo-wrap {
  position: static !important;
  z-index: auto !important;
  margin-bottom: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* Logo Square - a square container inside the nav bar */
.agnl-logo-square {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px;
  height: 90px;
  min-width: 90px;
  background-color: var(--navy, #1a3a5c);
  flex-shrink: 0 !important;
  margin-right: 0;
  padding: 0;
  border-right: 2px solid rgba(255,255,255,0.15);
}

.agnl-logo-square .agnl-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 5px !important;
}

.agnl-logo-square .agnl-logo-img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  max-width: none !important;
  max-height: none !important;
}

/* Reorganizar navrow - flex row com logo na frente */
.agnl-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}

.agnl-navrow {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  background: var(--navy, #1a3a5c) !important;
  min-height: 70px;
  overflow: visible;
  padding: 0 !important;
  margin: 0 !important;
}

.agnl-navrow-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;  /* Remove the old left padding */
  margin: 0 !important;
  flex-wrap: nowrap !important;
}

/* Garantir que o menu fique em UMA ÚNICA FILEIRA */
.agnl-nav-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
  flex: 1 !important;
  overflow: visible;
  gap: 0;
}

.agnl-nav-menu > li {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

/* Responsive: smaller logo on smaller screens */
@media (max-width: 1100px) {
  .agnl-logo-square {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }
  .agnl-logo-square .agnl-logo-img {
    width: 60px !important;
    height: 60px !important;
  }
}

@media (max-width: 768px) {
  .agnl-logo-square {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
  .agnl-logo-square .agnl-logo-img {
    width: 46px !important;
    height: 46px !important;
  }
  .agnl-nav-menu {
    display: none !important;
  }
}

/* Footer dev credit */
.footer-dev-credit {
  text-align: center;
  font-size: 0.78rem;
  color: #777;
  margin: 15px 0 5px 0;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}
.footer-dev-credit .salazar-dev-link {
  color: #1a9b8a;
  text-decoration: none;
  font-weight: 600;
}
.sponsor-logo-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Show first slide by default */
.agnl-slide.active { opacity: 1 !important; }

/* Logo square - fits inside nav bar */
.agnl-logo-square { overflow: hidden; }


/* ===== CONHECA A AGNL SECTION ===== */
.agnl-conheca-section {
  background: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.agnl-section-header {
  margin-bottom: 40px;
}
.agnl-ornament-top,
.agnl-ornament-bottom {
  color: #b8a06a;
  font-size: 1.2rem;
  display: block;
  margin: 6px 0;
}
.agnl-section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 8px 0;
}
.agnl-conheca-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}
.agnl-conheca-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  transition: color 0.2s, transform 0.2s;
}
.agnl-conheca-item:hover {
  color: #C9A84C;
  transform: translateY(-4px);
}
.agnl-conheca-icon {
  width: 72px;
  height: 72px;
  color: #C9A84C;
}
.agnl-conheca-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.agnl-conheca-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: inherit;
}

/* ===== ARTIGOS SECTION ===== */
.agnl-artigos-section {
  padding: 0;
}
.agnl-artigos-bg {
  background: #f2ede4;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.agnl-ornament-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 8px,
    rgba(180,160,100,0.2) 8px,
    rgba(180,160,100,0.2) 10px
  );
}
.agnl-ornament-line.left { left: 0; }
.agnl-ornament-line.right { right: 0; }

.agnl-artigos-slider-wrap {
  display: flex;
  gap: 30px;
  overflow: hidden;
  padding: 20px 40px;
  transition: transform 0.4s ease;
}
.agnl-artigo-card {
  flex: 0 0 calc(25% - 24px);
  min-width: 200px;
  text-align: center;
}
.agnl-artigo-link {
  text-decoration: none;
  color: #333;
  display: block;
}
.agnl-artigo-link:hover .agnl-artigo-title { color: #C9A84C; }
.agnl-artigo-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #C9A84C;
}
.agnl-artigo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agnl-artigo-author {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: #8B6914;
  margin: 0 0 6px;
}
.agnl-artigo-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
  line-height: 1.4;
  transition: color 0.2s;
}
.agnl-artigo-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}
.agnl-artigos-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: calc(100% - 80px);
  margin: 0 auto;
  position: relative;
  pointer-events: none;
  margin-top: -90px;
}
.agnl-artigos-prev,
.agnl-artigos-next {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #999;
  cursor: pointer;
  pointer-events: all;
  padding: 0 10px;
  line-height: 1;
  transition: color 0.2s;
}
.agnl-artigos-prev:hover,
.agnl-artigos-next:hover {
  color: #C9A84C;
}
.agnl-artigos-footer {
  text-align: center;
  margin-top: 30px;
}
.agnl-artigos-mais {
  display: inline-block;
  background: #C9A84C;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 28px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.2s;
}
.agnl-artigos-mais:hover { background: #a8882e; }

@media (max-width: 900px) {
  .agnl-artigo-card { flex: 0 0 calc(50% - 16px); }
  .agnl-conheca-grid { gap: 30px; }
}
@media (max-width: 600px) {
  .agnl-artigo-card { flex: 0 0 calc(100% - 0px); }
  .agnl-conheca-grid { gap: 20px; }
  .agnl-section-title { font-size: 1.6rem; }
}


/* ===== NOTÍCIAS INSTAGRAM SECTION ===== */
.agnl-noticias-instagram {
  width: 100%;
  padding: 0 20px 30px;
  box-sizing: border-box;
}
.agnl-noticias-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 90px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5298 50%, #1a3a5c 100%);
  border: 2px solid #c9a84c;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}
.agnl-noticias-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='rgba(201,168,76,0.08)' stroke-width='1'/%3E%3C/svg%3E") center/40px repeat;
  pointer-events: none;
}
.agnl-noticias-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  background: linear-gradient(135deg, #1e4270 0%, #3060b8 50%, #1e4270 100%);
}
.agnl-noticias-label {
  font-family: 'Playfair Display', 'Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
  position: relative;
  padding: 0 30px;
}
.agnl-noticias-label::before,
.agnl-noticias-label::after {
  content: '✦';
  color: #c9a84c;
  font-size: 1.1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.agnl-noticias-label::before { right: 100%; margin-right: 6px; }
.agnl-noticias-label::after  { left: 100%;  margin-left: 6px; }

@media (max-width: 768px) {
  .agnl-noticias-label { font-size: 1.4rem; }
  .agnl-noticias-link  { min-height: 70px; }
}


/* ===== ARTIGOS ARCHIVE PAGE ===== */
.agnl-artigos-hero { padding: 0; margin-bottom: 0; }
.agnl-artigos-hero .agnl-noticias-link { border-radius: 0; min-height: 110px; }
.agnl-artigos-arquivo { padding: 40px 20px; }
.agnl-artigos-arquivo .agnl-section-inner { max-width: 1200px; margin: 0 auto; }
.agnl-artigos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.agnl-artigos-grid .agnl-noticia-card {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.agnl-artigos-grid .agnl-noticia-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.agnl-artigos-grid .agnl-noticia-thumb-link { display:block; overflow:hidden; height:200px; }
.agnl-artigos-grid .agnl-noticia-thumb { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.agnl-artigos-grid .agnl-noticia-card:hover .agnl-noticia-thumb { transform:scale(1.04); }
.agnl-artigos-grid .agnl-noticia-body { padding:18px 20px; display:flex; flex-direction:column; flex:1; }
.agnl-artigos-grid .agnl-noticia-meta { font-size:.82rem; color:#b08d3c; font-style:italic; margin-bottom:8px; }
.agnl-artigos-grid .agnl-noticia-date { color:#888; }
.agnl-artigos-grid .agnl-noticia-titulo { font-size:1.05rem; font-family:'Playfair Display',Georgia,serif; color:#1a3a5c; margin:0 0 10px; line-height:1.4; }
.agnl-artigos-grid .agnl-noticia-titulo a { color:inherit; text-decoration:none; }
.agnl-artigos-grid .agnl-noticia-titulo a:hover { color:#b08d3c; }
.agnl-artigos-grid .agnl-noticia-resumo { font-size:.9rem; color:#555; line-height:1.55; flex:1; margin-bottom:14px; }
.agnl-artigos-grid .agnl-artigo-link { display:inline-block; font-size:.82rem; font-weight:600; color:#1a3a5c; text-decoration:none; border-bottom:1px solid #b08d3c; padding-bottom:2px; transition:color .2s; align-self:flex-start; }
.agnl-artigos-grid .agnl-artigo-link:hover { color:#b08d3c; }
.agnl-pagination { display:flex; justify-content:center; gap:8px; margin:30px 0 10px; flex-wrap:wrap; }
.agnl-pagination a, .agnl-pagination span { display:inline-block; padding:7px 14px; border:1px solid #c9a84c; border-radius:4px; color:#1a3a5c; text-decoration:none; font-size:.9rem; transition:all .2s; }
.agnl-pagination a:hover, .agnl-pagination .current { background:#1a3a5c; color:#fff; border-color:#1a3a5c; }
@media (max-width:768px) { .agnl-artigos-grid { grid-template-columns:1fr; } }


/* ===== QUICK CARDS: LANDSCAPE OVERRIDE ===== */
/* Make cards wider (landscape) as per design reference */
.agnl-qcard-link {
  max-width: 280px !important;
  flex: 1 1 200px !important;
}
.agnl-qcard-item {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.agnl-qcard-img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  border-radius: 4px;
}
.agnl-qcards-inner {
  gap: 16px !important;
  max-width: 1400px !important;
}
.agnl-qcard-caption {
  padding: 8px 4px 0 !important;
  font-size: 0.82rem !important;
}
@media (max-width: 900px) {
  .agnl-qcard-link {
    flex: 1 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
  }
}
@media (max-width: 500px) {
  .agnl-qcard-link {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}


/* ===== HEADER LOGO + MENU FIT FIX ===== */
/* Ensure logo is properly centered in nav bar */
.agnl-navrow {
  overflow: visible !important;
}
.agnl-navrow-inner {
  max-width: 100% !important;
  min-height: 110px !important;
}
/* Reduce menu item padding so all items fit in one row */
.agnl-nav-menu > li > a {
  font-size: 1.2rem !important;
  padding: 11px 10px !important;
}


/* Hide Redes Sociais quick card from homepage */



/* ===== REDES SOCIAIS SECTION ===== */
.agnl-redes-sociais-section {
    background-color: #f5f0e8;
    padding: 48px 20px;
    text-align: center;
    border-top: 2px solid #c9a84c;
    border-bottom: 2px solid #c9a84c;
}
.agnl-redes-sociais-inner {
    max-width: 700px;
    margin: 0 auto;
}
.agnl-redes-sociais-titulo {
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}
.agnl-redes-sociais-titulo::before,
.agnl-redes-sociais-titulo::after {
    content: '✦';
    color: #c9a84c;
    font-size: 0.9rem;
    margin: 0 12px;
    vertical-align: middle;
}
.agnl-redes-sociais-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.agnl-social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a3a5c;
    transition: color 0.25s ease, transform 0.25s ease;
}
.agnl-social-icon svg {
    width: 44px;
    height: 44px;
    color: #1a3a5c;
    transition: color 0.25s ease, transform 0.25s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.agnl-social-icon span {
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3a5c;
    transition: color 0.25s ease;
}
.agnl-social-icon:hover {
    transform: translateY(-4px);
    color: #c9a84c;
}
.agnl-social-icon:hover svg {
    color: #c9a84c;
}
.agnl-social-icon:hover span {
    color: #c9a84c;
}
@media (max-width: 600px) {
    .agnl-redes-sociais-icons { gap: 28px; }
    .agnl-social-icon svg { width: 36px; height: 36px; }
}
