/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SCROLL BEHAVIOR */
body {
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
}

html, body {
  height: auto !important;
  overflow: visible !important;
}


/* =========================
   CORES
========================= */
:root {
  --blue-dark: #022C57;
  --blue-main: #023c75;
  --blue-soft: #245a8d;

--text-main: #2a2a2a;


  --gray-light: #9ca3af;

  --bg-start: #f9fafb;
  --bg-end: #eef2f7;
}

/* =========================
   BASE
========================= */
body {

  font-size: 15.5px;
  color: var(--text-main);

  background: linear-gradient(
    180deg,
    var(--bg-start) 0%,
    var(--bg-end) 100%
  );
}

/* =========================
   TOP IDENTITY BAR (GRADIENTE LEVE) 
========================= */
.site-identity {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  font-family: 'Outfit', sans-serif;
  
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #f4f6f9ee 100%
  );
  
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding-left: 135px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.2px;
  word-spacing: 4px;
  color:#05174dfb;

  z-index: 1000;
}


.site-home {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  
 
   
  /* Adições importantes */
  transition: all 0.3s ease;
  backdrop-filter: none;
  }
.site-home {
  transition: transform 0.25s ease, text-shadow 0.25s ease;

}

.site-home:hover {
  transform: translateY(-0.2px);
  text-shadow: 0 1px 4px rgba(2, 60, 117, 0.12);
}

.home-container {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0) 70%
      );
}
.home-title {
  transition: transform 0.25s ease, text-shadow 0.25s ease;
  
}

.home-title:hover {
  transform: translateY(-1px);
  text-shadow: 0 2px 6px rgba(2, 60, 117, 0.18);
}

body.home {
  background: url('../assets/icons/background.svg') no-repeat center center fixed;
  background-size: cover;
}


.site-identity.scrolled {
   background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);  /*cor do blur
  box-shadow: none;
  padding-left: 72px;              /* mantém alinhamento */
}

/* Back Home */
.home-link {
  color: inherit;
  text-decoration: none;
}
.home-link:hover {
  opacity: 0.85;
}

/* =========================
   MENU BUTTON ☰
========================= */
#menu-toggle {
  position: fixed;
  top: 16px;
  left: 18px;

  font-size: 22px;
  font-weight: 300;
  line-height: 1;

  background: none;
  border: none;
  color: var(--blue-dark);
  cursor: pointer;

  z-index: 1001;
}


/* =========================
   SIDEBAR
========================= */
#sidebar {
  position: fixed;
  top: 0;
  left: -240px;
  width: 240px;
  height: 100%;

  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-top-right-radius: 12px;      /* canto superior direito arredondado */
  border-bottom-right-radius: 12px;   /* canto inferior direito arredondado */
  overflow: hidden;                   /* evita vazamento de conteúdo */

  padding: 72px 20px;
  display: flex;
  flex-direction: column;

  transition: left 0.3s ease;
  z-index: 1000;

  box-shadow: 8px 0 32px rgba(2, 32, 56, 0.18); /* sombra mais suave e espalhada */
}


/* LINKS SIDEBAR */
#sidebar a {
  padding: 14px 12px;
  margin-bottom: 4px;

  text-decoration: none;
  color: var(--blue-main);
  font-weight: 600;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;

  border-bottom: 1.1px solid rgba(2, 60, 117, 0.04); /* divisória sutil azul */
  transition: background 0.25s ease, transform 0.25s ease;
}

#sidebar a:last-child {
  border-bottom: none;
}

#sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.10),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);


  transform: translateX(4px) scale(1.03);

  border-radius: 6px;
}


.sidebar-identity {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue-dark);

  padding-left: 12px;
  margin-bottom: 28px;
}

/* Active Sidebar */
#sidebar a {
  position: relative;
  padding-left: 28px; /* espaço pro bullet */
}

#sidebar a.active::before {
  content: "•";
  position: absolute;
  left: 8px;            /* ajuste pra ficar bem discreto */
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--blue-main);
  opacity: 0.5;
}

/* =========================
   OVERLAY
========================= */
#overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

/* =========================
   MAIN — HOME PAGE
========================= */
main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  
}

/* HERO */
.hero {
  max-width: 720px;
  
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 45px;
  color:#05174dfb;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -1.0px;
  word-spacing: 6px;
}

