/* ─────────────────────────────────────────────────────────────
   Design tokens (ported from the original Tailwind theme)
   ───────────────────────────────────────────────────────────── */
:root {
  --radius: 1.25rem;

  --brand: oklch(0.68 0.18 355);
  --brand-deep: oklch(0.43 0.16 355);
  --ink: oklch(0.27 0.06 350);
  --whats: oklch(0.6 0.15 152);

  --background: oklch(0.985 0.012 350);
  --foreground: oklch(0.27 0.06 350);
  --card: oklch(1 0 0 / 78%);
  --primary: oklch(0.43 0.16 355);
  --primary-foreground: oklch(0.99 0.006 350);
  --secondary: oklch(0.93 0.045 350);
  --muted-foreground: oklch(0.47 0.055 350);
  --accent: oklch(0.68 0.18 355);
  --accent-foreground: oklch(0.99 0.006 350);
  --border: oklch(0.88 0.055 350);

  --gradient-campaign: linear-gradient(
    145deg,
    oklch(0.93 0.045 350) 0%,
    oklch(0.82 0.11 355) 52%,
    oklch(0.95 0.028 350) 100%
  );
  --shadow-card: 0 18px 40px -24px oklch(0.43 0.16 355 / 28%);
  --shadow-card-hover: 0 26px 60px -24px oklch(0.43 0.16 355 / 42%);

  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

/* ───────────────────────────────────────────────────────────── */

* {
  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-sans);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

p {
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-outline {
  border: 1px solid oklch(0.27 0.06 350 / 25%);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background-color: oklch(0.985 0.012 350 / 70%);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.btn-accent:hover {
  background-color: var(--brand-deep);
}

.btn-whats {
  background-color: var(--whats);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-whats:hover {
  transform: translateY(-2px);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid oklch(0.88 0.055 350 / 60%);
  background-color: oklch(0.985 0.012 350 / 85%);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo {
    height: 2rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-campaign);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(0.68 0.18 355 / 35%);
  background-color: oklch(0.985 0.012 350 / 65%);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
}

.hero-title {
  margin-top: 1.75rem;
  max-width: 56rem;
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: oklch(0.27 0.06 350 / 75%);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-stats {
  margin: 3.5rem 0 0;
  max-width: 42rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}

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

.stat {
  border-left: 2px solid oklch(0.27 0.06 350 / 20%);
  padding-left: 1rem;
}

.stat dt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.stat dd {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(0.27 0.06 350 / 70%);
}

/* Produtos */
.produtos {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .produtos {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.produtos-heading {
  max-width: 42rem;
}

.produtos-heading h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .produtos-heading h2 {
    font-size: 2.25rem;
  }
}

.produtos-heading p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.produtos-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.produto-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.produto-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-card-hover);
}

@media (prefers-reduced-motion: reduce) {
  .produto-card {
    transition: none;
  }
  .produto-card:hover {
    transform: none;
  }
}

.produto-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--secondary);
}

.produto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.produto-card:hover .produto-media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .produto-media img {
    transition: none;
  }
  .produto-card:hover .produto-media img {
    transform: none;
  }
}

/* Placeholder shown by script.js when a product photo is still missing */
.produto-media.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.produto-media.is-missing img {
  display: none;
}

.produto-media.is-missing::after {
  content: attr(data-placeholder-label);
  padding: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: oklch(0.27 0.06 350 / 45%);
}

.produto-tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  border: 1px solid oklch(0.68 0.18 355 / 20%);
  border-radius: 999px;
  background-color: oklch(0.985 0.012 350 / 85%);
  backdrop-filter: blur(16px);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-deep);
}

.produto-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.produto-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.produto-body p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.produto-body .btn {
  align-self: flex-start;
}

/* CTA */
.cta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gradient-campaign);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-text {
  max-width: 36rem;
}

.cta-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 640px) {
  .cta-text h2 {
    font-size: 2.25rem;
  }
}

.cta-text p {
  margin-top: 0.75rem;
  color: oklch(0.27 0.06 350 / 75%);
}

/* Footer */
.site-footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo {
  height: 2rem;
  max-width: 190px;
}

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