:root {
  --bg: #0c0907;
  --bg-soft: #17110c;
  --bg-card: #1d150f;
  --paper: #f2e8d6;
  --paper-soft: #e4d5bd;

  --text: #f8f2e8;
  --text-soft: #b8aa97;
  --text-dark: #17120e;

  --gold: #c7964b;
  --gold-soft: #e4c28d;
  --gold-deep: #8f652d;

  --border: rgba(228, 194, 141, 0.2);
  --border-dark: rgba(23, 18, 14, 0.12);

  --container: 1180px;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  --shadow-soft:
    0 20px 60px rgba(0, 0, 0, 0.22);

  --shadow-image:
    0 28px 80px rgba(0, 0, 0, 0.34);
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 9, 7, 0.98),
      rgba(12, 9, 7, 0.93)
    );
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(228, 194, 141, 0.38);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.main-nav a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

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


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */

.eyebrow,
.section-label,
.product-kicker {
  margin-bottom: var(--space-md);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button-primary {
  color: #160f08;
  background:
    linear-gradient(
      135deg,
      #e8c790,
      #bd8740
    );
  box-shadow:
    0 12px 32px rgba(183, 132, 61, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(
      135deg,
      #f0d6aa,
      #c99550
    );
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper-soft);
  font-size: 0.92rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 232, 214, 0.3);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}

.section-heading h2,
.store-intro h2,
.about h2,
.coming-soon h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.about h2 span {
  display: block;
  color: var(--gold-soft);
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0 4rem;
  background:
    radial-gradient(
      circle at 74% 24%,
      rgba(173, 120, 48, 0.15),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #0c0907 0%,
      #110c08 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(228, 194, 141, 0.25),
      transparent
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 11vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  margin-top: 0.18em;
  color: var(--gold-soft);
}

.hero-description {
  max-width: 660px;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  max-width: 520px;
}

.hero-note-line {
  flex: 0 0 42px;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--gold);
}

.hero-note p {
  margin-bottom: 0;
  color: #938575;
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(228, 194, 141, 0.18);
  box-shadow: var(--shadow-image);
  background: #17110c;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(8, 5, 3, 0.1),
      transparent 30%
    );
}

.hero-product-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}


/* =========================================================
   INTRODUÇÃO DA LOJA
========================================================= */

.store-intro {
  padding: 4.5rem 0;
  background: var(--paper);
  color: var(--text-dark);
}

.store-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.store-intro .section-label {
  color: var(--gold-deep);
}

.store-intro h2 {
  max-width: 720px;
  color: var(--text-dark);
}

.store-intro-copy {
  max-width: 650px;
}

.store-intro-copy p {
  margin-bottom: 1rem;
  color: #5f5143;
  font-size: 1rem;
  line-height: 1.75;
}

.store-intro-copy p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   PRODUTO EM DESTAQUE
========================================================= */

.featured-product {
  padding: 5rem 0;
  background:
    linear-gradient(
      180deg,
      #110c08 0%,
      #0d0907 100%
    );
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.product-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product-content h3 {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.product-description {
  max-width: 680px;
  color: var(--text-soft);
  line-height: 1.75;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.feature strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--paper);
  font-size: 1rem;
}

.feature p {
  margin-bottom: 0;
  color: #9e8e7d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.015)
    );
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-label,
.price-note {
  color: #978777;
  font-size: 0.8rem;
}

.price {
  margin: 0.18rem 0 0.1rem;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.button-product {
  width: 100%;
}


/* =========================================================
   CONTEÚDO DO LIVRO
========================================================= */

.book-details {
  padding: 5rem 0;
  background:
    linear-gradient(
      180deg,
      #eee2cf 0%,
      #f5ecdd 100%
    );
  color: var(--text-dark);
}

.book-details .section-label {
  color: var(--gold-deep);
}

.book-details .section-heading h2 {
  color: var(--text-dark);
}

.book-details .section-heading h2 span {
  color: #7b5427;
}

.orixas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.orixas-grid span {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  text-align: center;
}

.book-details-text {
  max-width: 730px;
  margin: 2rem auto 0;
  color: #5e5043;
  text-align: center;
  line-height: 1.75;
}


/* =========================================================
   SOBRE
========================================================= */

.about {
  padding: 5rem 0;
  background:
    radial-gradient(
      circle at 18% 45%,
      rgba(177, 119, 45, 0.12),
      transparent 26%
    ),
    #0e0a07;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
}

.about-logo {
  width: min(250px, 70vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35);
}

.about-content {
  max-width: 700px;
}

.about h2 {
  margin-bottom: 1.5rem;
}

.about-content > p:not(.section-label) {
  margin-bottom: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
}


/* =========================================================
   FUTUROS PRODUTOS
========================================================= */

.coming-soon {
  padding: 4.5rem 0;
  text-align: center;
  background: #15100c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.coming-soon-inner {
  max-width: 760px;
}

.coming-soon h2 {
  margin-bottom: 1rem;
  color: var(--paper);
}

.coming-soon p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}


/* =========================================================
   RODAPÉ
========================================================= */

.site-footer {
  padding: 2rem 0;
  background: #090604;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--paper);
}

.footer-copy {
  margin-bottom: 0;
  color: #837667;
  font-size: 0.78rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 700px) {

  .container {
    width: min(100% - 3rem, var(--container));
  }

  .hero {
    padding: 6rem 0 5rem;
  }

  .hero-grid {
    gap: 4rem;
  }

  .store-intro-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 4rem;
    align-items: end;
  }

  .product-offer {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
  }

  .button-product {
    width: auto;
    min-width: 220px;
  }

  .orixas-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 4rem;
  }

  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 960px) {

  .header-inner {
    min-height: 84px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .hero {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    padding: 4.5rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 4.5rem;
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .product-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4.5rem;
  }

  .featured-product,
  .book-details,
  .about {
    padding: 6.5rem 0;
  }

  .store-intro,
  .coming-soon {
    padding: 5.5rem 0;
  }
}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 560px) {

  .container {
    width: min(100% - 1.35rem, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    display: none;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
    border: 0;
  }

  .hero-note {
    margin-top: 1.5rem;
  }

  .hero-product-image,
  .product-image img {
    aspect-ratio: 1.15 / 1;
  }

  .store-intro,
  .featured-product,
  .book-details,
  .about,
  .coming-soon {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .product-content h3 {
    font-size: 2.15rem;
  }

  .feature {
    grid-template-columns: 42px 1fr;
  }

  .orixas-grid span {
    min-height: 66px;
    font-size: 0.9rem;
  }

  .about-logo {
    width: min(210px, 68vw);
  }
}


/* =========================================================
   ACESSIBILIDADE E PERFORMANCE
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
