/* ========================================
   CSS PRINCIPAL - PÁGINA SOBRE
   ======================================== */

/* ========================================
   VARIÁVEIS CSS
   ======================================== */
:root {
  /* Cores Principais */
  --background: 210 20% 8%;
  --foreground: 210 15% 95%;
  --card: 210 20% 9%;
  --primary: 357 82% 42%;
  --primary-foreground: 210 15% 95%;
  --muted: 210 15% 12%;
  --muted-foreground: 210 15% 65%;
  --border: 210 15% 18%;

  /* Cores Específicas do Sindicato */
  --union-red: 357 82% 42%;
  --union-red-light: 357 82% 52%;
  --union-dark: 210 20% 6%;
  --union-darker: 210 25% 4%;
  --whatsapp-color: #0f993e;
  --predominant-tone-10-percent: 0 0% 100%;

  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    hsl(var(--union-red)),
    hsl(var(--union-red-light))
  );
  --gradient-bg: linear-gradient(
    135deg,
    hsl(var(--union-dark)),
    hsl(var(--union-darker))
  );

  /* Sombras e Efeitos */
  --shadow-card: 0 10px 30px -10px hsl(var(--union-darker) / 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.5rem;
}

/* ========================================
   ESTILOS BASE
   ======================================== */

/* Configurações HTML */
html {
  overflow-x: hidden;
  width: 100%;
}

/* Reset Universal */
* {
  box-sizing: border-box;
}

/* Classe Utilitária */
.hidden {
  display: none !important;
}

/* Cores Padrão */
*:not(.gradient-text):not(h2) {
  color: hsl(var(--foreground));
}

/* Estilos do Body */
body {
  background: var(--gradient-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}

/* Container Principal */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Texto com Gradiente */
.gradient-text {
  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ========================================
   ELEMENTOS DE FUNDO
   ======================================== */

/* Ellipses de Fundo */
.bg-ellipse {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.7;
  pointer-events: none;
}

.bg-ellipse-3 {
  width: 2000px;
  height: 100%;
  background: hsl(var(--union-red));
  filter: blur(300px);
  top: 0%;
  left: 0;
  transform: translate(-50%, -50%);
}

.bg-ellipse-4 {
  width: 500px;
  height: 500px;
  object-fit: contain;
  background: hsl(var(--union-red-light));
  bottom: -30%;
  right: 0%;
  z-index: -1;
  filter: blur(120px);
}

.bg-ellipse-5 {
  width: 250px;
  height: 300px;
  opacity: 1;
  filter: blur(100px);
  background: hsl(var(--union-red-light));
  bottom: 5%;
  right: 0%;
  z-index: -1;
}

.bg-ellipse-6 {
  width: 600px;
  height: 600px;
  background: hsl(var(--union-red-light));
  top: 10%;
  left: -15%;
  z-index: -1;
  filter: blur(80px);
}

/* Ellipses de Canto */
.corner-ellipse {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    hsl(var(--union-red) / 0.05),
    hsl(var(--union-red-light) / 0.05)
  );
  border-radius: 50%;
  filter: blur(30px);
  animation: float 8s ease-in-out infinite;
}

.corner-ellipse-left {
  top: 10%;
  left: -100px;
  animation-delay: 1s;
}

.corner-ellipse-right {
  bottom: 20%;
  right: -100px;
  animation-delay: 3s;
}

/* Elementos Flutuantes */
.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    hsl(var(--union-red) / 0.03),
    hsl(var(--union-red-light) / 0.03)
  );
  border-radius: 50%;
  filter: blur(20px);
  animation: float 10s ease-in-out infinite;
}

.floating-element-1 {
  top: 30%;
  left: 5%;
  animation-delay: 0s;
}

.floating-element-2 {
  top: 70%;
  right: 15%;
  animation-delay: 4s;
}

.floating-element-3 {
  top: 50%;
  left: 80%;
  animation-delay: 2s;
}

/* Partículas */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: hsl(var(--union-red) / 0.6);
  border-radius: 50%;
  animation: particles 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

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

@keyframes particles {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px);
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* ========================================
   BOTÕES
   ======================================== */

/* Botão Base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  height: 2.5rem;
  padding: 1.5rem 1.5rem;
}

.btn-outline {
  border: 1px solid hsl(var(--primary));
  background: transparent;
  color: hsl(var(--primary));
}

.btn-outline:hover {
  transform: scale(1.06);
  transition: 0.25s;
  color: hsl(var(--gradient-primary));
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.3);
  border: solid 0.15rem hsl(var(--primary));
  transition: all 0.5s ease;
}

/* Botão WhatsApp */
.btn-whatsapp {
  border-radius: 10px;
  background-color: var(--whatsapp-color);
  border: solid 0.1rem var(--whatsapp-color);
  font-size: 1rem;
  font-style: normal;
  text-decoration: none;
  color: var(--predominant-tone-10-percent);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  transition: all 0.5s ease;
  font-weight: 500;
  gap: 1rem;
  cursor: pointer;
  max-width: 400px;
}

