/* Lave Top Lavanderia de Tapetes, Caruaru/PE */

:root {
  --verde: #1AB83F;
  --verde-escuro: #14962f;
  --azul: #000B7B;
  --azul-claro: #1a2a9e;
  --branco: #FFFFFF;
  --cinza-fundo: #F4F6F8;
  --cinza-texto: #333333;
  --cinza-borda: #E1E5EA;
  --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte);
  color: var(--cinza-texto);
  background: var(--branco);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

h1, h2, h3 {
  color: var(--azul);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 1.7rem; margin-bottom: 12px; }
h2 { font-size: 1.4rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin-bottom: 14px; }

.text-lead {
  font-size: 1.05rem;
  color: var(--cinza-texto);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-borda);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul);
  border: 2px solid var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-badge span {
  color: var(--verde);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  color: var(--azul);
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  color: var(--cinza-texto);
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
}

.main-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-borda);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  z-index: 99;
}

.main-nav.is-open { max-height: 600px; }

.main-nav ul { padding: 8px 20px 16px; }

.main-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--cinza-borda);
  font-weight: 600;
  color: var(--azul);
}

.main-nav .nav-cta {
  margin-top: 12px;
  border-bottom: none;
}

.main-nav .nav-cta .btn {
  border-radius: 999px;
  padding: 10px 20px;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: none;
    background: none;
  }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
  }
  .main-nav a {
    border-bottom: none;
    padding: 0;
    font-size: 0.95rem;
  }
  .main-nav .nav-cta { margin-top: 0; }
  .main-nav .nav-cta .btn { font-size: 0.9rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--verde);
  color: var(--branco);
}
.btn-primary:hover { background: var(--verde-escuro); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--azul);
  color: var(--azul);
}

.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--branco);
  background: linear-gradient(180deg, rgba(0,11,123,0.82), rgba(0,11,123,0.62)),
    url("../assets/img/hero-fachada-lave-top-caruaru.webp") center/cover no-repeat;
  padding: 40px 0;
}

.hero .container { display: flex; }

.hero h1 { color: var(--branco); }

.hero-badge {
  display: inline-block;
  background: var(--verde);
  color: var(--azul);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-glass {
  background: rgba(0, 11, 123, 0.55);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 600px;
}

.hero-text p { color: #eef0fb; }

@media (min-width: 900px) {
  .hero { min-height: 620px; }
  .hero-glass { padding: 40px 36px; }
}

/* ===== IMAGEM DE CONTEÚDO ===== */
.content-img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

.content-img-wide {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

/* ===== SECTIONS ===== */
section { padding: 40px 0; }

.section-alt { background: var(--cinza-fundo); }

.section-title { text-align: center; margin-bottom: 28px; }
.section-title p { max-width: 640px; margin: 0 auto; }

/* ===== GRID SERVICES ===== */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
}

.card-service {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s;
}

.card-service:hover { box-shadow: 0 8px 24px rgba(0,11,123,0.1); }

.card-service h3 a { color: var(--azul); }

.card-service .card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--verde-escuro);
}

/* ===== DIFERENCIAIS ===== */
.grid-diferenciais {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-diferenciais { grid-template-columns: repeat(2, 1fr); }
}

.diferencial {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.diferencial-icone {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== RESULTADO REAL (CARROSSEL) ===== */
.resultado-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resultado-carousel {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cinza-borda);
}

.resultado-track {
  display: flex;
  width: calc(var(--pages, 2) * 100%);
  transition: transform 0.6s ease;
}

.resultado-page {
  flex: 0 0 calc(100% / var(--pages, 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  box-sizing: border-box;
}

.resultado-page img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (min-width: 640px) {
  .resultado-page { gap: 10px; padding: 10px; }
}

.resultado-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.resultado-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cinza-borda);
  border: none;
  padding: 0;
  cursor: pointer;
}

.resultado-dots button.is-active { background: var(--verde); }

/* ===== TESTEMUNHO ===== */
.testemunho {
  background: var(--branco);
  border-left: 4px solid var(--verde);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 640px;
  margin: 0 auto;
}

.testemunho .estrelas { color: var(--verde); font-size: 1.1rem; margin-bottom: 10px; }
.testemunho footer { margin-top: 12px; font-weight: 700; color: var(--azul); font-style: normal; }

.testemunho-wrap { max-width: 640px; margin: 0 auto; }

.testemunho-item { display: none; }
.testemunho-item.is-active { display: block; }

.testemunho-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testemunho-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cinza-borda);
  border: none;
  padding: 0;
  cursor: pointer;
}

.testemunho-dots button.is-active { background: var(--verde); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--verde);
  color: var(--branco);
  text-align: center;
}

.cta-banner h2 { color: var(--branco); }

.cta-banner .btn-outline {
  border-color: var(--branco);
  color: var(--branco);
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--cinza-borda);
  padding: 18px 0;
}

.faq-item summary {
  font-weight: 700;
  color: var(--azul);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--verde-escuro);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p { margin-top: 10px; }

/* ===== CONTATO / NAP ===== */
.info-lista li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cinza-borda);
}

.info-lista strong { color: var(--azul); min-width: 110px; display: inline-block; }

.mapa-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 12px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.82rem;
  color: #667;
  padding: 14px 0;
}

.breadcrumb a { color: var(--azul); font-weight: 600; }

/* ===== BLOG ===== */
.blog-list { display: grid; gap: 20px; }

.blog-card {
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  padding: 20px;
}

.blog-card time { font-size: 0.82rem; color: #667; }

article.post img { border-radius: 12px; margin: 20px 0; }
article.post h2 { margin-top: 28px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--azul);
  color: #dfe3f5;
  padding: 40px 0 100px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer h3 { color: var(--verde); font-size: 1rem; }
.site-footer a:hover { color: var(--verde); }
.site-footer ul li { padding: 4px 0; }

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #9aa3d1;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom .credito {
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.footer-bottom .credito a {
  color: #9aa3d1;
  font-weight: 700;
}

.footer-bottom .credito a:hover { color: var(--verde); }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  background: var(--verde);
  color: var(--branco);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

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

/* ===== UTILIDADES ===== */
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.badge-cidade {
  display: inline-block;
  background: var(--cinza-fundo);
  color: var(--azul);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