.tagline {
  font-family: 'mulish', sans-serif;  
  font-size: 22px;
  color: var(--blue-main);
  font-weight: 700;
  margin-bottom: 14px;
}

.tagline {
  display: inline-block;
}

.tagline span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.tagline span:hover {
  transform: scale(1.08);
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1.08); }
  50%      { transform: scale(1.12); }
}



.intro {
  font-size: 17px;
  font-family: 'Outfit', sans-serif;
  color: var(--blue-soft);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* =========================
   BOTÕES
========================= */
.hero-actions {
  display: flex;
  gap: 20px;
}

.btn {
  font-family: 'Outfit', sans-serif;
  min-width: 160px;
  padding: 14px 0;
  text-align: center;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 10px;

  background: #05174dfb;;; /* azul petróleo moderno */
  color: #fefefe;

  box-shadow: 0 8px 16px rgba(2, 32, 56, 0.18);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: #0a508d;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(2, 32, 56, 0.22);
}

.btn:active {
  background: #1a4a72;
  transform: translateY(0);
  filter: brightness(1.15);
}

/* =========================
   PÁGINAS INTERNAS (ABOUT, OPINION…)
========================= */
.internal-page {
  display: block;
  padding-top: 120px;
}

.content {
  max-width: 720px;
  margin: 0 auto;
}

/* TEXTO */
.content p {
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: justify;
}

/* TÍTULOS */
.content h1 {

  color: var(--blue-dark);
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.content h2 {
  color: var(--blue-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}


/* DIVISÃO ELEGANTE */
.section-divider {
  margin: 48px 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(2, 60, 117, 0.25),
    transparent
  );
}

/* LINKS */
.content a {
  color: var(--blue-main);
  font-weight: 600;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  main {
    align-items: flex-start;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .insight-card {
    min-height: auto;
  }
}

/* =========================
   BLOCO EM DESTAQUE (Latest Articles)
========================= */

.highlight-block {
  margin: 64px 0;
  padding: 20px 32px 32px 28px;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.0) 100%
  );

  backdrop-filter: blur(6px);

  border-left: 4px solid var(--blue-main);
  border-radius: 10px;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.045);
}


.highlight-block h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--blue-dark);
}

/* ARTIGOS */
.article-preview {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.article-preview a {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-main);
  text-decoration: none;
}

.article-preview a:hover {
  text-decoration: underline;
}

.article-preview span {
  font-size: 13px;
  color: var(--gray-light);
  margin-top: 4px;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
 

  margin-bottom: 32px;
  padding-left: 12px;
}

.sidebar-menu-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--blue-dark);
}

.sidebar-identity {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.8px;
  word-spacing: 7px;
  color:#02163f;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  max-width: 720px;
  margin: 120px auto 60px;
  padding: 0 40px;
}

/* DISCLOSURE */
.footer-disclosure p,
.disclosure p {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}


/* SOCIAL ICONS */
.footer-social {
  margin-top: 56px;              /* quebra visual maior */
  display: flex;
  justify-content: space-between; /* distribuição homogênea */
  align-items: center;
}


/* ICONES */
.footer-social img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.footer-social img:hover {
  opacity: 1;
  transform: translateY(4px);
}

/* MOBILE */
@media (max-width: 768px) {
  .site-footer {
    padding: 0 24px;
  }

  .footer-social {
    gap: 22px;
  }
}
/* =========================
   OPINION PAGE
========================= */

.page-intro {
  font-size: 17px;
  color: var(--blue-main);
  margin-bottom: 40px;
}

/* Lista de artigos */
.opinion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cada artigo */
.opinion-item h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.opinion-item h2 a {
  color: var(--blue-main);
  text-decoration: none;
}

.opinion-item h2 a:hover {
  text-decoration: underline;
  
}


/* Meta */
.article-meta {
  display: block;
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 12px;
}

/* Resumo */
.opinion-item p {
  margin-bottom: 0;
}

/* Disclosure (mais delicado e separado) */
.disclosure {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.disclosure p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
  text-align: justify;
}
/* =========================
   OPINION — HOVER REFINADO
========================= */

