:root {
  /* Paleta Tulipa */
  --bg: #16151b; /* fundo escuro elegante */
  --bg-alt: #201f26; /* variação para seções/cards */
  --card: #201f26;
  --accent: #9a1238; /* vinho Tulipa */
  --accent-soft: rgba(154, 18, 56, 0.12);
  --text: #f9fafb;
  --muted: #9b9aa2; /* cinza médio suave */
  --border: #2a2933;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #201f26 0, #16151b 55%, #0d0c11 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.75), transparent);
  border-bottom: 1px solid rgba(31, 41, 51, 0.7);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  max-height: 42px;
  width: auto;
  display: block;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e7eb;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: #f9fafb;
  border-color: rgba(249, 250, 251, 0.09);
  background: rgba(15, 23, 42, 0.7);
}

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #b21741, #6e0c29);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #e11d48, #b91c1c);
  transform: translateY(-1px);
}

/* Botão principal do formulário de interesse (verde de ação/avanço) */
.hero-interest-form .btn.primary {
  background: linear-gradient(135deg, #166534, #14532d);
}

.hero-interest-form .btn.primary:hover {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #111827;
  font-weight: 700;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
}

.btn.full {
  width: 100%;
}

.hero-highlight {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.5));
  border-radius: 28px;
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--muted);
}

.hero-interest-form {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-interest-header h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hero-interest-header p {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-interest-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}

.hero-interest-grid .field {
  margin-bottom: 0;
}

.hero-interest-grid .field-full {
  grid-column: 1 / -1;
}

.hero-interest-footer {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-interest-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #111827 0, #050816 70%);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.6rem;
}

.section-header p {
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.logo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.75);
  color: var(--muted);
  cursor: pointer;
  transition: 0.18s ease;
}

.filter-btn:hover {
  border-color: rgba(249, 250, 251, 0.7);
  color: #f9fafb;
}

.filter-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #fbe3ec;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.logo-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(249, 250, 251, 0.2);
}

.logo-thumb {
  width: 100%;
  height: 150px;
  aspect-ratio: 4 / 3;
}

.logo-thumb.placeholder {
  background: radial-gradient(circle at top left, #f9d3de, #b21741 45%, #6e0c29 100%);
}

.logo-info {
  padding: 0.75rem 0.9rem 0.85rem;
}

.logo-info h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.logo-info p {
  font-size: 0.8rem;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--muted);
}

.about-highlight {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.contact-list .label {
  min-width: 4.5rem;
  color: var(--muted);
}

.contact-list a {
  color: inherit;
}

.contact-list li:first-child span:last-child a {
  color: var(--accent);
  font-weight: 600;
}

.field {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
}

label {
  font-size: 0.8rem;
  color: var(--muted);
}

input,
textarea {
  background: rgba(15, 15, 23, 0.9);
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.65rem 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(154, 18, 56, 0.4);
}

.site-footer {
  border-top: 1px solid rgba(31, 41, 51, 0.8);
  padding: 1.2rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-note {
  color: rgba(148, 163, 184, 0.9);
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-highlight {
    order: -1;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-content {
    padding-inline: 1rem;
  }

  .main-nav {
    gap: 0.4rem;
    font-size: 0.8rem;
  }

  .main-nav a {
    padding-inline: 0.7rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .logo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
}
