* {
    box-sizing: border-box;
}

body {
    margin: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
 
img{
    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
}

img:hover{
    -webkit-filter: none; 
    filter: none;
}

/* most used classes*/

.relative { 
    position: relative;
}

.absolute {
    position:absolute;
}

.wrap {
    flex-wrap: wrap;
}

.flex{
    display: flex;
}

.align-center{
    align-items: center;
}

.justify-center {
    justify-items: center;
}

.justify-start {
    justify-items: flex-start;
}

.justify-end{
    justify-items: flex-end;
}

.justify-evenly{
    justify-content: space-evenly;
}

.justify-spacebtw{
    justify-content: space-between;
}

.flex-wrap{
    flex-wrap: wrap;
}

.justify-c-center{
    justify-content: center;
}

.justify-c-end{
    justify-content: flex-end;
}

.justify-c-start{
    justify-content: flex-start;
}

.align-c-center{
    align-content:center;
}

.padding-left-right{
    padding-left: 4.5rem;
    padding-right: 4.5rem;
}

.margin-right{
    margin-right: 2rem;
}

.margin-top2{
    margin-top: 2rem;
}

.margin-bottom2{
    margin-bottom: 2rem;
}

.margin-left{
    margin-left: 4.5rem;
}

.cem{
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* text editor*/

.no-decoration{
    text-decoration: none;
}

.uppercase{
    text-transform: uppercase;
}

.w700{
    font-weight: 700;
}

.w400{
    font-weight: 400;
}

.black{
    color: black;
}

.white{
    color: white;
}

.red{
    color:#a61c00;
}

/* header */

#header{
    top: 0;
    left: 0;
    right: 0;
   
    position: fixed;
    z-index: 1;
    transition: top 0.3s;
}

/* menu (inside header) */

.header-container{
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    width: 100%;
    height: 2.4rem;
}

.menu{
    height: 1rem;
    margin: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}



.text-menu{
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    color:#000000;
    font-size: 0.7rem;
    font-weight: 600;
    /*! margin: 0.5rem; */
    text-transform: capitalize;
    text-decoration: none; 
    -webkit-filter: none; 
    filter: none; 
    letter-spacing: 0.2rem;
    cursor: none;
}




.text-menu2{
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    color:black;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0 0 0 1rem;
    text-decoration: none; 
    letter-spacing: 0.1rem;
    cursor: none;
}

.text-menu3{

    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    color:black;
    font-size: 0.7rem;
    font-weight: 400;
    margin: 0 0 0 1rem;
    text-decoration: none; 
    letter-spacing: 0.05rem;
    text-transform: capitalize;
    font-style: italic;
    cursor: none;

}

.text-menu2:hover{
    color: #000000;
    font-weight: 600;
}

/*main-article */


body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
}

.cursor-circle,
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transform: translate(-50%, -50%);
}

.cursor-circle {
    width: 40vh;
    height: 40vh;
    border: 1px solid #333;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: 50% 50%;
}

.cursor-dot {
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    border-radius: 50%;
}

.cursor-dot::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

/* Classe para quando o cursor estiver sobre links */
.cursor-dot.hover {
    background-color: #000;
    width: 3px;
    height: 3px;
}

.cursor-dot.hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Classe para visibilidade do círculo */
.cursor-circle.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
    padding: 20px;
    width: 100vw;
    height: 95vh;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 3vh;
}

.grid-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.7s ease-out, border 0.3s ease-out;
    will-change: transform;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: none;
    transform: scale(1);
    z-index: 1;
   
}

.grid-container:hover .grid-item:hover {
    transform: scale(1.08);
    transition: transform 0.7s ease-out;
    z-index: 2;
   
}


.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(1.2) contrast(0.7);
    transition: filter 0.7s ease-out, transform 0.7s ease-out;
    will-change: transform;
    border-radius: 0;
    display: block;
    cursor: none;
    aspect-ratio: 1/1;
     border: 1px white;
  
}

.grid-container:hover .grid-item:hover img {
    filter: grayscale(0%) brightness(0.85) contrast(1);
    -webkit-filter: grayscale(0%) brightness(0.85) contrast(1);
}

