/* =========================
   HOME (limpo e consolidado)
   =========================
   Correções feitas:
   - Removidas duplicações (ex.: #destaques.section repetido, múltiplos patches de .btnx/.nav)
   - Removidos “patches” conflitantes (linhas/risco no menu, resets repetidos)
   - Consolidado o efeito da foto + nome do autor em um único bloco
   - Mantida a responsividade (breakpoints 980/760/560)
   - Mantido o contador (Alt+C)
   - Mantidas classes usadas no HTML (sem remover regras necessárias ao mobile)
*/

/* =========================
   BASE
   ========================= */
.home{ min-height: 100vh; }

/* =========================
   HEADER (não fixo)
   ========================= */
.home-header{
  display: none;
}

.home-header__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(166,124,82,0.35);
}

.brand__name{ font-size: 16px; }

/* Nav desktop */
.home-nav{
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-nav a{
  text-decoration: none;
  color: var(--text);
  opacity: 0.85;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.home-nav a:hover{ opacity: 1; }

/* CTA Contato */
.home-nav .nav-cta{
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(166,124,82,0.22);
  opacity: 1;
}

/* =========================
   MENU MOBILE
   ========================= */
.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.65);
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  margin: 4px auto;
  background: rgba(0,0,0,0.65);
  border-radius: 2px;
}

.home-nav-mobile{
  display: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 16px 16px;
  gap: 10px;
}

.home-nav-mobile[hidden]{ display: none !important; }
body.menu-open .home-nav-mobile{ display: grid; }

.home-nav-mobile a{
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
}

.home-nav-mobile .mobile-social{
  background: rgba(166,124,82,0.12);
  border-color: rgba(166,124,82,0.22);
}

/* =========================
   HERO
   ========================= */
.hero-shell{
  position: relative;
  overflow: hidden;
  padding: 16px 0 16px;
}

.hero-shell::before{
  content:"";
  position:absolute;
  inset: -40px -40px auto -40px;
  height: 420px;
  background:
    radial-gradient(600px 240px at 20% 10%, rgba(166,124,82,0.20), transparent 60%),
    radial-gradient(500px 220px at 80% 0%, rgba(139,94,52,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0));
  pointer-events:none;
}

.hero-shell__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 28px;
  align-items: start;
  position: relative;
}

