﻿:root {
  --revayah-blue-1: #001e93;
  --revayah-blue-2: #00147c;
  --revayah-navy: #000143;
  --revayah-blue-3: #001b8c;
  --revayah-ink: #0b1020;
  --revayah-muted: #6b7280;
  --revayah-bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #f2f4f7;
  --line: #e5eaf2;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 8px 24px rgba(2, 17, 69, 0.06);
  --shadow-2: 0 22px 55px rgba(2, 17, 69, 0.1);
  --speed: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--revayah-ink);
  background: var(--surface);
  line-height: 1.65;
  width: 100%;
  overflow-x: hidden;
}

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

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

iframe,
video,
canvas {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  z-index: 9999;
  background: var(--revayah-blue-1);
  color: #fff;
  padding: 0.5rem 0.9rem;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  color: var(--revayah-blue-1);
  font-size: 0.88rem;
  overflow: hidden;
}

.topbar .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.topbar__content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.topbar-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
  min-width: max-content;
  animation: topbar-marquee 30s linear infinite;
  will-change: transform;
}

.marquee-track .sep {
  color: var(--revayah-blue-1);
  font-weight: 700;
}

@keyframes topbar-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(10, 22, 60, 0.07);
  transition: var(--speed);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(11, 16, 32, 0.08);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 63px;
  height: 63px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.brand span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.desktop-nav {
  margin-left: auto;
  display: inline-flex;
  gap: 0.8rem;
}

.desktop-nav a {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.89rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--speed);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--revayah-blue-1);
}

.header-cta {
  margin-left: 0.45rem;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  font-size: 0.83rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 2px solid #111827;
  border-radius: 12px;
  background: #ffffff;
  padding: 7px;
  cursor: pointer;
  box-shadow: none;
  transition: transform var(--speed), border-color var(--speed), background var(--speed);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 3px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: var(--revayah-blue-1);
  transform-origin: center;
  transition: var(--speed);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: #111827;
  background: #f8fbff;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height var(--speed), padding var(--speed), border-color var(--speed);
}

.mobile-drawer.open {
  max-height: calc(100vh - 74px);
  padding: 0.85rem 1rem 1rem;
  border-top-color: #e6ebf5;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer a {
  font-weight: 500;
  color: #1f2d47;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed), color var(--speed);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, var(--revayah-blue-1), #2549e6 58%, #6c7bff 110%);
  box-shadow: 0 6px 14px rgba(37, 73, 230, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 16px rgba(37, 73, 230, 0.24);
}

.btn-outline {
  color: #24344f;
  border-color: #dbe2ef;
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: #c6d2ea;
  background: #fff;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(191, 208, 242, 0.8);
  background: rgba(255, 255, 255, 0.55);
  color: var(--revayah-blue-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 17, 69, 0.16);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--speed), transform var(--speed), background var(--speed), border-color var(--speed);
  z-index: 1200;
}

.back-to-top i {
  font-size: 0.95rem;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(174, 198, 240, 0.95);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-whatsapp {
  margin-top: 0.45rem;
  color: #0f7f44;
  border-color: #bbe9cb;
  background: #edfff4;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% -8%, rgba(20, 58, 240, 0.13), transparent 42%),
    radial-gradient(circle at 85% 3%, rgba(44, 92, 214, 0.2), transparent 40%),
    var(--surface-alt);
  padding: 24px 0 0 !important;
  margin-bottom: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 35, 71, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.34;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(66, 99, 245, 0.2), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 40%) !important;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem) !important;
  min-height: 470px;
  z-index: 2;
}

.hero__side {
  justify-self: end;
  align-self: end;
  width: 100%;
  display: flex;
  align-items: flex-end;
  margin-left: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .hero__side {
    margin-left: 0;
  }
}

.hero__side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  margin-bottom: -34px;
  filter: none;
  transform: translate3d(calc(-4px + var(--hero-parallax-x, 0px)), 0, 0) scale(1.15);
  transform-origin: right bottom;
  transition: transform 160ms linear;
  will-change: transform;
}

