/* Cotação Online — versão estática (alinhada ao tema React / Tailwind) */
:root {
  --radius: 0.75rem;
  --background: oklch(0.14 0.02 250);
  --foreground: oklch(0.98 0.005 250);
  --surface: oklch(0.18 0.025 250);
  --surface-elevated: oklch(0.22 0.03 250);
  --muted-foreground: oklch(0.7 0.015 250);
  --destructive: oklch(0.6 0.22 25);
  --border: oklch(0.28 0.03 250 / 0.6);
  --brand: oklch(0.68 0.18 45);
  --brand-foreground: oklch(0.14 0.02 250);
  --brand-glow: oklch(0.75 0.2 50);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gradient-hero: radial-gradient(ellipse at top, oklch(0.22 0.05 260) 0%, oklch(0.14 0.02 250) 60%);
  --gradient-brand: linear-gradient(135deg, oklch(0.68 0.18 45) 0%, oklch(0.74 0.2 55) 100%);
  --gradient-radial-brand: radial-gradient(circle at center, oklch(0.68 0.18 45 / 0.25) 0%, transparent 70%);
  --gradient-text: linear-gradient(135deg, oklch(0.98 0.005 250) 0%, oklch(0.7 0.015 250) 100%);
  --shadow-brand: 0 20px 60px -20px oklch(0.68 0.18 45 / 0.5);
  --shadow-elevated: 0 30px 80px -30px oklch(0 0 0 / 0.6);
  --shadow-glow: 0 0 80px oklch(0.68 0.18 45 / 0.3);
}

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

* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

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

/* Utilitários de texto */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-foreground {
  color: var(--foreground);
}

/* Layout */
.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow {
  max-width: 56rem;
}

.container--wide {
  max-width: 80rem;
}

/* Ícones SVG (Lucide via sprite) */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: inherit;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.icon--xs {
  width: 0.75rem;
  height: 0.75rem;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon--md {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--xl {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--2xl {
  width: 2rem;
  height: 2rem;
}

.icon--3xl {
  width: 3rem;
  height: 3rem;
}

.icon--hero {
  width: 3.5rem;
  height: 3.5rem;
}

.icon--feature {
  width: 1.5rem;
  height: 1.5rem;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  background: oklch(0.14 0.02 250 / 0.7);
  border-bottom: 1px solid oklch(0.28 0.03 250 / 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}

.site-header__logo img {
  height: 2.5rem;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--foreground);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.3s,
    transform 0.3s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
}

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

.btn--default {
  height: 2.25rem;
  padding: 0 1rem;
}

.btn--xl {
  min-height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
}

.btn--brand {
  background: var(--gradient-brand);
  color: var(--brand-foreground);
  font-weight: 600;
  box-shadow: var(--shadow-brand);
}

.btn--brand:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.btn--brand-outline {
  border: 1px solid oklch(0.68 0.18 45 / 0.4);
  background: oklch(0.68 0.18 45 / 0.05);
  color: var(--brand);
}

.btn--brand-outline:hover {
  background: oklch(0.68 0.18 45 / 0.1);
  border-color: var(--brand);
}

.btn .icon--xl {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__photo {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: screen;
  background-size: cover;
  background-position: center;
  background-image: url("../assets/hero-bg.jpg");
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__glow {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: var(--gradient-radial-brand);
  pointer-events: none;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.68 0.18 45 / 0.3);
  background: oklch(0.68 0.18 45 / 0.05);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 2rem;
}

.hero__lead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: oklch(0.7 0.015 250 / 0.8);
  line-height: 1.6;
  margin: 0 0 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 42rem;
  margin: 5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid oklch(0.28 0.03 250 / 0.4);
}

.stat__value {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Secções */
.section {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section--surface {
  background: oklch(0.18 0.025 250 / 0.3);
  border-top: 1px solid oklch(0.28 0.03 250 / 0.4);
  border-bottom: 1px solid oklch(0.28 0.03 250 / 0.4);
}

.section--surface .section__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header__eyebrow {
  margin-bottom: 1.5rem;
}

.section-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

.section-header__desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

.diff-head .section-header__title,
.diff-head .section-header__desc {
  text-align: left;
}

.diff-head .section-header__title {
  margin-top: 1.5rem;
}

.diff-head .section-header__desc {
  margin-top: 1rem;
}

/* Cards problema */
.grid-problem {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.card-problem {
  padding: 1.5rem;
  border-radius: 1rem;
  background: oklch(0.18 0.025 250 / 0.6);
  border: 1px solid oklch(0.28 0.03 250 / 0.5);
}

.card-problem__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: oklch(0.6 0.22 25 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--destructive);
  font-size: 1.25rem;
  font-weight: 700;
}

.card-problem h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.card-problem p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Bloco solução */
.solution-card {
  position: relative;
  max-width: 56rem;
  margin: 3rem auto 0;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, var(--surface), var(--surface-elevated));
  border: 1px solid oklch(0.28 0.03 250 / 0.6);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

@media (min-width: 768px) {
  .solution-card {
    padding: 3.5rem;
  }
}

.solution-card__glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: var(--gradient-radial-brand);
  opacity: 0.6;
  pointer-events: none;
}

.solution-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  text-align: center;
}

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

.solution-item__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  color: var(--brand-foreground);
}

.solution-item__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand-foreground);
}