@media (min-width: 640px) {
  .btn-whatsapp {
    width: auto;
    min-width: 200px;
  }
}

.btn-whatsapp:hover {
  background-color: transparent;
  transform: scale(1.06);
  color: var(--predominant-tone-10-percent) !important;
  box-shadow: 0 0px 10px var(--whatsapp-color);
  border: solid 0.15rem var(--foreground) !important;
  transition: all 0.5s ease;
  z-index: 20;
}

.btn-whatsapp .icon {
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
  flex-shrink: 0;
  position: relative;
  z-index: 15;
}

.btn-whatsapp .fa-whatsapp {
  font-size: 1.6rem;
  color: var(--predominant-tone-10-percent) !important;
  transform: rotate(0deg);
  transition: transform 1s ease;
}

.btn-whatsapp:hover .fa-whatsapp {
  font-size: 1.8rem;
  color: hsl(var(--whatsapp-color));
  transform: rotate(360deg);
  transition: transform 1s ease;
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

.header {
  width: 100%;
  padding: 20px 0px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 2rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

/* Menu Desktop */
.nav__menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav__item {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.4s ease;
  position: relative;
  font-size: 1rem;
  padding: 0.2rem 0.75rem;
  border-radius: 0.375rem;
}

.nav__item::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: hsl(var(--foreground));
  transition: width 0.4s ease, left 0.4s ease;
}

.nav__item:hover {
  color: hsl(var(--foreground));
}

.nav__item.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: 3px !important;
  width: 80%;
  left: 10%;
  height: 2px !important;
  background: hsl(var(--foreground)) !important;
  transition: width 0.4s ease, left 0.4s ease !important;
  z-index: 10 !important;
}

.nav__item:hover::after {
  width: 80%;
  left: 10%;
  transform: translateX(0);
}

.nav__buttons {
  display: flex;
  gap: 20px;
}

/* Ícone Hambúrguer/X */
.mobile-menu-icon {
  display: none; /* Escondido em telas grandes */
}

.mobile-menu-icon button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

