/* ==========================================================================
   TOTS Engenharia — identidade visual
   Linguagem visual inspirada em portais públicos de Florianópolis:
   Montserrat, ciano + ardósia + laranja, formas retas e títulos em caixa alta.
   ========================================================================== */

:root {
  /* ---- Neutros ---- */
  --ink: #2c354a;
  --ink-2: #363e42;
  --text: #474747;
  --muted: #666666;
  --muted-2: #9b9b9b;
  --line: #e7e7e7;
  --line-2: #cccccc;
  --bg: #ffffff;
  --bg-soft: #f1f1f1;

  /* ---- Cor principal (ciano) ---- */
  --primary: #139dd1;
  --primary-rgb: 19, 157, 209;
  --primary-600: #1189b7;
  --primary-700: #1b6f91;
  --primary-teal: #278aae;
  --primary-400: #45b5d8;
  --primary-300: #8fd3ec;
  --primary-300-rgb: 143, 211, 236;
  --primary-200: #c3e7f5;
  --primary-100: #e3f4fb;
  --primary-50: #f2fafd;

  /* ---- Cor de destaque (laranja) ---- */
  --accent: #fd9812;
  --accent-rgb: 253, 152, 18;
  --accent-hover: #ffa733;
  --accent-600: #e5850a;
  --accent-800: #8f5200;
  --accent-200: #fed9a6;
  --accent-100: #fff1de;
  --accent-ink: #2c354a;

  /* ---- Fundos escuros (ardósia) ---- */
  --dark: #2c354a;
  --dark-2: #232a3b;
  --dark-rgb: 44, 53, 74;

  --green: #16a34a;
  --red: #c62828;
  --whatsapp: #25d366;

  --radius-sm: 2px;
  --radius: 3px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .12);
  --shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .08);
  --shadow-hover: 0 10px 26px -6px rgba(0, 0, 0, .28);
  --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, .35);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --topbar-h: 36px;
  --header-h: 112px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.i { width: 1em; height: 1em; flex: none; }

/* ---------- Botões (retos, caixa alta) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn .i { font-size: 18px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 14.5px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 12.5px; }
.btn--block { width: 100%; }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }
.btn--blue { background: var(--primary); color: #fff; }
.btn--blue:hover { background: var(--primary-600); }
.btn--amber { background: var(--accent); color: var(--accent-ink); }
.btn--amber:hover { background: var(--accent-hover); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-700); }

/* ---------- Rótulo de seção ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  color: var(--accent-800); /* #E5850A sobre branco fica abaixo do contraste mínimo (manual, seção 5) */
}
.tag::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.tag b { display: none; }
.tag--dark { color: var(--accent); }
.tag--amber { color: var(--accent-800); }

