/* Reset e Base */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Custom Properties for viewport handling */
:root {
  --vh: 1vh;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

/* =======================================================
   RESPONSIVE TYPOGRAPHY SYSTEM
   ======================================================= */

/* Base typography for mobile (≤768px) */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  /* 14px - Base mobile size */
  line-height: 1.6;
  color: #1a1a1a;
  background: #f6f7fb;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Heading hierarchy - Mobile first */
h1,
.h1 {
  font-size: 2rem;
  /* 32px */
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h2,
.h2 {
  font-size: 1.75rem;
  /* 28px */
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.875rem 0;
}

h3,
.h3 {
  font-size: 1.5rem;
  /* 24px */
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
}

h4,
.h4 {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.625rem 0;
}

h5,
.h5 {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
}

h6,
.h6 {
  font-size: 1rem;
  /* 16px */
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
}

/* Text utilities */
.text-small,
.caption {
  font-size: 0.75rem;
  /* 12px */
  line-height: 1.5;
}

.text-body {
  font-size: 0.875rem;
  /* 14px */
  line-height: 1.6;
}

/* Tablet responsive typography (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    font-size: 1rem;
    /* 16px */
  }

  h1,
  .h1 {
    font-size: 2.5rem;
    /* 40px */
  }

  h2,
  .h2 {
    font-size: 2rem;
    /* 32px */
  }

  h3,
  .h3 {
    font-size: 1.75rem;
    /* 28px */
  }

  h4,
  .h4 {
    font-size: 1.5rem;
    /* 24px */
  }

  h5,
  .h5 {
    font-size: 1.25rem;
    /* 20px */
  }

  h6,
  .h6 {
    font-size: 1.125rem;
    /* 18px */
  }

  .text-small,
  .caption {
    font-size: 0.875rem;
    /* 14px */
  }

  .text-body {
    font-size: 1rem;
    /* 16px */
  }
}

/* Desktop Pequeno responsive typography (1025px–1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  body {
    font-size: 1rem;
    /* 16px */
  }

  h1,
  .h1 {
    font-size: 2.5rem;
    /* 40px */
  }

  h2,
  .h2 {
    font-size: 2rem;
    /* 32px */
  }

  h3,
  .h3 {
    font-size: 1.75rem;
    /* 28px */
  }

  h4,
  .h4 {
    font-size: 1.5rem;
    /* 24px */
  }

  h5,
  .h5 {
    font-size: 1.25rem;
    /* 20px */
  }

  h6,
  .h6 {
    font-size: 1rem;
    /* 16px */
  }

  .text-small,
  .caption {
    font-size: 0.875rem;
    /* 14px */
  }

  .text-body {
    font-size: 1rem;
    /* 16px */
  }
}

/* Desktop Grande responsive typography (>1440px) */
@media (min-width: 1441px) {
  body {
    font-size: 1.125rem;
    /* 18px */
  }

  h1,
  .h1 {
    font-size: 3rem;
    /* 48px */
  }

  h2,
  .h2 {
    font-size: 2.5rem;
    /* 40px */
  }

  h3,
  .h3 {
    font-size: 2rem;
    /* 32px */
  }

  h4,
  .h4 {
    font-size: 1.75rem;
    /* 28px */
  }

  h5,
  .h5 {
    font-size: 1.5rem;
    /* 24px */
  }

  h6,
  .h6 {
    font-size: 1.25rem;
    /* 20px */
  }

  .text-small,
  .caption {
    font-size: 1rem;
    /* 16px */
  }

  .text-body {
    font-size: 1.125rem;
    /* 18px */
  }
}

.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animações Globais */
@keyframes fadeInUp {
  from {
    opacity: 0;YtranslateY:(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Animação do Mascote */
@keyframes mascote-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-12px) rotate(2deg);
  }

  50% {
    transform: translateY(-20px) rotate(0deg);
  }

  75% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  margin-left: 50px;
}

.nav-logo {
  height: 82px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

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

.nav-link {
  margin-left: 20px;
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #e5243b;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e5243b, #26BDE2);
  border-radius: 1px;
  transition: width 0.3s ease;
}

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

/* Nav mobile improvements */
@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1002;
  }

  #mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    padding: 2rem 1.5rem;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    transform: translateX(100%);
  }

  #mobile-menu.show {
    display: block;
    transform: translateX(0);
  }

  #nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
  }

  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  #mobile-menu .nav-link {
    font-size: 1.2rem;
    color: #19486A;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.3s;
  }

  #mobile-menu .nav-link.active,
  #mobile-menu .nav-link:hover {
    color: #26BDE2;
  }

  #mobile-menu-close {
    background: none;
    border: none;
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2rem;
    color: #19486A;
    cursor: pointer;
    z-index: 1003;
  }
}

/* Hero Section com cores harmoniosas */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}


