/* ===========================
   RESET GLOBAL E VARIÁVEIS
   =========================== */

:root {
  --primary: #1e3a8a;
  --secondary: #dc2626;
  --accent: #0ea5e9;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===========================
   HEADER
   =========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  box-shadow: var(--shadow);
  width: 100%;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  max-width: 100%;
  height: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo {
  height: 40px;
  width: auto;
}

.brand-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--primary);
  padding: 15px 0;
  gap: 0;
  width: 100%;
  z-index: 999;
}

.nav.active {
  display: flex;
}

.nav a {
  color: var(--white);
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: #25d366 !important;
  color: var(--text) !important;
  margin: 10px 15px !important;
  border-radius: 20px;
  font-weight: 600;
  border: none !important;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(220, 38, 38, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 20px 15px;
  width: 100%;
  max-width: 100%;
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 400;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary {
  background: #25d366;
  color: var(--text);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:active {
  background: var(--white);
  color: var(--primary);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 11px;
  opacity: 0.9;
}

/* ===========================
   CONTAINER
   =========================== */

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* ===========================
   SOBRE SECTION
   =========================== */

.sobre {
  padding: 40px 15px;
  background: var(--bg-light);
  width: 100%;
}

.sobre-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
  font-weight: 800;
}

.sobre-text p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.sobre-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  font-size: 13px;
}

.feature-icon {
  font-size: 16px;
  color: #25d366;
  flex-shrink: 0;
}

/* ===========================
   SERVIÇOS SECTION
   =========================== */

.servicos {
  padding: 40px 15px;
  background: var(--white);
  width: 100%;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 30px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.servico-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.servico-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.servico-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
}

.servico-card p {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}

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

.servico-features li {
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--text-light);
  font-size: 12px;
}

.servico-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: bold;
}

/* ===========================
   GALERIA SECTION
   =========================== */

.galeria {
  padding: 40px 15px;
  background: var(--bg-light);
  width: 100%;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.galeria-item:active img {
  transform: scale(1.05);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(220, 38, 38, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.galeria-item:active .galeria-overlay {
  opacity: 1;
}

.galeria-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

/* ===========================
   DIFERENCIAIS SECTION
   =========================== */

.diferenciais {
  padding: 40px 15px;
  background: var(--white);
  width: 100%;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.diferencial-card {
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  transition: 0.3s;
}

.diferencial-card:active {
  border-color: var(--accent);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.diferencial-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.3;
}

.diferencial-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 700;
}

.diferencial-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

/* ===========================
   CTA FINAL SECTION
   =========================== */

.cta-final {
  padding: 40px 15px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: var(--white);
  text-align: center;
  width: 100%;
}

.cta-final h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 800;
}

.cta-final p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.btn-primary-large,
.btn-secondary-large {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary-large {
  background: #25d366;
  color: var(--text);
}

.btn-secondary-large {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-info {
  font-size: 12px;
  opacity: 0.9;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #0f172a;
  color: var(--white);
  padding: 30px 15px 15px;
  width: 100%;
}

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

.footer-section h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.6;
}

.footer-section a {
  color: var(--accent);
  transition: 0.3s;
}

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 12px;
  transition: 0.3s;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 11px;
}

/* ===========================
   WHATSAPP FLUTUANTE
   =========================== */

.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 998;
  animation: pulse 2s infinite;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
  }
}

/* ===========================
   TABLET (768px+)
   =========================== */

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  .container-header {
    padding: 15px 30px;
  }

  .logo {
    height: 45px;
  }

  .brand-name {
    font-size: 18px;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    gap: 30px;
    width: auto;
  }

  .nav a {
    padding: 0;
    border: none;
    font-size: 15px;
    color: var(--white);
  }

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

  .btn-whatsapp {
    margin: 0 !important;
    padding: 8px 20px !important;
  }

  .hero {
    height: 450px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 28px;
    font-size: 15px;
  }

  .hero-stats {
    gap: 50px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }

  .container {
    padding: 0 30px;
  }

  .sobre {
    padding: 60px 30px;
  }

  .sobre-text h2 {
    font-size: 32px;
  }

  .sobre-text p {
    font-size: 16px;
  }

  .sobre-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .servicos {
    padding: 60px 30px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .servico-card {
    padding: 30px;
  }

  .servico-icon {
    font-size: 44px;
  }

  .servico-card h3 {
    font-size: 20px;
  }

  .servico-card p {
    font-size: 15px;
  }

  .servico-features li {
    font-size: 14px;
  }

  .galeria {
    padding: 60px 30px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .galeria-overlay span {
    font-size: 16px;
  }

  .diferenciais {
    padding: 60px 30px;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .diferencial-card {
    padding: 30px;
  }

  .diferencial-number {
    font-size: 44px;
  }

  .diferencial-card h3 {
    font-size: 18px;
  }

  .diferencial-card p {
    font-size: 15px;
  }

  .cta-final {
    padding: 60px 30px;
  }

  .cta-final h2 {
    font-size: 32px;
  }

  .cta-final p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .cta-buttons {
    gap: 15px;
  }

  .btn-primary-large,
  .btn-secondary-large {
    padding: 14px 32px;
    font-size: 16px;
  }

  .footer {
    padding: 50px 30px 20px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-section h4 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .whatsapp-float {
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float img {
    width: 32px;
  }
}

/* ===========================
   DESKTOP (1024px+)
   =========================== */

@media (min-width: 1024px) {
  .hero {
    height: 550px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

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

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

  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .section-title {
    font-size: 40px;
  }

  .cta-final h2 {
    font-size: 36px;
  }

  .whatsapp-float {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-float img {
    width: 35px;
  }
}
