:root {
  --bg: #FAF7F2;
  --bg-alt: #EFF3EC;
  --accent: #7C9A82;
  --accent-dark: #65816B;
  --text: #2B332E;
  --muted: #6B756E;
  --card-bg: #FFFFFF;
  --border: rgba(43, 51, 46, 0.1);
  --shadow: 0 10px 30px rgba(43, 51, 46, 0.06);
  --shadow-lg: 0 18px 44px rgba(43, 51, 46, 0.1);

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --header-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

h1 em {
  font-style: italic;
  color: var(--accent-dark);
}

p { margin: 0 0 1em; }

img { max-width: 100%; }

a { color: var(--accent-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id], .trust-bar { scroll-margin-top: calc(var(--header-h) + 16px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.9em;
}

.lead {
  font-size: 1.08rem;
  max-width: 560px;
  color: var(--muted);
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--accent); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(43, 51, 46, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 500;
}

.logo-text small {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.ativo { color: var(--accent-dark); }

.nav a:hover::after,
.nav a.ativo::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */

.hero {
  padding: 76px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "texto foto"
    "acoes foto";
  align-items: center;
  gap: 18px 56px;
}

.hero-texto { grid-area: texto; }

.hero-foto {
  grid-area: foto;
  display: block;
}

.hero-foto img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  display: block;
}

.hero-actions {
  grid-area: acoes;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Barra de credibilidade */

.trust-bar {
  background: var(--accent);
  color: #fff;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 40px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.88rem;
  text-align: center;
}

.trust-inner strong { font-weight: 600; }

/* Seções */

.section { padding: 84px 0; }

.section-alt { background: var(--bg-alt); }

.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}

.sobre-foto { display: block; }

.sobre-foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}

.sobre-destaques {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sobre-destaques li {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
  font-size: 0.94rem;
}

/* Cards de serviço */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card p { margin-bottom: 0; color: var(--muted); }

.card-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 8px;
  vertical-align: middle;
  font-family: var(--font-body);
}

/* Como funciona */

.passos {
  list-style: none;
  counter-reset: passo;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.passo {
  position: relative;
  padding-top: 8px;
}

.passo-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.passo:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 44px;
  right: -28px;
  height: 1px;
  background: var(--border);
}

.passo h3 { margin-bottom: 0.4em; }

.passo p {
  margin-bottom: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.passo-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.passo-link:hover { text-decoration: underline; }

/* Importância */

.importancia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.importancia-foto { display: block; }

.importancia-foto img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.importancia-texto p { color: var(--muted); }

/* FAQ */

.duvidas-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.duvidas-intro p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 16px 32px 16px 0;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(-20%) rotate(-135deg); }

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contato */

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contato-canais {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-canais a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contato-canais a:hover { color: var(--accent-dark); }

.contato-canais svg { color: var(--accent-dark); flex-shrink: 0; }

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-contato label {
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 12px;
}

.opcional {
  font-weight: 400;
  color: var(--muted);
}

.form-contato input,
.form-contato textarea,
.form-contato select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  width: 100%;
}

.form-contato select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2365816B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
  cursor: pointer;
}

.form-contato input:focus,
.form-contato textarea:focus,
.form-contato select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-contato input.erro,
.form-contato textarea.erro {
  border-color: #C2714F;
  background: #FDF5F2;
}

.form-contato button { margin-top: 22px; }

.form-aviso {
  margin: 12px 0 0;
  font-size: 0.86rem;
  min-height: 1.2em;
  color: var(--accent-dark);
  font-weight: 500;
}

.form-aviso.erro { color: #B4603D; }

/* Footer */

.site-footer { border-top: 1px solid var(--border); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 30px 0;
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand small {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-inner a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover { text-decoration: underline; }

.footer-credit {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(43, 51, 46, 0.55);
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
}

.footer-credit strong {
  color: var(--accent-dark);
  font-weight: 700;
}

/* WhatsApp flutuante */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Animação de entrada (só quando há JS, pra nunca esconder conteúdo) */

/* :where() zera a especificidade, senão a regra que esconde vence a que revela */
.js :where(.section > .container > *, .hero-texto, .hero-foto, .hero-actions, .trust-inner) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .visivel {
  opacity: 1;
  transform: none;
}

/* Responsivo */

@media (max-width: 980px) {
  .passos { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .passo:nth-child(2)::before { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }

  .sobre-grid,
  .cards,
  .contato-inner,
  .importancia-inner,
  .duvidas-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sobre-foto { max-width: 240px; }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "texto"
      "foto"
      "acoes";
    gap: 24px;
  }

  .hero-foto img { aspect-ratio: 16 / 11; }

  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav,
  .site-header.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .site-header.nav-open .header-inner {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .site-header.nav-open .nav {
    order: 3;
    width: 100%;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .site-header.nav-open .nav-cta {
    order: 4;
    width: 100%;
  }

  .trust-inner { gap: 6px 24px; font-size: 0.82rem; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-brand { align-items: center; }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; gap: 26px; }
  .passo::before { display: none; }
  .passo-num { margin-bottom: 12px; }
  .form-contato { padding: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js :where(.section > .container > *, .hero-texto, .hero-foto, .hero-actions, .trust-inner) {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  .site-header, .whatsapp-float, .hero-actions, .form-contato { display: none; }
  body { background: #fff; }
}
