/* =============================================
   GRD10 — Gestora de Recursos Dedicados
   ============================================= */

:root {
  --bg-dark: #0b1220;
  --bg-card: #111d2e;
  --bg-card2: #162436;
  --navy: #1a3a5c;
  --gold: #c9960c;
  --gold-light: #f0c040;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #1e3a5f;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
}

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

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  background: rgba(11,18,32,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
}
.nav-logo span { color: var(--gold-light); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #a37800);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,150,12,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(37,99,235,0.12) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a5f' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(201,150,12,0.15);
  border: 1px solid rgba(201,150,12,0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-title span {
  background: linear-gradient(90deg, var(--gold-light), #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold), #a37800);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(201,150,12,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(201,150,12,0.5); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--text); }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; scroll-margin-top: 80px; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-desc { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ── PARA QUEM ── */
#para-quem { background: var(--bg-card); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.audience-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.audience-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.audience-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.audience-card p { color: var(--muted); font-size: 0.9rem; }

/* ── SERVIÇOS ── */
#servicos { background: var(--bg-dark); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.servico-card:hover { transform: translateY(-4px); }
.servico-card:has(.vigilancia):hover { border-color: #3b82f6; }
.servico-card:has(.limpeza):hover { border-color: #10b981; }
.servico-card:has(.copa):hover { border-color: var(--gold); }
.servico-card:has(.freelancer):hover { border-color: #8b5cf6; }

.servico-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.servico-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.servico-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.servico-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.servico-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.servico-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 700;
}

/* ── DIFERENCIAIS ── */
#diferenciais { background: var(--bg-card); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.diferencial-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}
.diferencial-item:hover { border-color: var(--gold); }

.dif-icon { font-size: 2rem; margin-bottom: 1rem; }
.diferencial-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.diferencial-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── COMO FUNCIONA ── */
#como-funciona { background: var(--bg-dark); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
}

.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #a37800);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(201,150,12,0.3);
}

.step-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.step-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.step-arrow {
  font-size: 1.8rem;
  color: var(--gold);
  align-self: center;
  margin-top: -1rem;
}

.steps-cta { text-align: center; }

/* ── COBERTURA ── */
#cobertura { background: var(--bg-card); }

.cobertura-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.cidade-tag {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.cidade-tag:hover { border-color: var(--gold); color: var(--text); }

/* ── FAQ ── */
#faq { background: var(--bg-dark); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold-light); }

.arrow {
  font-size: 1.1rem;
  color: var(--gold-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.2rem; }

/* ── CTA FINAL ── */
#cta-final {
  background: linear-gradient(135deg, #0d1c30, #1a3a5c);
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
#cta-final h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
#cta-final p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── WHATSAPP FLUTUANTE ── */
.wpp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wpp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }

/* ── FOOTER ── */
footer {
  background: #070d18;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .step-arrow { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-item { max-width: 100%; width: 100%; }
}
