
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    padding: 0;
    box-sizing: border-box;
}

img, svg {
    width: 100%;
    display: block;
}

@font-face {
    font-family: averia;
    src: url(tipografia/Averia/AveriaSerifLibre-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: averia;
    src: url(tipografia/Averia/AveriaSerifLibre-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: roboto;
    src: url(tipografia/Roboto/Roboto-VariableFont_wdth\,wght.ttf);
}

body {
    
    font-family: roboto;
    background-color: rgb(255, 244, 230);
}

h1, h2, h3 {
    color: #5B1202;
    font-family: averia;
}

/* Cabeçalho */

header {
    width: 100%;
    background-color: rgba(255, 252, 248, 0.8);
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    z-index: 100;
}

#fundo-mb{
    display: none;
}

.grelha {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 20px;
}

.grelha-sem-goteira {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.max {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#headerdois {
    padding: 0 26px;
}

#logo {
    grid-column: 1 / 3;
    width: 61px;
}

nav {
    grid-column: 4 / 13;
    justify-self: flex-end;
    align-self: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;

}

ul a{
    font-family: roboto;
}

nav a {
    text-decoration: none;
    color: #4a2c17;
    font-weight: 400;
    transition: 0.3s;
}

nav a:hover {
    color: #d19b64;
}


.hero-texto h1 {
    font-size: 64px;
}

.hero {
    position: relative;
    grid-column: 1 / 13;
}

#burger {
    display: none;
}



/* Seções */

section {
    margin-bottom: 45px !important;
}

.secao {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 120px;
    gap: 60px;
}

.secao .conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    gap: 60px;
}

.secao .imagem img {
    width: 500px;
    border-radius: 15px;
    object-fit: cover;
}

.secao .texto {
    flex: 1;
    text-align: left;
}

.secao .texto h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.secao.texto p {
    font-size: 18px;
    line-height: 1.6;
    color: #4a2c17;
}



#bolaazul {
    grid-column: 1/8;
    position: relative;
    z-index: 1;
    grid-row: 1;
}

#bola{
    grid-column: 5 / 13;
    z-index: 2; 
    grid-row: 1;
    margin-top: 60px;
}

#titulo-centrado {
    margin-top: 50px;
    margin-bottom: 50px;
    grid-column: 4 / 10;
}

#titulo-centrado h1,
#titulo-centrado p {
    text-align: center;
    color: #5B1202;
}

#titulo-centrado p{
    margin-top: 24px;
}


.txt-dir {
    grid-column: 7/12;
    align-self: center;
}

.img-dir {
    grid-column: 7/13;
    width: 80%;
    justify-self: center;
}

.img-esq {
    grid-column: 1/7;
    width: 80%;
    justify-self: center;
}

.txt-esq {
    grid-column: 2/7;
    align-self: center;
    text-align: right;
}

#recheio {
    margin-top: 200px;
}



#img1{
    grid-column: 1/7;
    grid-row: 1;
}

#img2{
    grid-column: 7/13;
    grid-row: 1;
}

#img3{
    grid-column: 1/7;
    grid-row: 2;
}

#img4{
    grid-column: 7/13;
    grid-row: 2;
}

.galeria img:last-of-type {
    grid-column: 1 / 13;
}



section h2 {
   
    font-size: 36px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.bolas {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.produ {
    width: 250px;
    height: 250px;
}


.borderss {
    border-radius: 50%;
}

.log img {
  width: 600px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.sobre-nos {
    grid-column: 8/12;
    grid-row: 2;
    margin-top: 220px;
    color:  rgba(255, 252, 248, 0.8);

}
.sobre-nos h1{
    color: rgba(255, 252, 248, 0.8);
}
.sobre-nos h2{
    color:rgba(255, 252, 248, 0.8);
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.sobre-nos p{
    color:rgba(255, 252, 248, 0.8);
    font-size: 20px;
    margin-top: 25px;
}

.produtos h1{
    text-align: center;
    grid-column: 1/13;
}

.produtos h2{
    text-align: center;
    grid-column: 1/13;
}



.produtos p{
    text-align: center;
    grid-column: 1/13;
}




.bola-produto{
    margin-top: 100px;
    grid-column: auto/span 4;
    display: grid;
    grid-template-columns: 20% 30% 30% 20%
}

.bola-produto img{
      grid-column: 1/5;
      width: 55%;
       transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    margin-bottom: 20px;
    justify-self: center;
}


.bola-produto img:hover {
    transform: scale(1.1);
}

.bola-produto h2,
.bola-produto p {
      grid-column: 2/4;
      text-align: left;
      width: 100%;
      color: #5B1202;
}


.bola-produto h2{
    margin-bottom: 2px;
}

.bola-produto p:last-of-type {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 34px;
    font-family: averia;
}

.bola-produto a{
    display: block;
    text-align: center;
    width: 80%;
    background-color:#F0DCC3;
    border-radius: 50px;
    text-decoration: none;
    color:#5B1202 ;
    padding: 20px 0px;
    margin: 20px auto;
     grid-column: 1/5;
     margin-bottom: 50px;
       transition: 0.3s;

}

.bola-produto a:hover{
    color: #d19b64;
   
}

.bola-produto h2{
    font-size: 26px;
    color: #5B1202;
}



#subtitulo{
    font-size: 25px;
}

#titulo-produtos{
    font-size: 34px;
    color: #4a2c17;
}


footer {
  background-color: rgb(128, 67, 57);
  color: rgba(255, 252, 248, 0.8);
  font-size: 14px;
  width: 100%;
  margin-top: 200px;
}


#footer-logo {
  position: relative;
  top: -72px; 
  width: 145px;
  overflow: hidden;
  z-index: 2;
  grid-column: 6/8;
  justify-self: center;
}

footer .footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


footer .social {
  grid-column: 1/13;
margin-top: 28px;
margin-bottom: 100px;
display: flex;
justify-content: center;
}

.social img{
    width: 40px;
    margin: 0 20px;
}

.social img :hover{
    transform: scale(1.1);
}



footer .creditos {
  font-size: 12px;
  margin-top: 100px;
  grid-column: 1/5;
  margin-bottom: 40px;

}

footer .design {
  font-size: 12px;
  margin-top: 100px;
  grid-column: 7/13;
  text-align: right;
  margin-bottom: 40px;

}


#morada-porto {
    grid-column: 3/6;
    line-height: 32px;
}

