:root {
  --teal: #005b5d;
  --teal-bright: #0fb5b8;
  --teal-soft: #4dd4d6;
  --teal-glow: rgba(15, 181, 184, 0.16);
  --teal-border: rgba(15, 181, 184, 0.25);
  --white: #ffffff;
  --bg: #050d0e;
  --bg-soft: #081416;
  --surface: #0c1a1c;
  --surface-2: #102224;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #e8f1f1;
  --text-muted: #93a8a8;
  --text-dim: #5e7374;
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --header-height: 72px;
  --font: "General Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--gray {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--teal {
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(15, 181, 184, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #04282a 0%, #032021 100%);
  border-top: 1px solid var(--teal-border);
  color: var(--white);
}

.section--brand {
  background:
    radial-gradient(ellipse 55% 70% at 15% 15%, rgba(255, 255, 255, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 45% 55% at 85% 35%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #008f89 0%, #00615d 52%, #004c49 100%);
  color: var(--white);
  overflow: hidden;
}

.section--brand .section__title,
.section--brand .section__lead,
.section--brand .module__panel-title {
  color: var(--white);
}

.section--brand .module__item-title,
.section--brand .module__panel-text,
.section--brand .metric__label {
  color: rgba(255, 255, 255, 0.78);
}

.section--brand .module__item:hover,
.section--brand .module__item.is-active,
.section--brand .module__panel,
.section--brand .metric {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.section--brand .module__item:hover .module__item-title,
.section--brand .module__item.is-active .module__item-title,
.section--brand .metric__value {
  color: var(--white);
}

.section--brand .module__icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.section--brand .module__item.is-active .module__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.section--brand .metric__bar {
  background: rgba(255, 255, 255, 0.22);
}

.section--brand .metric__bar::before {
  background: linear-gradient(90deg, #ffffff 0%, #9ff0ea 100%);
}

.section--brand .showcase__list li {
  color: rgba(255, 255, 255, 0.82);
}

.section--brand .showcase__list li::before {
  background: #9ff0ea;
}

.section--brand .card-secondary--media,
.section--brand .card-secondary--media:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.section--brand .card-secondary__title {
  color: var(--white);
}

.section--brand .card-secondary__text {
  color: rgba(255, 255, 255, 0.82);
}

.section--brand .card-secondary__list li {
  color: rgba(255, 255, 255, 0.85);
}

.section--brand .card-secondary__list--check li::before {
  color: #9ff0ea;
}

.section--soft {
  background:
    radial-gradient(ellipse 55% 70% at 85% 10%, rgba(0, 97, 93, 0.12) 0%, transparent 62%),
    linear-gradient(180deg, #f7fbfb 0%, #eaf5f4 100%);
}

.section:has(+ .section--flush) {
  padding-bottom: 160px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  background: var(--teal-glow);
}

.section__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section__lead--wide {
  max-width: 920px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(5, 13, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--teal-soft);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(15, 181, 184, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(15, 181, 184, 0.45);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--teal-bright);
  color: var(--teal-soft);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--team {
  padding: 17px 34px;
  font-size: 1.0625rem;
  border-radius: 14px;
  min-width: 230px;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(15, 181, 184, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(0, 91, 93, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 181, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 181, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero__title span {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  margin-top: 32px;
}

.hero__stats {
  display: flex;
  gap: 32px;
}

.hero__stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-soft);
  letter-spacing: -0.02em;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero__visual {
  position: relative;
}

.hero__device-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__device {
  border-radius: var(--radius-lg);
}

.hero__device--main {
  width: 72%;
  z-index: 2;
}

.hero__device--secondary {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 48%;
  z-index: 1;
  opacity: 0.95;
}

.hero__badge {
  position: absolute;
  top: 16px;
  left: -16px;
  background: rgba(12, 26, 28, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 3;
}

.hero__badge strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-soft);
  font-size: 1rem;
  font-family: var(--mono);
}

.hero__badge strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Feature modules */
.module {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.module__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.module__item {
  text-align: left;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.module__item:hover {
  background: var(--surface);
}

.module__item.is-active {
  background: var(--teal-glow);
  border-color: var(--teal-border);
}

.module__item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  transition: color 0.2s;
}

.module__item:hover .module__item-title {
  color: var(--text);
}

.module__item.is-active .module__item-title {
  color: var(--teal-soft);
}

.module__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 320px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.module__panel-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.module__panel-text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

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

.module__panel-media {
  margin-top: 28px;
}

.module__panel-media.is-hidden {
  display: none;
}

.module__panel-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.metric {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.metric__value {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-soft);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.metric__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.metric__bar {
  --metric-progress: 0%;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(0, 97, 93, 0.1);
  overflow: hidden;
}

.metric__bar::before {
  content: "";
  display: block;
  width: var(--metric-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%);
}

/* Highlight box */
.highlight-box {
  margin-top: 32px;
  background: var(--teal-glow);
  border-radius: var(--radius);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
}

.highlight-box__content {
  flex: 1;
}

.highlight-box__content p:first-child {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.highlight-box__content p:last-child {
  font-size: clamp(1.03125rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  max-width: 720px;
}

.highlight-box__media {
  flex: 0 0 auto;
  width: 180px;
}

.highlight-box__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.highlight-box p:first-child {
  font-weight: 600;
  color: var(--teal-soft);
  margin-bottom: 4px;
}

.highlight-box p:last-child {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .highlight-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 22px;
  }

  .highlight-box__media {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Revenue cards */
.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.revenue-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%),
    radial-gradient(circle at 100% 0%, rgba(0, 97, 93, 0.2) 0%, transparent 42%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.revenue-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0, 97, 93, 0.08);
}

.revenue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.revenue-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #00615d;
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 14px 32px rgba(0, 97, 93, 0.22);
}

.revenue-card h3 {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.revenue-card p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Secondary cards */
.cards-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}

.card-secondary:hover {
  border-color: var(--teal-border);
}

.cards-duo--single {
  grid-template-columns: 1fr;
}

.card-secondary--media {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 44px;
  align-items: center;
  padding: 40px;
}

.card-secondary--media .card-secondary__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.card-secondary__list--check li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-secondary__list--check li::before {
  display: none;
}

.card-secondary__list--check .check-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--teal);
  fill: currentColor;
}

@media (max-width: 860px) {
  .card-secondary--media {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Showcase com imagem que vaza no topo da faixa */
.section--flush {
  position: relative;
  padding-bottom: 0;
  overflow: visible;
}

.section--flush .showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: clamp(300px, 36vw, 520px);
  padding-right: clamp(24px, 4vw, 48px);
}

.showcase--flush .showcase__content {
  position: relative;
  z-index: 1;
  flex: 0 1 540px;
  width: 100%;
  max-width: 540px;
  margin-left: clamp(12px, 2vw, 32px);
  margin-right: auto;
  padding-bottom: 64px;
}

.showcase__media--corner {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.showcase__media--corner img {
  display: block;
  width: auto;
  height: clamp(360px, 34vw, 648px);
  border-radius: 0;
}

@media (max-width: 980px) {
  .section--flush {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding-top: 32px;
  }

  .section--flush > .container {
    order: 2;
  }

  .section--flush .showcase {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .showcase--flush .showcase__content {
    max-width: none;
    margin-left: 0;
    padding-bottom: 0;
  }

  .showcase__media--corner {
    order: 1;
    position: relative;
    align-self: flex-start;
    margin: -64px 0 12px;
    line-height: 0;
  }

  .showcase__media--corner img {
    display: block;
    width: auto;
    height: clamp(220px, 42vw, 340px);
    margin: 0;
  }
}

.card-secondary__eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.card-secondary__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.card-secondary__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-secondary__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-secondary__list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.card-secondary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.laptop-mockup {
  align-self: center;
  padding: 18px 10px 0;
}

.laptop-mockup__screen {
  position: relative;
  padding: 18px;
  border-radius: 22px 22px 12px 12px;
  background: linear-gradient(160deg, #172123 0%, #050809 100%);
  box-shadow: 0 32px 70px rgba(0, 97, 93, 0.18);
}

.laptop-mockup__screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.laptop-mockup__screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.laptop-mockup__base {
  width: 108%;
  height: 22px;
  margin: 0 -4%;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(180deg, #d7dddd 0%, #9daaaa 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 97, 93, 0.14);
}

.support-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.support-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.support-card:hover .support-card__media img {
  transform: scale(1.06);
}

.support-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 97, 93, 0.05) 0%, rgba(0, 97, 93, 0.28) 100%);
  pointer-events: none;
}

.support-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 7px 11px;
  border-radius: 100px;
  line-height: 1;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.support-card__body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.support-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.support-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase--reverse .showcase__content {
  order: 2;
}

.showcase--reverse .showcase__media {
  order: 1;
}

.showcase__media img {
  border-radius: var(--radius-lg);
}

.showcase__media--gamification {
  display: flex;
  justify-content: center;
}

.showcase__media--gamification img {
  width: min(100%, 360px);
  max-height: 520px;
  object-fit: contain;
}

.showcase__list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase__list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--teal-bright);
}

/* Video */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(15, 181, 184, 0.1) 0%, transparent 60%),
    var(--surface);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}

.video-placeholder strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

/* Gallery */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.gallery-tab {
  font-family: var(--mono);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: all 0.2s;
}

.gallery-tab:hover {
  color: var(--teal-soft);
  border-color: var(--teal-border);
}

.gallery-tab.is-active {
  background: var(--teal-glow);
  color: var(--teal-soft);
  border-color: var(--teal-bright);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-carousel {
  position: relative;
}

.gallery-carousel__viewport {
  overflow: hidden;
}

.gallery-carousel__track {
  --carousel-items: 4;
  --carousel-gap: 16px;
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.35s ease;
  will-change: transform;
}

.gallery-carousel__track .gallery-item {
  flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--carousel-items) - 1))) / var(--carousel-items));
}

.gallery-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--teal);
  box-shadow: var(--shadow-md);
  font-size: 0;
  transform: translateY(-50%);
  transition: border-color 0.2s, color 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.gallery-carousel__arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.gallery-carousel__arrow--prev {
  left: -22px;
}

.gallery-carousel__arrow--prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.gallery-carousel__arrow--next {
  right: -22px;
}

.gallery-carousel__arrow--next::before {
  transform: translateX(-2px) rotate(135deg);
}

.gallery-carousel__arrow:hover:not(:disabled) {
  border-color: var(--teal-border);
  color: var(--teal-soft);
  box-shadow: var(--shadow-lg);
}

.gallery-carousel__arrow:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.gallery-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.gallery-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.2s, transform 0.2s;
}

