/* =====================================================
   TERVO — Design tokens
   Ink extraído da própria logo (#171F29).
   Fundo neutro frio (não creme), acento laranja-sinalização
   (referência às placas de obra) + verde de status (uptime).
   ===================================================== */
:root {
  /* Paleta extraída da logo da Tervo */
  --ink:        #171F29;
  --ink-soft:   #3D4653;
  --bg:         #E9EAE5;
  --surface:    #F3F3EF;
  --line:       #D2D3CC;

  /* Acento laranja-sinalização (referência a placas de obra) */
  --accent:     #FF6A3D;
  --accent-ink: #7A2E12;
  --status:     #1FAD6C;

  /* Tipografia */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Layout */
  --wrap:   1120px;
  --radius: 10px;
  --nav-h:  68px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

/* ---------- utility bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  max-width: 22ch;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 0 rgba(31, 173, 108, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31, 173, 108, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(31, 173, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 173, 108, 0); }
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 6px 16px -8px rgba(23, 31, 41, 0.45);
}
.btn--primary:hover {
  background: #0E141C;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 12px 24px -10px rgba(23, 31, 41, 0.55);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 26px; width: auto; }

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a { color: var(--ink-soft); transition: color 0.15s var(--ease); }
.nav__links a:hover { color: var(--ink); }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 112px 0 104px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .hero { padding: 80px 0 72px; }
}

.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__grid line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 6 6000;
  animation: draw 1.8s var(--ease) forwards;
}

@keyframes draw {
  to { stroke-dasharray: 6000 0; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__title {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero__subtitle {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__chips {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__chips li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 12px 7px 24px;
  border-radius: 999px;
  position: relative;
}

.hero__chips li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { padding: 88px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 36px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 40px -16px rgba(23, 31, 41, 0.18);
}

.service-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* =====================================================
   DIFERENCIAIS
   ===================================================== */
.diff {
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diff__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px 64px;
  align-items: start;
}

.diff__lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 42ch;
}

.diff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diff__list h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.diff__list p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 46ch;
}

/* =====================================================
   PRICING
   ===================================================== */
.pricing { padding: 88px 0; }

/* =====================================================
   PRICING CAROUSEL
   ===================================================== */
.pricing-carousel { margin-top: 44px; position: relative; }

.pricing-carousel .carousel__viewport {
  margin: 0 36px;
}

.pricing-carousel .carousel__track {
  gap: 20px;
}

.pricing-carousel .carousel__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  padding: 32px 28px;
  text-align: left;
}

.pricing-carousel .carousel__slide h3 { font-size: 22px; }
.pricing-carousel .price-card__list { flex: 1; }

.pricing-carousel .carousel__btn--prev { left: 0; }
.pricing-carousel .carousel__btn--next { right: 0; }

.pricing-carousel .carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pricing-carousel.is-single-page .carousel__btn,
.pricing-carousel.is-single-page .carousel__dots {
  display: none;
}

@media (max-width: 860px) {
  .pricing-carousel .carousel__viewport { margin: 0; }
  .pricing-carousel .carousel__track { gap: 0; }
  .pricing-carousel .carousel__slide { flex: 0 0 100%; }
  .pricing-carousel .carousel__btn--prev { left: 0; }
  .pricing-carousel .carousel__btn--next { right: 0; }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -20px rgba(23, 31, 41, 0.22);
}

.price-card--highlight {
  border-color: var(--ink);
  box-shadow: 0 12px 32px -16px rgba(23, 31, 41, 0.35);
}

.price-card__tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 20px;
}

.price-card__price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
}

.price-card__price span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-left: 4px;
}

.price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-card__list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}

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

/* =====================================================
   EXAMPLES / CAROUSEL
   ===================================================== */
.examples { padding: 88px 0; }