.hero__content {
  text-align: left;
  max-width: 100%;
  margin: 0;
  min-width: 0;
  align-self: center;
  transform: none !important;
  padding-left: clamp(0rem, 8vw, 9rem);
  position: relative;
  z-index: 3;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(0, 30, 147, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--revayah-blue-1);
  border-radius: 999px;
  min-height: 28px;
  padding: 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  box-shadow: none;
}

.hero__badge span {
  background: linear-gradient(115deg, var(--revayah-blue-1), #2549e6 58%, #6c7bff 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: none;
}

@keyframes badge-tone-shift {
  0%,
  35% {
    background: linear-gradient(90deg, #2b71ff 0%, #7f44cb 38%, #f1178f 70%, #ff6b1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  50%,
  85% {
    background: linear-gradient(90deg, var(--revayah-blue-1), var(--revayah-blue-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  100% {
    background: linear-gradient(90deg, #2b71ff 0%, #7f44cb 38%, #f1178f 70%, #ff6b1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero h1 {
  margin: 0;
  max-width: 15ch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-family: "Poppins", sans-serif;
  color: #030712;
  font-size: clamp(1.5rem, 3.4vw, 3.23rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(115deg, var(--revayah-blue-1), #2549e6 58%, #6c7bff 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-blue {
  color: var(--revayah-blue-1);
  display: block;
  white-space: nowrap;
}

.typing-wrap {
  display: block;
  align-items: baseline;
  justify-content: flex-start;
  min-width: 0;
  min-height: 1.08em;
  white-space: nowrap;
  max-width: 100%;
}

.typing-cursor {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.08em;
  background: var(--revayah-blue-1);
  vertical-align: baseline;
  animation: blink-caret 0.9s step-end infinite;
}

@keyframes blink-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero__text {
  margin: 1.35rem 0 0;
  max-width: 56ch;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.52;
  color: #52627e;
  overflow-wrap: break-word;
  word-break: normal;
  transform: none;
}

.hero__actions {
  margin-top: 1.15rem;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
  z-index: 6;
}

.hero__card {
  margin: 1.3rem auto 0;
  width: min(860px, 100%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #d9e0ef;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 1.3rem;
}

.hero__card h2 {
  margin: 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
}

.hero__mini-cards {
  margin: 0.75rem auto 0;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero__mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.95rem;
  color: #1e293b;
  border: 1px solid #dbe4f1;
  border-radius: 12px;
  padding: 1.05rem 0.9rem 1.15rem;
  min-height: 170px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.hero__mini-card i {
  color: var(--revayah-blue-1);
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.hero__mini-card p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4em;
  line-height: 1.38;
  max-width: 17ch;
  text-wrap: balance;
}

.hero__mini-card:hover,
.hero__mini-card:focus-within {
  transform: translateY(calc(var(--parallax-y, 0px) - 4px)) scale(1.03);
  box-shadow: 0 12px 24px rgba(3, 22, 73, 0.12);
  border-color: #c9d8f4;
}

.verse {
  margin: 0.95rem 0 0;
  text-align: center;
  color: #61708a;
  font-style: italic;
  line-height: 1.45;
}

.hero__stats {
  margin: 0.45rem auto 0;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #dde5f1;
  border-radius: var(--radius-md);
  padding: 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-1);
}

.stat-card strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: var(--revayah-blue-1);
}

.stat-card span {
  color: #66748d;
  font-size: 0.89rem;
}

.hero-highlights {
  padding: 1.2rem 0 3.2rem;
  background: #ecf1fa;
  border-top: 1px solid #dde6f4;
}

.hero-highlights__stack {
  display: grid;
  gap: 0.4rem;
}

.promo-banner {
  background: transparent;
  padding: 60px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.promo-banner--app {
  padding: 24px 0 32px !important;
  margin-top: 0;
  background: #000;
}

.promo-banner--app .promo-banner__picture {
  border-radius: 18px;
}

.promo-banner--app .promo-banner__picture img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.promo-banner__picture {
  margin: 0;
  display: block;
  overflow: hidden;
  line-height: 0;
  border-radius: 16px;
}

.promo-banner__picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 0;
  box-shadow: none;
  transition: transform 280ms ease;
  transform-origin: center center;
  transform: none;
}

.promo-banner__picture:hover img,
.promo-banner__picture:active img {
  transform: none;
}

@media (max-width: 767px) {
  .promo-banner--app {
    padding: 18px 0 22px !important;
  }
}

@media (max-width: 980px) {
  .promo-banner--app {
    padding: 18px 0 22px !important;
  }
}

.section {
  padding: clamp(3.2rem, 7vw, 4.8rem) 0;
}

#sobre {
  padding-top: 2.2rem;
}

.section--bg {
  background: var(--revayah-bg);
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--revayah-blue-2);
}

.section h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.16;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
}

.section-head p {
  color: #43506a;
  overflow-wrap: break-word;
  word-break: normal;
}

#modalidades .section-head {
  max-width: 100%;
}

#modalidades .section-head p {
  max-width: none;
}

#sobre .section-head {
  max-width: 100%;
}

#sobre .section-head p {
  max-width: none;
}

#onde-estamos .section-head {
  max-width: 100%;
}

#onde-estamos .section-head p {
  max-width: none;
}

#cursos .section-head {
  max-width: 100%;
}

