@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --surface: #101f33;
  --surface-2: #13263d;
  --text: #f7fbff;
  --muted: #aebdce;
  --line: rgba(255,255,255,.10);
  --primary: #19a7ff;
  --primary-2: #0d82dc;
  --accent: #42c6ff;
  --success: #31d391;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --radius: 22px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, textarea { font: inherit; }

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgb(7 17 31 / 48%);
  backdrop-filter: blur(1px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img { width: 158px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-left: auto;
}

.nav-links a {
  color: #dce8f5;
  font-size: .92rem;
  transition: color .2s ease;
}

.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 12px 19px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(25,167,255,.22);
}

.btn-outline {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  color: #fff;
}

.btn.large { padding: 14px 23px; }

.menu {
  display: none;
  margin-left: auto;
  background: none;
  color: white;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

/* HERO / CARROSSEL */
/* Base independente do arquivo styles/hero.css (importado acima). */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 49vw, 660px);
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-slides,
.hero-background-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides { z-index: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s ease;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background-overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4,12,23,.25), rgba(4,12,23,0) 65%);
}

/* As setas ficam sobre a imagem, sem alterar o tamanho do banner. */
.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(7,17,31,.48);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-arrow-prev { left: clamp(12px, 3vw, 42px); }
.hero-arrow-next { right: clamp(12px, 3vw, 42px); }

.hero-arrow:hover {
  background: rgba(25,167,255,.85);
  border-color: rgba(255,255,255,.65);
  transform: translateY(-50%) scale(1.05);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 99px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, border-color .2s ease;
}

.hero-dot:hover { background: rgba(255,255,255,.85); }

