/* ============================================
   Do Piauí Para o Mundo — Layout estático
   Variáveis, reset e estrutura base
   ============================================ */

:root {
  /* Cores principais */
  --primary: hsl(213, 70%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(152, 55%, 38%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(40, 95%, 55%);
  --accent-foreground: hsl(213, 30%, 15%);
  --cta: hsl(213, 70%, 45%);
  --cta-foreground: hsl(0, 0%, 100%);

  --foreground: hsl(213, 30%, 15%);
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(213, 15%, 45%);
  --border: hsl(214, 20%, 90%);
  --card: hsl(0, 0%, 100%);

  --hero-dark: hsl(213, 45%, 12%);
  --hero-overlay: hsla(213, 50%, 8%, 0.7);
  --section-alt: hsl(210, 25%, 97%);

  /* Layout */
  --radius: 0.75rem;
  --container: min(1280px, 100% - 2rem);
  --section-padding-y: 3rem;
  --section-padding-x: 1rem;
}

@media (max-width: 767px) {
  :root {
    --section-padding-y: 2.25rem;
    --section-padding-x: 0.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding-y: 1.75rem;
    --section-padding-x: 0.75rem;
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding-y: 4.5rem;
    --section-padding-x: 2rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--accent);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ícones (sprite inline) */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}
.icon--md {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   Container
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.container--narrow {
  max-width: 56rem;
}

/* ============================================
   HEADER / NAV
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(213, 45%, 12%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

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

.nav__logo-programa {
  height: 2.5rem;
  width: auto;
}

.nav__divider {
  display: none;
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
}

.nav__logo-seduc {
  display: none;
  height: 1.75rem;
  width: auto;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .nav__divider,
  .nav__logo-seduc {
    display: block;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cta);
  color: var(--cta-foreground) !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.nav__cta:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground) !important;
}

.nav__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav__dropdown {
  display: block;
  padding: 1rem 1.5rem 1.5rem;
  background: hsla(213, 45%, 12%, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .nav__dropdown {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .nav__dropdown {
    display: none;
  }
  .header:has(#nav-toggle:checked) .nav__dropdown {
    display: block;
  }
}

.nav__dropdown a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.nav__dropdown a:hover {
  color: var(--accent);
}

.nav__dropdown-cta {
  margin-top: 0.5rem;
  text-align: center;
  padding: 0.75rem !important;
  border-radius: var(--radius);
  background: var(--cta);
  color: var(--cta-foreground) !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.nav__dropdown-cta:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground) !important;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__overlay--v {
  background: linear-gradient(
    to bottom,
    hsla(213, 50%, 8%, 0.5),
    hsla(213, 50%, 8%, 0.3),
    hsla(213, 50%, 8%, 0.7)
  );
}

.hero__overlay--h {
  background: linear-gradient(
    to right,
    hsla(213, 50%, 8%, 0.85),
    hsla(213, 50%, 8%, 0.5),
    transparent
  );
}

.hero__stripes {
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  height: 6px;
  display: flex;
  z-index: 5;
}

.hero__stripe {
  flex: 1;
}

.hero__stripe--primary {
  background: var(--primary);
}
.hero__stripe--secondary {
  background: var(--secondary);
}
.hero__stripe--accent {
  background: var(--accent);
}
.hero__stripe--cta {
  background: var(--cta);
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: 5rem 0 3rem;
  width: 100%;
  text-align: left;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero__inner {
    max-width: 55%;
  }
}

.hero__logo {
  height: 12rem;
  width: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.25));
}

@media (min-width: 640px) {
  .hero__logo {
    height: 15.4rem;
  }
}

@media (min-width: 768px) {
  .hero__logo {
    height: 17.6rem;
  }
}

@media (min-width: 1024px) {
  .hero__logo {
    height: 19.8rem;
  }
}

.hero__subtitle {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}
.hero__badge .icon {
  color: var(--accent);
}

@media (min-width: 640px) {
  .hero__badge {
    font-size: 0.875rem;
  }
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 3.5rem;
}

.hero__btn-primary {
  position: relative;
  overflow: hidden;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px hsla(213, 70%, 45%, 0.3);
}

/* Só o "Inscreva-se agora" do hero tem o gradiente no hover */
.hero__btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(to right, var(--cta), var(--accent));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero__btn-primary:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground);
}

.hero__btn-primary:hover::before {
  opacity: 1;
}

@keyframes hero-pulse-glow {
  0%,
  100% {
    box-shadow: 0 10px 15px -3px hsla(213, 70%, 45%, 0.3);
  }
  50% {
    box-shadow: 0 10px 25px -5px hsla(213, 70%, 45%, 0.4);
  }
}

.hero__btn-primary {
  animation: hero-pulse-glow 2.5s ease-in-out infinite;
}

.hero__btn-edital {
  border-width: 2px;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__countdown {
  width: 100%;
  max-width: 32rem;
}

.hero__countdown-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero__countdown-label {
    font-size: 0.875rem;
  }
}

.hero__countdown-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .hero__countdown-grid {
    gap: 1rem;
  }
}