#cursos .curriculum-layout {
  grid-template-columns: 1fr;
}

#cursos {
  position: relative;
  isolation: isolate;
}

#cursos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(135deg, rgba(5, 17, 52, 0.82) 0%, rgba(8, 29, 84, 0.74) 52%, rgba(18, 8, 67, 0.78) 100%),
    radial-gradient(circle at 12% 18%, rgba(17, 216, 229, 0.2), transparent 34%),
    radial-gradient(circle at 88% 15%, rgba(217, 46, 223, 0.18), transparent 36%),
    url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: saturate(1.12) contrast(1.05);
}

#cursos > .container {
  position: relative;
  z-index: 1;
}

#cursos .eyebrow {
  color: #b9cbff;
}

#cursos h2 {
  background: linear-gradient(90deg, #12d7e6 0%, #7f92ff 48%, #d92edf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#cursos .section-head p,
#cursos .curriculum-intro p {
  color: #e7efff;
  text-shadow: 0 1px 1px rgba(3, 10, 32, 0.22);
}

#cursos .curriculum-list li {
  color: #f2f6ff;
}

#cursos .curriculum-list li::marker {
  color: #7fdfff;
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 0.95rem;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.feature-card,
.course-card,
.how-cards article {
  background: #fff;
  border: 1px solid #e1e8f4;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-1);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.info-card:hover,
.feature-card:hover,
.course-card:hover,
.how-cards article:hover {
  transform: translateY(calc(var(--parallax-y, 0px) - 5px));
  border-color: #bfd1f7;
  box-shadow: var(--shadow-2);
}

.info-card i {
  font-size: 1.3rem;
  color: var(--revayah-blue-1);
}

.timeline {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline li {
  background: #fff;
  border: 1px solid #dee5f2;
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.timeline span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--revayah-blue-1), #244cf2);
}

.timeline p {
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.filter-btn {
  border: 1px solid #d4dded;
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--speed);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--revayah-blue-1), #2549e6);
}

.course-card .tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  border: 1px solid #cad8f4;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  color: var(--revayah-blue-2);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card.hidden {
  display: none;
}

.curriculum-intro {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.curriculum-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.curriculum-media {
  border: 1px solid #dfe7f6;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 32px rgba(3, 22, 73, 0.08);
  position: relative;
  top: auto;
  max-height: none;
  height: 100%;
  min-height: 100%;
}

.curriculum-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}

.curriculum-content {
  min-width: 0;
}

.curriculum-intro p {
  margin: 0;
  color: #3f5170;
  font-size: 0.95rem;
  line-height: 1.52;
}

.curriculum-intro p + p {
  margin-top: 0.65rem;
}