.opinion-item {
  padding: 18px 22px;          /* 👈 espaço elegante ao redor do texto */
  margin-left: -22px;          /* 👈 mantém alinhamento visual com o resto */
  margin-right: -22px;

  border-radius: 12px;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.opinion-item:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.65)
  );

  box-shadow:
    0 10px 28px rgba(2, 32, 56, 0.12),
    inset 0 0 0 1px rgba(2, 60, 117, 0.06);

  transform: translateY(-2px);
  cursor: pointer;
}
/* =========================
   ARTICLE PAGE
========================= */

.article-meta-top {
  display: block;
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 40px;
}
/* =========================
   ARTICLE TITLE — AJUSTE EDITORIAL
========================= */

.article-content h1 {
  font-family: Helvetica, sans-serif; /* 👈 legacy */
  font-size: 22px;          /* 👈 menor */
  font-weight: 400;         /* 👈 leve, editorial */
  color: var(--blue-main);  /* 👈 azul mais claro */
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.article-content h2 {
  font-size: 20px;       /* menor e mais editorial */
  font-weight: 500;
  color: var(--blue-dark);
  margin-top: 40px;
  letter-spacing: 0.3px;
}



/* NEXT ARTICLE — HOVER ONLY */

.next-article {
  margin: 72px 0;
  padding: 18px 22px;

  background: transparent;
  border-radius: 10px;

  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.next-article:hover {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.55) 60%,
    rgba(255,255,255,0.0) 100%
  );

  box-shadow: 0 10px 26px rgba(2,32,56,0.16);
}

.next-article span {
  display: block;
  font-size: 12px;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.next-article a {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-main);
  text-decoration: none;
}

.error-tooltip {
  /* ... seu css atual ... */
  content: attr(data-error); /* usa atributo data-error */
}


/* =========================
   INSIGHTS — DASHBOARD CARDS
========================= */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 64px 0;
}

/* CARD BASE */
.insight-card {
  position: relative;
  padding: 26px 24px;

  background: linear-gradient(
    180deg,
    #ffffff,
    #f8fafc
  );

  border-radius: 16px;

  box-shadow:
    0 10px 26px rgba(2, 32, 56, 0.08),
    inset 0 0 0 1px rgba(2, 60, 117, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.insight-card {
  position: relative;
}
/* === HOVER BORDER TEST (PODE REMOVER DEPOIS) === */
.insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px; /* mesmo raio do card */
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.insight-card:hover::after {
  border-color: rgba(30, 111, 184, 0.55); /* azul elegante */
}



/* HOVER — efeito SAP vibes */
.insight-card:hover {
  transform: translateY(-4px);

  background: linear-gradient(
    180deg,
    #ffffff,
    #eef3f9
  );

  box-shadow:
    0 18px 44px rgba(2, 60, 117, 0.18),
    inset 0 0 0 1px rgba(2, 60, 117, 0.06);
}
.insight-card {
  min-height: 240px;   /* 👈 ajuste principal */
  display: flex;
  flex-direction: column;
}
.insight-card-content {
  flex: 1;
}

.insight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    rgba(30, 111, 184, 0.0) 0%,    /* some totalmente */
    rgba(30, 111, 184, 0.35) 12%,
    rgba(18, 100, 172, 0.85) 50%,  /* pico no centro */
    rgba(30, 111, 184, 0.35) 88%,
    rgba(30, 111, 184, 0.0) 100%   /* some totalmente */
  );

  border-radius: 999px; /* arredonda a própria linha */
}



/* STATUS BADGE */
.insight-status {
  position: absolute;
  top: 16px;
  right: 18px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  padding: 4px 10px;
  border-radius: 12px;
}

/* STATUS VARIANTS */
.insight-status.live {
  background: rgba(2, 60, 117, 0.12);
  color: var(--blue-main);
}

.insight-status.planned {
  background: rgba(0, 0, 0, 0.08);
  color: #4b5563;
}

/* TITLES */
.insight-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: #0059a6;
  margin-bottom: 14px;
}

.insight-card h2 {
  color: #073156d1;   /* um tom abaixo do azul principal */
}


/* HIGHLIGHT VALUE */
.insight-highlight {
  font-size: 28px;
  font-weight: 500;
  color: var(--blue-main);
  margin-bottom: 12px;
}

/* DESCRIPTION */
.insight-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* NOTE */
.insight-note {
  font-size: 12px;
  color: var(--gray-light);
}

