
* {
   margin: 0;
   padding: 0;
   border: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   background-color: #FFF7EE;
   cursor: url('imagens/cursor.png'), auto;
   overflow-x: hidden;
}

header,
main,
footer {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
}

h1 {
   font-family: 'Nunito', sans-serif;
   font-size: 65px;
   color: #FFEFB0;
}

h2 {
   font-family: 'Nunito', sans-serif;
   font-size: 35px;
   color: #FFF7EE;
}

h3 {
   font-family: 'Nunito', sans-serif;
   font-size: 18px;
   color: #AC2A38;
}

img,
svg {
   display: block;
   max-width: 100%;
   height: auto;
}

.grelha {
   display: grid;
   grid-template-columns: repeat(12, minmax(0, 1fr));
   column-gap: 20px;
}

header {
   align-items: center;
   padding: 8px 0;
}

#logo {
   grid-column: 1 / 5;
   width: 101px;
   margin: 10px;
   transition: transform 0.3s ease;
}

#logo:hover {
   transform: scale(1.04);
}

#nav {
   grid-column: 5 / 13;
   align-self: center;
   justify-self: end;

   display: flex;
   align-items: center;
   gap: 42px;
}

nav a {
   position: relative;

   font-family: 'Nunito', sans-serif;
   font-size: 18px;
   font-weight: 800;
   color: #AC2A38;
   text-decoration: none;

   padding: 10px 0;
   transition: color 0.3s ease;
}

nav a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 3px;
   width: 100%;
   height: 2px;
   background-color: #AC2A38;

   transform: scaleX(0);
   transform-origin: right;
   transition: transform 0.35s ease;
}

nav a:hover {
   color: #BD535C;
}

nav a:hover::after {
   transform: scaleX(1);
   transform-origin: left;
}

a:focus-visible {
   outline: 2px solid #AC2A38;
   outline-offset: 5px;
   border-radius: 3px;
}

#capa {
   grid-column: 1 / 13;
   position: relative;
   isolation: isolate;

   width: 100%;
   height: 550px;

   background-image: url('imagens/capa.gif');
   background-position: top;
   background-repeat: no-repeat;
   background-size: cover;

   display: flex;
   justify-content: flex-start;
   align-items: center;
}

#capa::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 0;

   background: linear-gradient(to right,
         rgba(0, 0, 0, 0.18),
         rgba(0, 0, 0, 0.04) 65%,
         transparent);
}

#textocapa {
   position: relative;
   z-index: 1;

   margin-left: 70px;

   display: flex;
   flex-direction: column;
   align-items: baseline;
   justify-content: center;
}

#textocapa h1 {
   line-height: 0.95;
   text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.25);
}

#textocapa h2 {
   line-height: 1.2;
   text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
}

#menu {
   grid-column: 1 / 13;
}

#menutxt {
   grid-column: 1 / 13;
   color: #AC2A38;
   padding-top: 80px;
}

#divisor1,
#divisor2,
#divisor3 {
   grid-column: 1 / 13;
   width: 100%;
}

#divisor1 {
   padding-top: 5px;
   padding-bottom: 45px;
}

#divisor2 {
   padding-top: 45px;
   padding-bottom: 45px;
}

.menubola {
   grid-column: span 3;
   padding: 15px 15px;

   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 15px;
}

.menubola img {
   width: 80%;
   margin: 0 auto;

   filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));

   transition:
      transform 0.3s ease,
      filter 0.3s ease;
}

.menubola img:hover {
   transform: scale(1.04);
   filter: drop-shadow(0 7px 9px rgba(0, 0, 0, 0.18));
}

.menubola h3 {
   text-align: center;
   width: 100%;
   font-size: 20px;
   font-weight: 800;
}

#fade1 {
   grid-column: 1 / 13;
   height: 19px;
   background-color: #EECECA;
}

#fade2 {
   grid-column: 1 / 13;
   height: 19px;
   background-color: #DEA5A5;
}

#fade3 {
   grid-column: 1 / 13;
   height: 19px;
   background-color: #CD7C81;
}

#fade4 {
   grid-column: 1 / 13;
   height: 19px;
   background-color: #BD535C;
}

#maisprodutos {
   grid-column: 1 / 13;
   width: 100%;

   background: linear-gradient(to bottom,
         #AC2A38 0%,
         #BD535C 50%,
         #AC2A38 100%);

   padding: 30px 0;
}

#maisprodutos h2 {
   grid-column: 1 / 13;
   text-align: center;
   color: #FFEFB0;
   padding: 0 20px 25px;
   font-weight: 800;
}

.galeria {
   grid-column: 1 / 13;

   display: flex;
   align-items: center;
   gap: 35px;
   overflow-x: auto;
   overflow-y: hidden;
   scroll-snap-type: x mandatory;
   scroll-behavior: smooth;
   padding: 55px max(30px, calc((100% - 260px) / 2));
   scrollbar-width: none;
}

.galeria::-webkit-scrollbar {
   display: none;
}

