:root {
  --ebac-yellow: #fff700;
  --ebac-purple: #22053d;
  --ebac-purple-dark: #10001f;
  --ebac-navy: #0d0025;
  --ebac-blue: #326ebd;
  --ebac-blue-cta: #3984ed;
  --ebac-off-white: #f6f5fa;
  --ebac-white: #ffffff;
  --ebac-coral: #f95d51;
  --ebac-green: #62c584;
  --ebac-gray: #e8e8e8;
  --ebac-text: #22053d;

  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 22px 60px rgba(16, 0, 31, 0.16);
  --shadow-sm: 0 8px 24px rgba(16, 0, 31, 0.1);
  --container: min(1200px, calc(100% - 48px));
  --header-height: 92px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ebac-text);
  background: var(--ebac-white);
  font-family: "Rubik", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }

button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ebac-purple); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; left: 16px; top: 16px; padding: 12px 18px;
  background: var(--ebac-white); border: 2px solid var(--ebac-purple); border-radius: 999px;
  transform: translateY(-200%); transition: transform 0.2s ease; color: var(--ebac-purple);
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--ebac-coral); outline-offset: 3px; border-radius: 4px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 999px; background: var(--ebac-purple); color: var(--ebac-white);
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
}
.badge--outline { background: transparent; color: var(--ebac-purple); border: 2px solid var(--ebac-purple); }
.badge--ia { background: var(--ebac-blue); color: var(--ebac-white); font-size: 11px; padding: 3px 9px; letter-spacing: 0.05em; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; z-index: 50; top: 0; left: 0; right: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-sticky {
  position: fixed; background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(34, 5, 61, 0.1);
  backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(16, 0, 31, 0.08);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-logo--white { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a { font-size: 15px; font-weight: 600; text-decoration: none; position: relative; }
.site-nav > a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--ebac-purple); transition: right 0.2s ease;
}
.site-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; width: 46px; height: 46px; padding: 11px; }

.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: 13px 22px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ebac-purple); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-height) + 40px); padding-bottom: 40px; background: var(--ebac-yellow); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
/* A coluna de copy é o container do H1: a fonte acompanha a largura real dela,
   então "Business Intelligence" cabe na primeira linha e "y Análisis de Datos"
   na segunda — sem cortar palavra nem sobrar espaço morto. */
