/* ==========================================================================
   SISTEMA DE DESIGN & TOKENS - DEPUTADO NELINHO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Cores Estritas do Briefing (60-30-10) */
  --color-primary: #002F87;       /* 60% - Azul Imperial */
  --color-secondary: #00A859;     /* 30% - Verde Grama */
  --color-accent: #FFB800;        /* 10% - Ouro Quente */
  
  /* Gradientes e Variações */
  --color-primary-dark: #001f5c;
  --color-primary-light: #1e4eb0;
  --color-secondary-dark: #008746;
  --color-secondary-light: #2bc178;
  
  /* Fundos e Tons Neutros */
  --color-bg-light: #FFFFFF;
  --color-bg-slate: #F8FAFC;
  --color-text-dark: #0F172A;
  --color-text-muted: #475569;
  --color-border: #E2E8F0;
  
  /* Efeitos e Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 47, 135, 0.05), 0 1px 2px rgba(0, 47, 135, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 47, 135, 0.08), 0 2px 4px -1px rgba(0, 47, 135, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 47, 135, 0.1), 0 4px 6px -2px rgba(0, 47, 135, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 47, 135, 0.15), 0 10px 10px -5px rgba(0, 47, 135, 0.08);
  
  /* Tipografia */
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--color-primary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================================================
   COMPONENTES GERAIS / UTILITÁRIOS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background-color: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-ghost-light:hover {
  background-color: #FFFFFF;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Badge de Seção */
.section-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.section-badge::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--color-secondary);
}

/* Títulos de Seção */
.section-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--color-secondary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
}

/* ==========================================================================
   HEADER / STICKY NAVBAR
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height 0.3s ease;
}

header.scrolled .navbar-container {
  height: 65px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  max-height: 55px;
  width: auto;
  transition: max-height 0.3s ease;
}

header.scrolled .logo-img {
  max-height: 45px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-secondary);
}

/* Menu Mobile Toggle */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1010;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-primary);
  transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Grid decorativo do logo no background */
.hero-bg-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle-top {
  color: var(--color-accent);
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  color: #FFFFFF;
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--color-accent) 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Máscara geométrica inspirada no logo */
.hero-portrait-mask {
  width: 440px;
  height: 480px;
  overflow: hidden;
  position: relative;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forma orgânica */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 6px solid rgba(255, 255, 255, 0.15);
  animation: morphing 20s ease-in-out infinite alternate;
  background-color: rgba(255, 255, 255, 0.05);
}

.hero-portrait-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  scale: 1.1;
  transition: transform 0.5s ease;
}

.hero-portrait-mask:hover img {
  transform: scale(1.05);
}

/* Molduras decorativas na foto */
.hero-image-decor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.hero-image-decor::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border-right: 8px solid var(--color-accent);
  border-bottom: 8px solid var(--color-accent);
  border-radius: 0 0 24px 0;
  opacity: 0.6;
}

.hero-image-decor::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-left: 8px solid var(--color-secondary);
  border-top: 8px solid var(--color-secondary);
  border-radius: 24px 0 0 0;
  opacity: 0.6;
}

/* ==========================================================================
   BIOGRAPHY / TIMELINE SECTION
   ========================================================================== */

.biography {
  padding: 8rem 0;
  background-color: var(--color-bg-slate);
}

.biography-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.bio-intro {
  position: sticky;
  top: 120px;
}

.bio-photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin-top: 2rem;
  border: 4px solid #FFFFFF;
}

.bio-photo-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
}

.bio-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 47, 135, 0.95) 0%, rgba(0, 47, 135, 0.4) 60%, transparent 100%);
  color: #FFFFFF;
}