.gallery-carousel__dot.is-active {
  background: var(--teal-bright);
  transform: scale(1.25);
}

.gallery-grid--landscape {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
}

.gallery-grid--single .gallery-item img {
  aspect-ratio: auto !important;
  max-height: 520px;
  object-fit: contain;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

#telas .gallery-item img {
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.gallery-grid--landscape .gallery-item img {
  aspect-ratio: 16/9;
}

.has-lightbox {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(5, 13, 14, 0.78);
  backdrop-filter: blur(12px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.image-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--teal);
  box-shadow: var(--shadow-md);
  font-size: 1.75rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.image-lightbox__close:hover {
  color: var(--teal-soft);
  transform: scale(1.05);
}

.gallery-placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-family: var(--mono);
  text-align: center;
  padding: 24px;
}

.gallery-panel {
  display: none;
}

.gallery-panel.is-active {
  display: block;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.blog-card__date {
  font-family: var(--mono);
  padding: 20px 24px 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card__body {
  padding: 12px 24px 24px;
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--white);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-soft);
}

/* CTA */
.cta {
  text-align: center;
  padding: 96px 0;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.cta__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  background: #030809;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--teal-soft);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--teal-soft);
}

/* Blog pages */
.page-hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 48px) 24px 64px;
}

.article__meta {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: 16px;
}