.hero__countdown-item {
  min-width: 68px;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: background 0.2s;
}

.hero__countdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .hero__countdown-item {
    padding: 1rem 1.5rem;
  }
}

.hero__countdown-value {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .hero__countdown-value {
    font-size: 2.25rem;
  }
}

.hero__countdown-unit {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .hero__countdown-unit {
    font-size: 0.75rem;
  }
}

.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.hero__scroll .icon {
  color: inherit;
}

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

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

.hero__scroll .icon--scroll {
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
  color: var(--accent);
}

/* Hero: animações de entrada */
@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-entrance-scale {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero__logo {
  animation: hero-entrance-scale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero__subtitle {
  opacity: 0;
  animation: hero-entrance 0.6s ease-out 0.5s forwards;
}

.hero__badges {
  opacity: 0;
  animation: hero-fade-in 0.6s ease-out 0.6s forwards;
}

.hero__actions {
  opacity: 0;
  animation: hero-entrance 0.6s ease-out 0.7s forwards;
}

.hero__countdown {
  opacity: 0;
  animation: hero-entrance 0.6s ease-out 0.9s forwards;
}

.hero__scroll {
  opacity: 0;
  animation: hero-fade-in 0.6s ease-out 1.4s forwards;
}

/* Círculos decorativos animados no Hero */
@keyframes hero-blur-1 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

@keyframes hero-blur-2 {
  0%,
  100% {
    transform: scale(1.2);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 0.2;
  }
}

.hero__blur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero__blur--1 {
  top: 8rem;
  right: 10%;
  width: 16rem;
  height: 16rem;
  background: hsla(40, 95%, 55%, 0.08);
  filter: blur(48px);
  animation: hero-blur-1 6s ease-in-out infinite;
}

.hero__blur--2 {
  bottom: 8rem;
  left: 5%;
  width: 12rem;
  height: 12rem;
  background: hsla(152, 55%, 38%, 0.12);
  filter: blur(48px);
  animation: hero-blur-2 8s ease-in-out infinite;
}

/* ============================================
   Animações on-scroll (AOS)
   ============================================ */

.aos {
  opacity: 0;
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.aos.in-view {
  opacity: 1;
}

.aos-up {
  transform: translateY(24px);
}

.aos-up.in-view {
  transform: translateY(0);
}

.aos-up-lg {
  transform: translateY(30px);
}

.aos-up-lg.in-view {
  transform: translateY(0);
}

.aos-left {
  transform: translateX(-24px);
}

.aos-left.in-view {
  transform: translateX(0);
}

.aos-right {
  transform: translateX(24px);
}

.aos-right.in-view {
  transform: translateX(0);
}

.aos-scale {
  transform: scale(0.96);
}

.aos-scale.in-view {
  transform: scale(1);
}

.aos-fade {
  /* só opacity, já em .aos */
}

/* Atrasos em cascata */
.aos-delay-1 {
  transition-delay: 0.1s;
}
.aos-delay-2 {
  transition-delay: 0.2s;
}
.aos-delay-3 {
  transition-delay: 0.3s;
}
.aos-delay-4 {
  transition-delay: 0.4s;
}
.aos-delay-5 {
  transition-delay: 0.5s;
}
.aos-delay-6 {
  transition-delay: 0.6s;
}
.aos-delay-7 {
  transition-delay: 0.7s;
}
.aos-delay-8 {
  transition-delay: 0.8s;
}

/* Sobre: animação mais suave (y: 30 + easing) */
#sobre .sobre__aos {
  transition:
    opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#sobre .sobre__aos-card {
  transition:
    opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sobre: cards aparecem 1 de cada vez, mais rápido */
#sobre .sobre__card:nth-child(1) {
  transition-delay: 0s;
}
#sobre .sobre__card:nth-child(2) {
  transition-delay: 0.25s;
}
#sobre .sobre__card:nth-child(3) {
  transition-delay: 0.5s;
}
#sobre .sobre__card:nth-child(4) {
  transition-delay: 0.75s;
}
#sobre .sobre__card:nth-child(5) {
  transition-delay: 1s;
}
#sobre .sobre__card:nth-child(6) {
  transition-delay: 1.25s;
}

