/* ============================================================
   Vinho & Vinil — v2
   Paleta extraída das telas de referência enviadas pelo cliente
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root{
  --bg:#0e0c0a;
  --bg-alt:#1a1512;
  --card:#1c1712;
  --wine:#6b1a2a;
  --wine-light:#7d2f40;
  --tag-vinho-bg:#2a1416;
  --tag-vinho-text:#c1505f;
  --tag-musica-bg:#241f12;
  --tag-musica-text:#c9a13a;
  --gold:#c9a13a;
  --gold-deep:#b8903a;
  --cream:#f4efe4;
  --muted:#a89a86;
  --border-solid:#2a2420;
  --radius:0.9rem;
  --max-w:80rem;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter', sans-serif;
  background-color:var(--bg);
  color:var(--cream);
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4,p{margin:0;}

.font-display{font-family:'Fraunces', serif;}

.wrap{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 1.5rem;
}
@media (min-width:768px){.wrap{padding:0 2.5rem;}}

/* ---------- Cabeçalho ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--border-solid);
  background:rgba(14,12,10,.92);
  backdrop-filter:blur(10px);
}
.header-row{
  max-width:var(--max-w);
  margin:0 auto;
  padding:1.1rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
@media (min-width:768px){.header-row{padding:1.1rem 2.5rem;}}

.brand{display:flex;align-items:center;gap:.9rem;}
.brand-badge{
  display:flex;align-items:center;justify-content:center;
  height:2.6rem;width:2.6rem;
  border-radius:999px;
  border:1.5px solid var(--gold);
  color:var(--gold);
}
.brand-badge-logo{
  height:2.9rem;
  width:auto;
  border:none;
  border-radius:0;
}
.logo-img{
  height:100%;
  width:auto;
  object-fit:contain;
  display:block;
}
.brand-lockup{
  height:2.4rem;
  width:auto;
  object-fit:contain;
  display:block;
}
.brand-lockup-footer{
  height:2.1rem;
}
.brand-name{
  font-family:'Fraunces', serif;
  font-size:1.3rem;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:var(--cream);
}

.main-nav{display:none;align-items:center;}
@media (min-width:860px){.main-nav{display:flex;}}
.main-nav a{
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(244,239,228,.75);
  transition:color .2s ease;
  margin-left:2.25rem;
}
.main-nav a:first-child{margin-left:0;}
.main-nav a:hover, .main-nav a.active{color:var(--gold);}

.nav-toggle{display:inline-flex;padding:.5rem;margin-right:-.5rem;}
@media (min-width:860px){.nav-toggle{display:none;}}
.nav-toggle svg{width:1.5rem;height:1.5rem;color:var(--cream);}

.mobile-nav{display:none;border-top:1px solid var(--border-solid);background:var(--bg-alt);padding:.5rem 1.5rem 1.25rem;}
.mobile-nav.open{display:block;}
.mobile-nav a{display:block;padding:.75rem 0;font-size:.95rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:rgba(244,239,228,.85);}
.mobile-nav a.active{color:var(--gold);}
@media (min-width:860px){.mobile-nav{display:none !important;}}

/* ---------- Rodapé ---------- */
.site-footer{margin-top:6rem;border-top:1px solid var(--border-solid);background:#0a0807;}
.footer-grid{max-width:var(--max-w);margin:0 auto;padding:3.5rem 1.5rem;display:grid;gap:2.5rem;}
@media (min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr;padding:3.5rem 2.5rem;}}
.footer-brand{display:flex;align-items:center;gap:.75rem;}
.footer-desc{margin-top:1rem;max-width:22rem;font-size:.9rem;color:var(--muted);}
.footer-heading{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted);}
.footer-links{margin-top:1rem;display:flex;flex-direction:column;gap:.6rem;font-size:.9rem;}
.footer-links a{color:rgba(244,239,228,.8);}
.footer-links a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid var(--border-solid);padding:1.25rem;text-align:center;font-size:.75rem;color:var(--muted);}

/* ---------- Hero ----------
   Duas fotos diferentes por tamanho de tela (via <picture> no HTML):
   quadrada no celular, retangular no desktop. O container acompanha a
   proporção exata de cada uma, então nenhuma das duas precisa ser
   cortada. */
.hero{position:relative;overflow:hidden;}
.hero-bg{position:relative;width:100%;aspect-ratio:1/1;}
.hero-bg img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top, var(--bg) 0%, rgba(14,12,10,0) 30%);
}
@media (min-width:769px){
  .hero-bg{aspect-ratio:3/2;}
}
.hero-inner{position:absolute;inset:0;max-width:var(--max-w);margin:0 auto;width:100%;}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;}

