:root {
  --bg: #f4f9fe;
  --bg-soft: #e5f1fb;
  --surface: #ffffff;
  --surface-soft: #f3f8fd;
  --text: #163554;
  --text-soft: #5f7690;
  --accent: #0f4c92;
  --accent-strong: #083a73;
  --accent-soft: #9acced;
  --line: #caddef;
  --shadow: 0 20px 40px rgba(8, 58, 115, 0.12);
  --radius-lg: 24px;
  --radius-md: 14px;
  --container: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 95% -10%, rgba(154, 204, 237, 0.32), transparent 60%),
    radial-gradient(900px 520px at -10% 20%, rgba(15, 76, 146, 0.14), transparent 60%),
    var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.skip-link:focus-visible {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 80%, white 20%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, white 20%);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: fit-content;
}

.brand-mark {
  width: 88px;
  display: block;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
}

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.68rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
  background: var(--btn-bg);
  color: var(--btn-fg);
  width: fit-content;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  box-shadow: 0 12px 30px rgba(15, 76, 146, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  --btn-bg: var(--accent-strong);
}

.btn-secondary {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  --btn-bg: color-mix(in srgb, var(--surface) 82%, var(--bg-soft) 18%);
  border-color: color-mix(in srgb, var(--line) 70%, var(--accent-soft) 30%);
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

#servicos {
  padding-top: clamp(2.25rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.section-soft {
  background: linear-gradient(180deg, rgba(229, 241, 251, 0.82), rgba(229, 241, 251, 0.32));
  border-top: 1px solid rgba(202, 221, 239, 0.7);
  border-bottom: 1px solid rgba(202, 221, 239, 0.7);
}

.hero {
  padding-top: clamp(4rem, 9vw, 7rem);
  position: relative;
}

.hero-logo-lockup {
  width: clamp(156px, 18vw, 220px);
  margin-bottom: 1.25rem;
}

.hero-logo-lockup img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(8, 58, 115, 0.1));
}

.hero-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.hero-copy {
  align-self: center;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.14;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0.75rem 0 0;
}

.lead {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.micro-note {
  margin-top: 0.8rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.avatar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, color-mix(in srgb, var(--surface) 78%, var(--bg-soft) 22%), var(--surface) 72%);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.avatar-card::after {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 204, 237, 0.28), rgba(154, 204, 237, 0));
  pointer-events: none;
}

.avatar-photo {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(15, 76, 146, 0.18);
  box-shadow: 0 10px 24px rgba(8, 58, 115, 0.14);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-footnote {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.section-head {
  max-width: 68ch;
}

.muted {
  color: var(--text-soft);
}

.service-grid,
.benefit-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.condition-panel {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  box-shadow: var(--shadow);
}

.condition-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.condition-list li {
  position: relative;
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem 0.75rem 2.15rem;
  border: 1px solid color-mix(in srgb, var(--line) 72%, white 28%);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-soft);
  font-weight: 600;
}

.condition-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(154, 204, 237, 0.34);
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.benefit-card,
.contact-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
}

.service-card h3,
.benefit-card h3 {
  color: var(--accent-strong);
}

.service-card p,
.benefit-card p {
  color: var(--text-soft);
}

.about-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.about-copy {
  max-width: 60ch;
}

.photo-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: stretch;
  grid-auto-rows: minmax(210px, 1fr);
  height: 100%;
}

.photo-placeholder {
  min-height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 76, 146, 0.18);
  background: #dbeaf7;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 34, 66, 0.06) 0%, rgba(8, 34, 66, 0.58) 100%);
  pointer-events: none;
}

.photo-placeholder figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.photo-placeholder strong {
  color: #fff;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.photo-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.photo-placeholder-feature {
  grid-column: 1 / -1;
  min-height: 300px;
}

.contact-section {
  padding-bottom: 6.2rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.6vw, 1.8rem);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-static {
  cursor: default;
  user-select: text;
}

.btn-static:hover,
.btn-static:focus-visible {
  transform: none;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.location-note {
  margin-top: 1rem;
  color: var(--text-soft);
}

.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-height: 320px;
  background: linear-gradient(180deg, rgba(229, 241, 251, 0.72), rgba(255, 255, 255, 0.92));
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.map-link {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(8, 58, 115, 0.18);
  border: 1px solid color-mix(in srgb, var(--line) 72%, white 28%);
}

.map-link:hover,
.map-link:focus-visible {
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 58%, white 42%);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  min-height: 82px;
}

.footer-wrap p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.footer-mark {
  width: 76px;
  display: block;
  flex-shrink: 0;
}

.footer-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-title {
  color: var(--text);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 980;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 25px rgba(23, 90, 54, 0.3);
  transition: transform 180ms ease;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.section-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 170ms;
}

.reveal-delay-3 {
  transition-delay: 250ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .floating-whatsapp {
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    padding: 0.65rem 0;
    min-height: unset;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    display: none;
    justify-content: flex-start;
    padding: 0.6rem 0 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .btn-nav-whatsapp {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-lockup {
    width: min(210px, 58vw);
    margin-inline: auto;
  }

  .micro-note {
    max-width: 34rem;
    margin-inline: auto;
  }

  .avatar-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .avatar-photo {
    width: 132px;
  }

  .about-copy {
    max-width: none;
    padding: clamp(1.15rem, 4vw, 1.6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 253, 0.86));
    box-shadow: var(--shadow);
  }

  .photo-group {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(180px, 1fr);
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .service-grid,
  .benefit-grid,
  .condition-list {
    grid-template-columns: 1fr;
  }

  .photo-group {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-placeholder,
  .photo-placeholder-feature {
    min-height: 220px;
  }

  .floating-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .footer-wrap {
    padding: 1rem 0;
    min-height: unset;
  }

  .map-card,
  .map-frame {
    min-height: 260px;
  }
}