/* Objetivos: animação com stagger 0.08s (como no original) */
#objetivos .section__title,
#objetivos .objetivos__line {
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#objetivos .objetivos__aos-card {
  transition:
    opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#objetivos .objetivos__card:nth-child(1) {
  transition-delay: 0.08s;
}
#objetivos .objetivos__card:nth-child(2) {
  transition-delay: 0.16s;
}
#objetivos .objetivos__card:nth-child(3) {
  transition-delay: 0.24s;
}
#objetivos .objetivos__card:nth-child(4) {
  transition-delay: 0.32s;
}
#objetivos .objetivos__card:nth-child(5) {
  transition-delay: 0.4s;
}
#objetivos .objetivos__card:nth-child(6) {
  transition-delay: 0.48s;
}

/* ============================================
   Botões
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

/* CTA: hover brightness, cor do texto não muda */
.btn--cta {
  background: var(--cta);
  color: var(--cta-foreground);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn--cta:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground);
}

/* Outline (hero): fundo e borda ao passar o mouse */
.btn--outline {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--primary-foreground);
}

.btn--light {
  background: var(--cta);
  color: var(--cta-foreground);
}

.btn--light:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Secondary: hover brightness (como Manual no original) */
.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn--secondary:hover {
  filter: brightness(1.1);
  color: var(--secondary-foreground);
}

/* ============================================
   SECTIONS genéricas
   ============================================ */

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

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

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

.section--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__title--light {
  color: var(--primary-foreground);
}

.section__line {
  width: 5rem;
  height: 4px;
  margin: 0 auto 2rem;
  border-radius: 9999px;
}

.section__line--primary {
  background: var(--primary);
}
.section__line--secondary {
  background: var(--secondary);
}
.section__line--accent {
  background: var(--accent);
}

.section__lead {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section__lead {
    font-size: 1.125rem;
  }
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.8);
}

.section__lead + .section__lead {
  margin-bottom: 3rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   SOBRE — cards em grid
   ============================================ */

.sobre__line {
  margin-bottom: 2rem;
}

.sobre__lead {
  margin-bottom: 1.5rem;
}
.sobre__lead--last {
  margin-bottom: 3rem;
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0;
}

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

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

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

.sobre__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: hsla(210, 20%, 96%, 0.5);
  text-align: center;
  transition: box-shadow 0.2s;
  min-height: 0;
}