#morada-porto a{
     text-decoration: none;
    color: rgba(255, 252, 248, 0.8);
     transition: 0.3s;
}

#morada-porto a:hover{
    color: #ffffff;
}

#morada-porto h2 {
    color:rgba(255, 252, 248, 0.8) ;
}

#morada-lisboa {
 grid-column: 8/11;
 line-height: 32px;
}

#morada-lisboa h2{
    color: rgba(255, 252, 248, 0.8);
}

#morada-lisboa a{
    text-decoration: none;
    color: rgba(255, 252, 248, 0.8);
     transition: 0.3s;

}

#morada-lisboa a:hover{
    color: #ffffff;
}


#info{
    grid-column: 5/9;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-family: averia;
    margin-top: -26px;
}

#info a {
    text-decoration: none;
    color: rgba(255, 252, 248, 0.8);
}

#menumobile {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 1000;
    background-color: rgb(128, 67, 57);
    opacity: 98%;
    transition: top .5s;
}

#logo-mb{
    grid-column: 1/4;
    margin-top: 30px;
    margin-left: 20px;
    width: 90px;
}

#menu-br{
    grid-column: 12/13;
    margin-top: 30px;
    margin-right: 20px;
    width: 40px;
}

#menumobile ul{
    grid-column: 1/13;
    list-style: none;
     text-align: center;

}

#menumobile a{
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
    line-height: 100px;
    font-size: 30px;
    color:rgba(255, 252, 248, 0.8) ;
}

#menumobile ul a:hover {
    color: #d19b64;
}


/* ---------------------- */
/*     MOBILE VERSION     */
/* ---------------------- */


@media (max-width: 960px) 
{
    #s1{
        padding-bottom: 0 !important;
    }


    #burger{
        grid-column:11/12;
        width: 100%;
        display: block;
        top: 20px;
    }

    p{
        font-size: 22px;
    }

    #burger:hover {
        cursor: pointer;
    }

    #menu-br:hover{
        cursor: pointer;
    }

    body {
        overflow-x: hidden;
    }

    /* Header */
    header {
        padding: 15px 0;
    }

    nav ul {
        gap: 10px;
        font-size: 14px;
   display: none;
    }

    #logo {
        width: 50px;
    }

   

    /* Hero */
    

    #bolaazul {
     display: none;
        
    }

    #fundo-mb{
        grid-column: 1/13;
        grid-row: 1;
        display: block;

    }


    #bola {
        grid-column: 1 / 12;
        margin-top: -250px;
        width: 100%;
        grid-row: 2;
        margin-bottom: -80px;
    }

    /* Títulos centrais */

    #titulo-centrado {
        grid-column: 1 / 13;
        margin-top: 10px;
    }

    #titulo-centrado h1 {
        font-size: 24px;

    }

    #titulo-centrado p {
        font-size: 20px;
        margin-bottom: 30px;
    
    }

   

    /* Secões */


  section.grelha > .img-esq img,
  section.grelha > .img-dir img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }


  section.grelha > .texto,
  section.grelha > .txt-esq,
  section.grelha > .txt-dir,
  section.grelha > .sobre-nos {
    order: 1 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 16px !important;
    margin-top: 40px;
    grid-column: 1/13;
  }


  section.grelha > .img-esq,
  section.grelha > .img-dir,
  section.grelha > img {
    margin-bottom: 10px !important;
  }

  
  section.grelha {
  
    padding-bottom: 30px !important;
  }

  
  .texto,
    .txt-dir,
    .txt-esq {
        grid-column: 1 / 13;
        text-align: center !important;
        padding: 0 15px;
    }

    .img-esq,
    .img-dir {
        grid-column: 1/13;
        width: 80%;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    /* Galeria */
    .galeria img {
        grid-column: 1 / 13 !important;
        width: 100%;
    }

    .sobre-nos {
        grid-column: 2 / 11;
        text-align: left;
        line-height: 32px;
        align-self: center;
        margin-top: 0;
    }

    /* Produtos */
    #titulo-produtos {
        font-size: 26px;
    }

    .bola-produto {
        grid-column: 1 / 13;
        text-align: center;
        margin-bottom: 10px;
    }

    .bola-produto img {
        width: 55%;
        grid-column: 1/13;
    }

    .bola-produto a {
        width: 60%;
    }

    /* Footer */
    #footer-logo {
        grid-column: 1/13;
        width: 120px;
        top: -40px;
        margin: 0 auto;
    }

    #info {  
        grid-column: 4/10;
        gap: 10px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 10px;
        text-align: center;

    }

    #morada-porto{
        grid-column: 2/10;
    }

      #morada-lisboa{
        grid-column: 2/10;
        margin-top: 70px;
      }

    .social {
        grid-column: 1/7;
    }

    footer .creditos{
        grid-column: 2/7;

    }

    footer .design{
        grid-column: 8/12;
    }
}











