/* Boutique Campos — Home Pública 001
   Paleta: dourado como assinatura (moderação), branco/off-white + grafite
   sustentam a interface. Revista de curadoria, não marketplace. */

:root {
  --color-bg: #FAF8F3;
  --color-bg-alt: #FFFFFF;
  --color-text: #262625;
  --color-text-soft: #5C5A54;
  --color-border: #E8E2D3;

  --color-gold: #B8912F;
  --color-gold-dark: #8A6A1E;
  --color-gold-light: #E7C875;
  --color-gold-bg: #FBF3DE;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1160px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
}

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

a { color: var(--color-gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0 0 .5em; color: var(--color-text); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #2A2210;
}
.btn--gold:hover { text-decoration: none; filter: brightness(1.05); }

/* ---------- Header ---------- */

.site-header { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }

.site-header__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand__emblem { height: 40px; width: 40px; }
.brand__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .01em;
  color: var(--color-text);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand__wordmark { display: none; }
}

.search {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: 420px;
  margin: 0 auto 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  padding: 6px 6px 6px 16px;
}
.search input {
  flex: 1;
  border: none;
  background: none;
  font-size: .9rem;
  color: var(--color-text-soft);
  outline: none;
}
.search input::placeholder { color: #A6A198; }
.search__btn {
  border: none;
  background: none;
  color: var(--color-text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: not-allowed;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex: 0 0 auto;
  font-size: .92rem;
  font-weight: 600;
}
.site-nav a { color: var(--color-text); }
.site-nav a:hover { color: var(--color-gold-dark); text-decoration: none; }

.category-strip {
  background: var(--color-gold-bg);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
}
.category-strip__row {
  display: flex;
  gap: 24px;
  padding: 9px 20px;
  white-space: nowrap;
}
.category-strip a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--color-gold-dark);
  text-transform: uppercase;
}
.category-strip a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .search { display: none; }
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 50;
  }
  .site-header { position: relative; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 20px; border-top: 1px solid var(--color-border); }
  .site-nav a:first-child { border-top: none; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--color-gold-bg), var(--color-bg) 70%);
  padding: 56px 0;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__copy { flex: 1 1 380px; }
.hero__copy h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.15;
}
.hero__copy p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.6em;
}
.hero__visual { flex: 0 1 320px; display: flex; justify-content: center; }
.hero__visual-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #fff, var(--color-gold-bg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(138, 106, 30, .35);
}
.hero__visual-frame img { width: 100%; height: auto; }

@media (max-width: 640px) {
  .hero { padding: 40px 0; }
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__copy { flex-basis: auto; }
  .hero__copy p { margin-inline: auto; }
  .hero__visual { order: -1; flex-basis: auto; }
  .hero__visual-frame { max-width: 220px; }
}

/* ---------- Sections genéricas ---------- */

.section { padding: 56px 0; }
.section--alt { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section__title { font-size: 1.7rem; text-align: center; }
.section__subtitle { text-align: center; color: var(--color-text-soft); margin: 0 0 2.2em; }

/* ---------- Categorias ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--color-text);
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}
.category-card__icon { color: var(--color-gold-dark); }
.category-card__name { font-weight: 600; font-size: .95rem; }
.category-card__badge {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #A6A198;
}
.category-card--ativa {
  border-color: var(--color-gold-light);
  cursor: pointer;
}
.category-card--ativa:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  text-decoration: none;
}
.category-card__badge--ativa { color: var(--color-gold-dark); font-weight: 600; }

/* ---------- Vitrines / Coleções (empty state elegante) ---------- */

.showcase {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed var(--color-gold-light);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--color-gold-bg), transparent);
}
.showcase:last-child { margin-bottom: 0; }
.showcase__icon { color: var(--color-gold-dark); display: flex; justify-content: center; margin-bottom: 10px; }
.showcase__title { font-size: 1.3rem; }
.showcase__text { color: var(--color-text-soft); margin: 0; }

/* ---------- Vitrine com oferta real (não é mais "em breve") ---------- */

.showcase--vitrine-real {
  max-width: 1040px;
  border: 1px solid var(--color-gold-light);
  background: var(--color-bg);
  padding: 40px 24px 32px;
}
.showcase--vitrine-real .showcase__text { margin-bottom: 24px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  justify-content: center;
  gap: 20px;
  text-align: left;
}
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
  max-width: 240px;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.product-card__link { display: flex; flex-direction: column; height: 100%; color: var(--color-text); }
.product-card__link:hover { text-decoration: none; }
.product-card__image { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-card__name { font-weight: 600; padding: 14px 16px 4px; font-size: .95rem; }
.product-card__benefit { color: var(--color-text-soft); font-size: .85rem; padding: 0 16px; flex: 1; }
.product-card__cta { margin: 14px 16px 16px; text-align: center; }

/* ---------- Bloco institucional ---------- */

.institutional-block {
  padding: 60px 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.institutional-block__inner { max-width: 640px; margin: 0 auto; }
.institutional-block__symbol { margin: 0 auto 18px; opacity: .9; }
.institutional-block__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-gold-dark);
  margin: 0 0 14px;
}
.institutional-block__text { color: var(--color-text-soft); margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: #201F1C; color: #D9D4C6; padding: 44px 0 0; }
.site-footer a { color: #D9D4C6; }
.site-footer a:hover { color: var(--color-gold-light); }

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid #3A3833;
}
.site-footer__brand img { height: 64px; filter: grayscale(.15); margin-bottom: 8px; }
.site-footer__brand p { font-family: var(--font-heading); font-style: italic; color: #A6A198; margin: 0; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: .9rem;
  max-width: 420px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: .78rem;
  color: #8B8779;
}
.site-footer__admin-link { opacity: .45; transition: opacity .2s; }
.site-footer__admin-link:hover { opacity: .9; }
.site-footer__admin-link img { display: block; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: #201F1C;
  color: #D9D4C6;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  z-index: 100;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; flex: 1 1 260px; }
.cookie-banner a { color: var(--color-gold-light); }
.cookie-banner button {
  background: var(--color-gold);
  color: #2A2210;
  border: none;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Páginas institucionais ---------- */

.page-header {
  padding: 48px 0 24px;
  text-align: center;
  background: var(--color-gold-bg);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { font-size: 2rem; margin-bottom: .2em; }
.page-header p { color: var(--color-text-soft); margin: 0; }

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.page-content h2 { font-size: 1.3rem; margin-top: 1.8em; }
.page-content p, .page-content li { color: var(--color-text-soft); }
.page-content ul { padding-left: 1.2em; }

.contact-info {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.contact-info a { font-weight: 600; }