@media (min-width: 400px) {
  .sobre__card {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .sobre__card {
    padding: 1.5rem;
  }
}

.sobre__card:hover {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.sobre__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: hsla(213, 70%, 25%, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.sobre__card-icon .icon {
  width: 1.375rem;
  height: 1.375rem;
}

@media (min-width: 400px) {
  .sobre__card-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.625rem;
  }
  .sobre__card-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (min-width: 768px) {
  .sobre__card-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.75rem;
  }
  .sobre__card-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.sobre__card-label {
  font-family: "Montserrat", sans-serif;
  text-wrap: nowrap;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--foreground);
  line-height: 1.35;
  word-break: break-word;
}

@media (min-width: 400px) {
  .sobre__card-label {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .sobre__card-label {
    font-size: 0.875rem;
  }
}

/* ============================================
   OBJETIVOS — cards
   ============================================ */

.objetivos__line {
  margin-bottom: 3rem;
}

.objetivos__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0;
}

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

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

.objetivos__card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsla(214, 20%, 90%, 0.5);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: box-shadow 0.2s;
}
.objetivos__card:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.objetivos__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: hsla(152, 55%, 38%, 0.1);
  color: var(--secondary);
}
.objetivos__card-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.objetivos__card p {
  margin: 0;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .objetivos__card p {
    font-size: 1rem;
  }
}

@media (max-width: 639px) {
  .objetivos__card p {
    text-align: left;
  }
}

/* ============================================
   PARTICIPAÇÃO
   ============================================ */

.participacao__line {
  margin-bottom: 3rem;
}

.participacao__grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 2rem;
}

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

.participacao__card {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid transparent;
}
.participacao__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.participacao__card--estudantes .participacao__card-icon {
  background: hsla(213, 70%, 25%, 0.1);
  color: var(--primary);
}
.participacao__card--professores .participacao__card-icon {
  background: hsla(152, 55%, 38%, 0.1);
  color: var(--secondary);
}
.participacao__card-icon .icon {
  width: 2rem;
  height: 2rem;
}

.participacao__card--estudantes {
  background: hsla(213, 70%, 25%, 0.05);
  border-color: hsla(213, 70%, 25%, 0.2);
}

.participacao__card--professores {
  background: hsla(152, 55%, 38%, 0.05);
  border-color: hsla(152, 55%, 38%, 0.2);
}

.participacao__card--uespi-pit .participacao__card-icon {
  background: hsla(270, 60%, 45%, 0.1);
  color: hsl(270, 60%, 45%);
}

.participacao__card--uespi-pit {
  background: hsla(270, 60%, 45%, 0.05);
  border-color: hsla(270, 60%, 45%, 0.2);
}

.participacao__card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.participacao__card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.participacao__info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsla(40, 95%, 55%, 0.1);
  border: 1px solid hsla(40, 95%, 55%, 0.3);
}
.participacao__info-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.participacao__info-icon .icon {
  color: var(--accent);
}
.participacao__info-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ============================================
   LINHA DO TEMPO
   ============================================ */

.timeline__line {
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
  }
}
.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .timeline__item {
    align-items: center;
    margin-bottom: 3rem;
  }
  .timeline__item:last-child {
    margin-bottom: 0;
  }
}
.timeline__content {
  flex: 1;
  min-width: 0;
}
.timeline__content--right {
  order: 3;
}
@media (min-width: 768px) {
  .timeline__content--left {
    padding-right: 2rem;
  }
  .timeline__content--left .timeline__card {
    text-align: right;
  }
  .timeline__content--right {
    padding-left: 2rem;
  }
  .timeline__content--left:empty,
  .timeline__content--right:empty {
    min-height: 0;
  }
}

.timeline__card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsla(214, 20%, 90%, 0.5);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.timeline__card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}
.timeline__card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.timeline__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  z-index: 1;
}
@media (min-width: 768px) {
  .timeline__dot {
    margin: 0 auto;
  }
}
.timeline__dot .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   CRITÉRIOS DE CLASSIFICAÇÃO
   ============================================ */

#criterios .container,
#criterios .container--narrow {
  max-width: 56rem;
}

.criterios__line {
  margin-bottom: 2.5rem;
}

.criterios__box {
  background: hsla(210, 20%, 96%, 0.5);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .criterios__box {
    padding: 2.5rem;
  }
}

