/* ==========================================================================
   1. VARIÁVEIS E TIPOGRAFIA FLUIDA
   ========================================================================== */
:root {
  /* clamp(mínimo, ideal, máximo) */
  --fs-0: clamp(0.8rem, 1.5vw, 1rem);
  --fs-1: clamp(1rem, 2vw, 1.125rem);
  --fs-2: clamp(2rem, 4vw, 2.25rem);
  --fs-3: clamp(3rem, 6vw, 4.5rem);
  --z-nav: 100;
  --z-modal: 500;
  --z-overlay: 999;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Jost Variable", Futura, sans-serif;
  font-variant-ligatures: normal;
  font-feature-settings: "ss01" on;
  font-weight: 300;
  color: #000;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  /* height: -webkit-fill-available; */
}

body {
  background-color: #ffffff;
  overflow-x: clip;
  font-size: var(--fs-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overscroll-behavior-y: none;
  user-select: none;
  min-height: 100svh;
  /* min-height: -webkit-fill-available; */
  padding-top: 10svh;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}
.hidden,
.vh-hidden {
  display: none !important;
}

/* ==========================================================================
   2. ESTILOS GERAIS DE TEXTO
   ========================================================================== */
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-size: var(--fs-3);
  line-height: 1.2;
}
h2,
h3 {
  font-size: var(--fs-2);
}
.indirect-title {
  font-weight: unset;
  line-height: 1.4;
  display: inline;
  font-size: var(--fs-1);
}
p {
  line-height: 1.4;
}
b {
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #000000;
}
@media (hover: hover) and (pointer: fine) {
  a {
    transition: opacity 0.5s ease;
  }
}

@media (hover: hover) and (pointer: fine) {
  a:hover,
  a:active,
  button:hover,
  button:active {
    text-decoration: line-through;
    cursor: pointer;
  }
}

a img {
  width: 100%;
  overflow: hidden;
}

a picture img,
a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* a img:hover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
} */

@media (hover: hover) and (pointer: fine) {
  a img:hover,
  a img:active,
  a img:focus-visible {
    transform: scale(1.03);
  }
}

@media (hover: hover) and (pointer: fine) {
  .made-with-love:hover {
    color: rgb(243, 0, 0);
    text-decoration: none;
  }
  .mobile-overlay-title:hover {
    cursor: url("/icons/heart.svg"), pointer;
    color: #000;
  }
}

ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

ul li {
  list-style-type: none;
}

.flex--column {
  display: flex;
  flex-direction: column;
}
.small-caps {
  font-variant: all-small-caps;
  letter-spacing: 1px;
}
.anchor {
  position: absolute;
  transform: translateY(-5svh);
}
.heart-cursor {
  cursor: url("/icons/heart.svg"), pointer;
}

a:has(.border-img) {
  border: 1px solid #000;
  display: block;
}

a:has(.border-img) .border-img {
  border: none !important;
}

@media (max-width: 1024px) {
  a:has(.border-img) {
    border: 1px solid rgba(0, 0, 0, 0.4);
  }
}

section,
main {
  width: 80vw;
  margin: 0 auto;
}

section:last-of-type {
  padding: 0 0 10svh 0;
}

/* ==========================================================================
   3. NAVEGAÇÃO E RODAPÉ (SMART NAV)
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 3svh 10vw 2svh 10vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  z-index: var(--z-nav);
  /* O fundo inicia transparente e a animação usa curva de aceleração */
  background-color: transparent;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.8s ease,
    backdrop-filter 0.8s ease;
  transform: translateY(0);
}

