/* ==========================================================================
   GRUPO ULTRA - PROGRAMA DE ESTÁGIO ULTRA.TECH 2027 LANDING PAGE
   Typography: Inter (Google Fonts)
   High Fidelity Implementation with Official Assets
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  /* Brand Color Palette */
  --color-ultra-navy: #00458C;
  --color-ultra-navy-kv: #1E4786;
  --color-ultra-navy-dark: #002B59;
  --color-ultra-navy-light: #0B56A8;
  --color-ultra-teal: #2FB8AB;
  --color-ultra-teal-light: #5CE1E6;
  --color-ultra-teal-dark: #1E8278;
  --color-ultra-cyan: #00BFB3;
  --color-ultra-cyan-hover: #38DED2;
  --color-tech-blue: #29B6F6;
  --color-tech-blue-bright: #5CE1FF;
  --color-tech-blue-deep: #0088FF;
  --tech-box-border: 1.5px solid #FFFFFF;
  --tech-box-glow: 0 0 14px rgba(41, 182, 246, 0.8), 0 0 32px rgba(0, 136, 255, 0.5), inset 0 0 16px rgba(41, 182, 246, 0.35);
  --tech-box-glow-hover: 0 0 20px rgba(92, 225, 255, 0.98), 0 0 42px rgba(0, 136, 255, 0.72), inset 0 0 22px rgba(41, 182, 246, 0.48);
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-900: #0F172A;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 56, 108, 0.12);
  --shadow-lg: 0 16px 36px rgba(0, 56, 108, 0.18);
  --container-max-width: 1140px;
  --holding-wave-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url('../logos/ultra_cursor.svg') 16 16, auto;
}

body {
  font-family: var(--font-main);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  line-height: 1.55;
  overflow-x: hidden;
  cursor: url('../logos/ultra_cursor.svg') 16 16, auto;
}

img, svg {
  max-width: 100%;
  display: block;
}

a, button, input[type="submit"], input[type="button"], [role="button"],
.btn-cta, .btn-floating-cta, .jornada-card, .jornada-nav-btn, .jornada-dot,
.area-card, .area-card-wrapper, .estrutura-card, .faq-question, .footer-link, .hero-logo-link, .hero-nav-link {
  cursor: url('../logos/ultra_cursor.svg') 16 16, pointer;
}

@media (pointer: fine) {
  html.has-tech-cursor,
  html.has-tech-cursor *,
  html.has-tech-cursor a,
  html.has-tech-cursor button,
  html.has-tech-cursor [role="button"] {
    cursor: none !important;
  }
}

/* Custom Lit Dot Cursor & Fading Drag Stroke Canvas */
.tech-cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
}

.tech-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 35%, #5CE1FF 75%, rgba(41, 182, 246, 0.2) 100%);
  border: 1.5px solid #FFFFFF;
  box-shadow:
    0 0 8px #FFFFFF,
    0 0 16px #29B6F6,
    0 0 28px rgba(0, 136, 255, 0.9);
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.tech-cursor-dot.is-hovering {
  width: 18px;
  height: 18px;
  box-shadow:
    0 0 10px #FFFFFF,
    0 0 22px #5CE1FF,
    0 0 38px #0088FF;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

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

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

/* ==========================================================================
   1. HERO SECTION (ULTRA.TECH KV)
   ========================================================================== */
:root {
  --hero-wave-height: clamp(80px, 7vw, 110px);
}

.hero-section {
  position: relative;
  background: #000000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-path-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../logos/ultra_path.svg') no-repeat center clamp(40px, 7vw, 130px) / cover;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.hero-container {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 48px;
  max-width: 1280px;
}

.hero-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.hero-logo-link {
  display: inline-block;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.hero-logo-link:hover {
  transform: translateY(-2px);
}

.hero-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition-fast);
}

.hero-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-ultra-cyan);
  border-radius: 99px;
  transition: width var(--transition-fast);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-content {
  position: relative;
  max-width: 560px;
}

.hero-title-wrapper {
  margin-top: 12px;
  margin-bottom: 24px;
}

.hero-title {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.hero-title .hero-title-img,
.hero-title-img {
  width: 100%;
  max-width: clamp(320px, 36vw, 480px);
  height: auto;
  display: block;
  margin-left: 0;
  transform: translateX(-8.553%);
  filter: drop-shadow(0 8px 24px rgba(0, 15, 40, 0.35));
}

.hero-tagline {
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-top: clamp(20px, 2.2vw, 28px);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-main);
  font-size: clamp(0.98rem, 1.18vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 520px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 27, 62, 0.65);
  border: 1.5px solid #FFFFFF;
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(41, 182, 246, 0.75), 0 0 26px rgba(0, 136, 255, 0.45), inset 0 0 12px rgba(41, 182, 246, 0.3);
}

.hero-deadline-badge strong {
  color: var(--color-tech-blue-bright);
  font-weight: 700;
}

.deadline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--color-tech-blue-bright);
  box-shadow: 0 0 8px #FFFFFF, 0 0 14px var(--color-tech-blue);
  flex-shrink: 0;
}

.hero-content .btn-cta {
  margin-top: 4px;
}