/* COMPACT GRID */

.view-toggle {
  margin-bottom: 24px;
  text-align: right;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--gray-light);
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s;
}

.toggle-btn.active {
  color: var(--blue-main);
  font-weight: 600;
}

.insights-grid.compact {
  gap: 16px;
}

.insights-grid.compact .insight-card {
  padding: 20px 24px;           /* padding maior */
  min-height: 80px;             /* altura maior, ajuste para 90px ou 100px se quiser mais */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(2,32,56,0.07);
}

.insights-grid.compact .insight-card h2 {
  margin: 0;
  font-size: 17px;              /* levemente menor, mas legível */
}

.insights-grid.compact .insight-description,
.insights-grid.compact .insight-highlight,
.insights-grid.compact .insight-note {
  display: none;
}

.insights-grid.compact .insight-status {
   position: absolute;
  top: 16px;
  right: 18px;
  font-size: 10px;
  margin-left: 0;

}

.view-toggle button {
  font-size: 18px;
  padding: 8px 12px;
}

.view-toggle .icon {
  line-height: 1;
}


.view-icon {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.toggle-btn:hover .view-icon {
  transform: scale(1.35); /* pulse/zoom sutil */
}

.toggle-btn.active .view-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(94%) saturate(747%) hue-rotate(186deg); /* muda para tom azul do site */
}



/* =========================
   EXPLORE MORE — EDITORIAL
========================= */

.explore-more {
  margin: 64px 0 32px;
  padding: 14px 18px;



  border-left: 3px solid transparent;
  border-image: linear-gradient(
    180deg,
    #6aa6df,
    #023c75
  ) 1;

  border-radius: 6px;
}

.explore-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.explore-more a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-main);
  text-decoration: none;
}

.explore-more a:hover {
  text-decoration: underline;
}
/* =========================
   BACK TO TOP — FLOAT
========================= */

#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;

  background: transparent;   /* 🔥 chave */
  border: none;
  padding: 0;

  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.35s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-2px);
}


#backToTop img {
  width: 35px;
  height: 30px;
  display: block;
}

.editorial-next {
  margin: 64px 0 24px;
  padding-left: 14px;

  border-left: 2px solid rgba(2, 60, 117, 0.25);

  font-size: 14px;
}

.editorial-next span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.editorial-next a {
  color: var(--blue-main);
  font-weight: 600;
  text-decoration: none;
}

.editorial-next a:hover {
  text-decoration: underline;
}

/* =========================
   READING PROGRESS — EDITORIAL
========================= */

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 2.0px;

  background: linear-gradient(
    90deg,
    #6aa6df,
    #023c75
  );

  z-index: 2000;

  transition: width 0.1s linear;
}

/* =========================
   ARTICLE ACTIONS (LIKE + SHARE)
========================= */

.article-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 60px 0 20px;
}

.article-action {
  position: relative;
}

.article-action svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-light);
  transition: fill 0.2s ease, transform 0.2s ease;
}

.article-action:hover svg {
  fill: var(--blue-main);
  transform: translateY(-1px);
}

.article-action button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* TOOLTIP */
.tooltip {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);

  background: #111827;
  color: #ffffff;

  font-size: 11px;
  line-height: 1.3;

  padding: 6px 10px;   /* 👈 mais respiro */
  border-radius: 8px; /* 👈 mais suave */

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;

  white-space: nowrap;
}


.article-action:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}
.copy-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.copy-btn:hover .tooltip {
  opacity: 1;
}

.btn:active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(106,166,223,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:active::before {
  opacity: 1;
}

/* SHARE MENU */
.share-wrapper {
  position: relative;
}

.share-menu {
  position: absolute;
  bottom: 34px;
  right: 0;

  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-wrapper:hover .share-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.share-menu button {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--blue-main);
  cursor: pointer;
  text-align: left;
  padding: 4px 6px;
}

.share-menu button:hover {
  text-decoration: underline;
}
/* CONTAINER */
.article-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 48px;
  position: relative;
}

/* BOTÕES BASE */
.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 4px;
}

