:root {
  --ink: #062e39;
  --muted: #565969;
  --teal: #65c5c6;
  --teal-deep: #128c7e;
  --wa: #25d366;
  --paper: #f4f5f9;
  --line: #e4e7ee;
  --white: #fff;
  --shadow: 0 18px 50px rgba(6, 46, 57, 0.12);
  --header: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--muted);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
section[id] { scroll-margin-top: 84px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-solid {
  background: rgba(6, 46, 57, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: min(230px, 52vw); height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover, .nav a.is-active { color: var(--teal); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  cursor: pointer;
}
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { display: grid; }
.dropdown-panel a {
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 8px;
}
.dropdown-panel a:hover { background: var(--paper); color: var(--teal-deep); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 40px) 0 150px;
  background:
    linear-gradient(100deg, rgba(6, 46, 57, 0.78) 0%, rgba(6, 46, 57, 0.5) 48%, rgba(6, 46, 57, 0.38) 100%),
    url("../fundo.jpg") center 30% / cover no-repeat;
  color: #fff;
}
.hero h1 {
  margin: 0 0 16px;
  max-width: 12ch;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero p { max-width: 640px; margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.94); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-call { background: var(--teal); color: #07343a; }
.btn-wa { background: var(--wa); color: #06321a; }
.btn-ink { background: var(--ink); }

.features { margin-top: -90px; position: relative; z-index: 2; padding-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card, .step-card, .treat-card, .review, .vmv-card, .contact-card, .why-card {
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-card { text-align: center; padding: 42px 28px 36px; }
.feature-card svg, .step-card svg, .why-card svg { color: var(--teal); }
.feature-card h2, .step-card h3, .why-card h3, .vmv-card h3, .contact-card h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}
.feature-card p, .step-card p, .why-card p { margin: 0; }

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid #d5d8e0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
h2.display {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.accent { color: var(--teal); }
.lead { margin: 0; font-size: 17px; }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-media { display: grid; grid-template-columns: 180px 1fr; min-height: 360px; background: #d7e7ea; }
.stat {
  background: var(--teal);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.stat strong { font-size: 64px; line-height: .9; font-weight: 700; }
.stat span { margin-top: 8px; font-weight: 700; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.checks { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 22px 0 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.checks span { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--teal); }

.steps { background: var(--paper); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { position: relative; padding: 54px 22px 28px; text-align: center; }
.step-card b {
  position: absolute;
  top: 0; right: 0;
  background: var(--teal);
  color: #fff;
  min-width: 42px;
  padding: 6px 8px;
  font-size: 14px;
}

.treat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.treat-card { grid-column: span 2; }
.treat-card:nth-child(4) { grid-column: 2 / span 2; }
.treat-card:nth-child(5) { grid-column: 4 / span 2; }
.treat-card { overflow: hidden; display: flex; flex-direction: column; }
.treat-card img { height: 210px; width: 100%; object-fit: cover; }
.treat-card div { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.treat-card h3 { margin: 0; color: var(--ink); font-size: 24px; }
.treat-card p { margin: 0; flex: 1; }
.treat-card .btn { align-self: flex-start; min-height: 44px; padding: 10px 18px; box-shadow: none; }

.logos { padding: 28px 0 10px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 36px; }
.logo-row img { height: 42px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.logo-row img:hover { filter: none; opacity: 1; }

.cta-band {
  position: relative;
  margin: 30px auto 10px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(6,46,57,.88), rgba(18,140,126,.78)),
    url("../fundo.jpg") center / cover;
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); }
.cta-band p { margin: 0 0 22px; }
.cta-band .shape { position: absolute; width: 90px; opacity: .35; pointer-events: none; }
.cta-band .shape-a { left: 18px; bottom: 12px; }
.cta-band .shape-b { right: 10px; top: 10px; width: 120px; }

.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-grid img:first-child { grid-row: 1 / span 2; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 28px 24px; }
.review p { margin: 0 0 18px; color: var(--ink); font-size: 16px; }
.review strong { display: block; color: var(--ink); }
.review span { font-size: 14px; }

.why { background: var(--ink); color: rgba(255,255,255,.86); }
.why .section-head h2, .why .eyebrow { color: #fff; border-color: rgba(255,255,255,.3); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: rgba(255,255,255,.06); color: rgba(255,255,255,.86); padding: 28px 20px; box-shadow: none; text-align: center; }
.why-card h3 { color: #fff; font-size: 20px; }

.vmv { background: #fff; }
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vmv-card { padding: 32px 26px; border-top: 4px solid var(--teal); }
.vmv-card h3 { color: var(--teal); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
form { background: #fff; padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
form label.full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfbfd;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }
.btn-send { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; margin: 0; min-height: 1.2em; color: var(--teal-deep); font-weight: 700; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { padding: 22px; }
.contact-card a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: clamp(16px, 4.6vw, 22px); overflow-wrap: anywhere; }
.contact-card p { margin: 4px 0 0; }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); padding: 16px 18px; }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 700; font-size: 18px; }
.faq-list p { margin: 12px 0 0; }

.quote {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 54px 20px;
}
.quote p { margin: 0 auto 12px; max-width: 760px; font-size: 20px; font-style: italic; }
.quote span { color: var(--teal); font-weight: 700; }

.site-footer { background: #041f26; color: rgba(255,255,255,.8); padding: 54px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr .9fr; gap: 28px; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 18px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 24, .88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 16px; right: 16px;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: #fff; cursor: pointer;
}

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-panel {
  width: min(360px, calc(100vw - 32px));
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: #111b21;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.wa.is-open .wa-panel { opacity: 1; transform: none; pointer-events: auto; }
.wa-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, #128c7e, #075e54); color: #fff; }
.wa-head-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.wa-name { margin: 0; font-weight: 700; }
.wa-status { display: flex; align-items: center; gap: 6px; margin: 3px 0 0; font-size: 12px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.25); }
.wa-close, .wa-toggle { border: 0; cursor: pointer; }
.wa-close { width: 34px; height: 34px; border-radius: 50%; background: transparent; color: #fff; }
.wa-body { padding: 16px 14px 8px; background: #efeae2; display: grid; gap: 10px; }
.bubble { justify-self: start; max-width: 92%; background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px 8px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble p { margin: 0; font-size: 14px; color: #111b21; }
.bubble time { display: block; text-align: right; font-size: 11px; color: #8696a0; }
.wa-foot { padding: 12px 14px 14px; background: #f7f7f7; }
.wa-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; }
.wa-note { margin: 8px 0 0; text-align: center; font-size: 12px; color: #667781; }
.wa-toggle { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.wa-toggle:hover { transform: scale(1.06); }
.wa-badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 999px; background: #e53935; color: #fff; border: 2px solid #fff; font-size: 11px; font-weight: 700; line-height: 18px; }
.wa.is-open .wa-badge { display: none; }

.bottom-nav { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: #062e39;
    z-index: 45;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 28px;
    gap: 4px;
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a, .dropdown > a { min-height: 48px; display: flex; align-items: center; font-size: 18px; }
  .dropdown-panel { position: static; transform: none; display: grid; background: transparent; box-shadow: none; padding: 0 0 8px 14px; }
  .dropdown-panel a { color: rgba(255,255,255,.88); min-height: 44px; display: flex; align-items: center; font-size: 16px; font-weight: 500; }
  .feature-grid, .step-grid, .review-grid, .why-grid, .vmv-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .treat-grid { grid-template-columns: 1fr; }
  .treat-card, .treat-card:nth-child(4), .treat-card:nth-child(5) { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; gap: 10px; }
  .gallery-grid img:first-child { grid-row: auto; grid-column: 1 / -1; height: 210px; }
  .about-media { grid-template-columns: 1fr; min-height: 0; }
  .stat { min-height: 108px; padding: 18px; }
  .stat strong { font-size: 42px; }
  form { grid-template-columns: 1fr; padding: 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  h2.display { font-size: clamp(28px, 8vw, 40px); }
  .lead { font-size: 16px; }
  .cta-band { padding: 36px 18px; }
  .cta-band .shape { display: none; }
  .site-footer { padding-bottom: 108px; }
  .quote { padding: 40px 18px; }
  .quote p { font-size: 18px; }
  .faq-list summary { font-size: 16px; line-height: 1.35; }
  input, textarea { font-size: 16px; }
}

@media (max-width: 720px) {
  :root { --header: 68px; }
  .wrap { width: min(1140px, calc(100% - 32px)); }
  .logo img { width: min(188px, 58vw); }
  .menu-toggle { width: 42px; height: 42px; }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding: calc(var(--header) + 8px) 0 92px;
    background-position: 70% 22%;
  }
  .hero h1 { max-width: 11ch; font-size: clamp(34px, 10vw, 46px); margin-bottom: 12px; }
  .hero p { font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
  .features { margin-top: 22px; padding-bottom: 8px; }
  .feature-card { padding: 28px 20px 24px; }
  .feature-card h2 { font-size: 22px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; flex: none; min-height: 52px; }
  .treat-card img { height: 190px; }
  .treat-card .btn { align-self: stretch; text-align: center; }
  .logo-row { gap: 18px 20px; }
  .logo-row img { height: 30px; max-width: 88px; }
  .checks { gap: 10px 16px; }
  .wa { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .wa-toggle { width: 58px; height: 58px; }
  .wa.is-open .wa-panel { max-height: min(68dvh, 520px); display: flex; flex-direction: column; }
  .wa-body { overflow: auto; min-height: 0; }
  .step-card { padding: 48px 18px 22px; }
  .review { padding: 22px 18px; }

  .menu-toggle { display: none; }
  .nav { padding-bottom: 120px; }

  .bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(4, 31, 38, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    padding: 6px 2px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, color .2s ease;
  }
  .bn-item span { white-space: nowrap; }
  .bn-item.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .bn-item.is-active svg { color: var(--teal); }
  .bottom-nav:has(.bn-menu.is-active) .bn-item[data-target].is-active { background: transparent; color: rgba(255, 255, 255, 0.62); }
  .bottom-nav:has(.bn-menu.is-active) .bn-item[data-target].is-active svg { color: inherit; }
  .bn-item:active { transform: scale(.96); }

  .wa { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 82px); }
  .hero { padding-bottom: 168px; }
  .hero .actions { padding-right: 0; }
  .site-footer { padding-bottom: 170px; }
}