.hero-brands-bar {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-brand-logo {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

.hero-brand-ipiranga {
  height: 24px;
}

.hero-brand-ultragaz {
  height: 17px;
  transform: translateY(2px);
}

.hero-brand-ultracargo {
  height: 28px;
  transform: translateY(1.6px);
}

.hero-brand-hidrovias {
  height: 34px;
  transform: translateY(8px);
}

.hero-brand-logo:hover {
  opacity: 1;
}

.hero-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.hero-photo-img {
  width: 100%;
  max-width: 590px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 38px rgba(0, 20, 50, 0.4));
  transition: transform var(--transition-normal);
}

.hero-photo-img:hover {
  transform: translateY(-4px) scale(1.015);
}

/* Button CTA (.tech Light Blue with Thin White Stroke & Blue Glow) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #38B6FF 0%, #0088FF 100%);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 48px;
  border-radius: 9999px;
  border: 1.5px solid #FFFFFF;
  box-shadow:
    0 0 14px rgba(41, 182, 246, 0.85),
    0 0 32px rgba(0, 136, 255, 0.55),
    inset 0 0 14px rgba(255, 255, 255, 0.38);
  text-shadow: 0 1px 6px rgba(0, 35, 85, 0.45);
  transition: all var(--transition-normal);
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #5CE1FF 0%, #199FFF 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 20px rgba(92, 225, 255, 1),
    0 0 42px rgba(0, 136, 255, 0.75),
    inset 0 0 18px rgba(255, 255, 255, 0.55);
}

.btn-cta:active {
  transform: translateY(-1px) scale(0.99);
}

/* ==========================================================================
   2. SOBRE A EMPRESA / HOLDING SECTION
   ========================================================================== */
.holding-section {
  position: relative;
  background-color: var(--color-ultra-navy);
  color: var(--color-white);
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section-eyebrow-cyan {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 10px;
}

.holding-header-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.holding-title-col h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.5px;
}

.holding-text-col p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--color-white);
  margin-bottom: 12px;
  font-weight: 400;
}

.holding-text-col p:last-child {
  margin-bottom: 0;
}

/* Holding Logos Infinite Marquee Carousel */
.holding-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0 0;
  margin-top: 0;
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.holding-carousel-wrapper::before,
.holding-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.holding-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-ultra-navy) 0%, transparent 100%);
}

.holding-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-ultra-navy) 0%, transparent 100%);
}

.holding-carousel-track {
  display: flex;
  width: max-content;
  animation: holdingCarouselScroll 34s linear infinite;
  will-change: transform;
}

.holding-carousel-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  flex-shrink: 0;
}

.holding-carousel-wrapper:hover .holding-carousel-track {
  animation-play-state: paused;
}

.holding-logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 8px;
  opacity: 0.92;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.holding-logo-slide:hover {
  opacity: 1;
  transform: scale(1.08);
}

.holding-logo-slide img {
  height: 36px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  display: block;
  /* Filter to convert all logos in the second section to pure white */
  filter: brightness(0) invert(1) !important;
}

.holding-logo-slide img.logo-tall {
  height: 42px;
}

.holding-logo-slide img.logo-iconic {
  height: 25px;
}

.holding-logo-slide img.holding-logo-ultragaz {
  height: 24px;
  transform: translateY(7.5px);
}

.holding-logo-slide img.holding-logo-hidrovias {
  transform: translateY(5.5px);
}

.logo-white-filter {
  filter: brightness(0) invert(1);
}

@keyframes holdingCarouselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Holding Wave Bottom Transition from wave_small.png */
.holding-wave-bottom {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  background-color: var(--color-ultra-teal);
  margin-top: -1px;
  margin-bottom: -1px;
  z-index: 2;
}

.holding-wave-left-ext {
  width: max(0px, calc(max(24px, (100% - var(--container-max-width)) / 2 + 24px) + 930px - (var(--holding-wave-height) * 1380 / 176)));
  min-width: 0;
  flex-shrink: 0;
  height: var(--holding-wave-height);
  background-color: var(--color-white);
  margin-top: 0;
}

.holding-wave-right-ext {
  flex: 1 1 auto;
  height: var(--holding-wave-height);
  background-color: var(--color-white);
  margin-top: 0;
}

.holding-wave-bottom .holding-wave-img {
  height: var(--holding-wave-height);
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   2.5 VIDEO SECTION (MANIFESTO GRUPO ULTRA - ULTRA GREEN BACKGROUND)
   ========================================================================== */
.video-section {
  padding: 60px 0 75px;
  background-color: var(--color-ultra-teal);
  position: relative;
}

.video-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.video-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--color-ultra-navy-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.video-subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #002B59;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto;
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 43, 89, 0.30), 0 0 30px rgba(0, 43, 89, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: #000000;
}

.video-responsive-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   3. SOBRE O PROGRAMA SECTION (WHITE)
   ========================================================================== */
.job-rotation-section {
  padding: 75px 0 80px;
  background-color: var(--color-white);
  overflow-x: clip;
}

.job-rotation-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 52px;
  align-items: center;
}