.action-btn img {
  width: 24px;          /* tamanho A */
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.action-btn:hover img {
  opacity: 1;
  transform: translateY(-1px);
}


/* TOOLTIP (texto flutuante) */
.tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.action-btn:hover .tooltip {
  opacity: 1;
}

/* LIKE ATIVO */
.like-btn.active img {
  opacity: 1;
  filter: invert(27%) sepia(94%) saturate(747%) hue-rotate(186deg);
}
.like-button.liked svg {
  fill: var(--blue-main);
  opacity: 1;
}


/* SHARE */
.share-wrapper {
  position: relative;
}

/* SHARE OPTIONS — ABAIXO DO ÍCONE */
.share-options {
  position: absolute;
  top: 30px;           /* 👈 EMBAIXO */
  right: 0;
  display: flex;
  gap: 10px;

  background: rgba(255,255,255,0.95);
  padding: 8px 10px;
  border-radius: 10px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.share-wrapper.open .share-options {
  opacity: 1;
  pointer-events: auto;
}

.share-options img {
  width: 28px;   /* 👈 melhor equilíbrio */
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-options img:hover {
  opacity: 1;
  transform: translateY(-2px);
}
@keyframes softPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.action-btn {
  animation: none;
}

.action-btn:hover {
  animation: softPulse 0.35s ease;
}
/* Pulse sutil */
.pulse-once {
  animation: pulse 0.4s ease-out;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Tooltip "Copied" */
.copy-btn {
  position: relative;
}

/* tooltip padrão (Copy link – já existe no HTML) */
.copy-btn .tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 32, 56, 0.9);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

/* mostra tooltip no hover */
.copy-btn:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* estado COPIED */
.copy-btn.copied .tooltip {
  content: "Copied";
}

/* BOTÃO */
.hamburger {
  position: fixed;
  top: 16px;
  left: 18px;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  position: absolute;
  left: 0;
  height: 2.5px;  /* Altura das barras (todas iguais): */
  color:#022038;
  background: var(--blue-dark);
  border-radius: 994px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);  /* easing suave */
  width: 26px;  /* padroniza largura */
}

/* Top bar hamburguer */
.hamburger span:nth-child(1) {
  top: 0;
  width: 20.5px;
  
}

/* Middle bar hamburguer */
.hamburger span:nth-child(2) {
  top: 7.5px;
  width: 15.5px;  /* meio um pouco mais curto pra ficar mais bonito */
  height: 3px;
}

/* Last bar hamburguer */
.hamburger span:nth-child(3) {
  top: 15.5px;
  width: 20.5px;
}

.hamburger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);  /* opcional: desliza levemente */
}

.hamburger.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* Hover sutil (já tem pulse, mas pode manter) */
.hamburger:hover {
  animation: hamburger-pulse 0.9s ease-out;
}

@keyframes hamburger-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}


/* BLUR DO CONTEÚDO QUANDO SIDEBAR ESTÁ ABERTO */
.internal-page {
  transition: filter 0.3s ease, transform 0.3s ease;
}

body.sidebar-active .internal-page {
  filter: blur(1px);
  transform: scale(0.995);
}
body.sidebar-active main > * {
  filter: blur(1px);
  transition: filter 0.25s ease;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

body.sidebar-active .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
  background: rgba(2,60,117,0.2); 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(2,60,117,0.35); }

/* Title lift*/ 
.content h1,
.content h2,
.article-content h1,
.article-content h2,
.insight-card h2,
.opinion-item h2 {
  transition: all 0.35s ease;
}

.content h1:hover,
.content h2:hover,
.article-content h1:hover,
.article-content h2:hover,
.insight-card h2:hover,
.opinion-item h2:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(2, 60, 117, 0.12);
}


/* Pages Transition*/
body {
  opacity: 1;
  transition: opacity 0.4s ease;
}

body.page-loading {
  opacity: 0;
}

/* Reading progress Vertical*/
#reading-progress-vertical {
  position: fixed;
  top: 0;
  right: auto;                     /* ou left: 0; se preferir esquerda */
  width: 4px;                   /* bem fina */
  height: 0;
  background: var(--blue-main); /* cor do seu azul */
  z-index: 2000;
  transition: height 0.1s linear;
  opacity: 0.1;                 /* sutil */
}

#reading-progress-vertical:hover {
  opacity: 1;
}

/* =========================
   OPINION — SEARCH ICON (STEP 1)
========================= */

