:root{
  --dark:#1A130C;       /* fundo capa */
  --dark-2:#221910;     /* faixa alternada */
  --cream:#FBF7EF;      /* texto claro */
  --cream-dim:#CDBFA6;  /* texto claro secundário */
  --gold:#C8A24B;
  --gold-soft:#A98A3E;
  --vinho:#8B1A1A;
  --green:#138808;
  --red:#CE2B37;
  --maxw:1080px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--dark);
  color:var(--cream);
  font-family:"EB Garamond",Georgia,"Times New Roman",serif;
  font-size:18px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:var(--gold);text-decoration:none}

h1,h2,h3{font-family:"Playfair Display",Georgia,serif;font-weight:700;line-height:1.1}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- faixa Itália ---------- */
.flag{display:flex;width:120px;height:4px;margin:18px auto;border:0}
.flag i{flex:1}
.flag i:nth-child(1){background:var(--green)}
.flag i:nth-child(2){background:#fff}
.flag i:nth-child(3){background:var(--red)}
.flag.small{width:80px;height:3px;margin:0 auto 14px}

/* ---------- botões ---------- */
.btn{
  display:inline-block;font-family:"Playfair Display",serif;font-weight:600;
  font-size:1rem;letter-spacing:.02em;
  background:var(--gold);color:#241a0d;
  padding:13px 26px;border:1px solid var(--gold);border-radius:2px;cursor:pointer;
  transition:transform .15s ease,background .2s ease,box-shadow .2s ease;
}
.btn:hover{background:#d8b15a;transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(200,162,75,.25)}
.btn.ghost{background:transparent;color:var(--gold)}
.btn.ghost:hover{background:rgba(200,162,75,.12);box-shadow:none}

/* botão "em breve" (não clicável) */
.btn.soon{
  background:transparent;color:var(--gold-soft);
  border:1px dashed rgba(200,162,75,.55);cursor:default;letter-spacing:.06em;
  text-transform:uppercase;font-size:.85rem;
}
.btn.soon:hover{background:transparent;transform:none;box-shadow:none}

/* ---------- HERO ---------- */
.hero{padding:34px 20px 64px}
.frame{
  position:relative;max-width:760px;margin:0 auto;
  border:1px solid rgba(200,162,75,.5);
  padding:64px 28px 56px;
}
.frame::before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(200,162,75,.28);
  pointer-events:none;
}
.corner{position:absolute;width:30px;height:30px;border:2px solid var(--gold)}
.corner.tl{top:-1px;left:-1px;border-right:0;border-bottom:0}
.corner.tr{top:-1px;right:-1px;border-left:0;border-bottom:0}
.corner.bl{bottom:-1px;left:-1px;border-right:0;border-top:0}
.corner.br{bottom:-1px;right:-1px;border-left:0;border-top:0}

.hero-inner{text-align:center;position:relative}
.avatar{
  width:128px;height:128px;border-radius:50%;object-fit:cover;
  margin:0 auto 22px;border:2.5px solid var(--gold);
  box-shadow:0 6px 26px rgba(0,0,0,.5);
}
.eyebrow{font-size:.82rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--gold-soft);margin-bottom:10px}
.hero h1{font-size:clamp(2.6rem,8vw,4.6rem);color:var(--gold);letter-spacing:.01em}
.lede{color:var(--cream-dim);max-width:48ch;margin:6px auto 26px}
.lede strong{color:var(--gold)}

/* ---------- bandas ---------- */
.band{padding:84px 0;border-top:1px solid rgba(200,162,75,.14)}
.band.alt{background:var(--dark-2)}
.kicker{font-size:.8rem;letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold-soft);margin-bottom:12px}
.band h2{font-size:clamp(1.7rem,4.5vw,2.5rem);color:var(--cream);margin-bottom:22px;max-width:20ch}
.band p{margin-bottom:16px;color:var(--cream-dim);max-width:62ch}
.band#autor blockquote{
  font-style:italic;color:var(--gold);font-size:1.22rem;line-height:1.5;
  border-left:2px solid var(--gold-soft);padding-left:22px;margin-top:26px;max-width:60ch;
}

/* ---------- livros ---------- */
.books{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:14px}
.book{
  display:flex;flex-direction:column;
  background:rgba(0,0,0,.28);border:1px solid rgba(200,162,75,.22);border-radius:6px;
  overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .2s;
}
.book:hover{transform:translateY(-4px);border-color:rgba(200,162,75,.55);
  box-shadow:0 14px 36px rgba(0,0,0,.45)}
.book-cover{background:#0d0905;padding:22px;display:flex;justify-content:center}
.book-cover img{width:74%;border-radius:3px;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.book-body{padding:8px 26px 28px;text-align:center}
.book-body h3{font-size:1.9rem;color:var(--gold);margin-bottom:8px}
.book-body p{color:var(--cream-dim);margin-bottom:18px}
.book-body .btn{width:100%}

/* ---------- footer ---------- */
.foot{padding:54px 0 40px;text-align:center;border-top:1px solid rgba(200,162,75,.18)}
.foot-name{font-family:"Playfair Display",serif;color:var(--gold);font-size:1.4rem;margin-bottom:6px}
.foot-contact a{color:var(--cream-dim)}
.foot-contact a:hover{color:var(--gold)}
.foot-contact span{color:var(--gold-soft);margin:0 8px}
.foot-mini{color:var(--gold-soft);font-style:italic;font-size:.9rem;margin-top:14px}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- responsivo ---------- */
@media (max-width:720px){
  body{font-size:17px}
  .books{grid-template-columns:1fr}
  .frame{padding:48px 18px 42px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .btn:hover,.book:hover{transform:none}
}
