/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    color: #333;
}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* IMAGENS (CORREÇÃO IMPORTANTE) */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HERO */
.hero {
    position: relative;
    background: url('../img/casal-bg.png') center/cover no-repeat;
    min-height: 90vh;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero h1 {
    font-size: 48px;
}

.subtitulo {
    font-size: 22px;
    margin: 10px 0;
}

.descricao {
    margin: 20px 0;
}

/* SEÇÕES */
.section {
    padding: 60px 20px;
}

.white {
    background: #fff;
}

.destaque {
    background: linear-gradient(180deg, #f8f5f0, #efe7dc);
}

/* FLEX */
.flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.flex .text {
    flex: 1;
}

.text ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.flex .image {
    flex: 1;
}

.flex img {
    border-radius: 10px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD */
.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
    font-weight: 500;
    font-size: 16px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #c59d5f;
}

/* TEXTO */
.center {
    text-align: center;
}

/* PREÇO */
.price-box {
    margin: 20px 0;
}

.destaque-preco {
    font-size: 42px;
    color: #c59d5f;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.new-price {
    font-size: 42px;
    color: #c59d5f;
    font-weight: bold;
    margin-top: 10px;
}

/* BOTÃO */
.btn {
    display: inline-block;
    background: #c59d5f;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
}

.btn.grande {
    display: block;
    width: 100%;
}

/* FINAL */
.final {
    text-align: center;
}

/* =========================
   MOBILE AJUSTES
========================= */
@media (max-width: 768px) {

    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .subtitulo {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .flex {
        flex-direction: column;
    }

    .flex .image {
        order: -1;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .overlay {
        background: rgba(0,0,0,0.7);
    }

    .text {
        text-align: center;
    }

    ul {
        padding-left: 20px;
    }

    .section {
        padding: 40px 15px;
    }

    .new-price {
        font-size: 32px;
    }
}