.carousel {
  position: relative;
  margin-top: 44px;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel__track {
  display: flex;
  transition: transform 0.4s var(--ease);
}

.carousel__slide {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.carousel__slide h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.carousel__slide p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 40ch;
}

/* ---------- mockups (representações abstratas, não screenshots) ---------- */
.mockup {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mockup__bar {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mockup__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.mockup__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup__block {
  border-radius: 5px;
  background: var(--line);
}

.mockup__block--hero {
  height: 64px;
  background: var(--accent);
  opacity: 0.85;
}

.mockup__block--line { height: 10px; width: 100%; }
.mockup__block--line.short { width: 60%; }

.mockup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mockup__card {
  height: 56px;
  border-radius: 5px;
  background: var(--status);
  opacity: 0.55;
}

.mockup__body:has(.mockup__sidebar) {
  flex-direction: row;
  gap: 12px;
}

.mockup__sidebar {
  width: 30%;
  min-height: 110px;
  border-radius: 5px;
  background: var(--ink);
  opacity: 0.85;
}

.mockup__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

/* ---------- mockup institucional (multi-seção) ---------- */
.mockup__body--inst {
  flex-direction: column;
  gap: 0;
  padding: 0;
  height: 100%;
  justify-content: stretch;
}

.mockup__inst-section {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup__inst-section + .mockup__inst-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

/* nav */
.mockup__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mockup__nav-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--ink);
  position: relative;
}

.mockup__nav-logo::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.mockup__nav-links {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.mockup__nav-links span {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.mockup__nav-links span:nth-child(2),
.mockup__nav-links span:nth-child(4) {
  width: 22px;
}

.mockup__nav-cta {
  margin-left: 6px;
  width: 28px;
  height: 10px;
  border-radius: 3px;
  background: var(--ink);
}

/* hero */
.mockup__hero {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 2;
  justify-content: center;
}

.mockup__eyebrow {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 2px;
}

.mockup__title {
  height: 12px;
  width: 85%;
  background: var(--ink);
  border-radius: 3px;
}

.mockup__title.short { width: 55%; }

.mockup__line {
  height: 5px;
  width: 100%;
  border-radius: 2px;
  background: var(--line);
}

.mockup__line.short { width: 65%; }

.mockup__cta-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.mockup__cta {
  height: 14px;
  border-radius: 3px;
}

.mockup__cta--primary {
  background: var(--ink);
  width: 52px;
}

.mockup__cta--ghost {
  width: 44px;
  background: transparent;
  border: 1px solid var(--line);
}

/* services */
.mockup__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 14px;
  flex: 1.4;
}

.mockup__srv {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
}

.mockup__srv-icon {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.mockup__srv-icon.accent {
  background: var(--ink);
}

.mockup__srv-line {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: var(--line);
}

.mockup__srv-line.short { width: 60%; }

/* contato */
.mockup__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mockup__input {
  height: 12px;
  border-radius: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.mockup__btn {
  height: 12px;
  width: 50px;
  border-radius: 3px;
  background: var(--ink);
  align-self: flex-end;
}

/* ---------- carousel controls ---------- */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s var(--ease);
}
.carousel__btn:hover { border-color: var(--ink); }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }

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

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}

.carousel__dot.is-active { background: var(--ink); }
.contact { padding: 96px 0; }

.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.contact__whatsapp {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__whatsapp .field__note {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo { height: 18px; width: auto; opacity: 0.8; }

.footer p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* =====================================================
   TRUST / GARANTIAS
   ===================================================== */
.trust {
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -14px rgba(23, 31, 41, 0.18);
}

.trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 106, 61, 0.12);
  color: var(--accent);
  margin: 0 auto 14px;
}
.trust-card__icon svg { display: block; }

.trust-card__title {
  font-size: 17px;
  margin-bottom: 6px;
}

.trust-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 26ch;
  margin: 0 auto;
}

/* =====================================================
   SEM LETRAS MIÚDAS
   ===================================================== */
.nojargon { padding: 88px 0; }

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

.nojargon-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nojargon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -14px rgba(23, 31, 41, 0.18);
}

.nojargon-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 106, 61, 0.12);
  color: var(--accent);
  margin-bottom: 4px;
}

.nojargon-card h3 {
  font-size: 16px;
  line-height: 1.25;
}

.nojargon-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* =====================================================
   HOW IT WORKS — TIMELINE
   ===================================================== */
.how {
  padding: 88px 0;
}

.how__header {
  text-align: center;
  margin-bottom: 56px;
}
.how__header .section-title {
  max-width: 18ch;
  margin: 0 auto;
}

.how__timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.how__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.how__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.how__step:last-child { margin-bottom: 0; }

.how__step:nth-child(odd) .how__step-content { grid-column: 1; text-align: right; }
.how__step:nth-child(odd) .how__step-visual { grid-column: 2; text-align: left; }
.how__step:nth-child(even) .how__step-content { grid-column: 2; text-align: left; }
.how__step:nth-child(even) .how__step-visual { grid-column: 1; text-align: right; }

.how__step-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  z-index: 2;
}

.how__step-title {
  font-size: 20px;
  margin: 4px 8px 8px;
}
.how__step-desc {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 38ch;
  margin: 9px;
}
.how__step:nth-child(odd) .how__step-desc { margin-left: auto; }

.how__step-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}


/* =====================================================
   STATISTICS
   ===================================================== */
.stats {
  padding: 72px 0;
  background: var(--ink);
  color: var(--bg);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.stats__label {
  font-size: 15px;
  color: rgba(233, 234, 229, 0.8);
  max-width: 18ch;
  margin: 0 auto;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq {
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}
.faq__header .section-title {
  max-width: 22ch;
  margin: 0 auto;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.faq__trigger:hover { background: rgba(23, 31, 41, 0.03); }

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.faq__content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}

.faq__content-inner {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 860px) {
  .diff__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

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

  .carousel__btn--prev { left: 0; }
  .carousel__btn--next { right: 0; }

  /* timeline mobile */
  .how__line { left: 20px; }
  .how__step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 48px;
  }
  .how__step:nth-child(odd) .how__step-content,
  .how__step:nth-child(even) .how__step-content {
    grid-column: 1;
    text-align: left;
  }
  .how__step:nth-child(odd) .how__step-visual,
  .how__step:nth-child(even) .how__step-visual {
    grid-column: 1;
    text-align: left;
  }
  .how__step:nth-child(odd) .how__step-desc { margin-left: 0; }
  .how__step-marker {
    left: 20px;
    transform: translateX(-50%);
  }
  .how__step-visual { display: none; }

  .stats__grid { gap: 24px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .hero { padding: 64px 0 56px; }
  .services, .diff, .pricing, .examples, .contact, .trust { padding: 64px 0; }
  .how, .faq { padding: 64px 0; }
  .stats { padding: 56px 0; }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .faq__trigger { padding: 16px 20px; font-size: 15px; }
  .faq__content-inner { padding: 0 20px 16px; }
}

/* ---------- particle web canvas ---------- */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

header, section, footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .particle-canvas { display: none; }
}

/* =====================================================
   FLOATING WHATSAPP CTA (mobile only)
   ===================================================== */
.float-whatsapp {
  display: none;
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: 16px;
  z-index: 90;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(255, 106, 61, 0.55), 0 4px 10px -4px rgba(23, 31, 41, 0.25);
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.18s var(--ease);
}

.float-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-whatsapp:hover { background: #E75A2F; }
.float-whatsapp:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.float-whatsapp svg { display: block; }

@media (max-width: 860px) {
  .float-whatsapp { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .float-whatsapp {
    transition: opacity 0.001ms;
    transform: none;
  }
}
