/* ============================================================
   Lunivi — Landing page styles
   ============================================================ */

:root {
  --color-bg: #fdfcff;
  --color-surface: #ffffff;
  --color-surface-2: #f6f4fb;
  --color-border: #e7e3ef;
  --color-text: #1c1a26;
  --color-text-muted: #5b576b;
  --color-text-soft: #8a8699;

  --color-primary: oklch(0.55 0.18 290);
  --color-primary-hover: oklch(0.48 0.20 290);
  --color-primary-soft: oklch(0.96 0.03 290);

  --color-cta: oklch(0.65 0.18 145);
  --color-cta-hover: oklch(0.58 0.20 145);

  --shadow-sm: 0 1px 2px rgba(28, 26, 38, 0.04), 0 1px 3px rgba(28, 26, 38, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 26, 38, 0.06), 0 2px 4px rgba(28, 26, 38, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(76, 50, 140, 0.18), 0 8px 16px -8px rgba(28, 26, 38, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container: 1120px;

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ----------------------------------------------------------
   Header / nav
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), oklch(0.62 0.20 310));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--color-cta-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(56, 142, 60, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cta);
}

h1, .h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--color-text);
  text-wrap: balance;
}

h1 .accent {
  color: var(--color-primary);
}

.hero-lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 540px;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-soft);
}

/* hero visual placeholder */
.hero-visual {
  aspect-ratio: 4 / 5;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--color-primary-soft),
      var(--color-primary-soft) 12px,
      white 12px,
      white 24px
    );
}

.hero-visual::after {
  content: "[ imagem do produto ]";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   Section primitives
   ---------------------------------------------------------- */
section {
  padding: 88px 0;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-text);
  text-wrap: balance;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 640px;
  text-wrap: pretty;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

/* ----------------------------------------------------------
   Sobre (descrição da empresa - obrigatório Meta)
   ---------------------------------------------------------- */
.sobre {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.sobre-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.sobre-text p:first-of-type {
  font-size: 20px;
  color: var(--color-text);
}

.sobre-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.sobre-card dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}

.sobre-card dd {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 18px;
}

.sobre-card dd:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   Recursos (features grid)
   ---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.feature:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   Para quem (segmentos)
   ---------------------------------------------------------- */
.segmentos {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.segmentos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.segmento-tag {
  padding: 10px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* ----------------------------------------------------------
   Contato
   ---------------------------------------------------------- */
.contato {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contato-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contato-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
}

.contato-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.contato-list .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 2px;
}

.contato-list .value,
.contato-list .value a {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}

/* ----------------------------------------------------------
   Footer (contém CNPJ, razão social - obrigatório Meta)
   ---------------------------------------------------------- */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
  text-decoration: underline;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-legal strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ----------------------------------------------------------
   Conteúdo legal (privacidade / termos)
   ---------------------------------------------------------- */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal .container {
  padding: 0 24px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--color-text-soft);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 880px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid,
  .sobre-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 20px; }
  .nav-links li:not(:last-child) { display: none; }
  .site-header .container { height: 64px; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .container { padding: 0 20px; }
}
