/* ==========================================================================
   Vestibular Verão 2027 — Faculdade UNIGUAÇU
   Skeleton build (placeholders only, sem assets reais) — /ftw-full-skeleton
   ========================================================================== */

@font-face {
  font-family: 'MADE Outer Sans';
  src: url('assets/fonts/made-outer-sans-light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'MADE Outer Sans';
  src: url('assets/fonts/made-outer-sans-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'MADE Outer Sans';
  src: url('assets/fonts/made-outer-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'MADE Outer Sans';
  src: url('assets/fonts/made-outer-sans-black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Grunge Font';
  src: url('assets/fonts/GrungeFont-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2-variations'), url('assets/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Kanit';
  src: url('assets/fonts/Kanit-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Kanit';
  src: url('assets/fonts/Kanit-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-primary: #004a98;
  --color-accent-red: #f5333f;
  --color-gradient-start: #eb303f;
  --color-gradient-end: #6a3b8e;
  --color-cta: #10be00;
  --color-cta-outline: #00ba00;
  --color-glow-border: #53ff28;
  --color-ink: #212121;
  --color-ink-alt: #3c3c3b;
  --color-black-box: #101010;
  --color-white: #ffffff;
  --color-gray-light: #e6e6e6;
  --color-gray-border: #cacaca;
  --color-text-body: #1c1c1c;
  --color-link: #99c2ff;

  --font-display: 'MADE Outer Sans', Arial, sans-serif;       /* headings — pesos Black/Bold/Medium/Light */
  --font-script: 'Grunge Font', cursive;                       /* destaque gradiente (títulos) */
  --font-body: 'Inter', sans-serif;                            /* corpo/labels — Regular/Bold/Semi Bold/Light */
  --font-cta: 'Kanit', sans-serif;                              /* botões CTA em glow — peso 700 (Bold); 300 (Light) disponível */
  --font-paragraph-alt: 'Poppins', sans-serif;                  /* títulos de feature cards (700) e parágrafos alternativos (400) */

  --content-max-width: 1520px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 200px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-body);
  background: var(--color-white);
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; }
button { border: none; }

.section-kicker {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  color: var(--color-ink);
  letter-spacing: 32%;
  font-weight: 300;
  font-size: 36px;
}
.section-kicker--light { color: var(--color-white); }
.section-kicker--bold { font-weight: 700; }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-ink);
}
.section-title--light { color: var(--color-white); }
.section-title--navy { text-align: left; color: var(--color-ink); }

/* Fonte Grunge + fundo em gradiente — compartilhado entre todo texto de destaque
   em script (títulos de seção e o "também." do hero) */
.gradient-script-text {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  color: var(--color-gradient-end); /* fallback: navegador sem suporte a background-clip:text mantém o texto visível */
  background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: -.25em;
  position: relative;
  z-index: 2;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .gradient-script-text {
    background: none;
    color: var(--color-gradient-end);
  }
}

.section-title-script { font-size: 72px; }
.section-title-script--inline { display: inline; font-family: inherit; font-weight: inherit; font-size: inherit; text-transform: inherit; }

/* ---- Botão CTA plano (flat) ---- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13.5px 32px;
  background: var(--color-cta);
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.btn-cta:hover { filter: brightness(1.2); }
.btn-cta-icon { width: 9px; height: 9px; }

/* ---- Botão CTA "glow" (pill com gradiente + borda inferior verde) ---- */
.btn-cta-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  min-height: 71px;
  background: linear-gradient(181deg, #099f33 1.88%, #041d14 173.59%);
  border-bottom: 1.5px solid var(--color-glow-border);
  border-radius: 7.7px;
  font-family: var(--font-cta);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  text-transform: uppercase;
  transition: filter 0.2s ease;
}
.btn-cta-glow:hover { filter: brightness(1.2); }
.btn-cta-glow--small {
  min-height: 45px;
  padding: 6px 24px;
  font-size: 20px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar-section {
  width: 100%;
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 40px;
}
.topbar-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
img.topbar-logo { width: 172px; height: auto; }
.topbar-logo-group { display: flex; align-items: center; gap: 40px; }
.topbar-mec-badge { width: 151px; height: 65px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-phone {
  color: var(--color-white);
  font-size: 20px;
  text-decoration: underline;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background: var(--color-ink);
  overflow: hidden;
  padding: 120px 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}
.hero-corner-credit {
  position: absolute;
  top: 100px;
  right: 4vw;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.3;
  color: var(--color-white);
  pointer-events: none;
}
.hero-section-content {
  position: relative;
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 40px;
}
.hero-main {
  max-width: 692px;
  width: 100%;
}
.hero-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 20px; }
.hero-intro-logo { width: 100%; height: auto; margin-bottom: 12px; max-width: 564px;  }
.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-white);
}
.hero-title-light, .hero-title-line {
  display: block;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
}
.hero-title-line { font-weight: 700; }
.hero-title-script { font-size: 84px; padding-top: .1em; }
.hero-subtitle { font-family: var(--font-body); font-weight: 300; color: var(--color-white); font-size: 20px; line-height: 1.4; }

.hero-countdown-block { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.hero-countdown-title { display: none; } /* só existe no frame mobile do Figma */
.hero-countdown-label {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--color-white);
  text-align: center;
}
.countdown { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 550px; }
.countdown-box {
  background: var(--color-black-box);
  border-radius: 20px;
  padding: 16px 20px;
  width: 130px;
  height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.countdown-value { font-family: var(--font-body); font-weight: 700; font-size: 36px; color: var(--color-white); }
.countdown-caption { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.lead-form-card {
  width: 100%;
  background: rgba(132, 132, 132, 0.4);
  border: 1px solid var(--color-white);
  border-radius: 31px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1274px;
}
.lead-form-badge {
  background: var(--color-accent-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 5px;
}
.lead-form-heading { text-align: center; color: var(--color-white); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lead-form-heading h2 { font-family: var(--font-body); font-weight: 700; font-size: 30px; text-transform: uppercase; }
.lead-form-heading p { font-family: var(--font-body); font-size: 14px; }
.lead-form-injected {
  width: 100%;
  min-height: 210px; /* espaço reservado até a injeção do formulário */
}
.lead-form-disclaimer { color: var(--color-white); font-size: 13px; text-align: center; }

/* ==========================================================================
   CURSOS
   ========================================================================== */
.courses-section { width: 100%; background-color: var(--color-ink-alt); background-image: linear-gradient(312deg, #BF3945, #0072BD); padding: 120px 20px; position: relative; }
.course-section-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  bottom: 0;

  &.bg-left {
    left: 0;
  }

  &.bg-right {
    right: 0;
  }
  
  &.bg-top {
    top: 0;
    left: 0;
  }
}

.courses-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.courses-section-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}
.courses-lead-text { font-family: var(--font-body); font-weight: 300; font-size: 20px; color: var(--color-white); text-align: center; max-width: 536px; }

.courses-slider-hint { display: none; }
.courses-slider {
  display: contents;
}

.courses-grid {
  width: 100%;
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  max-width: 1212px;
}
.course-card {
  background: var(--color-ink);
  border-radius: 18px;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
  transition: background-color 0.2s ease;
  width: 288px;
}
.course-card:hover, .course-card.active { cursor: pointer;}

/* Hover (desktop) / active (slide atual no slider mobile): ícone monocromático
   (padrão) esmaece e dá lugar ao ícone colorido
   (referência: Figma node 8261:1710, "hover state" dos cards de curso) */
.course-card-icon-wrap { position: relative; width: 164px; height: 164px; }
.course-card-icon { width: 164px; height: 164px; transition: opacity 0.2s ease; border-radius: 200px; }
.course-card-icon--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.course-card:hover .course-card-icon--hover,
.course-card.active .course-card-icon--hover { opacity: 1; }
.course-card:hover .course-card-icon:not(.course-card-icon--hover),
.course-card.active .course-card-icon:not(.course-card-icon--hover) { opacity: 0; }
.course-card-name { font-family: var(--font-display); font-weight: 700; color: var(--color-white); font-size: 20px; line-height: 1.3; max-width: 238px; text-wrap: balance; }
.course-card-name span { display: block; font-weight: 300; }
.course-card-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.slider-nav { display: none; }
.course-badge {
  border: 1.4px solid var(--color-cta-outline);
  border-radius: 24px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-cta-outline);
}

/* ==========================================================================
   PROVA SOCIAL
   ========================================================================== */
.testimonials-section { width: 100%; background: var(--color-ink); padding: 120px 20px; }
.testimonials-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.testimonials-subtitle { font-family: var(--font-body); font-weight: 300; color: var(--color-white); font-size: 18px; text-align: center; margin-top: 8px; }
.testimonials-subtitle .line-break {
  display: block;
  margin-top: 1em;
}
.testimonials-slider {
  display: contents;
}

.testimonials-grid {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1456px;
}
.testimonial-card {
  position: relative;
  aspect-ratio: 292/520;
  width: 292px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #000;
  -webkit-user-drag: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
  display: block;
}
.testimonial-card-image { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.testimonial-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-play-icon img { width: 32px; height: 32px; margin-left: 3px; }
.testimonial-card-label {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  font-family: var(--font-paragraph-alt);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: left;
  text-shadow: 0px 0px 16px #000000;
}

.testimonial-card-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   NÚMEROS
   ========================================================================== */
.stats-section {
  width: 100%;
  background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
  padding: 80px 20px;
}
.stats-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.stats-grid { display: flex; gap: 96px; justify-content: center; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-value { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 64px; color: var(--color-white); }
.stat-label { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--color-white); }
.stats-caption { font-family: var(--font-display); font-weight: 300; color: var(--color-white); font-size: 20px; letter-spacing: 6.4px; text-transform: uppercase; text-align: center; max-width: 891px; }
.stats-caption strong { font-family: var(--font-display); font-weight: 700; }

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.why-section { width: 100%; background: var(--color-white); padding: 120px 20px; }
.why-section-content {
  width: 100%;
  max-width: 1547px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.why-intro { display: flex; flex-direction: column; align-items: start; gap: 16px; max-width: 746px; }
.why-section .section-title {
  width: 746px;
  font-size: 40px;
}
.why-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 746px;
}
.feature-card {
  border: 1px solid #1c77d7;
  border-radius: 10px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  gap: 8px;
  width: 100%;
  max-width: 365px;
}
.feature-card-icon { width: 40px; height: 40px; }
.feature-card-title { font-family: var(--font-paragraph-alt); font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -0.16px; color: var(--color-primary); }
.feature-card-text { font-family: var(--font-paragraph-alt); font-size: 12px; line-height: 1.6; color: var(--color-text-body); }
.why-cta-mobile { display: none; }

/* ==========================================================================
   FORMAS DE INGRESSAR
   ========================================================================== */
.ingress-section { width: 100%; background: var(--color-ink); padding: 120px 20px; }
.ingress-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.ingress-intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ingress-intro-text { color: var(--color-white); font-size: 18px; }
.ingress-section .gradient-script-text {
  padding-bottom: .1em;
}
.ingress-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 954px;
}
.ingress-card {
  background: var(--color-gray-light);
  border: 2px solid #00346b;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  min-height: 324px;
}
.ingress-card-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: inherit;
}
.ingress-card-tag {
  background: rgba(0, 74, 152, 0.2);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 19px;
  border-radius: 4px;
}
.ingress-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: var(--color-accent-red);
}
.ingress-card-text { font-family: var(--font-body); font-size: 16px; color: var(--color-text-body); }
.ingress-card-divider { width: 100%; border: none; border-top: 1px solid rgb(0,0,0); margin: 4px 0; }
.ingress-card-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ingress-card-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--color-text-body); }
.ingress-card-list img { width: 20px; height: 20px; flex-shrink: 0; }
.ingress-card .btn-cta {
  font-size: 16px;
}
.ingress-card .btn-cta--wide {
  width: 100%;
  justify-content: center;
}
/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final-cta-section { position: relative; width: 100%; background: var(--color-ink); overflow: hidden; padding: 120px 20px; }
.final-cta-section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-section .section-title {
  font-size: 48px;
}
.final-cta-section-content {
  position: relative;
  width: 100%;
  max-width: 1076px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.final-cta-date { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-block: 32px; }
.final-cta-date-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 32%;
  text-transform: uppercase;
  color: var(--color-white);
}
.final-cta-date-label strong { font-family: var(--font-display); font-weight: 700; }

/* ==========================================================================
   ESTRUTURA
   ========================================================================== */
.structure-section { width: 100%; background: var(--color-ink); padding: 120px 20px; }
.structure-section-content {
  width: 100%;
  max-width: 1202px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  text-align: center;
}
.structure-section .section-title { font-size: 48px; }
.structure-gallery { width: 100%; display: flex; flex-direction: column; gap: 30px; }
.structure-gallery-main { width: 100%; height: 550px; object-fit: cover; }
.structure-gallery-row { display: flex; gap: 30px; }
.structure-gallery-row picture { display: block; flex: 1; width: 50%; }
.structure-gallery-photo { width: 100%; height: 552px; object-fit: cover; border-radius: 50px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { width: 100%; background: var(--color-white); padding: 120px 80px; }
.faq-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.faq-section .section-title {
  text-align: center;
}
.faq-section .gradient-script-text {
  padding-left: .1em;
  margin: 0;
  font-size: 86px;
}
.faq-list { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-gray-border); border: 1px solid #f3f4f6; border-radius: 10px; overflow: hidden; }
.faq-item-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 21px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.16px;
  color: var(--color-text-body);
  text-align: left;
}
.faq-item-icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item-trigger[aria-expanded="true"] .faq-item-icon { transform: rotate(180deg); }
.faq-item-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 21px;
}
.faq-item-panel p { padding-bottom: 16px; font-size: 16px; color: var(--color-text-body); }
.faq-item.is-open .faq-item-panel { max-height: 120px; }

.edital-dropdown { position: relative; }
.edital-dropdown-trigger { gap: 10px; border: none; cursor: pointer; width: 100%; }
.edital-dropdown-icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s ease; filter: brightness(0) invert(1); }
.edital-dropdown-trigger[aria-expanded="true"] .edital-dropdown-icon { transform: rotate(180deg); }
.edital-dropdown-menu {
  /* position: absolute; */
  top: calc(100% + 8px);
  /* left: 50%;
  transform: translateX(-50%); */
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 220px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 8px 24px #00000040;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.25s ease;
  border-inline: 2px solid #f3f4f6;
}
.edital-dropdown.is-open .edital-dropdown-menu {
  max-height: 200px;
  pointer-events: auto;
  border: 2px solid #f3f4f6;
}
.edital-dropdown-menu a {
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
}
.edital-dropdown-menu a:hover { background: var(--color-gray-light); }