.job-rotation-badge {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-ultra-teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.job-rotation-content h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-ultra-navy-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.inline-title-cursor {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.job-rotation-content p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  font-weight: 400;
  margin-bottom: 16px;
}

.job-rotation-content p:last-child {
  margin-bottom: 0;
}

.job-rotation-media {
  position: relative;
  display: flex;
  align-items: center;
}

.card-window-bar {
  display: none !important;
}

.programa-highlight-card {
  width: 100%;
  background: linear-gradient(145deg, #003F82 0%, #00214A 100%);
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: var(--tech-box-border);
  box-shadow: var(--tech-box-glow);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
  will-change: transform, opacity;
}

.js .programa-highlight-card {
  opacity: 0;
  transform: translateX(72px);
}

.programa-highlight-card.is-revealed,
.js .programa-highlight-card.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.programa-highlight-body {
  padding: 32px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.programa-highlight-card.is-revealed:hover {
  transform: translateX(0) translateY(-3px);
  border-color: #FFFFFF;
  box-shadow: var(--tech-box-glow-hover);
}

.highlight-card-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-ultra-teal-light);
  margin-bottom: 8px;
}

.highlight-card-heading {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.unique-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.unique-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.unique-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 191, 179, 0.22);
  border: 1px solid rgba(92, 225, 230, 0.55);
  color: var(--color-ultra-teal-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   4. ESTRUTURA DE DESENVOLVIMENTO SECTION (ARC / FAN CARDS DYNAMICS)
   ========================================================================== */
.jornada-section {
  background: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
  padding: 85px 0 115px;
  position: relative;
  overflow: visible;
  overflow-x: clip;
}

.jornada-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

.jornada-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 840px;
  margin-bottom: 40px;
}

.jornada-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-ultra-navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.jornada-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--color-ultra-cyan);
}

.jornada-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-ultra-navy-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.jornada-subtitle {
  font-size: 1.05rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  max-width: 740px;
}

/* Carousel Wrapper */
.jornada-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 70px;
  overflow: visible;
}

/* Track holding the slots */
.jornada-cards-track {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  overflow: visible;
}

/* Individual Slot in the Track */
.jornada-card-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -210px; /* half of 420px height */
  margin-left: -142.5px; /* half of 285px width */
  width: 285px;
  height: 420px;
  transform-origin: center bottom;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, z-index 0.45s step-start;
  user-select: none;
  -webkit-user-select: none;
}

/* Card Element */
.jornada-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  background: linear-gradient(145deg, #0059A8 0%, #00458C 100%);
  box-shadow: 0 10px 30px rgba(0, 69, 140, 0.20);
  transition: box-shadow 0.35s ease, filter 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  outline: none;
}

.jornada-card:focus-visible {
  border-color: var(--color-ultra-cyan);
}

.jornada-card:hover:not(.is-active) {
  filter: brightness(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Card Background Image */
.jornada-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s ease;
  opacity: 0.35;
  z-index: 0;
}

.jornada-card.is-active .jornada-card-bg {
  opacity: 0.95;
}

/* Card Overlay Mask */
.jornada-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 89, 168, 0.65) 0%, rgba(0, 69, 140, 0.90) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.jornada-card.is-active .jornada-card-overlay {
  background: linear-gradient(180deg, rgba(0, 30, 70, 0.22) 0%, rgba(0, 20, 45, 0.85) 70%, rgba(0, 15, 35, 0.96) 100%);
}

.jornada-card.is-active {
  background-color: var(--color-ultra-navy-dark);
  box-shadow: 0 20px 48px rgba(0, 40, 90, 0.35), 0 0 0 2px rgba(0, 181, 165, 0.4);
  border-color: rgba(0, 181, 165, 0.6);
}

/* Card Content */
.jornada-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: calc(100% - 25px);
  padding: 20px 22px 22px;
  color: var(--color-white);
  box-sizing: border-box;
}

.jornada-card-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: auto;
  letter-spacing: -1px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.jornada-card.is-active .jornada-card-number {
  opacity: 1;
  color: var(--color-ultra-cyan);
}

.jornada-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 12px;
  opacity: 0.7;
  transition: opacity 0.3s ease, font-size 0.3s ease;
}

.jornada-card.is-active .jornada-card-title {
  opacity: 1;
  font-size: 1.32rem;
}

.jornada-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.6;
  margin: 0;
  transition: opacity 0.3s ease;
}

.jornada-card.is-active .jornada-card-desc {
  opacity: 1;
  color: var(--color-white);
}

/* Navigation Buttons (Left/Right) */
.jornada-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ultra-navy-dark);
  border: 1px solid rgba(0, 40, 85, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 30, 60, 0.15);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 25;
}

.jornada-nav-btn:hover {
  background: var(--color-ultra-cyan);
  color: var(--color-white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 181, 165, 0.35);
}

.jornada-nav-prev {
  left: 20px;
}

.jornada-nav-next {
  right: 20px;
}

@media (min-width: 1300px) {
  .jornada-nav-prev {
    left: calc(50% - 560px);
  }
  .jornada-nav-next {
    right: calc(50% - 560px);
  }
}

/* Pagination Dots */
.jornada-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.jornada-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(0, 40, 85, 0.22);
  border: none;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
  padding: 0;
}

.jornada-dot.is-active {
  width: 32px;
  background: var(--color-ultra-navy);
}

/* ==========================================================================
   5. SOBRE OS NEGÓCIOS SECTION (BLACK BACKGROUND & 5 FLIP CARDS)
   ========================================================================== */
.areas-section {
  background: #000000;
  padding: 85px 0 105px;
  position: relative;
  overflow: hidden;
}

.areas-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.areas-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #002B59;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 7px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 30, 60, 0.12);
  margin-bottom: 18px;
}

.areas-badge-icon {
  width: 15px;
  height: 15px;
  color: #00BFB3;
}

.areas-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 820px;
}

