:root {
  --ink: #141210;
  --ink-2: #1d1a17;
  --ink-3: #2a2521;
  --cream: #f7f2ec;
  --cream-2: #efe6dc;
  --line: #e6dbd0;
  --white: #ffffff;
  --text: #2b2622;
  --muted: #6f655d;
  --bronze: #bf9c88;
  --bronze-2: #a9826b;
  --bronze-3: #8a6551;
  --bronze-soft: rgba(191, 156, 136, .14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(20, 18, 16, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
em { font-style: italic; color: var(--bronze-2); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--bronze); }

.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section__lead { margin: 18px 0 0; font-size: 18px; color: var(--muted); max-width: 560px; }

.section { padding: clamp(80px, 10vw, 128px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark .section__title { color: var(--white); }
.section--dark .section__lead { color: rgba(255,255,255,.62); }
.section--dark em { color: var(--bronze); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section__head .section__lead { margin-left: auto; margin-right: auto; }
.section__head--left { text-align: left; margin: 0; }
.section__head--left .section__lead { margin-left: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn svg { transition: transform .25s ease; }
.btn:hover { background: var(--bronze-2); border-color: var(--bronze-2); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(169,130,107,.7); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible, .nav a:focus-visible, summary:focus-visible, .sem__list a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }

/* ---------- Navegação ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 16, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
          backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background-color .3s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 38px; height: auto; }
.brand span { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .02em; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.nav__links a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(191,156,136,.30) 0%, rgba(191,156,136,0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(191,156,136,.10) 0%, rgba(191,156,136,0) 70%),
    var(--ink);
  color: var(--white);
}
.hero::after { /* textura de grão sutil */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: end;
  gap: 40px;
  min-height: min(calc(100vh - 76px), 760px);
}
.hero__content { align-self: center; padding: 72px 0 88px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: 11.5em;
}
.hero__title em { color: var(--bronze); }
.hero__lead { margin: 26px 0 0; max-width: 520px; font-size: 18.5px; color: rgba(255,255,255,.72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 44px 0 0; padding: 0; font-size: 14px; color: rgba(255,255,255,.66); }
.hero__proof li { display: inline-flex; align-items: center; gap: 10px; }
.hero__proof li::before {
  content: "";
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bronze-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf9c88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(191,156,136,.45);
}

.hero__visual { position: relative; align-self: end; display: flex; justify-content: center; height: 100%; min-height: 560px; }
.hero__arch {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: min(84%, 470px);
  height: 86%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(191,156,136,.34) 0%, rgba(191,156,136,.12) 60%, rgba(191,156,136,0) 100%);
  border: 1px solid rgba(191,156,136,.35);
  border-bottom: 0;
}
.hero__photo {
  position: relative;
  align-self: end;
  width: auto;
  height: auto;
  max-height: 96%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
}
.float-card {
  position: absolute;
  left: 0;
  bottom: 22%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.35;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { font-size: 15px; }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--cream-2); color: var(--bronze-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative;
  padding: 40px 34px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 16px; background: var(--cream); color: var(--bronze-3); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--ink); margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Sobre ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(48px, 7vw, 104px); }
.about__visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.about__frame {
  position: relative;
  border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-2) 0%, #e3d3c5 100%);
  padding-top: 48px;
  box-shadow: var(--shadow);
}
.about__frame img { width: 100%; }
.about__mark {
  position: absolute;
  right: -26px;
  bottom: 36px;
  width: 96px;
  padding: 20px 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: var(--shadow);
  box-sizing: content-box;
}
.about__text > p:not(.eyebrow):not(.signature) { margin: 22px 0 0; color: var(--muted); font-size: 17.5px; max-width: 560px; }
.signature { margin: 26px 0 34px; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--bronze-2); }

/* ---------- Módulos ---------- */
.modules { position: relative; overflow: hidden; }
.modules::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -260px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,156,136,.16) 0%, rgba(191,156,136,0) 70%);
  pointer-events: none;
}
.modules__inner { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 96px); align-items: start; }
.modules__photo { margin-top: 40px; max-width: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.modules__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; }

