/* DCM Technology + Tray — página de parceria (HTML + CSS puro) */

:root {
  --background: oklch(0.996 0.003 230);
  --foreground: oklch(0.245 0.075 264);
  --card: oklch(1 0 0);
  --primary: oklch(0.665 0.168 232);
  --primary-foreground: oklch(0.995 0.002 230);
  --secondary: oklch(0.952 0.026 226);
  --muted-foreground: oklch(0.46 0.045 258);
  --accent: oklch(0.44 0.142 252);
  --border: oklch(0.9 0.024 234);
  --ring: oklch(0.665 0.168 232);
  --partner-sky: oklch(0.942 0.036 226);
  --partner-glow: oklch(0.89 0.068 224);
  --navy-surface: oklch(0.22 0.078 264);
  --navy-surface-foreground: oklch(0.988 0.005 230);

  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --radius: 0.875rem;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px oklch(0.245 0.075 264 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ---------- Botões ---------- */

.btn-tray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  box-shadow: 0 12px 26px -10px oklch(0.665 0.168 232 / 0.55);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn-tray:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
  box-shadow: 0 16px 32px -12px oklch(0.665 0.168 232 / 0.65);
}

.btn-tray:focus-visible,
.btn-outline:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.btn-tray.btn-sm {
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.245 0.075 264 / 0.2);
  background-color: oklch(1 0 0 / 0.72);
  color: var(--foreground);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn-outline:hover {
  background-color: var(--card);
  border-color: oklch(0.245 0.075 264 / 0.38);
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--primary);
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background:
    radial-gradient(62% 58% at 12% 10%, var(--partner-glow), transparent 72%),
    radial-gradient(54% 52% at 92% 88%, var(--partner-glow), transparent 70%),
    linear-gradient(180deg, var(--partner-sky) 0%, var(--background) 100%);
}

.hero-inner {
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-copy {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-logo-dcm {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-plus {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hero-logo-tray {
  height: 44px;
  width: auto;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
}

.accent-word {
  font-style: italic;
  color: var(--primary);
}

.lead {
  margin-top: 24px;
  max-width: 672px;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.lead strong {
  color: var(--foreground);
  font-weight: 600;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.hero-actions .btn-tray,
.hero-actions .btn-outline {
  width: 100%;
  max-width: 420px;
}

.hero-highlights {
  margin-top: 56px;
  display: grid;
  gap: 16px;
}

.glass-card {
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
  text-align: left;
  background: linear-gradient(155deg, oklch(1 0 0 / 0.92) 0%, oklch(0.955 0.024 226 / 0.72) 100%);
  border: 1px solid oklch(0.86 0.04 228 / 0.75);
  box-shadow: 0 12px 32px -18px oklch(0.245 0.075 264 / 0.18);
}

.glass-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.glass-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Seções ---------- */

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-head {
  max-width: 672px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
}

.grid-2 {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.card {
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px -20px oklch(0.245 0.075 264 / 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: oklch(0.665 0.168 232 / 0.45);
  box-shadow: 0 18px 36px -22px oklch(0.245 0.075 264 / 0.24);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: var(--secondary);
  color: var(--primary);
  margin-bottom: 16px;
}

.card-icon.accent {
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ---------- Faixa Tray ---------- */

.band {
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
}

.band-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  gap: 48px;
  align-items: center;
}

.band-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  font-weight: 700;
}

.band-copy p {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
}

.band-copy .btn-tray {
  margin-top: 28px;
}

.band-grid {
  display: grid;
  gap: 16px;
}

.band-grid .card {
  padding: 22px;
}

.band-grid .card h3 {
  font-size: 1.0625rem;
}

/* ---------- CTA final ---------- */

.cta {
  border-radius: calc(var(--radius) + 12px);
  padding: 48px 24px;
  text-align: center;
  color: var(--navy-surface-foreground);
  background:
    radial-gradient(48% 90% at 88% 15%, oklch(0.665 0.168 232 / 0.28), transparent 70%),
    radial-gradient(40% 70% at 10% 90%, oklch(0.44 0.142 252 / 0.32), transparent 70%),
    var(--navy-surface);
}

.cta h2 {
  max-width: 672px;
  margin: 0 auto;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
}

.cta p {
  margin: 16px auto 0;
  max-width: 576px;
  font-size: 1.0625rem;
  opacity: 0.9;
}

.cta-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-actions .btn-tray {
  width: 100%;
  max-width: 340px;
}

.cta-note {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  opacity: 0.85;
}

.cta-note .icon-sm {
  color: var(--primary);
}

/* ---------- Rodapé ---------- */

.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background-color: var(--background);
}

.footer-inner {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-inner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-tray:hover,
  .card:hover {
    transform: none;
  }
}

/* ---------- Responsivo ---------- */

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }

  .hero-inner {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .btn-tray,
  .hero-actions .btn-outline {
    width: auto;
    max-width: none;
  }

  .grid-2,
  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    padding: 64px 48px;
  }

  .cta-actions {
    flex-direction: row;
  }

  .cta-actions .btn-tray {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .brand-logo {
    height: 40px;
  }

  .hero-logo-dcm,
  .hero-logo-tray {
    height: 48px;
  }

  .band-inner {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}