.areas-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  max-width: 650px;
  line-height: 1.5;
}

/* 5 Flip Cards Grid (Centered Flex Wrap for 3 + 2 on Desktop) */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.empresas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.empresas-grid .area-card-wrapper {
  width: calc((100% - 48px) / 3);
  max-width: 350px;
  min-width: 280px;
  flex: 0 0 auto;
}

/* Card Wrapper with 3D Perspective + Right-to-Left Entrance */
.area-card-wrapper {
  perspective: 1000px;
  height: 295px;
  cursor: pointer;
  outline: none;
  border-radius: 20px;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.js .area-card-wrapper {
  opacity: 0;
  transform: translateX(72px);
}

.area-card-wrapper.is-revealed,
.js .area-card-wrapper.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.area-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
}

/* Flip Trigger on Hover, Focus and is-flipped class */
.area-card-wrapper:hover .area-card-inner,
.area-card-wrapper.is-flipped .area-card-inner,
.area-card-wrapper:focus-visible .area-card-inner {
  transform: rotateY(180deg);
}

.area-card-wrapper:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Card Front and Back Faces */
.area-card-front,
.area-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 30, 60, 0.18);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Front Face Styling */
.area-card-front {
  background: linear-gradient(145deg, #003F82 0%, #00214A 100%);
  border: var(--tech-box-border);
  box-shadow: var(--tech-box-glow);
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.area-card-front-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  flex: 1;
}

.area-card-wrapper:hover .area-card-front {
  border-color: #ffffff;
  box-shadow: var(--tech-box-glow-hover);
}

.area-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.empresa-sector-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 191, 179, 0.2);
  border: 1px solid rgba(92, 225, 230, 0.5);
  color: var(--color-ultra-teal-light);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 9999px;
}

.empresa-logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 16px 10px;
}

.empresa-card-logo {
  --logo-offset-y: 0px;
  height: 54px;
  max-height: 54px;
  max-width: 195px;
  width: auto;
  object-fit: contain;
  transform: translateY(var(--logo-offset-y));
  transition: transform var(--transition-normal);
}

/* Baseline alignment of non-descender characters across all 5 logos */
.empresa-logo-ultra {
  --logo-offset-y: -8.6px;
}

.empresa-logo-ipiranga {
  --logo-offset-y: -1.3px;
}

.empresa-logo-ultragaz {
  --logo-offset-y: 8.1px;
}

.empresa-logo-ultracargo {
  --logo-offset-y: 0.6px;
}

.empresa-logo-hidrovias {
  --logo-offset-y: 9px;
}

.area-card-wrapper:hover .empresa-card-logo {
  transform: translateY(var(--logo-offset-y)) scale(1.06);
}

.area-card-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}

.area-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 12px 0 0;
}

.area-card-flip-prompt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ultra-cyan);
  margin-top: auto;
  padding-top: 10px;
}

.area-card-flip-prompt svg {
  transition: transform 0.3s ease;
}

.area-card-wrapper:hover .area-card-flip-prompt svg {
  transform: rotate(90deg);
}

/* Back Face Styling */
.area-card-back {
  background: #ffffff;
  border: var(--tech-box-border);
  color: #2D3748;
  transform: rotateY(180deg);
  padding: 24px 22px 20px;
  box-shadow: var(--tech-box-glow);
}

.area-card-wrapper:hover .area-card-back {
  border-color: #ffffff;
  box-shadow: var(--tech-box-glow-hover);
}

.area-card-back-tag,
h3.area-card-back-tag {
  margin: 0 0 10px 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
  color: #00458C;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
}

.area-card-desc {
  font-size: 0.85rem;
  line-height: 1.52;
  color: #2D3748;
  font-weight: 400;
  margin: 0;
}

.area-card-back-prompt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0059A8;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s ease;
}

.area-card-wrapper:hover .area-card-back-prompt {
  color: #003E7E;
}

/* ==========================================================================
   5.5 ESTRUTURA DE DESENVOLVIMENTO SECTION (INTERACTIVE ANIMATED CIRCUIT)
   ========================================================================== */
.estrutura-section {
  position: relative;
  background: linear-gradient(135deg, #003670 0%, var(--color-ultra-navy) 55%, #002752 100%);
  padding: 85px 0 95px;
  overflow: hidden;
  color: var(--color-white);
}

.estrutura-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 191, 179, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(92, 225, 230, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.estrutura-section .container {
  position: relative;
  z-index: 2;
}

.estrutura-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 44px;
}

.estrutura-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Animated Circuit Track above the 4 cards */
.estrutura-circuit-track {
  position: relative;
  max-width: 920px;
  margin: 0 auto 34px;
  padding: 12px 0;
}

.estrutura-circuit-line {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.estrutura-circuit-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, rgba(0, 191, 179, 0.25) 0%, var(--color-ultra-teal-light) 100%);
  box-shadow: 0 0 14px var(--color-ultra-teal-light);
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.estrutura-circuit-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  z-index: 2;
}

.estrutura-node {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.estrutura-node-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--color-ultra-navy);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 2;
}

.estrutura-node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-ultra-teal-light);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  will-change: transform, opacity;
}

.estrutura-node.is-passed .estrutura-node-core {
  background-color: var(--color-ultra-teal-light);
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(0, 191, 179, 0.65);
}

