/* ============================================================
   Daelin Creations — "Literary Light"
   Paleta e tipografia derivadas do banner da loja Etsy.
   ============================================================ */

:root {
  /* Cores */
  --cream:      #FBF7F0;   /* fundo principal */
  --cream-2:    #F4ECE0;   /* blocos alternados */
  --paper:      #FFFFFF;   /* cards */
  --navy:       #1E2C50;   /* títulos / texto forte */
  --navy-soft:  #2C3E63;
  --gold:       #B98A3C;   /* acento principal */
  --gold-deep:  #9A6E28;
  --blush:      #E4B7B7;   /* acento secundário */
  --blush-tint: #F7E6E4;
  --teal:       #3B8A82;   /* acento secundário */
  --teal-tint:  #E1EEEB;
  --ink:        #4A4842;   /* corpo de texto */
  --muted:      #7C776D;   /* texto secundário */
  --line:       #E7DECF;   /* bordas suaves */

  /* Tipografia */
  --display: "Cinzel", Georgia, "Times New Roman", serif;
  --serif:   "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Métricas */
  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(30, 44, 80, 0.08);
  --shadow-hover: 0 12px 36px rgba(30, 44, 80, 0.14);
}

/* ---------- Reset leve ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { color: var(--navy); font-family: var(--serif); font-weight: 600; line-height: 1.15; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Wordmark / títulos de marca em Cinzel */
.brandface { font-family: var(--display); letter-spacing: .04em; text-transform: uppercase; }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 .6rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: .95rem; letter-spacing: .01em; padding: .8em 1.6em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(185,138,60,.35); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,240,.92); backdrop-filter: blur(8px);
  border-top: 3px solid var(--teal);   /* linha-assinatura de contraste */
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo .l1 { font-family: var(--display); font-size: 1.35rem; color: var(--navy); letter-spacing: .08em; }
.logo .l2 { font-family: var(--display); font-size: .78rem; color: var(--gold-deep); letter-spacing: .34em; margin-top: 3px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-family: var(--sans); font-size: .92rem; color: var(--navy); letter-spacing: .02em; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center; overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(60% 60% at 15% 10%, var(--blush-tint) 0%, transparent 60%),
    radial-gradient(55% 55% at 90% 20%, var(--teal-tint) 0%, transparent 60%),
    radial-gradient(70% 70% at 70% 100%, #f3ead7 0%, transparent 60%),
    var(--cream);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 .3em; letter-spacing: .01em; }
.hero h1 .g { color: var(--gold); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--ink); max-width: 620px; margin: 0 auto 1.8em; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .ornament { color: var(--gold); font-size: 1.4rem; letter-spacing: .5em; margin-bottom: 1.2rem; }

/* ---------- Seções ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .4em; }
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 2px;
  background: var(--teal); margin: .55em auto 0;
}
.section-head p { color: var(--muted); margin: 0; }
.alt { background: var(--cream-2); }

/* ---------- Filtros do catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -14px 0 40px; }
.fbtn {
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .5em 1.2em; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--navy); border: 1px solid var(--line);
  transition: all .15s ease;
}
.fbtn:hover { border-color: var(--teal); color: var(--teal); }
.fbtn.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- Grade de produtos ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag {
  font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--teal); font-weight: 600; margin-bottom: 8px;
}
.card h3 { font-size: 1.3rem; margin: 0 0 .35em; }
.card .desc { color: var(--muted); font-size: .98rem; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.price { font-family: var(--sans); font-weight: 600; color: var(--navy); }
.price .cur { color: var(--gold-deep); font-size: .85em; }

/* ---------- Faixa de valores ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.value { text-align: center; }
.value .ico { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.value h3 { font-size: 1.2rem; margin: 0 0 .3em; }
.value p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--teal-tint); }
.newsletter .wrap { text-align: center; max-width: 620px; }
.newsletter h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .3em; }
.newsletter p { color: var(--ink); margin: 0 0 1.6em; }
.nl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nl-form input {
  font-family: var(--sans); font-size: 1rem; padding: .8em 1.1em; min-width: 280px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.nl-form input:focus { outline: 2px solid var(--teal); border-color: transparent; }

/* ---------- Página de produto ---------- */
.crumbs { font-family: var(--sans); font-size: .85rem; color: var(--muted); padding: 26px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; padding: 34px 0 80px; align-items: start; }
.gallery .main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.gallery .thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery .thumbs img { width: 33%; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; box-shadow: var(--shadow); }
.pinfo h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: .1em 0 .3em; }
.pinfo .ptag { font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 600; }
.pinfo .plead { font-size: 1.15rem; color: var(--ink); }
.pinfo .pprice { font-family: var(--sans); font-weight: 600; font-size: 1.5rem; color: var(--navy); margin: 18px 0; }
.pinfo .pprice .cur { color: var(--gold-deep); font-size: .7em; }
.buybox { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 22px 0; }
.payhip-slot { border: 1px dashed var(--gold); border-radius: 8px; padding: 16px; text-align: center; color: var(--gold-deep); font-family: var(--sans); font-size: .9rem; background: #fdf7ec; }
.buynote { font-family: var(--sans); font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.features { list-style: none; padding: 0; margin: 20px 0 0; }
.features li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.features li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1em; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post .body { padding: 22px 24px 26px; }
.post .date { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.post h3 { font-size: 1.28rem; margin: .5em 0 .35em; }
.post p { color: var(--muted); font-size: .98rem; margin: 0; }
.post .banner { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--blush-tint), var(--teal-tint)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--display); font-size: 1.6rem; }

/* ---------- Página simples (Sobre) ---------- */
.page-hero { text-align: center; padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .logo .l1 { color: var(--navy); }
.site-footer p { color: var(--muted); font-size: .95rem; max-width: 320px; }
.fcol h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin: 0 0 14px; }
.fcol a { display: block; font-family: var(--sans); font-size: .95rem; color: var(--ink); margin-bottom: 9px; }
.fcol a:hover { color: var(--gold-deep); }
.copyright { text-align: center; color: var(--muted); font-family: var(--sans); font-size: .82rem; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; gap: 26px; }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .nav { gap: 16px; }
  .nav a { font-size: .82rem; }
  .logo .l2 { letter-spacing: .24em; }
  .grid, .posts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