.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(229, 36, 59, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(38, 189, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(76, 159, 56, 0.05) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 90vh;
}

.hero-text {
  flex: 1 1 350px;
  min-width: 320px;
  margin-top: 50px;
  animation: fadeInLeft 1s ease 0.2s both;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-edition {
  font-size: 1.2rem;

  font-weight: 700;
  margin-left: 0.5rem;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-countdown {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  animation: fadeInUp 1s ease 0.6s both;
}

.countdown-label {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  display: block;
}

.countdown {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

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

.countdown-number {
  font-size: 2rem;
  color: #26BDE2;
  font-weight: 700;
  display: block;
  animation: pulse 1.5s ease-in-out infinite;
}

.countdown-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-visual {
  flex: 1 1 350px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease 0.4s both;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  background: none;
  box-shadow: none;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.mascote {
  position: absolute;
  top: 40px;
  left: -120px;
  width: 500px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 32px rgba(38, 189, 226, 0.3));
  animation: mascote-float 4s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #26BDE2, #19486A);
  color: white;
  box-shadow: 0 8px 25px rgba(38, 189, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(38, 189, 226, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #19486A, #0f1419);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ODS Stripe com animação */
.ods-stripe {
  height: 8px;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.stripe-color {
  flex: 1;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.stripe-color::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* Sobre Section - Cores harmoniosas */
.sobre-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e0 100%);
  position: relative;
  padding: 5rem 0;
}

.button-link {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font: inherit;
  /* herda fonte do texto ao redor */
  color: blue;
  /* azul */
  text-decoration: underline;
  /* sublinhado */
  cursor: pointer;
  /* mãozinha */
  appearance: none;
  /* remove estilo nativo (Safari, iOS) */
  -webkit-appearance: none;
  /* remove estilo nativo no WebKit */
  -moz-appearance: none;
  /* remove estilo nativo no Firefox */
}


.sobre-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(229, 36, 59, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(38, 189, 226, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(229, 36, 59, 0.1), rgba(38, 189, 226, 0.1));
  color: #1a1a1a;
  border: 1px solid rgba(229, 36, 59, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  position: relative;
}

.section-description {
  font-size: 1.5rem;
  color: #4b5563;
  line-height: 1.7;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.sobre-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.sobre-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.sobre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #E5243B, #DDA63A, #4C9F38, #26BDE2, #19486A);
}

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

.sobre-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.sobre-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.sobre-visual {
  background: linear-gradient(135deg, #26BDE2, #19486A);
  padding: 3rem;
  border-radius: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(38, 189, 226, 0.2);
}

.sobre-visual::before,
.sobre-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.sobre-visual::before {
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  animation: float 6s ease-in-out infinite;
}

.sobre-visual::after {
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  animation: float 8s ease-in-out infinite reverse;
}

.ods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ods-mini-card {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.7rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
}

.ods-mini-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Cronograma */
/* Grid geral */
.cronograma-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Tabelas */
.cronograma-table {
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* Cabeçalhos */
.etapa1-header,
.etapa2-header,
.etapa3-header {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  color: #fff;
}

.etapa1-header {
  background: #3b82f6;
}

.etapa2-header {
  background: #10b981;
}

.etapa3-header {
  background: #8b5cf6;
}

/* Etapas */
.etapa1,
.etapa2,
.etapa3 {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.etapa1 div:first-child {
  color: #3b82f6;
  font-weight: 600;
  text-align: center;
}

.etapa2 div:first-child {
  color: #10b981;
  font-weight: 600;
  text-align: center;
}

.etapa3 div:first-child {
  color: #8b5cf6;
  font-weight: 600;
  text-align: center;
}

.etapa1:nth-child(even) {
  background: #f9fafc;
}

.etapa2:nth-child(even) {
  background: #f7f9fb;
}

.etapa3:nth-child(even) {
  background: #f4f1ff;
}

/* Responsividade */

/* Até 1200px → 2 colunas */
@media (max-width: 1200px) {
  .cronograma-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Até 768px → 1 coluna centralizada com limite de largura */
@media (max-width: 768px) {
  .cronograma-wrapper {
    grid-template-columns: 1fr;
    max-width: 95%;
    margin: 0 auto;
    padding-bottom: 2rem;
    /* <-- espaço no final da página */
  }

  .cronograma-table {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Etapas empilhadas */
  .etapa1,
  .etapa2,
  .etapa3 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Datas alinhadas à esquerda, sem espaço */
  .etapa1 div:first-child,
  .etapa2 div:first-child,
  .etapa3 div:first-child {
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }

  /* Conteúdo restante centralizado */
  .etapa1 div:not(:first-child),
  .etapa2 div:not(:first-child),
  .etapa3 div:not(:first-child) {
    text-align: center;
    margin: 0;
    padding: 0;
  }
}



/* Regras Section - Vermelho profissional */
.regras-section {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 50%, #fca5a5 100%);
  position: relative;
  padding: 5rem 0;
}

.regras-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 25%, rgba(229, 36, 59, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(197, 25, 45, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Premiação Section - Dourado elegante */
.premiacao-section {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fcd34d 100%);
  position: relative;
  padding: 5rem 0;
}

.premiacao-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 35%, rgba(252, 211, 77, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.premios-showcase {
  margin-top: 3rem;
}

.premios-showcase>div {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.premios-showcase>div:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.premio-icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.premio-icon-container:hover {
  transform: scale(1.1) rotate(10deg);
}

/* =======================================================
   FOOTER STYLES - FIXED AND IMPROVED
   ======================================================= */

.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 60px 0 20px;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Brand Column */
.footer-brand {
  align-items: flex-start;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-info {
  width: 100%;
}

.footer-address h4 {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-address p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact:hover {
  color: #3b82f6;
}

.footer-contact i {
  color: #3b82f6;
  font-size: 1.1rem;
}

/* Column Headers */
.footer-column h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 1px;
}

/* Navigation and Links */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-column a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: white;
  padding-left: 15px;
}

.footer-column a:hover::before {
  width: 10px;
}

/* Social Media Section */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link i {
  font-size: 1.3rem;
  color: white;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.2);
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.whatsapp {
  background: #25d366;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-email i {
  color: #3b82f6;
}

.footer-email a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: #3b82f6;
}

/* ODS Section */
.footer-ods {
  border-top: 1px solid #334155;
  padding-top: 30px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.ods-text p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.ods-text a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.ods-text a:hover {
  color: #60a5fa;
}

.ods-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.ods-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ods-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.ods-icon:hover::before {
  transform: scale(1);
}

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

/* ODS Colors */
.ods-icon[data-ods="1"] {
  background: #E5243B;
}

.ods-icon[data-ods="2"] {
  background: #DDA63A;
}

.ods-icon[data-ods="3"] {
  background: #4C9F38;
}

.ods-icon[data-ods="4"] {
  background: #C5192D;
}

.ods-icon[data-ods="5"] {
  background: #FF3A21;
}

.ods-icon[data-ods="6"] {
  background: #26BDE2;
}

.ods-icon[data-ods="7"] {
  background: #FCC30B;
}

.ods-icon[data-ods="8"] {
  background: #A21942;
}

.ods-icon[data-ods="9"] {
  background: #FD6925;
}

.ods-icon[data-ods="10"] {
  background: #DD1367;
}

.ods-icon[data-ods="11"] {
  background: #FD9D24;
}

.ods-icon[data-ods="12"] {
  background: #BF8B2E;
}

.ods-icon[data-ods="13"] {
  background: #3F7E44;
}

.ods-icon[data-ods="14"] {
  background: #0A97D9;
}

.ods-icon[data-ods="15"] {
  background: #56C02B;
}

.ods-icon[data-ods="16"] {
  background: #00689D;
}

.ods-icon[data-ods="17"] {
  background: #19486A;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-copy p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo {
    height: 70px;
    margin: 0 auto 20px;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column a::before {
    display: none;
  }

  .footer-column a:hover {
    padding-left: 0;
  }

  .social-links {
    justify-content: center;
  }

  .footer-contact,
  .footer-email {
    justify-content: center;
  }

  .ods-icons {
    gap: 6px;
  }

  .ods-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-logo {
    height: 60px;
  }

  .ods-icons {
    gap: 4px;
  }

  .ods-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link i {
    font-size: 1.1rem;
  }
}

.ods-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ods-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Responsive Design */
@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1002;
  }

  #mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    padding: 2rem 1.5rem;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    transform: translateX(100%);
  }

  #mobile-menu.show {
    display: block;
    transform: translateX(0);
  }

  #nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
  }

  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  #mobile-menu .nav-link {
    font-size: 1.2rem;
    color: #19486A;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.3s;
  }

  #mobile-menu .nav-link.active,
  #mobile-menu .nav-link:hover {
    color: #26BDE2;
  }

  #mobile-menu-close {
    background: none;
    border: none;
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2rem;
    color: #19486A;
    cursor: pointer;
    z-index: 1003;
  }

  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
      url('/assets/img/Assaí.jpg') center center/cover no-repeat;
  }

  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(229, 36, 59, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(38, 189, 226, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(76, 159, 56, 0.05) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
  }

  .hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 90vh;
  }

  .hero-text {
    flex: 1 1 350px;
    min-width: 320px;
    margin-top: 50px;
    animation: fadeInLeft 1s ease 0.2s both;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  .hero-edition {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 0.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-countdown {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-number {
    font-size: 1.1rem;
  }

  .hero-scroll {
    bottom: 1rem;
  }

  .sobre-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
  }

  .sobre-card,
  .sobre-visual {
    padding: 1.2rem !important;
    border-radius: 16px !important;
    min-width: 0 !important;
  }

  .ods-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .jornadas-simplified {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }

  .jornada-main-card {
    padding: 1rem !important;
    border-radius: 16px !important;
    min-width: 0 !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .footer-logo {
    height: 40px !important;
  }

  .footer-column h4 {
    font-size: 1rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding-top: 1rem !important;
  }

  .premios-showcase>div {
    padding: 1.2rem !important;
    border-radius: 16px !important;
    min-width: 0 !important;
  }

  .premio-icon-container {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
  }

  .btn {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 0.7rem 1rem !important;
  }

  .section {
    padding: 2rem 0 !important;
  }

  .section-title {
    font-size: 1.2rem !important;
  }

  .section-header {
    margin-bottom: 1rem !important;
  }

  .ods-stripe {
    height: 5px !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 4px !important;
    max-width: 100vw !important;
  }

  .hero-title {
    font-size: 1.4rem !important;
  }

  .hero-edition {
    font-size: 1rem !important;
  }

  .hero-countdown {
    padding: 0.7rem !important;
    font-size: 0.9rem !important;
  }

  .section {
    padding: 1.2rem 0 !important;
  }

  .section-title {
    font-size: 1rem !important;
  }

  .ods-stripe {
    height: 3px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 2px !important;
    max-width: 100vw !important;
  }

  .section {
    padding: 1rem 0 !important;
  }

  .hero-title {
    font-size: 1rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.7rem !important;
  }

  .ods-icons {
    justify-content: center !important;
    gap: 0.2rem !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-card {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }
}

button:focus,
input:focus,
select:focus,
a:focus {
  outline: 2px solid #e5243b;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .btn-secondary {
    border-color: white;
  }
}

/* Print styles */
@media print {

  .header,
  .hero-scroll,
  .nav-toggle,
  .toast,
  .modal {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

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

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

.section-header a {
  color: #0080ff;
  text-decoration: underline;
  transition: color 0.3s ease;
}


.section-header a:hover {
  color: purple;
}

body {
  overflow-x: auto;
  overflow-y: auto;
}


@keyframes mascote-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(25px, -25px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

@keyframes button-press {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 30px rgba(38, 189, 226, 0.35);
  }

  50% {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(38, 189, 226, 0.45);
  }
}

@media (max-width: 991px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem !important;
  }

  .hero-subtitle {
    font-size: 1.15rem !important;
  }

  .hero-visual img {
    max-width: 80%;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text .badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text div:nth-of-type(2) {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center countdown */
  .hero-text>div:last-child {
    justify-content: center;
  }

  /* Center buttons */
}

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

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

  #countdown div {
    min-width: 60px;
    padding: 0.5rem 0.2rem;
  }

  #countdown span {
    font-size: 1.8rem !important;
  }

  .hero-text>div:last-child a {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

.ods-carousel-wrapper {
  width: 100vw;
  overflow: hidden;
  background: transparent;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

.ods-carousel {
  display: flex;
  width: max-content;
  animation: ods-carousel-move 30s linear infinite;
  align-items: center;
  z-index: 1;
}

.ods-carousel img {
  height: 12000px;
  margin: 0;
  padding: 0;
  user-select: none;
  pointer-events: none;
  object-fit: contain;
}

@keyframes ods-carousel-move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .ods-carousel img {
    height: 48px;
    max-height: 48px;
    min-width: unset;
    width: auto;
  }
}

/* Wrapper do conteúdo central */
.regras-main-content {
  display: flex;
  /* ESQUECIDO no seu CSS */
  flex-direction: row;
  /* duas colunas */
  align-items: center;
  /* centraliza verticalmente em relação ao mascote */
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Mascote */
.regras-mascote img.mascote-lupa {
  width: 290px;
  height: auto;
  display: block;
}

/* Conteúdo à direita */
.regras-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centraliza verticalmente em relação ao mascote */
  align-items: center;
  /* conteúdo alinhado à esquerda */
  max-width: 600px;
}

/* Badge */
.regras-badge {
  background: #A2194220;
  color: black;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Título e descrição */
.regras-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.regras-description {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Botão */
.regras-btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-regras {
  padding: 0.9rem 2.2rem;
  font-size: 1.15rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #26BDE2 0%, #19486A 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(38, 189, 226, 0.12);
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s;
}

/* Responsividade mobile */
@media (max-width: 768px) {
  .regras-mascote img.mascote-lupa {
    display: none;
  }

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

  .section-description {
    font-size: 1.2rem;
  }
}

/* Header Section */
.header-section {
  padding: 2rem 1rem;
  text-align: center;
}

.content-wrapper {
  max-width: 2280px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

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

.main-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(to right, #2563eb, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.description {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Awards Section */
.awards-section {
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.awards-container {
  border-radius: 1rem;
  padding: 3rem;
}

.awards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .awards-grid {
    gap: 4rem;
  }
}

.award-item {
  text-align: center;
  flex-shrink: 0;
  min-width: 140px;
  transition: transform 0.2s ease;
}

.award-item:hover {
  transform: scale(1.05);
}

.icon-container {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
  stroke-width: 2;
}

.award-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.award-description {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.prize-amount {
  font-size: 1.875rem;
  font-weight: 700;
}

/* Gradient Classes */
.blue-gradient {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.blue-gradient-text {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.purple-gradient {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
}

.purple-gradient-text {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.green-gradient {
  background: linear-gradient(to right, #10b981, #059669);
}

.green-gradient-text {
  background: linear-gradient(to right, #10b981, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.orange-gradient {
  background: linear-gradient(to right, #f97316, #ef4444);
}

.orange-gradient-text {
  background: linear-gradient(to right, #f97316, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.indigo-gradient {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
}

.indigo-gradient-text {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.yellow-gradient {
  background: linear-gradient(to right, #eab308, #f97316);
}

.yellow-gradient-text {
  background: linear-gradient(to right, #eab308, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }

  .awards-container {
    padding: 2rem;
  }

  .awards-grid {
    gap: 2rem;
  }
}



/* MELHORIAS MOBILE */
@media (max-width: 700px) {

  body,
  html {
    font-size: 17px;
  }

  .hero-content {
    padding: 1.2rem 0.3rem 3rem 0.3rem; /* Extra bottom padding for buttons */
    min-height: 100vh; /* Ensure full height */
    max-height: none; /* Remove height constraint */
    justify-content: flex-start; /* Change from center to start */
    padding-top: clamp(2rem, 8vh, 6rem); /* Add top padding */
  }

  .hero-logo {
    max-width: 92vw;
    width: 100%;
  }

  /* Títulos e textos menores para melhor leitura em mobile */
  .hero .title {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
  }

  .hero .subtitle {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .cta,
  .btn-primary,
  .btn-secondary {
    font-size: 1rem;
    padding: 1.1rem 1.2rem;
    min-width: 90vw;
    width: 100%;
    margin: 0.7rem 0;
    border-radius: 16px;
  }

  .cta-mobile-fixed .cta {
    font-size: 1.13rem;
    padding: 1.2rem 2.2rem;
  }

  .section {
    padding: 2.2rem 0 1.5rem 0;
  }

  .container {
    padding: 0 0.2rem;
  }

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

  .section-description {
    font-size: 1.01rem;
  }

  .sobre-content {
    gap: 1.1rem;
    margin-top: 1.2rem;
  }

  .sobre-card {
    padding: 1.1rem !important;
    border-radius: 16px !important;
  }

  .sobre-item {
    flex-direction: column;
    gap: 0.7rem !important;
    align-items: flex-start !important;
  }

  .sobre-item h3 {
    font-size: 1.1rem !important;
  }

  .sobre-item p {
    font-size: 0.98rem !important;
  }

  .bichinho img {
    width: 120px !important;
  }

  .regras-mascote img {
    display: none;
    width: 90px !important;
  }

  .cronograma-table>div,
  .cronograma-row>div {
    font-size: 0.93rem !important;
    padding: 0.2rem 0.1rem !important;
  }

  .awards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  .award-item {
    padding: 1.1rem 0.5rem !important;
    border-radius: 14px !important;
  }

  .main-title {
    font-size: 1.2rem !important;
  }

  .prize-amount {
    font-size: 1.05rem !important;
  }

  .ods-image {
    width: 54px !important;
    height: 54px !important;
  }

  .ods-carousel-section {
    padding: 0;
  }

  .timeline-navigation {
    margin-top: 1.2rem !important;
  }

  .footer {
    font-size: 0.98rem;
  }

  /* Ajustes específicos da seção Sobre */
  .main-title-sobre {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }

  .main-description-sobre {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

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

/* Acessibilidade: foco visível */
a:focus,
button:focus,
.cta:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 3px solid #26BDE2;
  outline-offset: 2px;
}

/* Imagens responsivas */
img,
svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-padding-top: 70px;
  /* Para ancoragem de links internos */
}

#header {
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
  /* Valor alto para garantir que fique acima de tudo */
  background: #fff !important;
  min-height: 60px !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease, background 0.3s ease;
}

/* Classe aplicada quando o usuário rola para baixo */
#header.header-hidden {
  transform: translateY(-70px);
}

/* Classe aplicada quando o usuário rolou a página */
#header.header-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 900px) {
  #header.header-shadow {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
  }
}

/* Garante que o header está sempre visível quando hover */
#header:hover {
  transform: translateY(0) !important;
}

/* Menu hamburger para mobile */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: #19486A;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: fixed !important;
  right: 16px !important;
  top: 16px !important;
  z-index: 2000 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, top 0.3s ease;
}

/* Overlay para quando o menu mobile está ativo */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1800;
  opacity: 0;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(0px);
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
  backdrop-filter: blur(5px);
}

@media (max-width: 900px) {

  /* Header transparente para mobile */
  #header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed !important;
    top: 0 !important;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  /* Header visível quando rolado para baixo */
  #header.scrolled {
    background: rgba(25, 72, 106, 0.9) !important;
    backdrop-filter: blur(5px);
  }

  /* Remover comportamento de esconder para mobile */
  #header.header-hidden {
    transform: translateY(0) !important;
  }

  .hamburger-menu {
    display: flex !important;
    background: rgba(25, 72, 106, 0.9) !important;
    /* Azul semi-transparente */
    backdrop-filter: blur(5px);
  }

  /* Menu lateral fixo que segue a rolagem */
  #header .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: -280px !important;
    /* Começa fora da tela */
    height: 100vh !important;
    width: 280px !important;
    background: #19486A !important;
    z-index: 9998 !important;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto;
    /* Permite rolagem dentro do menu */
  }

  #header .nav-menu.active {
    left: 0 !important;
    /* Move para dentro da tela quando ativo */
  }



  /* Efeito de blur no conteúdo principal quando o menu está aberto */
  .hero-content.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
  }
}

/* Estilos específicos para mobile */

@media (max-width: 900px) {

  /* Header transparente para mobile */
  #header {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Botão hamburger estilizado para melhor visibilidade e fixo durante rolagem */
  .hamburger-menu {
    background: rgba(25, 72, 106, 0.9) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 2100 !important;
  }

  /* Barras do botão hamburger com sombra para melhor contraste */
  .hamburger-menu .bar {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  /* Sombra no header quando há scroll */
  #header.header-shadow {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
  }
}

/* Estilos para navegação fixa e menu lateral que seguem o usuário */

/* Garante que o menu hamburger fica visível durante a rolagem */
.hamburger-menu {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 2100 !important;
  transition: transform 0.3s ease;
}

/* Efeito de flutuação para o botão hamburger ao rolar */
.hamburger-menu.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
}

/* Menu lateral segue o usuário durante a rolagem */
#header .nav-menu {
  height: 100vh !important;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(25, 72, 106, 0.9);
  padding-bottom: 100px !important;
}

/* Estilo para a scrollbar do menu lateral */
#header .nav-menu::-webkit-scrollbar {
  width: 5px;
}

#header .nav-menu::-webkit-scrollbar-track {
  background: rgba(25, 72, 106, 0.9);
}

#header .nav-menu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

/* Efeito de translado suave durante rolagem */
.nav-scrolled {
  transform: translateY(0) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Ajuste para dispositivos móveis em paisagem */
@media (max-height: 600px) and (orientation: landscape) {
  #header .nav-menu {
    padding-bottom: 80px;
  }
}

/* Seção Inscricao */
.cta-section {
  background: linear-gradient(135deg, #26BDE2, #19486A);
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1), transparent 60%);
  animation: float 8s ease-in-out infinite;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  animation: pulse 2s infinite;
}

/*Seção Sobre*/
/*Seção Sobre*/
.container-sobre {
  font-size: 1.2rem;
}

.content-wrapper-sobre {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Section */
.header-sobre {
  padding: 3rem 0 5rem;
  text-align: center;
}

.main-title-sobre {
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  text-align: center;
  color: #111827;
  /* Using responsive typography system - h1 sizing */
  font-size: 2rem;
  /* Mobile: 32px */
}

/* Tablet sizing for sobre title */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-title-sobre {
    font-size: 2rem;
    /* Reduzido de 2.5rem para 2rem */
  }
}

/* Desktop Pequeno sizing for sobre title */
@media (min-width: 1025px) and (max-width: 1440px) {
  .main-title-sobre {
    font-size: 2rem;
    /* Reduzido de 3rem para 2rem */
  }
}

/* Desktop Grande sizing for sobre title */
@media (min-width: 1441px) {
  .main-title-sobre {
    font-size: 2.5rem;
    /* Reduzido de 3rem para 2.5rem */
  }
}

.main-description-sobre {
  line-height: 1.8;
  color: #374151;
  max-width: 64rem;
  margin: 0 auto;
  text-wrap: pretty;
  text-align: center;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
}

/* Tablet sizing for sobre description */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-description-sobre {
    font-size: 0.9rem;
    /* Reduzido de 1rem para 0.9rem */
  }
}

/* Desktop Pequeno sizing for sobre description */
@media (min-width: 1025px) and (max-width: 1440px) {
  .main-description-sobre {
    font-size: 0.9rem;
    /* Reduzido de 1.125rem para 0.9rem */
  }
}

/* Desktop Grande sizing for sobre description */
@media (min-width: 1441px) {
  .main-description-sobre {
    font-size: 1rem;
    /* Reduzido de 1.125rem para 1rem */
  }
}

/* Badge Styles */
.badge-sobre {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  /* mais respiro */
  border-radius: 0.75rem;
  font-size: 1rem;
  /* maior */
  font-weight: 700;
  /* mais forte */
  margin-bottom: 1.5rem;
  border: 1px solid;
  text-align: center;
  justify-content: center;
}

.badge-sobre2 {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid;
  text-align: center;
  margin-left: 500px;
  /* só desktop */
}

@media (max-width: 768px) {
  .badge-sobre2 {
    margin-left: auto;
    margin-right: auto;
    /* centraliza no mobile */
    display: block;
  }
}

.badge-blue-sobre2 {
  background-color: #3b82f6;
  color: white;
  border-color: #60a5fa;
  text-align: center;
}

.badge-blue-sobre {
  background-color: #3b82f6;
  color: white;
  border-color: #60a5fa;
  text-align: center;
}

.badge-green-sobre {
  background-color: #10b981;
  color: white;
  border-color: #34d399;
}

.badge-purple-sobre {
  background-color: #8b5cf6;
  color: white;
  border-color: #a78bfa;
}

.badge-orange-sobre {
  background-color: #f59e0b;
  color: white;
  border-color: #fbbf24;
}

/* Text Colors */
.text-blue-sobre {
  color: #2563eb;
  font-weight: 800;
  /* destaque */
}

.text-green-sobre {
  color: #059669;
  font-weight: 800;
}

.text-purple-sobre {
  color: #7c3aed;
  font-weight: 800;
}

.text-orange-sobre {
  color: #d97706;
  font-weight: 800;
}

/* Cards Section */
.cards-section-sobre {
  padding: 0;
  margin: 0;
}

.cards-grid-sobre {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.card-sobre {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  /* mais arredondado */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  /* sombra mais forte */
  overflow: hidden;
  padding: 2rem;
  /* mais respiro */
  font-size: 1.2rem;
  /* texto maior */
  color: #374151;
  line-height: 1.6;
  margin: 1rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sobre-2 {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  /* mais arredondado */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  /* sombra mais forte */
  overflow: hidden;
  padding: 2rem;
  /* mais respiro */
  font-size: 1.2rem;
  /* texto maior */
  color: #374151;
  line-height: 1.6;
  margin: 1rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sobre:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.card-sobre2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.card-header-sobre {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
}

.card-content-sobre {
  padding: 0 1.5rem 1.5rem;
}

.icon-container-sobre {
  width: 4rem;
  /* maior */
  height: 4rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-orange-sobre {
  background-color: #fed7aa;
  color: #ea580c;
}

.icon-green-sobre {
  background-color: #bbf7d0;
  color: #059669;
}

.icon-sobre {
  width: 2rem;
  /* maior */
  height: 2rem;
}

.card-title-sobre {
  font-size: 2rem;
  /* maior */
  font-weight: 800;
  /* destaque */
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  color: #1f2937;
}

/* Tablet sizing for card title */
@media (min-width: 769px) and (max-width: 1024px) {
  .card-title-sobre {
    font-size: 1.5rem;
    /* Reduzido de 2rem para 1.5rem */
  }
}

/* Desktop Pequeno sizing for card title */
@media (min-width: 1025px) and (max-width: 1440px) {
  .card-title-sobre {
    font-size: 1.5rem;
    /* Reduzido de 2rem para 1.5rem */
  }
}

/* Desktop Grande sizing for card title */
@media (min-width: 1441px) {
  .card-title-sobre {
    font-size: 1.75rem;
    /* Reduzido de 2rem para 1.75rem */
  }
}

.card-description-sobre {
  font-size: 1.25rem;
  /* maior */
  line-height: 1.8;
  color: #374151;
}

/* Tablet sizing for card description */
@media (min-width: 769px) and (max-width: 1024px) {
  .card-description-sobre {
    font-size: 1rem;
    /* Reduzido de 1.25rem para 1rem */
  }
}

/* Desktop Pequeno sizing for card description */
@media (min-width: 1025px) and (max-width: 1440px) {
  .card-description-sobre {
    font-size: 1rem;
    /* Reduzido de 1.25rem para 1rem */
  }
}

/* Desktop Grande sizing for card description */
@media (min-width: 1441px) {
  .card-description-sobre {
    font-size: 1.1rem;
    /* Reduzido de 1.25rem para 1.1rem */
  }
}

.challenges-list-sobre {
  display: grid;
  gap: 0.75rem;
  font-size: 1.2rem;
  /* maior */
  /* destaque */
  color: #1f2937;
  margin-top: 1rem;
}

/* Tablet sizing for challenges list */
@media (min-width: 769px) and (max-width: 1024px) {
  .challenges-list-sobre {
    font-size: 1rem;
    /* Reduzido de 1.2rem para 1rem */
  }
}

/* Desktop Pequeno sizing for challenges list */
@media (min-width: 1025px) and (max-width: 1440px) {
  .challenges-list-sobre {
    font-size: 1rem;
    /* Reduzido de 1.2rem para 1rem */
  }
}

/* Desktop Grande sizing for challenges list */
@media (min-width: 1441px) {
  .challenges-list-sobre {
    font-size: 1.1rem;
    /* Reduzido de 1.2rem para 1.1rem */
  }
}

/* Timeline Section */
.timeline-section-sobre {
  padding: 3rem 0;
}

.timeline-header-sobre {
  margin-bottom: 3rem;
}

.section-title-sobre {
  font-size: 2.8rem;
  /* maior */
  font-weight: 900;
  /* bem forte */
  margin-bottom: 1rem;
  text-align: center;
  color: #111827;
}

/* Tablet sizing for section title */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-title-sobre {
    font-size: 2rem;
    /* Reduzido de 2.8rem para 2rem */
  }
}

/* Desktop Pequeno sizing for section title */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section-title-sobre {
    font-size: 2rem;
    /* Reduzido de 2.8rem para 2rem */
  }
}

/* Desktop Grande sizing for section title */
@media (min-width: 1441px) {
  .section-title-sobre {
    font-size: 2.3rem;
    /* Reduzido de 2.8rem para 2.3rem */
  }
}

.section-title.center-sobre {
  text-align: center;
}

.timeline-sobre {
  display: grid;
  gap: 2rem;
}

.timeline-item-sobre {
  display: grid;
  gap: 1.5rem;
}

.phase-info-sobre {
  display: flex;
  flex-direction: column;
}

.phase-title-sobre {
  font-size: 1.5rem;
  font-weight: 700;
  /* destaque */
  margin-bottom: 0.5rem;
}

/* Tablet sizing for phase title */
@media (min-width: 769px) and (max-width: 1024px) {
  .phase-title-sobre {
    font-size: 1.25rem;
    /* Reduzido de 1.5rem para 1.25rem */
  }
}

/* Desktop Pequeno sizing for phase title */
@media (min-width: 1025px) and (max-width: 1440px) {
  .phase-title-sobre {
    font-size: 1.25rem;
    /* Reduzido de 1.5rem para 1.25rem */
  }
}

/* Desktop Grande sizing for phase title */
@media (min-width: 1441px) {
  .phase-title-sobre {
    font-size: 1.4rem;
    /* Reduzido de 1.5rem para 1.4rem */
  }
}

.phase-description-sobre {
  color: #374151;
  font-size: 1rem;
  /* mais visível */
}

/* Tablet sizing for phase description */
@media (min-width: 769px) and (max-width: 1024px) {
  .phase-description-sobre {
    font-size: 0.9rem;
    /* Reduzido de 1rem para 0.9rem */
  }
}

/* Desktop Pequeno sizing for phase description */
@media (min-width: 1025px) and (max-width: 1440px) {
  .phase-description-sobre {
    font-size: 0.9rem;
    /* Reduzido de 1rem para 0.9rem */
  }
}

/* Desktop Grande sizing for phase description */
@media (min-width: 1441px) {
  .phase-description-sobre {
    font-size: 0.95rem;
    /* Reduzido de 1rem para 0.95rem */
  }
}

.phase-content-sobre {
  width: 100%;
}

.phase-details-sobre {
  display: grid;
  gap: 0.75rem;
  font-size: 1rem;
  color: #374151;
  margin-top: 0.8rem;
}

.warning-sobre {
  color: #f59e0b;
}

.info-sobre {
  color: #2563eb;
}

/* Special Challenges */
.special-challenges-sobre {
  padding: 3rem 0;
  background-color: #eff6ff;
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-title-sobre {
    font-size: 3.5rem;
    /* maior em telas médias */
  }

  .main-description-sobre {
    font-size: 1.5rem;
  }

  .cards-grid-sobre {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item-sobre {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .section-title-sobre {
    font-size: 3rem;
  }

  .header-section-sobre {
    padding: 5rem 0;
  }
}

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

/* ===== FULLSCREEN + TIPOGRAFIA ===== */
html,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  min-height: 100%;
  font-size: 16px;
}

/* Utilitário para Space Grotesk */
.font-space-grotesk,
.section-title,
.main-title,
.award-title {
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  letter-spacing: 0.01em;
}

:root {
  --gold: #FFD766;
  --gold-soft: #FFEFAE;
  --cta1: #FFC445;
  --cta2: #FF8C3D;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.hero {
  position: relative;
  width: 100%;
  /* Ensure full viewport height on all devices */
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  /* Remove max-height to allow full viewport usage */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
  /* Prevent hero from shrinking */
}

/* Ensure sections after hero don't have margin issues */
.hero+section {
  margin-top: 0;
}

/* Page wrapper adjustments */
.page-wrapper {
  flex: 1 0 auto;
}

/* Footer should stick to bottom */
footer,
footer.footer,
footer[role="contentinfo"] {
  flex-shrink: 0;
}

/* ===== FUNDO: FOTO + GRADIENTE ODS + BLUR + SCRIM ===== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* evita extrapolar a área e causar scroll extra */
  z-index: -3;
  background: url('') center/cover no-repeat;
  filter: blur(8px) brightness(.82) saturate(1.08) contrast(1.08);
  opacity: .9;
  clip-path: inset(0);
  /* força recorte mesmo com blur */
}

@keyframes odsFlow {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #0E324F, #10A9D1, #2AA34C, #FFC53A, #C2302B, #0E324F);
  background-size: 230% 230%;
  animation: odsFlow 18s ease-in-out infinite;
  mix-blend-mode: multiply;
  opacity: .95;
  clip-path: inset(0);
}

.scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(1100px 600px at 50% -10%, rgba(255, 255, 255, .14), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .45) 70%, rgba(0, 0, 0, .38) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  color: #fff;
  max-width: 980px;
  padding: clamp(1rem, 2vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  /* Ensure content is properly centered and constrained */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Prevent content from overflowing viewport - with safe margins */
  max-height: none; /* Remove height constraints that might hide buttons */
  min-height: 80vh;
  overflow: visible;
  /* Ensure content doesn't get cut off */
  margin: auto;
  /* Ensure there's always space for buttons at bottom */
  padding-bottom: clamp(2rem, 5vh, 4rem);
  box-sizing: border-box;
}

/* ===== LOGO COM SISTEMA ADAPTATIVO ===== */
.hero-logo {
  /* Sistema adaptativo: logo menor = mais espaço para botões */
  width: clamp(120px, 20vw, 380px); /* Reduzido de 32vw para 20vw */
  display: block;
  margin: 0.5rem auto 1rem; /* Margens reduzidas */
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .45));
  animation: logoFloat 6s ease-in-out infinite;
  /* Ensure logo is never cut off */
  flex-shrink: 0;
  max-width: 70vw; /* Reduzido de 88vw para 70vw */
  height: auto;
  object-fit: contain;
  /* Better rendering on mobile */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Progressivamente menor em telas menores */
@media (max-width: 768px) {
  .hero-logo {
    width: clamp(100px, 18vw, 280px);
    margin: 0.3rem auto 0.8rem;
    max-width: 60vw;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: clamp(80px, 15vw, 220px);
    margin: 0.2rem auto 0.6rem;
    max-width: 50vw;
  }
}

/* Para zoom extremo ou altura muito pequena */
@media (max-height: 600px) {
  .hero-logo {
    width: clamp(60px, 12vw, 180px) !important;
    margin: 0.1rem auto 0.4rem !important;
    max-width: 40vw !important;
  }
}

@media (max-height: 400px) {
  .hero-logo {
    width: clamp(50px, 10vw, 120px) !important;
    margin: 0.1rem auto 0.2rem !important;
    max-width: 30vw !important;
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-logo {
    animation: none
  }
}

/* ===== TEXTO ===== */
.kicker {
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: .4rem;
  /* Using responsive typography system - small text */
  font-size: 0.75rem;
  /* Mobile: 12px */
}

/* Tablet sizing for kicker */
@media (min-width: 769px) and (max-width: 1024px) {
  .kicker {
    font-size: 0.875rem;
    /* Tablet: 14px */
  }
}

/* Desktop Pequeno sizing for kicker */
@media (min-width: 1025px) and (max-width: 1440px) {
  .kicker {
    font-size: 0.875rem;
    /* Desktop Pequeno: 14px */
  }
}

/* Desktop Grande sizing for kicker */
@media (min-width: 1441px) {
  .kicker {
    font-size: 1rem;
    /* Desktop Grande: 16px */
  }
}

.title {
  font-weight: 900;
  line-height: 1.1;
  margin: .1rem 0 .4rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  /* Adaptive title sizing that gets smaller at higher zoom levels */
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.subtitle {
  line-height: 1.65;
  max-width: 760px;
  margin: .4rem auto 1.2rem;
  color: #fff;
  text-wrap: balance;
  /* Adaptive subtitle sizing for space optimization */
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

/* Tablet sizing for hero */
@media (min-width: 769px) and (max-width: 1024px) {
  .title {
    font-size: 2.5rem;
    /* Tablet: 40px */
  }

  .subtitle {
    font-size: 1rem;
    /* Tablet: 16px */
  }
}

/* Desktop Pequeno sizing for hero */
@media (min-width: 1025px) and (max-width: 1440px) {
  .title {
    font-size: 2.5rem;
    /* Desktop Pequeno: 40px */
  }

  .subtitle {
    font-size: 1rem;
    /* Desktop Pequeno: 16px */
  }
}

/* Desktop Grande sizing for hero */
@media (min-width: 1441px) {
  .title {
    font-size: 3rem;
    /* Desktop Grande: 48px */
  }

  .subtitle {
    font-size: 1.125rem;
    /* Desktop Grande: 18px */
  }
}

.assai {
  font-weight: 900;
  letter-spacing: .02em;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4), 0 0 12px rgba(255, 215, 102, .55);
  padding: .08rem .15rem;
  border-radius: .4rem;
}

.assai::before {
  content: "";
  position: absolute;
  inset: -.18rem -.25rem;
  z-index: -1;
  border-radius: .5rem;
  background: linear-gradient(90deg, rgba(255, 215, 102, .32), rgba(255, 215, 102, .16));
  box-shadow: 0 0 18px rgba(255, 215, 102, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
}

/* ===== CTA ===== */
.cta {
  display: inline-block;
  margin: 1.5rem 0 1rem 0;
  padding: 1rem 2.4rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  color: #2b1700;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  box-shadow: 0 14px 32px rgba(255, 148, 72, .42);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .22s, box-shadow .22s, filter .22s;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
  /* Ensure CTA is never cut off */
  flex-shrink: 0;
}

/* Tablet sizing for CTA */
@media (min-width: 769px) and (max-width: 1024px) {
  .cta {
    font-size: 1rem;
    /* Tablet: 16px */
    padding: 1.1rem 2.6rem;
  }
}

/* Desktop Pequeno sizing for CTA */
@media (min-width: 1025px) and (max-width: 1440px) {
  .cta {
    font-size: 1rem;
    /* Desktop Pequeno: 16px */
    padding: 1.1rem 2.6rem;
  }
}

/* Desktop Grande sizing for CTA */
@media (min-width: 1441px) {
  .cta {
    font-size: 1.125rem;
    /* Desktop Grande: 18px */
    padding: 1.2rem 2.8rem;
  }
}

/* Specific fixes for common desktop resolutions */
@media (min-width: 1025px) and (max-height: 768px) {

  /* 1366x768, 1280x768 and similar resolutions */
  .hero-content {
    max-height: none; /* Remove height constraint */
    min-height: 75vh;
    padding: 1.5rem 1rem clamp(2rem, 5vh, 3rem) 1rem !important; /* Ensure bottom padding */
    justify-content: space-evenly;
  }

  .hero-logo {
    width: clamp(280px, 28vw, 380px) !important;
    margin: 0.5rem auto 1rem !important;
  }

  .title {
    font-size: clamp(2rem, 3.2vw, 2.5rem) !important;
    margin: 0.5rem 0 0.8rem !important;
    line-height: 1.1 !important;
  }

  .subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem) !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
  }

  .cta {
    font-size: 0.9rem !important;
    padding: 0.9rem 2.2rem !important;
    margin: 1rem 0 0.5rem 0 !important;
  }
}

@media (min-width: 1025px) and (max-height: 900px) {

  /* 1440x900, 1600x900 and similar resolutions */
  .hero-content {
    max-height: 88vh;
    min-height: 80vh;
    padding: 2rem 1.2rem !important;
    justify-content: space-evenly;
  }

  .hero-logo {
    margin: 1rem auto 1.2rem !important;
  }

  .title {
    font-size: clamp(2.2rem, 3.8vw, 2.5rem) !important;
    margin: 0.8rem 0 1rem !important;
  }

  .subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1rem) !important;
    margin-bottom: 1.2rem !important;
  }

  .cta {
    margin: 1.2rem 0 1rem 0 !important;
  }
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 148, 72, .5);
  filter: saturate(1.05)
}

/* =======================================================
   HERO RESPONSIVE STYLES - FIX VIEWPORT ISSUES
   ======================================================= */

/* Tablet and smaller laptops */
@media (max-width: 1024px) {
  .hero {
    /* Maintain full viewport height */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-logo {
    width: clamp(220px, 32vw, 380px);
    max-width: 85vw;
  }

  .title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .subtitle {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
  }
}

/* Mobile landscape and portrait */
@media (max-width: 768px) {
  .hero {
    /* Ensure full viewport height on mobile */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-content {
    padding: 0.8rem 1rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-logo {
    width: clamp(160px, 50vw, 260px);
    margin: 0.4rem auto 0.6rem;
    max-width: 85vw;
    height: auto;
    object-fit: contain;
  }

  .kicker {
    font-size: 0.8rem;
  }

  .title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    margin: 0.2rem 0 0.6rem;
  }

  .subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin: 0.6rem auto 1rem;
    max-width: 90%;
  }

  .cta {
    font-size: 0.95rem;
    padding: 0.9rem 2rem;
    margin-top: 0.8rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero {
    /* Maintain full viewport height even on small devices */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-content {
    padding: 0.5rem 0.8rem;
  }

  .hero-logo {
    width: clamp(140px, 55vw, 220px);
    margin: 0.3rem auto 0.5rem;
    max-width: 82vw;
    object-fit: contain;
  }

  .title {
    font-size: clamp(1.4rem, 9vw, 1.9rem);
  }

  .subtitle {
    font-size: clamp(0.85rem, 4vw, 1rem);
    max-width: 95%;
  }

  .cta {
    font-size: 0.9rem;
    padding: 0.8rem 1.8rem;
  }
}

/* Very small devices and orientation handling */
@media (max-width: 360px),
(max-height: 400px) {
  .hero {
    /* Still maintain full viewport, but adjust content for very small screens */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-content {
    padding: 0.3rem 0.5rem;
  }

  .hero-logo {
    width: clamp(100px, 60vw, 160px);
    margin: 0.2rem auto 0.3rem;
    max-width: 78vw;
    height: auto;
    object-fit: contain;
  }

  .kicker {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .title {
    font-size: clamp(1.2rem, 10vw, 1.6rem);
    margin: 0.1rem 0 0.4rem;
  }

  .subtitle {
    font-size: clamp(0.8rem, 4.5vw, 0.95rem);
    margin: 0.4rem auto 0.8rem;
    line-height: 1.4;
  }

  .cta {
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
    margin-top: 0.6rem;
  }
}

/* Mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-content {
    padding: 0.3rem 0.8rem;
    justify-content: space-evenly;
  }

  .hero-logo {
    width: clamp(100px, 22vw, 180px);
    margin: 0.1rem auto 0.3rem;
    max-width: 75vw;
    object-fit: contain;
  }

  .hero-content {
    padding: 0.5rem 1rem;
  }
}

/* iPhone and devices with notch support */
@media screen and (max-width: 768px) {
  .hero {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  .hero-content {
    padding-top: max(0.8rem, env(safe-area-inset-top));
  }

  .hero-logo {
    width: clamp(150px, 48vw, 250px);
    max-width: 85vw;
    margin: 0.4rem auto 0.6rem;
  }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .container {
    max-width: 1400px;
    padding: 0 3.5rem;
  }

  .hero-content {
    max-width: 1100px;
    /* Proper padding with safe margins for all content */
    padding: 2.5rem 2rem;
    /* Ensure all content stays within viewport with buffer */
    max-height: 88vh;
    min-height: 82vh;
    /* Use space-evenly to distribute content properly */
    justify-content: space-evenly;
  }

  .hero-logo {
    max-width: 480px;
    width: 34vw;
    /* Proper top and bottom margins */
    margin: 0.8rem auto 1.2rem;
    flex-shrink: 0;
  }

  .title {
    font-size: 2.5rem;
    /* Desktop Pequeno: 40px */
    letter-spacing: 0.01em;
    /* Balanced margins */
    margin: 0.8rem 0 1rem;
    flex-shrink: 0;
  }

  .subtitle {
    font-size: 1rem;
    /* Desktop Pequeno: 16px */
    max-width: 900px;
    /* Balanced bottom margin */
    margin-bottom: 1.5rem;
    flex-shrink: 0;
  }

  .cta {
    font-size: 1rem;
    /* Desktop Pequeno: 16px */
    padding: 1.1rem 2.8rem;
    box-shadow: 0 18px 44px rgba(255, 148, 72, .32);
    /* Ensure CTA has proper margins and is never cut off */
    margin: 1.2rem 0 1rem 0;
    flex-shrink: 0;
  }

  .section-title {
    font-size: 2.5rem;
    /* Desktop Pequeno: 40px para H1 */
  }

  .section-description {
    font-size: 1rem;
    /* Desktop Pequeno: 16px */
  }
}

@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
    padding: 0 3.5rem;
  }

  .hero-content {
    max-width: 1100px;
    /* Proper padding with safe margins for all content */
    padding: 2.5rem 2rem;
    /* Ensure all content stays within viewport with buffer */
    max-height: 88vh;
    min-height: 82vh;
    /* Use space-evenly to distribute content properly */
    justify-content: space-evenly;
  }

  .hero-logo {
    max-width: 520px;
    width: 36vw;
    /* Proper top and bottom margins */
    margin: 0.8rem auto 1.2rem;
    flex-shrink: 0;
  }

  .title {
    font-size: 3rem;
    /* Desktop Grande: 48px */
    letter-spacing: 0.01em;
    /* Balanced margins */
    margin: 0.8rem 0 1rem;
    flex-shrink: 0;
  }

  .subtitle {
    font-size: 1.125rem;
    /* Desktop Grande: 18px */
    max-width: 900px;
    /* Balanced bottom margin */
    margin-bottom: 1.5rem;
    flex-shrink: 0;
  }

  .cta {
    font-size: 1.125rem;
    /* Desktop Grande: 18px */
    padding: 1.2rem 3rem;
    box-shadow: 0 18px 44px rgba(255, 148, 72, .32);
    /* Ensure CTA has proper margins and is never cut off */
    margin: 1.2rem 0 1rem 0;
    flex-shrink: 0;
  }

  .section-title {
    font-size: 3rem;
    /* Desktop Grande: 48px para H1 */
  }

  .section-description {
    font-size: 1.125rem;
    /* Desktop Grande: 18px */
  }
}

.section {
  padding: 6rem 0 5rem 0;
}

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

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

.section-description {
  font-size: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sobre-content {
  gap: 5rem;
  margin-top: 5rem;
}

.sobre-card {
  padding: 3.5rem !important;
}

.awards-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.5rem !important;
}

.award-item {
  padding: 2.2rem 1.5rem !important;
  min-width: 0;
}

.main-title {
  font-size: 2.5rem !important;
}

.prize-amount {
  font-size: 1.35rem !important;
}

.ods-image {
  height: 140px;
  width: 140px;
}

.ods-carousel-section {
  padding: 0;
}

.cronograma-table>div {
  font-size: 1.15rem !important;
}

.etapa2>div {
  font-size: 1.15rem !important;
  padding: 0.9rem 1.2rem !important;
}

.btn-primary,
.btn-secondary {
  font-size: 1.15rem;
  min-width: 56px;
  min-height: 56px;
  border-radius: 999px;
}

.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 22px 48px rgba(38, 189, 226, 0.18);
}


.ods-carousel-section {
  padding: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0ff 100%);
  overflow: hidden;
}

.ods-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ods-carousel-track {
  display: flex;
  animation: scrollODS 40s linear infinite;
  width: max-content;
}

/* Estilo limpo para imagens coladas */
.ods-image {
  height: 120px;
  width: 120px;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

/* Animação */
@keyframes scrollODS {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ods-carousel-container:hover .ods-carousel-track {
  animation-play-state: paused;
}

/* Responsivo */
@media (max-width: 768px) {
  .ods-image {
    height: 64px;
    width: 64px;
  }

  .ods-carousel-track {
    animation-duration: 16s;
  }

  /* removido .bixinho vazio */

  .section-title {
    font-size: 2.5rem !important;
  }

  .hero-content {
    padding: 0.7rem;
  }

  .hero-logo {
    width: 90vw;
    max-width: 320px;
  }

  .subtitle {
    font-size: 1rem;
    padding: 0 0.2rem;
  }

  .cta {
    padding: 0.7rem 1.2rem;
    font-size: 0.98rem;
  }

  .container {
    padding: 0 0.5rem;
  }

  .sobre-content {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .sobre-card {
    padding: 1.2rem !important;
  }

  .section {
    padding: 2.5rem 0;
  }

  .regras-main-content {
    flex-direction: column;
    align-items: center;
  }

  .regras-mascote {
    display: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
  }

  .regras-mascote img {
    display: none;
    width: 120px;
  }

  .cronograma-table>div {
    font-size: 1.05rem !important;
  }

  .etapa2>div {
    font-size: 0.95rem !important;
    padding: 0.3rem 0.2rem !important;
  }

  .awards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .award-item {
    min-width: 0;
    padding: 1.2rem 0.7rem !important;
  }

  .main-title {
    font-size: 1.5rem !important;
  }

  .prize-amount {
    font-size: 1.1rem !important;
  }

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

@media (max-width: 600px) {
  .regras-main-content {
    display: flex;
    flex-direction: column;
  }

  .regras-badge-mobile {
    order: 1;
    background: linear-gradient(90deg, #f8fafc 0%, #ffd6e0 100%) !important;
    color: #19486A !important;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 24px;
    padding: 0.7rem 1.7rem;
    margin-bottom: 1.1rem;
    margin-top: 0.5rem;
    box-shadow: 0 2px 12px rgba(229, 36, 59, 0.08);
    border: 1px solid #ffd6e0;
    display: inline-block;
  }

  .regras-title-mobile {
    order: 2;
  }
}

@media (min-width: 601px) {
  .regras-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .regras-badge-mobile {
    order: 0;
    margin-bottom: 1.1rem;
    margin-top: 0.5rem;
  }

  .regras-mascote {
    display: none;
    order: 1;
  }

  .regras-title-mobile {
    order: 2;
  }
}

.regras-btn-wrapper {
  display: flex;
  justify-content: center !important;
  align-items: center;
  margin-top: 1.5rem;
  text-align: center !important;
  width: 100%;
}

.regras-btn-wrapper a {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Adicionar estilos para melhorar a aparência e o layout */
:root {
  --primary: #26BDE2;
  --secondary: #19486A;
  --accent: #E5243B;
  --light: #f8fafc;
  --dark: #1e293b;
}

.container {
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

section {
  padding: 2.8rem 0;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transition: all 0.4s ease;
  transform: translateY(0);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.1rem;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(38, 189, 226, 0.3);
}

.btn-primary:hover::after {
  left: 100%;
}

.section-title {
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  /* adiciona padrão */
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  /* garante badge em cima do título */
  align-items: center;
}

.section-badge {
  display: inline-block;
  /* ou block */
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  /* espaço entre badge e título */
}


.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #19486A, #26BDE2);
  position: relative;
  overflow: hidden;
}

/* Melhorias adicionais para o layout */
.animate-float {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem 0;
}

.bichoTitulo {
  display: flex;
  flex-direction: row;
}

@media (max-width: 600px) {
  .bichoTitulo .bichinho {
    flex-direction: column;
    align-items: center;
    display: none;
  }
}

.bichinho {
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.cards-grid-sobre {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.card-sobre.card-expanded {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

.card-header-sobre {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon-container-sobre {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-green-sobre {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-sobre {
  width: 28px;
  height: 28px;
  color: white;
}

.card-title-sobre {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.text-green-sobre {
  color: #059669;
}

.card-content-sobre {
  line-height: 1.6;
}

.card-description-sobre {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.challenges-list-sobre {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.challenge-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.2rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-left: 4px solid #0ea5e9;
  border-radius: 8px;
  transition: all 0.3s ease;
  gap: 1rem;
}

.challenge-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.challenge-name {
  font-weight: 500;
  color: #1e293b;
  flex: 1;
  line-height: 1.5;
  font-size: 0.95rem;
}

.challenge-count {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  min-width: fit-content;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cards-grid-sobre {
    max-width: 100%;
    padding: 0 1rem;
  }

  .card-sobre.card-expanded {
    padding: 1.5rem;
  }

  .card-header-sobre {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .card-title-sobre {
    font-size: 1.5rem;
  }

  .challenge-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .challenge-name {
    margin-right: 0;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  line-height: 1.7;
  font-size: 17px;
}

/*Conteudo da main*/
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/*Botao de volta*/
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  top: 20px;
  right: 20px;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: rgb(255, 65, 65);
}

/* plus sign */
.sign {
  width: 100%;
  transition-duration: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 17px;
}

.sign svg path {
  fill: white;
}

/* text */
.text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition-duration: .3s;
}

/* hover effect on button width */
.Btn:hover {
  width: 125px;
  border-radius: 40px;
  transition-duration: .3s;
}

.Btn:hover .sign {
  width: 30%;
  transition-duration: .3s;
  padding-left: 20px;
}

/* hover effect button's text */
.Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: .3s;
  padding-right: 10px;
}

/* button click effect*/
.Btn:active {
  transform: translate(2px, 2px);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.section-title .highlight {
  color: #0c12c3ff;
}

.section-tile .accent {
  color: #12acf3ff;
}

.section-subtitle {
  color: #667;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

/*Grid dos Cards*/
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1400px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: white;
  max-height: 400px;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.card-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
}

.card-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
}

.card-title {
  color: #1129c7ff;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}


.card-info {
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  color: #667;
  font-size: 1rem;
}

.info-icon {
  margin-right: 0.4rem;
  color: #c41e3a;
  font-size: 0.9rem;
}

.botao-inscricao {
  display: flex;
  flex-direction: row;
  justify-content: center
}

.cta {
  display: inline-block;
  margin-top: .9rem;
  padding: 1rem 2.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  color: #2b1700;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  box-shadow: 0 14px 32px rgba(255, 148, 72, .42);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .22s, box-shadow .22s, filter .22s;
}

.register-btn:hover {
  background-color: #a01729;
}

/* Category specific colors */
.fundamental1 {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.fundamental2 {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.medio {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.especial {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.professor {
  background: linear-gradient(135deg, #1abc9c, #16a085);
}

.idosos {
  background: linear-gradient(135deg, #34495e, #2c3e50);
}

.valedosol {
  background: linear-gradient(135deg, #27ae60, #229954);
}

.tag-fundamental1 {
  background-color: #3498db;
}

.tag-fundamental2 {
  background-color: #e74c3c;
}

.tag-medio {
  background-color: #f39c12;
}

.tag-especial {
  background-color: #9b59b6;
}

.tag-professor {
  background-color: #1abc9c;
}

.tag-idosos {
  background-color: #34495e;
}

.tag-valedosol {
  background-color: #27ae60;
}

.juridico {
  background: linear-gradient(135deg, #6c5ce7, #4834d4);
}

.tag-juridico {
  background-color: #6c5ce7;
}

/*Passo a Passo*/
.passo-passo {
  max-width: 1000px;
  max-height: 1000px;
  background-color: red;
}

/* ===== Container Geral ===== */
.premios {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #f0f9ff);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.premios::before,
.premios::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}

/* ===== Cabeçalho ===== */
.titulo-premios {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.titulo-premios h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #26BDE2, #FCC30B, #E5243B, #4C9F38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.titulo-premios p {
  font-size: 1.3rem;
  color: #374151;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

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

/* ===== Cards ===== */
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 6px solid transparent;
}

.card:hover {
  transform: translateY(-0.5rem) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Borda temática ===== */
.border-yellow {
  border-left-color: #FACC15;
}

.border-green {
  border-left-color: #22C55E;
}

.border-cyan {
  border-left-color: #06B6D4;
}

.border-red {
  border-left-color: #EF4444;
}

/* ===== Cabeçalho do card ===== */
.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
}

.subtitle-premio {
  font-weight: 600;
  font-size: 1.1rem;
  color: #891e1eff;
}

/* ===== Prêmios ===== */
.prizes {
  margin-bottom: 1.5rem;
}

.prize {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

/* Paleta ODS */
.bg-yellow {
  background: #fefce8;
  color: #ca8a04;
}

.bg-gray {
  background: #f9fafb;
  color: #4b5563;
}

.bg-orange {
  background: #fff7ed;
  color: #ea580c;
}

.bg-green {
  background: #ecfdf5;
  color: #16a34a;
}

.bg-emerald {
  background: #d1fae5;
  color: #059669;
}

/* ===== Notas ===== */
.note {
  font-size: 1rem;
  padding: 1rem;
  border-left: 4px solid;
  border-radius: 0.6rem;
  font-weight: 500;
}

.bg-blue {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.bg-purple {
  background: #f3e8ff;
  border-color: #8b5cf6;
  color: #6b21a8;
}

.bg-gray {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

/* ===== Info extra ===== */
.info {
  background: linear-gradient(to right, #ecfeff, #e0f2fe);
  padding: 1.5rem;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  color: #0f172a;
  line-height: 1.5;
}

/* ===== Etapa Final ===== */
.features>div {
  background: linear-gradient(to right, #ffe4e6, #fce7f3);
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7f1d1d;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin: 0 auto 1rem auto !important;
    height: 100px !important;
  }

  .footer-address p,
  .footer-contact {
    text-align: center !important;
    justify-content: center !important;
  }

  .footer-links {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem;
  }

  .footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer-column h4 {
    margin-bottom: 0.5rem;
  }

  .social-links {
    justify-content: center !important;
  }

  .footer-bottom {
    margin-top: 2rem;
    text-align: center !important;
  }

  .ods-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-copy p {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
}

/* ===== DESAFIOS E TIMELINE SECTION - REDESIGN ===== */
.desafios-timeline-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0ff 100%);
}

.timeline-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline-header-center .section-title-sobre {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
}

.desafios-timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* DESAFIOS CARD */
.desafios-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.card-header-desafios {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-container-desafios {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-desafios {
  width: 24px;
  height: 24px;
  color: white;
}

.card-title-desafios {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.card-content-desafios {
  padding: 2rem;
}

.card-description-desafios {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  text-align: center;
}

.challenges-scroll-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.challenges-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.challenges-scroll-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.challenges-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.challenges-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.challenges-list-desafios {
  display: grid;
  gap: 1rem;
}

.challenge-item-compact {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.challenge-item-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
}

.challenge-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1e40af;
  flex: 1;
  font-weight: 500;
}

.challenge-badge {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: fit-content;
}

/* TIMELINE CARDS */
.timeline-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.timeline-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.phase-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.phase-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.badge-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.badge-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

.phase-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1f2937;
}

.phase-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.phase-details {
  padding: 1.5rem 2rem;
}

.detail-item {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  padding-left: 0.5rem;
}

.detail-item:last-of-type {
  margin-bottom: 1rem;
}

.warning-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 4px solid #f59e0b;
  margin-top: 1rem;
}

.info-box {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 4px solid #3b82f6;
  margin-top: 1rem;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
  .timeline-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .desafios-timeline-grid {
    gap: 3rem;
  }

  .timeline-header-center .section-title-sobre {
    font-size: 3rem;
  }

  .challenges-scroll-container {
    max-height: 500px;
  }
}

@media (min-width: 1024px) {
  .desafios-timeline-section {
    padding: 4rem 0;
  }

  .desafios-timeline-grid {
    max-width: 1400px;
  }

  .challenges-scroll-container {
    max-height: 600px;
  }
}

@media (max-width: 767px) {
  .desafios-timeline-section {
    padding: 2rem 0;
  }

  .timeline-header-center {
    margin-bottom: 2rem;
  }

  .timeline-header-center .section-title-sobre {
    font-size: 2rem;
  }

  .card-header-desafios {
    padding: 1rem 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .card-content-desafios {
    padding: 1.5rem;
  }

  .challenge-item-compact {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .challenge-badge {
    align-self: center;
  }

  .phase-header {
    padding: 1rem 1.5rem;
  }

  .phase-details {
    padding: 1rem 1.5rem;
  }

  .challenges-scroll-container {
    max-height: 300px;
  }
}



/* Custom Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-ods {
  background: linear-gradient(135deg, #0078D4 0%, #16A34A 100%);
}

.bg-gradient-innovation {
  background: linear-gradient(135deg, #0EA5E9 0%, #10B981 50%, #8B5CF6 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-ods {
  background: linear-gradient(135deg, #0078D4, #16A34A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Morphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom button hover effects */
.btn-hover-scale {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-scale:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Parallax effect */
.parallax {
  transform: translateZ(0);
  transition: transform 0.3s ease-out;
}



/* Intersection Observer animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Desafios section styles */
.gradient-primary {
  background: linear-gradient(135deg, #0EA5E9, #00FFFF);
}

.gradient-secondary {
  background: linear-gradient(135deg, #10B981, #C084FC);
}

.gradient-accent {
  background: linear-gradient(135deg, #C084FC, #F97316);
}

.card-gradient {
  background: white;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-gradient:hover {
  border: 2px solid #0EA5E9;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-glow {
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.expandable-content.expanded {
  max-height: 500px;
  opacity: 1;
}

.chevron {
  transition: transform 0.3s ease;
}

.chevron.rotated {
  transform: rotate(180deg);
}

/* Desafios section background */
.desafios-bg {
  background: transparent;
  color: #1e293b;
}

/* Smooth fade-in animation for extra challenges */
.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

#extraChallenges {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for toggle button */
#toggleChallenges:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

#visibleCount.updating {
  transform: scale(1.2);
  color: #0EA5E9;
  font-weight: bold;
}

/* =======================================================
   WORKSHOP CAROUSEL STYLES
   ======================================================= */

.workshops-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.workshops-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.workshops-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.badge-workshop {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  /* Using responsive typography system - small text */
  font-size: 0.75rem;
  /* Mobile: 12px */
}

/* Tablet sizing for workshop badge */
@media (min-width: 769px) and (max-width: 1024px) {
  .badge-workshop {
    font-size: 0.875rem;
    /* Tablet: 14px */
  }
}

/* Desktop sizing for workshop badge */
@media (min-width: 1025px) {
  .badge-workshop {
    font-size: 0.875rem;
    /* Desktop: 14px */
  }
}

.workshops-title {
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  /* Using responsive typography system - h2 sizing */
  font-size: 1.75rem;
  /* Mobile: 28px */
}

/* Tablet sizing for workshops */
@media (min-width: 769px) and (max-width: 1024px) {
  .workshops-title {
    font-size: 2rem;
    /* Tablet: 32px */
  }
}

/* Desktop sizing for workshops */
@media (min-width: 1025px) {
  .workshops-title {
    font-size: 2.5rem;
    /* Desktop: 40px */
  }
}

.text-workshop {
  background: linear-gradient(45deg, #ffd700, #ffeb3b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.workshops-description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
}

/* Tablet sizing for workshop description */
@media (min-width: 769px) and (max-width: 1024px) {
  .workshops-description {
    font-size: 1rem;
    /* Tablet: 16px */
  }
}

/* Desktop sizing for workshop description */
@media (min-width: 1025px) {
  .workshops-description {
    font-size: 1.125rem;
    /* Desktop: 18px */
  }
}

.workshops-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.workshops-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.workshops-carousel::-webkit-scrollbar {
  display: none;
}

.workshop-card {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.workshop-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.workshop-icon {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.workshop-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.workshop-card:hover .workshop-icon::before {
  opacity: 1;
  animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(-45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(-45deg);
  }
}

.workshop-icon i {
  font-size: 3rem;
  color: white;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.workshop-card:hover .workshop-icon i {
  transform: scale(1.1);
  opacity: 1;
}

.workshop-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.workshop-title {
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.3;
  /* Using responsive typography system - h4 sizing */
  font-size: 1.25rem;
  /* Mobile: 20px */
}

.workshop-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 25px;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
}

/* Tablet sizing for workshop cards */
@media (min-width: 769px) and (max-width: 1024px) {
  .workshop-title {
    font-size: 1.5rem;
    /* Tablet: 24px */
  }

  .workshop-description {
    font-size: 1rem;
    /* Tablet: 16px */
  }
}

/* Desktop sizing for workshop cards */
@media (min-width: 1025px) {
  .workshop-title {
    font-size: 1.75rem;
    /* Desktop: 28px */
  }

  .workshop-description {
    font-size: 1rem;
    /* Desktop: 16px */
  }
}

.workshop-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.workshop-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.workshop-cta:hover::before {
  left: 100%;
}

.workshop-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.workshop-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workshop-card:hover .workshop-gradient {
  opacity: 1;
}

/* Navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.carousel-nav i {
  color: #667eea;
  font-size: 1.2rem;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: white;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .workshop-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .workshops-section {
    padding: 60px 0;
  }

  .workshops-title {
    font-size: 2.2rem;
  }

  .workshops-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .workshop-card {
    flex: 0 0 260px;
  }

  .workshops-carousel {
    gap: 20px;
    padding: 20px 10px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .workshop-content {
    padding: 20px;
  }

  .workshop-icon {
    padding: 20px;
  }

  .workshop-icon i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .workshops-carousel-container {
    padding: 0 10px;
  }

  .workshop-card {
    flex: 0 0 240px;
  }

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

  .workshops-header {
    margin-bottom: 40px;
  }

  .carousel-nav {
    display: none;
  }
}

/* =======================================================
   DOCUMENTS SECTION STYLES
   ======================================================= */

.documents-section {
  padding: 60px 0 20px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.documents-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="docs-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(59,130,246,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23docs-grid)"/></svg>');
  pointer-events: none;
}

.documents-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.badge-documents {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50px;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  /* Using responsive typography system - small text */
  font-size: 0.75rem;
  /* Mobile: 12px */
}

/* Tablet sizing for documents badge */
@media (min-width: 769px) and (max-width: 1024px) {
  .badge-documents {
    font-size: 0.875rem;
    /* Tablet: 14px */
  }
}

/* Desktop sizing for documents badge */
@media (min-width: 1025px) {
  .badge-documents {
    font-size: 0.875rem;
    /* Desktop: 14px */
  }
}

.documents-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.2;
  /* Using responsive typography system - h2 sizing */
  font-size: 1.75rem;
  /* Mobile: 28px */
}

/* Tablet sizing for documents */
@media (min-width: 769px) and (max-width: 1024px) {
  .documents-title {
    font-size: 2rem;
    /* Tablet: 32px */
  }
}

/* Desktop sizing for documents */
@media (min-width: 1025px) {
  .documents-title {
    font-size: 2.5rem;
    /* Desktop: 40px */
  }
}

.text-documents {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.documents-description {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
}

/* Tablet sizing for documents description */
@media (min-width: 769px) and (max-width: 1024px) {
  .documents-description {
    font-size: 1rem;
    /* Tablet: 16px */
  }
}

/* Desktop sizing for documents description */
@media (min-width: 1025px) {
  .documents-description {
    font-size: 1.125rem;
    /* Desktop: 18px */
  }
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.document-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  cursor: pointer;
}

.document-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

.document-icon {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}

.document-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.document-card:hover .document-icon::before {
  opacity: 1;
  animation: docShimmer 1s ease-in-out;
}

@keyframes docShimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(-45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(-45deg);
  }
}

.document-icon i {
  font-size: 2.5rem;
  color: white;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.document-card:hover .document-icon i {
  transform: scale(1.1);
  opacity: 1;
}

.document-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.document-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.3;
  /* Using responsive typography system - h4 sizing */
  font-size: 1.25rem;
  /* Mobile: 20px */
}

.document-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  /* Using responsive typography system - body text */
  font-size: 0.875rem;
  /* Mobile: 14px */
}

/* Tablet sizing for document cards */
@media (min-width: 769px) and (max-width: 1024px) {
  .document-title {
    font-size: 1.5rem;
    /* Tablet: 24px */
  }

  .document-description {
    font-size: 1rem;
    /* Tablet: 16px */
  }
}

/* Desktop sizing for document cards */
@media (min-width: 1025px) {
  .document-title {
    font-size: 1.75rem;
    /* Desktop: 28px */
  }

  .document-description {
    font-size: 1rem;
    /* Desktop: 16px */
  }
}

.document-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.document-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.document-cta:hover::before {
  left: 100%;
}

.document-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Responsive Design for Documents */
@media (max-width: 1024px) {
  .documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .documents-section {
    padding: 40px 0 20px 0;
  }

  .documents-title {
    font-size: 2.2rem;
  }

  .documents-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .documents-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .document-content {
    padding: 25px;
  }

  .document-icon {
    padding: 25px;
  }

  .document-icon i {
    font-size: 2rem;
  }
}

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

  .documents-header {
    margin-bottom: 40px;
  }

  .document-content {
    padding: 20px;
  }

  .document-icon {
    padding: 20px;
  }
}

/* =======================================================
   VIEWPORT FIX UTILITIES
   ======================================================= */

/* Prevent body overflow and white space issues */
html,
body {
  overflow-x: hidden !important;
  /* Ensure no margin/padding that could affect viewport calculation */
  margin: 0 !important;
  padding: 0 !important;
}

/* Additional mobile viewport fixes */
@media screen and (max-width: 768px) {

  /* Prevent address bar from affecting viewport height on mobile */
  .hero {
    height: 100vh !important;
    height: calc(var(--vh, 1vh) * 100) !important;
    min-height: 100vh !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    /* Prevent any potential height constraints */
    max-height: none !important;
  }

  /* Ensure body takes full height */
  body {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  /* Ensure page wrapper doesn't interfere */
  .page-wrapper {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

/* Ensure main content sections flow properly */
section {
  position: relative;
  z-index: 1;
}

/* Fix potential margin collapse issues */
section:first-child {
  margin-top: 0 !important;
}

section:last-child {
  margin-bottom: 0 !important;
}

/* Prevent scrollbar jump on page load */
html {
  scrollbar-gutter: stable;
}

/* iOS Safari specific viewport fixes */
@supports (-webkit-touch-callout: none) {
  .hero {
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
    /* Ensure iOS Safari gets full viewport */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

/* Orientation change fixes */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    /* Still use full viewport in landscape, but optimize content */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-content {
    padding: 0.5rem;
  }

  .hero-logo {
    width: clamp(120px, 20vw, 180px);
    margin-bottom: 0.3rem;
  }

  .title {
    font-size: clamp(1rem, 6vw, 1.4rem);
    margin: 0.1rem 0 0.3rem;
  }

  .subtitle {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    margin: 0.3rem auto 0.5rem;
    line-height: 1.3;
  }

  .cta {
    font-size: 0.8rem;
    padding: 0.6rem 1.4rem;
    margin-top: 0.4rem;
  }
}

:root {
  --background: #f0fdf4;
  --foreground: #ffffff;
  --card: #ffffff;
  --card-foreground: #374151;
  --primary: #15803d;
  --primary-foreground: #ffffff;
  --accent: #84cc16;
  --border: #e5e7eb;
  --radius: 0.5rem;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Renomeando classe genérica para mais específica */
.partnership-showcase-container {
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Renomeando header para ser mais específico */
.partnership-header-content {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

/* Renomeando título para ser mais específico */
.partnership-main-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.partnership-main-title span {
  color: black;
}

/* Renomeando subtítulo para ser mais específico */
.partnership-description-text {
  font-size: 1rem;
  color: var(--card-foreground);
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Renomeando grid para ser mais específico */
/* Limite de 4 cards por linha */
.partnership-companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 1000px;
  justify-content: center;
}

/* Renomeando card para ser mais específico */
.partnership-company-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.6s ease-out forwards;
  width: 200px;
  position: relative;
  overflow: hidden;
}

.partnership-company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(132, 204, 22, 0.1), transparent);
  transition: left 0.5s ease;
}

.partnership-company-card:hover::before {
  left: 100%;
}

.partnership-company-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

/* Renomeando logo container para ser mais específico */
.partnership-company-logo-container {
  width: 100%;
  height: 80px;
  background: var(--foreground);
  border-radius: calc(var(--radius) * 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.partnership-company-logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partnership-company-card:hover .partnership-company-logo-container img {
  transform: scale(1.1);
}

/* Renomeando nome da empresa para ser mais específico */
.partnership-company-name-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.3rem;
}

/* Renomeando categoria para ser mais específico */
.partnership-company-industry-label {
  font-size: 0.8rem;
  color: var(--card-foreground);
  text-align: center;
  opacity: 0.8;
}

/* Renomeando seção CTA para ser mais específica */
.partnership-action-section {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* Renomeando botão CTA para ser mais específico */
.partnership-join-button {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.partnership-join-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.partnership-join-button:hover::before {
  left: 0;
}

.partnership-join-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Responsivo: 3 cards por linha em tablets */
@media (max-width: 1200px) {
  .partnership-companies-grid {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsivo: 2 cards por linha em tablets menores */
@media (max-width: 900px) {
  .partnership-companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .partnership-company-card {
    width: 15;
  }
}

/* Responsivo: 1 card por linha em mobile */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partnership-company-card:nth-child(1) {
  animation-delay: 0.1s;
}

.partnership-company-card:nth-child(2) {
  animation-delay: 0.2s;
}

.partnership-company-card:nth-child(3) {
  animation-delay: 0.3s;
}

.partnership-company-card:nth-child(4) {
  animation-delay: 0.4s;
}

.partnership-company-card:nth-child(5) {
  animation-delay: 0.5s;
}

.partnership-company-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* =======================================================
   PARTNERSHIPS SECTION - REDESIGNED
   ======================================================= */

.partnerships-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 0;
  position: relative;
  overflow: visible;
  margin: 0px 0 40px 0;
}

.partnerships-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%236366f1' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.partnerships-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header Global */
.partnerships-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.partnerships-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.partnerships-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.partnerships-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.partnerships-highlight {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partnerships-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Partnership Groups */
.partnership-group {
  margin-bottom: 4rem;
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: visible;
  animation: fadeInUp 0.6s ease-out;
}

.partnership-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.partnership-group-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partnership-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.partnership-group-icon i {
  font-size: 1.5rem;
  color: white;
}

.partnership-group-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.partnership-group-description {
  font-size: 1rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}

/* Logos Container */
.partnership-logos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  overflow: visible;
  padding: 2rem 0;
}

.partnership-logos-container.organizadores {
  grid-template-columns: repeat(3, 1fr);
}

.partnership-logos-container.apoiadores {
  grid-template-columns: repeat(4, 1fr);
}

/* Logo Items */
.partnership-logo-item {
  position: relative;
  width: 100%;
  max-width: 200px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Specific container overrides for Ministério das Cidades to allow a bigger logo */
.partnership-logo-item[data-org="Ministério das Cidades"] {
  max-width: 320px; /* allow more horizontal space for this specific logo */
  margin: 0 auto;
}

.partnership-logo-item[data-org="Ministério das Cidades"] .logo-wrapper {
  padding: 1.75rem; /* slightly larger padding so the logo breathes inside the card */
}

.logo-wrapper {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-wrapper img {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Specific sizing: aumentar levemente o logo do Ministério das Cidades sem impactar os demais */
.partnership-logo-item[data-org="Ministério das Cidades"] .logo-wrapper img {
  max-height: 120px; /* aumenta o 'zoom' visual do logo específico */
  width: auto;       /* mantém proporção natural */
  display: inline-block;
}

/* Ajuste responsivo para dispositivos pequenos */
@media (max-width: 768px) {
  .partnership-logo-item[data-org="Ministério das Cidades"] .logo-wrapper img {
    max-height: 88px;
  }
  .partnership-logo-item[data-org="Ministério das Cidades"] {
    max-width: 220px;
  }
  .partnership-logo-item[data-org="Ministério das Cidades"] .logo-wrapper {
    padding: 1rem;
  }
}

.partnership-logo-item:hover .logo-wrapper {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
}

.partnership-logo-item:hover .logo-wrapper::before {
  opacity: 1;
}

.partnership-logo-item:hover .logo-wrapper img {
  transform: scale(1.05);
}

/* Tooltips */
.logo-tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.95);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #1e293b;
}

.logo-tooltip strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.logo-tooltip span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.partnership-logo-item:hover .logo-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -4rem;
}

/* Call to Action */
.partnerships-cta {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.partnerships-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 8.837-7.163 16-16 16S-12 28.837-12 20 -4.837 4 4 4s16 7.163 16 16z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.partnerships-cta-content {
  position: relative;
  z-index: 1;
}

.partnerships-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.partnerships-cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.partnerships-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: #6366f1;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partnerships-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: #4f46e5;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .partnerships-container {
    padding: 0 1rem;
  }
  
  .partnership-group {
    padding: 2rem;
  }
  
  .partnership-logos-container.organizadores {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .partnership-logos-container.apoiadores {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .partnerships-section {
    padding: 2rem 0 4rem 0;
    margin-top: 20px;
    margin-bottom: 80px;
  }
  
  .partnerships-header {
    margin-bottom: 3rem;
  }
  
  .partnerships-title {
    font-size: 2rem;
  }
  
  .partnership-group {
    margin-bottom: 3rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
  
  .partnership-group-header {
    margin-bottom: 2rem;
  }
  
  .partnership-group-title {
    font-size: 1.5rem;
  }
  
  .partnership-logos-container.organizadores,
  .partnership-logos-container.apoiadores {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .partnership-logo-item {
    max-width: 150px;
  }
  
  .logo-wrapper {
    padding: 1rem;
  }
  
  .logo-wrapper img {
    max-height: 60px;
  }
  
  .partnerships-cta {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }
  
  .partnerships-cta-title {
    font-size: 1.5rem;
  }
  
  .partnerships-cta-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .partnerships-title {
    font-size: 1.75rem;
  }
  
  .partnership-logos-container.organizadores,
  .partnership-logos-container.apoiadores {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .partnership-logo-item {
    max-width: 200px;
    justify-self: center;
  }
  
  .logo-tooltip {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    white-space: normal;
    text-align: center;
    max-width: 180px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .partnership-logo-item,
  .logo-wrapper,
  .partnerships-badge,
  .partnerships-cta-button {
    transition: none;
  }
  
  .partnership-group,
  .partnerships-header,
  .partnerships-cta {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .partnership-group {
    border: 2px solid #000;
  }
  
  .logo-wrapper {
    border: 1px solid #666;
  }
  
  .partnerships-highlight {
    color: #000;
    -webkit-text-fill-color: #000;
  }
}


/* =======================================================
   PARTNERSHIPS SECTION - Z-INDEX AND FOOTER FIXES
   ======================================================= */

/* Fix z-index hierarchy */
.partnerships-section {
  position: relative;
  z-index: 10;
  margin-bottom: 120px;
}

.partnerships-container {
  position: relative;
  z-index: 11;
}

.partnership-group {
  position: relative;
  z-index: 12;
  margin-bottom: 4rem;
}

.partnership-logo-item {
  position: relative;
  z-index: 13;
}

/* Enhanced tooltip z-index */
.logo-tooltip {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999; /* Maximum z-index to stay above everything */
  pointer-events: none;
}

.logo-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #1e293b;
  z-index: 10000;
}

/* Ensure tooltip appears above footer */
.partnership-logo-item:hover .logo-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -4rem;
  z-index: 9999;
  pointer-events: auto;
}

/* Footer spacing fix */
.partnerships-section {
  padding: 3rem 0 6rem 0; /* Add more bottom padding */
}

.partnerships-cta {
  margin-bottom: 2rem; /* Add bottom margin to CTA */
}

/* Ensure tooltips don't get cut off at viewport edges */
@media (max-width: 768px) {
  .logo-tooltip {
    white-space: normal;
    max-width: 200px;
    text-align: center;
    font-size: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }
  
  /* Adjust tooltip position for edge cases */
  .partnership-logo-item:first-child .logo-tooltip {
    left: 0;
    transform: translateX(0);
  }
  
  .partnership-logo-item:last-child .logo-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
  }
}

/* High z-index for all interactive elements */
.partnerships-badge {
  position: relative;
  z-index: 50;
}

.partnerships-cta-button {
  position: relative;
  z-index: 50;
}

.partnership-group-icon {
  position: relative;
  z-index: 50;
}

/* Footer override to ensure proper spacing */
footer {
  position: relative;
  z-index: 5; /* Lower than partnerships section */
  margin-top: 0;
}

/* Page wrapper adjustments */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ===== HERO ACTIONS AND QUICK ACCESS BUTTONS ===== */

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 100vw;
  padding: 0 clamp(1rem, 2vw, 2rem);
  box-sizing: border-box;
}

.quick-actions {
  display: flex;
  gap: clamp(0.8rem, 2vw, 2rem);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: min(90vw, 600px);
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 0.8rem);
  /* Adaptive padding that increases at smaller viewports/higher zoom */
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.8rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  /* Adaptive font size that scales with viewport for better accessibility */
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  line-height: 1.2;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  /* Larger min/max widths for better visibility */
  min-width: clamp(200px, 30vw, 250px);
  max-width: clamp(280px, 40vw, 350px);
  flex: 1 1 auto;
  white-space: nowrap;
  text-align: center;
}

.quick-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.quick-action-btn:hover::before {
  left: 100%;
}

.quick-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.quick-action-btn i {
  /* Larger, more visible icons */
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  opacity: 0.9;
  flex-shrink: 0;
}

.quick-action-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive adjustments for extreme zoom and small screens */
@media (max-width: 480px) {
  .hero-actions {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .quick-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.8rem;
  }
  
  .quick-action-btn {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    flex: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .quick-action-btn i {
    font-size: 1.1rem;
  }
}

/* For medium screens and zoom levels */
@media (min-width: 481px) and (max-width: 768px) {
  .quick-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .quick-action-btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 160px;
    max-width: calc(50% - 0.5rem);
  }
}

/* For large screens but high zoom */
@media (min-width: 769px) and (max-width: 1200px) {
  .quick-actions {
    flex-direction: row;
    justify-content: center;
    max-width: 500px;
  }
  
  .quick-action-btn {
    flex: 1 1 auto;
    min-width: 180px;
    max-width: 240px;
  }
}

/* For very large screens */
@media (min-width: 1201px) {
  .quick-actions {
    gap: 2rem;
    max-width: 600px;
  }
  
  .quick-action-btn {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 280px;
    font-size: 1.1rem;
    padding: 1.2rem 2.2rem;
  }
}

/* Zoom-resistant styles - works even at 300%+ zoom */
@media (max-width: 600px), (max-height: 400px) {
  .hero-actions {
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .quick-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  
  .quick-action-btn {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    flex: none;
  }
  
  .quick-action-btn i {
    font-size: 1rem;
  }
  
  .quick-action-btn span {
    font-size: inherit;
  }
}

/* Container constraints to prevent overflow */
.hero-content {
  overflow: visible;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Optimize vertical space usage */
.hero {
  min-height: auto;
  padding: clamp(2rem, 5vh, 4rem) 1rem clamp(1rem, 3vh, 2rem);
}

/* Reduce margins for space optimization */
.hero .title {
  margin: 0 0 clamp(0.2rem, 1vh, 0.4rem);
}

.hero .subtitle {
  margin: clamp(0.2rem, 1vh, 0.4rem) auto clamp(0.8rem, 2vh, 1.2rem);
}

.hero-actions {
  margin-top: clamp(1rem, 3vh, 2rem);
}

/* For very short viewports (high zoom or landscape mobile) */
@media (max-height: 600px) {
  .hero {
    padding: 1rem 1rem 0.5rem;
  }
  
  .hero .title {
    margin: 0 0 0.2rem;
  }
  
  .hero .subtitle {
    margin: 0.2rem auto 0.6rem;
  }
  
  .hero-actions {
    margin-top: 0.8rem;
  }
}

/* For extremely short viewports */
@media (max-height: 400px) {
  .hero {
    padding: 0.5rem 1rem 0.3rem;
  }
  
  .hero .title {
    margin: 0;
  }
  
  .hero .subtitle {
    margin: 0.1rem auto 0.4rem;
  }
  
  .hero-actions {
    margin-top: 0.5rem;
  }
}

/* Animation for quick action buttons */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-action-btn {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.quick-action-btn:nth-child(2) {
  animation-delay: 0.8s;
}

/* Focus states for accessibility */
.quick-action-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.quick-action-btn:focus:not(:focus-visible) {
  outline: none;
}

/* Force visibility - emergency styles for extreme zoom */
@media (max-width: 400px), (max-height: 300px) {
  .quick-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  
  .quick-action-btn {
    display: flex !important;
    width: 100% !important;
    min-width: auto !important;
    max-width: 100% !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.85rem !important;
    flex: none !important;
    justify-content: center !important;
  }
  
  .quick-action-btn span {
    display: inline !important;
    white-space: nowrap !important;
  }
  
  .hero-content {
    min-height: 100vh !important;
    max-height: none !important;
    padding-bottom: 4rem !important;
    justify-content: flex-start !important;
  }
  
  .hero-actions {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    margin-top: 2rem !important;
  }
}

/* Additional safety rules for very high zoom levels */
@media (max-width: 320px) {
  .hero-actions {
    position: fixed !important;
    bottom: 2rem !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 1rem !important;
    border-radius: 1rem !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .quick-actions {
    gap: 0.8rem !important;
  }
  
  .quick-action-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
    border: none !important;
  }
}

