/* ==========================================================
   Vanusca Santana · Centro de Educação e Treinamento
   Direção: editorial e premium. Papel claro, azul da marca,
   um único acento (dourado). Serifada nos títulos.
   ========================================================== */

:root {
  --paper: #FAF9F6;
  --paper-2: #F2F1EE;
  --card: #FFFFFF;
  --ink: #15191F;
  --ink-2: #444950;
  --muted: #63666B;
  --navy: #142347;
  /* azul-marinho da marca */
  --navy-2: #1D3263;
  --blue: #2F539B;
  /* azul do símbolo */
  --brass: #94733F;
  /* dourado para títulos grandes */
  --brass-ink: #765A2B;
  /* dourado para textos pequenos (contraste AA) */
  --brass-light: #CDAE72;
  --line: #E0DCD4;
  --line-dark: rgba(245, 241, 234, 0.18);

  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--navy);
  color: var(--paper);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tipografia ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow-light {
  color: var(--brass-light);
}

.display,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.0;
}

.h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
}

.h3 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
}

.display em,
.h2 em,
.h3 em {
  font-style: italic;
  color: var(--brass);
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 34em;
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-dark {
  background: var(--navy);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--blue);
}

.btn-gold {
  background: var(--brass-light);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--paper);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.link-arrow span {
  transition: transform .25s var(--ease);
}

.link-arrow:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Faixa superior ---------- */

.topbar {
  background: var(--navy);
  color: rgba(245, 241, 234, .75);
  font-size: 13px;
  letter-spacing: .02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.topbar-contacts {
  display: flex;
  gap: 22px;
}

.topbar a:hover {
  color: var(--paper);
}

/* ---------- Cabeçalho ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}

.header.is-scrolled {
  background: rgba(250, 249, 246, .94);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(20, 35, 71, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

/* Marca */

/* Logo Oficial da Marca (PNG Transparente de Alta Resolução) */
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform .25s var(--ease);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.footer-logo-badge {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform .25s var(--ease);
}

.footer-logo-badge:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.005em;
}

.brand-sub {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-light {
  color: var(--paper);
}

.brand-light .brand-mark {
  fill: #9DB4E3;
}

.brand-light .brand-sub {
  color: rgba(245, 241, 234, .6);
}

/* Navegação */
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Hero (Banner Full-Width) ---------- */

.hero-banner {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(86px + clamp(36px, 5vw, 70px));
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
  background: var(--paper-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

/* Scrim suave da esquerda para a direita: texto nítido à esquerda e Vanusca preservada à direita */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(250, 249, 246, 0.88) 0%,
      rgba(250, 249, 246, 0.80) 25%,
      rgba(250, 249, 246, 0.55) 44%,
      rgba(250, 249, 246, 0.32) 58%,
      rgba(250, 249, 246, 0.10) 68%,
      transparent 75%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 640px;
}

.hero-text .display {
  margin-bottom: 28px;
}

.hero-text .lead {
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  padding: 18px 20px 0 0;
}

.hero-facts li+li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Públicos ---------- */

.audiences {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.audience-list li {
  padding: 34px 26px 36px;
  border-left: 1px solid var(--line);
}

.audience-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.aud-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brass-ink);
  margin-bottom: 14px;
}

.audience-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}

.audience-list p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Seções ---------- */

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-intro {
  color: var(--ink-2);
  max-width: 30em;
}

/* Seções com foto de fundo */
.section-photo {
  position: relative;
  color: rgba(255, 255, 255, .92);
  background:
    linear-gradient(180deg, rgba(20, 35, 71, .60) 0%, rgba(20, 35, 71, .50) 50%, rgba(20, 35, 71, .66) 100%),
    var(--bg, none) center / cover no-repeat,
    var(--navy);
}

