/* ===== Tema GROING ===== */
:root {
  --background: oklch(0.16 0.012 265);
  --foreground: oklch(0.96 0.005 265);
  --card: oklch(0.2 0.014 265);
  --card-foreground: oklch(0.96 0.005 265);
  --primary: oklch(0.8 0.13 82);
  --primary-foreground: oklch(0.2 0.03 82);
  --secondary: oklch(0.26 0.016 265);
  --muted-foreground: oklch(0.68 0.012 265);
  --border: oklch(1 0 0 / 10%);
  --radius: 0.625rem;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Cinzel", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--foreground);
  text-wrap: balance;
}

.section-text {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  text-wrap: pretty;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary .icon {
  width: 1rem;
  height: 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--secondary);
}

/* ===== Cabeçalho ===== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--foreground);
  text-decoration: none;
}

.brand-sm {
  font-size: 0.875rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklch, var(--background) 60%, transparent),
    color-mix(in oklch, var(--background) 50%, transparent),
    var(--background)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.hero-logo {
  height: 10rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

.hero-title {
  max-width: 48rem;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1.1;
  color: var(--foreground);
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.scroll-down:hover {
  color: var(--foreground);
}

.scroll-down .icon {
  width: 1.5rem;
  height: 1.5rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ===== Sobre ===== */
.about {
  border-top: 1px solid var(--border);
  padding: 6rem 0;
}

.about-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}

.feature-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-foreground);
}

.feature-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ===== Rodapé ===== */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 5rem 1.5rem;
  text-align: center;
}

.footer-text {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.copyright a:link {
  color:darkorange;
  text-decoration: none;
}

/* ===== Responsivo ===== */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .hero-logo { height: 13rem; }
  .about { padding: 8rem 0; }
}

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

.app-version { opacity: 0.6; font-size: 0.85em; }
