/* ============================================
   VESTIBULAR INVERNO 2026 — IFSul Campus PF
   Design System & Styles (Auto-contido)
   ============================================ */

/* --- Design Tokens --- */
:root {
  --vest-blue-deep: #1a3a8a;
  --vest-blue-primary: #2b5bcc;
  --vest-blue-medium: #4a8fd4;
  --vest-blue-light: #7cb8e8;
  --vest-blue-sky: #a8d8f0;
  --vest-blue-pale: #dceefb;
  --vest-orange: #c8191e; /* Changed to IFSul Red */
  --vest-orange-light: #e61c22;
  --vest-white: #ffffff;
  --vest-dark: #1a1a2e;
  --vest-gray: #4a5568;
  --vest-gray-light: #e2e8f0;
  --ifsul-green: #2f9e41; /* Official IFSul Green */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(26, 58, 138, 0.10);
  --shadow-hover: 0 8px 32px rgba(26, 58, 138, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--vest-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--vest-white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: -56px;
  z-index: 100;
  background: var(--vest-dark);
  color: var(--vest-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus-visible {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility: Section --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--vest-blue-primary);
  background: var(--vest-blue-pale);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--vest-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--vest-gray);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--vest-orange);
  color: var(--vest-white);
  box-shadow: 0 4px 16px rgba(232, 77, 26, 0.3);
}
.btn-primary:hover {
  background: var(--vest-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 77, 26, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--vest-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--vest-white);
}

.btn-outline {
  background: transparent;
  color: var(--vest-blue-primary);
  border: 2px solid var(--vest-blue-primary);
}
.btn-outline:hover {
  background: var(--vest-blue-primary);
  color: var(--vest-white);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.section-nav a:focus-visible,
.curso-site-link:focus-visible,
.overview-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(47, 158, 65, 0.45);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Utilities --- */
.rounded-image {
  border-radius: var(--radius-lg);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.shadow-lg {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.mb-4 {
  margin-bottom: 24px;
}

/* --- HEADER --- */
.header {
  position: static;
  background: var(--vest-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
  padding: 16px 0;
  z-index: 10;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, var(--ifsul-green), var(--vest-orange)) 1;
}
.header-logo {
  height: 120px;
  width: auto;
  max-width: min(100%, 420px);
}

.section-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--vest-gray-light);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.section-nav-links {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--vest-gray-light);
  background: var(--vest-white);
  color: var(--vest-blue-deep);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition);
}

.section-nav a:hover {
  border-color: var(--vest-blue-light);
  background: var(--vest-blue-pale);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--vest-blue-deep) 0%, var(--vest-blue-primary) 50%, var(--vest-blue-medium) 100%);
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,64C960,53,1056,43,1152,42.7C1248,43,1344,53,1392,58.7L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 2;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.hero-bg-shapes span:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; background: rgba(200, 25, 30, 0.15); }
.hero-bg-shapes span:nth-child(2) { width: 250px; height: 250px; bottom: 60px; left: -80px; background: rgba(47, 158, 65, 0.2); }
.hero-bg-shapes span:nth-child(3) { width: 150px; height: 150px; top: 40%; left: 30%; background: rgba(255, 255, 255, 0.05); }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero-content {
  color: var(--vest-white);
  max-width: 540px;
}

.hero-badge-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--vest-blue-sky);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--vest-orange);
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 8px;
  line-height: 1.6;
}

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--vest-white);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  color: var(--vest-white);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.hero-contact-links {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 560px;
}

.hero-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-social-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--vest-white);
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5 100%);
}

.hero-social-link strong,
.hero-social-link small {
  display: block;
}

.hero-social-link strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-social-link small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.hero-social-link-whatsapp {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.hero-social-link-whatsapp:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
}

.hero-social-icon-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  width: min(100%, 560px);
  max-height: 400px;
  object-fit: cover;
}

/* --- COUNTDOWN --- */
.countdown {
  background: linear-gradient(135deg, var(--vest-blue-pale) 0%, var(--vest-white) 100%);
  padding: 48px 0;
  text-align: center;
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vest-blue-deep);
  margin-bottom: 20px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--vest-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  min-width: 90px;
  box-shadow: var(--shadow-card);
}

.countdown-item .number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--vest-blue-deep);
  line-height: 1;
}

.countdown-item .label {
  display: block;
  font-size: 0.75rem;
  color: var(--vest-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.countdown-expired {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vest-orange);
}

.countdown-helper {
  margin-top: 16px;
  color: var(--vest-gray);
  font-size: 0.92rem;
}

/* --- VISÃO GERAL --- */
.process-overview {
  background: var(--vest-white);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--vest-white) 0%, #f7fbff 100%);
  border: 1px solid var(--vest-gray-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--vest-blue-light);
}

.overview-eyebrow {
  color: var(--vest-blue-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.overview-card h3 {
  font-size: 1.2rem;
  color: var(--vest-dark);
}

.overview-card p {
  color: var(--vest-gray);
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vest-blue-primary);
  font-weight: 700;
}

/* --- CURSOS --- */
.cursos { background: var(--vest-white); }

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.curso-card {
  background: var(--vest-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--vest-gray-light);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.curso-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--vest-blue-light);
}

.curso-card-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.curso-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--vest-blue-pale);
  color: var(--vest-blue-primary);
}