#metodo {
  background:
    linear-gradient(180deg,
      rgba(10, 18, 38, 0.68) 0%,
      rgba(10, 18, 38, 0.45) 24%,
      rgba(10, 18, 38, 0.10) 42%,
      rgba(10, 18, 38, 0.15) 58%,
      rgba(10, 18, 38, 0.65) 82%,
      rgba(10, 18, 38, 0.78) 100%),
    url('../img/banner_cursos_auditorio.jpg') center center / cover no-repeat,
    var(--navy);
}

#metodo .section-head,
#metodo .pillars {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.70);
}

.section-photo-side {
  background:
    linear-gradient(90deg,
      rgba(14, 21, 38, 0.64) 0%,
      rgba(14, 21, 38, 0.40) 46%,
      rgba(14, 21, 38, 0.12) 100%),
    var(--bg, none) center / cover no-repeat,
    var(--navy);
}

#interesse {
  background:
    linear-gradient(180deg,
      rgba(12, 18, 32, 0.44) 0%,
      rgba(12, 18, 32, 0.26) 48%,
      rgba(12, 18, 32, 0.48) 100%),
    var(--bg, none) center / cover no-repeat,
    var(--navy);
}

.section-photo .h2,
.section-photo .h3 {
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.50);
}

.section-photo .h2 em,
.section-photo .h3 em {
  color: var(--brass-light);
}

.section-photo .section-intro {
  color: rgba(245, 241, 234, .78);
}

/* ---------- Cursos ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.tab {
  background: none;
  border: 0;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color .2s var(--ease);
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

.tab:hover,
.tab.is-active {
  color: var(--ink);
}

.tab.is-active::after {
  transform: scaleX(1);
}

.tab-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--paper-2);
  border-radius: 10px;
  margin-left: 6px;
  color: var(--muted);
  transition: all .2s var(--ease);
}

.tab:hover .tab-count,
.tab.is-active .tab-count {
  background: var(--navy);
  color: var(--paper);
}

.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.course:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 115, 63, .35);
  box-shadow: 0 24px 50px -20px rgba(20, 35, 71, .25), 0 0 0 1px rgba(148, 115, 63, .2);
}

.course-featured {
  border-color: rgba(148, 115, 63, .4);
}

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

.course-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--navy);
  color: var(--brass-light);
  border: 1px solid rgba(205, 174, 114, 0.4);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) contrast(1.03);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}

.course-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 35, 71, 0) 45%, rgba(20, 35, 71, .55) 100%);
}

.course:hover .course-img img {
  transform: scale(1.05);
  filter: saturate(.95) contrast(1.03);
}

.course-chip {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 7px 12px;
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.course-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 30px;
}

.course-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brass-ink);
  margin-bottom: 12px;
}

.course-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.course-desc {
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  list-style: none;
}

.course-meta li {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 2px;
  letter-spacing: .01em;
}

.course-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.course-status {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.status-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  margin-right: 8px;
  animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(148, 115, 63, 0.6);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(148, 115, 63, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(148, 115, 63, 0);
  }
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all .25s var(--ease);
}

.btn-card-action span {
  transition: transform .25s var(--ease);
}

.btn-card-action:hover {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.btn-card-action:hover span {
  transform: translateX(3px);
}

/* ---------- Pilares (seção com foto) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.pillar {
  padding: 40px 40px 8px 0;
}

.pillar+.pillar {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.pillar-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--brass-light);
  margin-bottom: 20px;
  line-height: 1;
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.pillar p {
  color: rgba(245, 241, 234, 0.74);
  line-height: 1.6;
}

/* ---------- Níveis ---------- */

.levels {
  background: var(--paper-2);
  padding: clamp(64px, 8vw, 100px) 0;
}

.levels-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.level {
  padding-top: 6px;
}

.level-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
}

.level-bar i {
  width: 28px;
  height: 4px;
  background: var(--line);
}

.level-bar i.on {
  background: var(--brass);
}

.level h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 10px;
}

.level p {
  font-size: 15.5px;
}

/* ---------- Empresas ---------- */

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.company-body p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 32em;
}

.company-list {
  margin-bottom: 40px;
  border-top: 1px solid var(--line-dark);
}

.company-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.company-list li::before {
  content: "—";
  color: var(--brass-light);
}

