/*------------------------------------------------------
Table of Contents
--------------------------------------------------------
0. Reset
1. General Styles
2. Navigation
3. Home Page
4. About & Contact Page
5. Works
6. Single Project
7. Footer
------------------------------------------------------*/


/*-----------------------------------------------------
0. Reset
------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, 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;
}

/*-----------------------------------------------------
1. General Styles
------------------------------------------------------*/

*{ box-sizing: border-box; }

html{
  overflow-x: hidden;
  overflow-y: scroll;
}

body{
  font-family: 'Montserrat', sans-serif;
  font-size: 62.5%;

}

ul{ list-style: none; }

.container{
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-full{
  width: 100%;
  max-width: none;
}

.img-responsive{
  display: block;
  max-width: 100%;
  height: auto;
}

a{
  text-decoration: none;
  transition: all .2s linear;
  color: inherit;
}

a:hover{
  text-decoration: none;
  color: #009fff;
}

/*-----------------------------------------------------
2. Navigation (sem float, sem erro)
------------------------------------------------------*/

/* Wrapper geral – respeita grid do projeto */
.project-media {
  max-width: 1100px;     /* ajuste fino: 960 / 1040 / 1100 */
  margin: 0 auto 60px;   /* centraliza */
}

/* Frame com proporção correta */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;  /* 👈 padrão igual à referência */
  background: #000;
  overflow: hidden;
}

/* Vídeo NÃO herda regras de imagem */
.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* mantém proporção */
  display: block;
}



header{
  height: 85px;
  background: #f4fd86	;
  display: flex;
  align-items: center;
}

header .container{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  color: #46001d;
  font-family: 'Poppins', sans-serif;
  font-size: 2.7em;
  font-weight: 600;
  letter-spacing: 2px;
}

