:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --ink: #2b2233;
  --muted: #6f6377;
  --line: #eadfe6;
  --roxo: #6a3fa0;
  --roxo-deep: #4b2b78;
  --lilas: #9d76c9;
  --rosa: #f6dcea;
  --rosa-soft: #fbeef5;
  --band: #322050;
  --band-line: #4a3570;
  --band-muted: #b9a8d6;
  --band-text: #f3ecfa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

section[id], article[id] { scroll-margin-top: 96px; }

.wrap {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--roxo);
}

.eyebrow.center { text-align: center; }

.section-title {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.break { word-break: break-all; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 243, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  height: 2.8rem;
  width: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lilas), var(--roxo-deep));
  color: var(--rosa);
  font-family: "Prata", Georgia, serif;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(106, 63, 160, 0.3);
}

.brand-text strong {
  display: block;
  font-family: "Prata", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.nav a:not(.btn) {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--roxo-deep);
  background: var(--rosa);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-solid {
  background: linear-gradient(135deg, var(--roxo), var(--roxo-deep));
  color: #fff;
  box-shadow: 0 12px 26px rgba(75, 43, 120, 0.3);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(75, 43, 120, 0.38);
}

.btn-ghost {
  border: 1px solid var(--lilas);
  color: var(--roxo-deep);
  background: transparent;
}

.btn-ghost:hover { background: var(--rosa); }

/* ---------- Hero ---------- */

.hero {
  padding: 5.5rem 0 0;
  text-align: center;
  background:
    radial-gradient(42rem 22rem at 50% -10%, rgba(157, 118, 201, 0.16), transparent 65%),
    radial-gradient(30rem 18rem at 12% 85%, rgba(246, 220, 234, 0.8), transparent 60%),
    radial-gradient(30rem 18rem at 88% 80%, rgba(157, 118, 201, 0.12), transparent 60%),
    var(--bg);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.08;
}

.hero-lead {
  max-width: 38rem;
  margin: 1.4rem auto 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hero-card {
  max-width: 46rem;
  margin: 3.25rem auto -3.5rem;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--surface);
  padding: 1.75rem 2rem;
  box-shadow: 0 24px 55px rgba(75, 43, 120, 0.16);
  text-align: center;
}

@media (min-width: 700px) {
  .hero-card { grid-template-columns: repeat(3, 1fr); }
  .hero-fact + .hero-fact { border-left: 1px solid var(--line); }
}

.hero-fact small {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--roxo);
}

.hero-fact span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ---------- O que oferecemos ---------- */

.oferecemos { padding: 8rem 0 4rem; }

.oferta-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 820px) {
  .oferta-grid { grid-template-columns: repeat(3, 1fr); }
}

.oferta {
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 16px 38px rgba(43, 34, 51, 0.06);
}

.oferta-ico {
  height: 3.4rem;
  width: 3.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa), var(--rosa-soft));
  color: var(--roxo-deep);
  font-size: 1.3rem;
}

.oferta h3 {
  margin: 1.1rem 0 0.6rem;
  font-size: 1.35rem;
}

.oferta p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Sobre ---------- */

.section { padding: 3.5rem 0; }

.panel {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  padding: 2.5rem 2.75rem;
  box-shadow: 0 16px 38px rgba(43, 34, 51, 0.06);
}

.panel h2 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
}

.panel-cols {
  display: grid;
  gap: 0 2.5rem;
}

@media (min-width: 820px) {
  .panel-cols { grid-template-columns: 1fr 1fr; }
}

.panel-cols p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--muted);
}

.missao {
  margin: 1.25rem 0 0;
  border-radius: 1.5rem;
  background: var(--rosa-soft);
  border: 1px solid var(--rosa);
  padding: 1.75rem 2rem;
  font-family: "Prata", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--roxo-deep);
}

/* ---------- Dados oficiais ---------- */

.dados {
  background: var(--band);
  color: var(--band-text);
  padding: 3.75rem 0;
}

.dados h2 {
  margin: 0 0 1.75rem;
  font-size: 2rem;
}

.dados-grid {
  display: grid;
  gap: 1.4rem;
  border-top: 1px solid var(--band-line);
  padding-top: 1.75rem;
}

@media (min-width: 640px) { .dados-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dados-grid { grid-template-columns: repeat(3, 1fr); } }

.dado small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--band-muted);
}

.dado span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Contato ---------- */

.contato-panel { text-align: center; }

.contato-lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contato-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) { .contato-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contato-grid { grid-template-columns: repeat(4, 1fr); } }

.contato-tile {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--bg);
  padding: 1.5rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.contato-tile:hover {
  border-color: var(--lilas);
  box-shadow: 0 12px 28px rgba(106, 63, 160, 0.16);
}

.tile-ico {
  height: 2.6rem;
  width: 2.6rem;
  margin-bottom: 0.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rosa);
  color: var(--roxo-deep);
  font-size: 1.05rem;
}

a.contato-tile:hover .tile-ico { background: var(--roxo); color: #fff; }

.contato-tile small {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--roxo);
}

.contato-tile > span:last-child {
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 0.7fr; }
  .footer-links { justify-items: end; }
}

.footer-name {
  font-family: "Prata", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.footer-data {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--roxo-deep);
}

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

/* ---------- Modal (Política de Privacidade) ---------- */

.modal {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 20, 48, 0.72);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal-bg { position: absolute; inset: 0; }

.modal-box {
  position: relative;
  max-height: 80vh;
  width: 100%;
  max-width: 48rem;
  overflow-y: auto;
  border-radius: 1.75rem;
  background: var(--surface);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 1.1rem;
  top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}

.modal-box h2 {
  margin: 0;
  padding-right: 2rem;
  font-size: 1.6rem;
}

.modal-box h4 {
  margin: 1.5rem 0 0.25rem;
  font-size: 0.95rem;
}

.modal-box p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.nf {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(42rem 22rem at 50% -10%, rgba(157, 118, 201, 0.16), transparent 65%),
    var(--bg);
}

.nf-code {
  margin: 0;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(5rem, 16vw, 8rem);
  line-height: 1;
  color: var(--roxo);
}

.nf h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.nf p {
  max-width: 28rem;
  margin: 1rem auto 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}
