/* ==========================================================================
   Escola Técnica Amaro da Luz — style.css
   Mobile-first. Tokens → base → componentes → seções → media queries.
   ========================================================================== */

/* ---------- Fontes (hospedadas localmente) ---------- */
@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/rubik-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/rubik-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Young Serif";
  src: url("assets/fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Greek";
  src: url("assets/fonts/noto-serif-greek-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-03FF;
}

/* ---------- Tokens ---------- */
:root {
  /* cor — extraídas do brasão: azul-marinho e vermelho; "luz" quente só no hero */
  --navy-950: #08152a;
  --navy-900: #0c1d36;
  --navy-800: #132a46;       /* azul da marca (logo) */
  --navy-600: #2a4a75;
  --navy-300: #8fa6c4;
  --sky-100: #e4ecf7;
  --mist: #f3f6fb;
  --paper: #ffffff;
  --line: #d9e2ee;
  --red: #d42f35;            /* botões (contraste AA sobre branco) */
  --red-hover: #b9242a;
  --red-bright: #f34949;     /* estrela do brasão, sobre fundo escuro */
  --lux: #ffd98a;            /* luz do hero */
  --text: #17283f;
  --muted: #55667c;
  --wa: #25d366;

  /* tipografia */
  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-greek: "Noto Serif Greek", "Noto Serif", Georgia, serif;

  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-h1: clamp(2.35rem, 1.3rem + 5vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.8vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);

  /* espaço e forma */
  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 1200px;
  --header-h: 72px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-lift: 0 18px 40px -18px rgba(8, 21, 42, 0.45);

  /* movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 380ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy-800); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 0.7rem 1rem; border-radius: var(--radius-s);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Barra de progresso ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--red-bright);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  font-weight: 500; line-height: 1.1; text-align: center;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: 999px;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-med) var(--ease);
}
.btn::after { /* brilho que cruza o botão no hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(212, 47, 53, 0.7); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { transition: transform var(--t-med) var(--ease); }
.btn:hover .icon--nudge { transform: translateX(4px); }

.btn--red:hover { background: var(--red-hover); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; box-shadow: none; }
.btn--navy { --bg: var(--navy-800); --fg: #fff; }
.btn--navy:hover { background: var(--navy-900); box-shadow: 0 12px 24px -12px rgba(8, 21, 42, 0.7); }
.btn--line { --bg: transparent; --fg: var(--navy-800); --bd: var(--navy-800); }
.btn--line:hover { background: var(--navy-800); color: #fff; box-shadow: none; }
.btn--wa { --bg: var(--wa); --fg: #06301a; }
.btn--wa:hover { box-shadow: 0 12px 24px -12px rgba(37, 211, 102, 0.8); }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: var(--fs-small); }
.btn--block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-950); color: #cfdaea; font-size: var(--fs-small); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.topbar__msg { display: flex; align-items: center; gap: 0.5rem; }
.topbar__msg .icon { color: var(--wa); }
.topbar__links { display: none; gap: 1.5rem; }
.topbar a { transition: color var(--t-fast); }
.topbar a:hover { color: #fff; }
.topbar__links a { position: relative; }
.topbar__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.topbar__links a:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(8, 21, 42, 0.6); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); transition: height var(--t-med) var(--ease); }
.header.is-stuck .header__inner { height: 62px; }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; transition: height var(--t-med) var(--ease); }
.header.is-stuck .brand img { height: 32px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative; display: block; padding: 0.55rem 0.8rem; font-weight: 500; color: var(--navy-800);
  border-radius: 999px; transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transition: transform var(--t-med) var(--ease);
}
.nav__link:hover { background: var(--mist); }
.nav__link.is-active::after { transform: scaleX(1); }
.header__cta { display: none; }

.burger {
  position: relative; width: 44px; height: 44px; border-radius: 50%; color: var(--navy-800);
  display: grid; place-items: center; transition: background-color var(--t-fast);
}
.burger:hover { background: var(--mist); }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu móvel (gaveta) */
.drawer {
  position: fixed; inset: 0; z-index: 99; pointer-events: none; visibility: hidden;
  transition: visibility 0s linear var(--t-med);
}
.drawer.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8, 21, 42, 0.55); opacity: 0; transition: opacity var(--t-med); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  padding: calc(var(--header-h) + 2.5rem + 1rem) 1.5rem 2rem;
  background: var(--navy-900); color: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform 460ms var(--ease);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__list li { overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.drawer__list a {
  display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.5rem;
  transform: translateY(100%); opacity: 0; transition: transform 500ms var(--ease), opacity 400ms, color var(--t-fast);
}
.drawer__list a:hover { color: var(--lux); }
.drawer.is-open .drawer__list a { transform: none; opacity: 1; }
.drawer.is-open .drawer__list li:nth-child(1) a { transition-delay: 90ms; }
.drawer.is-open .drawer__list li:nth-child(2) a { transition-delay: 140ms; }
.drawer.is-open .drawer__list li:nth-child(3) a { transition-delay: 190ms; }
.drawer.is-open .drawer__list li:nth-child(4) a { transition-delay: 240ms; }
.drawer.is-open .drawer__list li:nth-child(5) a { transition-delay: 290ms; }
.drawer.is-open .drawer__list li:nth-child(6) a { transition-delay: 340ms; }
.drawer__links { display: grid; gap: 0.5rem; font-size: var(--fs-small); color: #b8c7dc; }
.drawer__links a:hover { color: #fff; }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 70% at 85% 30%, rgba(42, 74, 117, 0.55), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(7rem, 12vw, 9rem);
}
.hero__glyph {
  position: absolute; z-index: -1; user-select: none; pointer-events: none;
  font-family: var(--font-greek); font-weight: 700; line-height: 0.8;
  font-size: clamp(16rem, 48vw, 40rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
}
.hero__glyph--a { left: -4%; bottom: -12%; }
.hero__glyph--o { right: -6%; top: -8%; }

.hero__grid { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.hero__copy { max-width: 40rem; }
.hero__ticker {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 1rem 0.4rem 0.8rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; font-size: var(--fs-small); color: #dbe6f5;
  background: rgba(255, 255, 255, 0.05);
}
.hero__ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 0 rgba(243, 73, 73, 0.7); animation: ping 2.2s infinite; }
.hero__ticker-word { position: relative; display: inline-block; min-width: 0; height: 1.5em; overflow: hidden; vertical-align: bottom; font-weight: 500; color: #fff; }
.hero__ticker-word span { display: block; transition: transform 500ms var(--ease), opacity 400ms; }
.hero__ticker-word span.is-out { transform: translateY(-100%); opacity: 0; }
.hero__ticker-word span.is-in { transform: translateY(100%); opacity: 0; transition: none; }
.hero__title { font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.02em; }
.hero__lead { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: #c9d7ea; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* palco da luz */
.hero__stage { position: relative; width: min(78vw, 480px); aspect-ratio: 1; margin-inline: auto; }
.lux { position: absolute; inset: 0; transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px), 0); transition: transform 600ms var(--ease); }
.lux__rays {
  position: absolute; inset: -22%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 217, 138, 0.2) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 66%);
          mask-image: radial-gradient(circle, #000 28%, transparent 66%);
  animation: spin 140s linear infinite;
}
.lux__halo { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 217, 138, 0.38), transparent 68%); animation: breathe 7s ease-in-out infinite; }
.lux__disc {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #ffffff 0%, #f1f6fd 48%, #cddcf0 100%);
  box-shadow: inset 0 -18px 50px rgba(19, 42, 70, 0.18), 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 0 22px rgba(255, 255, 255, 0.035);
}
.lux__crest { position: absolute; left: 50%; top: 50%; width: 46%; height: auto; transform: translate(-50%, -50%); animation: float 8s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(19, 42, 70, 0.25)); }

