html,
body {
    margin: 0;
    padding: 0;
    background-color: #FFBB0D;
    font-family: Arial, sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #d40000;
    padding: 20px 0;
    text-align: center;
}
.header img {
    width: 50px;
}

/* Footer */
.footer-container {
    background-color: #f2f2f2;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: auto;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.footer-left img {
    height: 35px;
}
.footer-center {
    flex: 1;
    text-align: center;
}
.footer-center a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 14px;
}
.footer-right {
    max-width: 350px;
    font-size: 10px;
    text-align: right;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-right {
        text-align: center;
    }
    .footer-center {
        order: -1;
    }
}

/* Coupons Container */
.coupons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Each Coupon */
.coupon {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    flex: 0 0 calc(25% - 20px); /* 4 por linha no desktop */
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.coupon img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* Buttons */
.botao {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    font-family: Arial, sans-serif;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.botao-vermelho {
    background-color: #E4002B;
    color: white;
    width: 345px;
    border-radius: 12px;
    padding: 15px 30px;
    margin: 0 auto;
}
.botao-cinza {
    background-color: #E6E6E6;
    color: black;
}
.botao-branco {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 4px solid #fff;
    padding: 12px 24px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: inset 0 0 0 2px #f9be00;
    width: 100%;
}
.botao:hover {
    transform: scale(1.03);
}

/* Coupon text */
.text-legal {
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
}

/* RESPONSIVE BEHAVIOR */

/* Tablet: 2 por linha */
@media (max-width: 1024px) {
    .coupon {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Mobile: 1 por linha */
@media (max-width: 600px) {
    .coupon {
        flex: 0 0 100%;
    }
}