.logo:hover{ color: #d5aae1 }

.nav-button{
  display: none; /* template antigo pode habilitar no responsive.css */
}

.ti-menu{
  color: #46001d;
  font-size: 2.5em;
  line-height: 85px;
}

.ti-menu:hover{ color: #301c1b; }

.close-btn{ display: none; }

.ti-close{
  color: #46001d;
  position: absolute;
  right: 37px;
  top: 37px;
  font-size: 1.7em;
}

.ti-close:hover{ color: #d5aae1; }

.main-menu{
  display: flex;
  align-items: center;
  gap: 60px;
}

.main-menu > li{
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  position: relative;
}

.main-menu li a{ color: #46001d; }
.main-menu li a:hover{ color: #d5aae1; }

/* dropdown */
.main-menu li ul{
  display: none;
  position: absolute;
  top: 85px;
  left: 0;
  z-index: 999;
  min-width: 190px;
  padding: 12px 30px;
  line-height: 40px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0,0,0,.3);
  text-align: left;
}

.main-menu li:hover ul{ display: block; }

.sub-menu li a{
  font-size: .9em;
  letter-spacing: 2px;
}

/*-----------------------------------------------------
3. Home Page (hero alinhado e fluido)
------------------------------------------------------*/

.hero-homepage,
.hero-about,
.hero-contact{
  background: #f4fd86 ;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content{
  width: 100%;
  text-align: left;
}

/* h1/h2 alinhados na mesma coluna do logo */
.hero-content h1,
.hero-content h2{
  color: #46001d ;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* tipografia fluida (não corta em 499/390) */
.hero-content h1{
  font-size: clamp(3.2em, 7vw, 6.3em);
  font-weight: 300;
  letter-spacing: clamp(4px, 2vw, 15px);
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  padding-bottom: 30px;
}

.hero-content h1 .emphasis{
  font-weight: 900; /* Montserrat Black */
  color: #d5aae1;
  letter-spacing: clamp(2px, 1.2vw, 8px);
}

/* meta */
.hero-content h2{
  color: #46001d;
  font-size: clamp(1.2em, 2.2vw, 1.9em);
  font-weight: 400;
  letter-spacing: clamp(3px, 1.4vw, 10px);
  line-height: 2.0;
  text-transform: uppercase;
}

.hero-content h2 .role{
  font-weight: 700; /* só o cargo em bold */
}


/*-----------------------------------------------------
4. About & Contact
------------------------------------------------------*/

.about-us{
  position: relative;
  margin: 150px auto;
  width: 70%;
}

.contact-us{
  margin: 120px auto;
  width: 60%;
}

.about-us-info,
.contact-us-content{
  font-size: 1.8em;
  font-weight: 400;
  text-align: center;
  line-height: 2.1;
  letter-spacing: .5px;
}

.about-us-info{ padding-top: 75px; }
.contact-us-content{ font-size: 2.2em; }

.about-us-icon{
  font-size: 50px;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
}

.services,
.contacts{
  background: #99d9ff;
  width: 100%;
  padding: 150px 0;
}

.contacts{ padding: 100px 0; }

/* troca float por grid */
.services .container,
.contacts .container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-item,
.contact-item{
  text-align: center;
  padding: 0 15px;
}

.services-icon,
.contact-icon{
  font-size: 35px;
}

.services-item h3,
.contact-item h3{
  font-size: 1.4em;
  font-weight: 400;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 15px;
}

.services-item p,
.contact-item p{
  font-size: 1.25em;
  line-height: 1.8;
  letter-spacing: 1.1px;
}

/*-----------------------------------------------------
5. Works (3 col máx -> 2 -> 1 | 3:2 | SEM CORTAR)
------------------------------------------------------*/

.hero-portfolio{
  color: #46001d;
  text-align: center;
  padding: 100px 0;
}

.hero-portfolio h1{
  font-size: 5em;
  text-transform: capitalize;
  margin-bottom: 25px;
}

.hero-portfolio p{
  font-size: 1.7em;
  line-height: 2;
  letter-spacing: .3px;
  width: min(50%, 680px);
  margin: auto;
}

/* ✅ wrapper do grid (mantém suas classes works_3-columns etc) */
.works_2-columns,
.works_3-columns,
.works_4-columns{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* máximo 3 */
  gap: 0; /* se quiser espaço: 12px */
  width: 100%;
}

/* ✅ remove herança antiga de float/width/height do template */
.works-item{
  float: none !important;
  width: auto !important;
  height: auto !important;

  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 3 / 2; /* 3:2 */
}

/* ✅ não corta: imagem inteira */
.works-item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;       /* SEM CORTE */
  object-position: center;
  background: #eee;
}

/* overlay colado */
.works-item-overlay{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.92);
  opacity: 0;
  transition: opacity .25s ease;
}

/* info colado */
.works-item-info{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 20px;
}

.works-item:hover .works-item-overlay{ opacity: 1; }
.works-item:hover .works-item-info{ opacity: 1; }

.works-info-title{
  color: #46001d;
  font-size: 2.3em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 15px;
}

.works-info-category{
  color: #d5aae1;
  font-size: 1.2em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* responsivo 3 -> 2 -> 1 */
@media (max-width: 832px){
  .works_2-columns,
  .works_3-columns,
  .works_4-columns{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .works_2-columns,
  .works_3-columns,
  .works_4-columns{
    grid-template-columns: 1fr;
  }
}

/*-----------------------------------------------------
6. Single Project
------------------------------------------------------*/

.single-project{
  text-align: center;
  margin-top: 100px;
}

.tag{
  color: #d5aae1;
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.5px;
}

.tag:hover{ color: #d5aae1; }

.single-project h1{
  color: #301c1b;
  font-size: 7.5em;
  letter-spacing: 2px;
  padding: 20px 0 70px 0;
}

.single-project-info{
  margin: 90px auto;
  width: 80%;
}

.single-project-info h2{
  color: #d5aae1;
  font-size: 1.1em;
  font-weight: 600;
  text-align: left;
  padding-bottom: 17px;
  letter-spacing: 4.5px;
  text-transform: uppercase;
}

.single-project-info p{
  font-size: 1.9em;
  text-align: left;
  line-height: 2.1;
  letter-spacing: .5px;
  margin: 0 auto 30px auto;
}

/* se existir wrapper .single-project-images */
.single-project-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.single-project-images img{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px){
  .single-project-images{
    grid-template-columns: 1fr;
  }
}

/*-----------------------------------------------------
7. Footer
------------------------------------------------------*/



footer{
	height: 85px;
	line-height: 85px;
	background: #f4fd86;
}



.copyright{
	float: left;
  color: #46001d;
	font-size: 1.3em;
	font-weight: 400;
	letter-spacing: 1.5px;
	margin-bottom: 0;
}

.social-links{
	float: right;
}

.social-links li{
	display: inline-block;
	margin-left: 30px;
}

.social-links li a{
	color: #46001d;
	font-size: 1.4em;
}

.social-links li a:hover{
	color: #d5aae1;

}

/*-----------------------------------------------------
Extras (pequenos ajustes)
------------------------------------------------------*/

/* garante que o <a> que envolve works-item seja bloco e não quebre o grid */
.works_2-columns > a,
.works_3-columns > a,
.works_4-columns > a{
  display: block;
}

/* services/contacts em 1 coluna no mobile */
@media (max-width: 768px){
  .services .container,
  .contacts .container{
    grid-template-columns: 1fr;
  }

  .main-menu{
    gap: 30px;
  }
}

/* Título do projeto – Montserrat */
.project-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;          /* ajuste fino se quiser */
  letter-spacing: -0.015em;
}

/* Nivea – mais leve */
.project-title .title-light {
  font-weight: 300;         /* Montserrat Light */
}

/* Co-Lab – mais forte */
.project-title .title-bold {
  font-weight: 800;         /* Montserrat SemiBold */
}


.single-project-info h2 {
    font-size: 21px;
    font-weight: 600;
    color: #46001d;
    line-height: 1.3;
    margin-bottom: 16px;
}

.single-project-info p {
    font-size: 16px;
    line-height: 1.6;
        color: #4e4e4e;

}

/* Header e footer brancos apenas na página Nivea Co-Lab */
.nivea-colab header,
.nivea-colab footer {
    background: #fff;
}
