@import url('https://fonts.googleapis.com/css2?family=Nuosu+SIL&family=Playfair+Display:wght@400;500;600&family=Roboto:wght@100;300;700&family=Tiro+Devanagari+Sanskrit:ital@0;1&display=swap');
@import url('https://use.typekit.net/zen6xmp.css');

:root {
  --site-gutter: 5vw;
  --site-content-max: 1700px;
  --site-text: #454140;
  --site-background: #f0f0f0;
}

html, body, div, span, applet, object, iframe,
blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, p, h2,
small, strike, strong, sub, sup, tt, var,
center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

h1, h2, h3, h4, h5 {
color:#454140;
font-family: roboto;
font-weight: 700;         
margin: 0px;
padding: 0px;
text-decoration: underline solid .1rem;
margin-bottom: 20px;
       
}

strong {
font-family: 'Playfair Display', serif;
font-weight: 700;         
line-height: 1.5;

}


body {
      background: #f0f0f0;
      font-family: 'Playfair Display', serif;
      font-weight: 300;
      font-size: 1rem;
      text-align: justify;

}



ul {
  list-style-type: none;
}

a {
  color:#454140;
  text-decoration: none;

}

a:hover{
  color:#b2c2bf;
}


.text {
font-size: .9rem;
line-height: 1.5;
 text-align:justify ;
}


.return-link{
  cursor: pointer;
  font-family: roboto;
  font-weight: 700;
}






/* --------------------------------- original 1700  --------------------------------- */
  
      /*  --------------------------------- Header ------------------------- */

            header {
            display: grid;
            padding-top: 4vh;
            padding-bottom: 8vh;
            background: #f0f0f0; 
            position:sticky; 
            top:0;
            z-index: 1000;
            margin: 0 5vw;
            max-width: 1700px;
            }

                    

                  

                  

                  

                  




            .header-menu {
              display: inline-flex;
            }

             .top-bar {
                margin-left: 0vw;
                font-family: 'Roboto', sans-serif;
                font-weight: 400;
                font-size: 1.5rem;
                letter-spacing: 1px;
                display: inline-flex;
              }

              .logo {
                display: inline-block;
                flex: 0 0 auto;
                width: max-content;
                height: auto;
                padding: 0;
                margin: 0;
                line-height: 1;
                font-family: 'Roboto', sans-serif;
                font-weight: 700;
                font-size: 1.5rem;
                letter-spacing: 1px;
              }

                  

                  

                  



              .top-bar  li a {
                padding-right: 2vw;
              }

              


      /* --------------------------------- min-width 1700 Responsive menu --------------------------------- */



             .toggle-button {
                position: absolute;
                top: 4vh;
                right: 0;
                display: none;
                flex-direction: column;
                justify-content: space-between;
                width: 30px;
                height: 21px;
                cursor: pointer;
               } 

                .toggle-button .bar {
                  height: 3px; 
                  width: 100%;
                  background-color: #454140;
                  border-radius: 10px;
                 }

              

                    

      /*  -----------------  min-width 1700 One column and single-container template ------------------------- */

          .single-container {
            max-width: 1700px;
            margin: 0 5vw;
            display: grid;
            grid-row-gap: 10px;
            justify-content: flex-start;
          }
                :root {
                  /* Configuração tipográfica compartilhada dos títulos */
                  --archive-title-font-family: 'Playfair Display', serif;
                  --archive-title-font-weight: 700;
                  --archive-title-font-size: 3rem;
                  --archive-title-text-transform: capitalize;
                  --archive-title-letter-spacing: 1px;
                }

                .archive-container {
                  font-family: var(--archive-title-font-family);
                  font-weight: var(--archive-title-font-weight);
                  font-size: var(--archive-title-font-size);
                  text-transform: var(--archive-title-text-transform);
                  letter-spacing: var(--archive-title-letter-spacing);
                  text-align: left;
                }

                        


                            

                          





                .sub-title {
                font-family: 'Playfair Display', serif;
                font-size: .8rem;
                font-style: italic;
                color: rgba(0, 0, 0, 0.3);
                margin-left: 10px;
              }

                        

                        


      /*  ---------------------------------  min-width 1700 Two collumns template  ------------------------- */

            .twocols-container {
            display: grid;
            grid-template-areas: "left right";
            grid-template-columns: 300px auto;
            max-width: 1700px;
            height: 82.5vh;
            margin: 0 5vw;



          }

                  .twocols-container-left {
                    grid-area: left;
                    text-align: left;
                     
                  }

                  .twocols-container-left a. {
                    font-weight: 700;
                    }

                  .twocols-container-left a.active {
                    font-weight: 700;
                    text-decoration:  underline;
                    }

                  .twocols-container-right {
                  display: grid;
                  grid-area: right;

                  }

                  .twocols-button {
                  cursor: pointer;
                  font-size: 17px;
                  padding-bottom: 1.2vh;
                  }

                .publications-list {
                }



                .publications-list a{
                font-weight: 700;
                text-decoration: underline 1px solid;
                } 

      /*  ---------------------------------  min-width 1700 Shop and cards   ------------------------- */
                

                  .twocols-container-shop {
                      display: grid;
                      grid-template-areas: "titles cards";
                      grid-template-columns: 200px auto;
                      max-width: 1700px;
                      margin: 0 5vw;
                      margin-bottom: 10vh;
                  }

                  .twocols-container-shop h4 {
                    font-family: 'Playfair Display', serif;
                  }

                  

                    .twocols-container-shop-left {
                      grid-area: titles;
                    }

                    .twocols-container-shop-right {
                      grid-area: cards;
                    }

                   
                  

                  .cards-container {
                    display: grid;
                    max-width: 1700px;
                    grid-template-columns: repeat(3, 1fr);
                    grid-template-rows: 1fr;
                    gap: 50px;
                  }


                          

                  .card-wrapper {
                    display: grid;
                    justify-content: flex-start;
                    max-width: 400px;
                    max-height: 450px;

                    }

                            


                  .card-img{
                    object-fit: cover;
                    max-width: 400px;
                    max-height: 450px;

                  }

                            

                    .card-title {
                    font-family: 'Playfair Display', serif;
                    font-weight: 700;
                    font-size: 1.5rem;
                    text-align: left;
                    color:#454140;
                    margin-top: 5px;
                  }


                            

                  .card-effect {
                    position: relative;
                  }


                  .card-wrapper:hover {
                    opacity: .3;
                    transition: .3s ease;

                  } 

      /*  ---------------------------------  min-width 1700 Three Columns template  ------------------------- */



                  .threecols-container {    
                    display: grid;
                    grid-template-areas: "left center right";    
                    grid-template-columns: 400px 40vw auto;
                    max-width: 1700px;
                    margin: 0 5vw;
                  }

                  .threecols-container .text {
                    margin: 20px 0;
                  }

                  .threecols-container h2 {
                    font-size: 2rem;
                  }



                           




                        


                        

                         



                  .threecols-left {
                  display: grid;
                  grid-area: left;
                  height: 20px;

                  }

                      

                
                  .threecols-center {
                  display: grid;
                  grid-area: center;
                  align-content: flex-start;
                  margin-right:2vw;
                  text-align: left;
                  }


                          


                  .product-thumb {
                  max-width: 100%;
                  object-fit: cover;
                  padding-bottom: 40px;
                  }


                              


                              

                    
                  .threecols-right {
                  display: grid;
                  grid-area: right;
                  text-align: left;
                  align-content: flex-start;
                  padding-right:0vw;
                  }

                               


      





