/* ============ VARIÁVEIS ============ */
:root {
  --primary:       #170958;
  --primary-dark:  #0a0620;
  --primary-mid:   #0d3b66;
  --accent:        #FF6600;
  --accent-hover:  #e55b00;
  --accent-light:  rgba(255, 102, 0, 0.12);
  --white:         #ffffff;
  --text:          #1a1a2e;
  --muted:         #6b7280;
  --border:        #e5e7eb;
  --bg-light:      #f8faff;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --nav-height: 72px;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

img { max-width: 100%; }

/* ============ UTILITÁRIOS ============ */
.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(255, 102, 0, 0.22);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.section-badge--light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

.section-header {
  max-width: 580px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* ============ BOTÕES ============ */
.btn {
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  letter-spacing: 0.3px;
  border: none;
}

.btn-lg {
  max-width: 300px;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  font-size: 15px;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.38);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white) !important;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: var(--radius-lg);
}

.btn-whatsapp:hover {
  background: #1eb558;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.38);
}

.btn-cta-light {
  background: var(--white);
  color: var(--primary);
  padding: 14px 30px;
  font-size: 15px;
}

.btn-cta-light:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============ NAVBAR ============ */
#mainNav {
  background: transparent;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

#mainNav.navbar-scrolled {
  background: linear-gradient(45deg,#302574 40%,#6a50e5);
  padding: 10px 0;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}

.navbar-brand img {
  height: 60px;
  width: auto;
  display: block;
}

.navbar-nav {
  gap: 2px;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 13px !important;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.08);
}

.navbar-toggler,
.navbar-toggler:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

@media (max-width: 991.98px) {
  #mainNav {
    background: var(--primary-dark);
    padding: 12px 0;
  }

  .navbar-collapse {
    padding: 14px 0 8px;
  }
}

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("../img/bg-desktop.webp") center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 6, 32, 0.92) 0%,
    rgba(23, 9, 88, 0.78) 60%,
    rgba(255, 152, 101, 0.8) 100%
  );
  backdrop-filter: blur(5px);
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
}

.hero-content {
  padding: 60px 0;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 22px;
}

.text-accent {
  color: var(--accent);
}

.hero-text {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 38px;
}

.hero-img {
  width: 100%;
  max-width: 640px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ============ FEATURES ============ */
.features-section {
  background: var(--bg-light);
  padding: 100px 0;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 102, 0, 0.22);
}

.feature-icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,102,0,0.08), rgba(23,9,88,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, rgba(255,102,0,0.16), rgba(23,9,88,0.10));
}

.feature-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.feature-card--highlight {
  border-color: rgba(255, 102, 0, 0.30);
  background: linear-gradient(135deg, #fff 60%, rgba(255,102,0,0.04));
}

.feature-card--highlight h5 {
  color: var(--accent);
}

/* ============ CLIENTES ============ */
.clients-section {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px 28px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(23, 9, 88, 0.18);
}

.client-logo-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.client-logo-wrap img {
  max-height: 100%;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}

.client-card:hover .client-logo-wrap img {
  filter: grayscale(0%);
}

.client-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin: 0;
}

/* ============ TECNOLOGIAS ============ */
.tech-section {
  background: linear-gradient(140deg, var(--primary-dark) 0%, #0f1b4d 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,102,0,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.tech-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(23,9,88,0.5) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}

.tech-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.tech-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.tech-card--accent {
  border-color: rgba(255,102,0,0.30);
  background: rgba(255,102,0,0.06);
}

.tech-card--accent:hover {
  border-color: rgba(255,102,0,0.50);
  background: rgba(255,102,0,0.10);
}

.tech-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
}

.tech-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.tech-logo--aws {
  filter: brightness(0) invert(1);
  height: 34px;
}

.tech-logo--anthropic {
  filter: brightness(0) invert(1);
  height: 16px;
}

.tech-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.5px;
}

.tech-logo-text strong {
  font-weight: 800;
  color: var(--accent);
}

.tech-logo-text--minuta {
  color: rgba(255,255,255,0.75);
}

.tech-logo-text--minuta strong {
  color: #6ee7b7;
}

.tech-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,102,0,0.12);
  border: 1px solid rgba(255,102,0,0.20);
  border-radius: 100px;
  padding: 3px 10px;
  width: fit-content;
}

.tech-card--accent .tech-tag {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.20);
}

.tech-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.tech-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.7;
}

/* ============ CTA ============ */
.cta-section {
  background: var(--accent);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../img/bg-ideia-desktop.png") center center / cover;
  opacity: 0.12;
  pointer-events: none;
}

.cta-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}

@media (max-width: 767.98px) {
  .cta-card {
    padding: 32px 24px;
  }
}

.cta-icon {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.cta-title {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-text {
  color: rgba(255,255,255,0.84);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* ============ ABOUT ============ */
.about-section {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../img/bg-sobre-desktop.png") center center / cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 16px;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 102, 0, 0.10);
  border: 1px solid rgba(255, 102, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 36px;
}

.team-card img {
  flex-shrink: 0;
  border-radius: var(--radius-lg);
}

.team-card strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
}

.team-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.65;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--primary-dark);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand img {
  width: 200px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.copy {
  font-size: 12px;
  color: rgba(255,255,255,0.32);
}

.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: var(--transition);
}

.footer-address:hover {
  color: rgba(255,255,255,0.72);
}