/* ==========================================================================
   RESPONSIVO — Mobile (frame Figma: landing-page-mobile-430)
   ========================================================================== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }
  /* Header: no mobile, apenas a logo (sem telefone/CTA), conforme frame mobile */
  .btn-cta-glow {
    font-size: 16px;
    padding: 8px 16px;
    min-height: 1.5em;
  }
  
  .btn-cta {
    font-size: 16px;
    text-align: center;
  }

  .topbar-section { position: static; }
  .topbar-section-content { padding: 16px 20px; justify-content: center; }
  img.topbar-logo { width: clamp(110px, 38vw, 160px); }
  .topbar-logo-group { gap: clamp(10px, 4vw, 20px); }
  .topbar-mec-badge { width: clamp(70px, 24vw, 100px); height: auto; }
  .topbar-actions { display: none; }

  .hero-section { padding: 60px 20px; }
  .hero-section-content { padding: 0; gap: 30px; align-items: center; }
  .hero-intro {
    gap: 30px;
  }
  .hero-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .hero-section-bg {
    object-position: center center;    
  }
  .hero-corner-credit {
    display: none;
  }
  .hero-intro-logo {
    max-width: 197px;
    height: auto;
    margin: 0;
  }

  .hero-title, .hero-subtitle { max-width: 200px; margin-left: auto; margin-right: auto; }
  .hero-section .gradient-script-text { margin-top: -0.2em; padding-top: .2em; }
  .hero-title-light, .hero-title-line { font-size: 17px; }
  .hero-title-script { font-size: 48px; }
  .hero-subtitle { font-size: 13px; line-height: 1.3; font-family: var(--font-display); font-weight: 300; max-width: 255px; }
  .hero-countdown-label { font-size: 17px; letter-spacing: normal; gap: 4px; flex-wrap: wrap; margin-bottom: 30px; }
  .hero-countdown-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
  }
  .countdown { gap: 8px; max-width: 248px; }
  .countdown-box { height: auto; width: 56px; aspect-ratio: 56/48; padding: 12px; border-radius: 8px; gap: 0; }
  .countdown-value { font-size: 20px; }
  .lead-form-card { padding: 20px; border-radius: 20px; }
  .lead-form-badge { font-size: 12px; }
  .lead-form-heading h2 { font-size: 24px; }
  .lead-form-heading p { font-size: 13px; max-width: 218px; }
  .lead-form-disclaimer { font-size: 11px; }

  .courses-section, .testimonials-section,
  .why-section, .ingress-section, .final-cta-section, .structure-section, .faq-section {
    padding: 60px 20px;
  }
  .courses-section-content, .testimonials-section-content,
  .stats-section-content, .why-section-content, .ingress-section-content,
  .faq-section-content, .topbar-section-content {
    padding: 0px;
    gap: 32px;
  }

  /* .section-kicker só é usada nas seções Unidades e Cursos — 16px nas duas, conforme Figma */
  .section-kicker { font-size: clamp(12px, 3.5vw, 16px); letter-spacing: 26%; }
  .courses-lead-text { font-size: 15px; max-width: 100%; }
  .section-title { font-size: 28px; }
  .section-title-script { font-size: 40px; }
  .gradient-script-text { margin-top: -0.1em; }

  .btn-cta-glow--small { font-size: 15px; min-height: 35px; padding: 10px 24px; border-radius: 5px; }

  .courses-section {
    background-image: linear-gradient(16deg, #BF3945, #0072BD);;
  }
  .course-section-bg {
    display: none;
  }

  .courses-slider-hint {
    display: block;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-family: var(--font-display);
    font-weight: 300;
  }
  .courses-slider { width: 100%; overflow: hidden; touch-action: pan-y; user-select: none; display: block; }
  .courses-slider img { -webkit-user-drag: none; }
  .courses-grid {
    grid-template-columns: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    --course-gap: 20px;
    gap: var(--course-gap);
    transform: translateX(calc(var(--course-slide, 0) * -1 * (100% + var(--course-gap))));
    transition: transform 0.35s ease;
  }
  .course-card {
    flex: 0 0 100%;
    width: 100%;
    transform: scale(0.80);
    opacity: .8;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  .course-card.active { transform: scale(1); opacity: 1; }

  .courses-section-content > .btn-cta-glow { display: none; }

  .slider-nav { display: flex; align-items: center; justify-content: center; gap: 40px; width: 100%; padding-top: 12px; }
  .slider-arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: none; background: transparent; cursor: pointer; }
  .slider-arrow img { width: 36px; height: 36px; display: block; }
  .slider-arrow--prev { transform: rotate(180deg); }

  .testimonials-subtitle { font-size: 13px; }

  /* Carrossel de depoimentos ocupa a largura toda da seção (viewport full-bleed);
     o padding lateral da seção é removido daqui e reaplicado só no texto de intro. */
  .testimonials-section { padding-inline: 0px; }
  .testimonials-section-content { gap: 40px; }
  .testimonials-intro { padding: 0 20px; }
  .testimonials-subtitle {
    margin-top: 40px;
  }

  .testimonials-slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: block;
  }
  .testimonials-slider::-webkit-scrollbar { display: none; }
  .testimonials-slider img { -webkit-user-drag: none; filter: grayscale(1) contrast(.9); }
  .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }
  /* Padding (do container ou de um filho) no lado final do scroll não entra na área
     rolável na maioria dos browsers — por isso o último card nunca tinha espaço real
     pra rolar até o centro. Em vez de padding, usamos itens reais (pseudo-elementos)
     nas duas pontas, com a mesma largura relativa usada pra centralizar o primeiro
     card — como fazem parte do conteúdo (não do padding), contam de verdade pro scroll. */
  .testimonials-grid::before,
  .testimonials-grid::after {
    content: '';
    flex: none;
    width: calc(50vw - 146px - 16px); /* -16px descontando o gap que entra entre o espaçador e o card real */
  }
  .testimonial-card { flex: none; scroll-snap-align: center; }

  .stats-section { padding: 40px 20px; }
  .stats-grid { gap: 32px; }
  .stat-value { font-size: 52px; line-height: 52px; }
  .stats-caption { font-size: 15px; letter-spacing: 26%; max-width: 340px; }

  .why-section-content { grid-template-columns: 1fr; }
  .why-intro { align-items: center; text-align: center; max-width: 100%; }
  .why-section .section-title { font-size: clamp(22px, 8vw, 30px); width: 100%; line-height: 1.1; font-weight: 900; text-wrap: balance; }
  .why-section .gradient-script-text { font-size: inherit; font-weight: inherit; display: block; }
  .section-title--navy { text-align: center; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { gap: 4px; max-width: 100%; }
  .why-intro .btn-cta { display: none; }
  .why-cta-mobile { display: inline-flex; margin-top: 20px; }

  .ingress-section .section-title {
    font-weight: 900;
  }
  .ingress-section .gradient-script-text { margin-top: -.2em; }
  .ingress-section-content {
    gap: 40px;
  }
  .ingress-intro-text { font-size: 15px; }
  .ingress-grid { grid-template-columns: 1fr; }
  .ingress-card-tag { font-size: 16px; }
  .ingress-card-list li { font-size: 16px; }

  .final-cta-section .section-title { font-size: clamp(20px, 6vw, 28px); font-weight: 900; line-height: 1.2; }
  .final-cta-section .gradient-script-text { font-size: 1.75em; }
  .final-cta-section-content { padding: 0; gap: 40px; }
  .final-cta-date { gap: 7px; margin-block: 0; }
  .final-cta-date-label {
    font-size: 12px;
    letter-spacing: 32%;
  }
  .final-cta-date-icon { width: 230px; height: auto; }

  .structure-section .section-title { font-size: 22px; max-width: 270px; }
  .structure-gallery { gap: 16px; }
  .structure-gallery-main, .structure-gallery-photo { width: 100%; height: auto; aspect-ratio: 326/307; border-radius: 24px; max-width: 390px; margin: 0 auto; }
  .structure-gallery-row { flex-direction: column; gap: inherit; }
  .structure-gallery-row picture { flex: none; width: 100%; }
  
  .faq-item.is-open .faq-item-panel { max-height: 200px; }
  .faq-section .section-title { font-size: 22px; }
  .faq-section .gradient-script-text { font-size: 1.5em; }

  .footer-content { flex-direction: column; gap: 15px; padding: 24px 16px; }
  .footer-logo-row { gap: 14px; }
  .footer-logo--faculdade { width: 208px; max-width: 55vw; height: 46px; }
  .footer-content > .footer-divider { width: 60%; height: 1px; border-left: none; border-top: 1px solid var(--color-white); }
  .footer-divider--hide-mobile { display: none; }
  .footer-address { text-align: center; white-space: normal; }
  .footer-contact { flex-direction: row; }
  .footer-contact-divider {
    display: block;
    width: 1px;
    align-self: stretch;
    height: auto;
    border: none;
    border-left: 1px solid var(--color-white);
    opacity: 0.3;
    margin: 0;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Template: popups-vestibular-de-verao-2027-org/css/style.css
   Popup informativo por curso de graduação (acionado pelos .course-card
   da #cursos) — grid/botões do template original não foram trazidos, os
   cards já existentes na página assumem o papel de trigger.
   ========================================================================== */
:root {
  --popup-color-close-bg: #d9d9d9;
  --popup-radius: 50px;
  --popup-radius-mobile: 25px;
  --chevron-svg: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiB2aWV3Qm94PSIwIDAgMjUgMjUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xMy4zODc1IDcuODYyNUMxMy4yNjg2IDcuNzQ4NyAxMy4xMjg0IDcuNjU5NDkgMTIuOTc1IDcuNkMxMi42NzA3IDcuNDc0OTcgMTIuMzI5MyA3LjQ3NDk3IDEyLjAyNSA3LjZDMTEuODcxNiA3LjY1OTQ5IDExLjczMTQgNy43NDg3IDExLjYxMjUgNy44NjI1TDcuODYyNSAxMS42MTI1QzcuNjI3MTIgMTEuODQ3OSA3LjQ5NDg5IDEyLjE2NzEgNy40OTQ4OSAxMi41QzcuNDk0ODkgMTIuODMyOSA3LjYyNzEyIDEzLjE1MjEgNy44NjI1IDEzLjM4NzVDOC4wOTc4OCAxMy42MjI5IDguNDE3MTMgMTMuNzU1MSA4Ljc1IDEzLjc1NTFDOS4wODI4OCAxMy43NTUxIDkuNDAyMTIgMTMuNjIyOSA5LjYzNzUgMTMuMzg3NUwxMS4yNSAxMS43NjI1VjE2LjI1QzExLjI1IDE2LjU4MTUgMTEuMzgxNyAxNi44OTk1IDExLjYxNjEgMTcuMTMzOUMxMS44NTA1IDE3LjM2ODMgMTIuMTY4NSAxNy41IDEyLjUgMTcuNUMxMi44MzE1IDE3LjUgMTMuMTQ5NSAxNy4zNjgzIDEzLjM4MzkgMTcuMTMzOUMxMy42MTgzIDE2Ljg5OTUgMTMuNzUgMTYuNTgxNSAxMy43NSAxNi4yNVYxMS43NjI1TDE1LjM2MjUgMTMuMzg3NUMxNS40Nzg3IDEzLjUwNDcgMTUuNjE3IDEzLjU5NzYgMTUuNzY5MyAxMy42NjExQzE1LjkyMTYgMTMuNzI0NiAxNi4wODUgMTMuNzU3MiAxNi4yNSAxMy43NTcyQzE2LjQxNSAxMy43NTcyIDE2LjU3ODQgMTMuNzI0NiAxNi43MzA3IDEzLjY2MTFDMTYuODgzIDEzLjU5NzYgMTcuMDIxMyAxMy41MDQ3IDE3LjEzNzUgMTMuMzg3NUMxNy4yNTQ3IDEzLjI3MTMgMTcuMzQ3NyAxMy4xMzMgMTcuNDExMSAxMi45ODA3QzE3LjQ3NDYgMTIuODI4NCAxNy41MDczIDEyLjY2NSAxNy41MDczIDEyLjVDMTcuNTA3MyAxMi4zMzUgMTcuNDc0NiAxMi4xNzE2IDE3LjQxMTEgMTIuMDE5M0MxNy4zNDc3IDExLjg2NyAxNy4yNTQ3IDExLjcyODcgMTcuMTM3NSAxMS42MTI1TDEzLjM4NzUgNy44NjI1Wk0xMi41IDBDMTAuMDI3NyAwIDcuNjEwOTkgMC43MzMxMTIgNS41NTUzOCAyLjEwNjYzQzMuNDk5NzYgMy40ODAxNSAxLjg5NzYxIDUuNDMyMzggMC45NTE1MTEgNy43MTY0NUMwLjAwNTQxNjAzIDEwLjAwMDUgLTAuMjQyMTI2IDEyLjUxMzkgMC4yNDAxOSAxNC45Mzg2QzAuNzIyNTA1IDE3LjM2MzQgMS45MTMwMSAxOS41OTA3IDMuNjYxMTcgMjEuMzM4OEM1LjQwOTMzIDIzLjA4NyA3LjYzNjYxIDI0LjI3NzUgMTAuMDYxNCAyNC43NTk4QzEyLjQ4NjEgMjUuMjQyMSAxNC45OTk1IDI0Ljk5NDYgMTcuMjgzNSAyNC4wNDg1QzE5LjU2NzYgMjMuMTAyNCAyMS41MTk5IDIxLjUwMDIgMjIuODkzNCAxOS40NDQ2QzI0LjI2NjkgMTcuMzg5IDI1IDE0Ljk3MjMgMjUgMTIuNUMyNSAxMC44NTg1IDI0LjY3NjcgOS4yMzMwMiAyNC4wNDg1IDcuNzE2NDVDMjMuNDIwMyA2LjE5OTg4IDIyLjQ5OTYgNC44MjE5IDIxLjMzODggMy42NjExNkMyMC4xNzgxIDIuNTAwNDMgMTguODAwMSAxLjU3OTY5IDE3LjI4MzUgMC45NTE1MDZDMTUuNzY3IDAuMzIzMzIyIDE0LjE0MTUgMCAxMi41IDBaTTEyLjUgMjIuNUMxMC41MjIyIDIyLjUgOC41ODg3OSAyMS45MTM1IDYuOTQ0MyAyMC44MTQ3QzUuMjk5ODEgMTkuNzE1OSA0LjAxODA5IDE4LjE1NDEgMy4yNjEyMSAxNi4zMjY4QzIuNTA0MzMgMTQuNDk5NiAyLjMwNjMgMTIuNDg4OSAyLjY5MjE1IDEwLjU0OTFDMy4wNzggOC42MDkyOCA0LjAzMDQxIDYuODI3NDYgNS40Mjg5NCA1LjQyODkzQzYuODI3NDYgNC4wMzA0MSA4LjYwOTI5IDMuMDc4IDEwLjU0OTEgMi42OTIxNUMxMi40ODg5IDIuMzA2MjkgMTQuNDk5NiAyLjUwNDMzIDE2LjMyNjggMy4yNjEyQzE4LjE1NDEgNC4wMTgwOCAxOS43MTU5IDUuMjk5OCAyMC44MTQ3IDYuOTQ0M0MyMS45MTM1IDguNTg4NzkgMjIuNSAxMC41MjIyIDIyLjUgMTIuNUMyMi41IDE1LjE1MjIgMjEuNDQ2NCAxNy42OTU3IDE5LjU3MTEgMTkuNTcxMUMxNy42OTU3IDIxLjQ0NjQgMTUuMTUyMiAyMi41IDEyLjUgMjIuNVoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=");
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
}

.popup-overlay[hidden] {
  display: none;
}

.popup {
  position: relative;
  width: min(94vw, 1200px);
  background: var(--color-ink);
  border-radius: var(--popup-radius);
  overflow: hidden;
  --c1: #023055;
  --grad-from: #003c5e;
  --grad-to: #007dc4;
}

.popup-content {
  transition: opacity 0.25s ease;
}

.popup-content.is-fading {
  opacity: 0;
}

.popup-form-view {
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  background-color: var(--color-ink);
  min-height: 80vh;
}

.popup-form-view form {
  max-width: 600px;
  margin: 0 auto;
  align-items: start;
}

.popup-form-view[hidden] {
  display: none;
}

.popup-form-view.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .popup-content,
  .popup-form-view {
    transition: none;
  }
}

.popup-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  cursor: pointer;
  border: none;
  border-radius: 104px;
  padding: 10px 20px;
  background: var(--popup-color-close-bg);
  color: #000;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.popup-close:hover,
.popup-close:focus-visible {
  background: linear-gradient(90deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  color: var(--color-white);
}

@keyframes popup-item-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-logo-group,
.popup-hero-photo,
.popup-cta,
.popup-course-photo,
.popup-course-info,
.popup-differentials {
  animation: popup-item-in 0.5s ease-out both;
}

.popup-hero-photo { animation-delay: 0.06s; }
.popup-cta { animation-delay: 0.12s; }
.popup-course-photo { animation-delay: 0.2s; }
.popup-course-info { animation-delay: 0.26s; }
.popup-differentials { animation-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  .popup-logo-group,
  .popup-hero-photo,
  .popup-cta,
  .popup-course-photo,
  .popup-course-info,
  .popup-differentials {
    animation: none;
  }
}

.popup-block--top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "logo photo" "cta photo";
  align-items: center;
  gap: 24px 60px;
  padding: 60px;
  background: var(--c1);
  color: var(--color-white);
}

.popup-logo-group {
  grid-area: logo;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.popup-logo {
  height: auto;
  min-width: 0;
  max-width: 100%;
}

.popup-city {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
}

.popup-cta {
  grid-area: cta;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-headline {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.25;
}

.popup-description {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.popup-hero-photo {
  grid-area: photo;
  aspect-ratio: 645 / 678;
  border-radius: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.popup-scroll-chevron {
  display: none;
}

.popup-block--course {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 60px;
  color: var(--color-white);
}

.popup-course-photo {
  flex: 1 1 55%;
  aspect-ratio: 967 / 580;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
}

.popup-course-info {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  letter-spacing: 1px;
}

.popup-duration {
  margin: 0;
  font-weight: 500;
}

.popup-modality {
  margin: 0;
  font-weight: 300;
}

.popup-modality strong {
  display: block;
}

.popup-acting-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.popup-acting-list li {
  position: relative;
  padding-left: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.popup-acting-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.popup-cta-btn {
  margin-top: 8px;
  align-self: flex-start;
  border-radius: 25px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--color-glow-border);
  background: linear-gradient(181deg, #099f33 1.88%, #041d14 173.59%);
  color: var(--color-white);
  font-family: var(--font-cta);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
}

.popup-cta-btn--top {
  display: none;
}

.popup-lower {
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--grad-from) 0%, var(--grad-to) 100%);
}

.popup-differentials {
  position: relative;
  margin: 0 60px;
  aspect-ratio: 1540 / 400;
}

.popup-differentials-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52.2%;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
}

.popup-differentials-content {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 53.4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  border-radius: 30px;
  background: var(--c1);
  color: var(--color-white);
}

.popup-differentials-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.popup-differentials-text {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .popup {
    border-radius: var(--popup-radius-mobile);
  }

  .popup-close {
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: 15px;
  }

  .popup-form-view {
    padding: 72px 24px 40px;
  }

  .popup-block--top {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "photo" "chevron" "cta";
    gap: 20px;
    padding: 72px 24px 40px;
  }

  .popup-block--course {
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
  }

  .popup-hero-photo {
    margin: 0 -24px -120px;
    width: calc(100% + 48px);
    aspect-ratio: 360 / 662;
    background-size: cover;
    background-position: 41% center;
    border-radius: 0;
  }

  .popup-course-photo {
    width: 100%;
    aspect-ratio: 310 / 400;
  }

  .popup-logo-group {
    align-items: center;
    text-align: center;
  }

  .popup-city {
    font-size: 14px;
    letter-spacing: 1.82px;
  }

  .popup-cta {
    align-items: center;
    text-align: center;
  }

  .popup-headline {
    font-size: 25px;
    letter-spacing: 3.25px;
  }

  .popup-description {
    font-size: 17px;
  }

  .popup-course-info {
    font-size: 17px;
    letter-spacing: 2.21px;
  }

  .popup-cta-btn {
    align-self: center;
    border-radius: 27.6px;
    font-size: 18px;
  }

  .popup-cta-btn--top {
    display: inline-block;
  }

  .popup-differentials-content {
    align-items: center;
    text-align: center;
  }

  .popup-differentials-title {
    font-size: 24px;
    letter-spacing: 3.12px;
  }

  .popup-differentials-text {
    font-size: 17px;
  }

  .popup-scroll-chevron {
    grid-area: chevron;
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    transform: rotate(180deg);
    background: var(--color-white);
    -webkit-mask: var(--chevron-svg) center / contain no-repeat;
    mask: var(--chevron-svg) center / contain no-repeat;
  }

  .popup-lower {
    padding-bottom: 24px;
  }

  .popup-differentials {
    aspect-ratio: 310 / 1114;
    margin: 0 24px;
  }

  .popup-differentials-content {
    inset: 0 0 auto 0;
    width: auto;
    height: 57.27%;
    padding: 24px;
  }

  .popup-differentials-photo {
    inset: 50.18% 0 0 0;
    width: auto;
  }
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL (Figma node 8580:4067 desktop / 8580:4490 mobile)
   Fonte de verdade de dados: rules/footer.md — logo único (sem "Pós"), fundo em
   gradiente e telefone do Figma seguem o design real desta LP (divergências do
   padrão canônico confirmadas com o usuário; CNPJ/endereço/link batem com o
   padrão). Referência canônica (.claude/rules/references/footer/) não alterada.
   ========================================================================== */
.site-footer {
  width: 100%;
  background: linear-gradient(176.9deg, #13141f 0.26%, #525685 258.63%);
  padding-block: 55px;
}

.site-footer-inner {
  width: 1025px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 37px;
  row-gap: 24px;
}

.site-footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 272px;
  height: 60px;
}

.site-footer-rule {
  flex: 0 0 auto;
  width: 2px;
  height: 71.5px;
  background-color: var(--color-white);
}

.site-footer-rule--contact {
  display: none;
}

.site-footer-address {
  flex: 0 0 275px;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-address-text {
  width: 275px;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2102;
  letter-spacing: 0;
  color: var(--color-white);
  text-align: left;
}

.site-footer-address-text p {
  margin: 0;
}

.site-footer-contact {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2102;
  letter-spacing: 0;
}

.site-footer-phone-icon {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.site-footer-privacy {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2102;
  letter-spacing: 0;
  color: #518eff;
  text-decoration: underline;
  text-underline-position: from-font;
}

@media (max-width: 767px) {
  .site-footer {
    background: linear-gradient(160.4deg, #13141f 0.26%, #525685 258.63%);
    padding-block: 40px;
  }

  .site-footer-inner {
    width: 355px;
    max-width: 100%;
    padding-inline: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 15px;
    row-gap: 15px;
  }

  .site-footer-logo {
    width: 208px;
    height: 46px;
  }

  .site-footer-rule--logo {
    display: none;
  }

  .site-footer-rule--cnpj {
    width: 100%;
    height: 2px;
  }

  .site-footer-address {
    flex: 0 0 auto;
    width: 100%;
  }

  .site-footer-address-text {
    width: 100%;
    text-align: center;
  }

  .site-footer-contact {
    flex-direction: row;
  }

  .site-footer-rule--contact {
    display: block;
    height: 17px;
  }
}
