/* ============================================
   DUALPRO - Soluções em TI
   Site moderno, seguro e responsivo
   ============================================ */

:root {
  --teal: #1DA9C0;
  --teal-light: #2EBED4;
  --teal-dark: #178799;
  --navy: #1A3E4C;
  --navy-light: #2A5566;
  --navy-darker: #102A35;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-400: #a0aec0;
  --gray-600: #4a5568;
  --gray-800: #2d3748;
  --shadow-sm: 0 2px 4px rgba(26, 62, 76, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 62, 76, 0.08);
  --shadow-lg: 0 10px 30px rgba(26, 62, 76, 0.12);
  --shadow-xl: 0 20px 50px rgba(26, 62, 76, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }

/* === Botões === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 169, 192, 0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 169, 192, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-darker);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

.nav a:hover { color: var(--teal); background: var(--gray-50); }

.nav-cta { margin-left: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    linear-gradient(135deg, rgba(26, 62, 76, 0.92) 0%, rgba(16, 42, 53, 0.92) 100%),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 169, 192, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 169, 192, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 48%, var(--teal) 49%, var(--teal) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, var(--teal) 49%, var(--teal) 51%, transparent 52%);
  background-size: 200px 200px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(29, 169, 192, 0.15);
  color: var(--teal-light);
  border: 1px solid rgba(29, 169, 192, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 span { color: var(--teal-light); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* === Section base === */
.section { padding: 100px 0; position: relative; }

.section-light { background: var(--gray-50); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* === Sobre === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--teal);
  border-radius: 2px;
}

.about-text p { color: var(--gray-600); line-height: 1.8; }

.values-list { list-style: none; margin-top: 8px; }

.values-list li {
  padding: 8px 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

.values-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  height: 480px;
}

.about-card {
  position: absolute;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.about-card-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  flex-shrink: 0;
}

.about-card-content h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-card-content p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

.about-card.card-1 { top: 0; left: 0; max-width: 280px; }
.about-card.card-2 { top: 130px; right: 0; max-width: 280px; }
.about-card.card-3 { top: 260px; left: 40px; max-width: 280px; }
.about-card.card-4 { bottom: 0; right: 20px; max-width: 280px; }

.about-bg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  opacity: 0.08;
  z-index: -1;
}

/* === Serviços === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-icon svg { width: 32px; height: 32px; }

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  margin-top: 16px;
}

.service-features li {
  padding: 6px 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* === Diferenciais === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gray-50);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--teal);
  color: var(--white);
  transform: rotate(360deg);
}

.feature-icon svg { width: 32px; height: 32px; }

.feature-item h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-item p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(29, 169, 192, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* === Contato === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info > h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info-list {
  list-style: none;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-icon.whats {
  background: linear-gradient(135deg, #25D366 0%, #1ebe5a 100%);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-text strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-text a:hover { color: var(--teal); }
.contact-text a.whats-link { color: #1ebe5a; font-weight: 600; }
.contact-text a.whats-link:hover { color: #168f43; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(29, 169, 192, 0.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-message {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(29, 169, 192, 0.35);
}

.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 169, 192, 0.45);
}

/* === Footer === */
.footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
}

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

.footer-brand img {
  height: 60px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

.footer-social a.whats:hover { background: #25D366; }

.footer-social svg { width: 18px; height: 18px; }

.footer-col h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--teal-light);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.footer-contact-item svg.whats { color: #25D366; }

.footer-contact-item a { color: rgba(255, 255, 255, 0.75); }
.footer-contact-item a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { margin: 0; }

/* === WhatsApp flutuante === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-float svg { width: 32px; height: 32px; }

/* === Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsivo === */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual { height: 460px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .hero { padding: 110px 0 60px; min-height: auto; }

  .hero-stats { gap: 32px; margin-top: 40px; }

  .stat-number { font-size: 2rem; }

  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    align-items: stretch;
  }

  .nav.active { transform: translateY(0); }

  .nav a { padding: 14px 20px; text-align: center; }

  .nav-cta { margin-left: 0; margin-top: 8px; }

  .contact-form { padding: 28px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }

  .about-card { padding: 20px; }
  .about-card.card-1 { max-width: 90%; left: 0; }
  .about-card.card-2 { max-width: 90%; right: 0; top: 110px; }
  .about-card.card-3 { max-width: 90%; left: 0; top: 220px; }
  .about-card.card-4 { max-width: 90%; right: 0; bottom: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .logo img { height: 42px; }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
