/* ============================================================
   Zyrtux — folha de estilo do site institucional (zyrtux.com)

   Direção visual: claro, sóbrio e tipográfico.
   Regras que o design segue:
     - fundo branco, superfícies em cinza muito claro;
     - UMA cor de acento (azul), usada com parcimônia;
     - sem brilho, sem glow, sem gradiente decorativo;
     - hierarquia vem do tamanho, do peso e do espaço em branco,
       não de efeito visual;
     - sombras discretas, sempre neutras (nunca coloridas).
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-sunken: #f0f2f5;

  --ink: #0f1419;
  --ink-2: #39404b;
  --muted: #667085;

  --line: #e4e7ec;
  --line-strong: #d0d5dd;

  --accent: #1d4ed8;
  --accent-hover: #1740b0;
  --accent-soft: #eff4ff;

  /* Superfícies escuras — cabeçalho e rodapé.
     A logo oficial é de traço branco, então precisa de fundo escuro
     para aparecer. O miolo do site segue claro. */
  --dark: #0b0e14;
  --dark-2: #141922;
  --dark-line: #232a36;
  --on-dark: #f4f6f8;
  --on-dark-muted: #98a2b3;
  --accent-on-dark: #7ea8ff;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 28px -14px rgba(16, 24, 40, .28), 0 2px 6px rgba(16, 24, 40, .04);

  --radius: 1rem;
  --radius-lg: 1.5rem;
  --max: 72rem;
  --pad: 1.5rem;
  --header-h: 5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 .6rem 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: .35rem;
}

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

/* ============================================================
   MARCA
   ============================================================ */

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: clamp(7.5rem, 18vw, 10rem); height: auto; }

/* ============================================================
   CABEÇALHO (escuro)
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--dark-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.nav-toggle {
  display: none;
  background: var(--dark-2);
  color: var(--on-dark);
  border: 1px solid var(--dark-line);
  border-radius: .55rem;
  padding: .5rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: .15rem; }

.nav a,
.nav .nav-parent > button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  color: var(--on-dark-muted);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover,
.nav .nav-parent > button:hover { color: var(--on-dark); background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--accent-on-dark); font-weight: 600; }

.nav-parent { position: relative; }
.nav-parent > button::after {
  content: "";
  width: .34rem; height: .34rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.nav-parent > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }

.submenu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 17.5rem;
  display: none;
  flex-direction: column;
  padding: .4rem;
  gap: .05rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: .85rem;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
}
.submenu.is-open { display: flex; }
.submenu a { padding: .55rem .7rem; font-size: .9rem; border-radius: .5rem; white-space: nowrap; }

.nav .btn { margin-left: .5rem; }

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    padding: .85rem var(--pad) 1.35rem;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-line);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .nav-parent > button { width: 100%; justify-content: space-between; }
  .nav-parent { position: static; }
  .submenu {
    position: static;
    border: 0;
    background: none;
    box-shadow: none;
    padding: .1rem 0 .35rem .75rem;
    border-left: 1px solid var(--dark-line);
    margin-left: .75rem;
  }
  .nav .btn { margin: .6rem 0 0; justify-content: center; }
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border-radius: .65rem;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: .5rem .95rem; font-size: .88rem; }

/* ============================================================
   ESTRUTURA E TIPOGRAFIA
   ============================================================ */

main { flex: 1; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--surface-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--ink);
  max-width: 20ch;
}
.hero.center h1 { margin-inline: auto; }

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--ink);
}
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -.011em; color: var(--ink); }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 1.1rem;
}
.section-head.center .lead { margin-inline: auto; }
p + p { margin-top: 1rem; }
.muted { color: var(--muted); }

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.hero.center { text-align: center; }
.hero.center .lead { margin-inline: auto; }
.hero .cta-row { margin-top: 2rem; }

.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero.center .cta-row, .section-head.center .cta-row { justify-content: center; }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin-inline: .4rem; color: var(--line-strong); }

/* ============================================================
   CARTÕES
   Superfície branca, fio de 1px e sombra discreta no hover.
   Nada de gradiente, nada de brilho.
   ============================================================ */

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  padding: 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  height: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
a.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
a.card:hover .card-cta { color: var(--accent-hover); }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.card-cta {
  margin-top: auto;
  padding-top: .85rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
}