/* Fading animation */
      .fade {
        -webkit-animation-name: fade;
        -webkit-animation-duration: 1s;
        animation-name: fade;
        animation-duration: 1s;
      }
      @-webkit-keyframes fade {
        from {opacity: 0} 
        to {opacity: 1}
      }
      @keyframes fade {
        from {opacity: 0} 
        to {opacity: 1}
      }




/* =========================================================
   RESPONSIVIDADE UNIFICADA — 3 FAIXAS
   Mobile: até 767px | Tablet: 768–1099px | Desktop: 1100px+
   ========================================================= */

@media (max-width: 767px) {
  body { overflow-x: hidden; }
  header { padding-top: 3vh; padding-bottom: 2vh; margin: 0 5vw; }
  .header-menu { position: relative; flex-direction: column; align-items: flex-start; }
  .logo { width: auto; max-width: calc(100% - 48px); font-size: 1.2rem; }
  .toggle-button { display: flex; top: 0; right: 0; }
  .top-bar {
    display: none;
    position: absolute;
    top: 4vh;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: 91vh;
    padding-top: 5vh;
    box-sizing: border-box;
    background: #f0f0f0;
    font-size: 2rem;
    font-weight: 700;
  }
  .top-bar.ativo { display: flex; }
  .top-bar ul { display: grid; grid-template-rows: repeat(5, minmax(64px, auto)); width: 100%; margin-top: 2vh; }
  .top-bar li { text-align: center; }
  .top-bar li a { padding: 0; }
  .single-container { margin: 5vh 5vw 0; }
  :root { --archive-title-font-size: 1.5rem; }
  .sub-title { display: none; }
  .twocols-container { grid-template-areas: "left" "right"; grid-template-columns: minmax(0,1fr); height: auto; gap: 24px; }
  .twocols-container-shop { grid-template-areas: "titles" "cards"; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .cards-container { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 32px; }
  .card-wrapper, .card-img { max-width: 100%; }
  .card-wrapper { max-height: none; }
  .card-img { width: 100%; height: auto; max-height: 450px; }
  .card-title { font-size: 1.2rem; }
  .threecols-container { grid-template-areas: "left" "center" "right"; grid-template-columns: minmax(0,1fr); gap: 20px; }
  .threecols-left { height: auto; min-height: 32px; margin-bottom: 0; }
  .threecols-center { margin-right: 0; }
  .threecols-right { margin-bottom: 20px; }
  .product-thumb { padding-bottom: 20px; margin-top: 20px; }
  .return-link { font-size: .8rem; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  header { padding-top: 4vh; padding-bottom: 3vh; margin: 0 5vw; }
  .header-menu { align-items: center; }
  .logo { width: max-content; }
  .top-bar { display: inline-flex; font-size: clamp(1rem, 1.6vw, 1.35rem); }
  .top-bar li a { padding-right: 2vw; }
  .toggle-button { display: none; }
  .single-container { margin: 5vh 5vw 0; }
  :root { --archive-title-font-size: 2rem; }
  .twocols-container { grid-template-columns: 200px minmax(0,1fr); height: 82.5vh; }
  .twocols-container-shop { grid-template-columns: 200px minmax(0,1fr); }
  .cards-container { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
  .card-wrapper, .card-img { max-width: 100%; }
  .card-img { width: 100%; height: auto; }
  .threecols-container { grid-template-areas: "left center" "left right"; grid-template-columns: 200px minmax(0,1fr); gap: 20px; }
  .threecols-left { height: 20px; }
  .threecols-center { margin-right: 0; }
  .product-thumb { padding-bottom: 20px; margin-top: 20px; }
}

@media (min-width: 1100px) {
  header { padding-top: 4vh; padding-bottom: 8vh; margin: 0 5vw; }
  .header-menu { align-items: center; }
  .logo { width: max-content; }
  .top-bar { display: inline-flex; font-size: clamp(1.1rem, 1.25vw, 1.5rem); }
  .top-bar li a { padding-right: 2vw; }
  .toggle-button { display: none; }
  .single-container { margin: 0 5vw; }
  :root { --archive-title-font-size: 2.5rem; }
  .twocols-container { grid-template-columns: 300px minmax(0,1fr); height: 82.5vh; }
  .twocols-container-shop { grid-template-columns: 300px minmax(0,1fr); }
  .cards-container { grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 3vw, 50px); }
  .card-wrapper, .card-img { max-width: 400px; }
  .card-img { width: 100%; height: auto; }
  .threecols-container { grid-template-areas: "left center right"; grid-template-columns: 300px minmax(0, min(40vw, 700px)) minmax(0,1fr); }
  .threecols-left { height: 20px; }
  .threecols-center { margin-right: 2vw; }
  .product-thumb { padding-bottom: 40px; }
}


/* Header desktop: menu centralizado no centro absoluto da viewport,
   independente da largura ocupada pelo logotipo à esquerda. */
@media (min-width: 1100px) {
  header .header-menu {
    position: relative;
    display: block;
  }

  header .header-menu > .top-bar {
    position: absolute;
    top: 50%;
    left: calc(50vw - 5vw);
    transform: translate(-50%, -50%);
    width: max-content;
    margin: 0;
  }
}


/* =========================================================
   PROJECTS 2.0 — CENTRALIZAÇÃO REAL NA LARGURA DA VIEWPORT
   Regra única para mobile, tablet, desktop e ultrawide.
   Mantém o posicionamento vertical original de cada breakpoint.
   ========================================================= */
html body .single-container.projects-archive {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    justify-items: unset;
    box-sizing: border-box;
    row-gap: 25px;
}

html body .single-container.projects-archive > a.archive-container {
    display: block;
    width: max-content;
    max-width: calc(100vw - 10vw);
    text-align: center;
    box-sizing: border-box;
}


/* =========================================================
   COMMISSIONS 2.0 — CENTRALIZAÇÃO E ESPAÇAMENTO
   Reproduz o alinhamento e o intervalo da lista Projects.
   O subtítulo (cliente) fica logo abaixo do título.
   ========================================================= */
html body .single-container.commissions-archive {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    row-gap: 25px;
}

html body .single-container.commissions-archive .commission-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    max-width: calc(100vw - 10vw);
    text-align: center;
    line-height: normal;
}

html body .single-container.commissions-archive .commission-title-link {
    display: block;
    width: 100%;
    text-align: center;
    line-height: normal;
}

html body .single-container.commissions-archive .commission-title-link .archive-container {
    display: block;
    text-align: center;
    line-height: normal;
}

html body .single-container.commissions-archive .sub-title {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: normal;
    font-size: 1.1rem;
}


/* Projects hover preview — camada periférica, sem sobrepor header ou lista. */
.project-hover-preview {
    position: fixed !important;
    z-index: 40 !important;
    display: block !important;
    width: auto;
    height: auto;
    max-width: 450px !important;
    max-height: 450px !important;
    object-fit: contain !important;
    object-position: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.project-hover-preview.is-visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1099px), (hover: none), (pointer: coarse) {
    .project-hover-preview { display: none !important; }
}


/* TABLET 768–1024px: centraliza o menu no eixo da viewport,
   mantendo o logotipo ancorado à esquerda. */
@media (min-width: 768px) and (max-width: 1024px) {
  header .header-menu {
    position: relative;
    display: block;
    width: 100%;
  }

  header .header-menu > .top-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    margin: 0;
  }
}