.estrutura-node.is-active .estrutura-node-core {
  background-color: var(--color-ultra-teal-light);
  transform: scale(1.3);
  box-shadow: 0 0 14px var(--color-ultra-teal-light);
}

.estrutura-node.is-active .estrutura-node-ring {
  animation: estruturaNodePulse 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes estruturaNodePulse {
  0% {
    transform: scale(0.75);
    opacity: 0.95;
  }
  75% {
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* 4-Card Interactive Grid */
.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1100px;
}

.estrutura-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  background: rgba(0, 32, 74, 0.68);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
  box-shadow: var(--tech-box-glow);
  will-change: transform, opacity;
}

.js .estrutura-card {
  opacity: 0;
  transform: translateX(72px);
}

.estrutura-card.is-revealed,
.js .estrutura-card.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.estrutura-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mouse-x) var(--mouse-y),
    rgba(92, 225, 255, 0.28),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.estrutura-card:hover .estrutura-card-glow,
.estrutura-card.is-active .estrutura-card-glow {
  opacity: 1;
}

.estrutura-card.is-revealed:hover,
.estrutura-card.is-revealed:focus-visible,
.estrutura-card.is-revealed.is-active {
  background: rgba(0, 63, 130, 0.72);
  border-color: #FFFFFF;
  box-shadow: var(--tech-box-glow-hover);
  transform: translateX(0) translateY(-8px);
}

.estrutura-card-body {
  position: relative;
  z-index: 2;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.estrutura-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 191, 179, 0.16);
  border: 1.5px solid rgba(92, 225, 230, 0.45);
  color: var(--color-ultra-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

.estrutura-card:hover .estrutura-icon-wrap,
.estrutura-card.is-active .estrutura-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
  background: var(--color-ultra-cyan);
  color: var(--color-ultra-navy-dark);
  box-shadow: 0 0 18px rgba(0, 191, 179, 0.55);
}

.estrutura-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.estrutura-card.is-active .estrutura-card-title {
  color: var(--color-ultra-teal-light);
}

.estrutura-card-desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
  flex: 1;
}

.estrutura-card-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-top: auto;
}

.estrutura-card-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-ultra-cyan) 0%, var(--color-ultra-teal-light) 100%);
  border-radius: 999px;
  transition: width 0.2s linear;
}

.estrutura-card.is-active .estrutura-card-progress-bar {
  animation: estruturaProgressFill 4s linear forwards;
}

.estrutura-grid.is-paused .estrutura-card.is-active .estrutura-card-progress-bar {
  animation-play-state: paused;
  width: 100%;
}

@keyframes estruturaProgressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* ==========================================================================
   6. FRENTES DE ATUAÇÃO DO ESTÁGIO (DADOS, IA E AUTOMAÇÃO)
   ========================================================================== */
.frentes-section {
  background-color: var(--color-white);
  padding: 85px 0 95px;
  position: relative;
  overflow-x: clip;
}

.frentes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.frentes-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-ultra-teal-dark);
  background: rgba(47, 184, 171, 0.12);
  border: 1px solid rgba(47, 184, 171, 0.3);
  padding: 7px 18px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.frentes-badge svg {
  color: var(--color-ultra-teal);
}

.frentes-title {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--color-ultra-navy-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.frentes-subtitle {
  font-size: 1.05rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  max-width: 720px;
}

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

.frente-card {
  background: linear-gradient(145deg, #003F82 0%, #00214A 100%);
  border-radius: 20px;
  overflow: hidden;
  border: var(--tech-box-border);
  box-shadow: var(--tech-box-glow);
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
  will-change: transform, opacity;
}

.js .frente-card {
  opacity: 0;
  transform: translateX(72px);
}

.frente-card.is-revealed,
.js .frente-card.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.frente-card.is-revealed:hover {
  transform: translateX(0) translateY(-6px);
  box-shadow: var(--tech-box-glow-hover);
  border-color: #FFFFFF;
}

.frente-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
}

.frente-card-media {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.frente-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.frente-card:hover .frente-card-img {
  transform: scale(1.03);
}

.frente-card-body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.frente-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 191, 179, 0.18);
  border: 1.5px solid rgba(92, 225, 230, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ultra-teal-light);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.frente-card:hover .frente-icon-box {
  transform: scale(1.08);
  background: rgba(0, 191, 179, 0.28);
}

.frente-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
  font-variant-numeric: tabular-nums;
}

.frente-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.frente-tagline {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-ultra-teal-light);
  line-height: 1.4;
  margin-bottom: 14px;
}

