/* ============================================
   VARIÁVEIS CSS GLOBAIS
   ============================================ */

:root {
    --roxo-escuro: #7b417b;
    --roxo-claro: #ae73a9;
    --rosa: #fe5862;
    --salmao: #fe766a;
    --laranja: #fe9055;
    --lilas: #a497dc;
    --branco: #fff;
    --preto: #000;
    --laranja-claro: #FACFC6;
    --lavanda: #BF96C2;
    --magenta: #8E3F7D;
    --rosa-bebe: #D9D9D9;
}

/* ============================================
   FONTES CUSTOMIZADAS
   ============================================ */

@font-face {
    font-family: 'GlowBetter';
    src: url('../fonts/GlowBetter-Serif.otf') format('opentype');
}

@font-face {
    font-family: 'Better Signature';
    src: url('../fonts/GlowBetter-Script.otf') format('opentype');
}

/* ============================================
   RESET ADICIONAL
   ============================================ */

* {
    padding: 0;
    margin: 0;
}

/* ============================================
   ESTRUTURA BASE
   ============================================ */

body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: auto;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
    margin: 0;
}

.font-glow-better {
    font-family: "GlowBetter";
    font-weight: 500;
    font-size: 2vw;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-better-signature{
    font-family: 'Better Signature';
}

.thin{
    font-weight: 100;
    font-style: normal;
}

.regular{
    font-weight: 400;
    font-style: normal;  
}

.bold{
    font-weight: 800;
    font-style: normal;
}

.roxo-escuro{
    color: var(--roxo-escuro);
}

.roxo-claro{
    color: var(--roxo-claro);
}

.rosa{
    color:var(--laranja-claro);
}

.branco{
    color: var(--branco);
}
.rosa-escuro{
    color: var(--rosa);
}

.lavanda{
    color: var(--lavanda);
}

.preto{
    color: var(--preto);
}

.magenta{
    color: var(--magenta)
}
.rosa-bebe{
    color: var(--rosa-bebe);
}

/* ============================================
   BOTÕES E INTERAÇÕES
   ============================================ */

   
   button {
    width: 33.5vw;
    height: 8.7vh;
    background-color: var(--lavanda);
    color: var(--branco);
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2vw;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    position: relative; 
    overflow: hidden;
    z-index: 1;
    transition: transform 1s ease, filter 0.3s ease;
}

/* pseudo-elemento com a imagem */
button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/bg-botao.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
    z-index: -1;
}

/* hover */
button:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

button:hover::after {
    transform: translateX(0);
    opacity: 1;
}