:root {
  --bg: #f6efe4;
  --bg-deep: #3d1820;
  --forest: #6b2a38;
  --forest-soft: #8a3d4c;
  --gold: #c9a24a;
  --gold-bright: #e0bc6a;
  --ink: #231714;
  --muted: #6d5c54;
  --paper: #fffdf8;
  --line: rgba(35, 23, 20, 0.1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --parallax-x: 0px;
  --parallax-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 18% 18%, rgba(201, 162, 74, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 78%, rgba(107, 42, 56, 0.12), transparent 50%),
    linear-gradient(165deg, #fbf6ed 0%, #f6efe4 48%, #efe4d4 100%);
}

.atmosphere-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 162, 74, 0.16), transparent 35%),
    radial-gradient(circle at 72% 28%, rgba(138, 61, 76, 0.1), transparent 40%);
  animation: drift 20s ease-in-out infinite alternate;
}

.atmosphere-veil {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  pointer-events: none;
}

.atmosphere-marks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--forest);
  transform: translate(var(--parallax-x), var(--parallax-y));
  transition: transform 0.4s var(--ease);
}

.float-a {
  animation: float-soft 11s ease-in-out infinite;
}

.float-b {
  animation: float-soft 14s ease-in-out infinite reverse;
}

.float-c {
  animation: float-soft 18s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.2%, 1.4%);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(246, 239, 228, 0.8);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand img,
.brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(107, 42, 56, 0.22);
}

.brand-signal img,
.brand-signal .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 20px rgba(107, 42, 56, 0.22);
  flex-shrink: 0;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}

nav > a:not(.btn):hover {
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #fbf6ed;
}

.btn-primary:hover {
  background: var(--forest-soft);
  border-color: var(--forest-soft);
  color: #fbf6ed;
}

.btn-ghost {
  background: var(--bg);
  border-color: rgba(107, 42, 56, 0.35);
  color: var(--forest);
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--forest);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: 0;
  display: block;
  padding: 1.75rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 2.25rem;
  align-items: center;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero-plane {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0;
  padding: 0;
}

.hero-art {
  margin: 0;
  position: relative;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 42% 55%;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 74, 0.28),
    0 22px 48px rgba(61, 24, 32, 0.18);
}

.hero-art figcaption {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.brand-signal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
}

.hero-slogan {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.08rem, 2.3vw, 1.32rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--forest);
  max-width: 28ch;
}

.hero-rule {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0.95rem 0 0.95rem;
  border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, 0.15));
}

.lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.section {
  padding: 3.25rem 6vw;
  max-width: 720px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
}

.products {
  max-width: 1100px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(61, 24, 32, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(61, 24, 32, 0.12);
}

.product-photo {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(201, 162, 74, 0.28), transparent 45%),
    linear-gradient(160deg, #f3e6d4 0%, #e8d3c0 100%);
  color: var(--forest);
  box-shadow: inset 0 3px 0 var(--gold);
}

.product-photo .product-idx {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  font-variant-numeric: lining-nums tabular-nums;
}

.product-photo strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  padding: 0 1.1rem;
  max-width: 14ch;
  margin: 0 auto;
}

.product-photo .numeral {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.product-body {
  padding: 0.95rem 1rem 1.1rem;
}

.product-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--ink);
}

.product-body p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.steps {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: passo;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.85rem;
  row-gap: 0.25rem;
  align-items: start;
  counter-increment: passo;
}

.steps li::before {
  content: counter(passo);
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--forest);
  color: #fbf6ed;
  font-size: 0.85rem;
  font-weight: 700;
}

.steps strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
}

.steps span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ignite {
  text-align: center;
  padding-bottom: 4.5rem;
  max-width: 1100px;
}

.ignite h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.ignite p {
  margin: 0 auto 1.5rem;
  max-width: 26rem;
}

.ignite .cta-row {
  justify-content: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 6vw 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 1rem 0 1.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-art {
    order: -1;
  }

  .hero-copy {
    text-align: left;
  }

  .brand-signal {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  nav a:not(.btn) {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
