/* MBA Studio — v2
   HTML, CSS e JS puros. Pronto para Netlify.
*/

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f3f1ec;
  --ink: #0d1324;
  --muted: #667085;
  --muted-strong: #44516a;
  --line: rgba(13, 19, 36, 0.12);
  --primary: #5b49e8;
  --primary-dark: #3f31b7;
  --secondary: #4c92cd;
  --accent: #d7ad5b;
  --dark: #0b1020;
  --dark-2: #151135;
  --shadow: 0 24px 70px rgba(13, 19, 36, 0.14);
  --shadow-soft: 0 16px 42px rgba(13, 19, 36, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(91, 73, 232, 0.08), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(76, 146, 205, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 74px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 19, 36, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 184px;
  height: auto;
}

.site-header .brand img {
  width: 168px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.93rem;
  color: var(--muted-strong);
  font-weight: 800;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--dark);
  box-shadow: 0 12px 28px rgba(10, 16, 36, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
  background:
    linear-gradient(135deg, rgba(11, 16, 32, 0.99), rgba(18, 20, 52, 0.96) 55%, rgba(47, 29, 87, 0.94));
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 90%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -160px;
  border-radius: 50%;
  background: rgba(91, 73, 232, 0.28);
  filter: blur(20px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-card h2,
.notice-card h2 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.6vw, 5.1rem);
}

.hero-subtitle {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1.03rem, 1.8vw, 1.18rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 18px 40px rgba(91, 73, 232, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(91, 73, 232, 0.42);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.packages .btn-secondary,
.pricing-card .btn-secondary,
.payment-card .btn-secondary,
.cta-card .btn-secondary {
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.full {
  width: 100%;
}

.support-text {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.87rem;
  font-weight: 800;
}

.hero-card {
  position: relative;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.browser-dots {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.browser-body {
  padding: 34px;
}

.mock-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #f7e8bb;
  background: rgba(215, 173, 91, 0.10);
  border: 1px solid rgba(215, 173, 91, 0.30);
  font-size: 0.82rem;
  font-weight: 900;
}

.browser-body h2 {
  margin: 22px 0 12px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.browser-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.mock-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.mock-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.mock-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
}

.mock-button {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  font-weight: 900;
}

.browser-body small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.56);
}

/* Sections */

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.cta-card h2,
.notice-card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p,
.cta-card p,
.notice-card p {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.audience-grid,
.cards-grid,
.portfolio-grid,
.pricing-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.mini-card,
.service-card,
.portfolio-card,
.pricing-card,
.process-card,
.notice-card,
.cta-card,
.payment-card,
.payment-strip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.mini-card {
  padding: 18px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-weight: 900;
}

.services {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62));
}

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

.service-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark), var(--primary));
}

.service-card .icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.service-card h3,
.portfolio-content h3,
.pricing-card h3,
.process-card h3,
.payment-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.service-card p,
.portfolio-content p,
.pricing-card p,
.process-card p,
.payment-card p {
  margin: 0;
  color: var(--muted);
}

/* Portfolio */

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

.portfolio-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  border-radius: var(--radius-lg);
}

.portfolio-preview {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #0b1020, #2c205e);
}

.portfolio-preview img {
  max-height: 330px;
  width: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  object-fit: cover;
}

.portfolio-content {
  padding: 30px;
  align-self: center;
}

.project-tag {
  margin-bottom: 10px !important;
  color: var(--primary) !important;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-content a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary-dark);
  font-weight: 900;
}

/* Pricing */

.payment-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 900;
  color: var(--muted-strong);
}

.payment-strip span {
  padding: 6px 10px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.pricing-card.featured {
  border: 2px solid rgba(91, 73, 232, 0.58);
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 73, 232, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 32px 80px rgba(91, 73, 232, 0.18);
  transform: translateY(-8px);
}

.recommended,
.launch-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  font-size: 0.78rem;
  font-weight: 900;
}

.launch-badge {
  color: var(--ink);
  background: #f0e7cf;
}

.price {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 1.55rem;
  font-weight: 900;
}

.installment {
  margin: 4px 0 14px !important;
  color: var(--secondary) !important;
  font-size: .92rem;
  font-weight: 900;
}

.package-description {
  min-height: 92px;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
}

.small-note {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: .93rem;
}

.payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

/* Process */

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

.process-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

/* Notice */

.notice-card,
.cta-card {
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-lg);
}

.notice-card {
  background:
    radial-gradient(circle at 100% 10%, rgba(91, 73, 232, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(11, 16, 32, 0.98), rgba(34, 27, 76, 0.94));
  color: #fff;
}

.notice-card p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.78);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-question span {
  flex: none;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* CTA and footer */

.cta-card {
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(91, 73, 232, 0.45), transparent 34%),
    linear-gradient(135deg, var(--dark), #241b4f 62%, #35213e);
  box-shadow: var(--shadow);
}

.cta-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  justify-content: center;
}

.email-line {
  margin-top: 16px !important;
  color: rgba(255,255,255,.72) !important;
  font-weight: 800;
}

.site-footer {
  padding: 52px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand img {
  width: 190px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.footer-link {
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.9rem;
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  box-shadow: 0 14px 34px rgba(10, 16, 36, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .package-description {
    min-height: auto;
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

  .portfolio-preview {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  .site-header .brand img {
    width: 132px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding: 72px 0 58px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .hero-badges,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .browser-body {
    padding: 26px;
  }

  .audience-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .payment-card,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .payment-card .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .mini-card,
  .service-card,
  .portfolio-content,
  .pricing-card,
  .process-card {
    padding: 22px;
  }

  .portfolio-preview {
    min-height: 280px;
  }

  .portfolio-preview img {
    max-height: 270px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

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

.portfolio-note {
  max-width: 740px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.payment-warning {
  margin-top: 12px !important;
  color: var(--muted-strong) !important;
  font-weight: 800;
}
