:root {
  --teal: #009999;
  --teal-dark: #006f6f; /* texto/botões: contraste AA sobre branco */
  --teal-soft: #e6f5f5;
  --ink: #12232a;
  --muted: #4d5f66;
  --line: #d9e3e5;
  --bg: #ffffff;
  --bg-alt: #f4f8f8;
  --warn: #b35c00;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
section[id] { scroll-margin-top: 64px; } /* não ficar por baixo do cabeçalho fixo */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.top img { height: 30px; width: auto; display: block; }
.top-contacts { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--teal-dark); background: var(--teal-dark); color: #fff; cursor: pointer; font: inherit; font-weight: 700; }
.btn:hover { background: #005757; border-color: #005757; }
.btn.ghost { background: transparent; color: var(--teal-dark); }
.btn.ghost:hover { background: var(--teal-soft); }
.btn.sm { padding: 8px 14px; font-size: .9rem; }
.btn:disabled { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }

/* Hero */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--teal-soft), #fff); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.checks li { padding-left: 26px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.switch { margin-top: 20px; font-size: .95rem; color: var(--muted); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.2fr .8fr; } }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); display: block; }

/* Fotografias de obra */
.gallery-intro { margin-top: 48px; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* Cards / grids */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { color: var(--teal-dark); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--teal); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 52px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 16px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

ol.sections { columns: 2 280px; column-gap: 32px; padding-left: 1.3em; margin: 0; }
ol.sections li { break-inside: avoid; margin-bottom: 8px; }
ul.tick { list-style: none; padding: 0; margin: 0; }
ul.tick li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.note { border-left: 4px solid var(--teal); background: var(--teal-soft); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-top: 20px; }

/* Technician / trust */
.trust { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.trust img { width: 110px; }
.trust .who { flex: 1 1 280px; }

/* Form */
.form-wrap { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .form-wrap { grid-template-columns: 1fr 1.4fr; } }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; padding: 18px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #b9c7ca; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.radios { display: flex; gap: 20px; flex-wrap: wrap; }
.radios label, .consent label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 0; }
.radios input, .consent input { width: auto; margin: 0; }
.consent label { align-items: flex-start; font-size: .9rem; }
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
#form-status { font-weight: 600; margin: 0; }
#form-status.ok { color: var(--teal-dark); }
#form-status.err { color: var(--warn); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { background: var(--ink); color: #cfdadd; padding: 40px 0 96px; font-size: .9rem; }
footer a { color: #fff; }
footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer .legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid #2c3f46; font-size: .8rem; color: #93a5aa; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: #1f7a45; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.wa:hover { background: #17633a; }

@media (max-width: 560px) {
  .top .call-label { display: none; }
  .top img { height: 24px; }
  .btn { white-space: nowrap; }
  section { padding: 44px 0; }
}
