/* Joseph Águas — Sistema de Design */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  background: #fff;
  line-height: 1.6;
}

/* Sem zoom nas imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  draggable: false;
}

/* ── Variáveis ────────────────────────────────────────────── */
:root {
  --azul-prof: #0A2540;
  --azul-agua: #0077B6;
  --azul-claro: #48CAE4;
  --verde-wa:  #25D366;
  --cinza-txt: #1F2937;
  --cinza-sub: #6B7280;
  --cinza-bg:  #F9FAFB;
  --branco:    #FFFFFF;
  --radius:    8px;
}

/* ── Tipografia ───────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--cinza-txt); }

/* ── Container ────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ───────────────────────────────────────────────── */
header {
  background: var(--azul-prof);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img { height: 44px; width: auto; }

.header-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--verde-wa);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s;
}
.header-cta:hover { filter: brightness(1.1); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--azul-prof);
  color: var(--branco);
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-img-wrap {
  max-width: 860px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.hero h1 { color: var(--branco); margin-bottom: .75rem; }
.hero h2 { color: var(--azul-claro); font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 400; margin-bottom: 2rem; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--verde-wa);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: filter .2s;
}
.btn-wa:hover { filter: brightness(1.1); }

/* ── Seção genérica ───────────────────────────────────────── */
section { padding: 4rem 0; }
section:nth-child(even) { background: var(--cinza-bg); }
.section-title { text-align: center; margin-bottom: 2.5rem; color: var(--azul-prof); }
.section-title span { color: var(--azul-agua); }

/* ── Cards de serviço ─────────────────────────────────────── */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--branco);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
}

.card h3 { color: var(--azul-prof); margin-bottom: .5rem; }
.card p  { color: var(--cinza-sub); font-size: .95rem; }

/* ── Por que escolher ─────────────────────────────────────── */
.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 700px) { .porque-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: .65rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .97rem; }
.checklist li::before { content: "✅"; flex-shrink: 0; }

.porque-img { border-radius: 12px; overflow: hidden; }

/* ── Como funciona ────────────────────────────────────────── */
.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: etapa;
}

.etapa {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.etapa-num {
  width: 52px;
  height: 52px;
  background: var(--azul-agua);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.etapa h3 { color: var(--azul-prof); margin-bottom: .4rem; }
.etapa p  { color: var(--cinza-sub); font-size: .93rem; }

/* ── Área de atendimento ──────────────────────────────────── */
.bairros-mapa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 700px) { .bairros-mapa { grid-template-columns: 1fr; } }

.bairros-lista {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.bairro-tag {
  background: #EFF6FF;
  color: var(--azul-agua);
  border: 1px solid #BFDBFE;
  border-radius: 20px;
  padding: .3rem .85rem;
  font-size: .85rem;
  font-weight: 600;
}

.mapa-img { border-radius: 12px; overflow: hidden; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }

details {
  background: var(--branco);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  overflow: hidden;
}

summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--azul-prof);
}
summary::after { content: "+"; font-size: 1.4rem; color: var(--azul-agua); line-height: 1; }
details[open] summary::after { content: "−"; }

.faq-resp { padding: .25rem 1.25rem 1.1rem; color: var(--cinza-sub); font-size: .95rem; }

/* ── CTA Final ────────────────────────────────────────────── */
.cta-final {
  background: var(--azul-prof);
  color: var(--branco);
  text-align: center;
  padding: 4rem 0;
}
.cta-final h2 { color: var(--branco); margin-bottom: 1.5rem; }
.cta-final p  { color: var(--azul-claro); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #060F1A;
  color: #9CA3AF;
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: .85rem;
}
footer a { color: var(--azul-claro); text-decoration: none; }

/* ── WhatsApp flutuante ───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--verde-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #F9FAFB;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--azul); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { background: #EFF6FF; color: var(--azul); }

.faq-item p {
  padding: 1rem 1.4rem 1.2rem;
  color: #4B5563;
  font-size: .97rem;
  line-height: 1.7;
  border-top: 1px solid #E5E7EB;
}

/* ── Responsivo mobile ────────────────────────────────────── */
@media (max-width: 480px) {
  .header-cta span { display: none; }
  .btn-wa { font-size: 1rem; padding: .8rem 1.5rem; }
  section { padding: 2.5rem 0; }
}

/* ── Blog / Artigos ───────────────────────────────────────── */
.article-wrap { padding: 3rem 0 4rem; }

.breadcrumb { font-size: .85rem; color: #6B7280; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--azul); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

article h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.25; margin-bottom: .5rem; }
.article-meta { font-size: .85rem; color: #9CA3AF; margin-bottom: 2rem; }
article h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .75rem; color: #111827; }
article p { color: #374151; line-height: 1.8; margin-bottom: 1rem; }
article a { color: var(--azul); text-decoration: underline; }

.article-cta { background: var(--azul); color: #fff; border-radius: 16px; padding: 2rem; text-align: center; margin: 3rem 0 2rem; }
.article-cta h2 { font-size: 1.4rem; margin-bottom: .5rem; color: #fff; }
.article-cta p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }

.article-links { margin-top: 1.5rem; }
.article-links h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: #374151; }
.bairro-tag a, a.bairro-tag { text-decoration: none; }