/* ---------- Botões ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;padding:.9rem 1.75rem;font-size:.85rem;font-weight:600;letter-spacing:.02em;transition:transform .2s ease, background-color .2s ease;white-space:nowrap;}
.btn:hover{transform:translateY(-2px);}
.btn:active{transform:scale(.98);}
.btn svg{width:1rem;height:1rem;}
.btn-gold{background:var(--gold);color:#1a1108;}
.btn-gold:hover{background:var(--gold-deep);}
.btn-outline{border:1px solid rgba(244,239,228,.35);color:var(--cream);}
.btn-outline:hover{background:rgba(244,239,228,.08);}
.btn-wine{background:var(--wine);color:var(--cream);}
.btn-wine:hover{background:var(--wine-light);}

/* ---------- Seções genéricas ---------- */
.section{padding:5.5rem 0;}
.section-alt{background:var(--bg-alt);}
.kicker{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.25em;color:var(--gold);text-align:center;}
.kicker::before{content:'◆';font-size:.65rem;}
.kicker.left{justify-content:flex-start;}
.section-title{margin-top:1.1rem;font-family:'Fraunces', serif;font-size:clamp(2rem,4.5vw,2.85rem);line-height:1.15;text-align:center;}
.section-title.left{text-align:left;}
.section-lead{margin:1.5rem auto 0;max-width:44rem;text-align:center;font-size:1.05rem;line-height:1.7;color:var(--muted);}

/* ---------- Em destaque (cards) ---------- */
.section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-bottom:1px solid var(--border-solid);padding-bottom:1.5rem;}
.section-head-row h2{font-family:'Fraunces', serif;font-size:clamp(1.6rem,3.5vw,2rem);}
.see-all{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:600;color:var(--gold);transition:gap .2s ease;}
.see-all:hover{gap:.6rem;}
.see-all svg{width:1rem;height:1rem;}

.feature-grid{margin-top:2.5rem;display:grid;gap:1.75rem;}
@media (min-width:720px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
.feature-card{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--card);outline:1px solid var(--border-solid);}
.feature-card .img-wrap{position:relative;overflow:hidden;}
.feature-card img{aspect-ratio:16/10;width:100%;object-fit:cover;transition:transform .5s ease;}
.feature-card:hover img{transform:scale(1.05);}
.feature-tag{
  position:absolute;top:1rem;left:1rem;
  font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  padding:.3rem .75rem;border-radius:999px;
}
.feature-body{padding:1.5rem;}
.feature-body h3{font-family:'Fraunces', serif;font-size:1.3rem;line-height:1.35;}
.feature-body p{margin-top:.75rem;font-size:.9rem;color:var(--muted);}
.feature-meta{margin-top:1.25rem;display:flex;align-items:center;justify-content:space-between;font-size:.8rem;}
.feature-meta .time{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;}
.feature-meta .link{display:inline-flex;align-items:center;gap:.35rem;font-weight:600;color:var(--gold);}

/* ---------- Lista numerada ---------- */
.post-list{margin-top:2.5rem;display:flex;flex-direction:column;}
.post-row{
  display:grid;
  grid-template-columns:3.5rem 1fr auto;
  align-items:center;
  gap:1.25rem;
  padding:1.75rem 0;
  border-bottom:1px solid var(--border-solid);
  transition:opacity .2s ease;
}
.post-row:hover{opacity:.8;}
.post-num{font-family:'Fraunces', serif;font-size:1.75rem;color:rgba(244,239,228,.25);}
.post-main{min-width:0;}
.post-tag{
  display:inline-block;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  padding:.25rem .7rem;border-radius:999px;margin-bottom:.6rem;
}
.tag-vinho{background:var(--tag-vinho-bg);color:var(--tag-vinho-text);}
.tag-musica{background:var(--tag-musica-bg);color:var(--tag-musica-text);}
.post-main h3{font-size:1.1rem;font-weight:600;line-height:1.4;}
.post-meta{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:var(--muted);white-space:nowrap;}
.post-meta svg{width:1rem;height:1rem;}
@media (max-width:600px){
  .post-row{grid-template-columns:2.25rem 1fr;}
  .post-meta{grid-column:2;justify-content:flex-start;margin-top:.5rem;}
}

