/* ==========================================================================
   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.section-kicker--hint {
  font-size: 12px;
}

.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: -0.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-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: top right;
  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: 700px;
  width: 100%;
}
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.hero-intro-logo {
  width: 100%;
  max-width: 564px;
  height: auto;
  margin-bottom: 12px;
}
.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: 400;
}
.hero-title-script {
  font-size: 84px;
  padding-top: 0.1em;
}
.hero-subtitle {
  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;
  margin: 16px 0;
  font-family: var(--font-display);
  font-weight: 900;
  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;
}
.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: 130px; /* 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);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}
.courses-section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  z-index: 0;
}

.courses-section-content {
  position: relative;
  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-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
}
.courses-intro-title,
.courses-closing-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
}
.courses-intro-title {
  letter-spacing: 32%;
}
.courses-closing-title {
  max-width: 820px;
}
.courses-intro-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
}
.courses-section .section-kicker strong {
  font-weight: 700;
}

.courses-slider {
  display: contents;
}

.courses-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 288px);
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  max-width: 1212px;
}
.course-card {
  width: 288px;
  height: 368px;
  background: var(--color-ink);
  border-radius: 18px;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: center;
  transition: background-color 0.2s ease;
}
.course-card:hover {
  cursor: pointer;
}

/* Hover (desktop) / active (slide atual no slider mobile, classe do Swiper): í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,
.swiper-slide-active .course-card-icon--hover {
  opacity: 1;
}
.course-card:hover .course-card-icon:not(.course-card-icon--hover),
.swiper-slide-active .course-card-icon:not(.course-card-icon--hover) {
  opacity: 0;
}
.course-card-name {
  font-family: var(--font-display);
  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: auto;
}
.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-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 {
  color: var(--color-white);
  font-size: 18px;
  text-align: center;
  margin-top: 8px;
}
.testimonials-slider {
  display: contents;
}

.testimonials-grid {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1456px;
}
/* No desktop o .swiper-slide é só um wrapper inerte (Swiper não é instanciado —
   rules/html-css-js.md seção 7.1, carrossel só existe no mobile); sem isso, o
   width:100% do swiper-bundle.css estica cada card pra largura toda do flex container. */
.testimonials-grid .swiper-slide {
  width: auto;
  flex: 0 0 auto;
}
/* .testimonial-card agora é o próprio elemento <lite-youtube> (rules/media.md seção 5) —
   lite-yt-embed.css já traz base (bg cover, position:relative, cursor:pointer); aqui só
   sobrescrevemos o que diverge do design (aspect ratio vertical, sem gradiente/16:9 padrão). */
.testimonial-card {
  aspect-ratio: 292/520;
  width: 292px;
  max-width: none;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
  -webkit-user-drag: none;
}
.testimonial-card::before,
.testimonial-card::after {
  content: none;
}
/* Especificidade igual/maior que "lite-youtube > .lty-playbtn" do lite-yt-embed.css pra
   sobrescrever o botão padrão (ícone do YouTube, 100%x100%) pelo nosso círculo vermelho. */
.testimonial-play-icon.lty-playbtn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-red);
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.testimonial-play-icon img {
  width: 32px;
  height: 32px;
  margin-left: 3px;
}
.testimonial-card-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  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;
  z-index: 1;
}
.testimonial-card.lyt-activated .testimonial-card-label {
  opacity: 0;
  pointer-events: 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 {
  background-image: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
  background-clip: text;
  width: 746px;
  font-size: 40px;
}
.why-section .gradient-script-text {
  display: inline;
  background-image: none;
}
.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: 0.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 .gradient-script-text {
  font-size: 128px;
}
.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: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
}
.structure-section .section-title {
  max-width: 1100px;
}
.structure-section .gradient-script-text {
  font-size: 96px;
  margin-top: 0;
  padding-top: 20px;
}
.structure-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.structure-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 586 / 552;
  object-fit: cover;
  border-radius: 24px;
}
.structure-photo--main {
  grid-column: 1 / -1;
  aspect-ratio: 1200 / 550;
}