/* Texto: Escritor • ... */
.hero-copy .kicker{
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(166,124,82,0.12);
  border: 1px solid rgba(166,124,82,0.18);

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* Chips do topo (kickers) — layout base */
.hero-kickers{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.hero-kickers .kicker{
  margin: 0; /* remove o margin-bottom que existe no .hero-copy .kicker */
}


.hero-copy h1{
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}

.hero-copy .sub{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

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

.hero-links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
}

.hero-links a{
  color: var(--text);
  opacity: 0.85;
  text-decoration: none;
}

.hero-links a:hover{ opacity: 1; text-decoration: underline; }

/* =========================
   BOTÕES / LINKS (nítidos)
   ========================= */
.home-nav a,
.btnx,
.mini-link,
.card__link{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

.btnx{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.15px;

  padding: 12px 14px;
  border-radius: 14px;

  border: 1px solid transparent;
  transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btnx.primary{
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 14px 34px rgba(166,124,82,0.22);
  text-shadow: 0 1px 0 rgba(0,0,0,0.14);
}

.btnx.primary:hover{
  box-shadow: 0 18px 48px rgba(166,124,82,0.28);
}

.btnx.ghost{
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.10);
  color: var(--text);
}

.btnx.ghost:hover{
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

/* Botão desativado */
.btnx.disabled{
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
  box-shadow: none !important;
}

/* =========================
   CARD DO AUTOR
   ========================= */
.hero-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Foto + aura */
.hero-card__photo{
  position: relative;
  transform: translateY(8px);
  margin-bottom: 8px;

  display: flex;
  justify-content: center;
  padding: 18px;

  isolation: isolate;
}

.hero-card__photo::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 176px;
  height: 176px;
  transform: translate(-50%, -50%);
  border-radius: 26px;
  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(166,124,82,1),
    rgba(255,255,255,0.65),
    rgba(166,124,82,1)
  );
  background-size: 320% 100%;

  animation: shimmer 10s linear infinite, pulseFrameStrong 2.6s ease-in-out infinite;

  box-shadow:
    0 0 22px rgba(166,124,82,0.55),
    0 0 48px rgba(166,124,82,0.35);

  filter: blur(0.8px);
  opacity: 0.95;
  pointer-events: none;
}

.hero-card__photo::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  z-index: 0;

  background: radial-gradient(
    circle,
    rgba(166,124,82,0.22) 0%,
    rgba(166,124,82,0.10) 38%,
    rgba(166,124,82,0.00) 70%
  );

  filter: blur(0.6px);
  pointer-events: none;
}

.hero-card__photo img{
  position: relative;
  z-index: 1;

  width: 160px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;

  box-shadow:
    0 18px 50px rgba(166,124,82,0.28),
    0 0 18px rgba(166,124,82,0.22);

  opacity: 1;
  transition:
    opacity 600ms ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* durante a troca */
.hero-card__photo img.is-fading{
  opacity: 0;
}


.hero-card__photo img:hover{
  transform: scale(1.03);
  box-shadow:
    0 22px 70px rgba(166,124,82,0.35),
    0 0 26px rgba(166,124,82,0.30);
}

@keyframes pulseFrameStrong{
  0%{
    box-shadow:
      0 0 18px rgba(166,124,82,0.50),
      0 0 40px rgba(166,124,82,0.28);
  }
  50%{
    box-shadow:
      0 0 28px rgba(166,124,82,0.70),
      0 0 70px rgba(166,124,82,0.42);
  }
  100%{
    box-shadow:
      0 0 18px rgba(166,124,82,0.50),
      0 0 40px rgba(166,124,82,0.28);
  }
}

.hero-card__info{ padding: 0 18px 18px; }

/* Nome do autor (Brolink + shimmer) */
.hero-card__name{
  font-family: "BrolinkDemo", serif;
  font-size: 28px;
  font-weight: normal;
  text-align: center;

  margin: 18px 0 12px;
  letter-spacing: 1.4px;

  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 46%,
    rgba(245,230,210,0.90) 50%,
    var(--accent-2) 54%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: shimmer 18s linear infinite;

  /* text-shadow removido: não tem efeito visível em texto com color: transparent */
}

.hero-card__bio{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-card__badges span,
.hero-card__badges a{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.15px;

  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}

.hero-card__badges a{
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hero-card__badges a:hover{
  background: rgba(166,124,82,0.12);
  border-color: rgba(166,124,82,0.22);
  transform: translateY(-1px);
}

/* =========================
   SEÇÕES
   ========================= */
.section{ padding: 34px 0; }

.section__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.section__head{
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.section__head h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section__head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Seção "Minhas obras" (não puxar para cima) */
#destaques.section{ padding-top: 0; }
#destaques{ margin-top: 0; }

/* =========================
   DESTAQUES
   ========================= */
.featured{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.book-feature{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;

  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
}

.book-feature__cover{
  display:block;
  text-decoration:none;
}

.book-feature__cover img{
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.book-feature__cover:hover img{
  transform: translateY(-2px);
  box-shadow: 0 18px 54px rgba(166,124,82,0.22);
}

.book-feature__content h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.book-feature__content .meta{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.book-feature__content .desc{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.book-feature .actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Placeholder premium — Próximo livro */
.book-feature__cover.placeholder .ph{
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;

  display: grid;
  place-items: center;

  background:
    radial-gradient(260px 160px at 30% 40%, rgba(166,124,82,0.18), transparent 60%),
    radial-gradient(220px 140px at 80% 20%, rgba(139,94,52,0.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));

  border: 1px solid rgba(0,0,0,0.06);
}

.book-feature__cover.placeholder .ph__badge{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.75);
  letter-spacing: 0.4px;
}

/* =========================
   CATÁLOGO (grid)
   ========================= */
.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card{
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
  overflow: hidden;
}

.card__cover{
  display: block;
  text-decoration: none;
  background: rgba(0,0,0,0.03);
}

.card__cover img{
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card__body{ padding: 14px 14px 16px; }

.card__body h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.card__body p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.card__link{
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.card__link:hover{ text-decoration: underline; }

.card__link.muted{
  color: var(--muted);
  font-weight: 600;
}

/* Placeholder genérico */
.placeholder .ph{
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    radial-gradient(260px 160px at 30% 40%, rgba(166,124,82,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.04));
}

.ph__badge{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.08);
}

/* =========================
   CTA
   ========================= */
.cta{ padding: 8px 0 12px;}

.cta__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  justify-content: center;
  align-items: stretch;

  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.cta__copy{
  width: min(100%, 760px);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(166,124,82,0.16), rgba(255,255,255,0.72));
  border: 1px solid rgba(166,124,82,0.18);
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
  padding: 16px;
}

.cta__copy h2{
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.cta__copy p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.cta__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
  padding: 18px;
  height: 100%;
}

.mini-kicker{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.mini-link{
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 10px;
}

.mini-link:hover{
  background: rgba(166,124,82,0.10);
  border-color: rgba(166,124,82,0.22);
}

/* =========================
   FOOTER
   ========================= */
.home-footer{
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 22px 16px 30px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.home-footer .credit{
  font-size: 12px;
  opacity: 0.92;
}

.home-footer .sep{ opacity: 0.55; }

/* =========================
   RESPONSIVO
   ========================= */
@media (max-width: 980px){
  .hero-shell__inner{ grid-template-columns: 1fr; }
  .featured{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .home-nav{ display: none; }
  .nav-toggle{ display: inline-block; }
  .grid{ grid-template-columns: 1fr; }
  .book-feature{ grid-template-columns: 140px 1fr; }
}

@media (max-width: 560px){
  .hero-card__photo::before{ width: 182px; height: 182px; }
  .hero-card__photo::after{  width: 214px; height: 214px; }
}

.book-feature__content .price{
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.book-feature__content .price strong{
  font-size: 16px;
  letter-spacing: 0.1px;
}

.book-feature__content .price__note{
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
}

/* Breakpoint 800px — unificado */
@media (max-width: 800px){

  #destaques{
    margin-top: 26px;
  }

  #destaques.section{
    padding-top: 18px;
    padding-bottom: 6px;
  }

  /* esconde apenas os badges do topo */
  .hero-card__badges--top{
    display: none;
  }

  /* mantém os links visíveis abaixo da biografia */
  .hero-card__badges--links{
    display: flex;
  }
  /* Ordem mobile – páginas de livro */
.book-page .book-info{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 1. Título */
.book-page .book-info .book-title{
  order: 1;
}

/* 2. Botão */
.book-page .book-info .book-actions{
  order: 2 !important;
  margin: 10px 0;
}

/* 3. Frase descritiva (subtitle) */
.book-page .book-info .book-subtitle{
  order: 3;
}

/* 4. Texto longo */
.book-page .book-info .book-description{
  order: 4;
}
}

/* Shimmer: keyframe definido em style.css (removido daqui para evitar conflito) */
.hero-card__badges--links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
@media (max-width: 560px){

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

  .book-feature{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .book-feature__content{
    display: contents;
  }

  /* TÍTULO */
  .book-feature__content h3{
    order: 1;
    font-size: 1.90rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  /* LINHA DE CATEGORIA */
  .book-feature__content .meta{
    order: 2;
    margin-top: 0;
    margin-bottom: 6px;
  }
   /* CAPA */
  .book-feature__cover{
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 8px;
  }

  .book-feature__cover img{
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* DESCRIÇÃO */
  .book-feature__content .desc{
    order: 4;
    margin-top: 0;
  }

  /* PREÇO */
  .book-feature__content .price{
    order: 5;
  }

  /* BOTÕES */
  .book-feature .actions{
    order: 6;
    justify-content: flex-start;
  }
}
/* ===================================
   REFINO VISUAL DA HOME
   inspirado na página de contos
   =================================== */

.home{
  background:
    radial-gradient(circle at top left, rgba(166,124,82,0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(166,124,82,0.08), transparent 24%),
    linear-gradient(180deg, #f7f5f2 0%, #f4f0ea 100%);
}

/* ---------- HERO ---------- */

.hero-shell{
  padding: 10px 0 22px;
}

.hero-shell__inner{
  border-radius: 30px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.76)),
    linear-gradient(135deg, rgba(166,124,82,0.10), rgba(139,94,52,0.05));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.8) inset;
}

.hero-shell::before{
  inset: -20px -20px auto -20px;
  height: 360px;
  opacity: 0.95;
}

.home-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(166,124,82,0.10);
  border: 1px solid rgba(166,124,82,0.18);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__title{
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--accent), #ffffff, var(--accent));
  background-size: 300% 100%;
  animation: shimmer 14s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-copy .sub{
  font-size: 16px;
  line-height: 1.82;
  max-width: 72ch;
}

.hero-card{
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(166,124,82,0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,238,0.92));
  border: 1px solid rgba(166,124,82,0.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.08),
    0 0 0 1px rgba(166,124,82,0.04);
}

.hero-card__info{
  padding: 4px 22px 22px;
}

.hero-card__bio{
  text-align: justify;
  line-height: 1.78;
}

.hero-card__badges--links{
  margin-top: 14px;
}

.hero-card__badges--links a{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
}

.hero-card__badges--links a:hover{
  background: rgba(166,124,82,0.12);
  border-color: rgba(166,124,82,0.22);
}

/* ---------- SEÇÕES ---------- */

.section{
  padding: 28px 0;
}

.section__head--featured{
  margin-bottom: 22px;
}

.section__subtitle{
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15.5px;
}

/* ---------- OBRAS ---------- */

.featured{
  gap: 20px;
}

.book-feature{
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,250,247,0.96));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 12px 35px rgba(0,0,0,0.05),
    0 1px 0 rgba(255,255,255,0.75) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.book-feature:hover{
  transform: translateY(-3px);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.08),
    0 0 0 1px rgba(166,124,82,0.06);
  border-color: rgba(166,124,82,0.18);
}

.book-feature__cover img{
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(166,124,82,0.16);
}

.book-feature__cover:hover img{
  transform: translateY(-2px);
  box-shadow: 0 18px 54px rgba(166,124,82,0.24);
}

.book-feature__content h3{
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.book-feature__content .meta{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.book-feature__content .desc{
  text-align: justify;
  line-height: 1.76;
}

.book-feature .actions{
  margin-top: 10px;
}

/* ---------- CTA ---------- */

.cta{
  padding-top: 12px;
}

.cta__inner{
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    linear-gradient(135deg, rgba(166,124,82,0.10), rgba(139,94,52,0.05));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.8) inset;
}

.cta__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(166,124,82,0.10);
  border: 1px solid rgba(166,124,82,0.18);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta__copy h2{
  margin-top: 0;
}

.cta__copy p{
  line-height: 1.78;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- RODAPÉ ---------- */

.home-footer{
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 14px;
  padding-top: 24px;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 980px){
  .hero-shell__inner{
    padding: 22px 18px;
    border-radius: 24px;
  }

  .cta__inner{
    padding: 20px 18px;
    border-radius: 24px;
  }
}

@media (max-width: 800px){
  .hero-shell{
    padding-top: 0;
  }

  .hero-shell__inner{
    padding: 20px 16px;
    border-radius: 22px;
  }

  .home-hero__eyebrow{
    font-size: 11px;
  }

  .hero-copy .sub{
    font-size: 15.5px;
    line-height: 1.75;
  }

  .book-feature{
    border-radius: 20px;
  }

  .book-feature__content h3{
    font-size: 20px;
  }

  .section__subtitle{
    font-size: 15px;
  }

  .cta__inner{
    border-radius: 22px;
  }
}

@media (max-width: 560px){
  .hero-shell__inner{
    padding: 18px 14px;
  }

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

  .book-feature__cover{
    max-width: 220px;
    margin: 0 auto;
  }
}
/* ===================================
   CORREÇÃO DO ESTOURO EM "MINHAS OBRAS"
   =================================== */

.featured{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.featured > *{
  min-width: 0;
}

.book-feature{
  min-width: 0;
  width: 100%;
}

.book-feature__content{
  min-width: 0;
}

.book-feature__content h3,
.book-feature__content .desc,
.book-feature__content .meta,
.book-feature__content .price{
  min-width: 0;
  overflow-wrap: break-word;
}

.book-feature .actions{
  min-width: 0;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  .featured{
    grid-template-columns: 1fr;
  }
}
/* Correção estrutural da seção Minhas obras */

#destaques > .section__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.featured,
.book-feature,
.book-feature__content{
  min-width: 0;
}

.book-feature{
  width: 100%;
}
/* ---------- Cabeçalho de seção (estilo editorial) ---------- */

.section__head--featured{
  margin-bottom:22px;
  max-width:760px;
}

.section-title{
  font-family:'BrolinkDemo', serif;
  font-size:28px;
  margin:0 0 6px;
  letter-spacing:0.4px;

  background:linear-gradient(90deg,var(--accent),#ffffff,var(--accent));
  background-size:300% 100%;
  animation:shimmer 14s linear infinite;

  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.section__subtitle{
  margin:0;
  color:var(--muted);
  font-size:15.5px;
  line-height:1.75;
  max-width:65ch;
}
/* CTA com apenas um card visível */
/* CTA com apenas um card visível */
.cta__inner{
  display: flex;
  justify-content: left;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;

  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.cta__copy{
  width: min(100%, 760px);
}