.grid-item .text {
    height: 15%;
    font-size: 0.335vw;
    text-align: left;
    padding: 2px 4px;
    color: white;
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: none;
    mix-blend-mode: difference;
    position: relative;
    z-index: 3;
}

.hover-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: difference;
    color: white;
    text-transform: capitalize;
    font-style: italic;
    z-index: 1;
    width: auto;
    text-align: center;
    letter-spacing: 0.05rem;
}

.hover-title.visible {
    opacity: 1;
}

a {
    cursor: none;
} 

@media (min-width: 769px) {
  .menu-toggle-btn,
  #side-menu {
    display: none !important;
  }
  .header-links {
    display: flex !important;
  }
  #scroll-spacer {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .header-links {
    display: none !important;
  }
  .menu-toggle-btn {
    display: flex !important;
  }
  #side-menu {
    display: flex;
    position: fixed;
    left: 0;
    top: calc(2.4rem + 10px);
    width: 100vw;
    height: 2.4rem;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100px);
    opacity: 0;
    pointer-events: none;
    transition: none;
    z-index: 150;
    border-radius: 0;
  }
  #side-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  #side-menu .text-menu2 {
    margin: 0 1rem;
  }
  body, a, .grid-item, .grid-item img, * {
    cursor: auto !important;
  }
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    display: block;
    align-items: initial;
    justify-content: initial;
  }
  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0;
    width: 100vw;
    margin-top: 2.4rem;
    height: auto;
    overflow-y: auto;
  }
  .grid-item {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    height: 0.7vh;
    margin: 0;
    padding: 0;
    aspect-ratio: unset;
    transition: height 0.9s cubic-bezier(.22,1,.36,1);
  }
 
  .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .grid-item, .grid-item img {
    transform: none !important;
  }
  .grid-container:hover .grid-item:hover img,
  .grid-container:hover .grid-item:hover {
    filter: none !important;
    transform: none !important;
  }
  /* Esconde os cursores circulares no mobile */
  .cursor-circle, .cursor-dot { display: none !important; }
  /* Novo cursor retangular horizontal */
  .mobile-rect-cursor {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    height: 10vh;
    background: transparent;
    border: none;
    z-index: 10;
    pointer-events: none;
    border-radius: 2px;
  }
  #header, .header-container {
    z-index: 200;
  }
  #footer-title-bar {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 5vh;
    bottom: 10vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    z-index: 101;
    pointer-events: auto;
  }
  #footer-title-text {
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 0.6rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.2rem;
    text-transform: capitalize;
    text-decoration: none;
    filter: none;
    text-align: center;
    width: 100vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
    margin: 0;
  }
  .hover-title {
    display: none !important;
  }
  .menu-toggle-btn {
    background: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: transform 0.3s cubic-bezier(.4,1.7,.6,.95);
    padding: 0 0.5rem;
    z-index: 200;
    outline: none;
    display: flex;
    align-items: center;
    height: 2.4rem;
  }
  .menu-toggle-btn.open {
    transform: rotate(90deg);
  }
  .side-menu {
    position: fixed;
    left: 0;
    top: calc(2.4rem + 10px); /* altura do header + 10px */
    width: 100vw;
    height: 1.6rem;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100px);
    opacity: 0;
    pointer-events: none;
    transition: none !important;
    z-index: 150;
    border-radius: 0;
  }
  .side-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .side-menu .text-menu2 {
    margin: 0 1rem;
  }
  .side-menu-link {
    color: #000;
    font-family: Neue Haas Grotesk, Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.1rem;
    text-transform: capitalize;
    padding: 0 1rem;
    transition: color 0.2s;
  }
  .side-menu-link:hover {
    color: #a61c00;
  }
  .menu-toggle-btn.text-menu {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.2rem;
    padding: 0;
    margin-left: 0.5rem;
    height: auto;
    line-height: 1;
    background: none;
    border: none;
    color: #000;
    display: flex;
    align-items: center;
  }
  .grid-item.central {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    z-index: 2;
    position: relative;
  }
} 