/* STAR DAY LTDA — site institucional */
:root {
  --navy: #132a43;
  --navy-deep: #0c1c2e;
  --navy-soft: #1c3a58;
  --gold: #c4a056;
  --gold-dark: #9a7a38;
  --gold-soft: #efe3c4;
  --cream: #f4efe6;
  --paper: #fffcf7;
  --ink: #1a2330;
  --muted: #5b6573;
  --line: #e4ddd0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(19, 42, 67, 0.08);
  --radius: 18px;
  --font-serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-soft); }
a:hover { color: var(--gold-dark); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  line-height: 1;
}
.brand-name span { display: block; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--gold-dark); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: 680px;
  height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196, 160, 86, 0.22), transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover { background: var(--navy-deep); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: #cfc6b6;
}
.btn-ghost:hover { border-color: var(--gold-dark); color: var(--navy); }

/* Sections */
section { padding: 72px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-kicker {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-head p, .prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose { max-width: 68ch; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sobre */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.facts {
  padding: 28px 28px 20px;
}
.facts h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 18px;
  font-size: 1.25rem;
}
.facts dl { margin: 0; }
.facts div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.facts dd { margin: 0; color: var(--navy); font-weight: 600; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 28px 26px 26px;
  height: 100%;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-serif);
  color: var(--gold-dark);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 2.2ch;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--navy);
}
.step p { margin: 0; color: var(--muted); }

/* Contato */
.contato {
  padding-bottom: 88px;
}
.contato-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  padding: 40px 44px;
  background: var(--navy);
  color: #e8e4db;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.contato-box::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(196,160,86,.28), transparent 70%);
  pointer-events: none;
}
.contato-box h2, .contato-box .section-kicker { color: var(--gold-soft); }
.contato-box h2 { color: var(--paper); }
.contato-box p { color: #c9d0d8; }
.contato-box a { color: var(--gold-soft); }
.contact-list { margin: 8px 0 0; }
.contact-list div { margin-bottom: 16px; }
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa7b5;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-list .value {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-list address {
  font-style: normal;
  color: var(--paper);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b7c0ca;
  padding: 36px 0 44px;
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  gap: 18px;
}
.footer-name {
  font-family: var(--font-serif);
  color: var(--paper);
  letter-spacing: 0.12em;
  font-size: 1rem;
  margin: 0 0 8px;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal { margin: 0; }

/* Legal pages */
.legal-page { padding: 48px 0 80px; }
.legal-card {
  padding: 40px 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-card h1 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}
.updated { color: var(--muted); margin: 0 0 28px; font-size: 0.95rem; }
.legal-card h2 {
  font-size: 1.25rem;
  margin: 28px 0 8px;
}
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card ul { padding-left: 1.2em; }

.not-found { text-align: center; padding: 80px 20px; }
.not-found h1 { font-family: var(--font-serif); color: var(--navy); }

@media (max-width: 900px) {
  .sobre-grid, .cards, .contato-box { grid-template-columns: 1fr; }
  .contato-box, .legal-card { padding: 28px 22px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 0 14px; min-height: 0; }
  .nav { gap: 8px 16px; }
  .nav a { font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