.hero-copy { container-type: inline-size; }
.hero-title {
  /* fallback para navegadores sem container queries */
  font-size: clamp(34px, 5.2vw, 68px);
  font-size: clamp(28px, 8.8cqw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
  text-wrap: balance;
}
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 620px; }
.hero-benefits { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.hero-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; font-weight: 600; }
.hero-benefits .dot {
  flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; border: 4px solid var(--ebac-white);
  border-radius: 50%; background: var(--ebac-purple); box-shadow: 0 0 0 1px var(--ebac-purple);
}
.hero-price-seal {
  display: inline-block; margin-top: 30px; padding: 14px 20px; border-radius: 14px;
  background: var(--ebac-purple); color: var(--ebac-yellow); font-size: 18px; font-weight: 700;
}
.hero-price-terms { margin-top: 12px; font-size: 15px; font-weight: 600; color: #4a3560; }
.hero-price-note { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #6a5a7e; max-width: 420px; }
.hero-side { min-width: 0; }
.hero-form-card { width: 100%; }

/* ---------- Lead card + form (compartido) ---------- */

.lead-card {
  position: relative; padding: 30px 30px 34px; border-radius: var(--radius-lg);
  color: #fff; background: linear-gradient(165deg, #3b1a6e 0%, var(--ebac-purple) 55%, var(--ebac-purple-dark) 100%);
  box-shadow: var(--shadow);
}
.lead-card--light { background: var(--ebac-white); color: var(--ebac-text); border: 1px solid rgba(34, 5, 61, 0.12); }
.lead-card--pricing { background: linear-gradient(165deg, #3b1a6e 0%, var(--ebac-purple) 55%, var(--ebac-purple-dark) 100%); }

.enroll-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.lead-card--light .enroll-meta { color: #5a4a6e; }
.enroll-meta__spots { white-space: nowrap; }
.enroll-title { font-size: clamp(24px, 3vw, 30px); color: #fff; margin-bottom: 20px; }
.lead-card--light .enroll-title { color: var(--ebac-purple); }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; }
.field-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.lead-card--light .field-label { color: #4a3560; }
.field-input {
  width: 100%; min-height: 52px; padding: 13px 15px; border: 0; border-radius: 10px;
  background: #fff; color: #1a1a1a; font-size: 15px;
}
.lead-card--light .field-input { border: 1px solid #d9d4e4; }
.field-input::placeholder { color: #9a9a9a; }
.field-input:focus { outline: 3px solid rgba(255, 247, 0, 0.55); outline-offset: 0; }
.lead-card--light .field-input:focus { outline-color: var(--ebac-blue-cta); }

.field--phone .phone-wrap { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px; align-items: stretch; }
.phone-select {
  min-height: 52px; max-width: 196px; padding: 0 34px 0 12px; border: 0; border-radius: 10px;
  background-color: #fff; color: #1a1a1a; font-size: 14px; font-weight: 700; font-family: inherit;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2322053d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
.phone-select:focus { outline: 3px solid rgba(255, 247, 0, 0.55); outline-offset: 0; }
.lead-card--light .phone-select { border: 1px solid #d9d4e4; }
.lead-card--light .phone-select:focus { outline-color: var(--ebac-blue-cta); }

.field-error { display: none; margin-top: 6px; font-size: 12px; color: #ffd4d4; }
.lead-card--light .field-error { color: #c0392b; }
.field[data-invalid="true"] .field-error { display: block; }
.field[data-invalid="true"] .field-input { box-shadow: inset 0 0 0 2px #ff6a6a; }

.field--consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 2px; }
.field--consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ebac-blue-cta); }

/* ---------- Código promocional (trigger opcional) ---------- */
.field--promo { margin-top: 2px; }
.promo-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0;
  background: transparent; color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.lead-card--light .promo-toggle { color: var(--ebac-blue); }
.promo-toggle i { font-style: normal; font-size: 15px; font-weight: 800; line-height: 1; transition: transform 0.2s ease; }
.promo-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.promo-field { margin-top: 10px; }
.consent-label { font-size: 12px; line-height: 1.5; font-weight: 400; color: rgba(255, 255, 255, 0.85); }
.lead-card--light .consent-label { color: #5a4a6e; }
.consent-label a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.lead-card--light .consent-label a { color: var(--ebac-blue); }

.lead-submit {
  width: 100%; min-height: 54px; margin-top: 6px; border: 0; border-radius: 999px;
  background: var(--ebac-blue-cta); color: #fff; font-size: 16px; font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.lead-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.lead-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-status { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.form-status[data-show="true"] { display: block; }
.form-status--ok { background: rgba(98, 197, 132, 0.2); color: #d9f6e3; }
.form-status--err { background: rgba(255, 106, 106, 0.18); color: #ffd4d4; }
.form-status--loading { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); }
.lead-card--light .form-status--ok { color: #1c7a3e; background: rgba(98, 197, 132, 0.16); }
.lead-card--light .form-status--err { color: #c0392b; background: rgba(255, 106, 106, 0.14); }
.lead-card--light .form-status--loading { color: #4a3560; background: rgba(50, 110, 189, 0.1); }

.field--hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.field--hp input { width: 100%; min-height: 0; padding: 0; border: 0; }

/* ---------- Anchor nav ---------- */
.anchor-nav { background: var(--ebac-off-white); border-top: 1px solid rgba(34, 5, 61, 0.08); border-bottom: 1px solid rgba(34, 5, 61, 0.08); }
.anchor-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding: 18px 0; }
.anchor-nav-inner a { font-size: 15px; font-weight: 600; text-decoration: none; }
.anchor-nav-inner a:hover { text-decoration: underline; }
.anchor-nav-cta { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: var(--ebac-purple); color: #fff !important; }

/* ---------- Highlights ---------- */
.highlights { padding: 72px 0; background: var(--ebac-purple-dark); color: #fff; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.highlight { padding: 8px 0; }
.highlight-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 16px; background: var(--ebac-yellow); color: var(--ebac-purple); font-weight: 800; font-size: 20px;
}
.highlight h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.highlight p { color: #cbbde0; font-size: 15px; line-height: 1.5; }

/* ---------- Section headings ---------- */
.section-heading { max-width: 840px; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 50px); }
.section-heading p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #5a4a6e; max-width: 640px; }
.section-kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ebac-blue); }

/* ---------- Career ---------- */
.career { background: var(--ebac-white); }
.career-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.career-benefits article { padding: 26px; border: 1px solid rgba(34, 5, 61, 0.1); border-radius: var(--radius); background: var(--ebac-off-white); }
.career-benefits h3 { font-size: 19px; margin-bottom: 10px; }
.career-benefits p { font-size: 14px; line-height: 1.5; color: #5a4a6e; }
.salary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.salary-card { padding: 26px; border-radius: var(--radius); background: var(--ebac-off-white); border: 1px solid rgba(34, 5, 61, 0.1); }
.salary-card--accent { background: var(--ebac-yellow); border-color: transparent; }
.salary-amount { display: block; font-size: 24px; font-weight: 800; color: var(--ebac-purple); margin-bottom: 10px; }
.salary-level { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--ebac-purple); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.salary-card p { font-size: 14px; color: #5a4a6e; }
.salary-card--accent p { color: #4a3560; }
.salary-note { margin-top: 22px; font-size: 13px; color: #7a6a8e; }
.salary-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 24px; }

/* ---------- Audience ---------- */
.audience { background: var(--ebac-off-white); }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.audience-grid article { padding: 30px; border-radius: var(--radius); background: var(--ebac-white); border: 1px solid rgba(34, 5, 61, 0.08); }
.audience-num { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--ebac-blue); }
.audience-grid h3 { font-size: 22px; margin-bottom: 12px; }
.audience-grid p { font-size: 15px; line-height: 1.55; color: #5a4a6e; }

/* ---------- Conditions ---------- */
.conditions { background: var(--ebac-off-white); }
.conditions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.condition { padding: 28px; border-radius: var(--radius); background: var(--ebac-white); border: 1px solid rgba(34, 5, 61, 0.08); }
.condition-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--ebac-purple); color: var(--ebac-yellow); font-size: 24px; }
.condition h3 { font-size: 20px; margin-bottom: 10px; }
.condition p { font-size: 14px; line-height: 1.5; color: #5a4a6e; }

/* ---------- Outcomes ---------- */
.outcomes { background: var(--ebac-white); }
.outcomes-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.outcomes-list li {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 20px 18px 40px;
  border-radius: 14px; background: var(--ebac-off-white); border: 1px solid rgba(34, 5, 61, 0.08); font-weight: 600; font-size: 16px;
}
.outcomes-list li::before { content: ""; position: absolute; left: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--ebac-purple); }
.outcomes-list .badge--ia { margin-left: 2px; }

/* ---------- Contact ---------- */
.contact { background: var(--ebac-purple); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.contact-copy > p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: #d9cde5; max-width: 420px; }
.contact-metrics { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.contact-metrics li { display: flex; flex-direction: column; gap: 4px; }
.contact-metrics strong { font-size: 30px; color: var(--ebac-yellow); }
.contact-metrics span { font-size: 14px; color: #d9cde5; }

/* ---------- Ecosistema de Brasil + vídeo ----------
   Fica logo depois de "Este curso es para ti si…" (fundo off-white), então
   alterna para branco; os cards de indicador usam o off-white para manter o
   relevo. Condiciones herda o off-white e seus cards ficam brancos. */
.brasil { background: var(--ebac-white); }
.brasil-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.brasil-stat {
  padding: 30px 26px; border-radius: var(--radius); background: var(--ebac-off-white);
  border: 1px solid rgba(34, 5, 61, 0.1); box-shadow: var(--shadow-sm);
}
.brasil-stat strong {
  display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.1;
  color: var(--ebac-purple); letter-spacing: -0.02em;
}
.brasil-stat p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #5a4a6e; }
.brasil-sources { margin-top: 16px; font-size: 12px; line-height: 1.5; color: #6a5a7e; }
.brasil-callout {
  margin-top: 40px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--ebac-purple); color: #fff;
}
.brasil-callout p { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.brasil-callout strong { color: var(--ebac-yellow); }
.brasil-video {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px; align-items: center;
}
.brasil-video-player {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.brasil-video-player iframe,
.brasil-video-player video { display: block; width: 100%; height: 100%; border: 0; }
.brasil-video-facade {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  background: #000; cursor: pointer; position: relative;
}
.brasil-video-facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brasil-video-facade:hover img { opacity: 0.86; }
.brasil-video-play {
  position: absolute; top: 50%; left: 50%; width: 74px; height: 74px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--ebac-purple); box-shadow: 0 10px 30px rgba(16, 0, 31, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.brasil-video-play::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  transform: translate(-38%, -50%);
  border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent var(--ebac-yellow);
}
.brasil-video-facade:hover .brasil-video-play { transform: translate(-50%, -50%) scale(1.06); background: var(--ebac-purple-dark); }
.brasil-video-facade:focus-visible { outline: 3px solid var(--ebac-coral); outline-offset: -3px; }
.brasil-video-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(16, 0, 31, 0.72); color: var(--ebac-white);
  font-size: 15px; font-weight: 700; text-align: center; text-decoration: underline;
}
.brasil-video-caption {
  font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.35;
  color: var(--ebac-purple); letter-spacing: -0.01em;
}

/* ---------- Teachers ---------- */
.teachers { background: var(--ebac-white); }
.teachers-grid { display: grid; gap: 40px; }
.teacher { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.teacher-photo { position: relative; }
.teacher-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius);
  background: var(--ebac-blue); z-index: 0;
}
.teacher-photo img {
  position: relative; z-index: 1; display: block; width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.teacher-body h3 { font-size: 28px; }
.teacher-role { margin: 8px 0 16px; font-size: 16px; font-weight: 600; color: var(--ebac-blue); }
.teacher-bio { font-size: 15px; line-height: 1.65; color: #4a3560; margin-bottom: 12px; }
/* Logos de empresas/universidades (assets locales, proporciones originales) */
.teacher-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.teacher-logos li {
  display: flex; align-items: center; justify-content: center;
  height: 64px; min-width: 112px; padding: 10px 16px;
  border-radius: 14px; background: var(--ebac-off-white);
  border: 1px solid rgba(34, 5, 61, 0.12);
}
.teacher-logos img {
  display: block; height: 40px; width: auto; max-width: 132px; object-fit: contain;
}

/* ---------- Resume ---------- */
.resume { background: var(--ebac-off-white); }
.resume-mock { max-width: 880px; margin: 0 auto; padding: 40px; border-radius: var(--radius-lg); background: var(--ebac-white); box-shadow: var(--shadow); border: 1px solid rgba(34, 5, 61, 0.08); }
.resume-header { display: flex; align-items: center; gap: 20px; }
.resume-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ebac-purple); color: var(--ebac-yellow); font-weight: 800; font-size: 22px; flex: 0 0 auto; }
.resume-header h3 { font-size: 26px; }
.resume-header p { margin-top: 4px; font-size: 15px; color: var(--ebac-blue); font-weight: 600; }
.resume-salary { margin-left: auto; text-align: right; font-size: 20px; color: var(--ebac-purple); white-space: nowrap; }
.resume-note { margin-top: 10px; font-size: 12px; color: #8a7a9e; text-align: right; }
.resume-subhead { margin: 28px 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ebac-purple); }
.resume-skills { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.resume-skills li { position: relative; padding: 6px 0 6px 20px; font-size: 15px; color: #4a3560; }
.resume-skills li::before { content: "✓"; position: absolute; left: 0; color: var(--ebac-green); font-weight: 700; }
.resume-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.resume-tools span { padding: 8px 13px; border-radius: 999px; background: var(--ebac-off-white); border: 1px solid rgba(34, 5, 61, 0.12); font-size: 13px; font-weight: 600; color: #4a3560; }
.resume-cert { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px; border-radius: 14px; background: var(--ebac-yellow); }
.resume-cert-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ebac-purple); color: var(--ebac-yellow); font-size: 20px; flex: 0 0 auto; }
.resume-cert strong { font-size: 15px; }
.resume-cert p { font-size: 12px; color: #4a3560; margin-top: 2px; }

/* ---------- Method ---------- */
.method { background: var(--ebac-white); }
.method-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.method-grid article { padding: 26px; border-radius: var(--radius); background: var(--ebac-off-white); border: 1px solid rgba(34, 5, 61, 0.08); }
.method-grid h3 { font-size: 18px; margin-bottom: 10px; }
.method-grid p { font-size: 14px; line-height: 1.5; color: #5a4a6e; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ebac-off-white); }
.testimonials-carousel { position: relative; }
.testimonials-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: center; position: relative; max-width: 720px; margin: 0 auto; padding: 36px 40px; border-radius: var(--radius-lg); background: var(--ebac-white); box-shadow: var(--shadow-sm); border: 1px solid rgba(34, 5, 61, 0.08); }
.testimonial > p { font-size: 19px; line-height: 1.6; color: #4a3560; }
.testimonial footer { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
.testimonial footer strong { font-size: 16px; }
.testimonial footer span { font-size: 13px; color: #8a7a9e; }
.testimonial-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--ebac-yellow); font-size: 11px; font-weight: 700; color: var(--ebac-purple); }
.testimonials-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ebac-purple); background: transparent; color: var(--ebac-purple); font-size: 26px; line-height: 1; transition: background 0.2s ease, color 0.2s ease; }
.carousel-btn:hover { background: var(--ebac-purple); color: #fff; }
.testimonials-dots { display: flex; gap: 8px; }
.testimonials-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cbbde0; padding: 0; transition: background 0.2s ease, transform 0.2s ease; }
.testimonials-dots button.is-active { background: var(--ebac-purple); transform: scale(1.3); }

/* ---------- Program accordion ---------- */
.program { background: var(--ebac-white); }
.program-note {
  margin-bottom: 36px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--ebac-off-white); border-left: 4px solid var(--ebac-yellow);
}
.program-note strong { display: block; font-size: 17px; color: var(--ebac-purple); margin-bottom: 12px; }
.program-note ul { list-style: none; display: grid; gap: 8px; }
.program-note li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: #4a3560; }
.program-note li::before { content: "•"; position: absolute; left: 4px; color: var(--ebac-blue); font-weight: 800; }
.program-accordion { border-top: 1px solid rgba(34, 5, 61, 0.12); }
.program-group { border-bottom: 1px solid rgba(34, 5, 61, 0.12); }
.program-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; border: 0; background: transparent; text-align: left; font-size: 20px; font-weight: 600; color: var(--ebac-purple);
}
.program-group-toggle i { flex: 0 0 auto; width: 26px; height: 26px; position: relative; border: 2px solid var(--ebac-purple); border-radius: 50%; transition: transform 0.25s ease; }
.program-group-toggle i::before, .program-group-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ebac-purple); transform: translate(-50%, -50%); }
.program-group-toggle i::before { width: 12px; height: 2px; }
.program-group-toggle i::after { width: 2px; height: 12px; transition: opacity 0.2s ease; }
.program-group.is-open .program-group-toggle i { transform: rotate(180deg); }
.program-group.is-open .program-group-toggle i::after { opacity: 0; }
.program-group-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.program-group.is-open .program-group-panel { grid-template-rows: 1fr; }
.program-group-inner { overflow: hidden; }
.program-module { padding: 0 4px 24px; }
.program-module h4 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.program-module p { font-size: 15px; line-height: 1.55; color: #5a4a6e; max-width: 720px; }

/* ---------- Lifetime ---------- */
.lifetime { background: var(--ebac-yellow); }
.lifetime-inner { display: flex; align-items: center; gap: 22px; padding: 40px 0; }
.lifetime-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ebac-purple); font-size: 28px; flex: 0 0 auto; }
.lifetime h2 { font-size: 28px; }
.lifetime p { margin-top: 6px; font-size: 16px; color: #4a3560; }

/* ---------- Pricing ---------- */
.pricing { background: var(--ebac-yellow); }
.pricing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.pricing-offer h2 { font-size: clamp(32px, 4.4vw, 54px); }
.pricing-discount-badge { display: inline-block; margin: 20px 0; padding: 10px 18px; border-radius: 999px; background: var(--ebac-purple); color: var(--ebac-yellow); font-size: 20px; font-weight: 800; }
.pricing-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.pricing-col { display: flex; flex-direction: column; gap: 6px; }
.pricing-label { font-size: 14px; font-weight: 600; color: #6a5a7e; }
.pricing-installments { font-size: 15px; font-weight: 600; color: var(--ebac-purple); }
.pricing-value { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--ebac-purple); line-height: 1.15; }
.pricing-value--regular { opacity: 0.6; text-decoration: line-through; text-decoration-thickness: 2px; }

.promo-countdown { margin: 8px 0 24px; padding: 16px 18px; border-radius: 16px; background: var(--ebac-purple); color: #fff; }
.promo-countdown-date { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.promo-countdown-units { display: flex; align-items: center; gap: 8px; }
.promo-countdown-units span { display: flex; flex-direction: column; align-items: center; }
.promo-countdown-units b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.promo-countdown-units small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7); }
.promo-countdown-units i { font-size: 20px; font-weight: 800; color: rgba(255, 255, 255, 0.6); font-style: normal; }

.pricing-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-perks li { position: relative; padding-left: 26px; font-size: 14px; color: #4a3560; }
.pricing-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--ebac-purple); font-weight: 800; }
.pricing-transfer { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); font-size: 14px; color: #4a3560; line-height: 1.5; }

.payment-options { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.payment-options li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12px; font-weight: 600; }

/* ---------- Institutional ---------- */
.institutional { background: var(--ebac-purple-dark); color: #fff; }
.institutional-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.institutional-text { max-width: 720px; font-size: 18px; line-height: 1.6; color: #d9cde5; }
.institutional-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; margin-top: 10px; }
.institutional-metrics div { display: flex; flex-direction: column; gap: 6px; }
.institutional-metrics strong { font-size: 32px; color: var(--ebac-yellow); }
.institutional-metrics span { font-size: 14px; color: #d9cde5; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { background: var(--ebac-off-white); }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.faq-intro h2 { font-size: clamp(30px, 4vw, 48px); }
.faq-list { border-top: 1px solid rgba(34, 5, 61, 0.14); }
.faq-item { border-bottom: 1px solid rgba(34, 5, 61, 0.14); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 18px; font-weight: 600; color: var(--ebac-purple); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; width: 28px; height: 28px; border: 2px solid var(--ebac-purple); border-radius: 50%; position: relative; transition: transform 0.25s ease; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ebac-purple); transform: translate(-50%, -50%); }
.faq-item summary i::before { width: 12px; height: 2px; }
.faq-item summary i::after { width: 2px; height: 12px; transition: opacity 0.2s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 24px; }
.faq-answer p { font-size: 15px; line-height: 1.65; color: #4a3560; }

/* ---------- Related ---------- */
.related { background: var(--ebac-white); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--ebac-off-white); border: 1px solid rgba(34, 5, 61, 0.1); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.related-type { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ebac-blue); }
.related-card h3 { font-size: 20px; }
.related-duration { font-size: 14px; color: #7a6a8e; margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; background: var(--ebac-navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-legal-name { margin-top: 16px; font-size: 14px; font-weight: 700; color: #fff; }
.footer-address { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #b6a7cc; font-style: normal; }
.footer-col h4 { color: var(--ebac-yellow); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #d9cde5; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom small { font-size: 13px; color: #8a7a9e; }

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; z-index: 90; left: 16px; right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  padding: 16px; border-radius: 999px; background: var(--ebac-blue-cta); color: #fff;
  text-align: center; font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 0, 31, 0.28);
}

/* ---------- Reveal ---------- */
.js-enabled [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .career-benefits { grid-template-columns: repeat(2, 1fr); }
  .brasil-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brasil-video { grid-template-columns: 1fr; gap: 24px; }
  .salary-grid { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .institutional-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-height: 76px; }

  section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

  .site-header { position: fixed; z-index: 200; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); }
  .site-header:has(.site-nav.is-open) { background: var(--ebac-yellow); }
  .header-inner { min-height: var(--header-height); }
  .brand-logo { height: 34px; }

  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 210; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ebac-purple); margin: 3px 0; transition: transform 0.2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: fixed; z-index: 205; left: 0; right: 0;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px)); bottom: 0;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 12px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--ebac-yellow); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease; }
  .site-nav > a:not(.button) { padding: 15px 0; font-size: 19px; border-bottom: 1px solid rgba(34, 5, 61, 0.1); }
  .site-nav .button { width: 100%; margin-top: 18px; }

  .hero { padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 24px); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }

  .contact-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Preços empilhados (como no PDF): evita que o desconto e o preço normal fiquem lado a lado em telas estreitas. */
  .pricing-cols { grid-template-columns: 1fr; gap: 14px; }
  .faq-intro { position: static; }

  .teacher { grid-template-columns: 1fr; gap: 28px; }
  .teacher-photo { max-width: 320px; }

  .anchor-nav-inner { gap: 10px 20px; }
  .anchor-nav-cta { margin-left: 0; }

  .outcomes-list { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .resume-header { flex-wrap: wrap; }
  .resume-salary { margin-left: 0; text-align: left; flex-basis: 100%; }

  .mobile-cta { display: block; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  :root { --container: calc(100% - 40px); }
  .section { padding: 64px 0; }
  /* O H1 não precisa de override: o tamanho vem de 8.8cqw sobre a coluna de copy. */
  /* Dos selos lado a lado no mobile: reduz levemente para caber em 375px */
  .hero-badges { gap: 8px; }
  .hero-badges .badge { font-size: 12px; padding: 7px 12px; }
  .highlights-grid, .career-benefits, .salary-grid, .conditions-grid, .method-grid, .related-grid { grid-template-columns: 1fr; }
  .brasil-stats { grid-template-columns: 1fr; }
  .brasil-stat { padding: 24px 20px; }
  .brasil-callout { padding: 20px; }
  .institutional-metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .resume-mock { padding: 26px 20px; }
  .resume-skills { grid-template-columns: 1fr; }
  .testimonial { padding: 28px 24px; }

  /* Telefone: seletor de país em linha própria para não espremer o campo no mobile */
  .field--phone .phone-wrap { grid-template-columns: 1fr; gap: 8px; }
  .phone-select { max-width: none; width: 100%; }
  .contact-metrics { gap: 20px; }

  /* Logos das empresas/professores: quebra de linha e escala no mobile */
  .teacher-logos { gap: 8px; margin-top: 18px; }
  .teacher-logos li { height: 54px; min-width: 96px; padding: 8px 12px; border-radius: 12px; }
  .teacher-logos img { height: 32px; max-width: 104px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js-enabled [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .menu-toggle, .mobile-cta, .anchor-nav { display: none !important; }
  .hero { padding-top: 24px; }
  .section { padding: 32px 0; }
}
