/* ==========================================================================
   IMPORTAÇÕES E VARIÁVEIS GLOBAIS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rochester&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rochester', cursive;
    scroll-behavior: smooth;
}

body:not(.fundo) {
    background: #E6BCC9;
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
}


/* ==========================================================================
   CABEÇALHO (HEADER)
   ========================================================================== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  width: 74%;
  padding: 12px 16px; 
  border: 1.5px solid #5F291A; 
  border-radius: 32px; 
  background: rgba(95, 41, 26, 0.3);
  
  position: fixed;
  top: 14px; 
  left: 13%;
  z-index: 1000;
}

header a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-family: "Montserrat", serif;
  font-weight: 900;
  color: #5F291A;
  font-size: 38px; 
  margin: 0;
}

h1:hover {
    color: #fff;
    transform: translateY(-0.5px) scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.img-header {
    width: 35px; 
    height: 35px;
}

/* ==========================================================================
   TEXTOS
   ========================================================================== */

.text-one {
    font-size: 40px; 
    font-weight: 600;
    margin: 24px 0px 40px 0px; 
    text-align: center;
    width: 480px;
    position: relative;
}

.text-one-p1 {
    font-size: 14px; 
    font-weight: 450;
    font-family: 'Montserrat', sans-serif;
    width: 470px; 
    margin: 32px auto; 
    line-height: 1.5;
    text-align: center;
    position: relative;
    bottom: 20px;
}

.text-two {
    font-size: 64px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

.text-three {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 16px 0; 
}

.text-four {
    font-size: 64px; 
    font-weight: 600;
    margin: 0; 
    margin-bottom: 12px; 
}

.text-five {
    font-size: 32px; 
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px 0; 
}


.text-two-p2 {
    font-size: 16px; 
    font-weight: 450;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    margin: 0; 
}

.text-three-p3 {
    text-align: center;
    font-size: 12px; 
    font-family: 'Montserrat', sans-serif;
    padding: 0 0 8px 0; 
    position: relative;
}
    
strong, b {
    font-size: 20px; 
}


/* ==========================================================================
   BOTÕES
   ========================================================================== */

button {
    cursor: pointer;
}

.button-header {
  display: inline-block;
  background: linear-gradient(to bottom, #6D3A30, transparent);
  padding: 4px 16px; 
  border-radius: 20px; 
  border: 1.5px solid #5F291A;
}

.button-header:hover {
    background: linear-gradient(to bottom, transparent, #6D3A30 );
    transform: translateY(-0.5px) scale(1.05);
    transition: all 0.3s ease;
    border-color: #fff;
}

.button-body {
    width: 220px;
    display: block;
    margin: 16px auto; 
    background: linear-gradient(to bottom, #6D3A30, transparent);
    padding: 8px 10px; 
    border-radius: 15px; 
    border: 1.5px solid #5F291A;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    bottom: 20px;
    left: 5px;
    text-decoration: none;
    color: black;
    text-align: center;
}

.button-body:hover {
    background: linear-gradient(to bottom, transparent, #6D3A30 );
    transform: translateY(-0.5px) scale(1.05);
    transition: all 0.3s ease;
    color: #fff;
    border-color: #fff;
}

.button-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-indent: -9999px;
    background: transparent;
    border: none;
}

/* ==========================================================================
   IMAGENS BODY
   ========================================================================== */

.img-one {
    width: 580px;
    height: auto;
    border-radius: 24px; 
    margin: 96px 0 30px 0; 
    align-self: flex-start;
    position: relative;
    right: 75px;
    bottom: 30px;
}

.img-two {
    width: 400px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.container-fundo {
     background: #e8b4c4;
     border-radius: 20px;
     width: 90vw;
     display: block;
     padding: 20px 20px 40px 20px; 
     margin: 0 auto;
}

.cards-container {
    width: 100%;
    display: block;
    margin-top: 40px; 
    text-align: center;
 }

.card-confeitaria {
    display: inline-flex; 
    flex-direction: column;
    justify-content: space-between;
    
    padding: 15px; 
    border-radius: 12px; 
    text-align: center;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0);
    transform: translateZ(0);
    contain: content;
    background: #5F291A;
    font-size: 24px; 
    color: white;
    margin: 12px; 
}

.card-confeitaria:hover {
    transform: translateY(-6px); 
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #ffffff;
}

.card-confeitaria img {
    width: 210px;
    height: 280px; 
    border-radius: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.card-confeitaria:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   DESTAQUES
   ========================================================================== */

.fundo {
    background: #e8b4c4;
    padding: 40px 0;
}

.fundo-two {
     background: #e8b4c4;
    padding: 10px 0;
}

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */

.container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 30px;
    width: 100%;             
    margin-top: 40px; 
}

.align {
    display: flex;
    flex-direction: column;
    width: 440px;
}

footer{
    width: 50vw;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}