/* ==========================================================
   Air Dream College — site público
   Paleta: céu claro, azul-marinho de cockpit e âmbar de pista
   ========================================================== */
:root {
  --ink: #0F2A4A;          /* azul-marinho: texto e superfícies escuras */
  --ink-2: #44597A;        /* texto secundário */
  --ink-3: #7A8CA5;        /* texto terciário */
  --blue: #1E5BB8;         /* azul ADC: links e detalhes */
  --sky: #EAF1F8;          /* fundo alternado, céu enevoado */
  --sky-2: #F5F8FC;
  --line: #D9E3EE;
  --amber: #E8A33D;        /* âmbar de pista: ação principal e estados */
  --amber-d: #C9831C;
  --white: #FFFFFF;
  --ok: #1F8A5B;
  --warn: #B45309;
  --stop: #9B2C2C;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --header-h: 84px;
  --shadow: 0 24px 60px -24px rgba(15, 42, 74, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 600; font-variation-settings: "wdth" 86; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-3); }
.ic { flex: none; vertical-align: middle; }

/* ---------- Tipografia de secção ---------- */
.display { font-size: clamp(30px, 3.6vw, 46px); }
.display-xl { font-size: clamp(38px, 5.6vw, 72px); font-variation-settings: "wdth" 80; letter-spacing: -.025em; max-width: 16ch; }
.h2 { font-size: clamp(24px, 2.4vw, 32px); }
.h3 { font-size: 24px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0; }
.section-page { padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 4vw, 48px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 18px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head-row .display { margin: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #F2B456; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-overlay::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10, 30, 56, .5), rgba(10, 30, 56, 0)); pointer-events: none; transition: opacity .3s; }
.site-header.is-scrolled { position: fixed; background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(15,42,74,.35); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 62px; width: auto; }
.brand-white { display: none; }
.is-overlay:not(.is-scrolled) .brand-color { display: none; }
.is-overlay:not(.is-scrolled) .brand-white { display: block; }
.brand-text { font-weight: 700; font-size: 20px; color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); }
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a { color: var(--blue); }
.main-nav > ul > li.is-active > a { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.is-overlay:not(.is-scrolled) .main-nav > ul > li > a { color: #fff; }
.is-overlay:not(.is-scrolled) .main-nav > ul > li > a:hover { color: #FFE2B3; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--sky); color: var(--blue); }
.sub-all a { color: var(--blue); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; }
.nav-student .sub { left: auto; right: -8px; }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.is-overlay:not(.is-scrolled) .nav-toggle { color: #fff; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1180px) {
  .main-nav > ul > li > a { padding: 10px 8px; font-size: 15px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 16px;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; visibility: visible; }
  body.nav-open .site-header { background: #fff; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  body.nav-open .site-header::before { opacity: 0; }
  .main-nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); top: var(--header-h); bottom: auto; z-index: 60; }
  body.nav-open .site-header .brand-color { display: block; }
  body.nav-open .site-header .brand-white { display: none; }
  body.nav-open .nav-toggle { color: var(--ink); }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: inline; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a, .is-overlay:not(.is-scrolled) .main-nav > ul > li > a { flex: 1; padding: 16px 4px; font-size: 19px; color: var(--ink); }
  .main-nav > ul > li.is-active > a { box-shadow: none; color: var(--blue); }
  .sub-toggle { display: inline-flex; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-toggle::before, .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
  .sub-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }
  .sub { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.is-open:hover > .sub { display: block; }
  .nav-cta { align-self: stretch; padding: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: #fff; padding: calc(var(--header-h) + 64px) 0 clamp(150px, 16vw, 200px); overflow: hidden; background: #6E9BCB; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 32, 62, .62) 0%, rgba(10, 32, 62, .3) 42%, rgba(10, 32, 62, 0) 70%),
              linear-gradient(0deg, rgba(10, 32, 62, .35), rgba(10, 32, 62, 0) 40%);
}
.hero-content { position: relative; z-index: 1; }
.hero-kicker { font-size: 17px; font-weight: 500; letter-spacing: .01em; color: rgba(255,255,255,.88); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--amber); }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-style: italic; font-variation-settings: normal;
  font-size: clamp(48px, 8.2vw, 116px); line-height: .98; letter-spacing: -.02em; max-width: 12ch; margin-bottom: 26px;
  text-shadow: 0 2px 30px rgba(8, 24, 48, .25);
}
.hero-text { font-size: clamp(18px, 1.6vw, 21px); max-width: 54ch; color: rgba(255,255,255,.92); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(126px, 13vw, 168px); display: flex; gap: 8px; justify-content: flex-end; }
.hero-dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); transition: background-color .4s; }
.hero-dots span.is-on { background: #fff; }

/* Entrada orquestrada do hero (único momento animado) */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero-title, .hero-text, .hero-actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-title { animation-delay: .08s; }
  .hero-text { animation-delay: .2s; }
  .hero-actions { animation-delay: .3s; }
  .board-wrap .board { animation: rise 1s .45s cubic-bezier(.2,.7,.2,1) both; }
  .hero-slide.is-on { animation: drift 14s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .hero-slide { transition: none; } }

/* ---------- Quadro de partidas ---------- */
.board-wrap { position: relative; z-index: 2; margin-top: clamp(-130px, -11vw, -96px); }
.board { background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(15,42,74,.45), 0 0 0 1px rgba(15,42,74,.06); padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 36px) clamp(10px, 1.6vw, 18px); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.board-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0; }
.board-head h2 .ic { color: var(--amber); transform: rotate(45deg); }
.board-all { font-weight: 600; font-size: 15px; text-decoration: none; }
.board table { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.board td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.b-date { white-space: nowrap; width: 1%; }
.flap {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 40px; padding: 0 6px; margin-right: 3px;
  background: var(--ink); color: #fff; border-radius: 5px; font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums;
  position: relative; letter-spacing: .02em;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.18); }
.flap-m { min-width: 48px; font-size: 16px; }
.b-year { color: var(--ink-3); font-size: 14px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.b-tba { color: var(--ink-3); font-size: 15px; }
.b-course a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 17px; }
.b-course a:hover { color: var(--blue); }
.b-course small { display: block; color: var(--ink-3); font-size: 14px; }
.b-regime { color: var(--ink-2); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ok); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.status-few { color: var(--amber-d); }
.status-full { color: var(--stop); }
.status-soon { color: var(--ink-3); }
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .board th:first-child { display: none; }
  .board tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .board tr:last-child { border-bottom: 0; }
  .board td { padding: 0; border: 0; }
  .board td.b-date { grid-column: 1 / -1; }
  .board thead { display: none; }
}

