/* ===== Tema claro (padrão) ===== */
:root {
  color-scheme: light;
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --link: #2563eb;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --field: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --header-bg: rgba(255, 255, 255, .88);
  --header-line: #e2e8f0;
  --nav-ink: #0f172a;
  --hero-ink: #0f172a;
  --hero-lead: #475569;
  --hero-bg:
    radial-gradient(700px 480px at 85% 15%, rgba(14, 165, 233, .16), transparent 60%),
    radial-gradient(600px 420px at 5% 95%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  --clients-bg: #f1f5f9;
  --clients-ink: #0f172a;
  --eyebrow-bg: rgba(37, 99, 235, .08);
  --eyebrow-ink: #2563eb;
  --ghost-ink: #2563eb;
  --ghost-border: #2563eb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --grad: linear-gradient(135deg, var(--primary-2), var(--primary));
}

/* ===== Tema escuro ===== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --primary: #3b82f6; --link: #7dd3fc;
    --bg: #0b1120; --bg-alt: #0f1a30; --surface: #151d2e; --field: #1b2438;
    --ink: #f1f5f9; --muted: #a3b1c6; --line: #26314a;
    --header-bg: rgba(8, 17, 40, .88); --header-line: rgba(255, 255, 255, .06); --nav-ink: #e2e8f0;
    --hero-ink: #ffffff; --hero-lead: #cbd5e1;
    --hero-bg:
      radial-gradient(700px 480px at 85% 15%, rgba(56, 189, 248, .25), transparent 60%),
      radial-gradient(600px 420px at 5% 95%, rgba(37, 99, 235, .3), transparent 60%),
      linear-gradient(180deg, #081128, #0b1a3d);
    --clients-bg: #0b1a3d; --clients-ink: #e2e8f0;
    --eyebrow-bg: rgba(125, 211, 252, .12); --eyebrow-ink: #7dd3fc;
    --ghost-ink: #ffffff; --ghost-border: rgba(255, 255, 255, .5);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #3b82f6; --link: #7dd3fc;
  --bg: #0b1120; --bg-alt: #0f1a30; --surface: #151d2e; --field: #1b2438;
  --ink: #f1f5f9; --muted: #a3b1c6; --line: #26314a;
  --header-bg: rgba(8, 17, 40, .88); --header-line: rgba(255, 255, 255, .06); --nav-ink: #e2e8f0;
  --hero-ink: #ffffff; --hero-lead: #cbd5e1;
  --hero-bg:
    radial-gradient(700px 480px at 85% 15%, rgba(56, 189, 248, .25), transparent 60%),
    radial-gradient(600px 420px at 5% 95%, rgba(37, 99, 235, .3), transparent 60%),
    linear-gradient(180deg, #081128, #0b1a3d);
  --clients-bg: #0b1a3d; --clients-ink: #e2e8f0;
  --eyebrow-bg: rgba(125, 211, 252, .12); --eyebrow-ink: #7dd3fc;
  --ghost-ink: #ffffff; --ghost-border: rgba(255, 255, 255, .5);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* Logo certa para cada tema */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* Ícone do botão de tema */
.icon-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-dark { display: inline; }
  :root:not([data-theme="light"]) .icon-light { display: none; }
}
:root[data-theme="dark"] .icon-dark { display: inline; }
:root[data-theme="dark"] .icon-light { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3 { font-family: Poppins, sans-serif; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--muted); }
.muted { color: var(--muted); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .04em;
  color: var(--eyebrow-ink); background: var(--eyebrow-bg);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--dark { background: rgba(125, 211, 252, .12); color: #7dd3fc; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .25); font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, .35); }
.btn--ghost { background: transparent; color: var(--ghost-ink); border-color: var(--ghost-border); box-shadow: none; }
.btn--light { background: #fff; color: #2563eb; }
.btn--sm { padding: 9px 18px; font-size: .92rem; color: #fff !important; }

/* Cabeçalho */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-line); transition: box-shadow .3s, background-color .3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(2, 6, 23, .15); }
.header__inner { display: flex; align-items: center; gap: 20px; height: 80px; }
.brand { margin-right: auto; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; order: 2; }
.nav a { color: var(--nav-ink); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--primary-2); }
.theme-toggle {
  order: 3; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: 1.1rem; display: grid; place-items: center;
  transition: transform .2s;
}
.theme-toggle:hover { transform: rotate(-12deg); }
.nav-toggle { display: none; order: 4; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--nav-ink); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 110px; color: var(--hero-ink); isolation: isolate; }
.hero h1 { color: var(--hero-ink); }
.hero .lead { color: var(--hero-lead); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--hero-lead); font-weight: 500; font-size: .95rem; }
.hero__visual { position: relative; }
.window { background: #0b1220; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(15, 23, 42, .3); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #111a2e; }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.window__bar i:nth-child(2) { background: #f59e0b; }
.window__bar i:nth-child(3) { background: #22c55e; }
.window__bar span { margin-left: 10px; color: #64748b; font-size: .8rem; font-family: ui-monospace, monospace; }
/* Altura fixa: a "digitação" não empurra o resto da página */
.window__code { margin: 0; padding: 22px; height: 284px; overflow: hidden; color: #cbd5e1; font: .9rem/1.7 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.window__code .ok { color: #22c55e; }
.window__code .cmd { color: #38bdf8; }
.caret { color: #38bdf8; animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .18); display: flex; flex-direction: column; animation: float 5s ease-in-out infinite;
}
.float-card strong { font-family: Poppins, sans-serif; font-size: 1.3rem; color: #2563eb; }
.float-card small { color: #475569; }
.float-card--a { top: -24px; right: -14px; }
.float-card--b { bottom: -28px; left: -20px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Clientes */
.clients { background: var(--clients-bg); padding: 28px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__title { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.clients__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.clients__list li { display: flex; flex-direction: column; align-items: center; color: var(--clients-ink); line-height: 1.1; opacity: .85; }
.clients__list b { font-family: Poppins, sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; }
.clients__list small { color: var(--muted); font-size: .85rem; }

/* Seções */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head--left { text-align: left; margin: 0 0 32px; }

/* Serviços */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__icon {
  position: absolute; left: 20px; bottom: -24px;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--surface); box-shadow: var(--shadow);
}
.card__body { padding: 40px 28px 28px; }
.mini-checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink); }
.mini-checks li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* Destaque GLPI (faixa escura nos dois temas) */
.feature { background: linear-gradient(135deg, #081128, #0f2a66); color: #fff; padding: 96px 0; }
.feature__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feature h2 { color: #fff; }
.feature p { color: #cbd5e1; }
.feature__media img { border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.feature .btn { margin-top: 28px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #fff; background: var(--grad); width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; top: 3px; }
.checks b { color: var(--ink); }
.checks--dark li { color: #cbd5e1; }
.checks--dark b { color: #fff; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about__visual { position: relative; padding: 0 0 60px 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 88%; aspect-ratio: 4 / 3; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg-alt); }
.about__badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px;
  background: var(--surface); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
}
.about__badge span { font-size: 1.6rem; }
.about__badge strong { display: block; font-family: Poppins, sans-serif; }
.about__badge small { color: var(--muted); }

/* Case */
.case__inner { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; background: var(--bg-alt); border-radius: 24px; padding: 32px; }
.case__inner img { border-radius: 16px; box-shadow: var(--shadow); }
.case blockquote { margin: 0 0 16px; font-size: 1.25rem; font-family: Poppins, sans-serif; font-weight: 500; line-height: 1.5; color: var(--ink); border-left: 4px solid var(--primary); padding-left: 18px; }

/* Segmentos */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.segment {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 14px; font-weight: 600; background: var(--surface); transition: border-color .2s, transform .2s;
}
.segment:hover { border-color: var(--primary); transform: translateY(-3px); }
.segment span { font-size: 1.5rem; }

/* Processo */
.process { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.process__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps li p { margin: 0; }
.steps li h3 { margin-bottom: 4px; }
.steps li > span {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-family: Poppins, sans-serif; font-weight: 700;
}

/* Portfólio */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; background: var(--surface); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  color: #fff; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(15, 23, 42, .8));
  opacity: 0; transition: opacity .3s;
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 23, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-height: 80vh; border-radius: 12px; margin: 0 auto; }
.lightbox figcaption { color: #e2e8f0; margin-top: 12px; font-weight: 500; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(14, 165, 233, .92), rgba(37, 99, 235, .92)), url("../assets/img/server.jpg") center / cover;
  padding: 96px 0; text-align: center; color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin-bottom: 28px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* Instagram */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta__grid a { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta__grid a::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: linear-gradient(45deg, rgba(245, 133, 41, .55), rgba(221, 42, 123, .55), rgba(129, 52, 175, .55));
}
.insta__grid a:hover::after { opacity: 1; }
.insta__grid a:hover img { transform: scale(1.08); }
.insta__cta { text-align: center; margin-top: 32px; }
.btn--insta { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); box-shadow: 0 8px 20px rgba(221, 42, 123, .3); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact__list span { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.form { background: var(--surface); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.form .invalid { border-color: #ef4444; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__msg { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form__msg.error { color: #ef4444; }
.form__msg.ok { color: #16a34a; }

/* Rodapé (escuro nos dois temas) */
.footer { background: #0b1120; color: #94a3b8; padding: 64px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { color: #fff; font-family: Poppins, sans-serif; margin: 0 0 6px; font-size: 1rem; }
.footer p { margin: 0; color: inherit; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer__logo { height: 80px; width: auto; margin-bottom: 8px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social a:hover { background: #2563eb; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }

.whats {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.whats:hover { transform: scale(1.08); }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .caret { animation: none; }
}

/* Responsivo */
@media (max-width: 960px) {
  .hero__inner, .about, .contact, .process, .feature__inner, .case__inner { grid-template-columns: 1fr; }
  .case__inner img { max-width: 420px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .segments, .gallery { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-top: 12px; }
  .process__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header__inner { height: 72px; gap: 10px; }
  .brand img { height: 54px; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .hero__inner { gap: 36px; }
  .hero__cta { margin: 22px 0; }
  .hero__badges { font-size: .88rem; }
  .cards, .form, .segments, .footer__grid { grid-template-columns: 1fr; }

  /* Terminal e cartões compactos no celular */
  .window__code { padding: 16px; height: 264px; font-size: .75rem; line-height: 1.6; }
  .window__bar { padding: 10px 14px; }
  .float-card { padding: 7px 12px; border-radius: 12px; }
  .float-card strong { font-size: 1rem; }
  .float-card small { font-size: .72rem; }
  .float-card--a { top: -20px; right: 8px; }
  .float-card--b { bottom: -20px; left: 8px; }

  .clients__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .form { padding: 22px; }
  .case__inner { padding: 20px; }
}
