/* ============================================================
   Lavanderia Joana — Prévia de Demonstração
   Estilos responsivos (mobile-first)
   ============================================================ */

:root {
  --blue-950: #143449;
  --blue-900: #1b3f57;
  --blue-700: #2b7fb8;
  --blue-600: #2f8fc7;
  --blue-300: #9ccbe7;
  --blue-200: #cfe4f2;
  --blue-100: #eaf5fc;
  --blue-50:  #f5fafe;
  --ink:      #334e5f;
  --muted:    #6a8494;
  --line:     #dcebf4;
  --white:    #ffffff;
  --shadow:   0 14px 40px rgba(31, 92, 130, 0.10);
  --radius:   18px;
  --heading:  'Poppins', 'Segoe UI', sans-serif;
  --body:     'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

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

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}

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

/* ---------- Faixa de prévia ---------- */
.preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 16px;
  background: #eef4f8;
  border-bottom: 1px solid #dce8f0;
  color: #587083;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}
.preview-banner .banner-icon {
  width: 14px;
  height: 14px;
  fill: #7c96a8;
  flex: none;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(43, 127, 184, .22);
}
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 12px 24px rgba(43, 127, 184, .30); }

.btn-outline {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-300); }

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 8px 18px rgba(20, 52, 73, .15);
}
.btn-white:hover { background: var(--blue-50); }

.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 15px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark { width: 38px; height: 38px; display: block; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--heading);
  font-size: 16px;
  color: var(--blue-950);
  white-space: nowrap;
}
.brand-text small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .02em;
}

.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-900);
  transition: color .18s ease;
}
.main-nav a:hover { color: var(--blue-700); }
.btn-header { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue-700);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-900);
  border-bottom: 1px solid var(--blue-50);
}
.mobile-nav .btn { margin-top: 10px; width: 100%; }

/* ---------- Capa ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 44px 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(156, 203, 231, .35), transparent 68%);
  pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column; gap: 36px; position: relative; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--heading);
  font-size: clamp(34px, 8.5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--blue-950);
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--blue-700);
}
.hero-lead {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 16px;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-900);
}
.hero-highlights li { display: flex; align-items: center; gap: 8px; }
.hero-highlights li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
}

.hero-art { position: relative; display: flex; justify-content: center; }
.art-blob {
  position: absolute;
  inset: 6% 4% 6% 4%;
  background: linear-gradient(140deg, #dceefa, #eaf5fc 55%, #f7fbfe);
  border-radius: 46% 54% 55% 45% / 50% 42% 58% 50%;
  transform: rotate(-6deg);
}
.art-card {
  position: relative;
  width: min(100%, 360px);
  padding: 14px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.machine-illustration { display: block; width: 100%; height: auto; }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 92, 130, .12);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-900);
  white-space: nowrap;
}
.float-chip svg { width: 15px; height: 15px; fill: var(--blue-700); }
.chip-one { top: 4%; right: -4%; }
.chip-two { bottom: 6%; left: -3%; }

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
.section-heading { max-width: 620px; margin-bottom: 34px; }
.section-heading h2,
.instagram-copy h2,
.location-copy h2,
.cta-inner h2 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--blue-950);
}
.section-heading p,
.instagram-copy p,
.location-copy p,
.cta-inner p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Serviços ---------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(31, 92, 130, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}
.service-card--accent { background: var(--blue-50); border-color: var(--blue-200); }
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.service-icon svg { width: 26px; height: 26px; fill: currentColor; }
.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-950);
}
.service-card p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 4px 0;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 600;
}
.link-button span { transition: transform .18s ease; }
.link-button:hover span { transform: translateX(4px); }

/* ---------- Instagram ---------- */
.instagram { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.instagram-inner { display: flex; flex-direction: column; gap: 34px; align-items: center; }
.instagram-copy { max-width: 520px; }
.instagram-copy .btn { margin-top: 22px; }
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
}
.ig-handle svg { width: 18px; height: 18px; fill: currentColor; }

.instagram-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 34px;
  color: rgba(255, 255, 255, .75);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ig-tile:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.ig-tile span { position: relative; z-index: 1; }
.tile-1 { background: linear-gradient(135deg, #bcdcf0, #7fb9dd); }
.tile-2 { background: linear-gradient(135deg, #dceefa, #a8d2ec); }
.tile-3 { background: linear-gradient(135deg, #a8d2ec, #6fb0d8); }
.tile-4 { background: linear-gradient(135deg, #eaf5fc, #bcdcf0); }

/* ---------- Localização ---------- */
.location { background: var(--white); }
.location-inner { display: flex; flex-direction: column; gap: 34px; align-items: center; }
.location-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #eaf5fc, #dceefa);
  border: 1px solid var(--line);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43, 127, 184, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 127, 184, .12) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-grid::after {
  content: "";
  position: absolute;
  top: 32%; left: -10%;
  width: 130%; height: 12px;
  background: rgba(255, 255, 255, .75);
  transform: rotate(-18deg);
}
.map-pin {
  position: absolute;
  top: 44%; left: 46%;
  width: 48px;
  height: 48px;
  color: var(--blue-700);
  filter: drop-shadow(0 6px 8px rgba(43, 127, 184, .35));
}
.map-pin svg { width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: .6; }
.map-label {
  position: absolute;
  top: calc(44% + 50px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-900);
  box-shadow: 0 4px 10px rgba(31, 92, 130, .10);
}

.location-copy { max-width: 520px; }
.contact-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--white);
  color: var(--blue-700);
}
.contact-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list strong { font-size: 15px; color: var(--blue-950); }
.contact-list span { font-size: 12px; color: var(--muted); }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location-actions .btn { flex: 1 1 200px; }

/* ---------- Faixa final ---------- */
.cta-band { background: var(--blue-700); color: var(--white); padding: 44px 0; }
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255, 255, 255, .82); }
.cta-inner .btn { flex: none; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--blue-950); color: #cddde8; padding: 44px 0 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-brand strong {
  font-family: var(--heading);
  font-size: 18px;
  color: var(--white);
}
.footer-brand p { margin: 10px 0 0; font-size: 13px; max-width: 360px; color: #9fb8c9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.footer-nav a { font-size: 13px; transition: color .18s ease; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: 11px;
  color: #8fa9bb;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 52, 73, .55);
  backdrop-filter: blur(4px);
  animation: fadeIn .18s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 34px 26px 28px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 52, 73, .28);
  text-align: center;
  animation: popIn .22s ease;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
.modal-close:hover { background: var(--blue-100); color: var(--blue-700); }
.modal-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
}
.modal-icon svg { width: 32px; height: 32px; }
.modal h2 {
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: 21px;
  color: var(--blue-950);
}
.modal p { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.modal .modal-note { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.modal .btn { width: 100%; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

body.modal-open { overflow: hidden; }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .container { padding-inline: 32px; }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 76px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .instagram-inner { flex-direction: row; align-items: center; gap: 48px; }
  .instagram-copy, .location-copy { max-width: none; flex: 1 1 50%; }
  .instagram-gallery { flex: 1 1 50%; }
  .location-inner { flex-direction: row; align-items: center; gap: 48px; }
  .location-map { flex: 1 1 50%; }
  .cta-inner { flex-direction: row; align-items: center; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .btn-header { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero-inner { flex-direction: row; align-items: center; gap: 56px; }
  .hero-copy { flex: 1 1 54%; }
  .hero-art { flex: 1 1 46%; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 359px) {
  .brand-text small { display: none; }
  .hero-actions .btn, .location-actions .btn { flex-basis: 100%; }
  .chip-one { right: 0; }
  .chip-two { left: 0; }
}
