/* -------------------------------------------------------
   LION HYBRID TRAINING — BLOG
   Estilos para blog landing e posts individuais
-------------------------------------------------------- */

/* ===== Variáveis de tema ===== */
:root{
  --gold: #d4a54f;
  --gold-strong: #c29740;
  --gold-soft: rgba(212,165,79,.55);
  --gold-faint: rgba(212,165,79,.12);
  --text: #e4e8ef;
  --text-soft: #d7d9de;
  --muted: #b8bcc6;
  --black: #1a1a1a;
  --ink: #2a2a2a;
  --panel: #2d2d2d;
  --maxw: 1100px;
  --content-maxw: 740px;
  --py: clamp(36px, 6vw, 64px);
  --hero-img: url('../img/tua-imagem.png');
}

/* ===== Base ===== */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }

/* Visually-hidden utility */
.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;
}

/* ===== BLOG TOOLBAR (fixed) ===== */
body{ padding-top: 64px; }
.blog-toolbar{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background:
    linear-gradient(180deg, rgba(40,40,40,.60), rgba(30,30,30,.78)),
    var(--hero-img);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--gold-faint);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}
.blog-toolbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.blog-toolbar.centered .container{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.blog-toolbar.centered .toolbar-left{ justify-self: center; }
.blog-toolbar.centered .toolbar-logo{ justify-self: center; }
.blog-toolbar.centered .toolbar-right{ justify-self: end; }
.toolbar-logo img{
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(212,165,79,.25));
}
.toolbar-left, .toolbar-right{
  display: flex;
  align-items: center;
  gap: 14px;
}
.toolbar-links a{
  padding: 8px 12px;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.toolbar-links a:hover{ color: var(--gold); background: rgba(212,165,79,.10); }
.toolbar-links a.active{ color: var(--gold); font-weight: 600; }
.toolbar-ctas .btn{ box-shadow: none; }
.btn.sm{ padding: 10px 18px; font-size: 14px; }

/* Text emphasis */
strong, b {
  font-weight: 600;
  color: var(--gold-soft);
}

/* Containers & helpers */
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center{ text-align: center; }

/* ===== BLOG HEADER ===== */
.blog-header{
  background: var(--ink);
  border-bottom: 1px solid var(--gold-faint);
  padding: 24px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.blog-header .container{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-header .logo-link{
  display: block;
  transition: opacity 0.3s ease;
}
.blog-header .logo-link:hover{
  opacity: 0.85;
}
.blog-header .header-logo{
  display: block;
  filter: drop-shadow(0 0 12px rgba(212,165,79,.3));
  width: 120px;
  height: 120px;
}
.blog-header h1{
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.blog-header .header-subtitle{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

/* Center title + subtitle on article pages */
.article-page .blog-header .container{
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.article-page .blog-header h1{ text-align: center; }
.article-page .blog-header .header-subtitle{ text-align: center; }

/* Breadcrumb navigation */
.breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-left: auto;
}
.breadcrumb a{
  color: var(--gold-soft);
  transition: color 0.3s ease;
}
.breadcrumb a:hover{
  color: var(--gold);
}

/* ===== INTRO SECTION ===== */
.intro-section{
  padding: var(--py) 0;
  background: linear-gradient(180deg, var(--ink), var(--black));
}
.intro-text{
  max-width: var(--content-maxw);
  margin: 0 auto;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.8;
  text-align: center;
  color: var(--text-soft);
}

/* ===== ARTICLES SECTION ===== */
.articles-section{
  padding: var(--py) 0;
}
.articles-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

@keyframes blogZoom{
  0%{ transform: scale(1.02); }
  100%{ transform: scale(1.08); }
}

/* Article Card */
.article-card{
  background: var(--panel);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--gold-faint);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.article-card .card-link{
  position: absolute; inset: 0; border-radius: inherit; z-index: 3;
  display: block; cursor: pointer;
}
.article-card .card-link:focus-visible{
  outline: 2px solid var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(255, 200, 0, .2);
}
.article-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 20px var(--gold-faint);
  border-color: var(--gold-soft);
}
.article-card::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit; z-index:0;
  background:
    linear-gradient(180deg, rgba(40,40,40,.60), rgba(30,30,30,.78)),
    var(--hero-img);
  background-size: cover; background-position: center;
  filter: saturate(.95);
  animation: blogZoom 22s ease-in-out infinite alternate;
  pointer-events: none;
}
.article-card > *{ position: relative; z-index: 1; }
.article-card.coming-soon{
  opacity: 0.7;
}
.article-meta{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-meta time{
  color: var(--text-soft);
}
.article-meta .category{
  background: var(--gold-faint);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.article-title{
  margin: 0 0 12px;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}
.article-title a{
  color: var(--text);
  transition: color 0.3s ease;
}
.article-title a:hover{
  color: var(--gold);
}
.article-excerpt{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}
.read-more{
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.read-more:hover{
  color: var(--gold-strong);
  transform: translateX(4px);
}

/* ===== BLOG POST PAGE ===== */
.blog-post{
  padding: var(--py) 0;
  min-height: 60vh;
}
.post-header{
  max-width: var(--content-maxw);
  margin: 28px auto 48px;
  text-align: center;
}
.post-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-meta .separator{
  color: var(--gold-faint);
}
.post-meta .category{
  background: var(--gold-faint);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.post-title{
  margin: 0 0 20px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.post-intro{
  margin: 0 0 24px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-soft);
}
.author-info{
  font-size: 14px;
  color: var(--muted);
}
.author-name{
  font-weight: 600;
  color: var(--text);
}

/* Post Content */
.post-content{
  max-width: var(--content-maxw);
  margin: 0 auto;
}
.post-content h2{
  margin: 48px 0 20px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.post-content h2:first-child{
  margin-top: 0;
}
.post-content h3{
  margin: 36px 0 16px;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--text);
}
.post-content p{
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}
.post-content ul,
.post-content ol{
  margin: 0 0 24px;
  padding-left: 28px;
}
.post-content li{
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}
.post-content blockquote{
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  background: var(--panel);
  border-radius: 0 8px 8px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.post-content blockquote p{
  margin: 0;
}

/* Post Footer */
.post-footer{
  max-width: var(--content-maxw);
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--gold-faint);
}
.post-cta{
  text-align: center;
  padding: 32px;
  background: var(--panel);
  border-radius: 12px;
  border: 1px solid var(--gold-faint);
  margin-bottom: 32px;
}
.post-cta h3{
  margin: 0 0 12px;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--gold);
}
.post-cta p{
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--text-soft);
}
.back-to-blog{
  text-align: center;
}
.back-to-blog a{
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.back-to-blog a:hover{
  color: var(--gold);
}

/* ===== CTA SECTION ===== */
.cta-section{
  padding: var(--py) 0;
  background: linear-gradient(180deg, var(--black), var(--ink));
}
.cta-section h2{
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.cta-text{
  margin: 0 0 32px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.cta-row{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn{
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn.gold{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #0f1115;
  box-shadow: 0 4px 14px rgba(212,165,79,.25);
}
.btn.gold:hover{
  box-shadow: 0 6px 20px rgba(212,165,79,.4);
  transform: translateY(-2px);
}
.btn.ghost{
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn.ghost:hover{
  background: var(--gold-faint);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer{
  position: relative;
  background:
    linear-gradient(180deg, rgba(15,15,15,.70), rgba(10,10,10,.85)),
    url('../img/tua-imagem.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding:24px 0 34px; text-align:center; color:#ffffff; /* reduced height */
  box-shadow: 0 0 80px rgba(0,0,0,.35) inset, 0 -14px 34px rgba(212,165,79,.15), 0 0 120px rgba(212,165,79,.08);
  overflow: hidden;
}
footer a, footer strong, footer b{ color:#ffffff; }
footer a{
  opacity: 0.92;
  transition: opacity .2s ease, text-decoration-color .2s ease;
}
footer a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
footer a:focus-visible{ outline: 2px solid var(--gold-soft); outline-offset: 2px; border-radius: 4px; }
footer .container{ display:flex; flex-direction:column; gap:16px; align-items:center; text-align:center; }
footer .legal{display:flex; flex-wrap:wrap; gap:10px; row-gap:6px; justify-content:center; margin-top:8px}
footer .legal span{opacity:.6}
footer .socials{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center; margin: 18px 0 0; }
footer .socials a{ width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border-radius:9999px; background: rgba(0,0,0,0.38); border: 1px solid rgba(255,255,255,0.12); color:#ffffff; opacity: 1; transition: background .2s ease, transform .2s ease, opacity .2s ease; }
footer .socials a:hover{ background: rgba(0,0,0,0.55); transform: translateY(-1px); }
footer .socials a:focus-visible{ outline: 2px solid var(--gold-soft); outline-offset: 2px; }
footer .socials svg, footer .socials img{ width:20px; height:20px; display:block; }
footer .socials img{ filter: brightness(0) invert(1); }
footer .socials a:hover img{ filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255,255,255,.25)); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px){
  .blog-header .container{
    justify-content: center;
    text-align: center;
  }
  .breadcrumb{
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .articles-grid{
    grid-template-columns: 1fr;
  }
  .post-content h2{
    margin-top: 36px;
  }
}

/* -------- Consent Banner (dark, translucent) -------- */
.consent-banner{
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,.86);
  backdrop-filter: blur(6px) saturate(1.05);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 22px; z-index: 5000;
  box-shadow: 0 -6px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(212,165,79,.10) inset;
}
.consent-content{ display:flex; gap:18px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; max-width: var(--maxw); margin: 0 auto; }
.consent-title{ font-family:'Oswald',sans-serif; font-weight:600; font-size:18px; color:var(--gold); margin-bottom:6px; }
.consent-text{ color:#cfd3db; font-size:14px; max-width: 820px; }
.consent-actions{ display:flex; gap:10px; justify-content:flex-end; }
.consent-banner .btn{ box-shadow:none; }
.consent-banner .btn.gold{ animation:none; box-shadow:none; }

.consent-modal[hidden]{ display:none; }
.consent-modal{ position:fixed; inset:0; z-index:6000; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,.65); backdrop-filter: blur(2px); }
.consent-modal-panel{
  width:min(680px, 92vw);
  background: linear-gradient(180deg, rgba(34,34,34,.94), rgba(24,24,24,.92));
  color: var(--text);
  border-radius:12px; padding: 18px 18px 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(212,165,79,.10) inset;
}
.consent-modal-title{ font-family:'Oswald',sans-serif; font-size:20px; margin:4px 0 8px; color: var(--gold); }
.consent-modal-desc{ font-size:14px; color:#cfd3db; }
.consent-list{ list-style:none; padding:0; margin:12px 0 14px; }
.consent-item{ display:flex; gap:10px; align-items:flex-start; }
.consent-item input{ margin-top:4px; }
.consent-item span{ display:flex; flex-direction:column; }
.consent-item small{ color:#9aa0a6; font-size:12px; }
.consent-modal-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:8px; }
.consent-privacy{ display:inline-block; margin-top:10px; font-size:13px; color:var(--gold-soft); text-decoration:underline; }
