/* =========================================================
   LP 13 – Atlas Academy (pós-graduação)
   Desktop baseado no frame de 1920px, mobile no de 414px
   ========================================================= */

:root {
  --navy: #00202e;
  --navy-2: #002c3a;
  --wine: #731423;
  --beige: #bcafa6;
  --verde: #3effa8;
  --verde-hover: #2ee597;
  --btn-texto: #042e36;
  --cinza-bg: #eef1f1;
  --cinza-texto: #a3a3a3;
  --titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1370px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 18px;
  line-height: 1.45;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: 720px; text-align: center; }
.container--form { max-width: 722px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo (texto) ---------- */
.logo {
  display: inline-block;
  font-family: var(--titulo);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}
.logo small {
  display: block;
  font-family: var(--texto);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 6.4px;
  margin-top: 3px;
  color: var(--verde);
}

/* ---------- Tipografia ---------- */
.title {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.25;
  text-transform: uppercase;
}
.title--wine { color: var(--wine); }
.title--dark { color: var(--navy); }
.wine { color: var(--wine); }
.muted { color: var(--cinza-texto); font-size: 18px; line-height: 1.45; }
.eyebrow {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  color: #162e3a;
  margin-bottom: 4px;
}

/* ---------- Botão ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 330px;
  max-width: 100%;
  height: 64px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--verde);
  color: var(--btn-texto);
  font-family: var(--texto);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--verde-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(62, 255, 168, .3);
}
.btn--block { width: 100%; }

/* ---------- Aba com seta ---------- */
.notch {
  position: absolute;
  left: 50%;
  width: 150px;
  height: 30px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--navy);
  z-index: 3;
  transition: color .2s;
}
.notch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--notch-bg, var(--cinza-bg));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 30'%3E%3Cpath d='M0 30c22 0 30-6 37-14S52 0 75 0s31 8 38 16 15 14 37 14z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 30'%3E%3Cpath d='M0 30c22 0 30-6 37-14S52 0 75 0s31 8 38 16 15 14 37 14z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.notch svg { position: relative; width: 22px; height: 22px; margin-top: 6px; }
.notch:hover svg { animation: bounce .8s ease infinite; }
.notch--light { bottom: -1px; }
.notch--top { top: -1px; transform: translateX(-50%) rotate(180deg); }
.notch--top svg { transform: rotate(180deg); margin-top: 6px; }
@keyframes bounce { 50% { translate: 0 3px; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 768px;
  padding: 52px 0 140px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,10,14,.88) 0%, rgba(0,10,14,.72) 30%, rgba(0,10,14,0) 52%),
    image-set(url("assets/hero.webp") type("image/webp"), url("assets/hero.jpg") type("image/jpeg")) center / cover no-repeat,
    #071318;
}
.hero__content { max-width: 490px; margin-top: 168px; }
.hero__title {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: 47px;
  line-height: 1.24;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 14px;
}
.hero__text { font-size: 18px; line-height: 1.35; color: #e9ecee; margin-bottom: 46px; max-width: 460px; }

/* =========================================================
   CARREIRA
   ========================================================= */
.carreira {
  position: relative;
  background: var(--cinza-bg);
  min-height: 661px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.carreira__content { max-width: 600px; padding: 80px 0; }
.carreira__content .title { margin-bottom: 4px; }
.carreira__content .muted { max-width: 520px; margin-bottom: 70px; }
.carreira__media {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  width: min(64.6vw, 1240px);
  transform: translateY(-48%);
}
.carreira__media img { width: 100%; }

/* =========================================================
   INSTITUTO
   ========================================================= */
.instituto {
  position: relative;
  padding: 120px 0 126px;
  background: #fff;
  overflow: hidden;
}
.instituto__capelo {
  position: absolute;
  left: max(0px, calc(50% - 880px));
  top: 30px;
  width: 520px;
  height: auto;
  pointer-events: none;
}
.instituto .container--narrow { max-width: 920px; }
.instituto .title { margin-bottom: 18px; }
.instituto .muted { max-width: 680px; margin: 0 auto 56px; line-height: 1.4; }

/* =========================================================
   BENEFÍCIOS
   ========================================================= */
.beneficios {
  position: relative;
  min-height: 900px;
  padding: 138px 0;
  background:
    image-set(url("assets/beneficios.webp") type("image/webp"), url("assets/beneficios.jpg") type("image/jpeg")) center / cover no-repeat,
    #3d2416;
}
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(2, 440px);
  gap: 18px 20px;
  justify-content: end;
}
.card {
  display: flex;
  min-height: 208px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.card__icon {
  flex: 0 0 115px;
  display: grid;
  place-items: center;
  background: var(--c);
}
.card__icon svg {
  width: 56px; height: 56px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__body { padding: 26px 32px 26px 32px; display: flex; flex-direction: column; justify-content: center; }
.card h3 { font-family: var(--titulo); font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 15px; line-height: 1.3; color: #9a9a9a; max-width: 240px; }

/* =========================================================
   ESCOLHA
   ========================================================= */
.escolha { background: var(--cinza-bg); padding: 80px 0 72px; text-align: center; }
.escolha__icon {
  width: 46px; height: 46px; margin: 0 auto 30px;
  fill: none; stroke: #cdc1ba; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.escolha .title { font-size: 40px; max-width: 780px; margin: 0 auto; line-height: 1.3; }

/* =========================================================
   CURSOS
   ========================================================= */
.curso {
  position: relative;
  min-height: 650px;
  padding: 85px 0 70px;
  color: #fff;
  background: image-set(var(--img-d) type("image/webp"), var(--img-f) type("image/jpeg")) center / cover no-repeat;
}
.curso--economia { background-color: #012737; --notch-bg: var(--cinza-bg); }
.curso--direito { background-color: #d55b04; padding-top: 70px; }
.curso--negocios { background-color: #5a0e1d; padding-top: 70px; }
.curso__content { max-width: 572px; }
.curso__content--right { margin-left: auto; margin-right: calc(270px - 270px); }
.curso--economia .curso__content--right,
.curso--negocios .curso__content--right { margin-left: calc(50% + 120px - 24px); }
.curso__title {
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.33;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 24px;
}
.curso--direito .curso__title { color: #f6e2d4; }
.curso--negocios .curso__title { color: #d6b3b7; }
.curso__text { font-size: 16px; line-height: 1.33; text-align: justify; margin-bottom: 20px; }
.curso__text + .curso__text { margin-top: -2px; }

.info {
  list-style: none;
  margin: 50px 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: 230px 1fr;
  grid-auto-flow: row;
  gap: 18px 0;
}
.info li { display: flex; gap: 18px; align-items: flex-start; }
.info svg { flex: none; width: 24px; height: 24px; color: rgba(255,255,255,.75); margin-top: 6px; }
.info small { display: block; font-size: 8px; letter-spacing: .5px; text-transform: uppercase; opacity: .7; line-height: 1.2; }
.info span { display: block; font-size: 19px; line-height: 1.25; }
.info span b { font-weight: 700; }
.info .price { font-size: 14px; }
.info .price b { font-size: 22px; }
.info .note { margin-top: 4px; font-size: 7.5px; }
/* ordem: coluna esquerda = modalidade, vagas, carga; direita = noturnas, taxa, valor */
.info li:nth-child(1) { grid-area: 1 / 1; }
.info li:nth-child(3) { grid-area: 2 / 1; }
.info li:nth-child(5) { grid-area: 3 / 1; }
.info li:nth-child(2) { grid-area: 1 / 2; }
.info li:nth-child(4) { grid-area: 2 / 2; }
.info li:nth-child(6) { grid-area: 3 / 2; }

/* =========================================================
   NETWORKING
   ========================================================= */
.networking {
  padding: 140px 0 110px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 45%, #fff 100%) top center / 100% 320px no-repeat,
    image-set(url("assets/networking.webp") type("image/webp"), url("assets/networking.jpg") type("image/jpeg")) top center / 1920px auto no-repeat,
    #fff;
}
.networking .container--narrow { max-width: 720px; }
.networking .title { max-width: 620px; margin: 0 auto 30px; }
.networking .muted { max-width: 680px; margin: 0 auto 52px; }

/* =========================================================
   FORMULÁRIO
   ========================================================= */
.inscricao { background: var(--cinza-bg); padding: 76px 0 96px; }
.inscricao .title { margin-bottom: 8px; }
.inscricao .muted { margin: 0 auto 22px; max-width: 680px; }
.form { margin-top: 48px; display: grid; gap: 16px; }
.form input {
  width: 100%;
  height: 62px;
  border: 2px solid transparent;
  border-radius: 0;
  background: #fff;
  padding: 0 18px;
  font-family: var(--texto);
  font-size: 18px;
  color: var(--navy);
  transition: border-color .2s;
}
.form input::placeholder { color: #9a9a9a; }
.form input:focus { outline: none; border-color: var(--verde); }
.form input.is-invalid { border-color: #df1843; }
.form .btn { margin-top: 8px; }
.form__msg { min-height: 24px; font-size: 16px; font-weight: 600; }
.form__msg.ok { color: #0a8a55; }
.form__msg.erro { color: #df1843; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  font-size: 14px;
}
.logo--footer { font-size: 28px; }
.footer__links { display: flex; justify-content: center; gap: 58px; margin: 34px 0 40px; }
.footer__links a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.footer__links a:hover { opacity: 1; text-decoration: underline; }
.footer p { opacity: .9; }

/* =========================================================
   ANIMAÇÃO
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .notch:hover svg { transition: none; animation: none; }
}

/* =========================================================
   TELAS MÉDIAS
   ========================================================= */
@media (max-width: 1500px) {
  .curso--economia .curso__content--right,
  .curso--negocios .curso__content--right { margin-left: auto; }
}
@media (max-width: 1180px) {
  .title { font-size: 40px; }
  .carreira { flex-direction: column; align-items: stretch; }
  .carreira__content { padding: 90px 0 30px; }
  .carreira__content .muted { margin-bottom: 40px; }
  .carreira__media { position: static; width: 100%; transform: none; padding-bottom: 60px; }
  .beneficios__grid { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }
  .curso { background-position: 30% center; }
  .curso__content, .curso__content--right { margin: 0 auto !important; background: rgba(0,0,0,.25); padding: 30px; backdrop-filter: blur(2px); }
}

/* =========================================================
   MOBILE (frame de 414px)
   ========================================================= */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .title { font-size: 40px; line-height: 1.2; }
  .muted { font-size: 18px; }
  .btn { width: 100%; height: 64px; }

  /* Hero */
  .hero {
    min-height: 1037px;
    padding: 50px 0 80px;
    text-align: center;
    background:
      linear-gradient(to bottom, rgba(7,19,24,1) 0%, rgba(7,19,24,.9) 38%, rgba(7,19,24,.2) 58%, rgba(7,19,24,0) 70%),
      image-set(url("assets/hero.webp") type("image/webp"), url("assets/hero.jpg") type("image/jpeg")) 74% bottom / auto 640px no-repeat,
      #071318;
    display: flex;
  }
  .hero .container { display: flex; flex-direction: column; min-height: 100%; }
  .logo { margin: 0 auto; }
  .hero__content { margin: 120px auto 0; display: flex; flex-direction: column; flex: 1; }
  .hero__title { font-size: 40px; line-height: 1.2; margin-bottom: 26px; }
  .hero__text { font-size: 17px; margin: 0 auto; max-width: 340px; }
  .hero .btn { margin-top: auto; }
  .notch { width: 120px; height: 26px; }

  /* Carreira */
  .carreira { padding-top: 60px; }
  .carreira__media { order: -1; padding: 0; margin-left: -6%; width: 125%; max-width: none; }
  .carreira__content { padding: 50px 0 50px; text-align: center; }
  .eyebrow { font-size: 16px; margin-bottom: 18px; }
  .carreira .title { font-size: 40px; margin-bottom: 26px; }
  .carreira__content .muted { font-size: 17px; line-height: 1.3; margin: 0 auto 40px; }

  /* Instituto */
  .instituto { padding: 110px 0 100px; }
  .instituto__capelo { left: -120px; top: 40px; width: 460px; }
  .instituto .title { font-size: 40px; line-height: 1.22; }
  .instituto .muted { margin-bottom: 56px; }

  /* Benefícios */
  .beneficios {
    min-height: 0;
    padding: 560px 0 95px;
    background:
      linear-gradient(to bottom, rgba(124,40,56,0) 0, rgba(124,40,56,0) 440px, rgba(124,40,56,.6) 700px, rgba(160,40,60,.75) 100%),
      image-set(url("assets/beneficios.webp") type("image/webp"), url("assets/beneficios.jpg") type("image/jpeg")) -150px top / auto 720px no-repeat,
      #7a2433;
  }
  .beneficios__grid { grid-template-columns: 1fr; gap: 23px; }
  .card { min-height: 176px; }
  .card__icon { flex-basis: 97px; }
  .card__icon svg { width: 54px; height: 54px; }
  .card__body { padding: 22px 18px 22px 40px; }
  .card h3 { font-size: 17px; margin-bottom: 10px; }
  .card p { font-size: 13.5px; }

  /* Escolha */
  .escolha { padding: 70px 0 120px; }
  .escolha .title { font-size: 36px; line-height: 1.33; }

  /* Cursos */
  .curso { padding: 430px 0 55px !important; text-align: center; min-height: 0; }
  .curso__content, .curso__content--right { margin: 0 !important; padding: 0 !important; background: none !important; backdrop-filter: none !important; max-width: none; }
  .curso__title { font-size: 40px; line-height: 1.2; margin-bottom: 20px; }
  .curso__text { font-size: 16px; text-align: center; line-height: 1.4; }
  .curso--economia {
    background:
      linear-gradient(to bottom, rgba(1,39,55,0) 120px, rgba(1,39,55,.6) 330px, #012737 470px, #01202d 100%),
      image-set(var(--img-d) type("image/webp"), var(--img-f) type("image/jpeg")) 19% top / auto 540px no-repeat,
      #012737;
  }
  .curso--direito {
    background:
      linear-gradient(to bottom, rgba(213,91,4,0) 200px, rgba(213,91,4,.75) 400px, #d76004 520px, #dc6a00 100%),
      image-set(var(--img-d) type("image/webp"), var(--img-f) type("image/jpeg")) 70% top / auto 560px no-repeat,
      #d55b04;
  }
  .curso--negocios {
    background:
      linear-gradient(to bottom, rgba(120,25,45,0) 220px, rgba(120,25,45,.7) 420px, #7a1d33 520px, #5a0e1d 100%),
      image-set(var(--img-d) type("image/webp"), var(--img-f) type("image/jpeg")) 22% top / auto 580px no-repeat,
      #5a0e1d;
  }
  .info { grid-template-columns: 1fr; gap: 22px; margin: 36px auto 40px; max-width: 300px; text-align: left; }
  .info li { grid-area: auto !important; gap: 22px; }
  .info li:nth-child(1) { order: 1; } .info li:nth-child(3) { order: 2; } .info li:nth-child(5) { order: 3; }
  .info li:nth-child(2) { order: 4; } .info li:nth-child(4) { order: 5; } .info li:nth-child(6) { order: 6; }
  .info span { font-size: 18px; }

  /* Networking */
  .networking { padding: 120px 0 100px; background-size: 100% 200px, 1100px auto; background-position: top, 46% top;
    background-color: #fff; }
  .networking .title { font-size: 40px; line-height: 1.2; }

  /* Formulário */
  .inscricao { padding: 95px 0 64px; }
  .inscricao .muted { font-size: 17px; }
  .form { margin-top: 40px; }

  /* Footer */
  .footer { padding: 36px 20px; font-size: 13px; }
}

@media (max-width: 370px) {
  .title, .hero__title, .curso__title, .carreira .title, .instituto .title, .networking .title { font-size: 34px; }
  .card__body { padding-left: 22px; }
}
