/* ==================================================
   BUTTON BASE
================================================== */

.button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 40px;
    border-radius: 50px;

    font-size: 19px;
    font-weight: 500;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}


/* ==================================================
   BUTTON VARIANTS
================================================== */

.button--primary {
    background-color: var(--primary-color);
    color: white;
}

.button--secondary {
    background-color: #F4EFE9;
    color: #5A413C;
}

.button--whatsApp {
    position: relative;
    overflow: hidden;

    background-color: #25D366;
    color: #ffffff;
}


/* ==================================================
   BUTTON SHINE EFFECT (HOVER)
================================================== */

.btnShine {
    position: relative;
    overflow: hidden;
}

.btnShine::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );

    transform: translateX(-120%);
    transition: transform .6s ease;
}

.btnShine:hover::after {
    transform: translateX(120%);
}

/* garante que conteúdo fique acima do brilho */
.btnShine > * {
    position: relative;
    z-index: 1;
}


/* ==================================================
   BUTTON SHINE LOOP
================================================== */

.btnShineLoop {
    position: relative;
    overflow: hidden;
}

.btnShineLoop::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );

    transform: translateX(-120%);
    animation: btn-shine-loop 3s infinite;
}

.btnShineLoop > * {
    position: relative;
    z-index: 1;
}

@keyframes btn-shine-loop {

    0% {
        transform: translateX(-120%);
    }

    20% {
        transform: translateX(120%);
    }

    100% {
        transform: translateX(120%);
    }

}


/* ==================================================
   EXTRA BUTTON STYLES
================================================== */

.primaryButton {
    background-color: #7A4E36;
    color: white;

    padding: 13px 40px;
    border-radius: 50px;

    font-size: 19px;
    font-weight: 500;

    transition: all 0.25s ease;
}

.primaryButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(122, 78, 54, 0.25);
    background-color: #6a432f;
}


.secondaryButton {
    background-color: var(--secondary-color);
    color: var(--tag-color);

    padding: 10px 40px;
    border-radius: 50px;

    font-size: 17px;

    transition: all 0.25s ease;
}

.secondaryButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background-color: #e8ded4;
}


/* ==================================================
   BUTTON UTILITIES
================================================== */

.buttonBoxCenter {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* ==================================================
   SECTION HEADER
================================================== */

.sectionHeader {
    max-width: min(750px, 90%);
    
    margin-inline: auto;
    margin-bottom: clamp(40px, 6vw, 60px);

    text-align: center;

    display: flex;
    flex-direction: column;

    /* espaçamento fluido */
    gap: clamp(14px, 2vw, 20px);
}



.titleHeader {
    color: var(--title-color);
    font-size: 38px;
    font-weight: 500;
}

.descHeader {
    color: var(--subTitle-color);
    font-size: 20px;
}


/* ==================================================
   HEADER LIGHT VARIANTS
================================================== */

.titleHeader--light {
    color: #FFFFFF;
    font-size: 38px;
    font-weight: 500;
}

.descHeader--light {
    color: #FFFFFF;
    font-size: 20px;
}


/* ==================================================
   TAGS
================================================== */

.tag {
    width: max-content;

    font-size: 16px;
    font-weight: 500;

    padding: 4px 20px;
    border-radius: 50px;

    background-color: var(--tag-bg);
    color: var(--subTitle-color);
}

.tag--light {
    width: max-content;

    font-size: 16px;
    font-weight: 500;

    padding: 4px 20px;
    border-radius: 50px;

    background-color: #A8744F;
    color: #F4EFE9;
}

.tag--center {
    margin: 0 auto;
}


/* ==================================================
   CARD GRID
================================================== */

.cardBox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

@media (min-width: 1024px) {
    .cardBox {
        grid-template-columns: repeat(3, 1fr);
    }
}


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

.card01,
.card02 {
    background-color: white;

    padding: 30px;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    border: 1px solid rgb(235, 232, 232);
}


.card01 .icon,
.card02 .icon {
    width: 40px;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;

    background-color: var(--primary-color);
    border-radius: 7px;
    color: white;
}

.card02 > .icon {
    border-radius: 50% !important;
}


.card01 h3,
.card2 h3 {
    color: var(--title-color);
    font-size: 22px;
}

.card01 p,
.card2 p {
    color: var(--text-color);
    font-size: 18px;
}


/* ==================================================
   CARD BORDERS
================================================== */

.cardBorderTop {
    border-top: 2px solid var(--borderColor);
}

.cardBorderBottom {
    border-bottom: 2px solid var(--borderColor);
}

@media (max-width: 768px) {

    .card01,
    .card02 {
        align-items: center;
        text-align: center;
    }

}