:root {
  --bg: #f6f3ed;
  --paper: #fffaf2;
  --ink: #18211f;
  --muted: #5c6863;
  --line: rgba(24, 33, 31, 0.14);
  --green: #186347;
  --green-2: #0f4934;
  --gold: #d7a43b;
  --blue: #245b82;
  --terra: #a6532d;
  --shadow: 0 20px 60px rgba(24, 33, 31, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.topbar {
  align-items: center;
  background: rgba(246, 243, 237, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.topbar.is-elevated {
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(24, 33, 31, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: var(--radius);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 3px;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  border-radius: var(--radius);
  color: #fff !important;
  padding: 11px 16px;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0;
  position: relative;
  width: 42px;
  z-index: 32;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 99px;
  display: block;
  height: 3px;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
  width: 24px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  padding: 148px clamp(18px, 5vw, 72px) 86px;
  position: relative;
}

.hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(9, 18, 15, 0.82) 0%, rgba(9, 18, 15, 0.62) 44%, rgba(9, 18, 15, 0.15) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 770px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin: 14px 0 22px;
  max-width: 880px;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  line-height: 1.62;
  margin: 0;
  max-width: 650px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.18);
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #201608;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.48);
}

.button.dark {
  background: var(--green);
  color: #fff;
  width: 100%;
}

.section {
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.profile-copy h2,
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  line-height: 1.05;
  margin: 12px 0 0;
}

.intro-grid,
.product-grid,
.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.info-panel,
.timeline-item,
.quiz {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 31, 0.06);
}

.info-panel {
  padding: 28px;
}

.panel-icon,
.timeline-item span {
  align-items: center;
  background: rgba(24, 99, 71, 0.1);
  border-radius: var(--radius);
  color: var(--green);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.info-panel h3,
.timeline-item h3 {
  font-size: 1.25rem;
  margin: 20px 0 10px;
}

.info-panel p,
.timeline-item p,
.profile-copy p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.products {
  background: #e9efe9;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 320px;
  padding: 20px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(24, 99, 71, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-art-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card strong,
.product-card small {
  display: block;
}

.product-card strong {
  font-size: 1.22rem;
  margin-top: 18px;
}

.product-card small {
  color: var(--muted);
  line-height: 1.48;
  margin-top: 8px;
}

.product-card .button {
  margin-top: 18px;
  width: auto;
}

.details-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-panel {
  padding: 28px;
}

.detail-panel h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.detail-panel p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

#detalhes-produtos {
  scroll-margin-top: 96px;
}

/* Seção de localização presencial */
.map-section {
  background: linear-gradient(180deg, rgba(250,250,248,0.6), rgba(245,250,248,0.8));
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 72px);
  border-radius: var(--radius);
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 6vw, 80px);
}

.map-content {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 18px;
}

.map-info {
  padding: 18px;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

.map-section.is-highlight {
  box-shadow: 0 14px 40px rgba(24, 99, 71, 0.12);
  transform: translateY(-4px);
  transition: box-shadow 260ms ease, transform 260ms ease;
}

@media (max-width: 760px) {
  .map-content {
    grid-template-columns: 1fr;
  }
}

.product-art {
  background: #dce7ec;
  border-radius: var(--radius);
  display: block;
  min-height: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.product-art img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
  width: 100%;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .product-art img,
.product-card:focus-visible .product-art img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.05);
}

.profile {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
}

.profile-copy .button {
  margin-top: 26px;
}

.quiz {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.quiz label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.quiz select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 48px;
  padding: 0 14px;
}

.remote {
  background: #eef3f6;
}

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

.timeline-item {
  padding: 24px;
}

.cta-band {
  align-items: center;
  background: var(--green-2);
  color: #fff;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  margin: 0 clamp(18px, 5vw, 72px) clamp(68px, 9vw, 110px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 760px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.footer p {
  margin: 0;
}

.footer-note {
  color: var(--green);
  font-weight: 700;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

@media (max-width: 1040px) {
  .intro-grid,
  .product-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-art {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 72vh;
  }

  .product-art {
    min-height: 180px;
    aspect-ratio: 1 / 1;
  }
  .topbar {
    height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    align-items: stretch;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    max-width: 330px;
    padding: 86px 20px 24px;
    transform: translateX(110%);
    transition: transform 220ms ease;
    width: min(100vw, 330px);
    z-index: 30;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    border-radius: var(--radius);
    padding: 14px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero-shade {
    background: rgba(9, 18, 15, 0.72);
  }

  .intro-grid,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 220px;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions {
    margin-top: 0;
  }

  .button {
    width: 100%;
  }

  .footer {
    display: block;
  }

  .footer-note {
    margin-top: 10px;
  }
}
