:root {
  --sun: #F9B800;
  --sun-soft: #FFD45A;
  --leaf: #5C9E31;
  --black: #111111;
  --graphite: #2B2B2B;
  --white: #F8F5EF;
  --beige: #EFE5C8;
  --paper: #FFFAF0;
  --line: rgba(17, 17, 17, 0.1);
  --muted: #625d52;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --soft-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

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

main > section,
#conteudo {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open { overflow: hidden; }

img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(249, 184, 0, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--black);
  background: var(--sun);
  font-weight: 900;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section-pad { padding: 96px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: rgba(248, 245, 239, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 28px, 1260px);
  min-height: 76px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark,
.ai-avatar {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--graphite) 0 17%, transparent 18%),
    repeating-conic-gradient(from 0deg, var(--sun) 0deg 16deg, var(--sun-soft) 16deg 32deg);
  box-shadow: 0 8px 22px rgba(249, 184, 0, 0.28);
}

.brand-mark { width: 43px; height: 43px; }
.ai-avatar { width: 40px; height: 40px; }

.brand-logo {
  width: 43px;
  height: 43px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 auto;
}

.brand-mark::after,
.ai-avatar::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 3px;
  width: 16px;
  height: 10px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  transform: rotate(-18deg);
}

.brand strong {
  display: block;
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #5f594d;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #2d2a24;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover { background: rgba(249, 184, 0, 0.18); }

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

.icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(92, 158, 49, 0.24);
}

.icon-btn svg {
  width: 23px;
  height: 23px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--black);
  transition: transform 180ms ease, opacity 180ms ease;
}

.btn {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--sun), var(--sun-soft));
  box-shadow: 0 17px 36px rgba(249, 184, 0, 0.28);
}

.btn-outline {
  border: 1px solid rgba(17, 17, 17, 0.16);
  color: var(--black);
  background: rgba(255, 255, 255, 0.75);
}

.btn-large {
  min-height: 54px;
  padding: 15px 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 138px 0 68px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 16% 18%, rgba(249, 184, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, var(--white) 46%, var(--beige) 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero-bg-mark {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(43, 43, 43, 0.55) 0 14%, transparent 15%),
    repeating-conic-gradient(var(--sun) 0deg 14deg, rgba(255, 212, 90, 0.72) 14deg 28deg);
  opacity: 0.18;
  pointer-events: none;
}

.mark-one { right: -96px; top: 110px; width: 280px; height: 280px; }
.mark-two { left: -70px; bottom: 160px; width: 190px; height: 190px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: var(--sun);
}

.hero h1,
.section-copy h2,
.section-heading h2,
.modal-body h2 {
  margin: 0;
  color: var(--black);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 { max-width: 780px; font-size: clamp(2.7rem, 6.6vw, 5.65rem); }
.hero p { max-width: 650px; margin: 24px 0 0; color: #3f3a32; font-size: 1.17rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  min-height: 72px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 255, 255, 0.74);
  color: #5e594e;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.trust-strip strong {
  display: block;
  color: var(--black);
  font-size: 1.12rem;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sun), var(--leaf));
}

.hero-showcase img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 16px;
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(14px);
}

.hero-card span {
  display: block;
  color: var(--sun-soft);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong,
.hero-card small { display: block; }
.hero-card strong { margin-top: 4px; font-size: 1.06rem; }
.hero-card small { margin-top: 6px; color: rgba(255, 255, 255, 0.76); }

.authority-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.authority-row article,
.service-card,
.process-card,
.before-card,
.project-card,
.why-grid article,
.testimonial-card,
.payment-card,
.faq-item,
.contact-card,
.quote-form,
.store-list article {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.authority-row article {
  min-height: 150px;
  padding: 20px;
}

.authority-row span,
.service-icon,
.process-number,
.payment-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--sun);
  font-weight: 900;
}

.authority-row span { width: 42px; height: 42px; font-size: 0.82rem; }
.authority-row strong { display: block; margin-top: 15px; font-size: 1.08rem; }
.authority-row small { display: block; margin-top: 6px; color: var(--muted); }