.criterios__text {
  color: var(--muted-foreground);
  line-height: 1.625;
  margin: 0 0 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.criterios__text:last-of-type {
  margin-bottom: 1rem;
}

.criterios__destaque {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.criterios__destaque .icon {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.criterios__destaque span {
  min-width: 0;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767px) {
  .criterios__box {
    padding: 1.5rem 1.25rem;
  }

  .criterios__text {
    font-size: 0.9375rem;
  }

  .criterios__destaque {
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 0.9375rem;
  }

  .criterios__destaque span {
    text-align: center;
  }
}

/* ============================================
   DOCUMENTAÇÃO
   ============================================ */

.documentacao__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.documentacao__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.875rem;
}
.documentacao__list li .icon {
  color: var(--secondary);
}

@media (min-width: 768px) {
  .documentacao__list li {
    font-size: 1rem;
  }
}

/* ============================================
   CRONOGRAMA
   ============================================ */

#cronograma .section__title {
  margin-bottom: 1rem;
}

#cronograma .section__line {
  margin-bottom: 2.5rem;
}

.cronograma__grid {
  display: grid;
  gap: 1rem;
}

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

.cronograma__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(214, 20%, 90%, 0.5);
  background: var(--card);
  min-width: 0;
}

.cronograma__item--active {
  background: hsla(213, 70%, 25%, 0.05);
  border-color: hsla(213, 70%, 25%, 0.3);
}

.cronograma__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--muted);
  color: var(--muted-foreground);
}

.cronograma__item--active .cronograma__icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.cronograma__icon .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.cronograma__date {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.cronograma__item--active .cronograma__date {
  color: var(--primary);
}

.cronograma__title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  margin: 0;
}

/* ============================================
   EDITAL (section primary)
   ============================================ */

#edital .edital__container {
  text-align: center;
}

.edital__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.edital__icon .icon {
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.6);
}

#edital .section__title {
  margin-bottom: 1rem;
}

#edital .section__lead {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
}

.edital__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  background: var(--cta);
  color: var(--cta-foreground);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.edital__btn:hover {
  filter: brightness(1.1);
  color: var(--cta-foreground);
}

.edital__btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ============================================
   DESTINOS
   ============================================ */

.destinos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.destinos__grid .destinos__card {
  width: 100%;
}

@media (min-width: 640px) {
  .destinos__grid .destinos__card {
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .destinos__grid .destinos__card {
    width: calc(25% - 1.125rem);
  }
}

.destinos__card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.destinos__card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.destinos__flag {
  width: 5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin: 0 auto 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.destinos__card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.destinos__card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   GALERIA
   ============================================ */

.galeria__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .galeria__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.galeria__card {
  background: var(--hero-dark);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.galeria__card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.galeria__card:hover .galeria__img {
  transform: scale(1.05);
}
.galeria__img-wrap {
  height: 12rem;
  overflow: hidden;
}
.galeria__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galeria__body {
  padding: 1.5rem;
}
.galeria__body h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}
.galeria__body h3 .icon {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.galeria__card:hover .galeria__body h3 .icon {
  opacity: 1;
}

/* Galeria: animação ao rolar (como no original — opacity + y: 20, delay i * 0.1) */
#galeria .galeria__card {
  transition:
    opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease;
}
#galeria .galeria__card:nth-child(1) {
  transition-delay: 0s;
}
#galeria .galeria__card:nth-child(2) {
  transition-delay: 0.1s;
}
#galeria .galeria__card:nth-child(3) {
  transition-delay: 0.2s;
}
#galeria .galeria__card:hover {
  transition-delay: 0s;
}
.galeria__body p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============================================
   MANUAL DO INTERCAMBISTA
   ============================================ */

.manual__grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 640px) {
  .manual__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.manual__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-weight: 500;
  color: var(--foreground);
}
.manual__item .icon {
  color: var(--primary);
}
.manual__cta {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   FAQ (details/summary)
   ============================================ */

#faq .faq__container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

#faq .section__title {
  margin-bottom: 1rem;
}

#faq .section__line {
  margin-bottom: 2.5rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid hsla(214, 20%, 90%, 0.5);
  border-radius: 0.75rem;
  background: var(--card);
  overflow: hidden;
  padding: 0 1.5rem;
}