.curriculum-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.curriculum-tabs {
  margin-top: 1.45rem;
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 0.35rem;
  position: relative;
  padding-bottom: 1px;
}

.curriculum-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(198, 218, 255, 0.56) 0%,
    rgba(174, 201, 255, 0.4) 56%,
    rgba(174, 201, 255, 0.14) 84%,
    rgba(174, 201, 255, 0) 100%
  );
  pointer-events: none;
}

.curriculum-tab {
  border: 1px solid rgba(190, 211, 255, 0.38);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(16, 45, 124, 0.74), rgba(9, 27, 80, 0.62));
  color: #d8e7ff;
  min-height: 38px;
  padding: 0.42rem 1rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--speed), background var(--speed), color var(--speed), border-color var(--speed);
  position: relative;
  top: 1px;
  z-index: 1;
}

.curriculum-tab:hover,
.curriculum-tab:focus-visible {
  color: #ffffff;
  border-color: rgba(207, 223, 255, 0.62);
  background: linear-gradient(180deg, rgba(23, 62, 168, 0.78), rgba(12, 38, 109, 0.72));
}

.curriculum-tab.is-active {
  color: #ffffff;
  border-color: rgba(207, 223, 255, 0.72);
  background: linear-gradient(120deg, rgba(18, 72, 201, 0.9), rgba(97, 84, 228, 0.9));
  box-shadow: 0 10px 24px rgba(7, 23, 85, 0.28);
}

.curriculum-panels {
  margin-top: 0.8rem;
  position: relative;
}

.curriculum-panel {
  display: block;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.curriculum-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.curriculum-periods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.curriculum-period {
  border: 1px solid rgba(164, 189, 246, 0.34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(9, 28, 82, 0.58), rgba(15, 39, 101, 0.44));
  padding: 0.82rem 0.9rem;
}

.curriculum-period h3 {
  margin: 0 0 0.45rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #e8f1ff;
}

.curriculum-list--period {
  margin-top: 0.2rem;
}

.curriculum-list {
  margin: 0;
  padding: 0 0 0 1.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.curriculum-list--card {
  border: 1px solid rgba(164, 189, 246, 0.34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(9, 28, 82, 0.58), rgba(15, 39, 101, 0.44));
  padding: 0.86rem 0.9rem 0.86rem 2rem;
}

.curriculum-list li {
  margin-bottom: 0.26rem;
  color: #243753;
  font-size: 0.9rem;
  line-height: 1.34;
  overflow-wrap: break-word;
  word-break: normal;
}

.curriculum-list li:last-child {
  margin-bottom: 0;
}

.curriculum-stage {
  margin-top: 1.1rem;
  border: 1px solid #cddcf9;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: linear-gradient(120deg, rgba(19, 69, 230, 0.09), rgba(19, 69, 230, 0.02));
  color: #133ca3;
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
}

.curriculum-stage strong::before {
  content: "• ";
  color: #2b5cff;
}

.curriculum-stage__note {
  font-size: 0.78em;
  font-weight: 500;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 0.9rem;
  align-items: stretch;
}

.units-rail {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.8rem;
}

.units-actions-viewport {
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.units-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: max-content;
}

.units-nav {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #cfd9ed;
  background: #ffffff;
  color: #1d3568;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--speed);
}

.units-nav:hover,
.units-nav:focus-visible {
  border-color: #adc1ea;
  color: #113277;
  background: #f8fbff;
}

.units-nav[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.unit-btn {
  border: 1px solid #d4deef;
  background: #fff;
  color: #1f2f4b;
  border-radius: 999px;
  min-height: 40px;
  height: 40px;
  min-width: 145px;
  width: 145px;
  padding: 0.42rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--speed);
}

.unit-btn--active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, var(--revayah-blue-1), #2a56f0);
  box-shadow: 0 6px 16px rgba(22, 56, 194, 0.2);
}

.unit-btn--active:hover,
.unit-btn--active:focus-visible {
  color: #fff;
  border-color: transparent;
}

.unit-btn:hover,
.unit-btn:focus-visible {
  border-color: #b6c7e9;
  color: #102748;
}

.location-card {
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-1);
}