/* ---------- Seções ---------- */
.section { position: relative; padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.section-head .title { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

.title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600; letter-spacing: .01em; line-height: 1.25; text-transform: uppercase;
  color: var(--ink);
}
.lead { font-size: 17px; line-height: 1.75; color: var(--muted); }

.section-cta { margin-top: 44px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.section--dark { background: var(--dark); color: #fff; }
.section--dark .title { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Header (barra superior + barra principal) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled, .site-header.menu-open { box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }

.topbar { height: var(--topbar-h); background: var(--dark); color: rgba(255, 255, 255, .85); font-size: 12.5px; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.topbar-contact { display: flex; align-items: center; }
.topbar-contact a { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.topbar-contact a:first-child { border-left: 0; }
.topbar-contact a:hover { color: var(--primary-300); }
.topbar-wa { display: inline-flex; align-items: center; gap: 6px; }
.topbar-wa .i { font-size: 15px; color: var(--whatsapp); }

.header-inner { height: calc(var(--header-h) - var(--topbar-h)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-toggle {
  position: relative; padding: 10px 14px;
  font-size: 15px; font-weight: 400; color: var(--text);
  transition: color .2s ease;
}
.nav > a::after, .nav-toggle::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s ease; }
.nav > a:hover, .nav-toggle:hover { color: var(--primary); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav-toggle.is-current::after { transform: scaleX(1); }
.nav > a[aria-current="page"], .nav-toggle.is-current { color: var(--primary); font-weight: 600; }

/* Submenu "Serviços" */
.nav-item { position: relative; }
.nav-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-toggle::after { right: 36px; }
.nav-toggle .i { font-size: 16px; transition: transform .2s ease; }
.nav-item--dropdown:hover .nav-toggle, .nav-item--dropdown.is-open .nav-toggle { color: var(--primary); }
.nav-item--dropdown:hover .nav-toggle .i, .nav-item--dropdown.is-open .nav-toggle .i { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 16px); left: 0; z-index: 10;
  display: none; grid-template-columns: repeat(2, max-content); gap: 0 28px;
  padding: 22px 22px 18px; background: #fff; border-top: 3px solid var(--primary);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .06);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 16px; }
.nav-item--dropdown:hover .submenu, .nav-item--dropdown.is-open .submenu { display: grid; }
.submenu-group { display: flex; flex-direction: column; min-width: 210px; }
.submenu-title { margin-bottom: 6px; padding: 0 10px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.submenu a { padding: 9px 10px; font-size: 14.5px; color: var(--text); white-space: nowrap; transition: color .15s ease, background-color .15s ease; }
.submenu a:hover, .submenu a:focus-visible { color: var(--primary); background: var(--primary-50); }
.submenu a[aria-current="page"] { color: var(--primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.site-header .btn--dark { background: var(--primary); }
.site-header .btn--dark:hover { background: var(--primary-600); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-toggle .i { font-size: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

.mobile-menu { display: none; }

/* ---------- Hero (faixa escura com curvas de nível) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background-color: var(--dark-2);
  background-image:
    repeating-radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .055) 0 1px, transparent 1px 26px),
    repeating-radial-gradient(circle at 6% 92%, rgba(255, 255, 255, .045) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}
.hero > .container { position: relative; }
.hero-copy {
  max-width: 920px; margin: 0 auto; padding: 44px 48px 40px; text-align: center;
  background: rgba(var(--dark-rgb), .82); border-top: 4px solid var(--primary);
}
.hero .tag { color: var(--accent); }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700; letter-spacing: -0.005em; line-height: 1.15;
  color: #fff;
}
.hl { color: var(--primary-400); }
.hero-sub { max-width: 720px; margin: 20px auto 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero-actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .btn--dark { background: var(--accent); color: var(--accent-ink); }
.hero .btn--dark:hover { background: var(--accent-hover); }
.hero .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--outline:hover { border-color: #fff; color: #fff; }
.hero-trust { margin-top: 26px; display: flex; justify-content: center; gap: 10px 24px; flex-wrap: wrap; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.hero-trust .i { font-size: 16px; color: var(--primary-400); }

/* Ilustração técnica */
.mockup-wrap { position: relative; max-width: 1040px; margin: 56px auto 0; }
.mockup { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mockup-bar { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--primary); color: #fff; }
.mockup-dots { display: none; }
.mockup-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mockup-coord { margin-left: auto; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }

.mockup-body { display: grid; grid-template-columns: 1.35fr 1fr; }
.mockup-plan {
  position: relative; padding: 22px;
  background-color: var(--primary-50);
  background-image:
    linear-gradient(rgba(var(--primary-rgb), .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), .08) 1px, transparent 1px);
  background-size: 20px 20px;
  border-right: 1px solid var(--line);
}
.mockup-plan svg { width: 100%; height: auto; }
.plan-caption {
  position: absolute; right: 16px; top: 14px;
  font-size: 11px; font-weight: 600; color: var(--primary-700);
  background: #fff; padding: 4px 8px; border: 1px solid var(--primary-200);
}
.mock-docs { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mock-doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--primary-200); border-left: 3px solid var(--primary); font-size: 14px; font-weight: 500; color: var(--ink); }
.mockup-plan .mock-doc > .i { flex: none; width: 1em; height: 1em; font-size: 18px; color: var(--primary-teal); }
.mock-doc .chip { margin-left: auto; flex: none; }
.mock-doc--now { border-left-color: var(--accent); }
.mock-doc--todo { border-left-color: var(--line-2); color: var(--muted); }
.mock-doc--todo > .i { color: var(--muted-2); }
.mock-doc--todo .chip { background: var(--bg-soft); color: var(--muted); }
.mockup-side { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.mock-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); }
.mock-title { margin-top: 4px; font-size: 19px; font-weight: 700; color: var(--ink); }
.mock-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  background: var(--primary-100); color: var(--primary-700);
}
.chip--amber { background: var(--accent-100); color: var(--accent-800); }
.mock-steps { display: flex; flex-direction: column; gap: 2px; }
.mock-step { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mock-step:last-child { border-bottom: 0; }
.mock-step em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
.dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.dot .i { font-size: 12px; color: #fff; stroke-width: 3; }
.dot--done { background: var(--primary); }
.dot--now { background: var(--accent-100); border: 2px solid var(--accent); }
.dot--now::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot--todo { border: 2px solid var(--line-2); background: #fff; }
.mock-step--todo { color: var(--muted-2); }
.mock-step--now em { color: var(--accent-800); }
.progress { margin-top: auto; }
.progress-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.progress-head b { color: var(--ink); }
.progress-bar { height: 8px; background: var(--line); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--primary); }

.mockup-float {
  position: absolute; left: -24px; bottom: -28px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--dark); color: #fff; border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.mockup-float .ico { width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.mockup-float .ico .i { font-size: 22px; }
.mockup-float strong { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mockup-float span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Grids e cartões ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-top-color: var(--primary); }
.card h3 { margin-top: 20px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.card p + p { margin-top: 10px; }
.card-num { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 700; color: var(--line-2); }

.icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.icon .i { font-size: 22px; }
.icon--amber { background: var(--accent); color: var(--accent-ink); }

/* Cartão compacto */
.mini {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; border-left: 3px solid var(--primary);
  transition: box-shadow .2s ease;
}
.mini:hover { box-shadow: var(--shadow-hover); }
.mini .icon { flex: none; width: 42px; height: 42px; }
.mini .icon .i { font-size: 20px; }
.mini h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.mini p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Cartões em fundo escuro */
.dcard { position: relative; padding: 26px; background: rgba(255, 255, 255, .06); border-top: 3px solid var(--primary); transition: background-color .25s ease; }
.dcard:hover { background: rgba(255, 255, 255, .1); }
.dcard h3 { margin-top: 18px; font-size: 16px; font-weight: 600; color: #fff; }
.dcard p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); }

/* ---------- Em campo: blocos de cor chapada ---------- */
.field-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.photo { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; color: #fff; background: var(--primary); isolation: isolate; transition: filter .2s ease; }
.photo:nth-child(1) { background: var(--accent); color: var(--accent-ink); }
.photo:nth-child(2) { background: var(--primary); }
.photo:nth-child(3) { background: var(--primary-teal); }
.photo:nth-child(4) { background: var(--dark); }
.photo:hover { filter: brightness(1.06); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.photo:has(img) figcaption { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); color: #fff; }
.photo-ico { position: absolute; top: 22px; left: 22px; }
.photo-ico .i { font-size: 34px; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.photo figcaption span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.photo figcaption strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }

/* ---------- FAQ ---------- */
.faq-section { overflow: hidden; }
.faq-deco { display: none; }
.faq { position: relative; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--line); margin-bottom: 8px; transition: border-color .2s ease; }
.faq details[open] { border-left-color: var(--primary); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { font-size: 20px; color: var(--primary); transition: transform .25s ease; }
.faq details[open] summary { color: var(--primary-700); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:hover { color: var(--primary-700); }
.faq-body { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.faq-body p + p { margin-top: 12px; }
.faq-body a { color: var(--primary-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Faixa de chamada ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 44px 48px; background: var(--dark); color: #fff;
  border-left: 6px solid var(--accent);
}
.cta-band h2 { max-width: 720px; font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; line-height: 1.35; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: 15.5px; }

/* ---------- Passo a passo ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; }
.step-time {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-600);
}
.step-time .i { font-size: 14px; }
.step h3 { margin-top: 10px; }
.step--final { border-top-color: var(--primary); }
.step--final .card-num { color: var(--primary); }
.step-flag {
  position: absolute; top: -14px; left: 28px;
  padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--primary); color: #fff;
}
.steps-note {
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: 32px auto 0; max-width: 860px; padding: 18px 22px;
  background: #fff; border-left: 4px solid var(--primary); box-shadow: var(--shadow);
  color: var(--ink); font-weight: 500; text-align: center;
}
.steps-note .i { font-size: 20px; color: var(--primary); }
.steps-sub { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-800); background: var(--accent-100); padding: 8px 14px; }

/* ---------- Problema (condomínios) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.split-label { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.issue-list { display: grid; gap: 10px; }
.issue { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; box-shadow: var(--shadow); border-left: 3px solid var(--accent); font-weight: 500; color: var(--ink); }
.issue .icon { width: 36px; height: 36px; }
.issue .icon .i { font-size: 18px; }
.impact { position: relative; padding: 36px; background: var(--dark); color: #fff; border-top: 4px solid var(--accent); }
.impact h3 { font-size: 19px; font-weight: 600; line-height: 1.4; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.impact ul { margin-top: 22px; display: grid; gap: 4px; }
.impact li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15.5px; color: rgba(255, 255, 255, .88); }
.impact li:last-child { border-bottom: 0; }
.impact li .i { font-size: 18px; color: var(--accent); }

/* ---------- Depoimentos ---------- */
.quotes { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.quotes > .quote-card { flex: 0 1 calc((100% - 48px) / 3); }
.quote-card { display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .i { font-size: 17px; }
.quote-card blockquote { margin: 16px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--text); flex: 1; }
.quote-card blockquote strong { font-weight: 600; color: var(--ink); }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--primary); color: #fff; }
.quote-author strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.quote-author span { font-size: 13px; color: var(--muted); }
.quote-author .avatar { flex: none; font-size: 14px; color: #fff; }

/* ---------- Texto corrido (seções explicativas das páginas de serviço) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose p { font-size: 16px; line-height: 1.85; color: var(--text); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose h3 { margin-top: 36px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.prose h3 + p, .prose h3 + ul { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; background: var(--primary); }
.prose a, .card p a, .mini p a, .steps-note a, .callout a { color: var(--primary-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose + .grid, .prose + .split { margin-top: 44px; }
.callout { max-width: 860px; margin: 32px auto 0; padding: 20px 24px; background: var(--primary-50); border-left: 4px solid var(--primary); font-size: 15px; line-height: 1.75; color: var(--text); }
.callout strong { color: var(--ink); }

/* ---------- Serviços relacionados ---------- */
.service-link { display: flex; flex-direction: column; color: inherit; }
.service-link p { flex: 1; }
.service-link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.service-link-more .i { font-size: 16px; transition: transform .2s ease; }
.service-link:hover .service-link-more .i { transform: translateX(4px); }

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about .lead { margin-top: 18px; }
.team-roles { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.team-roles li { padding: 7px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .15); }
.stat { padding: 32px 24px 0; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; line-height: 1; color: #fff; }
.stat strong small { font-size: .6em; color: var(--accent); margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* ---------- Contato ---------- */
.contact-section { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact .title { margin-top: 14px; }
.contact .lead { margin-top: 16px; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); }
.contact-list a:hover { color: var(--primary-700); }
.contact-list .icon { width: 44px; height: 44px; }
.contact-list small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.contact-perks { margin-top: 32px; display: grid; gap: 10px; }
.contact-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.contact-perks .i { color: var(--green); font-size: 18px; }

.form-card { background: #fff; padding: 36px; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.form-card h3 { font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.form-card > p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.form { margin-top: 24px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23139dd1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input::placeholder, .field textarea::placeholder { color: #a6a6a6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 40, .1); }
.field-error { display: none; font-size: 13px; color: var(--red); }
.field.is-invalid .field-error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-note a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #ecfdf3; border-left: 4px solid var(--green); color: #14532d; font-size: 14.5px; }
.form-success .i { font-size: 20px; color: var(--green); margin-top: 1px; }
.form-success.is-visible { display: flex; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 64px 0 0; background: var(--dark); color: rgba(255, 255, 255, .75); }
.site-footer .brand-logo { height: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { margin-top: 16px; max-width: 340px; font-size: 14px; line-height: 1.75; }
.socials { margin-top: 20px; display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s ease; }
.socials a:hover { background: var(--primary); }
.socials .i { font-size: 18px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: var(--primary-300); }
.footer-bottom {
  margin-top: 48px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .6);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { font-size: 30px; }

/* ---------- Páginas legais ---------- */
.legal { padding: calc(var(--header-h) + 56px) 0 96px; background: linear-gradient(180deg, var(--bg-soft) 0, var(--bg-soft) 260px, #fff 260px); }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal h1 { margin-top: 16px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.legal .updated { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--muted-2); }
.legal h2 { margin-top: 40px; font-size: 18px; font-weight: 600; color: var(--ink); }
.legal p, .legal li { margin-top: 12px; font-size: 15.5px; line-height: 1.8; color: var(--text); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: var(--primary-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Desenhos técnicos ---------- */
.mockup-plan [stroke="#1e5bd8"] { stroke: var(--primary-teal); }
.mockup-plan [fill="#1e5bd8"] { fill: var(--primary-teal); }
.mockup-plan [fill="#1a4fbf"] { fill: var(--primary-700); }
.mockup-plan [stroke="#e08e0b"] { stroke: var(--accent-600); }
.mockup-plan [fill="#e08e0b"] { fill: var(--accent-600); }
.mockup-plan [fill="#8a5300"] { fill: var(--accent-800); }
.mockup-plan [stroke="#9db8f2"] { stroke: var(--primary-300); }
.mockup-plan [fill="#7d9ce0"], .mockup-plan [fill="#6f8fd6"] { fill: var(--primary-400); }
.mockup-plan [fill="#dfe8fb"] { fill: var(--primary-100); }
.mockup-plan [stroke="#c9d6f2"] { stroke: var(--primary-200); }
.mockup-plan [fill="#0a1428"] { fill: var(--ink); }
.mockup-plan [stroke="#0a1428"] { stroke: var(--ink); }
.mockup-plan [fill="rgba(30,91,216,.09)"], .mockup-plan [fill="rgba(30,91,216,.08)"] { fill: rgba(var(--primary-rgb), .1); }
.mockup-plan [fill="rgba(245,165,36,.14)"], .mockup-plan [fill="rgba(245,165,36,.16)"] { fill: rgba(var(--accent-rgb), .18); }

/* ---------- Animação de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
  .grid-4, .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .topbar-contact a:not(:first-child) { display: none; }
  .topbar-inner { justify-content: center; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    padding: 8px 24px 24px; background: #fff; border-bottom: 3px solid var(--primary);
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .3);
  }
  .menu-open .mobile-menu { display: block; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu-title { display: block; padding: 20px 4px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .mobile-menu-title:first-child { padding-top: 12px; }
  .mobile-menu .btn { position: sticky; bottom: 12px; box-shadow: 0 12px 0 0 #fff, 0 -14px 14px -2px #fff; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu a[aria-current="page"] { color: var(--primary); font-weight: 600; }
  .mobile-menu .btn { margin-top: 18px; width: 100%; background: var(--primary); }

  .mockup-body { grid-template-columns: 1fr; }
  .mockup-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .mockup-side { padding-bottom: 60px; }
  .mockup-float { left: 50%; transform: translateX(-50%); bottom: -34px; white-space: nowrap; }
  .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes > .quote-card { flex-basis: calc((100% - 24px) / 2); }
  .split, .contact { grid-template-columns: 1fr; }
  .contact { gap: 40px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-bottom: 24px; }
  .stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 680px) {
  :root { --header-h: 100px; --topbar-h: 32px; }
  .topbar { font-size: 11.5px; }
  .site-header .brand-logo { height: 42px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .hero { padding: calc(var(--header-h) + 28px) 0 72px; }
  .hero-copy { padding: 28px 18px 26px; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .mockup-wrap { margin-top: 40px; }
  .mockup-coord, .plan-caption { display: none; }
  .mockup-side { padding: 22px 18px 60px; }
  .mockup-plan { padding: 14px; }
  .mockup-float { padding: 10px 14px 10px 10px; }
  .mockup-float span { display: none; }
  .grid-2, .grid-3, .grid-4, .steps, .steps--4, .about-cards { grid-template-columns: 1fr; }
  .quotes > .quote-card { flex-basis: 100%; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo figcaption { padding: 14px; }
  .photo figcaption strong { font-size: 14px; }
  .photo-ico { top: 14px; left: 14px; }
  .photo-ico .i { font-size: 26px; }
  .card { padding: 24px; }
  .faq summary { font-size: 15px; padding: 16px; }
  .faq-body { padding: 0 16px 18px; }
  .cta-band { padding: 28px 20px; border-left-width: 4px; }
  .cta-band .btn { width: 100%; }
  .section-cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 16px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