.faq__question {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  transition: color 0.2s;
}

.faq__question-text {
  flex: 1;
  min-width: 0;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__item:hover .faq__question {
  color: var(--primary);
}

.faq__answer {
  margin: 0;
  padding: 0 0 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  font-size: 1rem;
}

/* ============================================
   CTA (inscreva-se)
   ============================================ */

.section--cta {
  position: relative;
  padding: var(--section-padding-y) var(--section-padding-x);
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 40, 0.8);
}

.cta__content {
  position: relative;
  z-index: 5;
  text-align: center;
}

.cta__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta__title-br {
  display: none;
}

@media (min-width: 768px) {
  .cta__title {
    font-size: 3rem;
  }
  .cta__title-br {
    display: block;
  }
}

.cta__highlight {
  color: var(--accent);
}

.cta__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta__actions {
    flex-direction: row;
  }
}

.cta__btn-primary {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: cta-pulse-glow 2.5s ease-in-out infinite;
}

@keyframes cta-pulse-glow {
  0%,
  100% {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 10px 35px rgba(56, 107, 175, 0.4);
  }
}

/* Outline claro (CTA "Ver Edital"): mesmo padrão do outline do hero */
.btn--outline-light {
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--primary-foreground);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--primary-foreground);
}

.cta__logo {
  margin-top: 2rem;
  height: 2rem;
  width: auto;
  opacity: 0.6;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SUPORTE
   ============================================ */

.suporte__container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.suporte__container .section__line {
  margin-bottom: 2.5rem;
}

.suporte__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0;
}
@media (min-width: 640px) {
  .suporte__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.suporte__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid hsla(214, 20%, 90%, 0.5);
  text-align: center;
  transition: box-shadow 0.2s;
}
.suporte__card:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.suporte__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.suporte__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.suporte__icon--primary {
  background: hsla(213, 70%, 25%, 0.1);
  color: var(--primary);
}
.suporte__icon--secondary {
  background: hsla(152, 55%, 38%, 0.1);
  color: var(--secondary);
}
.suporte__label {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
}
.suporte__value {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.footer {
  background: var(--hero-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 1rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__logo {
  height: 3rem;
  width: auto;
  flex-shrink: 0;
}

.footer__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-foreground);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.footer__block h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.footer__block ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__block a {
  font-size: 0.875rem;
  color: inherit;
  transition: color 0.2s;
}

.footer__block a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  font-size: 0.75rem;
  margin: 0;
}

.footer__logo-seduc {
  height: 2rem;
  width: auto;
  opacity: 0.8;
}

/* ============================================
   RESPONSIVO — CELULAR / TABLETS PEQUENOS
   ============================================ */

/* Telas até 767px (mobile / tablet portrait) */
@media (max-width: 767px) {
  .nav__brand {
    gap: 0.5rem;
  }

  .nav__logo-programa {
    height: 2rem;
    max-width: 120px;
    object-fit: contain;
    object-position: left center;
  }

  .nav__toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .nav__dropdown a {
    padding: 0.75rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav__dropdown-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 4rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__content {
    padding: 2.5rem 0 2rem;
  }

  .hero__logo {
    height: 10rem;
    margin-bottom: 1.5rem;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .hero__badges {
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
    margin-bottom: 2rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero__countdown-grid {
    gap: 0.5rem;
  }

  .hero__countdown-item {
    min-width: 58px;
    padding: 0.5rem 0.25rem;
  }

  .hero__countdown-value {
    font-size: 1.25rem;
  }

  .hero__countdown-unit {
    font-size: 0.5625rem;
  }

  .hero__scroll {
    margin-top: 2rem;
  }

  .hero__blur--1,
  .hero__blur--2 {
    display: none;
  }

  .section__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .section__line {
    margin-bottom: 1.5rem;
  }

  .section__lead {
    font-size: 0.9375rem;
  }

  .objetivos__card {
    padding: 1.25rem;
  }

  .objetivos__card p {
    font-size: 0.875rem;
  }

  .participacao__grid {
    gap: 1rem;
  }

  .participacao__card {
    padding: 1.5rem;
  }

  .participacao__info {
    padding: 1rem;
  }

  .timeline__item {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .timeline__item:last-child {
    margin-bottom: 0;
  }

  .timeline__content {
    flex: 1 1 100%;
    order: 2;
  }

  .timeline__content--right:empty {
    display: none;
  }

  .timeline__dot {
    order: 1;
    flex: 0 0 auto;
    margin: 0 0 0.25rem;
  }

  .timeline__content--left .timeline__card {
    text-align: left;
  }

  .timeline__card {
    padding: 1rem;
  }

  .timeline__card h3 {
    font-size: 1rem;
  }

  .timeline__card p {
    font-size: 0.875rem;
  }

  .documentacao__list li {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .cronograma__item {
    padding: 1rem;
  }

  .edital__btn {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
    min-height: 48px;
  }

  .destinos__card {
    padding: 1.25rem;
  }

  .destinos__card h3 {
    font-size: 1.125rem;
  }

  .destinos__card p {
    font-size: 0.875rem;
  }

  .galeria__grid {
    gap: 1rem;
  }

  .galeria__card {
    min-height: 0;
  }

  .galeria__body h3 {
    font-size: 1rem;
  }

  .galeria__body p {
    font-size: 0.875rem;
  }

  .manual__grid {
    gap: 0.75rem;
  }

  .manual__item {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .manual__cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .faq__item {
    padding: 0 1rem;
  }

  .faq__question {
    padding: 1rem 0;
    font-size: 0.9375rem;
  }

  .faq__answer {
    padding: 0 0 1rem;
    font-size: 0.9375rem;
  }

  .cta__title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .cta__subtitle {
    font-size: 0.6875rem;
  }

  .cta__actions {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .cta__logo {
    margin-top: 1.5rem;
    height: 1.75rem;
  }

  .suporte__card {
    padding: 1.25rem;
  }

  .suporte__value {
    word-break: break-word;
    font-size: 0.8125rem;
  }

  main {
    overflow-x: hidden;
  }

  .footer__grid {
    gap: 1.5rem;
    text-align: center;
  }

  .footer__brand-head {
    justify-content: center;
  }

  .footer__block h3 {
    font-size: 0.9375rem;
  }

  .footer__block ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* Telas muito pequenas (até 480px) */
@media (max-width: 480px) {
  .hero__logo {
    height: 8rem;
  }

  .hero__countdown-item {
    min-width: 52px;
    padding: 0.4rem 0.2rem;
  }

  .hero__countdown-value {
    font-size: 1.125rem;
  }

  .hero__countdown-unit {
    font-size: 0.5rem;
  }

  .section__title {
    font-size: 1.375rem;
  }

  .cta__title {
    font-size: 1.25rem;
  }

  .nav__logo-programa {
    max-width: 100px;
  }
}

/* ============================================
   Modal de Galeria
   ============================================ */

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.gallery-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.gallery-modal__content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  max-height: 800px;
  margin: 5% auto;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

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

.gallery-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}

.gallery-modal__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.gallery-modal__close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal__close:hover {
  background: var(--border);
  color: var(--foreground);
}

.gallery-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.gallery-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-modal__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-modal__item:hover {
  transform: scale(1.05);
}

.gallery-modal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-modal__item:hover img {
  transform: scale(1.1);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  .gallery-modal__content {
    width: 95%;
    height: 95%;
    margin: 2.5% auto;
  }
  
  .gallery-modal__header {
    padding: 1rem;
  }
  
  .gallery-modal__title {
    font-size: 1.25rem;
  }
  
  .gallery-modal__body {
    padding: 1rem;
  }
  
  .gallery-modal__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-modal__content {
    width: 98%;
    height: 98%;
    margin: 1% auto;
  }
  
  .gallery-modal__header {
    padding: 0.75rem;
  }
  
  .gallery-modal__title {
    font-size: 1.125rem;
  }
  
  .gallery-modal__body {
    padding: 0.75rem;
  }
  
  .gallery-modal__grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
  }
}