.nav--hidden {
  transform: translateY(-100%);

  transition:
    transform 0.3s ease-in,
    background-color 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav--scrolled {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-title {
  font-weight: 400;
}

.language-switcher-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: var(--fs-1);
}

@media (max-width: 1024px) {
  .nav div a {
    padding: 0.3rem;
  }
}

footer {
  padding: 0 10vw 1.5rem 10vw;
  gap: 2rem;
  width: 100%;
}

footer a {
  color: #ffffff;
}

.footer-license {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.license-icons {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
}

.license-icons img {
  opacity: 95%;
  width: 1rem;
}

@media (max-width: 1024px) {
  footer {
    padding: 5svh 10vw 1rem 10vw;
  }
  footer a {
    font-size: var(--fs-0);
  }
  .license-icons img {
    width: var(--fs-0);
  }
}

/* ==========================================================================
   4. HOME PAGE
   ========================================================================== */
.hero {
  min-height: 93svh;
  align-content: center;
  position: relative;
}

.hero ul {
  margin: 0 auto;
  min-height: fit-content;
  display: grid;
  grid-template-columns: 1fr 3fr;
  row-gap: var(--fs-2);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  text-wrap: balance;
}

.hero ul.grid-calculado {
  opacity: 1;
}
.hero ul li {
  grid-column: 1;
}

.hero ul li a {
  display: flex;
  gap: var(--fs-3);
}
.hero ul li p:first-of-type {
  opacity: 0.7;
}
.hero ul li a div p:first-child {
  font-weight: 400;
  opacity: 1;
}
.hero ul li a > p:first-of-type {
  letter-spacing: 0.5px;
}

/* Removemos a classe .hero-img antiga e substituímos pelo wrapper */
.hero-picture-wrapper {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  display: flex;
  max-height: 70svh;
  max-width: 40vw;
  right: 0;
  top: 11svh;
  bottom: 13svh;
  margin: auto;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
  z-index: 2;
  /* Boa prática: garante que imagens invisíveis não bloqueiem os cliques do mouse no fundo */
  pointer-events: none;
}

/* Garante que a imagem dentro do picture preencha o wrapper corretamente */
.hero-picture-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .hero ul li:hover + .hero-picture-wrapper {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .hero ul {
    grid-template-columns: 1fr;
  }
  .hero-picture-wrapper {
    display: none;
  }
}
/* ==========================================================================
   HOME - AFUNILAMENTO (DIRETÓRIO INFERIOR)
   ========================================================================== */
.home-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.grid-home {
  margin-top: 15svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2vw;
  align-items: start;
}

/* =======================================
   Sobre Mim
   ======================================= */
.home-funnel-header {
  grid-template-rows: auto auto 1fr;
}

.funnel-img-home {
  grid-column: 1 / 5; /* Colunas 1, 2, 3 e 4 */
  grid-row: 2 / 4;
  width: 100%;
  aspect-ratio: 5 / 10;
  height: 65svh;
  overflow: hidden;
  position: relative;
}

.funnel-title {
  grid-column: 5 / 9; /* Colunas 5 a 8 (Ajustado para não estourar a tela) */
  font-size: var(--fs-3);
  line-height: 1;
  text-transform: uppercase;
  margin-left: -0.2rem;
  margin-top: -0.5rem;
}

.funnel-sub-title {
  grid-column: 1 / 5;
  grid-row-start: 1;
  font-size: var(--fs-1);
  font-weight: 400;
  margin-top: -0.3rem;
}

.funnel-desc {
  grid-column: 5 / 10;
  max-width: 40ch;
  grid-row-start: 3;
  font-size: var(--fs-1);
  margin-top: -0.3rem;
  text-wrap: balance;
  margin-top: auto;
  margin-bottom: -0.4rem;
}

.funnel-link {
  grid-column: 11 / span 2;
  grid-row-start: 3;
  font-weight: 400;
  margin-top: auto;
  text-align: end;
  margin-bottom: -0.4rem;
}

/* =======================================
   OS 2 CARDS INFERIORES (Trabalho)
   ======================================= */

.home-funnel-cards {
  align-items: stretch;
}

.funnel-card {
  width: 100%;
  min-width: 100%;
  margin-bottom: 5svh;
}

.design-card {
  grid-column: 5 / span 4;
}

.philosophy-card {
  grid-column: 9 / span 4;
}

.cards-title {
  display: none;
  font-size: var(--fs-3);
  line-height: 1;
  height: fit-content;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: end;
}

.cards-desc {
  display: none;
  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-wrap: balance; */
  text-align: end;
}

.funnel-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   1. O CONTÊINER (Estrutura limpa, sem sobrecarregar a GPU)
   ========================================================================== */
.funnel-img-wrapper {
  width: 100%;
  aspect-ratio: 9 / 5;
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
   2. A GAIOLA (Mantém a blindagem contra fotos pequenas do Safari)
   ========================================================================== */
.funnel-img-wrapper picture,
.funnel-img-home picture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   3. A IMAGEM E O MOTOR (Parallax com Aceleração 3D Nativa)
   ========================================================================== */
.funnel-img-wrapper picture img,
.funnel-img-wrapper img,
.funnel-img-home picture img,
.funnel-img-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  --parallax-y: 0px;
  --zoom: 1.15;
  transform: translate3d(0, var(--parallax-y), 0) scale(var(--zoom));
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .funnel-card:hover .funnel-img-wrapper img,
  .funnel-link:hover {
    --zoom: 1.18;
  }
  .funnel-card:hover {
    text-decoration: none;
  }
}

.funnel-meta {
  display: flex;
  flex-direction: column;
  align-content: end;
  text-align: end;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVIDADE DO AFUNILAMENTO (MOBILE BLINDADO)
   ========================================================================== */
@media (max-width: 1024px) {
  .home-container {
    gap: 8svh;
  }
  .grid-home {
    display: flex;
    flex-direction: column;
    gap: 4svh;
    margin: 5svh 0;
  }

  /* A sua imagem preserva rigorosamente as dimensões que você exigiu */
  .funnel-img-home {
    display: none;
    width: 80vw;
    aspect-ratio: 16 / 8;
    height: 100%;
    margin-bottom: 2svh;
  }
  .funnel-desc,
  .funnel-sub-title {
    display: none;
  }

  .funnel-link {
    margin: 26svh auto;
  }

  .cards-intro {
    margin-bottom: 2svh;
  }

  .funnel-card {
    margin-bottom: 5svh;
  }
}

/* ==========================================================================
   6. PÁGINA SOBRE
   ========================================================================== */
.about {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  justify-content: end;
  margin-left: 10vw;
}

.about-text {
  max-width: 40vw;
}

@media (max-width: 1024px) {
  .about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 12svh;
  }
  .about-title {
    line-height: 1;
  }
  .about-text {
    max-width: 100%;
  }
}

/* ==========================================================================
   7. PROJETOS INDIVIDUAIS
   ========================================================================== */
.project {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90svh;
  box-sizing: border-box;
}

.project-container {
  display: grid;
  width: 80vw;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 10svh auto;
  column-gap: 2.5vw;
  align-content: space-between;
  justify-content: space-between;
  border: 1px solid #000;
  padding: 2.5vw;
}

.project-title {
  font-size: 8vw;
  margin-top: -0.5vw;
  grid-column: 1 / 3;
  line-height: 1;
}

.project-desc-container {
  grid-column: 9 / span 4;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  text-align: end;
  align-self: end;
}

.project-team {
  grid-column: 9 / span 4;
  text-align: end;
}

.project-team-line-break {
  display: none;
}

.project-description {
  grid-row: 3;
  grid-column: 1 / 11;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5vw;
}

.project-description > *:nth-child(n + 2) {
  border-left: 1px solid #000;
  padding-left: 2.5vw;
}

.project-links-wrapper {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   ESTRUTURA DE IMAGENS COM CSS GRID (RESOLUÇÃO DO ASPECT RATIO)
   ========================================================================== */
.project-img-container {
  display: flex;
  flex-direction: column;
  gap: 10svh;
  width: 80vw;
}

/* 1. Imagem que ocupa a largura total (80vw) */
.project-img-container > picture {
  display: block;
  width: 100%;
}

/* 2. O Novo Layout Dividido usando CSS Grid */
.project-split-img {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Duas colunas exatamente iguais */
  gap: 10svh;
  width: 100%;
  align-items: start; /* Proíbe o Grid de esticar as fotos verticalmente */
}

/* O picture dentro do split não precisa mais de cálculos de porcentagem */
.project-split-img > picture {
  display: block;
  width: 100%;
}

/* 3. A Imagem Final (<img>) - Simples, fluida e obediente */
.project-img-container picture img {
  width: 100% !important;
  height: auto !important; /* Corta a interferência de altura do Eleventy */
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   MENU SANFONA
   ========================================================================== */
.philosophy-groups {
  margin-bottom: 10svh;
}

.philosophy-groups-content {
  grid-column: 1 / 13;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  margin-bottom: 2vw;
}

.philosophy-groups-title {
  font-size: var(--fs-1);
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  width: 100%;
  text-align: end;
}

.accordion-list {
  grid-column: 1 / 13;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #000;
  width: 100%;
}

.accordion-item {
  border-bottom: 1px solid #000;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  font-family: inherit;
  font-size: var(--fs-1);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  font-weight: 400;
}

.accordion-icon {
  font-size: var(--fs-2);
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* O Motor da Animação via CSS Grid */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-inner {
  overflow: hidden;
  min-height: 0;
  min-width: fit-content;
  max-width: 20vw;
}

.accordion-inner p {
  padding-bottom: 1.5rem;
  max-width: 70ch;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  cursor: text;
  user-select: text;
  text-wrap: balance;
}

/* Estados Ativos */
.accordion-item.is-active .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-item.is-active .accordion-icon {
  transform: rotate(45deg); /* Transforma o + em X */
}

.accordion-item.is-active .accordion-inner p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s; /* Revela o texto depois que a caixa abre */
}
@media (hover: hover) and (pointer: fine) {
  button.accordion-header:hover {
    text-decoration: none;
  }
  button.accordion-header:hover .accordion-title {
    text-decoration: line-through;
  }
}

/* ==========================================================================
   OVERRIDES MOBILE
   ========================================================================== */

@media (max-width: 1368px) {
  .project-description {
    grid-column: 1 / 10;
  }
}
@media (max-width: 1024px) {
  .project {
    justify-content: flex-end;
    padding-bottom: 10svh;
  }
  .project-container {
    padding: 0;
    border: none;
    margin-top: 0;
    grid-template-columns: repeat(3, 1fr);
  }
  .project-title {
    font-size: 15vw;
  }
  .project-description {
    display: none;
  }
  .project-team {
    grid-column: 1 / span 2;
    grid-row: 3;
    text-align: start;
    align-self: end;
    text-wrap: pretty;
  }
  .project-team-line-break {
    display: block;
  }
  .project-desc-container {
    grid-column: 3;
  }

  /* No Mobile, o Grid de 2 colunas se transforma em 1 coluna empilhada */
  .project-split-img {
    grid-template-columns: 1fr;
    gap: 10svh;
  }
  /* Overrides Sanfona Mobile */
  .philosophy-groups-content,
  .accordion-list {
    grid-column: 1 / -1;
  }
  .accordion-title {
    text-wrap: balance;
  }
  .accordion-inner {
    min-width: fit-content;
    max-width: 100%;
  }
  .accordion-inner p {
    hyphens: auto;
  }

  .accordion-list {
    margin-top: 2rem;
  }
  .philosophy-groups-title {
    text-align: start;
  }
}

@media (max-width: 1440px), (max-height: 800px) {
  /* Oculta o subtítulo apenas na lombada fechada para evitar estouro de limite vertical */
  .book-spine-sub {
    display: none;
  }
}
/* ==========================================================================
   PROTEÇÃO ULTRAWIDE (Monitores 2K, 4K e 8K)
   ========================================================================== */
@media (min-width: 2000px) {
  :root {
    --fs-0: clamp(1rem, 1vw, 1.25rem);
    --fs-1: clamp(1.125rem, 1.2vw, 1.8rem);
    --fs-2: clamp(2.25rem, 2.5vw, 3.5rem);
    --fs-3: clamp(4.5rem, 4vw, 6.5rem);
  }

  .philosophy-page .bookshelf-wrapper {
    align-items: flex-start; /* Impede que o bloco inteiro flutue no meio da tela */
  }

  .bookshelf-row {
    max-width: 1400px;
    height: 700px;
    justify-content: flex-start; /* Joga os livros contra a parede esquerda do contêiner */
  }

  .book-item {
    flex: 0 0 80px;
  }

  .book-item.is-open {
    flex: 0 0 550px;
  }

  .book-content {
    padding: 3.5rem;
  }

  /* Mantemos apenas uma declaração para evitar conflitos de margem */
  .book-item.tilted-book {
    margin-left: 125px !important;
  }
}

/* ==========================================================================
   8. 404 PAGE
   ========================================================================== */
.not-found {
  min-height: 100%;
  flex-grow: 1;
  display: flex;
  align-items: end;
  margin-left: 10vw;
  padding: 0;
  transform: translateY(3.4rem);
}

.not-found-title {
  font-weight: 500;
  font-size: 10rem;
}

.not-found-container {
  height: 7rem;
  margin-bottom: 3.5rem;
  margin-left: 1rem;
  border-left: 2px solid #000000;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.not-found-text {
  padding-left: 1rem;
}

@media (max-width: 1024px) {
  .not-found {
    flex-direction: column;
    justify-content: end;
    align-items: start;
    padding-bottom: 12svh;
    transform: translateY(0);
  }
  .not-found-title {
    font-size: 43.5vw;
    margin-bottom: -1rem;
    transform: translateX(-3px);
  }
  .not-found-container {
    margin: 0;
    border: none;
    padding: 1rem 0 0 0;
    border-top: 2px solid black;
    height: auto;
    width: 100%;
  }
  .not-found-text {
    padding-left: 0;
  }
}
/* ==========================================================================
   MENU UNIVERSAL E OVERLAY (BOTÕES)
   ========================================================================== */

.mobile-menu-btn,
.mobile-close-btn {
  display: block;
  background: none;
  border: none;
  font-size: var(--fs-1);
  cursor: pointer;
  padding: 0.5rem;
  text-transform: capitalize;
  font-weight: 450;
}

/* ==========================================================================
   OVERLAY FULL-SCREEN
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: #fff;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: 3svh 10vw;
  /* Animação de entrada */
  opacity: 0;
  transform: translateY(-100%);
  transition:
    transform 0.6s cubic-bezier(0.85, 0, 0.15, 1),
    opacity 0.4s ease;
  pointer-events: none;
}

/* Estado Ativo do Menu */
.mobile-overlay.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-overlay-content {
  margin: auto 0;
}

.mobile-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 10svh; */
}

.mobile-overlay-title {
  font-weight: 400;
  color: #fff;
  font-size: var(--fs-1);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  padding: var(--fs-2) 0;
  font-size: var(--fs-1);
  font-weight: 400;
  color: #000;
  transition: opacity 0.3s ease;
}

.nav-number {
  margin-right: var(--fs-3);
  opacity: 0.7;
}

/* ==========================================================================
   ANIMAÇÕES EDITORIAIS (SLIDE-UP)
   ========================================================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(60px); /* Começa 60px para baixo */
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0); /* Sobe suavemente para o lugar original */
}

/* ==========================================================================
   FEEDBACK DE CARREGAMENTO (LINKS DO MENU)
   ========================================================================== */
.is-loading {
  /* Pisca suavemente entre 100% e 30% de opacidade */
  animation: text-pulse 0.6s infinite alternate ease-in-out;

  /* Trava de segurança: impede que a usuária clique duas vezes seguidas */
  pointer-events: none;
}

@keyframes text-pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