.about,
.process,
.finishes,
.quote,
.location,
.faq { background: #fff; }

.services,
.before-after,
.portfolio,
.why,
.testimonials,
.ai-section,
.payment {
  background:
    radial-gradient(circle at top right, rgba(249, 184, 0, 0.18), transparent 34%),
    var(--beige);
}

.split-grid,
.quote-grid,
.location-grid,
.contact-grid,
.ai-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.quote-grid,
.faq-grid { align-items: start; }
.ai-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); }

.section-copy h2,
.section-heading h2,
.modal-body h2 { font-size: clamp(2rem, 4vw, 3.35rem); }

.section-copy p,
.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.security-note,
.quote-help {
  margin-top: 26px;
  border-left: 5px solid var(--sun);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff5d6;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.stack-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -28px;
  border-radius: var(--radius);
  padding: 18px;
  background: var(--black);
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.stack-panel span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
}

.service-grid,
.process-grid,
.before-grid,
.project-grid,
.why-grid,
.testimonial-grid,
.payment-grid {
  display: grid;
  gap: 16px;
}

.service-grid,
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.before-grid,
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.payment-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.service-card,
.process-card,
.why-grid article,
.testimonial-card {
  padding: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 278px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(249, 184, 0, 0.16);
}

.service-icon,
.process-number {
  width: 52px;
  height: 52px;
}

.service-icon svg {
  width: 27px;
  height: 27px;
}

.service-card h3,
.process-card h3,
.project-card h3,
.before-card h3,
.store-list h3 {
  margin: 16px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.service-card p,
.process-card p,
.why-grid p,
.testimonial-card p,
.project-card p,
.before-card p { color: var(--muted); }

.service-card a,
.project-card .card-cta,
.before-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--leaf);
  font-weight: 900;
}

.process-card {
  min-height: 250px;
  background: #fff;
}

.process-card p { font-size: 0.93rem; }

.before-card {
  overflow: hidden;
  background: #fff;
}

.before-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.before-image {
  position: relative;
}

.before-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.before-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(17, 17, 17, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.before-card-body { padding: 18px; }

.placeholder-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: rgba(249,184,0,0.12);
  border: 1px solid rgba(249,184,0,0.3);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--graphite);
}