.article__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--white);
}

.article__content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-soft);
  margin-bottom: 32px;
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.module__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.module__icon .icon {
  width: 16px;
  height: 16px;
}

.module__item:hover .module__icon {
  color: var(--text-muted);
}

.module__item.is-active .module__icon {
  background: var(--teal-glow);
  border-color: var(--teal-border);
  color: var(--teal-soft);
}

.card-secondary__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  color: var(--teal-soft);
  margin-bottom: 18px;
}

.card-secondary__icon .icon {
  width: 20px;
  height: 20px;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab .icon {
  width: 15px;
  height: 15px;
}

.video-placeholder__play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  color: var(--teal-soft);
  margin: 0 auto 20px;
}

.video-placeholder__play .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.contact-aside__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-aside__card h3 .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-soft);
}

/* Timeline (jornada do credenciamento) */
.timeline-section {
  text-align: center;
}

.timeline-section .section__lead {
  margin-inline: auto;
}

.timeline {
  margin-top: 64px;
}

.timeline__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 40px;
}

.timeline__line {
  position: absolute;
  top: 7px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}

.timeline__progress {
  display: block;
  height: 100%;
  width: var(--tl-progress, 0%);
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%);
  box-shadow: 0 0 12px var(--teal-bright);
  transition: width 0.6s ease, height 0.6s ease;
}

.timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  z-index: 1;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border-strong);
  margin-bottom: 12px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.timeline__step.is-done .timeline__dot {
  border-color: var(--teal-bright);
  background: var(--teal);
}

.timeline__step.is-active .timeline__dot {
  border-color: var(--teal-bright);
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px var(--teal-glow), 0 0 16px var(--teal-bright);
}

.timeline__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.3s;
}

.timeline__tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}

.timeline__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.3s;
}