.hero-dot.active {
  width: 30px;
  border-color: var(--primary);
  background: var(--primary);
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-arrow[hidden],
.hero-dots[hidden] { display: none; }

@media (max-width: 980px) {
  .hero { min-height: clamp(380px, 58vw, 540px); padding: 0; }
}

@media (max-width: 720px) {
  .hero { min-height: clamp(330px, 80vw, 490px); padding: 0; }
  .hero-arrow { width: 38px; height: 38px; font-size: 19px; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
  .hero-dots { bottom: 16px; gap: 10px; }
  .hero-dot { width: 11px; height: 11px; }
  .hero-dot.active { width: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-arrow, .hero-dot { transition: none; }
}


/* SEÇÕES */
.strip {
  background: #0a1829;
  border-block: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.strip-item {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child { border-right: 0; }

.strip-item strong,
.strip-item span { display: block; }

.strip-item strong { color: white; }

.strip-item span {
  color: var(--muted);
  font-size: .83rem;
}

.section {
  padding: 105px 0;
}

.heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.heading h2,
.showcase h2,
.about h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 10px 0 17px;
}

.heading p,
.showcase p,
.about p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
}

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

.card, .service, .step {
  position: relative;
  padding: 29px;
  background: linear-gradient(145deg, rgba(19,38,61,.95), rgba(10,25,42,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease;
}

.card:hover, .service:hover, .step:hover {
  transform: translateY(-5px);
  border-color: rgba(66,198,255,.35);
}

.card.featured { border-color: rgba(25,167,255,.45); }

.card-num, .step-num {
  color: #6e8299;
  font-size: .75rem;
  font-weight: 800;
}

.icon, .step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 28px 0 18px;
  border-radius: 14px;
  background: rgba(25,167,255,.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
}

.card h3, .service h3, .step h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p, .service p, .step p {
  color: var(--muted);
  font-size: .9rem;
}

.card a, .service a {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
}

.process { background: #091625; }

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

.step-icon { margin-top: 22px; }

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

.service b {
  color: var(--accent);
  font-size: .75rem;
}

.showcase {
  background:
    radial-gradient(circle at 85% 50%, rgba(25,167,255,.11), transparent 32%),
    #07111f;
}

.show-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.checks {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 27px 0;
  color: #d8e4ef;
}

.checks li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  margin-right: 10px;
}

.visual {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
}

.panel {
  position: absolute;
  top: 15px;
  right: 3%;
  width: 265px;
  padding: 25px;
  background: #101f33;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.panel small, .panel span {
  display: block;
  color: var(--muted);
  font-size: .7rem;
}

.panel strong {
  display: block;
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
  margin: 14px 0;
}

.totem {
  width: 245px;
  height: 425px;
  border-radius: 30px;
  padding: 13px;
  background: linear-gradient(150deg, #31465d, #111b27);
  box-shadow: var(--shadow);
}

.tscreen {
  height: 100%;
  border-radius: 20px;
  background: #081523;
  padding: 30px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tscreen img { width: 125px; margin-bottom: 20px; }

.tscreen p { color: var(--muted); font-size: .8rem; margin-bottom: 20px; }

.tscreen button {
  border: 0;
  background: var(--primary);
  color: white;
  font-weight: 800;
  padding: 12px 17px;
  border-radius: 10px;
}

.about-logo {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(25,167,255,.12), transparent 65%), #0a192b;
}

.about-logo img { width: min(65%, 300px); }

.contact { background: #0a1829; }

.contact-box {
  margin-top: 25px;
  padding: 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.04);
}

.contact-box strong,
.contact-box span { display: block; }

.contact-box span { color: var(--muted); font-size: .88rem; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.form label {
  display: grid;
  gap: 7px;
  color: #dbe7f2;
  font-size: .8rem;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #081523;
  color: white;
  outline: none;
  padding: 12px 13px;
}

.form input:focus,
.form textarea:focus { border-color: var(--primary); }

.form textarea { resize: vertical; }

.full { grid-column: 1 / -1; }

.note {
  color: #8ea1b5;
  font-size: .75rem;
  text-align: center;
}

footer {
  padding-top: 65px;
  background: #050d17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-logo { width: 160px; margin-bottom: 13px; }

footer p { color: var(--muted); font-size: .85rem; }

footer h4 { margin-bottom: 13px; }

footer a {
  display: block;
  color: #aebdce;
  font-size: .84rem;
  margin: 7px 0;
}

footer a:hover { color: var(--accent); }

.copy {
  padding: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #718398;
  font-size: .75rem;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 14px 35px rgba(0,0,0,.3);
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .nav-links {
    gap: 15px;
  }

  .nav > .btn { display: none; }

  .hero-grid,
  .show-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* As dimensões do banner são controladas nas regras de carrossel acima. */

  .hero-visual {
    max-width: 650px;
    width: 100%;
  }

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

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

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }

  .nav { min-height: 70px; }

  .brand img { width: 135px; }

  .menu { display: block; }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 22px;
    background: #07111f;
    border-bottom: 1px solid var(--line);
  }

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

  /* No celular as imagens continuam cobrindo toda a área do banner. */

  .hero-background-overlay {
    background: linear-gradient(0deg, rgba(4,12,23,.28), transparent 40%);
  }

  .hero h1 { font-size: 2.8rem; }

  .hero-visual { margin-top: 20px; }

  .strip-grid,
  .cards,
  .steps,
  .services,
  .form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child { border-bottom: 0; }

  .section { padding: 75px 0; }

  .form { gap: 13px; }

  .full { grid-column: auto; }

  .visual { min-height: 490px; }

  .panel {
    right: 0;
    width: 225px;
  }
}

/* Texto individual de cada imagem do carrossel. */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,12,23,.82), rgba(4,12,23,.48) 42%, rgba(4,12,23,.04) 78%);
  pointer-events: none;
}
.hero-slide { pointer-events: none; }
.hero-slide.active { pointer-events: auto; }
.hero-caption {
  position: absolute;
  z-index: 2;
  inset: 78px auto 64px max(100px, calc((100% - 1180px) / 2));
  width: min(520px, calc(100% - 200px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.4rem); line-height: 1.5; margin-bottom: 12px; max-width: 440px; }
.hero-title { font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.hero-more { margin-top: 26px; border-radius: 999px; padding: 10px 26px; text-shadow: none; }
.hero-more:focus-visible, .hero-pause:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-pause { position: absolute; z-index: 3; right: 24px; bottom: 18px; border: 1px solid #ffffff80; border-radius: 99px; padding: 6px 14px; background: #07111fcc; color: #fff; cursor: pointer; font-size: .8rem; }
@media (max-width: 720px) {
  .hero { min-height: 520px; }
  .hero-caption { inset: 90px 56px 90px; width: auto; }
  .hero-title { font-size: clamp(1.8rem, 7.4vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-slide img { object-position: 65% center; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(4,12,23,.86), rgba(4,12,23,.55) 65%, rgba(4,12,23,.25)); }
  .hero-dots { bottom: 24px; gap: 8px; }
  .hero-pause { right: 14px; bottom: 54px; }
}
/* Redes sociais do rodapé */
.footer-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #dce8f5;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
footer .social-link svg { width: 22px; height: 22px; }
footer .social-link:hover { color: #fff; background: var(--primary-2); border-color: var(--primary); }
footer .social-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
/* Ícones à esquerda dos destaques. */
.strip-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.strip-icon { width: 32px; height: 32px; flex: 0 0 32px; color: var(--accent); }
.strip-copy { min-width: 0; }
/* Alinhamento da apresentação de serviços. */
#servicos .heading {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
/* Aproxima serviços da apresentação do sistema de senhas. */
#servicos { padding-bottom: 28px; }
#servicos .heading { margin-bottom: 0; }
#servicos + .showcase { padding-top: 28px; }
@media (max-width: 720px) {
  #servicos { padding-bottom: 20px; }
  #servicos + .showcase { padding-top: 20px; }
}
/* Totem enviado pelo cliente, com painel de chamada à frente. */
.visual-projects { min-height: 540px; padding-top: 45px; isolation: isolate; }
.project-totem {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  position: relative;
  z-index: 0;
}
.visual-projects .panel { top: 0; right: 0; z-index: 2; }
@media (max-width: 720px) {
  .visual-projects { min-height: 0; padding-top: 80px; }
  .visual-projects .panel { width: 200px; padding: 20px; }
  .visual-projects .panel strong { font-size: 3rem; }
}
/* Painel em harmonia com o totem branco e laranja. */
.visual-projects .panel {
  background: linear-gradient(145deg, #ffffff, #e9edf0);
  border: 1px solid #d8dde2;
  border-top: 4px solid #ff7518;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.visual-projects .panel strong { color: #c64b00; }
.visual-projects .panel small,
.visual-projects .panel span { color: #424b55; }