/* Cores do design de referência */
:root {
  --bg-dark: #1a1f33;
  --bg-darker: #141829;
  --teal: #00c0a3;
  --teal-hover: #00d4b3;
  --red: #e74c3c;
  --text: #ffffff;
  --text-muted: #a0a8b8;
  --gray-box: #2a3044;
  --gray-border: #3a4055;
  --transition: all 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra superior */
.top-bar {
  background: var(--bg-darker);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-border);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-links {
  display: flex;
  gap: 1.5rem;
}

.top-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.top-links a:hover {
  color: var(--teal);
}

/* Header principal */
header {
  background: var(--gray-box);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.logo-container:hover {
  color: var(--teal);
}

.logo-container:hover .logo-text {
  color: var(--teal);
}

/* Imagem da logo: tamanho fixo para não distorcer nem pixelar */
.logo-img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-dot {
  color: var(--red);
}

/* Logo no footer (mantém classe .logo para compatibilidade) */
footer .logo,
.footer-logo .logo {
  height: 44px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

nav a:hover {
  color: var(--teal);
}

nav .nav-icon a {
  padding: 0.5rem 0.75rem;
}

nav .nav-cta .btn-uptime {
  background: var(--teal);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

nav .nav-cta .btn-uptime:hover {
  background: var(--teal-hover);
  color: var(--bg-dark);
}

.btn-uptime .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bg-dark);
  border-radius: 50%;
  margin-right: 0.35rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--gray-box);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  list-style: none;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: rgba(0, 192, 163, 0.1);
}

/* Botão menu mobile */
.menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Botão flutuante atendimento */
.float-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-box);
  color: var(--text);
  padding: 1rem 0.75rem;
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 999;
  border: 1px solid var(--gray-border);
  border-left: none;
  transition: var(--transition);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.05em;
}

.float-sidebar i {
  font-size: 1.2rem;
}

.float-sidebar:hover {
  background: var(--teal);
  color: var(--bg-dark);
}

/* Hero */
.hero {
  background: var(--bg-dark);
  padding: 4rem 0 5rem;
  min-height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero h1 .highlight {
  background: var(--gray-box);
  color: var(--text);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-badges .badge.ok {
  color: var(--teal);
}

.hero-badges .badge.ok i {
  color: var(--teal);
}

.hero-badges .badge.no {
  color: var(--red);
}

.hero-badges .badge.no i {
  color: var(--red);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.cta-button.primary {
  background: var(--teal);
  color: var(--bg-dark);
}

.cta-button.primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: var(--gray-box);
  color: var(--text);
  border: 1px solid var(--gray-border);
}

.cta-button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Laptop mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-mockup {
  width: 100%;
  max-width: 480px;
}

.laptop-screen {
  background: var(--gray-box);
  border: 3px solid var(--gray-border);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-darker);
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.85rem;
  font-weight: 600;
}

.screen-logo {
  color: var(--text);
}

.screen-header i {
  color: var(--text-muted);
}

.screen-content {
  padding: 1.25rem;
  min-height: 280px;
}

.screen-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.screen-content > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.notifications {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notif {
  background: var(--bg-dark);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notif strong {
  color: var(--text);
}

.notif em {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.laptop-base {
  height: 20px;
  background: var(--gray-border);
  border-radius: 0 0 8px 8px;
  margin: 0 20px;
}

/* Serviços 4 colunas */
.services-boxes {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.services-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: transparent;
  border-radius: 12px;
  transition: var(--transition);
}

.service-box:hover {
  background: rgba(0, 192, 163, 0.05);
}

.service-box-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(0, 192, 163, 0.15);
  color: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Faixa prova social */
.band {
  background: var(--teal);
  color: var(--bg-dark);
  padding: 1.25rem;
  text-align: center;
}

.band p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.band strong {
  font-weight: 700;
}

/* Seção Serviços detalhada */
.services {
  padding: 5rem 0;
  background: var(--bg-darker);
}

.services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-item {
  background: var(--gray-box);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(0, 192, 163, 0.1);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* Tecnologias */
.technologies {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.technologies h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-box);
  border-radius: 10px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tech-item i {
  font-size: 2rem;
  color: var(--teal);
}

.tech-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* Sobre */
.about {
  padding: 5rem 0;
  background: var(--bg-darker);
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-item {
  background: var(--gray-box);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--teal);
}

.value-item i {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.value-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Depoimentos */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: var(--gray-box);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.testimonial-item:hover {
  border-color: var(--teal);
}

.testimonial-item i {
  color: var(--teal);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.testimonial-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--teal);
  font-style: normal;
  margin: 0;
}

/* Contato */
.contact {
  padding: 5rem 0;
  background: var(--bg-darker);
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-box);
  border-radius: 10px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--teal);
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--teal);
  margin-top: 0.2rem;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-item p {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.contact form {
  background: var(--gray-box);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-dark);
  color: var(--text);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}

.contact button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.contact button[type="submit"]:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--bg-darker);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--gray-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo .logo {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(0, 192, 163, 0.35));
}

.footer-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-logo .logo-dot {
  color: var(--red);
}

.footer-logo p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a,
.footer-column li {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--teal);
}

.footer-column i {
  margin-right: 0.5rem;
  color: var(--teal);
  width: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--teal);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-border);
}

.copyright p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Páginas internas - layout comum */
.page-hero {
  background: var(--bg-darker);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--gray-border);
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* Responsivo */
@media (max-width: 992px) {
  .services-four {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-links {
    display: none;
  }

  header .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .menu-button {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    border-left: 1px solid var(--gray-border);
    padding: 2rem;
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav li {
    border-bottom: 1px solid var(--gray-border);
  }

  nav a {
    padding: 1rem;
    display: block;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.active .dropdown {
    max-height: 200px;
  }

  .nav-icon,
  .nav-cta {
    border-bottom: none;
  }

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

  .services-four {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .float-sidebar span {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
