/* Blog light — conteúdo claro + header Inception original */
.blog-page {
  background: #fbfaf7 !important;
  color: #071723 !important;
}

/* Header: logo esquerda, hambúrguer direita */
.blog-page .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid rgba(7, 23, 35, 0.08);
  padding: 1.25rem clamp(22px, 5vw, 84px);
}

/* Evita o clearfix do .w-nav:before/after interferir no layout */
.blog-page .navbar:before,
.blog-page .navbar:after {
  content: none !important;
  display: none !important;
}

.blog-page .navbar-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.blog-page .navbar > .container,
.blog-page .navbar-component,
.blog-page .menu-button {
  position: relative;
  z-index: 2;
}

.blog-page .navbar-component {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: unset !important;
  width: 100%;
}

.blog-page .navbar .brand {
  width: auto !important;
  height: auto;
  flex: 0 0 auto;
}

.blog-page .navbar .brand img {
  filter: none;
  transition: filter 0.25s ease;
}

.blog-page .menu-button {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 100000;
  color: #071723;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.blog-page .navbar.is-open .menu-button {
  color: #e5e5e5;
}

.blog-page .navbar.is-open .menu-line {
  stroke: currentColor;
}

.blog-main {
  padding-top: 5.5rem;
}

/* Menu overlay — fullscreen */
.blog-page .navbar-open {
  z-index: 1;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  height: 100svh;
  margin: 0;
  padding: 0;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.blog-page .navbar-open.is-open,
.navbar-open.is-open {
  display: flex !important;
  animation: blogMenuIn 0.55s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.blog-page .navbar.is-open {
  z-index: 10000;
  border-bottom-color: transparent;
}

.blog-page .navbar.is-open .navbar-backdrop {
  opacity: 0;
}

.blog-page .navbar.is-open .brand img {
  filter: invert(1);
}

.blog-page .navbar.is-open .navbar-open {
  z-index: 1;
}

.blog-page .navbar-open-component {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  align-items: stretch;
  justify-content: stretch;
  place-items: stretch;
}

.blog-page .navbar-open .container,
.blog-page .navbar-open .w-container {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 clamp(22px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-page .navbar-left {
  margin-top: 0;
  margin-bottom: 2rem;
}

@keyframes blogMenuIn {
  from { opacity: 0; transform: translateY(-2%); }
  to { opacity: 1; transform: translateY(0); }
}

body.blog-menu-open,
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.menu-button.w--open .menu-line-1 { transform: translateY(9px) rotate(45deg); transform-origin: center; }
.menu-button.w--open .menu-line-2 { opacity: 0; }
.menu-button.w--open .menu-line-3 { transform: translateY(-9px) rotate(-45deg); transform-origin: center; }

.menu-line { transition: transform 0.35s ease, opacity 0.25s ease, stroke 0.25s ease; transform-box: fill-box; }

.nav-link:hover .nav-link-text,
.nav-link:focus-visible .nav-link-text { opacity: 0.55; }

[class^="navbar-image-"] {
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

[class^="navbar-image-"].is-active { opacity: 1; }

.blog-page .blog-heading-size,
.blog-page .blog-heading-title,
.blog-page .text-size-huge,
.blog-page .text-size-huge.blog,
.blog-page .text-size-huge.large {
  color: #071723;
}

.blog-page .blog-subtitle p,
.blog-page .text-size-medium,
.blog-page .text-size-regular,
.blog-page .text-size-small,
.blog-page .caps {
  color: rgba(7, 23, 35, 0.72);
}

.blog-page .divider-line {
  background-color: rgba(7, 23, 35, 0.14) !important;
  opacity: 1 !important;
}

.blog-page .vertical-line {
  background-color: rgba(7, 23, 35, 0.2);
}

.blog-page .blog-link,
.blog-page .view-all-tag {
  color: #071723;
}

.blog-page .blog-post-component,
.blog-page .blog-content-wrapper {
  color: #071723;
}

/* Blog heading reveal */
.heading-component {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.heading-component.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Divider draw */
.divider-line {
  width: 0 !important;
  transition: width 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.divider-line.is-drawn {
  width: 100% !important;
}

.divider-line.margin-bottom.is-drawn {
  width: 100% !important;
  opacity: 1 !important;
}

/* Card entrance + image zoom */
.blog-list .card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-list .card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card .image-background {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  width: 100%;
}

.card .image-background img {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.card .image-background.is-hovered img,
.card .image-background:hover img {
  transform: scale(1.06) !important;
}

.view-all-tag.is-active .elipse-blog,
.blog-link.is-active {
  opacity: 1;
}

.view-all-tag {
  cursor: pointer;
}

.view-all-tag:not(.is-active) .elipse-blog {
  opacity: 0.35;
}

/* Article page */
.blog-article-page .blog-image-wrapper img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}

.blog-article-page .button-blog {
  color: #071723;
  border-color: rgba(7, 23, 35, 0.18);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.blog-article-page .button-blog:hover {
  opacity: 0.72;
}

.blog-article-page .button-white-icon {
  filter: invert(1);
}

.blog-article-page .w-richtext {
  color: rgba(7, 23, 35, 0.88);
}

.blog-article-page .w-richtext h2,
.blog-article-page .w-richtext h3,
.blog-article-page .w-richtext h4 {
  color: #071723;
  margin-top: 2.2em;
  margin-bottom: 0.8em;
}

.blog-article-page .w-richtext p {
  margin: 0 0 1.2em;
  line-height: 1.75;
}

.blog-article-page .w-richtext strong,
.blog-article-page .w-richtext .blog-keyword {
  color: #071723;
  font-weight: 700;
}

.blog-article-page .w-richtext .blog-keyword {
  color: #c24e00;
}

.blog-article-page .w-richtext .blog-cta-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: #ff7548;
  color: #16110f !important;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.blog-article-page .w-richtext .blog-cta-button:hover {
  transform: translateY(-2px);
  background: #ff8a62;
}

.blog-article-page .w-richtext figure {
  margin: 2em 0;
}

.blog-article-page .w-richtext img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.blog-article-page .blog-card-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-article-page .blog-card-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-article-page .blog-card-image-wrap.is-hovered img,
.blog-article-page .blog-card-image-wrap:hover img {
  transform: scale(1.05);
}

.blog-article-page .blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 0.5rem;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-article-page .blog-component .blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column-gap: 2rem;
  grid-row-gap: 6rem;
}

.blog-article-page .blog-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  border-radius: 0.5rem;
}

.blog-article-page .blog-card-title {
  margin-top: 1rem;
  color: #071723;
  text-decoration: none;
}

.blog-article-page .blog-card-title .text-size-huge.blog {
  color: inherit;
}

@media (max-width: 991px) {
  .blog-article-page .blog-component .blog-list {
    grid-template-columns: 1fr;
    grid-row-gap: 4rem;
  }

  .navbar-open-component { grid-template-columns: 1fr; }
  .navbar-right { display: none; }
  .nav-link-text { font-size: 12vw; }
}

.button.overflow-hidden:hover .button-line-animation { width: 100% !important; }