.location-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
}

.location-card h3 i {
  color: var(--revayah-blue-1);
}

.location-card p {
  margin: 0 0 0.35rem;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.45;
}

.location-card .location-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.location-card .btn {
  margin-top: 0.8rem;
}

#unit-address,
#unit-phone-row,
#unit-phone {
  font-size: 0.9rem;
}

.btn-whatsapp-unit {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(120deg, #13a34a, #22c55e);
  box-shadow: 0 8px 18px rgba(19, 163, 74, 0.24);
}

.btn-whatsapp-unit .whatsapp-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-whatsapp-unit:hover,
.btn-whatsapp-unit:focus-visible {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(120deg, #119443, #1fb155);
  box-shadow: 0 10px 22px rgba(19, 163, 74, 0.32);
}

.location-map {
  position: relative;
  border: 1px solid #dfe7f4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  min-height: 320px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.location-map__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1rem;
  background:
    linear-gradient(140deg, rgba(241, 246, 255, 0.95), rgba(231, 239, 255, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(32, 76, 201, 0.16), transparent 45%);
}

.location-map__soon[hidden] {
  display: none !important;
}

.location-map__soon-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 62px;
  border: 3px solid rgba(198, 33, 33, 0.92);
  border-radius: 14px;
  transform: rotate(-7deg);
  box-shadow: 0 10px 24px rgba(185, 35, 35, 0.2);
  background: rgba(255, 255, 255, 0.68);
}

.location-map__soon-stamp span {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b12222;
  font-size: 1.18rem;
}

.location-map__soon p {
  margin: 0;
  color: #18305f;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 0;
  font-size: 0.98rem;
  color: #2f3f5c;
}

.bullets i,
.how-cards i {
  color: var(--revayah-blue-1);
}

.how-cards {
  display: grid;
  gap: 0.65rem;
}

.how-cards article {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  box-shadow: none;
  border-color: #dfe6f2;
  background: rgba(255, 255, 255, 0.76);
}

.how-cards article h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.03rem;
}

.how-cards article p {
  margin: 0;
  font-size: 0.95rem;
  color: #3f506b;
  line-height: 1.45;
}

.how-cards article:hover {
  transform: translateY(calc(var(--parallax-y, 0px) - 2px));
  box-shadow: 0 8px 18px rgba(3, 22, 73, 0.06);
  border-color: #d3deee;
}

.modality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.modality-card {
  border: 1px solid #dfe7f4;
  border-radius: 26px;
  background: #f8fafd;
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.modality-card:hover,
.modality-card:focus-within {
  transform: translateY(calc(var(--parallax-y, 0px) - 5px)) scale(1.02);
  box-shadow: 0 14px 28px rgba(3, 22, 73, 0.12);
  border-color: #bfd1f7;
}

.modality-card.reveal.show:hover,
.modality-card.reveal.show:focus-within {
  transform: translateY(calc(var(--parallax-y, 0px) - 5px)) scale(1.02);
}

.modality-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
}

.modality-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
}

