/* Nextcli: tokens ------------------------------------------------------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1530;
  --ink-2: #14244f;
  --paper: #f6f9fc;
  --tint: #e9f0fa;
  --white: #fff;
  --blue: #1863dc;
  --blue-deep: #124aa6;
  --sky: #6ec1e4;
  --lime: #8bcb3b;
  --orange: #ff8a3d;
  --magenta: #e0307c;
  --cyan: #00c1d7;
  --text: #16213d;
  --muted: #4b5877;
  --line: #cfdaea;
  --wa: #25d366;
  --wa-deep: #128c4a;

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 14px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--muted); }

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--sky); color: var(--ink); }
.btn--primary:hover { background: #8fd1ee; color: var(--ink); }
.btn--wa { background: var(--wa); color: var(--ink); }
.btn--wa:hover { background: #4be083; color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }

/* Cabeçalho ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; }
.nav li a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav li a:hover { border-color: var(--sky); }
.nav li a[aria-current="page"] { border-color: var(--blue); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
    background: var(--ink); color: #fff; border: 0; border-radius: 999px; font: 600 .95rem var(--f-body); cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; }
  .menu-btn__bars::after { top: 6px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 14px; padding: 12px var(--gutter) 22px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); }
}

/* Hero (início) --------------------------------------------------------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; min-height: min(78vh, 720px); padding-block: 72px; position: relative; }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
.hero__lead { font-size: 1.2rem; color: #c9d6ee; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__since { margin: 28px 0 0; color: #9fb2d6; font-size: .95rem; }
.wave { width: 100%; height: auto; max-height: 640px; justify-self: end; }
.wave__ribbon, .wave__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.3, .6, .2, 1) .15s forwards; }
.wave__line { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 8px; }
  .wave { max-width: 280px; margin: 8px 0 -40px auto; }
}

/* Seções ---------------------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section__title { max-width: 22ch; }
.section__lead { color: var(--muted); max-width: 60ch; font-size: 1.1rem; margin-bottom: 40px; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Painéis dos produtos -------------------------------------------------- */
.panels { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: stretch; }
.panel { border-radius: 22px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.panel h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .2em; }
.panel h3 a { color: inherit; text-decoration: none; }
.panel h4 { font-size: .95rem; margin: 20px 0 10px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.panel__lead { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; }
.panel__actions { margin-top: auto; padding-top: 28px; }
.panel--bot { background: var(--blue); color: #fff; }
.panel--bot h3, .panel--bot h4 { color: #fff; }
.panel--bot p { color: #e6efff; }
.segments { display: flex; flex-wrap: wrap; gap: 10px; }
.segments a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; font-weight: 500; border: 1px solid rgba(255,255,255,.3); }
.segments a:hover { background: #fff; color: var(--blue-deep); }
.panel--stay { background: var(--ink-2); color: #fff; }
.panel--stay h3 { color: var(--sky); }
.panel--stay p { color: #c9d6ee; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid rgba(255,255,255,.14); color: #e1e9f8; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
@media (max-width: 900px) { .panels { grid-template-columns: 1fr; } }

/* Linhas de serviços ---------------------------------------------------- */
.rows { border-top: 2px solid var(--ink); margin-top: 28px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h3, .row .h3 { margin-bottom: .3em; }
.row p { margin: 0; color: var(--muted); }
.row__link { font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 12px; } .row__link { white-space: normal; } }

/* Lista de recursos, módulos, passos ----------------------------------- */
.feature-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list li:first-child { border-top: 2px solid var(--ink); }
.feature-list p { margin: 0; color: var(--muted); }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 28px; }
.modules li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.modules p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.steps li { counter-increment: s; padding-top: 16px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font: 700 2rem/1 var(--f-display); color: var(--blue); margin-bottom: 10px; }
.steps p { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.prose p { max-width: 64ch; }
.prose h1 { margin-bottom: .6em; }

/* Portfólio ------------------------------------------------------------- */
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shots li { display: flex; flex-direction: column; gap: 12px; }
.shots img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--tint); }
.shots p { margin: 0; display: flex; flex-direction: column; font-size: .98rem; }
.shots span { color: var(--muted); }
.shots--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .shots, .shots--all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots, .shots--all { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------- */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 80px); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.08rem/1.4 var(--f-display); padding: 18px 36px 18px 0; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.7rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* Hero das páginas internas -------------------------------------------- */
.phero { background: var(--ink); color: #fff; padding-block: clamp(44px, 7vw, 88px); position: relative; overflow: hidden; --glow: var(--blue); }
.phero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--glow), transparent 70%); opacity: .45; pointer-events: none; }
.phero--stay { --glow: var(--cyan); }
.phero--sites { --glow: var(--orange); }
.phero--net { --glow: var(--lime); }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.phero__lead { font-size: 1.15rem; color: #c9d6ee; max-width: 58ch; }
.crumbs { display: flex; gap: 8px; font-size: .92rem; color: #9fb2d6; margin-bottom: 20px; }
.crumbs a { color: #c9d6ee; }

/* CTA final ------------------------------------------------------------- */
.cta { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 80px); border-top: 6px solid transparent; border-image: linear-gradient(90deg, var(--cyan), var(--lime), var(--orange), var(--magenta), var(--blue)) 1; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 22ch; margin-bottom: .3em; }
.cta p { color: #c9d6ee; margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contato --------------------------------------------------------------- */
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 2px solid var(--ink); }
.contact-list h3 { margin-bottom: .3em; }
.contact-list p { margin: 0; font-size: 1.15rem; }

/* Rodapé ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9d6ee; padding-top: 56px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-about img { background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 14px; }
.footer-title { font: 700 1rem var(--f-display); color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.site-footer a { color: #dce6fa; text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-block: 20px; font-size: .9rem; color: #9fb2d6; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.fab-wa { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa-deep); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(11,21,48,.35); z-index: 40; transition: transform .18s; }
.fab-wa:hover { transform: scale(1.06); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave__ribbon, .wave__line { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}
