/* ===========================================================
   LimpaStyle — estilos
   Paleta quente, cantos arredondados, sensação acolhedora e moderna
   =========================================================== */

:root {
  --cream: #FBF3EA;
  --cream-soft: #F5E9DA;
  --ink: #2E2A26;
  --ink-soft: #6B6259;
  --terracotta: #C4633E;
  --terracotta-dark: #A34E2E;
  --terracotta-light: #F1D9C9;
  --sage: #7C9473;
  --sage-dark: #5F7657;
  --sage-light: #E4EBDF;
  --gold: #E3A857;
  --white: #FFFFFF;
  --shadow-soft: 0 12px 32px rgba(46, 42, 38, 0.10);
  --shadow-strong: 0 20px 48px rgba(46, 42, 38, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

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

section { padding: 88px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: var(--terracotta-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: var(--shadow-strong); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1EBE5A; }

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

.btn-block { width: 100%; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46,42,38,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--cream-soft);
  border-radius: 100px;
  padding: 3px;
  margin-right: 4px;
}
.lang-btn {
  border: none;
  background: none;
  padding: 6px 11px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--terracotta); color: var(--white); }
.lang-switch-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 18px 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-media {
  position: relative;
}
.hero-blob {
  position: absolute;
  inset: -8% -10%;
  background: var(--sage-light);
  border-radius: 44% 56% 62% 38% / 45% 40% 60% 55%;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 4.6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-badge.badge-rating {
  top: 10%;
  left: -8%;
}
.hero-badge.badge-eco {
  bottom: 8%;
  right: -6%;
}
.hero-badge .badge-icon { font-size: 1.4rem; }
.hero-badge small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid rgba(46,42,38,0.06);
  border-bottom: 1px solid rgba(46,42,38,0.06);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.trust-strip-item .icon { font-size: 1.3rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.service-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 22px 20px 26px; }
.service-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 14px; }
.service-price {
  font-weight: 700;
  color: var(--terracotta-dark);
  font-size: 0.95rem;
}

.services-more {
  text-align: center;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Calculator ---------- */
.calculator {
  background: var(--sage-light);
}
.calc-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}
.calc-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 20px 0 10px;
}
.calc-form label:first-child { margin-top: 0; }
.calc-form select,
.calc-form input[type="number"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-soft);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}
.calc-form select:focus,
.calc-form input:focus {
  outline: none;
  border-color: var(--terracotta);
}
#carpet-area-wrap { display: none; }

.calc-result {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}
.calc-result .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-weight: 700;
}
.calc-result .price {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--terracotta);
  margin: 10px 0 4px;
}
.calc-result .price small { font-size: 1.3rem; }
.calc-discount {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.calc-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Advantages ---------- */
.advantages {
  background: var(--ink);
  color: var(--cream);
}
.advantages .section-head p { color: rgba(251,243,234,0.7); }
.advantages .section-tag { background: rgba(196,99,62,0.18); color: #F1B08F; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: rgba(251,243,234,0.06);
  border: 1px solid rgba(251,243,234,0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.adv-card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.adv-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.adv-card p { color: rgba(251,243,234,0.68); font-size: 0.9rem; margin: 0; }

/* ---------- Gallery (action photos) ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 460px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(46,42,38,0.75), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Zone ---------- */
.zone-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.zone-chip {
  background: var(--white);
  border: 2px solid var(--terracotta-light);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
}
.zone-map {
  background: var(--sage-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.zone-map .pin { font-size: 2.6rem; }
.zone-map h3 { margin: 12px 0 6px; }
.zone-map p { color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta-light);
  color: var(--terracotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 26px 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Contact form ---------- */
.contact {
  background: var(--sage-light);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-info p { color: var(--ink-soft); }
.contact-methods {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.contact-method .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--terracotta-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-method small { display: block; font-weight: 500; color: var(--ink-soft); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 18px 0 8px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-soft);
  font-size: 0.98rem;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.form-consent input { width: auto; margin-top: 3px; }
.form-success {
  display: none;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 700;
  margin-top: 16px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(251,243,234,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-logo span { color: var(--terracotta); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a { text-decoration: none; color: inherit; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(251,243,234,0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Floating buttons ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-strong);
  z-index: 600;
  text-decoration: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45), var(--shadow-strong); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-strong); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-strong); }
}

.chat-launcher {
  position: fixed;
  bottom: 26px;
  right: 100px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-strong);
  z-index: 600;
  border: none;
  cursor: pointer;
}

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 26px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 440px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  z-index: 601;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-head {
  background: var(--terracotta);
  color: var(--white);
  padding: 16px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-head button { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; }
.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  background: var(--cream);
}
.chat-msg { padding: 10px 14px; border-radius: 14px; max-width: 85%; }
.chat-msg.bot { background: var(--white); align-self: flex-start; box-shadow: var(--shadow-soft); }
.chat-msg.user { background: var(--terracotta); color: var(--white); align-self: flex-end; }
.chat-input-row {
  display: flex;
  border-top: 1px solid var(--cream-soft);
}
.chat-input-row input {
  flex: 1;
  border: none;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.chat-input-row input:focus { outline: none; }
.chat-input-row button {
  border: none;
  background: var(--terracotta);
  color: var(--white);
  padding: 0 18px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ---------- Responsive ---------- */

/* Nav collapses earlier than the content breakpoints below, since the
   full desktop nav (logo + 6 links + language switch + 2 buttons) needs
   more horizontal room than it has once the viewport drops under ~1040px. */
@media (max-width: 1160px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-cta .lang-switch:not(.lang-switch-mobile) { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
  }
  .nav.open .lang-switch-mobile {
    display: flex;
    margin-top: 4px;
  }
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-box { grid-template-columns: 1fr; padding: 30px; }
  .zone-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); height: auto; }
  .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 680px) {
  section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .chat-panel { right: 12px; bottom: 92px; }
  .chat-launcher { right: 92px; }
}
