:root {
  --font-heading: "Lexend", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  /* Tinta / texto */
  --ink: #14252c;
  --ink-soft: #36474e;
  --muted: #647a82;
  --muted-2: #8aa0a8;

  /* Teal (família única) + acento aqua */
  --teal: #0f4c5c;
  --teal-deep: #0b3a47;
  --teal-dark: #07252f;
  --teal-bright: #1c6275;
  --teal-muted: #5a8490;
  --aqua: #2fbccf;
  --aqua-soft: #7fe0e8;

  /* Canvas escuro */
  --night: #051a22;
  --night-2: #08252f;
  --night-3: #0d323f;

  /* Superfícies claras */
  --paper: #ffffff;
  --bg: #f3f7f8;
  --surface: #f8fbfb;
  --tint: #eaf3f5;
  --tint-strong: #e0eef1;

  /* Linhas */
  --line: #dbe6e9;
  --line-strong: #c2d4d9;

  /* Layout */
  --container: 1180px;
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 86px;

  /* Sombra */
  --shadow-sm: 0 2px 14px rgba(11, 58, 71, 0.06);
  --shadow-md: 0 12px 40px rgba(11, 58, 71, 0.12);
  --shadow-lg: 0 24px 70px rgba(7, 37, 47, 0.18);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, var(--aqua) 0%, var(--teal) 52%, var(--teal-dark) 100%);
  --grad-text: linear-gradient(120deg, var(--aqua-soft) 0%, var(--aqua) 45%, var(--teal) 100%);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-dark: rgba(255, 255, 255, 0.07);
  --glass-dark-border: rgba(255, 255, 255, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--teal-deep); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--teal-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--teal-dark);
  line-height: 1.1;
  margin: 0;
}

strong { color: var(--teal-deep); font-weight: 700; }

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-brand);
  z-index: 200;
  pointer-events: none;
}

/* ── Eyebrow / labels ── */
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin: 0 0 1rem;
}

.section-label::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-label--light { color: var(--aqua-soft); }
.section-label--light::before { background: var(--aqua); }

.eyebrow--light { color: var(--aqua-soft); }

/* ── Títulos de seção ── */
.section-title {
  font-size: clamp(1.35rem, 2.4vw + 0.65rem, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
  max-width: none;
  white-space: nowrap;
}

.section-title--light { color: #fff; }
.section-title--wrap {
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}


.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.section-head--center .section-title { max-width: none; }

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.05rem, 3.4vw + 0.35rem, 2rem);
    letter-spacing: -0.025em;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 420px) {
  .section-title {
    font-size: clamp(0.88rem, 3.8vw + 0.2rem, 1.45rem);
  }
}

/* ── Reveal ── */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 450ms; }

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