.frente-desc {
  font-size: 0.94rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ==========================================================================
   7. PRÉ-REQUISITOS SECTION (BLACK)
   ========================================================================== */
.prerequisitos-section {
  background-color: #000000;
  padding: 75px 0 85px;
  overflow-x: clip;
}

.prerequisitos-intro {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-header-teal {
  margin-bottom: 36px;
}

.section-title-teal {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-ultra-teal-light);
  margin-bottom: 10px;
}

.prerequisitos-main-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.prerequisitos-main-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.prerequisitos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card styled with .tech Thin White Stroke & Blue Glow + Right-to-Left Entrance */
.box-prerequisito {
  position: relative;
  background: linear-gradient(145deg, #003F82 0%, #00214A 100%);
  border-radius: 20px;
  border: var(--tech-box-border);
  box-shadow: var(--tech-box-glow);
  color: var(--color-white);
  min-height: 320px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  will-change: transform, opacity;
}

.js .box-prerequisito {
  opacity: 0;
  transform: translateX(72px);
}

.box-prerequisito.is-revealed,
.js .box-prerequisito.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.box-prerequisito.is-revealed:hover {
  transform: translateX(0) translateY(-4px);
  border-color: #FFFFFF;
  box-shadow: var(--tech-box-glow-hover);
}

.box-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.box-header {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-ultra-teal-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.prerequisito-icon-wrapper {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 10px;
}

.prerequisito-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.box-prerequisito:hover .prerequisito-icon {
  transform: scale(1.12);
}

.box-body {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prerequisito-desc {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0;
}

.prerequisito-destaque {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.42;
  color: #FFFFFF;
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   8. BENEFÍCIOS SECTION (WHITE)
   ========================================================================== */
.beneficios-section {
  background-color: var(--color-white);
  padding: 75px 0 85px;
  overflow-x: clip;
}

.beneficios-header {
  margin-bottom: 38px;
}

.beneficios-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-ultra-teal);
  margin-bottom: 10px;
}

.beneficios-title {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--color-ultra-navy-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 820px;
}

.beneficios-subtitle {
  font-size: 1.05rem;
  color: #556B82;
  max-width: 720px;
  line-height: 1.55;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

/* Card styled with .tech Thin White Stroke & Blue Glow + Right-to-Left Entrance */
.box-beneficio {
  position: relative;
  background: linear-gradient(145deg, #003F82 0%, #00214A 100%);
  border-radius: 20px;
  border: var(--tech-box-border);
  box-shadow: var(--tech-box-glow);
  color: var(--color-white);
  min-height: 170px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  will-change: transform, opacity;
}

.js .box-beneficio {
  opacity: 0;
  transform: translateX(72px);
}

.box-beneficio.is-revealed,
.js .box-beneficio.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.box-beneficio.is-revealed:hover {
  transform: translateX(0) translateY(-4px);
  border-color: #FFFFFF;
  box-shadow: var(--tech-box-glow-hover);
}

.box-beneficio-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.beneficio-category {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-ultra-teal-light);
  margin-bottom: 6px;
}

.beneficio-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
  max-width: 90%;
}

.beneficio-icon-wrapper {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.beneficio-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(47, 184, 171, 0.5)) brightness(1.15);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.box-beneficio:hover .beneficio-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(47, 184, 171, 0.8)) brightness(1.3);
}

/* ==========================================================================
   9. ETAPAS DO PROCESSO SECTION (BLACK - VERTICAL CIRCUIT SLIDER)
   ========================================================================== */
.cronograma-section {
  background-color: #000000;
  padding: 75px 0 90px;
  position: relative;
  overflow-x: clip;
}

.cronograma-container {
  max-width: 720px;
  margin: 0 auto;
}

.cronograma-main-title {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.timeline-wrapper {
  position: relative;
  margin: 36px 0 20px;
  padding-left: 52px;
}

/* Vertical Circuit Progress Line (replicated from Estrutura de Desenvolvimento) */
.cronograma-circuit-line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 14px;
  width: 3px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
}

.cronograma-circuit-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgba(0, 191, 179, 0.25) 0%, var(--color-ultra-teal-light) 100%);
  box-shadow: 0 0 14px var(--color-ultra-teal-light);
  border-radius: 999px;
  transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cronograma-node {
  position: absolute;
  left: -36.5px;
  top: 30px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* Timeline Stages List */
.timeline-stages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stage-item {
  position: relative;
}

/* Stage Card (.tech Thin White Stroke & Blue Glow + Spotlight + Progress Bar + Right-to-Left Entrance) */
.stage-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  width: 100%;
  background: rgba(0, 32, 74, 0.68);
  backdrop-filter: blur(12px);
  color: var(--color-white);
  border-radius: 16px;
  padding: 16px 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--tech-box-glow);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
  border: var(--tech-box-border);
  overflow: hidden;
  user-select: none;
  will-change: transform, opacity;
}

.js .stage-card {
  opacity: 0;
  transform: translateX(72px);
}

.stage-card.is-revealed,
.js .stage-card.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.stage-card-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stage-card-progress {
  position: relative;
  z-index: 2;
  margin-top: 2px;
}

.stage-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--color-white);
  flex: 1 1 auto;
  transition: color 0.3s ease;
}

.stage-item.is-active .stage-title,
.stage-item.active .stage-title {
  color: var(--color-ultra-teal-light);
}

.stage-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ultra-teal-light);
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 12px;
}

.stage-indicator-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

/* Stage Hover & Active States (.tech Blue Glow + Estrutura Slider Mechanics) */
.stage-item:hover .stage-card .estrutura-card-glow,
.stage-item.is-active .stage-card .estrutura-card-glow,
.stage-item.active .stage-card .estrutura-card-glow {
  opacity: 1;
}

.stage-item:hover .stage-card.is-revealed,
.stage-item:focus-within .stage-card.is-revealed,
.stage-item.is-active .stage-card.is-revealed,
.stage-item.active .stage-card.is-revealed {
  background: rgba(0, 63, 130, 0.72);
  transform: translateX(6px);
  box-shadow: var(--tech-box-glow-hover);
  border-color: #FFFFFF;
}

.stage-item.is-active .estrutura-card-progress-bar {
  animation: estruturaProgressFill 4s linear forwards;
}