/* ---------- Newsletter ---------- */
.newsletter{background:var(--wine);text-align:center;padding:5rem 0;}
.newsletter .kicker{color:var(--gold);}
.newsletter h2{margin-top:1rem;font-family:'Fraunces', serif;font-size:clamp(1.75rem,4.5vw,2.5rem);line-height:1.25;color:var(--cream);}
.newsletter p{margin:1.25rem auto 0;max-width:34rem;color:rgba(244,239,228,.8);}
.newsletter-form{margin:2rem auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;max-width:46rem;}
.newsletter-form input{
  flex:1;min-width:14rem;
  background:var(--wine-light);
  border:1px solid rgba(244,239,228,.25);
  border-radius:999px;
  padding:.9rem 1.5rem;
  color:var(--cream);
  font-size:.9rem;
}
.newsletter-form input::placeholder{color:rgba(244,239,228,.55);}
.newsletter-form button{
  background:var(--gold);color:#1a1108;font-weight:700;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;
  border-radius:999px;padding:.9rem 1.75rem;transition:background-color .2s ease, transform .2s ease;
}
.newsletter-form button:hover{background:var(--gold-deep);transform:translateY(-2px);}
.newsletter-consent{margin-top:1rem;font-size:.75rem;color:rgba(244,239,228,.5);max-width:26rem;margin-left:auto;margin-right:auto;}
.newsletter-note{margin-top:.5rem;font-size:.8rem;color:rgba(244,239,228,.55);}

/* ---------- Categorias ---------- */
.category-grid{margin-top:0;display:grid;gap:1.75rem;}
@media (min-width:720px){.category-grid{grid-template-columns:repeat(2,1fr);}}
.category-card{
  position:relative;overflow:hidden;border-radius:var(--radius);
  background:var(--card);outline:1px solid var(--border-solid);
  padding:2.5rem;min-height:14rem;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.category-card .bg-img{position:absolute;inset:0;opacity:.18;}
.category-card .bg-img img{height:100%;width:100%;object-fit:cover;}
.category-card .content{position:relative;z-index:1;}
.category-icon{font-size:1.5rem;color:var(--wine-light);}
.category-card.music .category-icon{color:var(--gold);}
.category-card h3{margin-top:1rem;font-family:'Fraunces', serif;font-size:1.5rem;}
.category-card p{margin-top:.75rem;font-size:.95rem;color:var(--muted);max-width:26rem;}
.category-card .link{margin-top:1.25rem;display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9rem;color:var(--gold);transition:gap .2s ease;}
.category-card .link:hover{gap:.65rem;}
.category-card .link svg{width:1rem;height:1rem;}

/* ---------- Página interna: cabeçalho ---------- */
.page-header{border-bottom:1px solid var(--border-solid);background:var(--bg-alt);}
.page-header-inner{padding:4.5rem 0;text-align:center;}
.page-header h1{margin-top:1rem;font-family:'Fraunces', serif;font-size:clamp(2.25rem,5.5vw,3.25rem);}
.page-header p{margin:1.25rem auto 0;max-width:38rem;font-size:1.05rem;color:var(--muted);}

/* ---------- Listagem de categoria (Vinho / Música) ---------- */
.listing-grid{margin-top:3rem;display:grid;gap:1.75rem;}
@media (min-width:640px){.listing-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:960px){.listing-grid{grid-template-columns:repeat(3,1fr);}}
.listing-card{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--card);outline:1px solid var(--border-solid);transition:transform .25s ease;}
.listing-card:hover{transform:translateY(-4px);}
.listing-card .img-wrap{overflow:hidden;}
.listing-card img{aspect-ratio:3/2;width:100%;object-fit:cover;transition:transform .5s ease;}
.listing-card:hover img{transform:scale(1.05);}
.listing-card .body{padding:1.5rem;display:flex;flex-direction:column;flex:1;}
.listing-card h3{margin-top:.75rem;font-family:'Fraunces', serif;font-size:1.15rem;line-height:1.4;}
.listing-card p{margin-top:.75rem;flex:1;font-size:.9rem;color:var(--muted);}
.listing-card .meta{margin-top:1rem;font-size:.8rem;color:var(--muted);}

/* ---------- Sobre ---------- */
.about-grid{display:grid;gap:3rem;align-items:center;}
@media (min-width:1024px){.about-grid{grid-template-columns:1fr 1fr;}}
.about-grid img{aspect-ratio:4/3;width:100%;border-radius:var(--radius);object-fit:cover;box-shadow:0 20px 25px -5px rgba(0,0,0,.5);}
.about-grid h2{font-family:'Fraunces', serif;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.2;}
.about-grid p{margin-top:1.25rem;font-size:1.05rem;color:var(--muted);line-height:1.7;}
.about-grid p+p{margin-top:1rem;}

.values-grid{margin-top:3.5rem;display:grid;gap:1.75rem;}
@media (min-width:768px){.values-grid{grid-template-columns:repeat(3,1fr);}}
.value-card{border-radius:var(--radius);background:var(--card);outline:1px solid var(--border-solid);padding:2rem;}
.value-card h3{margin-top:1rem;font-family:'Fraunces', serif;font-size:1.2rem;}
.value-card p{margin-top:.6rem;font-size:.9rem;color:var(--muted);}