.modality-badge__icon {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(140deg, var(--revayah-blue-1), #2f56ff);
}

.modality-badge__icon--alt {
  background: linear-gradient(140deg, #2f56ff, #6f95ff);
}

.modality-card__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modality-card h3 {
  margin: 1rem 0 0.45rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.modality-card > p {
  margin: 0;
  color: #55627a;
  font-size: 1.05rem;
}

.modality-visual {
  margin-top: 1rem;
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d6deed;
  background: #0e1734;
}

.modality-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


.modality-visual .screen-main {
  position: absolute;
  left: 14px;
  right: 90px;
  bottom: 14px;
  top: 14px;
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(11, 24, 66, 0.94), rgba(11, 54, 123, 0.7) 52%, rgba(0, 167, 187, 0.52));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.modality-visual .screen-float {
  position: absolute;
  width: 140px;
  height: 245px;
  right: 12px;
  bottom: 8px;
  border-radius: 20px;
  background: linear-gradient(130deg, rgba(7, 18, 50, 0.96), rgba(20, 41, 94, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: rotate(8deg);
}

.modality-visual--presencial {
  background: #fff3f8;
}

.modality-visual--presencial .screen-main {
  background: linear-gradient(130deg, rgba(255, 216, 231, 0.95), rgba(255, 241, 246, 0.8) 54%, rgba(255, 189, 220, 0.72));
  box-shadow: inset 0 0 0 1px rgba(143, 40, 95, 0.16);
}

.modality-visual--presencial .screen-float {
  background: linear-gradient(130deg, rgba(255, 247, 250, 0.98), rgba(255, 226, 240, 0.95));
  border: 1px solid rgba(143, 40, 95, 0.18);
}


.testimonials-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
}

.testimonials-viewport {
  overflow: hidden;
  padding: 0.2rem;
}

.testimonials-track {
  display: flex;
  gap: 0.8rem;
  transition: transform 420ms ease;
}

.testimonial-card {
  flex: 0 0 calc((100% - 1.6rem) / 3);
  background: #fff;
  border: 1px solid #dde5f3;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-1);
  text-align: center;
}

.testimonial-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #244cf2, #8f4cff);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e4ebfa;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.testimonial-city {
  display: block;
  margin: 0.25rem 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a1021;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.55;
}

.testimonial-card strong {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--revayah-blue-1);
  font-family: "Poppins", sans-serif;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d3dced;
  color: #2643ad;
  background: #fff;
  cursor: pointer;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  background: #fff;
  border: 1px solid #dde4f1;
  border-radius: var(--radius-md);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 1.05rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--revayah-blue-1);
  font-size: 1.15rem;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed);
}

.faq-answer p {
  margin: 0;
  padding: 0 1.05rem 1rem;
  color: #49556f;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form {
  border: 1px solid #dde5f2;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 1.15rem;
}

.contact-form label {
  display: block;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cdd6e6;
  border-radius: 10px;
  padding: 0.72rem 0.86rem;
  font: inherit;
}

.form-feedback {
  min-height: 1.35rem;
  margin-top: 0.7rem;
  font-weight: 500;
}

.form-feedback.error {
  color: #b42318;
}

.form-feedback.success {
  color: #0f7f44;
}