.opinion-search {
  position: absolute;
  top: -22px;
  right: 0;
}

.opinion-search img {
  width: 19px;
  height: 19px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s;
}
.content {
  position: relative;
}

.opinion-search:hover img {
  opacity: 0.85;
  transform: scale(1.38);
}
/* =========================
   OPINION — SEARCH (VISUAL)
========================= */

.opinion-search {
  position: absolute;
  top: -14px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* BOTÃO DA LUPA — SEM QUADRADO */
.search-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.search-toggle img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.search-toggle:hover img {
  opacity: 1;
}

/* TEXTO "SEARCH" NO HOVER */
.search-hint {
  font-size: 12px;
  color: var(--gray-light);
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.opinion-search:hover .search-hint {
  opacity: 1;
  transform: translateX(0);
}

/* INPUT — ESCONDIDO POR PADRÃO */
.search-input {
  width: 0;
  opacity: 0;

  font-size: 13px;
  padding: 6px 10px;

  background: rgba(255, 255, 255, 0.35); /* 👈 vidro */
  backdrop-filter: blur(6px);            /* 👈 glass real */
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(2, 32, 56, 0.18);
  border-radius: 10px;

  transition:
    width 0.3s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.opinion-search.active .search-input {
  width: 170px;
  opacity: 1;

  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(3, 75, 133, 0.28);
}


.opinion-search.active .search-hint {
  opacity: 0;
}
/* SEARCH COLOR */
.opinion-search.active .search-toggle img {
  opacity: 1;
  filter: brightness(0) saturate(100%)
    invert(23%) sepia(8%) saturate(1200%)
    hue-rotate(175deg) brightness(95%);
}
.search-input:focus {
  outline: 20px rgba(25, 109, 178, 0.14);;
 outline-offset: 2px;
}

/* HEADER COLOR */
.site-identity::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1.3px;

  background: rgba(7, 35, 58, 0.807); /* azul escuro elegante */
}

/* =========================
   OPINION — + MORE
========================= */

.opinion-more {
  margin-top: 48px;
  text-align: left;
}

.more-btn {
  background: none;
  border: none;
  padding: 0;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;

  color: rgba(2, 60, 117, 0.55); /* azul discreto */
  cursor: pointer;

  transition: color 0.2s ease, transform 0.2s ease;
}

.more-btn:hover {
  color: rgba(2, 60, 117, 0.85);
  transform: translateY(-3px);
}

/*Nova fonte*/



/* =========================
   WORK SANS — CONTEÚDO EDITORIAL
========================= */

.content,
.content p,
.content li,
.article-content,
.article-content p,
.article-content li {
  font-family: 'Work Sans', Arial, Helvetica, sans-serif;

}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 0px;
  word-spacing: 1.2px;
}

.opinion-list .opinion-item h2,
.opinion-list .opinion-item h2 a {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500;
  letter-spacing: -0.3px;
   word-spacing: 1.2px;
}


.highlight-block .article-preview a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;

}


/* Highlight under Surname */

.home-title .surname {
  position: relative;
  display: inline-block;
 
}

.home-title .surname::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 2px;
  right: 0px;
  height: 4px;
  background: #082094;
  opacity: 0.75;
  transform: skew(-18deg);
  border-radius: 6px 12px 6px 10px;
  z-index: -1;
  
}

.site-home .surname {
  position: relative;
  display: inline-block;
}

/* Header */ 
.site-home .surname::after {
  content: "";
  position: absolute;
  bottom: 3.0px;
  left: 2px;
  right: -1px;
  height: 1.5px;
  background: #082094;
  opacity: 0.75;
  transform: skew(-18deg);
  border-radius: 6px 12px 8px 10px;
  z-index: -1;
}



/* Animação */
@keyframes drawUnderline {
  from { width: 0; }
  to   { width: 100%; }
}

/* Aparece ao carregar */
.home-title .surname::after {
  animation: drawUnderline 1.5s forwards 0.5s;
}

/* Reinicia ao hover */
.home-title .surname:hover::after {
  animation: drawUnderline 1.5s forwards;
}



.opinion-more { text-align: center; margin-top: 32px; }
.more-btn { padding: 10px 24px; background: var(--blue-main); color: white; border: none; border-radius: 8px; cursor: pointer; }