:root {
  --bg: #f7f8f9;
  --bg-soft: #eceff1;
  --bg-dark: #1c2126;
  --ink: #1f2528;
  --ink-soft: #4b565d;
  --accent: #1f5f7a;
  --accent-dark: #174a5f;
  --accent-light: #7ec3dc;
  --on-dark: #eef2f4;
  --on-dark-soft: #b9c4ca;
  --line: #d5dbe0;
  --field-border: #8e9aa1;
  --hero-a: #262d33;
  --hero-b: #2d353c;
  --hero-c: #21282d;
  --radius: 10px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
code { background: var(--bg-soft); padding: 0 .3em; border-radius: 4px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .75rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent-dark); margin: 0 0 .75rem; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--accent-light); }
.section__lead { max-width: 640px; color: var(--ink-soft); margin: 0 0 2rem; }
.section--dark .section__lead { color: var(--on-dark-soft); }
.note { margin-top: 1.25rem; font-size: .85rem; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--small { min-height: 44px; }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--bg-dark); color: var(--on-dark); }
.header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--accent); border-radius: 6px; color: var(--accent-light); }
.nav-toggle { width: 48px; height: 48px; background: none; border: 0; display: grid; align-content: center; gap: 5px; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--on-dark); }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-dark); padding: 8px 16px 20px; flex-direction: column; }
.nav.is-open { display: flex; }
.nav a { padding: 12px 0; min-height: 44px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav a.btn { margin-top: 12px; border-bottom: 2px solid var(--accent); justify-content: center; }

/* Hero */
.hero { color: #fff; background:
  linear-gradient(180deg, rgba(28,33,38,.55), rgba(28,33,38,.85)),
  repeating-linear-gradient(92deg, var(--hero-a) 0 14px, var(--hero-b) 14px 30px, var(--hero-c) 30px 42px);
  padding: 96px 0 80px; }
.hero__inner { max-width: 820px; }
.hero .eyebrow { color: var(--accent-light); }
.hero__lead { font-size: 1.1rem; max-width: 620px; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Stats */
.stats { background: var(--accent); color: #fff; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; padding-bottom: 32px; text-align: center; }
.stats strong { display: block; font-family: var(--font-serif); font-size: 2.2rem; }
.stats span { font-size: .9rem; }

/* Benefits */
.benefits { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.benefits__list { list-style: none; margin: 0; padding: 32px 0; display: grid; gap: 20px; }
.benefits__list li { padding-left: 14px; border-left: 3px solid var(--accent); }
.benefits__list strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; }
.benefits__list span { color: var(--ink-soft); font-size: .92rem; }

.section__cta { margin: 2rem 0 0; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.5rem; color: var(--ink-soft); }
.rating__stars, .stars { color: #b8801f; letter-spacing: .1em; }
.rating strong { color: var(--ink); font-size: 1.2rem; }
.card .stars { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cards */
.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.card p { margin: 0; color: var(--ink-soft); }
.quote p { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.quote footer { margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); }

/* Materials */
.materials { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.materials li { padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
.materials strong { display: block; font-family: var(--font-serif); font-size: 1.35rem; color: var(--accent-light); margin-bottom: .25rem; }
.materials span { color: var(--on-dark-soft); }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 20px 20px 20px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Gallery (placeholders — trocar por <img> reais) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0; }
.chip { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; }
.chip.is-active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery li[hidden] { display: none; }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; color: #fff; text-align: left; padding: 0; }
.tile span { position: absolute; inset: auto 0 0 0; padding: 32px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-weight: 500; }
.tile--1 { background: repeating-linear-gradient(90deg, #3f4a52 0 18px, #48545d 18px 40px); }
.tile--2 { background: repeating-linear-gradient(0deg, #2a3238 0 22px, #343d44 22px 44px); }
.tile--3 { background: linear-gradient(135deg, #5b6d78, #2f3a42); }
.tile--4 { background: repeating-linear-gradient(45deg, #20262b 0 16px, #2a3238 16px 32px); }
.tile--5 { background: repeating-linear-gradient(90deg, #6f8593 0 26px, #7b929f 26px 52px); }
.tile--6 { background: linear-gradient(160deg, #44535d, #1c2126); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
summary { padding: 16px 20px; min-height: 48px; cursor: pointer; font-weight: 600; }
details p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; gap: 40px; }
.contact__list { font-style: normal; display: grid; gap: 14px; }
.contact__list p { margin: 0; }
.contact__list a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.social { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: start; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.field--check input { width: 24px; min-height: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--accent-dark); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--bg-soft); border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.error { margin: 6px 0 0; color: #b3261e; font-size: .88rem; min-height: 0; }
.error:not(:empty)::before { content: "⚠ " / ""; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer / FAB */
.footer { background: var(--bg-dark); color: var(--on-dark-soft); padding: 28px 0; font-size: .9rem; }
.footer__bar { display: grid; gap: 6px; }
.footer p { margin: 0; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25a244; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.3); }

/* Barra de contato fixa (mobile); no desktop o FAB assume */
.fab { display: none; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bg-dark); box-shadow: 0 -4px 14px rgba(0,0,0,.25); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: #fff; font-weight: 600; text-decoration: none; }
.mobile-bar__call { background: var(--bg-dark); }
.mobile-bar__wa { background: #1e7a35; }
body { padding-bottom: 52px; }

/* Lightbox — backdrop nunca fecha ao clicar fora; só pelo X */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__card { position: relative; width: 100%; max-width: 760px; background: #fff; border-radius: var(--radius); padding: 12px 12px 16px; }
.lightbox__img { aspect-ratio: 4 / 3; border-radius: 8px; }
.lightbox__card p { margin: 12px 4px 0; font-weight: 500; }
.lightbox__close { position: absolute; top: -16px; right: -4px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .benefits__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 24px; padding: 0; background: none; }
  .nav a { border: 0; padding: 0; min-height: 0; }
  .nav a.btn { margin: 0; padding: 0 1.25rem; min-height: 44px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .materials { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 16px 20px; }
  .steps li::before { left: 16px; }
  .benefits__list { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .fab { display: grid; }
  .contact { grid-template-columns: 1fr 1fr; }
  .footer__bar { grid-template-columns: 1fr auto; }
  .section { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
