/* ===================================================================
   RENOVE PINTURAS — Folha de estilo principal
   Paleta tirada da logo: teal (base) + vermelho/laranja/amarelo (cerdas)
   =================================================================== */

:root {
  /* Cores da marca */
  --teal: #0d8a8f;
  --teal-dark: #0a6b6f;
  --teal-darker: #074b4f;
  --teal-soft: #e6f2f2;

  --red: #d83a2c;
  --orange: #f47b20;
  --yellow: #f6c11f;

  --ink: #1c1c1c;
  --charcoal: #2b2b2b;
  --muted: #5f6b6b;

  --paper: #f6f8f8;
  --white: #ffffff;
  --line: #e3e9e9;

  /* Gradiente de destaque (cerdas do pincel) */
  --brush: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(7, 75, 79, 0.10);
  --shadow-lg: 0 20px 50px rgba(7, 75, 79, 0.18);
  --container: 1160px;
  --header-h: 76px;

  --font-head: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset básico ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
*::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }
h1, h2, h3, h4, p, li, small, b, span { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

@media (min-width: 520px) {
  .container { padding-left: 22px; padding-right: 22px; }
}

@media (min-width: 1100px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  justify-content: center; min-height: 48px; max-width: 100%;
  line-height: 1.2; text-align: center; white-space: normal;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #1a1a1a; box-shadow: 0 8px 20px rgba(244,123,32,.35); }
.btn-primary:hover { background: #e96e12; }
.btn-wpp { background: #0f7d42; color: #fff; box-shadow: 0 8px 20px rgba(15,125,66,.35); }
.btn-wpp:hover { background: #0b6535; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(7,75,79,.08); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 48px; width: 48px; border-radius: 10px; object-fit: cover; }
.brand { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand b { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); line-height: 1; }
.brand-text span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav .btn-wpp { display: none; }
.nav a { font-weight: 500; color: var(--ink); font-size: .94rem; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brush); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn-wpp::after { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 10px; place-content: center; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  margin-top: var(--header-h);
  background: radial-gradient(1200px 500px at 80% -10%, var(--teal) 0%, var(--teal-dark) 45%, var(--teal-darker) 100%);
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero-text, .hero-visual { max-width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-weight: 600; letter-spacing: .04em; line-height: 1.35; font-size: .9rem; background: rgba(255,255,255,.12); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero-eyebrow i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--brush); }
.hero h1 { max-width: 680px; font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 18px; text-wrap: balance; }
.hero h1 .accent { background: var(--brush); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 22px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-mini span { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.hero-mini svg { width: 18px; height: 18px; flex: none; }

.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-lg); }
.hero-card img { border-radius: 10px; width: 100%; height: 340px; object-fit: cover; }
.hero-tag { position: absolute; bottom: -16px; left: 24px; max-width: calc(100% - 48px); background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hero-tag b { color: var(--teal-dark); font-family: var(--font-head); }
.hero-blob { position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; background: var(--brush); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; opacity: .5; filter: blur(6px); }

/* ---------- CTA rapido ---------- */
.quick-quote { background: #fff; border-bottom: 1px solid var(--line); }
.quick-quote-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding-top: 22px; padding-bottom: 22px;
}
.quick-quote b { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 3px; }
.quick-quote p { color: var(--muted); max-width: 660px; }

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.trust-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust-item .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; }
.trust-item .ico svg { width: 22px; height: 22px; color: var(--teal-dark); }
.trust-item b { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.trust-item small { color: var(--muted); }

/* ---------- Seções genéricas ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--teal-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Serviços (cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards.cards-three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card .card-ico svg { width: 28px; height: 28px; color: var(--teal-dark); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card.feature { background: linear-gradient(160deg, var(--teal-dark), var(--teal-darker)); color: #fff; border: 0; }
.card.feature .card-ico { background: rgba(255,255,255,.15); }
.card.feature .card-ico svg { color: #fff; }
.card.feature p { color: rgba(255,255,255,.85); }

/* ---------- Antes & Depois (comparador) ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ba { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-layer { clip-path: inset(0 0 0 50%); }
.ba .ba-label { position: absolute; bottom: 14px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.ba .ba-label.before { left: 14px; }
.ba .ba-label.after { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; background: #fff; color: var(--teal-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow);
  letter-spacing: -2px;
}
.ba:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.ba-text .kicker { color: var(--teal-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.ba-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 16px; }
.ba-text p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Faixa de atendimento ---------- */
.area-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border-radius: var(--radius); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.area-band h3 { font-size: 1.6rem; margin-bottom: 8px; }
.area-band p { color: rgba(255,255,255,.85); max-width: 520px; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--yellow); margin-bottom: 12px; font-size: 1.05rem; letter-spacing: 2px; }
.quote p { font-style: italic; color: var(--ink); margin-bottom: 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brush); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who b { font-family: var(--font-head); }
.quote .who small { color: var(--muted); display: block; }

/* ---------- Dúvidas frequentes ---------- */
.faq-public { max-width: 860px; min-height: 0; margin: 0 auto; display: grid; gap: 14px; align-content: start; }
.faq-public details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: 0 6px 18px rgba(7,75,79,.05);
}
.faq-public summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-public summary::-webkit-details-marker { display: none; }
.faq-public summary::after { content: "+"; color: var(--teal-dark); font-size: 1.35rem; line-height: 1; }
.faq-public details[open] summary::after { content: "-"; }
.faq-public p { color: var(--muted); margin-top: 12px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; background: radial-gradient(800px 300px at 50% 0%, var(--teal) 0%, var(--teal-dark) 60%, var(--teal-darker) 100%); color: #fff; border-radius: var(--radius); padding: 64px 30px; }
.cta-final h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 28px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #cfd8d8; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 54px; width: 54px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { color: #9fb0b0; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #cfd8d8; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.footer-list { display: flex; flex-direction: column; }
.footer-hours small { display: block; color: #9fb0b0; margin-bottom: 6px; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; }
.socials a:hover { background: var(--brush); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; text-align: center; color: #8a9a9a; font-size: .88rem; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wpp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #0f7d42; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(15,125,66,.45); animation: pulse 2.4s infinite; }
.wpp-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card img { height: 260px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.cards-three { grid-template-columns: repeat(2, 1fr); }
  .ba-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-blob { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; padding: 18px 22px; gap: 18px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
  }
  .nav.open a { font-size: 1rem; }
  .nav.open a.btn-wpp { display: inline-flex; align-self: flex-start; color: #fff; background: #0f7d42; }
  .nav.open a.btn-wpp:hover { color: #fff; background: #0b6535; }
}

@media (max-width: 680px) {
  body { padding-bottom: 56px; }
  .section { padding: 48px 0; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 20px; padding-bottom: 28px; }
  .hero-visual { order: 0; }
  .hero-eyebrow { display: none; }
  .hero h1 { font-size: clamp(1.55rem, 6.8vw, 1.9rem); line-height: 1.1; margin-bottom: 12px; }
  .hero p.lead { max-width: 100%; font-size: .93rem; margin-bottom: 16px; }
  .hero-cta { width: 100%; gap: 8px; margin-bottom: 16px; }
  .hero-cta .btn { width: 100%; min-height: 48px; padding: 12px 16px; }
  .hero-mini { gap: 7px; font-size: .84rem; }
  .hero-mini span { width: 100%; align-items: flex-start; }
  .quick-quote-grid { align-items: stretch; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  .quick-quote .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .trust-item { align-items: flex-start; }
  .cards, .cards.cards-three, .quotes { grid-template-columns: 1fr; }
  .city-seo-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .area-band { padding: 30px 20px; }
  .area-band .btn, .cta-final .btn { width: 100%; }
  .hero-card { border-radius: 14px; padding: 10px; }
  .hero-card img { height: auto; max-height: 160px; aspect-ratio: 16 / 9; }
  .hero-tag { display: none; }
  .hero-blob { display: none; }
  .cta-final { padding: 46px 20px; }
  .page-hero { padding: 40px 0 46px; }
  .page-hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.08rem); }
  .page-hero p { font-size: .96rem; }
  .gal-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .gal-filter { flex: 0 0 auto; }
  .proj-info, .form-card { padding: 22px 20px; }
  .contato-info .ci-item { align-items: flex-start; }
}

@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 44px; border-radius: 9px; }
  .brand b { font-size: 1rem; }
  .brand-text span { font-size: .64rem; letter-spacing: .12em; }
  .menu-toggle { padding: 6px; }
  .hero h1 { font-size: clamp(1.72rem, 8.5vw, 2.05rem); }
  .btn { font-size: .95rem; padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   BOT DE ATENDIMENTO (Pollinations)
   =================================================================== */
.chat-launcher {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 180;
  transition: opacity .2s ease, transform .2s ease;
}
.chat-launcher.is-hidden { display: none; }
.chat-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal-dark); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .2s ease;
  animation: pulse-teal 2.6s infinite;
}
.chat-btn:hover { transform: scale(1.06); }
.chat-btn svg { width: 30px; height: 30px; color: #fff; }
.chat-btn .dot { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }
@keyframes pulse-teal { 0% { box-shadow: 0 0 0 0 rgba(13,138,143,.45);} 70% { box-shadow: 0 0 0 16px rgba(13,138,143,0);} 100% { box-shadow: 0 0 0 0 rgba(13,138,143,0);} }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 190;
  width: 374px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(24px) scale(.97); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; padding: 15px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head img { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.chat-head .t b { font-family: var(--font-head); font-size: 1rem; line-height: 1.1; display: block; }
.chat-head .t small { opacity: .9; font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; }
.chat-head .t small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #44e08a; display: inline-block; }
.chat-head .close { width: 44px; height: 44px; margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1; opacity: .9; display: grid; place-items: center; border-radius: 10px; }
.chat-head .close:hover { opacity: 1; }

.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 86%; padding: 10px 14px; border-radius: 14px;
  font-size: .93rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word;
  animation: msg-enter .22s ease both;
}
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.bot.bot-arrive {
  animation:
    bot-enter .42s cubic-bezier(.18, .86, .32, 1.18) both,
    bot-attention 1.25s ease .08s;
}
.msg.user { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--muted); font-style: italic; }
@keyframes msg-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bot-enter {
  from { opacity: 0; transform: translateX(-12px) translateY(10px) scale(.96); }
  65% { opacity: 1; transform: translateX(2px) translateY(0) scale(1.01); }
  to { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes bot-attention {
  0%, 100% { box-shadow: 0 0 0 rgba(246,124,32,0); }
  38% { box-shadow: 0 0 0 4px rgba(246,124,32,.18), 0 10px 22px rgba(5,72,76,.12); }
}

.chat-wpp { padding: 10px 14px; background: var(--paper); }
.chat-wpp a { display: flex; align-items: center; justify-content: center; gap: 10px; background: #0f7d42; color: #fff; padding: 11px; border-radius: 12px; font-weight: 600; font-family: var(--font-head); font-size: .92rem; }
.chat-wpp a:hover { background: #0b6535; }
.chat-wpp svg { width: 20px; height: 20px; }

.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .92rem; outline: none; }
.chat-input input:focus { border-color: var(--teal); }
.chat-input button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--orange); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-input button:hover { background: #e96e12; }
.chat-input button svg { width: 20px; height: 20px; }

@media (max-width: 680px) {
  body.chat-open { overflow: hidden; }
  .chat-panel {
    inset:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
    z-index: 240;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 16px;
    transform: translateY(18px);
  }
  .chat-panel.open { transform: none; }
  .chat-head { position: relative; z-index: 2; min-height: 58px; padding: 9px 12px; }
  .chat-head img { width: 34px; height: 34px; border-radius: 8px; }
  .chat-head .t b { font-size: .92rem; }
  .chat-head .t small { font-size: .74rem; }
  .chat-head .close {
    width: auto; height: 38px; padding: 0 10px; gap: 5px;
    font-size: 1.25rem; background: rgba(255,255,255,.14);
    display: inline-flex; align-items: center;
  }
  .chat-head .close::after { content: "Fechar"; font-size: .78rem; font-weight: 700; }
  .chat-body { padding: 12px; gap: 8px; }
  .msg { max-width: 92%; font-size: .9rem; padding: 9px 12px; }
  .chat-wpp { padding: 8px 12px; }
  .chat-wpp a { min-height: 46px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
  .chat-input { padding: 10px 12px max(10px, env(safe-area-inset-bottom)); }
  .chat-input input { min-height: 44px; padding: 10px 14px; font-size: .9rem; }
  .chat-input button { width: 44px; height: 44px; }
  .chat-launcher {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .chat-launcher.is-hidden { opacity: 0; pointer-events: none; transform: translateY(14px); }
  .chat-btn { width: 48px; height: 48px; animation: none; }
  .chat-btn svg { width: 23px; height: 23px; }
  .chat-btn .dot { width: 11px; height: 11px; top: 5px; right: 5px; }
}

/* ===================================================================
   PÁGINAS INTERNAS
   =================================================================== */
.page-hero {
  margin-top: var(--header-h);
  background: radial-gradient(900px 400px at 80% -20%, var(--teal) 0%, var(--teal-dark) 50%, var(--teal-darker) 100%);
  color: #fff; padding: 64px 0 70px; text-align: center;
}
.page-hero .kicker { color: rgba(255,255,255,.8); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 14px; }
.page-hero h1 .accent { background: var(--brush); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Galeria de trabalhos ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gal-filter { min-height: 44px; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 9px 20px; border-radius: 999px; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: .92rem; transition: .15s; }
.gal-filter:hover { border-color: var(--teal); color: var(--teal-dark); }
.gal-filter.active { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }

.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.gal-grid { min-height: 560px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.proj .ba { border-radius: 0; box-shadow: none; aspect-ratio: 16/10; }
.proj-info { padding: 22px 24px 26px; }
.proj-cat { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.proj-info h2, .proj-info h3 { font-size: 1.25rem; margin-bottom: 10px; }
.proj-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.proj-desc { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.proj-more { min-height: 44px; background: transparent; border: 2px solid var(--teal); color: var(--teal-dark); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: .15s; }
.proj-more:hover { background: var(--teal); color: #fff; }
.proj-during { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.proj-during.open { max-height: 1200px; }
.proj-during-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 16px; }
.proj-during-grid img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gal-empty { text-align: center; color: var(--muted); padding: 40px; display: none; }

/* ---------- Galeria nova: capa da obra ---------- */
.proj-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--paper); overflow: hidden; aspect-ratio: 16/11; }
.proj-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.proj-cover:hover img { transform: scale(1.05); }
.proj-count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.proj-zoom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 12px 12px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .92rem; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.proj-cover:hover .proj-zoom, .proj-cover:focus-visible .proj-zoom { opacity: 1; transform: none; }

/* ---------- Visualizador em tela cheia (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 20, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: fixed; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-count { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; background: rgba(0,0,0,.45); padding: 6px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
@media (max-width: 680px) {
  .lb-close { top: 12px; right: 14px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ---------- Serviços (detalhado) ---------- */
.serv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.serv-block:nth-child(even) .serv-visual { order: 2; }
.serv-visual { background: linear-gradient(160deg, var(--teal-dark), var(--teal-darker)); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; color: #fff; }
.serv-visual svg { width: 90px; height: 90px; opacity: .9; }
.serv-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.serv-text p { color: var(--muted); margin-bottom: 14px; }
.serv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.serv-tags span { background: var(--teal-soft); color: var(--teal-dark); padding: 6px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500; }

/* ---------- Onde atendemos ---------- */
.map-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.map-frame .leaflet-map { width: 100%; height: 420px; z-index: 1; }
.map-placeholder { height: 100%; min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); background: var(--paper); padding: 24px; }
.map-legend { text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.map-legend-box { background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 8px; font-size: .74rem; line-height: 1.35; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); max-width: 230px; }
.map-legend-box .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); opacity: .55; margin-right: 5px; vertical-align: middle; }
@media (max-width: 680px) { .map-frame .leaflet-map { height: 320px; } }
.region { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 14px; }
.region.main { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border: 0; }
.region h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.region p { font-size: .95rem; color: var(--muted); }
.region.main p { color: rgba(255,255,255,.9); }
.region .cities { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.region .cities span { background: var(--paper); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; font-size: .82rem; }
.region.main .cities span { background: rgba(255,255,255,.15); border-color: transparent; color: #fff; }
.note-band { background: var(--paper); border: 1px dashed var(--teal); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 20px; color: var(--teal-darker); }
.city-seo { margin-top: 54px; }
.city-seo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.city-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.city-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.city-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sobre-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.sobre-text p { color: var(--muted); margin-bottom: 14px; white-space: pre-line; }
.sobre-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.valor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.valor .vico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; background: var(--teal-soft); display: grid; place-items: center; }
.valor .vico svg { width: 26px; height: 26px; color: var(--teal-dark); }
.valor h3 { font-size: 1.1rem; margin-bottom: 8px; }
.valor p { color: var(--muted); font-size: .94rem; }

/* ---------- Contato ---------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-fast {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.contact-fast .kicker { color: var(--teal-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.contact-fast h2 { font-size: 1.35rem; margin: 4px 0 6px; }
.contact-fast p { color: var(--muted); max-width: 640px; }
.contato-info .ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contato-info .ci-item .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; }
.contato-info .ci-item .ico svg { width: 22px; height: 22px; color: var(--teal-dark); }
.contato-info .ci-item b { font-family: var(--font-head); display: block; }
.contato-info .ci-item a, .contato-info .ci-item span { color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card .field { margin-bottom: 16px; }
.form-card label { display: block; font-weight: 600; font-family: var(--font-head); font-size: .9rem; margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: .95rem; outline: none; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,138,143,.12); }

@media (max-width: 980px) {
  .gal-grid { grid-template-columns: 1fr; }
  .serv-block, .map-wrap, .sobre-grid, .contato-grid { grid-template-columns: 1fr; gap: 28px; }
  .city-seo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-fast { align-items: stretch; flex-direction: column; }
  .contact-fast .btn { width: 100%; }
  .serv-block:nth-child(even) .serv-visual { order: 0; }
  .valores { grid-template-columns: 1fr; }
}