.produto {
   flex: 0 0 260px;
   scroll-snap-align: center;
   scroll-snap-stop: always;
   container-type: scroll-state;
}

.produto-conteudo {
   background: linear-gradient(to bottom,
         #FFF7EE 45%,
         #AC2A38 95%);
   background-clip: padding-box;
   background-color: #AC2A38;
   border-radius: 25px;
   overflow: hidden;
   padding: 15px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
   transform: scale(0.85);
   transition:
      transform 0.4s ease,
      box-shadow 0.4s ease;
}

.produto-conteudo img {
   width: 85%;
   height: 160px;

   margin: 0 auto;

   object-fit: contain;
   object-position: center;

   border-radius: 30px;

   transition: transform 0.35s ease;
}

.produto:hover .produto-conteudo {
   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.produto:hover img {
   transform: scale(1.04);
}

.produto-conteudo h3 {
   text-align: center;
   color: #FFF7EE;
   font-size: 19px;
   font-weight: 800;

   padding: 15px 0 5px;
}

@container scroll-state(snapped: x) {
   .produto-conteudo {
      transform: scale(1.1);
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
   }
}

#button {
   grid-column: 1 / 13;
   justify-self: center;

   display: flex;
   align-items: center;
   justify-content: center;

   margin-top: 35px;
   width: 150px;
   height: 50px;

   border: 1px solid #FFEFB0;
   border-radius: 13px;

   font-family: 'Nunito', sans-serif;
   font-size: 20px;
   font-weight: 800;
   color: #FFEFB0;
   text-decoration: none;

   transition:
      background-color 0.3s ease,
      color 0.3s ease,
      transform 0.3s ease;
}

#button:hover {
   background-color: #FFEFB0;
   color: #AC2A38;
   transform: translateY(-3px);
}

#frase {
   grid-column: 1 / 13;

   background: linear-gradient(to bottom,
         #FFF7EE 0%,
         #FFEFB0 100%);
}

#frase h2 {
   grid-column: 3 / 11;
   padding: 70px 0 25px;

   color: #AC2A38;
   text-align: center;
}

#frase h2::before {
   content: "“";
   display: block;

   font-size: 76px;
   line-height: 0.65;
   color: #BD535C;

   margin-bottom: 18px;
}

.frase-destaque {
   font-size: 1.18em;
   font-weight: 800;
   color: #BD535C;
}

#frase h2::after {
   content: "";
   display: block;

   width: 80px;
   height: 2px;

   background-color: #AC2A38;
   margin: 22px auto 0;
}

#button2 {
   grid-column: 6 / 8;
   justify-self: center;

   display: flex;
   align-items: center;
   justify-content: center;

   width: 150px;
   height: 50px;

   border: 1px solid #AC2A38;
   border-radius: 13px;

   font-family: 'Nunito', sans-serif;
   font-size: 20px;
   font-weight: 800;
   color: #AC2A38;
   text-decoration: none;

   margin-bottom: 35px;

   transition:
      background-color 0.3s ease,
      color 0.3s ease,
      transform 0.3s ease;
}

#button2:hover {
   background-color: #AC2A38;
   color: #FFEFB0;
   transform: translateY(-3px);
}

#footer {
   position: relative;

   width: 100%;
   background-color: #FFF7EE;

   padding: 45px 0;
}

.footer-conteudo {
   max-width: 1000px;
   margin: 0 auto;

   padding: 55px 50px 20px;

   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 35px;
}

.footer-marca {
   width: 100px;
   flex-shrink: 0;
}

.footer-marca img {
   width: 65px;
   margin-bottom: 5px;

   transition: transform 0.3s ease;
}

.footer-marca img:hover {
   transform: scale(1.04);
}

.footer-marca p {
   font-family: 'Nunito', sans-serif;
   font-size: 15px;
   color: #AC2A38;
   line-height: 1.3;
}

.footer-coluna {
   font-family: 'Nunito', sans-serif;
   color: #AC2A38;
   font-size: 15px;

   border-left: 1px solid rgba(172, 42, 56, 0.18);
   padding-left: 25px;
}

.footer-coluna h4 {
   font-family: 'Nunito', sans-serif;
   font-size: 15px;
   font-weight: 800;
   margin-bottom: 18px;
}

.footer-coluna p {
   line-height: 1.5;
}

.footer-coluna a {
   color: #AC2A38;
   text-decoration: none;

   transition: color 0.3s ease;
}

.footer-coluna a:hover {
   color: #BD535C;
}

.footer-redes {
   display: flex;
   gap: 12px;
}

.footer-redes a {
   font-family: 'Nunito', sans-serif;
   font-size: 17px;
   text-decoration: underline;

   transition:
      color 0.3s ease,
      transform 0.3s ease;
}

.footer-redes a:hover {
   color: #BD535C;
   transform: translateY(-3px);
}

.copyright {
   font-family: 'Nunito', sans-serif;
   font-size: 11px;
   color: #af9688;

   text-align: center;
   margin-top: 30px;
}