/* ---------- Experiências ---------- */
.exp-hero{position:relative;overflow:hidden;border-radius:var(--radius);}
.exp-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;}
.exp-list{margin-top:3rem;display:grid;gap:1.75rem;}
@media (min-width:720px){.exp-list{grid-template-columns:repeat(2,1fr);}}
.exp-card{border-radius:var(--radius);background:var(--card);outline:1px solid var(--border-solid);padding:2rem;}
.exp-card .price{font-family:'Fraunces', serif;font-size:1.5rem;color:var(--gold);}
.exp-card h3{margin-top:.5rem;font-family:'Fraunces', serif;font-size:1.3rem;}
.exp-card p{margin-top:.75rem;font-size:.9rem;color:var(--muted);}
.exp-card .btn{margin-top:1.5rem;}

/* ---------- Utilidades de animação ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none;}}

/* ---------- Artigo individual ---------- */
.article-back{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;color:var(--gold);}
.article-back svg{width:1rem;height:1rem;}
.article-header{max-width:44rem;margin:0 auto;text-align:left;}
.article-header .post-tag{margin-top:1.5rem;}
.article-header h1{margin-top:1rem;font-family:'Fraunces', serif;font-size:clamp(2rem,5vw,2.85rem);line-height:1.15;}
.article-meta-row{margin-top:1.25rem;display:flex;flex-wrap:wrap;gap:1.25rem;font-size:.85rem;color:var(--muted);}
.article-meta-row span{display:flex;align-items:center;gap:.4rem;}
.article-meta-row svg{width:1rem;height:1rem;}
.article-cover{margin:2.5rem auto 0;max-width:56rem;}
.article-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);}
.article-body{max-width:42rem;margin:0 auto;font-size:1.08rem;line-height:1.6;color:rgba(244,239,228,.88);}
.article-body p{margin-top:1.1rem;}
.article-body h2{margin-top:2.75rem;font-family:'Fraunces', serif;font-size:1.5rem;line-height:1.3;color:var(--cream);}
.article-body ul{margin-top:1.25rem;padding-left:1.25rem;list-style:disc;}
.article-body li{margin-top:.6rem;}
.article-body blockquote{
  margin:2.25rem 0;padding-left:1.5rem;border-left:3px solid var(--gold);
  font-family:'Fraunces', serif;font-style:italic;font-size:1.25rem;line-height:1.5;color:var(--cream);
}
.article-body strong{color:var(--cream);}
.article-body p a, .article-body blockquote a{
  color:var(--gold);text-decoration:underline;text-underline-offset:2px;
}
.article-body p a:hover, .article-body blockquote a:hover{color:var(--gold-deep);}
.article-footer-cta{max-width:42rem;margin:3.5rem auto 0;border-radius:var(--radius);background:var(--card);outline:1px solid var(--border-solid);padding:2rem;text-align:center;}
.article-footer-cta p{color:var(--muted);margin-bottom:1.25rem;}
.article-body table{
  margin-top:1.75rem;width:100%;border-collapse:collapse;font-size:.95rem;
}
.article-body th,.article-body td{
  text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--border-solid);vertical-align:top;
}
.article-body th{font-family:'Fraunces', serif;color:var(--gold);font-weight:600;}
.article-body td:first-child{color:var(--cream);font-weight:600;white-space:nowrap;}
.source-line{
  margin-top:.75rem;font-size:.85rem;font-style:italic;color:var(--muted);
}
.source-line a{color:var(--tag-vinho-text);text-decoration:underline;text-underline-offset:2px;}
.article-figure{margin:2.5rem 0;text-align:center;}
.article-figure img{
  max-width:26rem;width:100%;margin:0 auto;border-radius:.75rem;
  outline:1px solid var(--border-solid);
}
.article-figure figcaption{
  margin-top:.9rem;font-size:.85rem;font-style:italic;color:var(--muted);
}
.article-note{
  margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--border-solid);
  font-size:.85rem;color:var(--muted);
}
.article-note strong{display:block;color:var(--cream);margin-bottom:.4rem;font-family:'Fraunces', serif;font-size:1rem;}
@media (max-width:640px){
  .article-body table{font-size:.85rem;}
  .article-body th,.article-body td{padding:.6rem .5rem;}
}

/* ---------- Ajustes finos para telas muito pequenas ---------- */
@media (max-width:480px){
  .section{padding:3.5rem 0;}
  .category-card{padding:1.75rem;min-height:auto;}
  .value-card{padding:1.5rem;}
  .exp-card{padding:1.5rem;}
  .feature-body{padding:1.25rem;}
  .listing-card .body{padding:1.25rem;}
  .newsletter{padding:3.5rem 0;}
  .hero-inner{padding-top:7.5rem;}
  .brand-name{font-size:1.05rem;}
  .header-row{padding:.9rem 1.1rem;}
}