.timeline-wrapper.is-paused .stage-item.is-active .estrutura-card-progress-bar {
  animation-play-state: paused;
  width: 100%;
}

.stage-item:hover .stage-indicator,
.stage-item:focus-within .stage-indicator,
.stage-item.is-active .stage-indicator,
.stage-item.active .stage-indicator {
  opacity: 1;
  transform: translateX(2px);
}

/* Interactive Tooltip Popup */
.stage-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  transform: translateY(-50%) translateX(8px);
  width: 320px;
  background: var(--color-white);
  color: var(--color-ultra-navy-dark);
  border-radius: 14px;
  border: var(--tech-box-border);
  padding: 22px 24px;
  box-shadow: var(--tech-box-glow);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.stage-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -7px;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background-color: var(--color-white);
}

.stage-tooltip.flip-left {
  left: auto;
  right: calc(100% + 18px);
  transform: translateY(-50%) translateX(-8px);
}

.stage-tooltip.flip-left::before {
  left: auto;
  right: -7px;
}

.stage-item.is-active .stage-tooltip,
.stage-item.active .stage-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-50%) translateX(0);
}

.stage-item.is-active .stage-tooltip.flip-left,
.stage-item.active .stage-tooltip.flip-left {
  transform: translateY(-50%) translateX(0);
}

.tooltip-title,
h3.tooltip-title {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ultra-navy-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tooltip-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-ultra-navy-dark);
  font-weight: 500;
}

.tooltip-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ultra-teal-dark);
  background-color: rgba(47, 184, 171, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(47, 184, 171, 0.25);
}

.tooltip-date-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   10. FAQ SECTION (PERGUNTAS FREQUENTES)
   ========================================================================== */
.faq-section {
  background-color: var(--color-gray-50);
  padding: 80px 0 85px;
  border-top: 1px solid var(--color-gray-200);
  overflow-x: clip;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 42px;
}

.faq-header .beneficios-title,
.faq-header .beneficios-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border: var(--tech-box-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 12px rgba(41, 182, 246, 0.55),
    0 0 26px rgba(0, 136, 255, 0.32),
    inset 0 0 10px rgba(41, 182, 246, 0.16);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  will-change: transform, opacity;
}

.js .faq-item {
  opacity: 0;
  transform: translateX(72px);
}

.faq-item.is-revealed,
.js .faq-item.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.faq-item:hover,
.faq-item.is-open {
  border-color: #FFFFFF;
  box-shadow:
    0 0 18px rgba(41, 182, 246, 0.82),
    0 0 36px rgba(0, 136, 255, 0.48),
    inset 0 0 14px rgba(41, 182, 246, 0.24);
}

.faq-question-heading {
  margin: 0;
  padding: 0;
  font: inherit;
}

.faq-question-heading .faq-question,
.faq-question {
  font: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ultra-navy-dark);
  background: transparent;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-ultra-navy);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(47, 184, 171, 0.14);
  color: var(--color-ultra-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-ultra-teal);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-gray-700);
  font-size: 0.96rem;
  line-height: 1.62;
}

/* ==========================================================================
   11. FECHAMENTO / FINAL CTA SECTION (#inscreva-se)
   ========================================================================== */
.closing-cta-section {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  padding: 40px 0 90px;
  overflow-x: clip;
}

.closing-cta-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: linear-gradient(135deg, #003F82 0%, #001F47 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--tech-box-glow);
  border: var(--tech-box-border);
  position: relative;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.js .closing-cta-card {
  opacity: 0;
  transform: translateX(72px);
}

.closing-cta-card.is-revealed,
.js .closing-cta-card.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .programa-highlight-card,
  .js .area-card-wrapper,
  .js .estrutura-card,
  .js .frente-card,
  .js .box-prerequisito,
  .js .box-beneficio,
  .js .stage-card,
  .js .faq-item,
  .js .closing-cta-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.closing-cta-card:hover {
  border-color: #FFFFFF;
  box-shadow: var(--tech-box-glow-hover);
}

.closing-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at var(--mouse-x) var(--mouse-y),
    rgba(92, 225, 255, 0.28),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.closing-cta-card:hover .closing-cta-glow {
  opacity: 1;
}

.closing-cta-body {
  padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.closing-cta-logo {
  width: 240px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 6px 18px rgba(0, 15, 40, 0.35));
}

.closing-cta-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 780px;
  letter-spacing: -0.5px;
}

.closing-cta-desc {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin-bottom: 32px;
}

.closing-btn {
  font-size: 1.12rem;
  padding: 15px 54px;
}

/* ==========================================================================
   12. FOOTER SECTION
   ========================================================================== */
