@font-face {
  font-family: "Lexend";
  src: url("/assets/fonts/lexend-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #faf5ee;
  --surface: #fffdf9;
  --terracota: #a34527;
  --terracota-escuro: #7f3319;
  --janela: #b1552b;
  --grafite: #2e2e2e;
  --muted: #6b5f57;
  --border: #eadfd2;
  color-scheme: light;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--grafite);
  font-family: "Lexend", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }

:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; border-radius: 6px; }

.page {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 20px 40px;
  position: relative;
  z-index: 1;
}

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo { width: min(300px, 70vw); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(163, 69, 39, 0.09);
  color: var(--terracota);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--janela);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.pillars {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillars li {
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.pillars svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--terracota);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillars h2 { margin: 14px 0 6px; font-size: 1.05rem; font-weight: 600; }
.pillars p { color: var(--muted); font-size: 0.93rem; font-weight: 300; }

.contact {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact h2 { font-size: 1.4rem; font-weight: 600; }
.contact p { margin-top: 6px; color: var(--muted); font-weight: 300; }

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--terracota);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--terracota-escuro); transform: translateY(-1px); }

.hills { height: 160px; margin-top: -40px; position: relative; }
.hills svg { width: 100%; height: 100%; display: block; }
.hills .h1 { fill: var(--janela); opacity: 0.16; }
.hills .h2 { fill: #e7cec2; }

.footer {
  background: #e7cec2;
  text-align: center;
  padding: 0 20px 28px;
  font-size: 0.88rem;
  color: var(--grafite);
}
.footer a { color: var(--terracota-escuro); font-weight: 600; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .legal { margin-top: 4px; font-size: 0.78rem; color: var(--muted); }

@media (max-width: 720px) {
  .page { padding: 44px 16px 32px; }
  .pillars { grid-template-columns: 1fr; margin-top: 40px; }
  .contact { margin-top: 44px; }
  .hills { height: 110px; margin-top: -20px; }
}

/* Social */
.social { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.social p { color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.social__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--grafite);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social__links a:hover { border-color: var(--terracota); color: var(--terracota); }
.social__links svg { width: 19px; height: 19px; fill: none; stroke: var(--terracota); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social__links svg .fill { fill: var(--terracota); stroke: none; }
