:root {
  --bg-1: #2b0a0a;
  --bg-2: #7f0d0d;
  --bg-3: #120607;
  --card: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.14);
  --text: #f7f7f7;
  --muted: #d6d6d6;
  --primary: #ff3b3b;
  --primary-700: #d62f2f;
  --outline: rgba(255,255,255,0.35);
}

* { box-sizing: border-box }
html, body {
  height: 100%;
  background:
    radial-gradient(1200px 600px at 10% -10%, #6a0a0a 0%, transparent 60%),
    radial-gradient(1000px 500px at 90% -10%, #a30d0d 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.35;
}

h1, h2, h3 { font-family: Montserrat, Inter, system-ui, sans-serif }
h1 { font-weight: 700; letter-spacing: -0.02em }
h2 { font-weight: 700 }
h3 { font-weight: 600 }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 10px }
.logo { width: 80px; height: 80px; object-fit: contain; border-radius: 12px }
.brand-name { display: none }
.nav { display: flex; align-items: center; gap: 14px }
.nav-link { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 10px }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06) }
.menu-toggle {
  display: none;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 600;
}

.hero { padding: 64px 0 24px }
.hero-inner { padding: 32px }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 20px }
.hero-title { font-size: clamp(28px, 4vw, 44px); margin: 6px 0 10px }
.hero-subtitle { color: var(--muted); font-size: clamp(16px, 2.4vw, 18px) }
.hero-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap }
.hero-image { width: 100%; max-width: 420px; justify-self: center; border-radius: 24px; background: rgba(255,255,255,0.03); box-shadow: 0 12px 24px rgba(0,0,0,0.35); padding: 12px }

.section { padding: 36px 0 }
.section-title { font-size: 24px; margin: 0 0 14px }
.lead { color: var(--muted); font-weight: 500 }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25) inset, 0 10px 24px rgba(0,0,0,0.35);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.gallery-item {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.gallery-img {
  width: 100%;
  max-width: 1000px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 10px 22px rgba(0,0,0,0.4);
  transition: transform .08s ease, box-shadow .15s ease;
}
.gallery-img:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.45) }
.gallery-caption { color: var(--muted); font-size: 14px }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.lightbox.open { display: flex }
.lightbox-inner {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #000;
}
.lightbox-img { display: none; max-width: 100%; max-height: 86vh }
.lightbox-frame { display: none; width: min(1000px, 92vw); height: 86vh; border: 0; background: #000 }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature h3 { margin: 0 0 6px }
.feature p { margin: 0; color: var(--muted) }

.grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.list { margin: 0; padding: 0 0 0 18px }
.bullets li { margin: 6px 0 }

.features { display: grid; gap: 0 }
.features-header, .features-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.features-header .cell {
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--card-border);
}
.features-row .cell {
  padding: 14px 16px;
  border-top: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
}
.features-row .cell:last-child { border-right: none }
.cell-title { font-weight: 600 }
.cell-desc { color: var(--muted) }
.features-actions { display: flex; gap: 12px; margin-top: 16px; align-items: center }

.form { display: grid; gap: 12px }
.form-title { margin: 0 0 6px }
.field { display: grid; gap: 6px }
.field span { color: var(--muted); font-size: 14px }
input, select {
  width: 100%;
  color: var(--text);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
input::placeholder { color: #bfbfbf }
input:focus, select:focus { border-color: var(--text) }
.form-note { color: var(--muted); font-size: 13px; margin: 4px 0 0 }
.form-status { margin: 6px 0 0; font-size: 14px }
.form-status.ok { color: #7bf29b }
.form-status.err { color: #ff9494 }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
  color: var(--text);
}
.btn-primary {
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(255, 59, 59, 0.35);
}
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px) }
.btn-outline {
  border-color: var(--outline);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.08) }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: var(--card-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12) }

.actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap }

.site-footer {
  margin: 24px 0 40px;
  border-top: 1px solid var(--card-border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}

.marquee {
  overflow: hidden;
  position: relative;
  border-radius: 14px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  animation: marquee-move 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused }
.partner-card {
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 16px 26px;
  min-width: 180px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.partner-card:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,0.38) }
.partner-card img { display: block; height: 48px; object-fit: contain; filter: none }
.partner-card img.logo-prs,
.partner-card img.logo-proteges { height: 64px }

@keyframes marquee-move {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

@media (max-width: 900px) {
  .feature-list, .grid-three { grid-template-columns: 1fr 1fr }
  .grid-two { grid-template-columns: 1fr }
  .menu-toggle { display: inline-flex }
  .nav { display: none; position: absolute; right: 24px; top: 88px; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 10px; flex-direction: column; gap: 8px }
  .nav.open { display: flex }
  .hero-grid { grid-template-columns: 1fr; gap: 16px }
  .features-header, .features-row { grid-template-columns: 1fr }
  .features-row .cell { border-right: none }
  .gallery { grid-template-columns: 1fr }
}
@media (max-width: 560px) {
  .feature-list, .grid-three { grid-template-columns: 1fr }
}
