/*
Theme Name: Varandão Móveis — Obrigado
Theme URI: https://example.com/
Author: Varandão Móveis
Description: Tema institucional minimalista e responsivo criado para agradecer aos clientes da Varandão Móveis.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: varandao-moveis-obrigado
*/

:root {
  --vm-bg: #f4efe7;
  --vm-surface: #fffdf9;
  --vm-text: #2e2925;
  --vm-muted: #726a62;
  --vm-accent: #8b5e3c;
  --vm-accent-dark: #684228;
  --vm-line: rgba(46, 41, 37, 0.10);
  --vm-shadow: 0 24px 70px rgba(53, 42, 33, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--vm-bg);
  color: var(--vm-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.vm-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vm-page::before,
.vm-page::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(139, 94, 60, .13);
  border-radius: 50%;
  pointer-events: none;
}
.vm-page::before { top: -180px; left: -120px; }
.vm-page::after { right: -180px; bottom: -210px; width: 440px; height: 440px; }

.vm-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.vm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}

.vm-brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(139, 94, 60, .28);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--vm-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  background: rgba(255,255,255,.38);
}

.vm-brand .custom-logo-link { display: inline-flex; align-items: center; }
.vm-brand .custom-logo { max-height: 54px; width: auto; }

.vm-main {
  flex: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0 70px;
  position: relative;
  z-index: 1;
}

.vm-card {
  width: min(850px, 100%);
  background: rgba(255, 253, 249, .92);
  border: 1px solid var(--vm-line);
  border-radius: 34px;
  padding: clamp(38px, 7vw, 82px);
  box-shadow: var(--vm-shadow);
  text-align: center;
  position: relative;
}

.vm-card::before {
  content: "";
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--vm-accent);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vm-kicker {
  margin: 0 0 18px;
  color: var(--vm-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.vm-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 500;
}

.vm-copy {
  max-width: 660px;
  margin: 28px auto 0;
  color: var(--vm-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.vm-signature {
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  color: var(--vm-text);
}

.vm-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--vm-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, background-color .18s ease;
}
.vm-button:hover,
.vm-button:focus-visible {
  background: var(--vm-accent-dark);
  transform: translateY(-1px);
}
.vm-button:focus-visible { outline: 3px solid rgba(139, 94, 60, .22); outline-offset: 3px; }

.vm-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--vm-line);
  color: var(--vm-muted);
  font-size: 13px;
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 600px) {
  .vm-header { width: min(100% - 28px, 1160px); padding-top: 20px; }
  .vm-main { width: min(100% - 24px, 1160px); padding: 28px 0 50px; }
  .vm-card { border-radius: 26px; }
  .vm-footer { width: min(100% - 28px, 1160px); }
}