/* ==========================================================================
   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: 0.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;
}

/* ==========================================================================
   BARRA FINAL (logo)
   ========================================================================== */
.closing-bar-section {
  width: 100%;
  background: linear-gradient(178deg, rgb(19, 20, 31) 0%, rgb(43, 45, 70) 100%);
  padding: 20px 0;
}
.closing-bar-section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}
.closing-bar-section-content img {
  width: 172px;
  height: auto;
}

/* ==========================================================================
   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: 14px;
    text-align: center;
  }

  .topbar-section {
    position: static;
  }
  .topbar-section-content {
    padding: 16px 20px;
    justify-content: center;
  }
  img.topbar-logo {
    width: 160px;
  }
  .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-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: 0.2em;
  }
  .hero-title-light,
  .hero-title-line {
    font-size: 17px;
  }
  .hero-title-script {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.3;
  }
  .hero-countdown-label {
    font-size: 17px;
    letter-spacing: normal;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-weight: 700;
  }
  .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;
  }
  .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,
  .structure-section-content,
  .faq-section-content,
  .topbar-section-content,
  .closing-bar-section-content {
    padding: 0px;
    gap: 32px;
  }

  /* .section-kicker só é usada na seção Cursos — 16px, conforme Figma */
  .section-kicker {
    font-size: clamp(12px, 3.5vw, 16px);
    letter-spacing: 26%;
  }
  .section-title {
    font-size: 28px;
  }
  .section-title-script {
    font-size: 40px;
  }
  .gradient-script-text {
    margin-top: -0.1em;
  }

  .courses-intro {
    gap: 16px;
  }
  .courses-intro-title {
    font-size: 14px;
  }
  .courses-closing-title {
    font-size: 22px;
    max-width: 300px;
  }
  .courses-intro-text {
    font-size: 14px;
    max-width: 308px;
    line-height: 1.2;
  }

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

  .courses-slider {
    width: 100%;
    display: block;
    padding-bottom: 4px;
  }
  .courses-slider img {
    -webkit-user-drag: none;
  }
  /* Reseta tudo que a regra base (desktop, grid 3 colunas) deixaria vazar pro Swiper:
     justify-content:center desalinha a matemática de transform do Swiper (que espera
     os slides em sequência a partir do início), e gap soma em cima do spaceBetween
     já aplicado via margin inline pelo Swiper — dobra o espaçamento. */
  .courses-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    max-width: none;
    justify-content: flex-start;
    gap: 0;
  }
  .course-card {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    transform: scale(0.8);
    opacity: 0.8;
    transition:
      transform 0.3s ease,
      opacity 0.2s ease;
  }
  .swiper-slide-active .course-card {
    transform: scale(1);
    opacity: 1;
  }

  .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%;
    display: block;
    padding-bottom: 4px;
  }
  .testimonials-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
  }
  .testimonials-grid .swiper-slide {
    width: auto;
  } /* Swiper seta o width real via JS inline; aqui só desfaz o width:auto+flex:0_0_auto do desktop */
  .testimonial-card {
    width: 100%;
  }

  .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%;
  }

  .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, 7vw, 30px);
    width: 100%;
    line-height: 1.1;
    font-weight: 900;
  }
  .why-section .gradient-script-text {
    font-size: inherit;
    font-weight: inherit;
  }
  .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: -0.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: 28px;
    font-weight: 900;
    line-height: 32px;
  }
  .final-cta-section .gradient-script-text {
    font-size: 40px;
  }
  .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: 24px;
    max-width: 290px;
  }
  .structure-section .gradient-script-text {
    font-size: 34px;
    margin-top: 0;
  }
  .structure-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Figma mobile: as 3 fotos têm o mesmo tamanho (326x306, empilhadas) — diferente do
     desktop, onde a primeira é grande (1200x550) e só as 2 de baixo são iguais entre si. */
  .structure-photo,
  .structure-photo--main {
    grid-column: auto;
    aspect-ratio: 326 / 306;
    border-radius: 16px;
  }

  .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;
  }
}

/* ==========================================================================
   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-white);
  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;
}

.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: 767px) {
  .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;
  }
}
