@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap");

:root {
  --black: #0a0a0a;
  --ink: #171717;
  --muted: #66605a;
  --cream: #f4f1ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --gold: #d99b2b;
  --gold-dark: #a96a11;
  --gold-soft: #f6dfa4;
  --line: rgba(10, 10, 10, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 70px rgba(10, 10, 10, 0.22);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

p {
  margin: 0;
}

p + p {
  margin-top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 48px, var(--max));
  min-height: 96px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  border-radius: 4px;
  outline: none;
}

.brand:focus-visible {
  outline: 1px solid rgba(217, 155, 43, 0.88);
  outline-offset: 8px;
}

.brand .brand-symbol {
  width: 52px;
  height: 57px;
  flex: 0 0 auto;
}

.brand-wording {
  display: grid;
  gap: 4px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name {
  color: var(--white);
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 4px;
}

.brand-descriptor {
  color: #e3a22f;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.4px;
}

.menu-toggle,
.menu-backdrop {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
  text-transform: uppercase;
}

.nav a {
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.nav .login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.hero.compact {
  min-height: 540px;
}

.hero.compact .hero-content {
  padding-top: 62px;
  padding-bottom: 52px;
}

.hero.compact h1 {
  font-size: 60px;
  line-height: 1.08;
}

.hero.compact .lead {
  margin-top: 22px;
}

.hero.compact .actions {
  margin-top: 28px;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 56%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
}

/* Ajustes de enquadramento da foto editorial valem só no desktop, onde a media
   é uma coluna estreita e alta. No mobile ela vira full-width em fluxo normal
   e o corte padrão (centralizado) já mostra os dois. */
@media (min-width: 981px) {
  .hero-editorial .hero-media img {
    object-position: 82% center;
  }

  /* A home tem hero mais alto que as internas compactas, o que fecha demais o
     corte. Alargar a media reproduz o enquadramento de "A Escola". */
  .hero-editorial:not(.compact) .hero-media {
    inset: 0 0 0 46%;
  }
}

.hero-empresas .hero-media img {
  object-position: 42% 32%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.48) 18%, rgba(10, 10, 10, 0) 42%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(100% - 48px, var(--max));
  min-height: inherit;
  margin: 0 auto;
  padding: 92px 0 76px;
}

.hero-copy {
  max-width: 590px;
}

.kicker {
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 24px;
}

.gold {
  color: var(--gold);
}

.lead {
  max-width: 680px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.75;
}

.lead.dark {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--black);
  background: linear-gradient(20deg, #f6dfa4 0%, #e3a22f 58%, #b87513 100%);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
}

.button.dark {
  color: var(--black);
  border-color: rgba(10, 10, 10, 0.24);
}

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 72px 0;
}

.section.dark {
  color: var(--white);
  background: var(--black);
}

.section.cream {
  background: var(--cream);
}

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 82px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.section-title {
  max-width: 720px;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.section-title p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-title p,
.dark .text-block,
.dark .meta {
  color: rgba(255, 255, 255, 0.76);
}

.text-block {
  color: var(--muted);
  font-size: 17px;
}

.statement-mark {
  width: 74px;
  margin-top: 42px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit {
  min-height: 218px;
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.benefit:nth-child(4n),
.benefit:last-child {
  border-right: 0;
}

.benefit img,
.feature-row img,
.mini-card img {
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.benefit h3 {
  font-size: 19px;
  line-height: 1.2;
}

.benefit p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.concept-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.large-symbol {
  width: 190px;
  margin: 0 auto;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  padding: 8px 13px;
  border: 1px solid rgba(217, 155, 43, 0.45);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 400;
}

.method-grid,
.feature-grid,
.three-grid {
  display: grid;
  gap: 22px;
  margin-top: 54px;
}

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

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

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

.mini-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
}

.dark .mini-card {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.035);
}

.mini-card h3 {
  font-size: 20px;
}

.mini-card p,
.mini-card li {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.dark .mini-card p,
.dark .mini-card li {
  color: rgba(255, 255, 255, 0.72);
}

.mini-card ul {
  margin: 16px 0 0;
  padding-left: 19px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 58px;
}

.teacher {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.teacher img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.teacher-body {
  padding: 34px;
}

.teacher-body .label {
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.teacher-body p {
  color: var(--muted);
  font-size: 15px;
}

.meta {
  margin-top: 22px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--black);
}

.image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 34px 24px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-size: 14px;
  font-weight: 500;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 54px;
}

.compare-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
}

.compare-arrow {
  width: 58px;
  opacity: 0.9;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 500;
}

details p {
  padding: 0 24px 24px;
  color: var(--muted);
}

.cta {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(217, 155, 43, 0.26), transparent 32%),
    var(--black);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 14px;
}

.option {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.option img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.option h3 {
  font-size: 18px;
}

.option p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 10, 10, 0.2);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 44px 0;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.footer-brand-symbol {
  width: 43px;
  height: 47px;
  flex: 0 0 auto;
}

.footer-brand-wording {
  display: grid;
  gap: 4px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-brand-name {
  color: var(--white);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 3px;
}

.footer-brand-descriptor {
  color: #e3a22f;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media (min-width: 981px) {
  .nav .login {
    margin-left: 12px;
  }
}

@media (min-width: 1276px) {
  .header-inner {
    width: calc(100% - 96px);
  }

  .brand {
    margin-left: calc((100% - 1180px) / 2);
  }
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  h1 {
    font-size: 46px;
  }

  .hero.compact h1 {
    font-size: 46px;
    line-height: 1.12;
  }

  h2 {
    font-size: 34px;
  }

  .hero,
  .hero.compact {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-media {
    position: relative;
    order: 1;
    inset: auto;
    height: 360px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(10, 10, 10, 0.46), rgba(10, 10, 10, 0.06)),
      linear-gradient(90deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.04) 42%, rgba(10, 10, 10, 0.2));
  }

  .hero-content {
    order: 2;
    min-height: auto;
    padding: 70px 0 56px;
  }

  .split,
  .split.reverse,
  .concept-band,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .method-grid,
  .feature-grid,
  .three-grid,
  .timeline,
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .teacher img {
    min-height: 340px;
  }

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

  .compare-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    backdrop-filter: none;
  }

  .header-inner,
  .container,
  .hero-content,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .brand {
    gap: 12px;
  }

  .brand .brand-symbol {
    width: 46px;
    height: 50px;
  }

  .brand-name {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .brand-descriptor {
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  html.menu-open {
    overflow: hidden;
  }

  .header-inner {
    position: relative;
    z-index: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
  }

  .menu-toggle {
    position: relative;
    z-index: 4;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(217, 155, 43, 0.72);
    border-radius: 4px;
    color: var(--gold);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header[data-menu-open="true"] .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header[data-menu-open="true"] .menu-toggle {
    position: fixed;
    top: 17px;
    right: 16px;
    z-index: 5;
  }

  .site-header[data-menu-open="true"] .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-menu-open="true"] .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-backdrop {
    position: fixed;
    inset: 0 min(82vw, 330px) 0 0;
    z-index: 1;
    width: auto;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.66);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-header[data-menu-open="true"] .menu-backdrop {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(82vw, 330px);
    padding: 112px 26px 32px;
    background: #111111;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.38);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    visibility: hidden;
    transition: clip-path 220ms ease, visibility 220ms ease;
  }

  .site-header[data-menu-open="true"] .nav {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    opacity: 1;
  }

  .nav .login {
    width: 100%;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 18px;
    border-bottom: 1px solid var(--gold);
  }

  h1 {
    font-size: 34px;
  }

  .hero.compact h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    padding: 14px 0;
  }

  .hero-content {
    padding: 58px 0 42px;
  }

  .kicker {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .actions {
    margin-top: 28px;
  }

  .hero-media {
    height: 230px;
  }

  .hero-media img {
    object-position: center;
  }

  .hero-empresas .hero-media img {
    object-position: 48% 20%;
  }

  .course-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .benefit-grid,
  .method-grid,
  .feature-grid,
  .three-grid,
  .timeline,
  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .benefit,
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child,
  .step:last-child {
    border-bottom: 0;
  }

  .actions,
  .button {
    width: 100%;
  }

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