/* Olymp marketing — tokens alinhados a web-app-flutter/lib/core/theme/app_colors.dart */
:root {
  --color-primary: #40d0b0;
  --color-primary-dark: #2bb89a;
  --color-primary-light: #5fe0c8;
  --color-secondary: #ffd700;
  --color-accent: #5d3fd3;
  --color-accent-light: #7b5fe7;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: rgba(26, 26, 46, 0.65);
  --color-border: rgba(64, 208, 176, 0.15);
  --shadow-sm: 0 1px 2px rgba(64, 208, 176, 0.12);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.08);
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Roboto Flex", system-ui, sans-serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a:hover {
  text-decoration: underline;
}

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* Mesmo asset e cantos que login_page.dart (tick-icon.png, 56×56, radius 12) */
.brand__mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-quiet {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.link-quiet:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 4px 14px rgba(64, 208, 176, 0.35);
}

.btn--primary:hover {
  box-shadow: var(--shadow-md), 0 6px 20px rgba(64, 208, 176, 0.4);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-accent);
  border: 2px solid rgba(93, 63, 211, 0.25);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  background: rgba(93, 63, 211, 0.06);
}

.btn--large {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ——— Hero ——— */
.hero {
  padding: 56px 24px 72px;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--color-text);
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: relative;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  opacity: 0.35;
  z-index: -1;
  filter: blur(20px);
}

.hero__stat-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  flex: 1;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.hero__stat span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ——— Sections ——— */
.section {
  padding: 56px 24px;
}

.section--alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin: 0 0 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ——— Feature grid ——— */
.features {
  display: grid;
  gap: 20px;
}

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

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

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.section--alt .feature-card {
  background: var(--color-surface);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(64, 208, 176, 0.35);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(64, 208, 176, 0.2), rgba(93, 63, 211, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ——— CTA band ——— */
.cta-band {
  padding: 48px 24px 64px;
  text-align: center;
}

.cta-band__box {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 28px;
  background: linear-gradient(145deg, rgba(64, 208, 176, 0.12) 0%, rgba(93, 63, 211, 0.1) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.cta-band p {
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

/* ——— Footer ——— */
.site-footer {
  padding: 32px 24px 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer .btn {
  margin-bottom: 20px;
}

.site-footer__legal {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.site-footer__legal a {
  color: var(--color-text-muted);
}
