:root {
  --navy: #0a1628;
  --navy-light: #101f38;
  --slate: #3a4453;
  --slate-light: #8b93a3;
  --bronze: #b08d57;
  --bronze-light: #d4af7a;
  --white: #f5f6f8;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #060e1c 0%, #101f38 45%, #223252 100%);
  border-bottom: 1px solid rgba(176, 141, 87, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img { height: 112px; width: auto; display: block; }
.logo-fallback {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.logo .accent { color: var(--bronze); }

.main-nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 32px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--bronze-light); }

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-light);
  max-width: 560px;
  margin: 0 auto 40px;
}

.btn-primary {
  display: inline-block;
  background: var(--bronze);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 32px;
  font-weight: 700;
  font-family: var(--font-title);
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--bronze-light); }

/* Sections */
.section {
  padding: 90px 0;
  scroll-margin-top: 100px;
}
.section-alt {
  background: var(--navy-light);
}

.eyebrow {
  display: block;
  color: var(--bronze);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.1rem;
  margin-bottom: 24px;
  max-width: 700px;
}

.section p {
  color: var(--slate-light);
  max-width: 700px;
  font-size: 1.05rem;
}

blockquote {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--bronze);
  font-style: italic;
  color: var(--white);
  max-width: 600px;
}

/* Colmeia de Serviços — formato circular (1 centro + 6 ao redor) */
.hive {
  position: relative;
  width: 480px;
  max-width: 100%;
  height: 460px;
  margin: 56px auto 40px;
}
.hex-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 173px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  border: 1px solid rgba(176, 141, 87, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 22px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

/* Centro */
.hex-item:nth-child(1) { transform: translate(-50%, -50%); z-index: 2; }
/* Direita (E) */
.hex-item:nth-child(2) { transform: translate(calc(-50% + 150px), -50%); }
/* Esquerda (W) */
.hex-item:nth-child(3) { transform: translate(calc(-50% - 150px), -50%); }
/* Superior direita (NE) */
.hex-item:nth-child(4) { transform: translate(calc(-50% + 75px), calc(-50% - 130px)); }
/* Superior esquerda (NW) */
.hex-item:nth-child(5) { transform: translate(calc(-50% - 75px), calc(-50% - 130px)); }
/* Inferior direita (SE) */
.hex-item:nth-child(6) { transform: translate(calc(-50% + 75px), calc(-50% + 130px)); }
/* Inferior esquerda (SW) */
.hex-item:nth-child(7) { transform: translate(calc(-50% - 75px), calc(-50% + 130px)); }

.hex-item:hover {
  border-color: var(--bronze);
  background: linear-gradient(160deg, #16233c, var(--navy-light));
}
.hex-item h3 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bronze-light);
  line-height: 1.3;
}
.hex-item::after {
  content: "clique para saber mais";
  position: absolute;
  bottom: 22%;
  font-size: 0.55rem;
  color: var(--slate-light);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hex-item:hover::after {
  opacity: 0.7;
}

/* Modal de Serviço */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 28, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  border: 1px solid var(--bronze);
  max-width: 460px;
  width: 100%;
  padding: 40px 36px;
  position: relative;
  text-align: left;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--slate-light);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--bronze-light);
}
#modal-title {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 16px;
}
#modal-desc {
  color: var(--slate-light);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .hive {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: auto;
    gap: 12px;
  }
  .hex-item {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    width: 170px;
    height: 196px;
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--navy);
  border: 1px solid rgba(176, 141, 87, 0.2);
  padding: 28px;
}
.card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--bronze-light);
}
.card p {
  font-size: 0.95rem;
  color: var(--slate-light);
}

/* CTA */
.section-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.section-cta h2 { margin: 0 auto 16px; }
.section-cta p {
  margin: 0 auto 32px;
}

/* FAQ */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.faq-item {
  border-left: 2px solid var(--bronze);
  padding-left: 20px;
}
.faq-item h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--slate-light);
  font-size: 0.95rem;
  max-width: 100%;
}

/* Contato */
.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #08130a;
  text-decoration: none;
  padding: 14px 32px;
  font-weight: 700;
  font-family: var(--font-title);
  border-radius: 2px;
  transition: filter 0.2s;
}
.btn-whatsapp:hover {
  filter: brightness(1.1);
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #08130a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 500;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(176, 141, 87, 0.15);
  color: var(--slate-light);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; gap: 16px; }
  .hero h1 { font-size: 2.1rem; }
  .cards { grid-template-columns: 1fr; }
}