.curso-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vest-dark);
  margin-bottom: 4px;
}

.curso-tipo {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.curso-tipo.tecnico { color: var(--vest-blue-medium); }
.curso-tipo.graduacao { color: var(--ifsul-green); }

.curso-card-body {
  padding: 0 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curso-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.curso-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--vest-gray);
}
.curso-detail i { color: var(--vest-blue-primary); font-size: 0.9rem; }

.curso-ingresso {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-top: auto;
  width: fit-content;
}
.curso-ingresso.sorteio {
  background: #fef3cd;
  color: #856404;
}
.curso-ingresso.redacao {
  background: #d4edda;
  color: #155724;
}

.curso-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--vest-blue-deep);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color var(--transition);
}

.curso-site-link:hover {
  color: var(--vest-blue-primary);
}

/* --- DIFERENCIAIS --- */
.diferenciais {
  background: linear-gradient(180deg, var(--vest-blue-pale) 0%, var(--vest-white) 100%);
}

.diff-wrapper {
  display: block;
}

.diff-visual img {
  width: 100%;
  max-height: 500px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.diff-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--vest-white);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border-bottom: 4px solid var(--ifsul-green);
}
.diff-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--vest-orange);
}

.diff-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--vest-blue-pale);
  color: var(--vest-blue-primary);
}

.diff-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--vest-dark);
}

.diff-item p {
  font-size: 0.88rem;
  color: var(--vest-gray);
  line-height: 1.5;
}

/* --- CRONOGRAMA --- */
.cronograma { background: var(--vest-white); }

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--vest-blue-light);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 18px 24px 18px 22px;
  margin-bottom: 18px;
  background: var(--vest-white);
  border: 1px solid var(--vest-gray-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -42px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vest-blue-primary);
  border: 3px solid var(--vest-white);
  box-shadow: 0 0 0 3px var(--vest-blue-light);
}
.timeline-item.active .timeline-dot {
  background: var(--vest-orange);
  box-shadow: 0 0 0 3px rgba(232, 77, 26, 0.3);
}
.timeline-item.done .timeline-dot {
  background: var(--ifsul-green);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--vest-blue-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vest-dark);
  margin: 4px 0 2px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--vest-gray);
}

/* --- FAQ --- */
.faq {
  background: linear-gradient(180deg, var(--vest-white) 0%, var(--vest-blue-pale) 100%);
}

.faq-layout {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.faq-visual img {
  width: 100%;
  max-height: 500px;
}

.faq-list {
  width: 100%;
}

.faq-item {
  border: 1px solid var(--vest-gray-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--vest-white);
  transition: all var(--transition);
}
.faq-item[open] {
  border-color: var(--vest-blue-light);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vest-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--vest-blue-primary);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--vest-gray);
  line-height: 1.7;
}

/* --- CTA FINAL --- */
.cta-final {
  background: linear-gradient(135deg, var(--vest-blue-deep) 0%, var(--vest-blue-primary) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--vest-white);
  position: relative;
  overflow: hidden;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23dceefb' d='M0,32L80,37.3C160,43,320,53,480,48C640,43,800,21,960,16C1120,11,1280,21,1360,26.7L1440,32L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'/%3E%3C/svg%3E") no-repeat top center;
  background-size: cover;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn-primary {
  font-size: 1.15rem;
  padding: 18px 40px;
}

.cta-support-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.cta-support-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.cta-support-links a:hover {
  color: var(--vest-white);
  border-color: rgba(255, 255, 255, 0.78);
}

/* --- FOOTER --- */
.footer {
  background: var(--vest-white);
  color: var(--vest-gray);
  border-top: 1px solid var(--vest-gray-light);
  padding: 60px 0 32px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-logo {
  height: 90px;
  width: auto;
  opacity: 1;
  transition: opacity var(--transition);
}
.footer-logo:hover {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--vest-blue-primary);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--vest-blue-deep); }

.footer-campus {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #596273;
}

.mobile-cta-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.18);
  border: 1px solid rgba(124, 184, 232, 0.35);
  backdrop-filter: blur(14px);
  z-index: 40;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-cta-primary {
  background: var(--vest-orange);
  color: var(--vest-white);
}

.mobile-cta-secondary {
  background: var(--vest-blue-pale);
  color: var(--vest-blue-deep);
}

.mobile-cta-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  .section-nav {
    position: static;
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-highlights { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .hero-banner { max-height: 280px; }
  .overview-grid { grid-template-columns: 1fr; }
  .cursos-grid { grid-template-columns: 1fr; }
  .diff-wrapper { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
}

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

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .header-logo { height: 88px; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-highlights li {
    width: auto;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px 12px;
  }
  .hero-note {
    margin-top: 14px;
    font-size: 0.85rem;
  }
  .hero-social-link {
    width: 100%;
    text-align: left;
  }
  .hero-contact-links {
    width: 100%;
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
  .diff-grid { grid-template-columns: 1fr; }
  .countdown-item { min-width: 72px; padding: 14px 16px; }
  .countdown-item .number { font-size: 1.8rem; }
  .curso-details { grid-template-columns: 1fr; }
  .footer { padding-bottom: 108px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .cta-support-links {
    flex-direction: column;
    gap: 10px;
  }
  .mobile-cta-bar { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