/* As 3 linhas do ícone hambúrguer */
.mobile-menu-icon .line {
  width: 100%;
  height: 3px;
  background-color: hsl(var(--foreground));
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-icon .line-1 {
  top: 0;
}

.mobile-menu-icon .line-2 {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-icon .line-3 {
  bottom: 0;
}

/* Animação Hambúrguer → X */
.header.menu-open .line-1 {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header.menu-open .line-2 {
  opacity: 0;
}

.header.menu-open .line-3 {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Menu Mobile */
.nav__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(16px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding: 0 2rem;
  display: none;
  z-index: 2;
}

/* Classe que o JavaScript adiciona para abrir */
.nav__mobile.open {
  max-height: 450px;
  border-top: none;
}

.nav__mobile-items {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.nav__mobile .nav__item {
  padding: 1rem 0;
  width: 100%;
}

.nav__mobile .nav__buttons {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  gap: 1rem;
}

/* Media Queries para Responsividade */
@media screen and (max-width: 960px) {
  /* Esconde menus desktop */
  .nav__menu,
  .nav > .nav__buttons {
    display: none;
  }

  /* Mostra menu mobile */
  .nav__mobile {
    display: block;
  }

  /* Mostra ícone hambúrguer */
  .mobile-menu-icon {
    display: block;
  }
}

/* Estilos dos botões no menu mobile */
.nav__mobile .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Estilos do Logo */
.nav__logo {
  flex-shrink: 0;
  min-width: 120px;
}

.nav__logo-image {
  width: 120px;
  height: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.nav__logo-image:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media (max-width: 480px) {
  .nav__logo {
    min-width: 80px;
    max-width: 80px;
  }

  .nav__logo-image {
    width: 80px;
  }
}

/* ========================================
   SEÇÕES PRINCIPAIS
   ======================================== */

/* ========================================
   SEÇÃO HERO
   ======================================== */

.hero-section {
  padding: 6rem 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  position: relative;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 7rem 1.5rem 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 8rem 2rem 6rem;
  }
}

.hero-content {
  position: relative;
  z-index: 15;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.hero-content-inner {
  animation: fade-in 0.6s ease-out;
  position: relative;
  z-index: 20;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 500;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  color: hsl(var(--primary));
  position: relative;
  z-index: 15;
}

.hero-badge .icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.title-line {
  display: block;
  color: hsl(var(--foreground));
  position: relative;
  z-index: 1;
}

.title-subtitle {
  display: block;
  font-size: 0.6em;
  color: hsl(var(--foreground) / 0.7);
  font-weight: 700;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 15;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.highlight-text {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  position: relative;
  z-index: 15;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: scroll-float 3s ease-in-out infinite;
}

.scroll-indicator-inner {
  width: 2rem;
  height: 3rem;
  border: 2px solid hsl(var(--border));
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(1rem);
  }
  60% {
    transform: translateY(0.5rem);
  }
}

@keyframes scroll-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ========================================
   SEÇÃO ABOUT CONTENT
   ======================================== */

.about-content-section {
  padding: 5rem 1rem;
  position: relative;
}

@media (min-width: 640px) {
  .about-content-section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .about-content-section {
    padding: 5rem 2rem;
  }
}

.about-content {
  max-width: 64rem;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-description {
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.7;
  font-size: 1.125rem;
}

.about-description p {
  margin-bottom: 1.5rem;
}

.about-description strong {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* ========================================
   SEÇÃO QUOTE
   ======================================== */

.quote-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--muted)));
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .quote-section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .quote-section {
    padding: 5rem 2rem;
  }
}

.quote-content {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .quote-content {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .quote-text h2 {
    font-size: 3.5rem;
  }
}

.quote-text hr {
  width: 30%;
  height: 0.25rem;
  background: hsl(var(--primary));
  border: none;
  margin: 1rem 0;
}

.quote-image {
  text-align: center;
}

.quote-img {
  width: 450px;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .quote-img {
    width: 300px;
  }
}

/* ========================================
   SEÇÃO NUMBERS
   ======================================== */

.numbers-section {
  padding: 5rem 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .numbers-section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .numbers-section {
    padding: 5rem 2rem;
  }
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  color: hsl(var(--primary));
}

.section-badge .icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.7);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.number-item {
  text-align: center;
  padding: 2rem;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.number-item:hover {
  background: hsl(var(--card) / 0.7);
  box-shadow: var(--shadow-card);
  transform: translateY(-0.25rem);
}

.number-value {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .number-value {
    font-size: 4rem;
  }
}

.number-label {
  color: hsl(var(--foreground) / 0.7);
  font-size: 1.125rem;
  font-weight: 500;
}

/* ========================================
   SEÇÃO FAQ
   ======================================== */

.faq-section {
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .faq-section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .faq-section {
    padding: 5rem 2rem;
  }
}

.legal-consultation{

      background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--union-red-light) / 0.1));
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 64rem;
}

/* ========================================
   ACCORDION
   ======================================== */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.accordion__item {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion__btn {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.accordion__btn:hover {
  background: hsl(var(--muted) / 0.5);
}

.accordion__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.accordion__icon {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  transition: var(--transition-smooth);
}

.accordion__item.active .accordion__icon {
  transform: rotate(90deg);
  color: hsl(var(--primary));
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion__description {
  padding: 0 1.5rem 1.5rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========================================
   SEÇÃO CTA
   ======================================== */

.cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(
    135deg,
    hsl(var(--union-dark)),
    hsl(var(--union-darker))
  );
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cta-section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 5rem 2rem;
  }
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: linear-gradient(
    135deg,
    hsl(var(--union-darker)),
    hsl(var(--union-dark))
  );
  border-top: 1px solid hsl(var(--border) / 0.2);
  position: relative;
  overflow: hidden;
}

.footer .container {
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .footer .container {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer .container {
    padding: 4rem 2rem;
  }
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.brand-subtitle {
  color: hsl(var(--foreground) / 0.7);
}

.brand-description {
  color: hsl(var(--foreground) / 0.6);
  line-height: 1.7;
  max-width: 28rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.2),
    hsl(var(--union-red-light) / 0.2)
  );
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.3),
    hsl(var(--union-red-light) / 0.3)
  );
  transform: scale(1.1);
}

.social-link .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  transition: transform var(--transition-smooth);
}

.social-link:hover .icon {
  transform: scale(1.1);
}

.footer-links,
.footer-services {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links-title,
.footer-services-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.footer-links-list,
.footer-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link,
.footer-service {
  color: hsl(var(--foreground) / 0.6);
  text-decoration: none;
  transition: color var(--transition-smooth);
  display: flex;
  align-items: center;
}

.footer-link:hover,
.footer-service:hover {
  color: hsl(var(--primary));
}

.footer-service-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.2);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-copyright {
  color: hsl(var(--foreground) / 0.6);
  font-size: 0.875rem;
}

.footer-affiliations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.affiliation-text {
  color: hsl(var(--foreground) / 0.6);
}

.slogan {
  color: hsl(var(--primary));
  font-weight: 500;
}

/* ========================================
   BOTÃO "VOLTAR AO TOPO"
   ======================================== */

.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  display: none;
  align-items: center;
  justify-content: center;
}