.card-icon {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: .6rem;
  background: var(--accent-soft);
  margin-bottom: .45rem;
}
.card-icon svg {
  width: 1.3rem; height: 1.3rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  padding: .22rem .6rem;
  border-radius: .4rem;
}

/* Destaque com lista ao lado */
.feature {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.section-alt .feature { background: var(--surface); }
@media (min-width: 56rem) {
  .feature { grid-template-columns: 1.1fr 1fr; }
}

/* ============================================================
   CARROSSEL
   Rolagem nativa com scroll-snap; os botões só empurram o
   scroll. Funciona por arrasto no celular e por teclado.
   ============================================================ */

.carousel { position: relative; }
.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-block: .35rem;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track { display: flex; gap: 1.25rem; align-items: stretch; }
.carousel-item { flex: 0 0 min(88%, 21rem); scroll-snap-align: start; }
.carousel-item > * { height: 100%; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.85rem;
}
.carousel-dots { display: flex; align-items: center; gap: .4rem; }
.carousel-dot {
  width: .5rem; height: .5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}
.carousel-dot.is-active { width: 1.5rem; background: var(--accent); }

.carousel-arrows { display: flex; gap: .5rem; }
.carousel-btn {
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, opacity .15s ease;
}
.carousel-btn:hover:not([disabled]) { background: var(--surface-soft); border-color: var(--ink-2); }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.carousel-btn svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   CLIENTES QUE CONFIAM
   ============================================================ */

.client-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
a.client-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

.client-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.client-media img { width: 100%; height: 100%; object-fit: cover; }

.client-body { padding: 1.4rem 1.5rem 1.55rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.client-body h3 { font-size: 1.05rem; }
.client-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.client-link { margin-top: auto; padding-top: .8rem; font-size: .88rem; font-weight: 600; color: var(--accent); }

/* ============================================================
   PLANOS
   ============================================================ */

.plans {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  max-width: 52rem;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
/* O plano em destaque ganha o fio azul — sem sombra colorida. */
.plan-featured { border-color: var(--accent); }

.plan-name {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-featured .plan-name { color: var(--accent); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin: .75rem 0 .35rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }

.plan .check-list { margin-bottom: 1.75rem; }
.plan .check-list li { font-size: .93rem; }
.plan .btn { margin-top: auto; width: 100%; }

/* ============================================================
   LISTAS
   ============================================================ */

.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.6;
}
.check-list li strong { color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: .1rem; top: .55rem;
  width: .38rem; height: .68rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.list-cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); column-gap: 2.5rem; }

/* Passos numerados */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.85rem; height: 1.85rem;
  margin-bottom: .85rem;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--accent);
  background: var(--accent-soft);
}
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .93rem; }

/* Faixa de chamada final */
.cta-band {
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.section-alt .cta-band { background: var(--surface); }
.cta-band .lead { margin-inline: auto; }
.cta-band .cta-row { justify-content: center; margin-top: 1.9rem; }

/* Selo de abrangência */
.reach {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .87rem;
}
.reach strong { color: var(--ink); font-weight: 600; }
.reach svg { width: 1rem; height: 1rem; stroke: var(--accent); fill: none; stroke-width: 1.6; }

/* ============================================================
   RODAPÉ
   ============================================================ */

.site-footer {
  background: var(--dark);
  padding: clamp(3rem, 6vw, 4.25rem) 0 2rem;
  color: var(--on-dark-muted);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: 2.75rem;
}
.footer-grid h4 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--on-dark);
  font-weight: 600;
  margin-bottom: .9rem;
}
.footer-grid ul { list-style: none; display: grid; gap: .55rem; }
.footer-grid a { color: var(--on-dark-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark); }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}

/* ============================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ============================================================ */

.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 60;
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 6px 20px -6px rgba(16, 24, 40, .35);
  transition: transform .18s ease;
}
.wa-fab svg { width: 1.9rem; height: 1.9rem; fill: #fff; }
.wa-fab:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-viewport { scroll-behavior: auto; }
  * { transition: none !important; }
  .wa-fab:hover { transform: none; }
}
