/* Paleta OVNIBR — tema claro */
:root {
  --black: #000000;
  --brand: #c88a1a;
  --brand-hover: #a86f0f;
  --amber: var(--brand);
  --amber-gold: var(--brand);
  --amber-hover: var(--brand-hover);
  --amber-dim: rgba(200, 136, 26, 0.12);
  --amber-dim-strong: rgba(200, 136, 26, 0.18);
  --amber-glow: rgba(200, 136, 26, 0.08);
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-card: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #eaeaea;
  --border-amber: rgba(200, 136, 26, 0.35);
  --text-on-amber: #ffffff;
  --max: 75rem;
  --radius: 0.375rem;
  --radius-lg: 0.75rem;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-amber: 0 6px 20px rgba(200, 136, 26, 0.2);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--amber);
  transition: color 0.2s;
}

a:hover {
  color: var(--amber-hover);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Tipografia */
h1,
h2,
h3,
.logo__text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-desc {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-on-amber);
  background: var(--amber);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--amber-hover);
  color: var(--text-on-amber);
  box-shadow: var(--shadow-amber);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}

.btn--outline:hover {
  background: var(--amber);
  color: var(--text-on-amber);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo__text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo:hover .logo__text {
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav a.active {
  color: var(--amber);
  background: var(--amber-dim);
}

.nav__cta {
  margin-left: 0.5rem;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--amber);
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: -1.25rem;
    right: -1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 0.75rem 1rem;
  }
  .nav__cta {
    margin: 0.5rem 0 0;
  }
  .nav__cta .btn {
    width: 100%;
  }
}

/* Hero home */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, var(--amber-dim-strong), transparent),
    radial-gradient(ellipse 60% 40% at 10% 100%, var(--amber-glow), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content .section-label {
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.hero h1 span {
  color: var(--amber);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__frame {
  position: relative;
  padding: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-card), var(--surface));
  border: 1px solid var(--border-amber);
  box-shadow: var(--shadow);
}

.hero__frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, var(--amber), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__logo {
  width: min(280px, 100%);
  display: block;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content .section-label,
  .lead,
  .hero__actions {
    margin-left: auto;
    margin-right: auto;
  }
  .lead {
    max-width: 28rem;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    order: -1;
  }
  .hero__logo {
    width: min(200px, 50vw);
  }
}

/* Stats */
.stats {
  padding: 0 0 4rem;
  margin-top: -2rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--surface-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

/* Features */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section--alt {
  background: var(--surface-card);
  border-block: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__head .section-desc {
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-amber);
  transform: translateY(-2px);
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--amber);
}

.card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta {
  padding: 3.5rem 0;
}

.cta__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--surface-card) 0%, var(--surface) 100%);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
}

.cta__box h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.35rem;
}

.cta__box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Page header (internas) */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-card);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32rem;
}

.page-body {
  padding: 3rem 0 4rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.values li strong {
  display: block;
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.values li span:last-child {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* Contato */
.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info h2 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-dim);
}

.form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.footer__tagline {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 18rem;
  margin: 0;
  line-height: 1.6;
}

.footer__col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin: 0 0 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