.semesters { display: flex; flex-direction: column; gap: 16px; }
.sem {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  transition: border-color .3s ease, background-color .3s ease;
}
.sem[open] { border-color: rgba(191,156,136,.55); background: linear-gradient(180deg, rgba(191,156,136,.12), rgba(191,156,136,.04)); }
.sem summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  user-select: none;
}
.sem summary::-webkit-details-marker { display: none; }
.sem__num { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; color: var(--bronze); min-width: 44px; }
.sem__name { flex: 1; color: var(--white); font-size: 18px; font-weight: 600; }
.tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.16);
}
.tag--on { color: var(--ink); background: var(--bronze); border-color: var(--bronze); }
.sem__toggle { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); flex: none; transition: transform .3s ease, background-color .3s ease; }
.sem__toggle::before, .sem__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--white); translate: -50% -50%; transition: transform .3s ease; }
.sem__toggle::after { transform: rotate(90deg); }
.sem[open] .sem__toggle { background: var(--bronze); border-color: var(--bronze); }
.sem[open] .sem__toggle::after { transform: rotate(0deg); }
.sem__list { list-style: none; margin: 0; padding: 0 28px 18px; }
.sem__list li + li { border-top: 1px solid rgba(255,255,255,.1); }
.sem__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px 18px 62px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color .2s ease, padding .25s ease;
}
.sem__list a svg { color: var(--bronze); transition: transform .25s ease; }
.sem__list a:hover { color: var(--bronze); }
.sem__list a:hover svg { transform: translateX(4px); }
.sem__soon { margin: 0; padding: 0 28px 26px 90px; color: rgba(255,255,255,.55); font-size: 15.5px; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 36px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step__num { display: block; font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; color: var(--bronze); margin-bottom: 22px; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6551' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s ease;
}
.qa[open] summary::after { transform: rotate(180deg); }
.qa p { margin: -6px 0 26px; color: var(--muted); max-width: 620px; }

/* ---------- CTA final ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 120px) 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--bronze-2) 0%, var(--bronze-3) 100%);
  color: var(--white);
  text-align: center;
}
.final__inner { max-width: 760px; }
.final img { width: 64px; margin: 0 auto 28px; filter: brightness(0) invert(1); opacity: .9; }
.final h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; }
.final h2 em { color: var(--white); }
.final p { margin: 20px auto 36px; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.85); }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 48px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer p { margin: 0; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { text-decoration: none; color: rgba(255,255,255,.62); }
.footer__links a:hover { color: var(--white); }
.brand--footer img { width: 32px; }
.brand--footer span { font-size: 20px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__content { padding: 64px 0 24px; text-align: center; }
  .hero__title, .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__proof { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero__visual { min-height: 0; height: auto; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero__photo { max-height: none; width: 86%; }
  .hero__arch { height: 88%; }
  .cards, .steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .about__inner, .modules__inner, .faq__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 400px; }
  .modules__photo { display: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  html { scroll-padding-top: 72px; }
  .brand span { font-size: 20px; }
  .brand img { width: 32px; }
  .nav .btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
  .hero__content { padding-top: 48px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
  .float-card { left: 0; bottom: 14%; padding: 10px 14px 10px 10px; font-size: 12.5px; }
  .float-card strong { font-size: 13.5px; }
  .float-card__icon { width: 34px; height: 34px; }
  .card { padding: 32px 26px; }
  .about__mark { right: -8px; width: 72px; padding: 16px 14px; }
  .about .btn, .final .btn { width: 100%; }
  .sem summary { padding: 20px 18px; gap: 12px; }
  .sem__num { display: none; }
  .sem__name { font-size: 16px; }
  .tag { padding: 5px 9px; font-size: 10.5px; }
  .sem__list { padding: 0 18px 10px; }
  .sem__list a { padding-left: 4px; }
  .sem__soon { padding: 0 18px 22px; }
  .qa summary { font-size: 17px; padding: 22px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .brand span { font-size: 18px; }
  .brand img { width: 28px; }
  .nav .btn--sm { padding: 0 14px; font-size: 12.5px; }
}
@media (max-width: 340px) {
  .nav .btn--sm { display: none; }
}
