/* =========================================================
   LITE ESTÁGIO — Consultoria & RH
   Tokens
   ========================================================= */
:root {
  --ink: #0f3159;
  --ink-2: #0a2440;
  --paper: #f2f5f5;
  --paper-2: #ffffff;
  --coral: #f5822e;
  --coral-dark: #dd6a1b;
  --olive: #04969a;
  --olive-dark: #037578;
  --olive-light: #cdeceb;
  --graphite: #1f2328;
  --graphite-soft: #4a5058;
  --line: rgba(15, 49, 89, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --gradient-brand: linear-gradient(120deg, var(--olive) 0%, var(--coral) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(4, 150, 154, 0.14) 0%, rgba(245, 130, 46, 0.14) 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(10, 36, 64, 0.04), 0 12px 28px -12px rgba(10, 36, 64, 0.14);
  --shadow-lift: 0 1px 2px rgba(10, 36, 64, 0.05), 0 20px 40px -14px rgba(10, 36, 64, 0.22);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coral-dark);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

h2 {
  font-size: clamp(1.85rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  max-width: 34ch;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-2);
}

.section-heading {
  max-width: 640px;
  margin-bottom: var(--space-5);
}

.section-heading p:last-child,
.audience-copy > p,
.about-text p {
  color: var(--graphite-soft);
  font-size: 1.05rem;
  max-width: 52ch;
}

.section-heading.compact {
  margin-bottom: var(--space-4);
}

/* Reveal ao rolar — um único tratamento consistente */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.service-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.service-grid .service-card:nth-child(4) { transition-delay: 0.18s; }

.steps article:nth-child(2) { transition-delay: 0.08s; }
.steps article:nth-child(3) { transition-delay: 0.16s; }
.steps article:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   Buttons
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.button.primary {
  background: var(--gradient-brand);
  background-size: 160% 100%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(245, 130, 46, 0.55);
}
.button.primary:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(245, 130, 46, 0.6);
}

.button.secondary {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}

.button.secondary.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.button.secondary.dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.button.tertiary {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.button.tertiary:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}

.button.whatsapp {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(4, 150, 154, 0.5);
}
.button.whatsapp:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--space-3);
  background: rgba(242, 245, 245, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(10, 36, 64, 0.35);
  background: rgba(242, 245, 245, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-2);
}

.brand small {
  font-size: 0.75rem;
  color: var(--graphite-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--graphite-soft);
  position: relative;
  padding-block: 0.25rem;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

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

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .menu-button {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: var(--space-3);
    right: var(--space-3);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 0.5rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav[data-open="true"] {
    max-height: 320px;
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem var(--space-3);
    border-top: 1px solid var(--line);
  }

  .site-nav a:first-child {
    border-top: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-2);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(10, 36, 64, 0.35) 0%, rgba(10, 36, 64, 0.94) 78%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -100px;
  background: radial-gradient(circle, rgba(4, 150, 154, 0.55), transparent 70%);
}

.hero::after {
  width: 380px;
  height: 380px;
  left: -100px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(245, 130, 46, 0.4), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-5) var(--space-3) var(--space-6);
  color: #fff;
}

.hero .eyebrow {
  color: #f2b79c;
}

.hero .eyebrow::before {
  background: var(--coral);
}

.hero h1 {
  font-size: clamp(2.35rem, 1.6rem + 3.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: var(--space-3);
}

.hero-copy {
  max-width: 54ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.hero-stats > div {
  min-width: 140px;
}

.hero-stats dt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}

.hero-stats dd {
  font-size: 1.05rem;
  font-weight: 700;
}

/* =========================================================
   Intro band
   ========================================================= */
.intro-band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.split h2 {
  max-width: none;
}

@media (max-width: 780px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* =========================================================
   Services
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.service-card {
  position: relative;
  background: var(--paper-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(4, 150, 154, 0.35);
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: var(--gradient-brand);
  margin-bottom: var(--space-3);
}

.service-card:nth-child(2) .icon {
  background: linear-gradient(120deg, var(--ink) 0%, var(--olive) 100%);
}
.service-card:nth-child(3) .icon {
  background: linear-gradient(120deg, var(--olive) 0%, var(--ink) 100%);
}
.service-card:nth-child(4) .icon {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-dark) 100%);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--graphite-soft);
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Process / Como funciona — linha de trajeto
   ========================================================= */
.process {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft);
}

.steps article {
  position: relative;
}

.steps span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
  box-shadow: 0 6px 16px -6px rgba(4, 150, 154, 0.5);
}

.steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.steps p {
  color: var(--graphite-soft);
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .steps::before {
    display: none;
  }
}

/* =========================================================
   Audience sections (empresas / estudantes)
   ========================================================= */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 780px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
}

.audience {
  background: var(--paper);
}

.audience-copy .button {
  margin-top: var(--space-2);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.benefit-list > div {
  padding: var(--space-3) var(--space-3) var(--space-3) 1.4rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-list > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--space-3);
  bottom: var(--space-3);
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}

.benefit-list > div:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-soft);
}

.benefit-list > div h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.benefit-list > div p {
  color: var(--graphite-soft);
  font-size: 0.92rem;
}

/* estudantes: seção invertida */
.student-band {
  background: var(--ink-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.student-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 150, 154, 0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.student-band h2 {
  color: #fff;
}

.student-band .eyebrow {
  color: #8fd9d6;
}

.student-band .eyebrow::before {
  background: var(--olive);
}

.student-band .audience-copy > p {
  color: rgba(255, 255, 255, 0.75);
}

.student-band .benefit-list.light > div {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-on-dark);
}

.student-band .benefit-list.light > div::before {
  background: linear-gradient(120deg, var(--olive-light), var(--olive));
}

.student-band .benefit-list.light h3 {
  color: #fff;
}

.student-band .benefit-list.light p {
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   Cadastro de estudante
   ========================================================= */
.student-signup {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.signup-panel {
  max-width: 720px;
}

.signup-panel .section-heading {
  margin-bottom: var(--space-4);
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.signup-form label:nth-child(1),
.signup-form .form-button,
.signup-form .form-note {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .signup-form {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--paper-2);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

.contact h2 {
  max-width: none;
  margin-bottom: var(--space-2);
}

.contact > .container > div > p {
  color: var(--graphite-soft);
  max-width: 46ch;
  margin-bottom: var(--space-3);
}

.contact-email {
  font-weight: 600;
  color: var(--ink-2) !important;
}

.contact-email a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-2);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.lead-form[hidden] {
  display: none;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--graphite);
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--olive);
  background: var(--paper-2);
  outline: none;
  box-shadow: 0 0 0 4px rgba(4, 150, 154, 0.12);
}

.form-button {
  margin-top: var(--space-1);
  align-self: flex-start;
}

.form-note {
  font-size: 0.82rem;
  color: var(--graphite-soft);
}

.form-note[data-state="success"] {
  color: var(--olive-dark);
  font-weight: 600;
}

.form-note[data-state="error"] {
  color: #c0392b;
  font-weight: 600;
}

.form-switch {
  font-size: 0.88rem;
  color: var(--graphite-soft);
  text-align: center;
}

.form-switch a {
  color: var(--coral-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-4);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-content > p {
  flex-basis: 100%;
  order: 3;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line-on-dark);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.9rem;
}

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