.footer-section {
  background-color: #000000;
  color: var(--color-white);
  padding: 48px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.footer-info {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.footer-privacy-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-ultra-teal-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-privacy-link:hover {
  color: var(--color-white);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  border-color: var(--color-ultra-teal-light);
  color: var(--color-ultra-teal-light);
  background-color: rgba(92, 225, 230, 0.15);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #ffffff;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-powered:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #ffffff;
}

.footer-kolab-logo {
  height: 14px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   13. FLOATING / OVERLAY CTA BUTTON
   ========================================================================== */
.floating-cta-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
  pointer-events: none;
}

.floating-cta-container.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.btn-floating-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #38B6FF 0%, #0088FF 100%);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: 9999px;
  box-shadow:
    0 0 14px rgba(41, 182, 246, 0.85),
    0 0 32px rgba(0, 136, 255, 0.55),
    inset 0 0 14px rgba(255, 255, 255, 0.38);
  border: 1.5px solid var(--color-white);
  text-shadow: 0 1px 6px rgba(0, 35, 85, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.btn-floating-cta:hover {
  background: linear-gradient(135deg, #5CE1FF 0%, #199FFF 100%);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 20px rgba(92, 225, 255, 1),
    0 0 42px rgba(0, 136, 255, 0.75),
    inset 0 0 18px rgba(255, 255, 255, 0.55);
  border-color: #FFFFFF;
}

.btn-floating-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-floating-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn-floating-cta:hover .btn-floating-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-nav {
    display: none;
  }

  .jornada-title {
    font-size: 1.95rem;
  }

  .jornada-carousel-wrapper {
    max-width: 100%;
    padding: 20px 0 50px;
  }

  .empresas-grid .area-card-wrapper {
    width: calc((100% - 24px) / 2);
  }

  .estrutura-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .estrutura-circuit-track {
    display: none;
  }

  .frentes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .prerequisitos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .beneficios-grid-tech {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .stage-tooltip {
    width: 280px;
  }
}

@media (max-width: 860px) {
  .hero-path-bg {
    background-position: center 10px;
  }

  .hero-container {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .hero-header {
    margin-bottom: 16px;
  }

  .hero-logo {
    width: 110px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title-wrapper {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .hero-title-img {
    max-width: 360px;
    width: 100%;
  }

  .hero-photo-wrapper {
    order: -1;
    justify-content: center;
  }

  .hero-photo-img {
    max-width: 420px;
  }

  :root {
    --holding-wave-height: 52px;
  }

  .holding-section {
    padding: 40px 0 36px;
  }

  .holding-header-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .holding-carousel-wrapper::before,
  .holding-carousel-wrapper::after {
    width: 45px;
  }

  .holding-wave-left-ext {
    display: block;
    width: max(0px, calc(70vw - (var(--holding-wave-height) * 1380 / 176)));
    height: var(--holding-wave-height);
    background-color: var(--color-white);
    flex-shrink: 0;
  }

  .holding-wave-right-ext {
    display: block;
    flex: 1 1 auto;
    height: var(--holding-wave-height);
    background-color: var(--color-white);
  }

  .holding-wave-bottom .holding-wave-img {
    margin-left: min(0px, calc(70vw - (var(--holding-wave-height) * 1380 / 176)));
  }

  .job-rotation-section {
    padding: 50px 0 55px;
  }

  .job-rotation-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .frentes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .estrutura-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .prerequisitos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .box-prerequisito {
    min-height: 260px;
    padding: 24px 22px 22px;
  }

  .beneficios-grid-tech {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .timeline-wrapper {
    padding-left: 42px;
  }

  .cronograma-node {
    left: -26.5px;
  }

  /* Tooltip on tablet/mobile: appear beneath stage cleanly */
  .stage-tooltip {
    position: static;
    transform: none !important;
    width: 100%;
    margin-top: 10px;
    display: none;
  }

  .stage-tooltip::before {
    display: none;
  }

  .stage-item.is-active .stage-tooltip,
  .stage-item.active .stage-tooltip {
    display: block;
    opacity: 1;
    visibility: visible;
  }

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

  .footer-logo {
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .video-section {
    padding: 40px 0 50px;
  }

  .jornada-section {
    padding: 60px 0 80px;
  }

  .jornada-title {
    font-size: 1.65rem;
  }

  .jornada-subtitle {
    font-size: 0.95rem;
  }

  .jornada-carousel-wrapper {
    min-height: 480px;
  }

  .jornada-cards-track {
    height: 410px;
  }

  .jornada-card-slot {
    width: 260px;
    height: 380px;
    margin-top: -190px;
    margin-left: -130px;
  }

  .jornada-nav-btn {
    width: 40px;
    height: 40px;
  }

  .jornada-nav-prev {
    left: 4px;
  }

  .jornada-nav-next {
    right: 4px;
  }
}

@media (max-width: 640px) {
  .hero-brands-bar {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(10px, 3.2vw, 18px);
    width: 100%;
    margin-top: 24px;
    padding-top: 16px;
  }

  .hero-brand-logo {
    max-width: none;
    flex-shrink: 1;
    min-width: 0;
  }

  .hero-brand-ipiranga {
    height: clamp(14px, 4.2vw, 17px);
  }

  .hero-brand-ultragaz {
    height: clamp(10px, 3vw, 12px);
    transform: translateY(1.3px);
  }

  .hero-brand-ultracargo {
    height: clamp(16px, 4.9vw, 20px);
    transform: translateY(1.1px);
  }

  .hero-brand-hidrovias {
    height: clamp(20px, 6vw, 24px);
    transform: translateY(5.3px);
  }

  .areas-section {
    padding: 60px 0 75px;
  }

  .empresas-grid .area-card-wrapper {
    width: 100%;
    max-width: 100%;
    height: 275px;
  }

  .beneficios-grid-tech {
    grid-template-columns: 1fr;
  }

  .faq-question-heading .faq-question,
  .faq-question {
    padding: 16px 18px;
    font-size: 0.96rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.9rem;
  }

  .floating-cta-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
  }

  .btn-floating-cta {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    padding: 13px 24px;
    font-size: 1rem;
  }
}