.scroll-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsl(var(--union-red) / 0.3);
}

.scroll-to-top-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.scroll-to-top-btn.show {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 9999;
  }

  .scroll-to-top-btn .icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

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

  .quote-content {
    grid-template-columns: 1fr;
  }

  .quote-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .cta-title {
    font-size: 1.75rem;
  }

  .nav-content {
    height: 3.5rem;
  }

  .logo-img {
    width: 90px;
  }
}

/* ========================================
   MEDIA QUERIES PARA ELLIPSES
   ======================================== */

@media (max-width: 1026px) {
  .bg-ellipse-3 {
    width: 600px;
    filter: blur(300px);
  }

  .bg-ellipse-5 {
    width: 200px;
    height: 300px;
    right: 0%;
    opacity: 1;
    filter: blur(90px);
  }
}

@media (max-width: 768px) {
  .bg-ellipse-4 {
    height: 350px;
    bottom: -20%;
    filter: blur(90px);
  }

  .bg-ellipse-5 {
    bottom: 0%;
    filter: blur(90px);
  }
}

/* ========================================
   SEÇÃO DE GALERIA DE FOTOS
   ======================================== */

.gallery-section {
  padding: 6rem 0;
  background: hsl(var(--gradient-bg));
  position: relative;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;

  letter-spacing: 0.05em;
}

.gallery-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px hsl(var(--union-darker) / 0.6);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    hsl(var(--union-darker) / 0.9),
    transparent
  );
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

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

.gallery-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.gallery-item-description {
  font-size: 0.9rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.4;
}

/* ========================================
   SEÇÃO DE LOCALIZAÇÃO
   ======================================== */

.location-section {
  width: 100%;
  height: auto;
  position: relative;
  padding: 5rem 0;
  background: hsl(var(--gradient-bg));
}

.location-title {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--primary)) !important;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-subtitle {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 1.375rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

.location-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1100px;
}

.map-container {
  width: 100%;
  max-width: 710px;
  padding: 0 20px;
}

.location-iframe {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.location-info-container {
  max-width: 320px;
  width: 100%;
  text-align: left;
  padding: 0 20px;
}

.info-block {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.info-title {
  font-weight: 600;
  color: hsl(var(--primary)) !important;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-text {
  font-weight: 400;
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.info-label {
  font-weight: 500;
}

.location-btn {
  display: inline-block;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.location-btn:hover {
  background: hsl(var(--union-red-light));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: hsl(var(--primary-foreground));
}

/* Responsividade da Galeria */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2.5rem;
  }

  .gallery-subtitle {
    font-size: 1.125rem;
  }

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

  .gallery-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  .gallery-item-title {
    font-size: 1.125rem;
  }

  .gallery-item-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    aspect-ratio: 3/2;
  }
}

/* Responsividade da Localização */
@media (max-width: 1000px) {
  .location-content {
    flex-wrap: wrap;
  }

  .location-info-container {
    max-width: 710px;
    width: 100%;
  }

  .info-block {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .location-title {
    font-size: 2.5rem;
  }

  .location-subtitle {
    font-size: 1.125rem;
  }

  .location-iframe {
    height: 350px;
  }

  .location-info-container {
    padding: 0 1rem;
  }
}

/* ========================================
   MODAL DA GALERIA
   ======================================== */

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--union-darker) / 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal-open {
  opacity: 1;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-modal-open .gallery-modal-content {
  transform: scale(1);
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--union-red));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.gallery-modal-close:hover {
  background: hsl(var(--union-red-light));
  transform: scale(1.1);
}

.gallery-modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.gallery-modal-info {
  padding: 2rem;
  text-align: center;
}

.gallery-modal-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.gallery-modal-info p {
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.6;
}

/* Animação de entrada dos itens da galeria */
.gallery-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.gallery-item-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .gallery-modal-info {
    padding: 1.5rem;
  }

  .gallery-modal-info h3 {
    font-size: 1.25rem;
  }

  .gallery-modal-info p {
    font-size: 0.9rem;
  }
}