.placeholder-notice p { margin: 0; }
.placeholder-notice a { color: var(--leaf); text-decoration: underline; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 43px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  padding: 0 17px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.filter-btn.active {
  border-color: var(--sun);
  background: var(--sun);
  box-shadow: 0 12px 24px rgba(249, 184, 0, 0.24);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  padding: 0;
  color: inherit;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card[hidden] { display: none; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.project-card img {
  width: 100%;
  height: 246px;
  object-fit: cover;
}

.project-card-body { padding: 18px; }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta span,
.modal-body > span {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--leaf);
  background: rgba(92, 158, 49, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.finish-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.finish-swatch {
  height: 110px;
  background: var(--swatch, var(--sun));
}

.finish-card strong,
.finish-card small {
  display: block;
  padding-inline: 14px;
}

.finish-card strong { padding-top: 13px; }
.finish-card small { padding-bottom: 14px; color: var(--muted); }

.testimonial-card {
  min-height: 260px;
  background: #fff;
}

.stars { color: var(--sun); font-size: 1.18rem; letter-spacing: 0.06em; }
.testimonial-card p { font-size: 1.02rem; }
.testimonial-card strong { display: block; margin-top: 18px; }
.testimonial-card small { display: block; color: var(--muted); }
.testimonial-source {
  display: block;
  margin-top: 6px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline dotted;
  cursor: pointer;
}

.ai-preview {
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(43, 43, 43, 0.9)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=900&q=80") center/cover;
  box-shadow: var(--shadow);
}

.ai-preview p {
  margin: 24px 0 10px;
  color: var(--sun-soft);
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.28;
}

.ai-preview strong {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-radius: 24px;
  padding: 24px;
  background: var(--paper);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #343027;
  font-size: 0.9rem;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.chat-form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--black);
  background: #fff;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.chat-form input:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 4px rgba(249, 184, 0, 0.16);
}

.quote-form textarea { resize: vertical; }
.quote-form .full { grid-column: 1 / -1; }

.field-error {
  min-height: 17px;
  color: #9f220f;
  font-size: 0.78rem;
  font-weight: 800;
}

.quote-form label.invalid input,
.quote-form label.invalid select,
.quote-form label.invalid textarea { border-color: #c9341b; }

.form-feedback {
  display: none;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #eaf6dd;
  color: #264d15;
  font-weight: 850;
}

.form-feedback.show { display: block; }

.payment-card {
  display: grid;
  min-height: 152px;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 18px;
  text-align: center;
  background: linear-gradient(135deg, var(--sun), var(--sun-soft));
}

.payment-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-icon svg {
  width: 28px;
  height: 28px;
}

.payment-card strong { line-height: 1.2; }

.payment-detail {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.store-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.store-list article {
  padding: 18px;
  background: var(--paper);
}

.store-list p { margin: 8px 0 14px; color: var(--muted); }
.store-list small { display: block; margin: -4px 0 14px; color: var(--leaf); font-weight: 900; }
.store-hours { font-size: 0.83rem; color: var(--muted); margin: 4px 0 10px; }
.store-list p.store-hours { margin: 4px 0 10px; }

.map-frame {
  overflow: hidden;
  min-height: 520px;
  border: 10px solid var(--paper);
  border-radius: 24px;
  background: var(--beige);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: #fff;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 18px;
  color: var(--black);
  background: transparent;
  font-weight: 900;
  text-align: left;
}

.faq-question span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.contact {
  color: #fff;
  background:
    radial-gradient(circle at 15% 0, rgba(249, 184, 0, 0.18), transparent 34%),
    var(--black);
}

.contact .section-copy h2,
.contact .section-copy p { color: #fff; }
.contact .section-copy p { color: rgba(255, 255, 255, 0.72); }

.contact-card {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--sun-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 56px 0 36px;
}

.footer-brand strong,
.footer-brand small { color: #fff; }
.footer-grid h3 { margin: 0 0 14px; color: var(--sun-soft); font-size: 1rem; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255, 255, 255, 0.84); }
.footer-grid p { color: rgba(255, 255, 255, 0.68); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 26px;
  font-size: 0.86rem;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.74);
}

.modal-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: hidden;
  width: min(1050px, 100%);
  max-height: min(92vh, 860px);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 17, 17, 0.78);
  font-size: 1.8rem;
  line-height: 1;
}

.modal-media {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  background: var(--beige);
}

.modal-media > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: #fff;
}

.modal-thumbs button {
  flex: 0 0 82px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.modal-thumbs button.active { border-color: var(--sun); }
.modal-thumbs img { width: 82px; height: 64px; object-fit: cover; }

.modal-body {
  overflow-y: auto;
  padding: 30px;
}

.modal-body h2 { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.modal-body p { color: var(--muted); }

.project-specs {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.project-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 10px;
}

.project-specs dt {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-specs dd { margin: 0; color: #3d3931; }

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
}

.chat-launcher {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  color: var(--black);
  background: linear-gradient(135deg, var(--sun), var(--sun-soft));
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.24);
  font-weight: 900;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  width: min(410px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 120px));
  grid-template-rows: auto 1fr auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.chat-widget.open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-widget.open .chat-launcher { display: none; }

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: #fff;
  background: var(--black);
}

.chat-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header small { display: block; color: rgba(255, 255, 255, 0.68); }

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-clear,
.chat-close {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.chat-clear {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.chat-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #fffaf0;
}

.message {
  max-width: 88%;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 0.94rem;
}

.message.bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.message.typing {
  color: var(--muted);
  font-style: italic;
}

.message.user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  background: var(--leaf);
}

.message-time {
  display: block;
  margin-top: 4px;
  opacity: 0.62;
  font-size: 0.68rem;
  font-weight: 800;
}

.quick-questions {
  display: grid;
  gap: 8px;
  padding: 12px 14px 0;
  background: #fff;
}

.quick-questions button {
  border: 1px solid rgba(249, 184, 0, 0.38);
  border-radius: var(--radius);
  padding: 9px;
  color: #383327;
  background: #fff8dc;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
}

.chat-form button,
.chat-whatsapp {
  border: 0;
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--black);
  background: var(--sun);
  font-weight: 900;
}

.chat-whatsapp {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 14px 14px;
}

.mobile-action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 85;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.22);
  backdrop-filter: blur(16px);
}

