:root {
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --bg: #fdfcf9;
  --surface: #f5f3ef;
  --text: #14120f;
  --muted: #5c5852;
  --line: #e2ddd4;
  --black: #14120f;
  --white: #ffffff;
  --accent: #5c4d3d;
  --accent-soft: rgba(92, 77, 61, 0.14);
  --radius: 18px;
  --shadow: 0 4px 28px rgba(20, 18, 15, 0.06);
  --shadow-hover: 0 8px 36px rgba(20, 18, 15, 0.09);
  --container: 1120px;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.quote {
  font-family: var(--font-serif);
  font-weight: 500;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 128px, var(--container));
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(100% - 200px, var(--container));
  }
}

.section {
  padding: 88px 0;
}

.section-gap {
  margin-top: 32px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-title-small {
  font-size: clamp(2rem, 6vw, 3rem);
}

.section-text {
  color: var(--muted);
  font-size: 1rem;
  max-width: 650px;
}

.section-text-spaced {
  margin-top: 16px;
}

.btn {
  font-family: var(--font-sans);
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20, 18, 15, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.btn-inverted {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-inverted:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.site-nav a.header-whatsapp:focus-visible {
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 18, 15, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text,
.footer-brand {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--black);
  border-radius: 999px;
  position: relative;
  transition: 0.25s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: none;
  margin-left: 0;
}

.site-nav.open {
  display: block;
}

.site-nav ul {
  list-style: none;
  padding: 12px 16px 20px;
  display: grid;
  gap: 0;
}

.site-nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, background 0.25s ease;
}

.header-cta {
  margin-top: 10px;
}

/* Especificidade acima de `.site-nav a` para o botão não virar `display: block` */
.site-nav a.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--black);
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a.header-whatsapp:hover {
  background: var(--black);
  color: var(--white);
}

@media (hover: hover) {
  .site-nav a:not(.header-whatsapp):hover {
    color: var(--accent);
  }
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      115deg,
      rgba(253, 252, 249, 0.97) 0%,
      rgba(253, 252, 249, 0.9) 36%,
      rgba(245, 240, 232, 0.55) 55%,
      rgba(90, 82, 72, 0.35) 100%
    ),
    url("https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=2000&q=82")
      center / cover no-repeat;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 221, 212, 0.85);
  border-radius: 28px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-box {
  border: 1px solid rgba(226, 221, 212, 0.95);
  border-radius: 22px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(20, 18, 15, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (hover: hover) {
  .hero-box:hover {
    border-color: rgba(92, 77, 61, 0.25);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }
}

.hero-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-box p {
  color: var(--muted);
  font-size: 0.96rem;
}

.features-grid,
.services-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

@media (hover: hover) {
  .card:hover {
    border-color: rgba(92, 77, 61, 0.22);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
}

.card-icon {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  display: block;
  width: fit-content;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--accent-soft);
}

.card h3 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.18;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.services-grid .card {
  background: var(--surface);
}

.about-wrap {
  display: grid;
  gap: 22px;
  align-items: start;
}

.about-box {
  border-left: 2px solid var(--accent);
  padding-left: 22px;
}

.quote {
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* ---- Problema ---- */
.problem-wrap {
  display: grid;
  gap: 28px;
  align-items: start;
}

.problem-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.problem-list li {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

/* ---- Como funciona: etapas ---- */
.steps-grid {
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 22px;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

@media (hover: hover) {
  .step:hover {
    border-color: rgba(92, 77, 61, 0.22);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.18;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---- Resultado ---- */
.result-band {
  background: linear-gradient(145deg, #1a1816 0%, #0d0c0b 100%);
  color: var(--white);
  border-radius: 32px;
  padding: 40px 28px;
  box-shadow: 0 12px 40px rgba(20, 18, 15, 0.15);
  display: grid;
  gap: 32px;
}

.result-copy .cta-title {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
}

.result-figures {
  display: grid;
  gap: 20px;
}

.result-figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.result-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
}

.result-value--old {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.result-figure--highlight {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}

.result-value--big {
  font-size: clamp(3.4rem, 12vw, 5rem);
  letter-spacing: -0.02em;
}

.cta-band {
  background: linear-gradient(145deg, #1a1816 0%, #0d0c0b 100%);
  color: var(--white);
  border-radius: 32px;
  padding: 40px 28px;
  box-shadow: 0 12px 40px rgba(20, 18, 15, 0.15);
}

.cta-title {
  margin-bottom: 0;
}

.cta-text {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 10px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 20px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
}

.contact-list strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  position: relative;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.form-message {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.footer-wrap {
  display: grid;
  gap: 14px;
}

.footer-text {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-text a,
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-separator {
  margin: 0 8px;
}

.legal-header {
  padding: 92px 0 48px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(at 94% 30%, #eee5d4 0%, #f5f0e6 45%, #f6f2ea 100%);
}

.legal-title {
  max-width: 800px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-intro {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-updated {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-content {
  max-width: 820px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
  margin-top: 14px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 10px;
}

.legal-content strong {
  color: var(--text);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--black);
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .section {
    padding: 104px 0;
  }

  .hero {
    padding: 72px 0 88px;
    min-height: min(88vh, 860px);
    display: flex;
    align-items: center;
  }

  .hero > .container {
    width: min(100% - 128px, var(--container));
  }

  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

  .problem-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .result-band {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 52px 44px;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .footer-wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    border: none;
    background: transparent;
    margin-left: auto;
  }

  .site-nav ul {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 42px;
  }

  .site-nav li {
    display: flex;
    align-items: center;
  }

  .site-nav a {
    border: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
  }

  .site-nav a.header-whatsapp {
    min-height: 44px;
    padding: 0 22px;
    line-height: 1;
  }

  .header-cta {
    margin-top: 0;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .hero-aside {
    justify-content: space-between;
  }

  .hero-aside .hero-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

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

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

  .btn,
  .card,
  .hero-box,
  .site-nav a,
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    transition-duration: 0.01ms !important;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-inverted:hover,
  .card:hover,
  .hero-box:hover {
    transform: none;
  }
}