/* entrada orquestrada do hero (um único momento) */
.hero [data-intro] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.hero__stage[data-intro] { transform: scale(0.92); animation-name: bloom; animation-duration: 1200ms; }

/* faixa de fatos */
.facts { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4rem, 7vw, 5rem)); }
.facts__list {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -30px rgba(8, 21, 42, 0.55); overflow: hidden;
}
.fact { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); transition: background-color var(--t-med); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact:nth-child(odd) { border-left: 0; }
.fact:hover { background: var(--mist); }
.fact__icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); transition: transform var(--t-med) var(--ease), background-color var(--t-med), color var(--t-med); }
.fact:hover .fact__icon { transform: rotate(-8deg) scale(1.08); background: var(--navy-800); color: #fff; }
.fact__value { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; color: var(--navy-800); }
.fact__label { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #fff; }
.section__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__title { font-size: var(--fs-h2); color: var(--navy-800); }
.section--navy .section__title { color: #fff; }
.section__lead { color: var(--muted); max-width: 40rem; }
.section--navy .section__lead { color: #bccbe0; }

/* reveal sutil */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.about__story { display: grid; gap: 1.1rem; align-content: start; }
.about__story p { max-width: 38rem; }
.about__story strong { color: var(--navy-800); font-weight: 500; }
.pillars { display: grid; gap: 0.9rem; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem;
  background: var(--mist); border-radius: var(--radius-m); border-left: 4px solid var(--navy-800);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), background-color var(--t-med);
}
.pillar:nth-child(2) { border-left-color: var(--red); }
.pillar:hover { transform: translateX(6px); background: var(--sky-100); }
.pillar__icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy-800); color: #fff; transition: transform var(--t-med) var(--ease); }
.pillar:nth-child(2) .pillar__icon { background: var(--red); }
.pillar:hover .pillar__icon { transform: rotate(-10deg) scale(1.06); }
.pillar h3 { font-size: var(--fs-h3); color: var(--navy-800); margin-bottom: 0.25rem; }
.pillar p { color: var(--muted); font-size: 0.97rem; }

.tabs { margin-top: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy-900); color: #fff; border-radius: var(--radius-l); overflow: hidden; }
.tabs__bar { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__btn { flex: 1 0 auto; padding: 1.1rem 1.4rem; font-weight: 500; color: #9fb3cf; transition: color var(--t-fast); white-space: nowrap; }
.tabs__btn:hover { color: #fff; }
.tabs__btn[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: var(--red-bright); border-radius: 3px 3px 0 0; transition: transform var(--t-med) var(--ease), width var(--t-med) var(--ease); }
.tabs__panels { position: relative; padding: clamp(1.5rem, 4vw, 3rem); }
.tabs__panel { display: none; animation: panelIn 500ms var(--ease); }
.tabs__panel.is-active { display: grid; gap: 1.5rem; }
.tabs__quote { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); line-height: 1.25; max-width: 42rem; }
.tabs__panel > p { color: #c3d1e5; max-width: 40rem; }
.skills { display: grid; gap: 0.6rem 1.5rem; margin-top: 0.5rem; }
.skills li { position: relative; padding-left: 1.6rem; color: #d6e1f1; }
.skills li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.9rem; height: 0.5rem; border-left: 2px solid var(--lux); border-bottom: 2px solid var(--lux); transform: rotate(-45deg) scale(0.8); }

/* ---------- Cursos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 500; font-size: 0.95rem; color: var(--navy-800);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--navy-800); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip__count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding-inline: 0.35rem; border-radius: 999px; font-size: 0.78rem; background: var(--sky-100); color: var(--navy-800); transition: background-color var(--t-fast), color var(--t-fast); }
.chip[aria-pressed="true"] .chip__count { background: rgba(255, 255, 255, 0.2); color: #fff; }

.courses { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.course {
  position: relative; display: flex; flex-direction: column; gap: 1rem; width: 100%; text-align: left;
  padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med), opacity 320ms var(--ease);
  overflow: hidden; isolation: isolate;
}
.course::before { /* faixa que sobe no hover */
  content: ""; position: absolute; inset: auto 0 0 0; height: 100%; z-index: -1; background: var(--navy-800);
  transform: translateY(101%); transition: transform 520ms var(--ease);
}
.course:hover, .course:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--navy-800); }
.course:hover::before, .course:focus-visible::before { transform: none; }
.course__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.course__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 14px; background: var(--sky-100); color: var(--navy-800); transition: background-color var(--t-med), color var(--t-med), transform var(--t-med) var(--ease); }
.course__icon .icon { width: 1.6rem; height: 1.6rem; }
.course:hover .course__icon { background: var(--red); color: #fff; transform: rotate(-6deg); }
.course__area { font-size: 0.8rem; color: var(--muted); transition: color var(--t-med); }
.course__name { font-family: var(--font-display); font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem); line-height: 1.12; color: var(--navy-800); transition: color var(--t-med); }
.course__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: var(--fs-small); color: var(--muted); transition: color var(--t-med), border-color var(--t-med); }
.course__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.course__more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); font-weight: 500; color: var(--red); transition: color var(--t-med); }
.course__more .icon { transition: transform var(--t-med) var(--ease); }
.course:hover .course__name { color: #fff; }
.course:hover .course__area, .course:hover .course__meta { color: #c3d1e5; border-color: rgba(255, 255, 255, 0.2); }
.course:hover .course__more { color: var(--lux); }
.course:hover .course__more .icon { transform: translateX(4px); }
.course.is-leaving { opacity: 0; transform: scale(0.96); }
.course.is-hidden { display: none; }
.course.is-entering { animation: cardIn 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }

/* ---------- Modal do curso ---------- */
.modal {
  position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: transparent; color: var(--text); overflow: hidden;
}
.modal:not([open]) { display: none; }
.modal::backdrop { background: rgba(8, 21, 42, 0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--t-med); }
.modal.is-open::backdrop { opacity: 1; }
.modal__wrap { position: absolute; inset: 0; display: grid; align-items: end; justify-items: center; }
.modal__sheet {
  position: relative; display: flex; flex-direction: column; width: 100%; max-height: 92dvh;
  background: var(--paper); border-radius: var(--radius-l) var(--radius-l) 0 0; overflow: hidden;
  transform: translateY(40px); opacity: 0; transition: transform 520ms var(--ease), opacity 320ms;
}
.modal.is-open .modal__sheet { transform: none; opacity: 1; }
.modal__head { flex: none; position: relative; padding: 1.5rem 1.25rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); overflow: hidden; }
.modal__head::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 217, 138, 0.28), transparent 70%); }
.modal__close { position: absolute; z-index: 2; top: 0.9rem; right: 0.9rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color var(--t-fast), transform var(--t-med) var(--ease); }
.modal__close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
.modal__area { font-size: var(--fs-small); color: #b9c9df; margin-bottom: 0.4rem; }
.modal__title { position: relative; z-index: 1; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); padding-right: 3rem; }
.modal__facts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: var(--fs-small); }
.modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1.25rem 1.25rem 1rem; display: grid; gap: 1.75rem; overscroll-behavior: contain; }
.mblock h3 { font-size: 1.25rem; color: var(--navy-800); margin-bottom: 0.7rem; }
.mblock p + p, .mblock p + ul, .mblock ul + p { margin-top: 0.8rem; }
.mblock ul li { position: relative; padding-left: 1.3rem; margin-top: 0.4rem; }
.mblock ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--red); }
.turmas { display: grid; gap: 0.5rem; }
.turmas li { margin: 0; padding: 0.75rem 1rem; border-radius: var(--radius-s); background: var(--mist); }
.turmas li::before { display: none; }
.turmas li { padding-left: 1rem; }
.note { font-size: var(--fs-small); color: var(--muted); }

