:root {
  /* Cores */
  --color-primary:       #2563eb;
  --color-primary-dark:  #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-accent:        #22c55e;
  --color-text:          #1e293b;
  --color-text-muted:    #64748b;
  --color-border:        #e2e8f0;
  --color-bg-subtle:     #f8fafc;

  /* Espaçamento */
  --section-padding: 120px 0;

  /* Border-radius */
  --radius-card: 28px;
  --radius-icon: 20px;
  --radius-btn:  16px;

  /* Sombra */
  --shadow-card: 0 10px 30px rgba(0,0,0,0.04);
}

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

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background: white;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.logo:hover {
  opacity: 0.9;
}

.logo h1 {
  font-size: 20px;
  color: var(--color-primary);
}

.logo p {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.menu {
  display: flex;
  gap: 32px;
}

.menu a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--color-primary);
}

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

/* BUTTONS */

.btn-whatsapp,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  border: 1px solid #cbd5e1;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.btn-whatsapp:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

/* HAMBURGER */

.hamburger {
  width: 52px;
  height: 52px;
  border: none;
  background: var(--color-primary);
  border-radius: var(--radius-btn);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 999px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE DROPDOWN MENU */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  z-index: 998;
}

.mobile-menu.active {
  max-height: 600px;
  padding: 24px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-btn {
  margin-top: 18px;
}

/* HERO */

.hero {
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 600;
}

.hero h2,
.section-header h2,
.about h2,
.cta-box h2 {
  font-size: 56px;
  line-height: 1.1;
  margin-top: 24px;
  font-weight: 800;
}

.hero-text,
.section-header p,
.about p,
.cta-box p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 40px;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  color: #475569;
  font-weight: 500;
}

.hero-image,
.about-image {
  border-radius: 32px;
  height: 560px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  will-change: transform;
}

/* TRUST */

.trust {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 60px 0;
}

.trust-grid,
.services-grid,
.testimonials-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

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

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

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

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

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 2fr;
  align-items: start;
}

.trust-card,
.service-card,
.testimonial-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.service-card {
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.trust-icon,
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-icon);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.services,
.testimonials {
  padding: var(--section-padding);
}

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

.service-card h3,
.testimonial-card strong {
  font-size: 24px;
}

.service-card p,
.testimonial-card p {
  margin-top: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* VANTAGENS */

.vantagens {
  background: var(--color-bg-subtle);
  padding: var(--section-padding);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.vantagem-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: 0.3s;
}

.vantagem-card:hover {
  transform: translateY(-4px);
}

.vantagem-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-icon);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.vantagem-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.vantagem-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ABOUT */

.about {
  background: var(--color-bg-subtle);
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-item {
  background: white;
  padding: 22px;
  border-radius: var(--radius-icon);
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* TESTIMONIALS */

.stars {
  color: #facc15;
  font-size: 22px;
  margin-bottom: 20px;
}

/* CTA */

.cta-section {
  padding: 0 24px 120px;
}

.cta-box {
  background: var(--color-primary-dark);
  border-radius: 40px;
  padding: 100px 40px;
  text-align: center;
  color: white;
}

.cta-box p {
  color: var(--color-primary-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.big-btn {
  margin-top: 40px;
  font-size: 18px;
  padding: 18px 32px;
}

/* FOOTER */

.footer {
  background: #020617;
  color: #cbd5e1;
  padding-top: 80px;
}

.footer h3,
.footer h4 {
  color: white;
  margin-bottom: 20px;
}

.footer p,
.footer li {
  color: #94a3b8;
  line-height: 1.8;
}

.footer ul {
  list-style: none;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 24px;
  color: var(--color-text-muted);
}

/* FLOATING BUTTON */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  z-index: 997;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px rgba(0,0,0,0.25);
}

/* SCROLL FADE-IN ANIMATION */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1024px) {

  .hero-grid,
  .about-grid,
  .services-grid,
  .services-grid-extended,
  .trust-grid,
  .testimonials-grid,
  .footer-grid,
  .vantagens-grid,
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .menu,
  .desktop-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h2,
  .section-header h2,
  .about h2,
  .cta-box h2 {
    font-size: 42px;
  }

  .about-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-grid-extended {
    grid-template-columns: 1fr;
  }

  .vantagens-grid {
    grid-template-columns: 1fr;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .hero {
    padding: 60px 0;
  }

  .hero h2,
  .section-header h2,
  .about h2,
  .cta-box h2 {
    font-size: 34px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cta-box {
    padding: 70px 24px;
  }

  .mobile-menu {
    width: 100%;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .vantagem-card {
    flex-direction: column;
  }
}

.footer-map {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-map iframe {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.footer-address {
  color: #94a3b8;
  line-height: 1.7;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {

  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    padding: 16px;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}