:root {
  --brand: #7D0A24;
  --brand-dark: #5E0719;
  --brand-soft: #F3E4E7;
  --cream: #F6F2EC;
  --bg: #FFFFFF;
  --text: #141414;
  --muted: #5A5552;
  --border: #E6DFD7;
  --footer-bg: #1A1013;
  --footer-text: #D9D2CD;
  --radius: 12px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--brand); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.logo svg { width: 40px; height: auto; display: block; }
.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

/* Cabeçalho */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--brand); }

/* Hero */
.hero {
  padding: 88px 0 80px;
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-mark {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 420px;
  opacity: 0.09;
  pointer-events: none;
}
.hero-mark polygon { fill: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F2C9D1;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.hero p {
  margin-top: 20px;
  font-size: 1.15rem;
  color: #F4E3E6;
  max-width: 620px;
}
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 28px;
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.btn:hover { background: var(--cream); }

/* Seções */
section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--brand);
  margin-top: 10px;
  border-radius: 2px;
}
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); }

.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  overflow-wrap: anywhere;
}
.contact-list strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* Páginas de texto legal */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; color: var(--brand); }
.legal p, .legal li { color: #2E2A28; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-bottom: 6px; }

/* Rodapé */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 32px;
  font-size: 0.95rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo polygon { fill: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer p { margin-bottom: 6px; overflow-wrap: anywhere; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #3A2A2E;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #A8A09B;
}

@media (max-width: 600px) {
  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 14px; }
  .hero { padding: 56px 0 56px; }
  .hero-mark { width: 260px; right: -50px; bottom: -30px; }
  section { padding: 52px 0; }
}
