/* ============================================
   Trilha do Ecommerce — Site Principal
   Sistema visual: navy + laranja + paper + kraft
   Fonte: Space Grotesk (auto-hospedada)
   ============================================ */

/* FONTES */
@import url('/assets/fonts/space-grotesk.css');

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* TOKENS */
:root {
  --navy: #15123F;
  --navy-deep: #0A0828;
  --laranja: #D85D1E;
  --laranja-lt: #F0934D;
  --paper: #F5F1E8;
  --kraft: #C9A878;
  --kraft-lt: rgba(201, 168, 120, 0.25);

  --text-navy: #15123F;
  --text-muted: rgba(21, 18, 63, 0.6);
  --text-light: #F5F1E8;
  --text-light-muted: rgba(245, 241, 232, 0.65);

  --font: 'Space Grotesk', system-ui, sans-serif;
  --radius: 0px;
}

/* BASE */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201, 168, 120, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.9;
}

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

.header-nav a {
  font-size: 13px;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--text-light);
}

.btn-nav {
  background: var(--laranja) !important;
  color: var(--paper) !important;
  padding: 7px 16px;
  font-size: 13px !important;
  font-weight: 500;
  opacity: 1 !important;
}

/* BOTÕES */
.btn-primary {
  display: inline-block;
  background: var(--laranja);
  color: var(--paper);
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #bf4f16;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--paper);
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(245, 241, 232, 0.4);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* EYEBROW / LABELS */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kraft);
  margin-bottom: 16px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* HERO */
.hero {
  background: var(--navy);
  padding: 72px 0 64px;
  color: var(--text-light);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-light-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(201, 168, 120, 0.25);
  padding-top: 32px;
}

.stat {
  flex: 1;
  padding-right: 32px;
}

.stat:not(:first-child) {
  padding-left: 32px;
  padding-right: 32px;
}

.stat:last-child {
  padding-right: 0;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 500;
  color: var(--laranja-lt);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 168, 120, 0.25);
  flex-shrink: 0;
}

/* SOBRE */
.sobre {
  background: var(--paper);
  padding: 72px 0;
  border-bottom: 1px solid rgba(201, 168, 120, 0.3);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.sobre-foto img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sobre-texto h2 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.sobre-texto p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 520px;
}

.link-sobre {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--laranja);
  text-decoration: none;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.link-sobre:hover {
  text-decoration: underline;
}

/* OFERTAS */
.ofertas {
  background: var(--navy);
  padding: 72px 0;
  color: var(--text-light);
}

.ofertas .section-label {
  color: rgba(245, 241, 232, 0.45);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 168, 120, 0.2);
  border: 1px solid rgba(201, 168, 120, 0.2);
}

.card {
  background: var(--navy);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.35;
}

.card p {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.6;
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(201, 168, 120, 0.15);
  color: var(--kraft);
  align-self: flex-start;
}

.tag-destaque {
  background: var(--laranja);
  color: var(--paper);
}

.tag-breve {
  background: rgba(201, 168, 120, 0.2);
  color: var(--kraft);
}

.card .btn-primary,
.card .btn-ghost {
  align-self: flex-start;
  margin-top: 4px;
}

/* CTA FINAL */
.cta-final {
  background: var(--paper);
  border-top: 1px solid rgba(201, 168, 120, 0.3);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  max-width: 520px;
}

.cta-final .eyebrow {
  margin-bottom: 12px;
}

.cta-final h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.cta-final p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 120, 0.15);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.35);
  letter-spacing: 0.04em;
}

/* RESPONSIVO */
@media (max-width: 720px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }

  .sobre-foto {
    display: flex;
    justify-content: center;
  }

  .foto-placeholder {
    width: 100%;
    height: 200px;
  }

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

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .stat,
  .stat:not(:first-child) {
    padding: 0;
  }

  .header-nav a:not(.btn-nav) {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
  }
}

/* ACESSIBILIDADE */
:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}