.bio-photo-caption h4 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.bio-photo-caption p {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Timeline Vertical */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  width: 3px;
  height: 100%;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 4px solid var(--color-secondary);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background-color: var(--color-secondary);
  box-shadow: 0 0 0 6px rgba(0, 168, 89, 0.2);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.timeline-title {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.timeline-highlight {
  font-weight: 600;
  color: var(--color-primary);
}

/* ==========================================================================
   CORE PILLARS (CARDS GRID)
   ========================================================================== */

.pillars {
  padding: 8rem 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar-card {
  background-color: var(--color-bg-slate);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  background-color: #FFFFFF;
  border-color: rgba(0, 168, 89, 0.3);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  color: var(--color-secondary);
}

.pillar-card:hover .pillar-icon-container {
  background-color: var(--color-secondary);
  color: #FFFFFF;
  border-color: var(--color-secondary);
}

.pillar-icon-container svg {
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   LEGISLATIVE STATS (COUNTERS)
   ========================================================================== */

.stats {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 20%, rgba(0, 168, 89, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-value {
  font-family: var(--font-header);
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stat-value span {
  font-size: 2.5rem;
}

.stat-label {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 250px;
}

/* ==========================================================================
   NEWS / MEDIA SECTION
   ========================================================================== */

.news {
  padding: 8rem 0;
  background-color: var(--color-bg-slate);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 47, 135, 0.15);
}

.news-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-container img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.news-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-category {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.news-card:hover .news-link svg {
  transform: translateX(4px);
}

.news-link:hover {
  color: var(--color-secondary-dark);
}

/* ==========================================================================
   FOOTER / CONTACT SECTION
   ========================================================================== */

.footer-section {
  background-color: var(--color-primary-dark);
  color: #FFFFFF;
  position: relative;
}

/* Bloco superior: Formulário de Contato / Broadcast */
.contact-block {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info h3 span {
  color: var(--color-accent);
}

.contact-info p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 168, 89, 0.15);
  border: 1px solid rgba(0, 168, 89, 0.3);
  color: var(--color-secondary-light);
}

.contact-feature-icon svg {
  width: 20px;
  height: 20px;
}

.contact-feature-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Formulário Broadcast */
.broadcast-form {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-title svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-family: var(--font-header);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-checkbox-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.form-checkbox-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* Feedback do Formulário */
.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  display: none;
}

.form-feedback.success {
  background-color: rgba(0, 168, 89, 0.15);
  border: 1px solid rgba(0, 168, 89, 0.3);
  color: var(--color-secondary-light);
  display: block;
}

.form-feedback.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: block;
}

/* Rodapé Institucional */
.footer-bottom {
  padding: 3rem 0;
}

.footer-bottom-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 300px;
}

.footer-logo-img {
  max-height: 50px;
  width: auto;
  filter: brightness(0) invert(1); /* Deixa a logo toda branca para contraste */
}

.footer-desc {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-title {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-item a {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-link-item a:hover {
  opacity: 1;
  color: var(--color-secondary-light);
}

.footer-social-title {
  margin-bottom: 0.75rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-secondary);
  color: #FFFFFF;
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Assinatura e Info Legal */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.footer-legal-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Tarja de Assinatura */
.footer-signature-bar {
  background-color: var(--color-accent); /* Amarelo de destaque */
  color: var(--color-primary-dark);      /* Contraste azul escuro */
  text-align: center;
  padding: 0.85rem 0;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-signature-bar a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  font-weight: 800;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-signature-bar a:hover {
  color: var(--color-primary);
  opacity: 0.9;
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */

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

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}


/* ==========================================================================
   BREAKPOINTS / RESPONSIVIDADE (MOBILE-FIRST)
   ========================================================================== */

/* Telas Médias / Tablets (Max-width: 1023px) */
@media (max-width: 1023px) {
  .navbar-container {
    position: relative;
    justify-content: center;
  }

  .logo-img {
    max-height: 65px;
  }

  header.scrolled .logo-img {
    max-height: 55px;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding-bottom: 4rem;
  }

  .hero-image-container {
    order: -1;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-portrait-mask {
    width: 360px;
    height: 400px;
  }
  
  .biography-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .bio-intro {
    position: relative;
    top: 0;
  }
  
  .bio-photo-card img {
    height: 350px;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* Menu Mobile */
  .hamburger {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100%);
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 47, 135, 0.1);
    align-items: flex-start;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    display: block;
  }
  
  /* Hamburger State Open */
  .hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Telas Pequenas / Mobile (Max-width: 767px) */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-portrait-mask {
    width: 280px;
    height: 320px;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
}

/* Correções específicas para telas muito pequenas */
@media (max-width: 360px) {
  .hero-portrait-mask {
    width: 240px;
    height: 280px;
  }
}