.timeline__step:hover .timeline__label {
  color: var(--text);
}

.timeline__step.is-active .timeline__num,
.timeline__step.is-active .timeline__tag {
  color: var(--teal-bright);
}

.timeline__step.is-active .timeline__label {
  color: var(--text);
}

.timeline__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  transition: opacity 0.3s;
}

.timeline__kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.timeline__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.timeline__sub {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.timeline__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.timeline__aside strong {
  font-family: var(--mono);
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.timeline__aside span {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.timeline__panel--media {
  grid-template-columns: 1fr 1.4fr;
  align-items: stretch;
}

.timeline__media {
  align-self: stretch;
  min-height: 190px;
  max-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.timeline__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone mockup (hero) */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(15, 181, 184, 0.07) 38.5%, transparent 39.5%),
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(15, 181, 184, 0.05) 52.5%, transparent 53.5%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(15, 181, 184, 0.04) 66.5%, transparent 67.5%);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(300px, 74%);
  z-index: 2;
}

.phone::before {
  display: none;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 55px rgba(0, 91, 93, 0.22));
}

.phone-chip {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  background: rgba(12, 26, 28, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 9px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out infinite;
}

.phone-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 6px var(--teal-bright);
  margin-right: 8px;
  vertical-align: 1px;
}

.phone-chip:nth-of-type(1) { top: 6%; right: 2%; animation-delay: 0s; }
.phone-chip:nth-of-type(2) { top: 34%; right: -6%; animation-delay: 1.1s; }
.phone-chip:nth-of-type(3) { top: 18%; left: -7%; animation-delay: 2.2s; }
.phone-chip:nth-of-type(4) { bottom: 26%; left: -6%; animation-delay: 3.3s; }
.phone-chip:nth-of-type(5) { bottom: 7%; right: -1%; animation-delay: 4.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Parallax band */
.parallax {
  position: relative;
  padding: 140px 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(15, 181, 184, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 60%, rgba(0, 91, 93, 0.3) 0%, transparent 55%),
    linear-gradient(rgba(15, 181, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 181, 184, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #02191a 0%, #041f21 100%);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
  border-top: 1px solid var(--teal-border);
  border-bottom: 1px solid var(--teal-border);
  overflow: hidden;
  text-align: center;
}

.parallax__kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 20px;
}

.parallax__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 16px;
}

.parallax__title span {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.parallax__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.parallax__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.parallax__stat {
  background: rgba(12, 26, 28, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 180px;
}

.parallax__stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-soft);
  line-height: 1.2;
}

.parallax__stat span {
  font-size: 0.78125rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15, 181, 184, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, box-shadow 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  box-shadow: 0 12px 32px rgba(15, 181, 184, 0.5);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* Footer social icons */
.footer__social {
  align-items: center;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer__social a:hover {
  color: var(--teal-soft);
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Forms (contact page) */
.form-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label span {
  color: var(--teal-bright);
}

.form-control {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-control::placeholder {
  color: var(--text-dim);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2393a8a8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.45;
  border: 1px solid transparent;
  animation: formAlertIn 0.45s ease;
}

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

.form-alert__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.form-alert__icon svg {
  width: 20px;
  height: 20px;
}

.form-alert__body {
  min-width: 0;
  padding-top: 2px;
}

.form-alert__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.form-alert__text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.92;
}

.form-alert__ok {
  margin-top: 4px;
  min-width: 120px;
}

.form-alert--ok {
  color: #0a4f4c;
  background:
    linear-gradient(135deg, rgba(0, 143, 137, 0.14) 0%, rgba(0, 97, 93, 0.08) 100%),
    #e8f8f6;
  border-color: rgba(0, 143, 137, 0.35);
  box-shadow: 0 10px 28px rgba(0, 97, 93, 0.1);
}

.form-alert--ok .form-alert__icon {
  background: linear-gradient(145deg, #00a39c, #00615d);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 97, 93, 0.28);
}

.form-alert--erro {
  color: #7a1f1f;
  background: #fdeeee;
  border-color: rgba(200, 60, 60, 0.35);
  box-shadow: 0 10px 28px rgba(180, 40, 40, 0.08);
}

.form-alert--erro .form-alert__icon {
  background: #d64545;
  color: #fff;
}

.form-card--sent .form-group,
.form-card--sent .form-privacy,
.form-card--sent [data-form-submit] {
  display: none;
}

@keyframes formAlertIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-privacy {
  margin: 0 0 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-privacy a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-card .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* FAQ (AEO) */
.faq {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}

.faq__q {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  padding: 18px 0;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  float: right;
  color: var(--teal-bright);
  font-weight: 700;
}

.faq__item[open] .faq__q::after {
  content: "–";
}

.faq__a {
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

.faq__a a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-aside__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-aside__card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.contact-aside__card p,
.contact-aside__card a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-aside__card a:hover {
  color: var(--teal-soft);
}

/* Legal / article content */
.article__content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}

.article__content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}

.article__content ul {
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article__content ul li {
  font-size: 1rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.article__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--teal-bright);
}

.article__content strong {
  color: var(--text);
}

.article__cover {
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  width: 100%;
}

.article--wide {
  max-width: 820px;
}

/* Blog card image */
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .module,
  .showcase,
  .cards-duo {
    grid-template-columns: 1fr;
  }

  .module__panel {
    position: static;
  }

  .support-grid,
  .revenue-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid--landscape {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__device--secondary {
    display: none;
  }

  .showcase--reverse .showcase__content,
  .showcase--reverse .showcase__media {
    order: unset;
  }
}

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-bottom: 40px;
  }

  .phone-wrap {
    padding: 0;
    margin-bottom: -8px;
  }

  .hero__visual {
    margin-top: 8px;
  }

  .timeline__track {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
    margin-bottom: 32px;
  }

  .timeline__line {
    top: 8px;
    bottom: 8px;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline__progress {
    width: 100%;
    height: var(--tl-progress, 0%);
  }

  .timeline__step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    text-align: left;
  }

  .timeline__dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .timeline__panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .phone-chip:nth-of-type(1) { right: 0; }
  .phone-chip:nth-of-type(2) { right: 0; }
  .phone-chip:nth-of-type(3) { left: 0; }
  .phone-chip:nth-of-type(4) { left: 0; }
  .phone-chip:nth-of-type(5) { right: 0; }

  .parallax {
    background-attachment: scroll;
    padding: 96px 0;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .form-card {
    padding: 24px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-soft);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

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

  .nav__toggle {
    display: block;
  }

  .module__metrics {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .revenue-card {
    min-height: auto;
  }

  .gallery-carousel__track {
    --carousel-items: 2;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .gallery-carousel__track {
    --carousel-items: 1;
  }
}

/* Light theme */
:root {
  --teal: #00615d;
  --teal-bright: #008f89;
  --teal-soft: #00615d;
  --teal-glow: rgba(0, 97, 93, 0.1);
  --teal-border: rgba(0, 97, 93, 0.2);
  --bg: #f7fbfb;
  --bg-soft: #eef7f7;
  --surface: #ffffff;
  --surface-2: #f3f9f9;
  --border: rgba(0, 91, 93, 0.1);
  --border-strong: rgba(0, 91, 93, 0.18);
  --text: #123436;
  --text-muted: #4f696b;
  --text-dim: #718889;
  --shadow-md: 0 10px 28px rgba(0, 91, 93, 0.1);
  --shadow-lg: 0 28px 70px rgba(0, 91, 93, 0.14);
}

body {
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(0, 97, 93, 0.1) 0%, transparent 60%),
    var(--bg);
}

.header {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(0, 91, 93, 0.06);
}

.section--teal,
.parallax {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(0, 97, 93, 0.14) 0%, transparent 64%),
    linear-gradient(180deg, #e9f5f4 0%, #dbeeed 100%);
  color: var(--text);
}

.hero__title,
.section__title,
.module__title,
.module__panel h3,
.card-secondary__title,
.showcase__title,
.support-card__title,
.video-placeholder strong,
.blog-card__title,
.cta__title,
.footer__heading,
.page-hero__title,
.article__title,
.parallax__title,
.contact-card__title {
  color: var(--text);
}

.cta__text {
  color: var(--text-muted);
}

.hero__badge,
.phone-chip,
.parallax__stat {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.phone {
  background: transparent;
  box-shadow: none;
}

.phone::before {
  display: none;
}

.footer {
  background:
    radial-gradient(ellipse 55% 65% at 12% 12%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #008f89 0%, #00615d 55%, #004b48 100%);
  border-top-color: transparent;
  color: rgba(255, 255, 255, 0.75);
}

.footer__heading {
  color: #ffffff;
}

.footer__links a,
.footer__social a {
  color: rgba(255, 255, 255, 0.78);
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
}

.footer__social a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer__social a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--white {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 97, 93, 0.22);
}

.btn--white:hover {
  background: #004f4c;
}

.btn--primary,
.btn--outline-white:hover,
.to-top {
  color: #ffffff;
}

.btn--outline-white {
  color: var(--teal);
  border-color: var(--teal-border);
}

.btn--outline-white:hover {
  background: var(--teal);
  border-color: var(--teal);
}