.site-footer {
  background: #050a2a;
  color: rgba(255, 255, 255, 0.92);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 1.15fr;
  gap: 1.2rem 1.8rem;
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.site-footer p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-email {
  color: #c7dcff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.section-head,
.info-card,
.feature-card,
.course-card,
.testimonial-card,
.faq-item,
.contact-form,
.modality-card {
  min-width: 0;
}

@media (max-width: 1280px) {
  .container {
    width: min(1180px, calc(100% - 1.6rem));
  }

  .section {
    padding: clamp(2.8rem, 6vw, 4rem) 0;
  }
}

.brand--footer span {
  color: #fff;
}

.brand--footer img {
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin-top: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #a8beff;
}

.footer-bottom {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.footer-copy,
.footer-copy-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-copy strong {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(calc(20px + var(--parallax-y, 0px)));
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(var(--parallax-y, 0px));
}

.hero__card,
.hero__mini-card,
.stat-card,
.info-card,
.feature-card,
.course-card,
.modality-card,
.curriculum-list,
.how-cards article,
.testimonial-card {
  transform: translateY(var(--parallax-y, 0px));
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.faq-question:focus-visible,
.carousel-btn:focus-visible,
.menu-toggle:focus-visible,
.desktop-nav a:focus-visible,
.mobile-drawer a:focus-visible {
  outline: 3px solid rgba(0, 30, 147, 0.25);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .brand img {
    width: 56px;
    height: 56px;
  }

  .hero {
    padding: 24px 0 0 !important;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    text-align: center;
    max-width: 740px;
    margin-inline: auto;
    transform: none !important;
    padding-left: 0;
  }

  .hero h1 {
    margin: 0 auto;
    max-width: 15ch;
    align-items: center;
    text-align: center;
    font-size: clamp(1.36rem, 5.53vw, 2.3rem);
  }

  .typing-wrap {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__side {
    justify-self: center;
    order: 2;
    align-self: auto;
    max-width: 440px;
  }

  .hero__side img {
    height: auto;
    max-height: 360px;
    object-position: center bottom;
    margin-bottom: -6px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-highlights {
    padding: 1rem 0 2.4rem;
  }

  .modality-grid {
    grid-template-columns: 1fr;
  }

  .modality-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .modality-card {
    padding: 1.25rem;
  }

  .hero__mini-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    max-width: 100%;
  }

  .curriculum-layout {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-media {
    position: relative;
    top: auto;
    max-height: none;
  }

  .curriculum-media img {
    min-height: 280px;
    max-height: 320px;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
    margin-top: 1.15rem;
  }

  .curriculum-tab {
    width: 100%;
    text-align: center;
    min-height: 40px;
    padding: 0.45rem 0.6rem;
  }

  .curriculum-periods-grid {
    grid-template-columns: 1fr;
  }

  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    gap: 0.65rem;
  }

  .desktop-nav a {
    font-size: 0.85rem;
  }

  .header-cta {
    padding: 0.36rem 0.66rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1180px, calc(100% - 40px));
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
  }

  .menu-toggle span + span {
    margin-top: 0;
  }

  .mobile-drawer {
    display: flex;
  }

  .topbar__content {
    padding: 0.55rem 0;
  }

  .hero {
    padding: 24px 0 0 !important;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    min-height: auto;
  }

  .hero__content {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    text-align: center;
    position: relative;
    z-index: 12;
  }

  .hero__side {
    display: flex;
    order: 2;
    justify-content: center;
    align-self: end;
    width: 100%;
    max-width: 500px;
    margin: 0.55rem auto 0;
    pointer-events: none !important;
    z-index: 1;
  }

  .hero__side,
  .hero__side * {
    pointer-events: none !important;
  }

  .hero__side img {
    width: 100%;
    max-height: 440px;
    margin-bottom: -10px;
    transform: translate3d(var(--hero-parallax-x, 0px), 0, 0) scale(1.06);
  }

  .hero__badge {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hero h1 {
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    font-size: clamp(1.35rem, 7.6vw, 2.1rem);
    line-height: 1.12;
  }

  .hero__text {
    font-size: 0.92rem;
    max-width: 100%;
    text-align: center;
    transform: none;
  }

  .typing-wrap {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
  }

  .hero__card {
    padding: 1.05rem;
  }

  .how-grid {
    gap: 0.8rem;
  }

  .bullets {
    margin-top: 0.6rem;
  }

  .hero__mini-cards,
  .hero__stats,
  .cards--3,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 2.4rem;
  }

  .site-footer h3 {
    margin-bottom: 0.5rem;
  }

  .footer-bottom {
    margin-top: 1.2rem;
  }

  .footer-bottom__inner {
    justify-content: center;
    text-align: center;
  }

  .cards--4 {
    grid-template-columns: 1fr;
  }

  .modality-visual {
    height: 200px;
  }

  .curriculum-intro {
    padding: 0;
    border-radius: 0;
  }

  .curriculum-intro p {
    font-size: 0.96rem;
  }

  .curriculum-panels {
    margin-top: 0.7rem;
  }

  .curriculum-tab {
    font-size: 0.88rem;
  }

  .curriculum-period {
    padding: 0.75rem 0.78rem;
    border-radius: 12px;
  }

  .curriculum-period h3 {
    font-size: 0.95rem;
    margin-bottom: 0.38rem;
  }

  .curriculum-list {
    border-radius: 16px;
    padding: 0.8rem 0.8rem 0.8rem 1.4rem;
  }

  .curriculum-list--card {
    border-radius: 12px;
    padding: 0.78rem 0.72rem 0.78rem 1.7rem;
  }

  .curriculum-list li {
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .testimonial-card {
    flex-basis: calc((100% - 0.8rem) / 2);
  }

  .promo-banner {
    margin-top: 0;
  }

  #cursos::before {
    background-attachment: fixed;
    background-position: 68% center;
  }

  .section-head p,
  .hero__text,
  .modality-card > p,
  .info-card p,
  .feature-card p,
  .how-cards article p,
  .faq-answer p,
  .timeline p,
  .curriculum-intro p,
  .location-card p {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 560px) {
  .promo-banner--app {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .promo-banner--app .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .promo-banner--app .promo-banner__picture,
  .promo-banner--app .promo-banner__picture img {
    width: 100%;
    border-radius: 0;
  }

  .container {
    width: min(1180px, calc(100% - 40px));
  }

  .site-footer {
    padding-top: 2.2rem;
  }

  .back-to-top {
    right: 14px;
    left: auto;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  /* Forca widgets flutuantes externos para o rodape no mobile (evita sobrepor CTA). */
  [vw-access-button],
  .vw-access-button,
  #cw-widget-holder,
  .woot-widget-bubble,
  .chatwoot-widget,
  .chat-widget,
  .floating-widget {
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    bottom: 70px !important;
    z-index: 1300 !important;
  }

  .footer-grid {
    gap: 1rem;
  }

  .site-footer h3 {
    font-size: 1.36rem;
  }

  .contact-email {
    display: inline-block;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }

  .footer-copy,
  .footer-copy-sub {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .section {
    padding: 2.4rem 0;
  }

  .topbar {
    font-size: 0.8rem;
  }

  .marquee-track {
    gap: 0.8rem;
    animation-duration: 24s;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .hero__actions {
    width: 100%;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 24;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.88rem;
    touch-action: manipulation;
    pointer-events: auto;
    position: relative;
    z-index: 25;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 8.3vw, 2.35rem);
    line-height: 1.1;
  }

  .hero-blue {
    font-size: 1.14em;
    line-height: 1;
  }

  .typing-wrap {
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .hero-highlights {
    padding: 0.9rem 0 2rem;
  }

  .promo-banner {
    padding: 60px 0 0;
    margin-top: 0;
  }

  .promo-banner--app {
    padding: 18px 0 22px !important;
    margin-top: 0;
  }

  .promo-banner__picture img {
    border-radius: 12px;
  }

  .hero__badge {
    padding: 0 0.5rem;
    min-height: 26px;
    max-width: min(100%, 360px);
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin-inline: auto;
  }

  .hero__mini-card {
    padding: 0.8rem 0.7rem;
    min-height: 148px;
  }

  .stat-card strong {
    font-size: 1.35rem;
  }

  .modality-card h3 {
    font-size: 1.5rem;
  }

  .modality-card > p {
    font-size: 0.98rem;
  }

  .modality-visual {
    height: 180px;
  }

  .curriculum-media img {
    min-height: 220px;
  }

  .hero__side {
    max-width: 520px;
    margin-top: 1.25rem;
    pointer-events: none !important;
    z-index: 1;
  }

  .hero__side img {
    max-height: 560px;
    margin-bottom: -14px;
    transform: translate3d(var(--hero-parallax-x, 0px), 0, 0) scale(1.12);
    pointer-events: none !important;
  }

  .contact-form {
    padding: 1rem;
  }

  .testimonials-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    justify-self: center;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

  .faq-question {
    padding-right: 2.2rem;
  }

  .how-cards article {
    padding: 0.82rem 0.86rem;
    border-radius: 12px;
  }

  .how-cards article h3 {
    font-size: 0.98rem;
  }

  .how-cards article p {
    font-size: 0.9rem;
  }

  #cursos::before {
    background-attachment: fixed;
    background-position: 64% center;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.86rem;
  }

  .hero__badge {
    font-size: 0.68rem;
  }

  .hero__text {
    font-size: 0.89rem;
  }

  .modality-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .curriculum-intro p {
    font-size: 0.9rem;
  }

  .curriculum-list li {
    font-size: 0.82rem;
  }

  .testimonial-card {
    padding: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero__badge span {
    animation: none;
    background: linear-gradient(115deg, var(--revayah-blue-1), #2549e6 58%, #6c7bff 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