/* matriz curricular (acordeão) */
.matrix { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.acc + .acc { border-top: 1px solid var(--line); }
.acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1rem 1.1rem; text-align: left; font-weight: 500; color: var(--navy-800); transition: background-color var(--t-fast); }
.acc__btn:hover { background: var(--mist); }
.acc__sub { margin-left: auto; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.acc__btn .icon { transition: transform var(--t-med) var(--ease); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel ol { padding: 0 1.1rem 1rem; counter-reset: d; }
.acc__panel li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px dashed var(--line); font-size: 0.95rem; }
.acc__panel li span:last-child { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.matrix__total { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--mist); border-top: 1px solid var(--line); font-weight: 500; color: var(--navy-800); }
.modal__foot { flex: none; display: grid; gap: 0.6rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }

/* ---------- Investimento ---------- */
.pricing { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.price {
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med), border-color var(--t-med);
}
.price:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }
.price__method { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; color: #dbe6f5; }
.price__method .icon { color: var(--lux); }
.price__badge { align-self: flex-start; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; background: var(--red); color: #fff; }
.price__main { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.25rem); line-height: 1.05; color: #fff; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price__main small { font-family: var(--font-body); font-size: 0.95rem; color: #b9c9df; margin-right: 0.3rem; }
.price__rows { display: grid; gap: 0.5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.93rem; color: #c3d1e5; }
.price__rows div { display: flex; justify-content: space-between; gap: 1rem; }
.price__rows b { font-weight: 500; color: #fff; white-space: nowrap; }
.price__was { text-decoration: line-through; color: #8fa6c4; }
.price--best { background: #fff; border-color: #fff; color: var(--text); }
.price--best:hover { background: #fff; border-color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.price--best .price__method { color: var(--navy-800); }
.price--best .price__method .icon { color: var(--red); }
.price--best .price__main { color: var(--navy-800); }
.price--best .price__main small { color: var(--muted); }
.price--best .price__rows { border-color: var(--line); color: var(--muted); }
.price--best .price__rows b { color: var(--navy-800); }
.pricing__note { margin-top: 1.5rem; font-size: var(--fs-small); color: #9fb3cf; max-width: 46rem; }

/* ---------- Parcerias ---------- */
.partners { display: grid; gap: 1rem; }
.partner { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--paper); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.partner--dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.partner__tag { align-self: flex-start; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--sky-100); color: var(--navy-800); font-size: 0.82rem; font-weight: 500; }
.partner--dark .partner__tag { background: rgba(255, 255, 255, 0.14); color: #fff; }
.partner h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--navy-800); }
.partner--dark h3 { color: #fff; }
.partner p { color: var(--muted); }
.partner--dark p { color: #c3d1e5; }
.partner__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.partner__chips li { padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.92rem; }
.partner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.agreements { margin-top: 1rem; display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-l); background: var(--mist); align-items: center; }
.agreements h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); color: var(--navy-800); }
.agreements p { color: var(--muted); margin-top: 0.4rem; }
.agreements__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.agreements__list li { padding: 0.5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--navy-800); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.agreements__list li:hover { transform: translateY(-2px); border-color: var(--navy-800); }

/* ---------- Contato ---------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.contact__info { display: grid; gap: 1.25rem; align-content: start; }
.steps { counter-reset: s; display: grid; margin-top: 0.5rem; }
.steps li { position: relative; display: grid; gap: 0.15rem; padding: 0 0 1.6rem 3.4rem; counter-increment: s; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--font-display); transition: background-color var(--t-med), transform var(--t-med) var(--ease);
}
.steps li::after { content: ""; position: absolute; left: 1.2rem; top: 2.7rem; bottom: 0.3rem; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li:hover::before { background: var(--red); transform: scale(1.1); }
.steps strong { font-weight: 500; color: var(--navy-800); line-height: 2.4rem; }
.steps span { color: var(--muted); font-size: 0.95rem; margin-top: -0.35rem; }
.contact__list { display: grid; gap: 0.9rem; margin-top: 0.5rem; }
.contact__list a, .contact__list li { display: flex; align-items: center; gap: 0.8rem; }
.contact__list .icon { width: 2.5rem; height: 2.5rem; padding: 0.65rem; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease); }
.contact__list a:hover .icon { background: var(--navy-800); color: #fff; transform: scale(1.08); }
.form { display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.25rem); border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(8, 21, 42, 0.5); position: relative; overflow: hidden; }
.form__title { font-size: var(--fs-h3); color: var(--navy-800); }
.field { position: relative; }
.field__input {
  width: 100%; min-height: 3.5rem; padding: 1.45rem 1rem 0.45rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none; -webkit-appearance: none;
}
select.field__input { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355667c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field__input:hover { border-color: var(--navy-300); }
.field__input:focus { outline: 0; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(19, 42, 70, 0.12); }
.field__label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform var(--t-med) var(--ease), color var(--t-fast); }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
select.field__input + .field__label { transform: translateY(-0.7rem) scale(0.78); }
.field__input:focus + .field__label { color: var(--navy-800); }
.field__error { display: block; min-height: 0; max-height: 0; overflow: hidden; margin-top: 0; font-size: 0.85rem; color: var(--red-hover); transition: max-height var(--t-med) var(--ease), margin-top var(--t-med); }
.field.is-invalid .field__input { border-color: var(--red); animation: shake 380ms; }
.field.is-invalid .field__error { max-height: 3rem; margin-top: 0.3rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.88rem; color: var(--muted); }
.check input { appearance: none; -webkit-appearance: none; width: 1.35rem; height: 1.35rem; margin: 0.1rem 0 0; border: 1.5px solid var(--navy-300); border-radius: 6px; display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast); }
.check input::after { content: ""; width: 0.7rem; height: 0.38rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform var(--t-fast) var(--ease); margin-top: -2px; }
.check input:checked { background: var(--navy-800); border-color: var(--navy-800); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check.is-invalid input { border-color: var(--red); }
.check.is-invalid { color: var(--red-hover); }
.form__success {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center; background: var(--paper);
  opacity: 0; visibility: hidden; transform: scale(0.98); transition: opacity var(--t-med), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.form.is-sent .form__success { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.form__success h3 { color: var(--navy-800); font-size: var(--fs-h3); }
.form__success p { color: var(--muted); max-width: 22rem; }
.tick { width: 4.5rem; height: 4.5rem; }
.tick circle { fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-dasharray: 189; stroke-dashoffset: 189; }
.tick path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form.is-sent .tick circle { animation: draw 700ms 150ms var(--ease) forwards; }
.form.is-sent .tick path { animation: draw 450ms 650ms var(--ease) forwards; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: #b3c3da; padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 1.1rem; max-width: 24rem; font-size: 0.95rem; }
.footer h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.footer__links { display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer__links a { transition: color var(--t-fast), transform var(--t-fast) var(--ease); display: inline-block; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color var(--t-fast), transform var(--t-med) var(--ease); }
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--fs-small); color: #8397b3; }

/* ---------- Flutuantes ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(4rem, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem; height: 3.5rem; padding: 0 1.1rem; border-radius: 999px;
  background: var(--wa); color: #06301a; font-weight: 500; box-shadow: 0 14px 28px -10px rgba(7, 80, 40, 0.65);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.6s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float .icon { width: 1.7rem; height: 1.7rem; }
.wa-float span { display: none; }
.to-top {
  position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy-800); color: #fff; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med) var(--ease), background-color var(--t-fast);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }

/* ---------- Animações ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(243, 73, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 73, 73, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bloom { to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 639px) {
  .footer__links--courses { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
}

@media (min-width: 480px) {
  .wa-float span { display: inline; }
  .hero__stage { width: min(70vw, 480px); }
}

@media (min-width: 640px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .modal__foot { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .facts__list { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 1.6rem; border-top: 0; }
  .fact:nth-child(odd) { border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; }
  .topbar__links { display: flex; }
  .about { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .agreements { grid-template-columns: 1fr 1.1fr; }
  /* modal vira janela centralizada */
  .modal__wrap { align-items: center; padding: 2rem; }
  .modal__sheet { max-width: 860px; max-height: min(88dvh, 900px); border-radius: var(--radius-l); transform: translateY(24px) scale(0.97); }
  .modal__head { padding: 2rem 2.25rem 1.6rem; }
  .modal__body { padding: 2rem 2.25rem 1.5rem; }
  .modal__foot { padding: 1.1rem 2.25rem; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .burger, .drawer { display: none; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__stage { width: 100%; max-width: 500px; margin-inline: 0 auto; }
  .contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1200px) {
  .courses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .courses { grid-template-columns: repeat(3, 1fr); }
}

/* aparelhos sem hover: sem “tilt” persistente nos cartões */
@media (hover: none) {
  .course:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .course:hover::before { transform: translateY(101%); }
  .course:hover .course__name { color: var(--navy-800); }
  .course:hover .course__area, .course:hover .course__meta { color: var(--muted); border-color: var(--line); }
  .course:hover .course__more { color: var(--red); }
  .course:hover .course__icon { background: var(--sky-100); color: var(--navy-800); transform: none; }
  .price:hover, .partner:hover, .pillar:hover { transform: none; }
}

/* preferências de movimento */
@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; transition-delay: 0s !important; }
  html.js [data-reveal], .hero [data-intro] { opacity: 1; transform: none; }
  .lux__rays { animation: none; }
}
