:root {
  --ink: #07111f;
  --night: #030712;
  --panel: #0d1624;
  --line: rgba(148, 163, 184, 0.22);
  --muted: #65758b;
  --text: #eef6ff;
  --paper: #f6f8fb;
  --blue: #1588ff;
  --cyan: #19c6ff;
  --lime: #b7ff12;
  --green: #10b981;
  --orange: #ff9f0a;
  --rose: #ff4d74;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(4, 10, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: white;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    padding 180ms ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 206px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: white;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta {
  background: white;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--night);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.7) 42%, rgba(3, 7, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 7, 18, 0.86), rgba(3, 7, 18, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

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

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 16px 36px rgba(21, 136, 255, 0.3);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 26px clamp(18px, 4vw, 46px);
  background: white;
}

.proof-strip strong {
  display: block;
  font-size: 20px;
}

.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 740px;
}

.section-heading.wide {
  max-width: 960px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.growth-banner {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.4fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(21, 136, 255, 0.22);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.growth-banner strong {
  font-size: 18px;
}

.growth-banner span {
  color: var(--muted);
  line-height: 1.5;
}

.growth-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 0 14px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.service-card,
.case-card,
.process-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 1px 0 rgba(3, 7, 18, 0.03);
}

.service-card {
  padding: 24px;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--blue);
  background: rgba(21, 136, 255, 0.1);
  font-size: 24px;
  font-weight: 900;
}

.service-card h3,
.case-card h3,
.process-list h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.service-card p,
.case-card p,
.process-list p {
  color: var(--muted);
  line-height: 1.6;
}

.portfolio {
  background: var(--night);
  color: white;
}

.portfolio .section-heading p:not(.eyebrow) {
  color: rgba(238, 246, 255, 0.68);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 26px;
}

.filter {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  color: var(--night);
  background: var(--lime);
}

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

.case-card {
  overflow: hidden;
  background: #101827;
  border-color: rgba(255, 255, 255, 0.12);
}

.case-card[hidden] {
  display: none;
}

.case-card.featured {
  grid-column: span 2;
}

.case-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top left;
  background: #08111f;
}

.case-card.poster img {
  object-position: center top;
}

.case-content {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.orange {
  color: var(--orange);
}

.tag.green {
  color: var(--lime);
}

.case-card p:not(.tag) {
  color: rgba(238, 246, 255, 0.66);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.35fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
}

.process-list span {
  grid-row: span 2;
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.process-list p {
  margin: 0;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 6vw, 80px);
  padding: 92px clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.9)),
    url("assets/treino-aluno.png") center / cover;
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button.mail {
  color: var(--ink);
  border-color: #d8e0ea;
  background: white;
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8e0ea;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #030712;
}

.footer strong {
  color: white;
}

.floating-contact {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--night);
  background: var(--lime);
  box-shadow: 0 18px 42px rgba(183, 255, 18, 0.24);
  font-weight: 950;
}

@media (max-width: 1060px) {
  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .growth-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .proof-strip,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-column: auto;
  }

  .case-card img {
    height: 230px;
  }

  .section,
  .cta-section {
    padding-block: 64px;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}