/* ---------- Professora (Banner Full-Width) ---------- */

.section-about-banner {
  position: relative;
  min-height: min(88svh, 800px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  background: var(--paper-2);
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}

/* Scrim suave da direita para a esquerda: a professora em pé à esquerda fica 100% visível e o texto à direita fica 100% legível */
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg,
      var(--paper) 0%,
      rgba(250, 249, 246, 0.98) 32%,
      rgba(250, 249, 246, 0.82) 44%,
      rgba(250, 249, 246, 0.25) 58%,
      rgba(250, 249, 246, 0.04) 68%,
      transparent 76%);
}

.about-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  /* Texto posicionado à direita */
}

.about-text-wrap {
  width: 100%;
  max-width: 600px;
}

.about-text .h2 {
  margin-bottom: 8px;
}

.about-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--brass);
  margin-bottom: 30px;
}

.about-text>p {
  margin-bottom: 18px;
  max-width: 36em;
}

.quote {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.facts dt {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
}

.facts dd {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Formulário ---------- */

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.interest-grid .h2 {
  margin-bottom: 22px;
}

.form {
  background: var(--paper);
  color: var(--ink-2);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder {
  color: #9C978E;
}

.field input:focus,
.field select:focus {
  border-bottom-color: var(--navy);
}

.field.has-error input {
  border-bottom-color: #9B2C2C;
}

.form .btn {
  margin-top: 10px;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Dúvidas ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
  transition: color .2s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:hover {
  color: var(--blue);
}

.faq details p {
  padding: 0 48px 28px 0;
  max-width: 40em;
}

.faq details p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* ---------- Rodapé ---------- */

.footer {
  background: var(--navy);
  color: rgba(245, 241, 234, .66);
  padding: 90px 0 36px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  margin-top: 24px;
  max-width: 26em;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
}

/* Contatos com ícone e assinatura do desenvolvedor */
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: color .25s ease;
}

.footer-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--brass-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icon .dot {
  fill: var(--brass-light);
  stroke: none;
}

.footer-bottom {
  align-items: center;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: .9;
  transition: opacity .25s ease;
}

.footer-dev:hover {
  opacity: 1;
}

.footer-dev img {
  height: 54px;
  width: auto;
}

/* evita que o botão flutuante do WhatsApp cubra a assinatura */
@media (min-width: 641px) and (max-width: 1340px) {
  .footer-bottom {
    padding-right: 80px;
  }
}

@media (max-width: 640px) {
  .footer-contact-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-dev img {
    height: 46px;
  }
}

/* ---------- WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.wa-float:hover {
  background: #20BD5A;
  color: #ffffff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .2);
}

/* ---------- Entrada suave ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .course,
  .course-img img {
    transition: none;
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .audience-list {
    grid-template-columns: repeat(6, 1fr);
  }

  .audience-list li:nth-child(1),
  .audience-list li:nth-child(2),
  .audience-list li:nth-child(3) {
    grid-column: span 2;
  }

  .audience-list li:nth-child(4),
  .audience-list li:nth-child(5) {
    grid-column: span 3;
    border-top: 1px solid var(--line);
  }

  .audience-list li:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .audience-list li:nth-child(5) {
    border-left: 1px solid var(--line);
    padding-left: 26px;
  }

  .about-bg img {
    object-position: 10% center;
  }

  .about-text-wrap {
    max-width: 470px;
  }

  .about-text .quote {
    font-size: 24px;
    margin-top: 26px;
    padding-top: 20px;
  }

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

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

  .levels-head {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    bottom: auto;
    height: auto;
    max-height: calc(100svh - 86px);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px var(--gutter) 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 35, 71, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

  .nav a:not(.btn) {
    width: 100%;
    padding: 15px 0;
    font-family: var(--serif);
    font-size: 26px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin: 22px 0 0;
    width: 100%;
    height: 50px;
  }

  .menu-open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .menu-open .header {
    background: var(--paper);
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: block;
  }

  .hero-banner {
    min-height: auto;
    padding-top: clamp(430px, 58svh, 510px);
    padding-bottom: 36px;
    background: var(--paper);
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(460px, 60svh, 530px);
    object-fit: cover;
    object-position: 90% top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.12) 88%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.12) 88%, transparent 98%);
  }

  .hero-bg::after {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 120px;
    background: linear-gradient(180deg,
        rgba(250, 249, 246, 0.45) 0%,
        rgba(250, 249, 246, 0) 100%);
    pointer-events: none;
  }

  .section.section-about-banner {
    min-height: auto;
    padding-top: clamp(480px, 64svh, 560px) !important;
    padding-bottom: 48px;
    background: var(--paper);
    overflow: hidden;
  }

  .about-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .about-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(500px, 66svh, 580px);
    object-fit: cover;
    object-position: 18% top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.6) 72%, rgba(0, 0, 0, 0.15) 88%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.6) 72%, rgba(0, 0, 0, 0.15) 88%, transparent 98%);
  }

  .about-bg::after {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 120px;
    background: linear-gradient(180deg,
        rgba(250, 249, 246, 0.35) 0%,
        rgba(250, 249, 246, 0) 100%);
    pointer-events: none;
  }

  .about-container {
    justify-content: flex-start;
  }

  .about-text-wrap {
    max-width: 100%;
  }

  .section {
    padding: clamp(46px, 7vw, 56px) 0;
  }

  .levels {
    padding: clamp(42px, 6vw, 50px) 0;
  }

  .section-head,
  .company-grid,
  .interest-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 26px;
  }

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

  .pillar,
  .pillar+.pillar {
    padding: 24px 0;
    border-left: 0;
  }

  .pillar+.pillar {
    border-top: 1px solid rgba(255, 255, 255, 0.20);
  }

  .audiences {
    display: none;
  }

  #metodo {
    background:
      linear-gradient(180deg,
        rgba(10, 18, 38, 0.58) 0%,
        rgba(10, 18, 38, 0.38) 18%,
        rgba(10, 18, 38, 0.52) 34%,
        rgba(10, 18, 38, 0.58) 52%,
        rgba(10, 18, 38, 0.68) 75%,
        rgba(10, 18, 38, 0.78) 100%),
      url('../img/banner-cursos_mobile.jpg') center top / cover no-repeat,
      var(--navy);
  }

  .company-body .btn {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
  }

  .section-photo-side {
    background:
      linear-gradient(180deg, rgba(14, 21, 38, .68) 0%, rgba(14, 21, 38, .58) 100%),
      var(--bg, none) center / cover no-repeat,
      var(--navy);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .topbar-info,
  .hide-sm {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-inner {
    height: 74px;
  }

  .nav {
    top: 74px;
    max-height: calc(100svh - 74px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: .16em;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .hero-facts li,
  .hero-facts li+li {
    padding: 14px 0;
    border-left: 0;
  }

  .hero-facts li+li {
    border-top: 1px solid var(--line);
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .audience-list li {
    grid-column: auto;
    border-left: 0;
    padding: 22px 0;
  }

  .audience-list li+li {
    border-top: 1px solid var(--line);
  }

  .courses {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .course-body {
    padding: 24px 22px 26px;
  }

  .course-title {
    font-size: 26px;
  }

  .tabs {
    gap: 0 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    margin-bottom: 28px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    white-space: nowrap;
  }

  .levels-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-actions {
    gap: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .faq summary {
    font-size: 21px;
  }

  /* Rodapé mobile compacto e essencial */
  .footer {
    padding: 44px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    padding-bottom: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    display: none;
  }

  .footer-col-areas {
    display: none;
  }

  .footer-col h4 {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .14em;
  }

  .footer-col li {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .footer-bottom {
    padding-top: 18px;
    font-size: 12px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}
/* Rodapé mobile: copyright e "Desenvolvido por" centralizados */
@media (max-width: 640px) {
  .footer {
    padding-bottom: 88px;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-dev {
    justify-content: center;
  }
}