.mobile-action-bar a,
.mobile-action-bar button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--black);
  background: var(--sun);
  font-size: 0.85rem;
  font-weight: 900;
}

.mobile-action-bar a:first-child { color: #fff; background: var(--leaf); }

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 620ms ease, opacity 620ms ease;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1160px) {
  .menu-toggle { display: block; }

  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-panel {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 18px;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 18px 20px 24px;
    background: rgba(248, 245, 239, 0.98);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-panel.open { transform: translateY(0); }
  .nav-links { display: grid; gap: 6px; }
  .nav-links a { min-height: 46px; border-radius: var(--radius); padding: 0 12px; }
  .nav-actions { justify-content: flex-start; }

  .hero-grid,
  .split-grid,
  .quote-grid,
  .location-grid,
  .contact-grid,
  .ai-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(2.55rem, 8vw, 4.8rem); }
  .hero-showcase,
  .hero-showcase img { min-height: 440px; height: 440px; }

  .authority-row,
  .service-grid,
  .project-grid,
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .process-grid,
  .payment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .before-grid,
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .modal-content { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { min-height: auto; }
  .modal-media > img { height: 390px; min-height: 390px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  main > section,
  #conteudo { scroll-margin-top: 84px; }

  .container { width: min(100% - 24px, var(--container)); }
  .section-pad { padding: 68px 0; }
  body { padding-bottom: 78px; }

  .navbar { width: min(100% - 20px, 1260px); min-height: 70px; }
  .brand strong { font-size: 0.98rem; }
  .brand small { font-size: 0.7rem; }
  .brand-mark,
  .brand-logo { width: 39px; height: 39px; }
  .nav-panel { inset: 70px 0 auto 0; max-height: calc(100vh - 70px); }

  .hero { padding: 112px 0 56px; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.02rem; }

  .hero-actions,
  .modal-actions { display: grid; }
  .hero-actions .btn,
  .modal-actions .btn { width: 100%; }

  .trust-strip,
  .authority-row,
  .service-grid,
  .process-grid,
  .before-grid,
  .project-grid,
  .why-grid,
  .testimonial-grid,
  .payment-grid,
  .finish-grid,
  .quote-form,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-showcase,
  .hero-showcase img { min-height: 340px; height: 340px; }
  .hero-showcase::before { inset: 14px -8px -8px 14px; border-radius: 20px; }
  .hero-card { left: 14px; right: 14px; bottom: 14px; }

  .section-copy h2,
  .section-heading h2 { font-size: 2.05rem; }

  .image-stack img { height: 330px; }
  .stack-panel { position: static; margin-top: 12px; }
  .quote-form .full { grid-column: auto; }

  .project-card img { height: 220px; }
  .before-image img { height: 185px; }

  .map-frame,
  .map-frame iframe { min-height: 380px; height: 380px; }

  .project-specs div { grid-template-columns: 1fr; gap: 3px; }
  .modal-body { padding: 22px; }
  .modal-media > img { height: 310px; min-height: 310px; }

  .footer-bottom { display: grid; }

  .chat-widget { right: 12px; bottom: 88px; }
  .chat-launcher { display: none; }
  .chat-panel {
    right: -2px;
    bottom: 0;
    width: calc(100vw - 24px);
    height: min(610px, calc(100vh - 118px));
  }

  .chat-form { grid-template-columns: 1fr; }
  .chat-form button { min-height: 42px; }
  .mobile-action-bar { display: grid; }
}