/* ---------- Intro + números ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro .display { font-size: clamp(34px, 4vw, 54px); font-variation-settings: "wdth" 80; max-width: 15ch; }
.prose.lead p { color: var(--ink-2); }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.stats dd { order: -1; }
.stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 24px; }
.stats dd { margin: 0 0 6px; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; font-weight: 600; font-variation-settings: "wdth" 76; color: var(--ink); letter-spacing: -.03em; }
.stats dt { color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Cursos (linhas) ---------- */
.courses-home { background: var(--sky-2); }
.course-rows { display: grid; gap: 20px; }
.course-row { display: grid; grid-template-columns: minmax(240px, 380px) 1fr 240px; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.cr-media { display: block; background: var(--sky); min-height: 240px; overflow: hidden; }
.cr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course-row:hover .cr-media img { transform: scale(1.04); }
.cr-body { padding: clamp(22px, 3vw, 36px); }
.cr-cat { font-size: 14px; font-weight: 600; color: var(--blue); margin: 0 0 6px; }
.cr-body h3, .cr-body .h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.cr-body h3 a, .cr-body .h3 a { color: var(--ink); text-decoration: none; }
.cr-body h3 a:hover, .cr-body .h3 a:hover { color: var(--blue); }
.cr-body > p { color: var(--ink-2); max-width: 58ch; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.facts-inline li { display: inline-flex; align-items: center; gap: 7px; }
.facts-inline .ic { color: var(--blue); }
.cr-dates { padding: clamp(22px, 3vw, 32px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.cr-dates-label { font-size: 14px; font-weight: 600; color: var(--ink-3); margin: 0; }
.cr-dates ul { list-style: none; margin: 0 0 auto; padding: 0; }
.cr-dates li { padding: 6px 0; font-weight: 600; font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--line); }
.cr-dates .btn { margin-top: 16px; }
@media (max-width: 1000px) {
  .course-row { grid-template-columns: 280px 1fr; }
  .cr-dates { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .cr-dates ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
  .cr-dates li { border: 0; padding: 0; }
  .cr-dates .btn { margin: 0 0 0 auto; }
}
@media (max-width: 680px) {
  .course-row { grid-template-columns: 1fr; }
  .cr-media { min-height: 200px; aspect-ratio: 16 / 9; }
  .cr-dates { flex-direction: column; align-items: stretch; }
  .cr-dates .btn { margin: 8px 0 0; }
}

/* ---------- Pilares ---------- */
.pillars { background: var(--ink); color: #fff; }
.pillars .display { color: #fff; margin-bottom: clamp(32px, 4vw, 56px); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pillar { padding: 28px 28px 8px 0; border-top: 2px solid var(--amber); margin-right: 28px; }
.pillar h3 { font-size: 21px; color: #fff; margin-bottom: 14px; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li { color: rgba(255,255,255,.78); padding: 7px 0; font-size: 15.5px; line-height: 1.45; border-bottom: 1px solid rgba(255,255,255,.1); }
.pillar li:last-child { border: 0; }
@media (max-width: 1000px) { .pillar-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 600px) { .pillar-grid { grid-template-columns: 1fr; } .pillar { margin-right: 0; } }

/* ---------- Bases ---------- */
.bases .link-arrow { margin-top: 28px; }
.bases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.base { display: flex; flex-direction: column; }
.base-media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); }
.base-media img { width: 100%; height: 100%; object-fit: cover; }
.base-body { padding: 22px 4px 0; }
.base-body h3 { font-size: clamp(24px, 2.4vw, 30px); }
.base-body p, .base-body .prose { color: var(--ink-2); }
.base-body address { display: flex; gap: 8px; color: var(--ink-2); font-size: 15.5px; margin-top: 12px; }
.base-body address .ic { color: var(--blue); margin-top: 3px; }
@media (max-width: 760px) { .bases-grid { grid-template-columns: 1fr; } }

/* ---------- Frota ---------- */
.fleet-home { background: var(--sky); }
.fleet-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 24px; scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: thin; }
.plane { margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.plane-media { aspect-ratio: 3 / 2; background: var(--sky-2); }
.plane-media img { width: 100%; height: 100%; object-fit: cover; }
.plane figcaption { padding: 18px 22px 22px; display: grid; gap: 4px; }
.plane strong { font-size: 20px; font-variation-settings: "wdth" 86; }
.plane span { color: var(--ink-2); font-size: 15px; }
.plane-qty { justify-self: start; font-weight: 600; color: var(--ink) !important; background: #FBEBD2; border-radius: 999px; padding: 2px 10px; font-size: 13.5px !important; }

.fleet-list { display: grid; gap: clamp(40px, 6vw, 80px); }
.fleet-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.fleet-item.is-flip .fi-media { order: 2; }
.fi-media { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); }
.fi-media img { width: 100%; height: 100%; object-fit: cover; }
.fi-body h3 { font-size: clamp(26px, 2.8vw, 36px); }
.fi-meta { color: var(--ink-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 800px) { .fleet-item { grid-template-columns: 1fr; } .fleet-item.is-flip .fi-media { order: 0; } }

/* ---------- Notícias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.news-card a { display: block; color: inherit; text-decoration: none; }
.nc-media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--sky); margin-bottom: 16px; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card a:hover .nc-media img { transform: scale(1.04); }
.news-card time { display: block; color: var(--ink-3); font-size: 14px; margin-bottom: 6px; }
.news-card h3, .news-card .h3 { font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.news-card a:hover h3, .news-card a:hover .h3 { color: var(--blue); }
.news-card p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Parceiros ---------- */
.partners { border-top: 1px solid var(--line); }
.partner-group { margin-top: 36px; }
.partner-group h3 { font-size: 15px; font-weight: 600; color: var(--ink-3); font-variation-settings: "wdth" 100; letter-spacing: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-wall li { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.logo-wall a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-wall img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(180deg, var(--sky) 0%, #DCE8F5 100%); padding: clamp(56px, 8vw, 100px) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: center; }
.cta-inner h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: normal; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.01em; margin: 0; }
.cta-inner > p { grid-column: 1; color: var(--ink-2); margin: 0; font-size: 18px; }
.cta-links { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(15,42,74,.18); }
.cta-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(15,42,74,.18); font-variation-settings: "wdth" 88; }
.cta-links a:hover { color: var(--blue); padding-left: 10px; }
.cta-links a { transition: padding .2s, color .2s; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } .cta-links { grid-column: 1; grid-row: auto; } }

/* ---------- Cabeçalhos de página ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.sub-hero { position: relative; color: #fff; min-height: 70vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 clamp(56px, 7vw, 96px); background: var(--ink); overflow: hidden; }
.sub-hero.no-image { min-height: 0; background: linear-gradient(135deg, var(--ink), #24508A); }
.sub-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sub-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 56, .78) 0%, rgba(10, 30, 56, .25) 55%, rgba(10, 30, 56, .4) 100%); }
.sub-hero-content { position: relative; }
.sub-hero .crumbs { color: rgba(255,255,255,.75); }
.sub-hero .crumbs a:hover { color: #fff; }
.sub-hero-cat { font-weight: 600; color: #FFD69A; margin-bottom: 8px; }
.sub-hero h1 { font-size: clamp(42px, 6.4vw, 86px); font-variation-settings: "wdth" 78; letter-spacing: -.03em; max-width: 15ch; line-height: 1; }
.sub-hero-text { font-size: clamp(18px, 1.6vw, 21px); max-width: 60ch; color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Curso ---------- */
.facts { margin: -38px 0 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 60px -30px rgba(15,42,74,.4), 0 0 0 1px rgba(15,42,74,.06); overflow: hidden; }
.facts > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.facts dt .ic { color: var(--blue); }
.facts dd { margin: 0; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.course-main > section { margin-top: clamp(48px, 6vw, 72px); }
.course-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.side-card h2 { font-size: 22px; }
.date-list { list-style: none; margin: 0 0 20px; padding: 0; }
.date-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-date { white-space: nowrap; }
.dl-date .flap { min-width: 34px; height: 36px; font-size: 17px; }
.dl-date .flap-m { min-width: 44px; font-size: 15px; }
.dl-meta { text-align: right; display: grid; gap: 2px; }
.dl-meta small { color: var(--ink-3); font-size: 13px; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
@media (max-width: 960px) { .course-layout { grid-template-columns: 1fr; } .course-side { position: static; order: -1; } .facts > div { border-bottom: 1px solid var(--line); } }

.timeline { list-style: none; margin: 24px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; }
.timeline details { border-bottom: 1px solid var(--line); }
.timeline summary { list-style: none; display: grid; grid-template-columns: 44px 1fr auto 28px; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; }
.timeline summary::-webkit-details-marker { display: none; }
.tl-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-variant-numeric: tabular-nums; }
details[open] .tl-num { background: var(--ink); color: #fff; }
.tl-title { font-weight: 600; font-size: 18.5px; line-height: 1.3; }
.tl-dur { font-size: 14px; color: var(--ink-2); background: var(--sky); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tl-toggle { color: var(--ink-3); transition: transform .25s; display: flex; }
details[open] .tl-toggle { transform: rotate(45deg); color: var(--ink); }
.tl-body { padding: 0 0 22px 60px; color: var(--ink-2); }
.tl-body > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .timeline summary { grid-template-columns: 44px 1fr 24px; } .tl-dur { grid-column: 2; grid-row: 2; justify-self: start; } .tl-toggle { grid-row: 1; grid-column: 3; } .tl-body { padding-left: 0; } }

.mini-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.mini-course { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.mini-course strong { font-size: 20px; font-variation-settings: "wdth" 86; }
.mini-course:hover strong { color: var(--blue); }
.mc-media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--sky); margin-bottom: 10px; }
.mc-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mini-courses { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose-lg { font-size: 18px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--amber-d); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--amber); font-family: var(--serif); font-style: italic; font-size: 1.35em; line-height: 1.4; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
.prose a { font-weight: 500; }
.prose strong { font-weight: 600; }
.page-body { display: flex; justify-content: center; }
.page-body .prose { width: 100%; max-width: 760px; }

/* ---------- Missão/visão/valores ---------- */
.mvv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.mvv-item { border-top: 2px solid var(--ink); padding-top: 22px; }
.mvv-item p { color: var(--ink-2); font-size: 18px; }
.values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { padding: 6px 14px; border-radius: 999px; background: var(--sky); font-weight: 500; font-size: 15px; }
@media (max-width: 860px) { .mvv-grid { grid-template-columns: 1fr; } }

/* ---------- Artigo ---------- */
.article-head { padding-top: clamp(48px, 7vw, 96px); max-width: 920px; }
.article-head time { color: var(--ink-3); display: block; margin-bottom: 10px; }
.article-head h1 { font-size: clamp(36px, 5vw, 64px); font-variation-settings: "wdth" 80; letter-spacing: -.025em; }
.article-figure { margin: 32px auto 48px; }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); }
.article .page-body { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Galeria ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 15px var(--font); color: var(--ink); cursor: pointer; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: 16px; }
.m-item { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.m-item[hidden] { display: none; }
.m-item img { width: 100%; transition: transform .5s; }
.m-item:hover img { transform: scale(1.03); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.video { margin: 0; }
.video figcaption { margin-top: 10px; font-weight: 600; }
.yt, .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); display: block; }
.yt { position: relative; background: #000 center / cover no-repeat; cursor: pointer; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 38, .94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: var(--r-sm); }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 12px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Formulários ---------- */
.inquiry { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea, .nl-form input[type=email] {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .nl-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 91, 184, .14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.inquiry .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; min-height: 1em; }
.form-msg.ok { color: var(--ok); }
.form-msg.error { color: var(--stop); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .inquiry .btn { justify-self: stretch; } }

.contact-strip { background: var(--sky-2); border-top: 1px solid var(--line); }
.narrow-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.narrow-split .display { max-width: 16ch; }
@media (max-width: 900px) { .narrow-split { grid-template-columns: 1fr; } }
.tick-list { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 32px; }
.tick-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.tick-list .ic { color: var(--ok); margin-top: 3px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.contact-info { display: grid; gap: 4px; }
.ci { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ci .ic { color: var(--blue); margin-top: 2px; }
.ci h3 { font-size: 18px; margin-bottom: 4px; font-variation-settings: "wdth" 100; letter-spacing: 0; }
.ci h3 .muted { font-weight: 400; }
.ci a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; }
.ci a:hover { color: var(--blue); }
.ci small, .ci address { color: var(--ink-2); }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map { margin: 0; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-lg); background: var(--sky); }
.map figcaption { font-weight: 600; margin-top: 10px; }
@media (max-width: 860px) { .contact-grid, .maps-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound .flap-row { display: flex; gap: 4px; margin-bottom: 24px; }
.notfound .flap { min-width: 64px; height: 76px; font-size: 44px; }
.notfound .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); font-size: 15.5px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.newsletter { border-bottom: 1px solid rgba(255,255,255,.1); padding: clamp(40px, 5vw, 64px) 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: center; }
.nl-title { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.newsletter p { margin: 0; }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form input[type=email] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; border-radius: 999px; padding: 14px 20px; }
.nl-form input::placeholder { color: rgba(255,255,255,.55); }
.nl-form .form-msg { grid-column: 1 / -1; }
.nl-form .form-msg.ok { color: #8BE0B6; }
.nl-form .form-msg.error { color: #FFB4B4; }
@media (max-width: 800px) { .newsletter-inner { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .nl-form { grid-template-columns: 1fr; } }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 48px; }
.f-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.f-motto { font-family: var(--serif); font-style: italic; font-size: 22px; color: #fff; line-height: 1.3; max-width: 18ch; }
.f-col h3 { color: #fff; font-size: 16px; font-variation-settings: "wdth" 100; letter-spacing: 0; margin: 0 0 6px; }
.f-col h3:not(:first-child) { margin-top: 22px; }
.f-col p { margin: 0 0 6px; }
.f-small { font-size: 13.5px; color: rgba(255,255,255,.55); }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin: 0 0 6px; }
.socials { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.funding { background: #fff; }
.funding-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; padding-top: 18px; padding-bottom: 18px; }
.funding img { max-height: 56px; width: auto; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Avisos ---------- */
.toast { position: fixed; z-index: 120; left: 50%; top: calc(var(--header-h) + 16px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100% - 32px); }
.toast-ok { background: var(--ok); }
.toast-error { background: var(--stop); }
.cookie { position: fixed; z-index: 90; left: 16px; bottom: 16px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: 14.5px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink-2); }

@media print { .site-header, .site-footer, .cookie, .board-wrap { display: none; } }
body.nav-open .cookie { display: none; }