:root {
  --brand: #0a6fb3;
  --brand-dark: #054a7d;
  --bg: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  --text: #0b2135;
  --muted: #5b6b76;
  --light-bg: #f0f5fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(10, 111, 179, 0.3), 0 4px 16px rgba(12, 30, 45, 0.06);
  }
  50% {
    box-shadow: 0 0 40px rgba(10, 111, 179, 0.5), 0 4px 16px rgba(12, 30, 45, 0.06);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
  animation: fadeInUp 0.8s ease-out;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* HEADER */
.site-header {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(12, 30, 45, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--brand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: none;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, rgba(10, 111, 179, 0.85) 0%, rgba(10, 111, 179, 0.65) 100%), 
              url('../Imagens/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.hero-partner-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  max-width: 200px;
  height: auto;
  z-index: 10;
}

.hero-overlay {
}
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 15px;
  cursor: pointer;
}

.cta-primary {
  background: #fff;
  color: var(--brand);
}

.cta-primary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 111, 179, 0.3);
}

.cta-secondary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.cta-secondary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 111, 179, 0.3);
}

/* SECTIONS */
section {
  padding: 60px 0;
}

/* ABOUT SECTION */
.about {
  background: #fff;
}

.about-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-header h2 {
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--text);
}

.separator {
  width: 60px;
  height: 4px;
  background: var(--brand);
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--brand);
  font-weight: 600;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 437px;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(12, 30, 45, 0.1);
}

/* SERVICES SECTION */
.services {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(12, 30, 45, 0.06);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(12, 30, 45, 0.12);
  animation: glow 2s ease-in-out;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* SERVICE DETAIL MODAL */
.service-detail {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 30, 45, 0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.service-detail.active {
  display: flex;
}

.service-detail .container {
  background: #fff;
  border-radius: 8px;
  padding: 48px;
  max-width: 700px;
  position: relative;
  box-shadow: 0 20px 60px rgba(12, 30, 45, 0.2);
}

.close-detail {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-detail:hover {
  color: var(--brand);
}

.detail-content h2 {
  color: var(--brand);
  margin-top: 0;
}

.detail-content h4 {
  color: var(--text);
  margin-top: 24px;
}

.detail-content ul {
  list-style-position: inside;
  color: var(--muted);
  line-height: 1.8;
}

.detail-content p {
  color: var(--text);
  line-height: 1.7;
}

.badge-kaspersky {
  text-align: center;
  margin-bottom: 24px;
}

.kaspersky-logo {
  max-width: 250px;
  height: auto;
  display: inline-block;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 700;
}

.cta-section p {
  font-size: 16px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* CONTACT SECTION */
.contact {
  background: #fff;
  padding: 60px 0;
}

.contact h2 {
  font-size: 36px;
  text-align: center;
  margin: 0 0 48px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-intro {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 32px;
  line-height: 1.6;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--text);
}

.contact-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-weight: 600;
}

.contact-list a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.email-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.email-link svg {
  color: var(--brand);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s ease;
}

.linkedin-link:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.linkedin-link svg {
  color: #0a66c2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid #e6eef5;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10, 111, 179, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.form-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FOOTER */
.site-footer {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 32px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

.footer-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-links {
  margin-top: 12px !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-partner-badge {
    max-width: 80px;
  }

  .section-header h2,
  .about-header h2,
  .contact h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 14px;
  }
}
