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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2933;
  background-color: #f5f5f7;
  line-height: 1.6;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #4b5563);
  color: #f9fafb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1rem;
  font-weight: 600;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.3rem 0.4rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111827, #4b5563);
  transition: width 0.2s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: #111827;
  color: #f9fafb;
}

.btn-primary:hover {
  background: #030712;
}

.btn-outline {
  border-color: #111827;
  color: #111827;
  background: transparent;
}

.btn-outline:hover {
  background: #111827;
  color: #f9fafb;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* HERO */

.hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 39, 0.4));
}

.hero-content {
  position: relative;
  padding: 5.5rem 0 4rem;
  max-width: 640px;
  color: #f9fafb;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.hero p {
  font-size: 0.98rem;
  color: #e5e7eb;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.hero-info a {
  text-decoration: underline;
}

/* SECTIONS */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.96rem;
  color: #6b7280;
  max-width: 620px;
  margin-bottom: 2rem;
}

/* GRID */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* SOBRE */

.sobre-highlights {
  display: grid;
  gap: 1rem;
}

.card-highlight {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.card-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card-highlight p {
  font-size: 0.88rem;
  color: #6b7280;
}

/* SERVIÇOS */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.card-service {
  background: #f9fafb;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
  min-height: 160px;
}

.card-service h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card-service p {
  font-size: 0.86rem;
  color: #6b7280;
}

/* GALERIA */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: #111827;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.97;
}

/* CONTATO / MAPA */

.contact-list {
  list-style: none;
  margin: 1.5rem 0 1.6rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.contact-list a {
  text-decoration: underline;
}

.map-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.map-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.map-card p {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  height: 260px;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #f9fafb;
  padding: 1.5rem 0 2rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.footer-gordilho a {
  font-weight: 500;
  color: #111827;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #f9fafb;
  font-size: 1.6rem;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.5);
  z-index: 60;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .topbar-inner {
    gap: 0.7rem;
  }

  .nav {
    position: absolute;
    inset: 56px 0 auto 0;
    background: rgba(245, 245, 247, 0.98);
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding-top: 4.5rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 640px) {
  .hero-content {
    padding: 4.4rem 0 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-embed {
    height: 220px;
  }
}