.solution-item__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.solution-item__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Passos */
.grid-steps {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .grid-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: oklch(0.18 0.025 250 / 0.6);
  border: 1px solid oklch(0.28 0.03 250 / 0.5);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.step-card:hover {
  border-color: oklch(0.68 0.18 45 / 0.4);
}

.step-card__num {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  color: var(--brand-foreground);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  font-size: 1rem;
}

.step-card .icon--feature {
  color: var(--brand);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Benefícios */
.grid-benefits-buyer {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

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

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

.grid-benefits-supplier {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .grid-benefits-supplier {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid oklch(0.28 0.03 250 / 0.5);
  transition: border-color 0.3s;
}

.benefit-card--elevated {
  background: oklch(0.22 0.03 250 / 0.6);
}

.benefit-card--flat {
  background: oklch(0.18 0.025 250 / 0.6);
}

.benefit-card:hover {
  border-color: oklch(0.68 0.18 45 / 0.4);
}

.benefit-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: oklch(0.68 0.18 45 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand);
}

.benefit-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Diferenciais */
.diff-section {
  position: relative;
  overflow: hidden;
}

.diff-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: var(--gradient-radial-brand);
  opacity: 0.5;
  pointer-events: none;
}

.diff-layout {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}

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

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.diff-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: oklch(0.18 0.025 250 / 0.6);
  border: 1px solid oklch(0.28 0.03 250 / 0.5);
}

.diff-row .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand);
  margin-top: 0.125rem;
}

.diff-row span {
  color: oklch(0.98 0.005 250 / 0.9);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Posicionamento */
.quote-block {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.quote-block .icon--hero {
  color: var(--brand);
  margin: 0 auto 2rem;
  animation: float 6s ease-in-out infinite;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* CTA final */
.cta-final {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-final {
    padding: 8rem 0;
  }
}

.cta-final__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.cta-final__grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.28 0.03 250 / 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: var(--gradient-radial-brand);
  opacity: 0.7;
  pointer-events: none;
}

.cta-final__card {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: oklch(0.22 0.03 250 / 0.6);
  backdrop-filter: blur(24px);
  border: 1px solid oklch(0.68 0.18 45 / 0.3);
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 768px) {
  .cta-final__card {
    padding: 4rem;
  }
}

.cta-final__card h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.cta-final__card > p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 2.5rem;
}

.cta-final__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-final__actions {
    flex-direction: row;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid oklch(0.28 0.03 250 / 0.4);
  background: oklch(0.18 0.025 250 / 0.4);
  padding: 3rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}

.site-footer__logo img {
  height: 2rem;
  width: auto;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .site-footer__meta {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }
}

.site-footer a:hover {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
