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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #20201e;
    background: #f8f7f4;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
}


/* =========================
   VARIÁVEIS
========================= */

:root {

    --dark: #20201e;
    --dark-2: #30302d;

    --cream: #f8f7f4;
    --cream-2: #efede8;

    --gold: #b08b57;

    --white: #ffffff;

    --gray: #6d6c68;

    --border: #dedbd4;

    --max-width: 1200px;

}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(90%, var(--max-width));
    margin: auto;
}


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

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition: 0.3s;
}

.header.scrolled {
    background: rgba(248, 247, 244, 0.95);
    backdrop-filter: blur(12px);

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;

    line-height: 1;

    color: white;
}

.header.scrolled .logo {
    color: var(--dark);
}

.logo span {
    font-size: 11px;
    letter-spacing: 4px;
}

.logo strong {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;

    color: white;
}

.header.scrolled .menu {
    color: var(--dark);
}

.menu a {
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.menu a:hover {
    color: var(--gold);
}

.menu-whatsapp {
    padding: 12px 20px;

    background: white;
    color: var(--dark) !important;

    border-radius: 50px;
}

.header.scrolled .menu-whatsapp {
    background: var(--dark);
    color: white !important;
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: white;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    color: white;
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(20, 20, 18, 0.75),
            rgba(20, 20, 18, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;

    padding-top: 80px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;

    display: block;

    margin-bottom: 20px;
}

.eyebrow.dark {
    color: var(--gold);
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 7vw, 82px);

    line-height: 1.02;

    font-weight: 500;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #d2b487;
}

.hero p {
    font-size: 18px;

    max-width: 550px;

    color: rgba(255, 255, 255, 0.85);

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}


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

.btn {
    display: inline-flex;

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

    padding: 15px 28px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;

    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);

    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-dark:hover {
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--dark);
}

.btn-white:hover {
    transform: translateY(-3px);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 0;
}

.section-header {
    max-width: 650px;

    margin-bottom: 50px;
}

.section-header h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(36px, 5vw, 54px);

    line-height: 1.1;

    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);

    font-size: 16px;
}


/* =========================
   CATEGORIAS
========================= */

.categories {
    background: var(--cream);
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.category-card {
    position: relative;

    height: 420px;

    overflow: hidden;

    border-radius: 4px;
}

.category-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.7s;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(transparent 30%,
            rgba(0, 0, 0, 0.75));
}

.category-info {
    position: absolute;

    z-index: 2;

    bottom: 30px;
    left: 25px;

    color: white;
}

.category-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 5px;
}

.category-info span {
    font-size: 13px;

    opacity: 0.8;
}


/* =========================
   PRODUTOS
========================= */

.products {
    background: white;
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.product-card {
    background: var(--cream);

    border-radius: 5px;

    overflow: hidden;

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 360px;

    position: relative;

    overflow: hidden;
}

.product-image img {
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

/* Ajuste somente para desktop */
@media (min-width: 769px) {

    .product-image {
        height: 300px;
    }

}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;

    z-index: 2;

    top: 20px;
    left: 20px;

    background: white;

    padding: 7px 13px;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1px;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 10px;

    letter-spacing: 2px;

    color: var(--gold);

    font-weight: 700;
}

.product-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin: 5px 0 5px;
}

.product-info p {
    color: var(--gray);

    font-size: 14px;

    margin-bottom: 20px;
}

.product-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.product-bottom small {
    display: block;

    color: var(--gray);

    font-size: 11px;
}

.product-bottom strong {
    font-size: 20px;
}

.product-button {
    padding: 11px 17px;

    border-radius: 50px;

    background: var(--dark);

    color: white;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}

.center-button {
    text-align: center;

    margin-top: 50px;
}


/* =========================
   BANNER
========================= */

.banner {
    position: relative;

    min-height: 550px;

    display: flex;
    align-items: center;

    color: white;
}

.banner-image {
    position: absolute;
    inset: 0;

    background-image: url("images/banner.jpg");

    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 20, 18, 0.55);
}

.banner-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.banner h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.05;

    margin-bottom: 20px;
}

.banner p {
    font-size: 17px;

    max-width: 500px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================
   SOBRE
========================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-images {
    position: relative;

    padding-right: 70px;
}

.about-images>img {
    height: 500px;
    object-fit: cover;
}

.about-small-image {
    position: absolute;

    width: 220px;

    right: 0;
    bottom: -40px;

    padding: 10px;

    background: var(--cream);
}

.about-small-image img {
    height: 260px;

    object-fit: cover;
}

.about-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 58px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    color: var(--gray);

    margin-bottom: 18px;
}

.text-button {
    display: inline-block;

    margin-top: 15px;

    font-weight: 700;

    border-bottom: 1px solid var(--dark);

    padding-bottom: 5px;
}


/* =========================
   DIFERENCIAIS
========================= */

.features {
    background: var(--dark);

    color: white;

    padding: 65px 0;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;
}

.feature {
    display: flex;

    gap: 18px;

    align-items: flex-start;
}

.feature-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    display: flex;

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

    color: #d2b487;
}

.feature h3 {
    margin-bottom: 5px;
}

.feature p {
    font-size: 13px;

    color: rgba(255, 255, 255, 0.6);
}


/* =========================
   DEPOIMENTOS
========================= */

.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.testimonial {
    padding: 35px;

    background: var(--cream);

    border-radius: 5px;
}

.stars {
    color: var(--gold);

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.testimonial p {
    font-family: "Playfair Display", serif;

    font-size: 20px;

    line-height: 1.5;

    margin-bottom: 25px;
}

.testimonial strong {
    display: block;
}

.testimonial span {
    font-size: 12px;

    color: var(--gray);
}


/* =========================
   CTA
========================= */

.cta {
    padding: 110px 0;

    background: var(--dark);

    color: white;

    text-align: center;
}

.cta-content {
    max-width: 750px;
}

.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 6vw, 65px);

    line-height: 1.05;

    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.65);

    margin-bottom: 30px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #161614;

    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255, 255, 255, 0.55);

    max-width: 250px;
}

.footer h4 {
    margin-bottom: 18px;
}

.footer-grid a,
.footer-grid span {
    display: block;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;

    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 20px 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 999;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #25d366;

    display: flex;

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

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    transition: 0.3s;
}

.whatsapp::before {
    content: "◉";

    color: white;

    font-size: 25px;
}

.whatsapp span {
    position: absolute;

    right: 70px;

    background: var(--dark);

    color: white;

    padding: 8px 13px;

    border-radius: 5px;

    font-size: 12px;

    opacity: 0;

    pointer-events: none;

    transition: 0.3s;

    white-space: nowrap;
}

.whatsapp:hover {
    transform: scale(1.08);
}

.whatsapp:hover span {
    opacity: 1;
}


/* =========================
   ANIMAÇÕES
========================= */

.category-card,
.product-card,
.testimonial,
.feature {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.category-card.show,
.product-card.show,
.testimonial.show,
.feature.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1000px) {

    .menu {
        gap: 18px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

}


@media (max-width: 768px) {

    .nav {
        height: 75px;
    }

    .menu-toggle {
        display: block;
    }

    .header.scrolled .menu-toggle {
        color: var(--dark);
    }

    .menu {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        background: var(--cream);

        color: var(--dark);

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 25px;

        gap: 0;

        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 14px 0;

        border-bottom: 1px solid var(--border);
    }

    .menu-whatsapp {
        text-align: center;

        margin-top: 15px;

        color: white !important;

        background: var(--dark) !important;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 75px 0;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .category-card {
        height: 300px;
    }

    .category-info {
        left: 18px;
        bottom: 18px;
    }

    .category-info h3 {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 350px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        padding-right: 40px;

        margin-bottom: 30px;
    }

    .about-images>img {
        height: 380px;
    }

    .about-small-image {
        width: 170px;
    }

    .about-small-image img {
        height: 200px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 500px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 360px;
    }

    .product-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .product-button {
        width: 100%;

        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        min-height: 600px;
    }

    .whatsapp {
        right: 15px;
        bottom: 15px;
    }

}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 300px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* =========================
   NOVA PARTE INFERIOR FOOTER
========================= */

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 42px;
    height: 42px;

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

    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    font-size: 18px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-text a {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;

    text-align: center;
}

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

    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;

    transition: 0.3s;
}

.desenvolvido-por:hover {
    color: white;
}

.desenvolvido-por strong {
    color: white;
}

.logo-mp {
    width: 40px;
    height: 40px;

    object-fit: contain;
    border-radius: 50%;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 768px) {

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;

        gap: 25px;
    }

    .copyright {
        text-align: left;
    }

}

.footer-bottom {
    background: var(--gold);
    border-top: none;

    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;

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

    gap: 20px;

    text-align: center;
}

.copyright {
    color: white;
    font-size: 12px;
}

.desenvolvido-por {
    display: flex;

    align-items: center;

    gap: 8px;

    color: white;

    font-size: 12px;

    transition: opacity 0.3s;
}

.desenvolvido-por:hover {
    opacity: 0.8;
}

.desenvolvido-por strong {
    color: white;
}

.logo-mp {
    width: 32px;
    height: 32px;

    object-fit: contain;

    border-radius: 50%;
}


@media (max-width: 600px) {

    .footer-bottom-content {
        flex-direction: column;

        gap: 10px;
    }

}

/* =========================
   FAIXA DOURADA
========================= */

.footer-bottom {
    width: 100%;
    background: var(--gold);

    padding: 20px 0;

    margin: 0;

    color: white;
}


/* CONTEÚDO DA FAIXA */

.footer-bottom-content {
    display: flex;

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

    gap: 25px;

    width: 100%;

    text-align: center;
}


/* COPYRIGHT */

.footer-bottom .copyright {
    color: white;

    font-size: 12px;

    margin: 0;
}


/* MP TECH */

.footer-bottom .desenvolvido-por {
    display: flex;

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

    gap: 8px;

    color: white;

    font-size: 12px;

    margin: 0;

    text-decoration: none;
}


/* LOGO MP TECH */

.footer-bottom .logo-mp {
    width: 38px;
    height: 38px;

    min-width: 38px;

    object-fit: contain;

    border-radius: 50%;

    display: block;

    margin: 0;
}


/* TEXTO MP TECH */

.footer-bottom .desenvolvido-por span {
    color: white;
}

.footer-bottom .desenvolvido-por strong {
    color: white;
}


/* HOVER */

.footer-bottom .desenvolvido-por:hover {
    opacity: 0.8;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom-content {
        flex-direction: column;

        gap: 10px;
    }

}

/* =====================================================
   FOOTER - AJUSTE FINAL
===================================================== */

.footer {
    background: #161614;
    color: white;
}


/* =====================================================
   PARTE PRINCIPAL
===================================================== */

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-grid h4 {
    margin-bottom: 18px;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.55);

    max-width: 250px;
}

.footer-grid a,
.footer-grid span {
    display: block;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;

    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: white;
}


/* =====================================================
   LOGO MADERART
===================================================== */

.footer-logo {
    color: white;

    display: inline-flex;

    margin-bottom: 20px;
}


/* =====================================================
   FAIXA DOURADA
===================================================== */

.footer-bottom {
    width: 100%;

    background: #b08b57;

    padding: 18px 20px;

    margin: 0;

    border: none;
}


/* =====================================================
   CONTEÚDO DA FAIXA
===================================================== */

.footer-bottom-content {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    text-align: center;
}


/* =====================================================
   COPYRIGHT
===================================================== */

.footer-bottom .copyright {

    color: white;

    font-size: 12px;

    margin: 0;

    padding: 0;

    display: inline-block;
}


/* =====================================================
   MP TECH
===================================================== */

.footer-bottom .desenvolvido-por {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: white;

    font-size: 12px;

    text-decoration: none;

    margin: 0;

    padding: 0;
}


/* =====================================================
   LOGO MP TECH
===================================================== */

.footer-bottom .logo-mp {

    width: 38px;
    height: 38px;

    min-width: 38px;
    min-height: 38px;

    object-fit: contain;

    display: block;

    margin: 0;

    padding: 0;

    border-radius: 50%;
}


/* =====================================================
   TEXTO MP TECH
===================================================== */

.footer-bottom .desenvolvido-por span {

    color: white;

    margin: 0;

    padding: 0;
}

.footer-bottom .desenvolvido-por strong {

    color: white;

    font-weight: 700;
}


/* =====================================================
   HOVER
===================================================== */

.footer-bottom .desenvolvido-por:hover {

    opacity: 0.8;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 35px;

    }

    .footer-bottom-content {

        flex-direction: column;

        gap: 10px;

    }

}


@media (max-width: 500px) {

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .footer-bottom {

        padding: 18px 15px;

    }

    .footer-bottom-content {

        flex-direction: column;

        gap: 12px;

    }

    .footer-bottom .copyright {

        font-size: 11px;

    }

    .footer-bottom .desenvolvido-por {

        font-size: 11px;

    }

}

.footer-mapa {
    width: 100%;
    max-width: 400px;
}

.footer-mapa iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 10px;
}

/* Produtos com imagem vertical - mostra a imagem inteira */
@media (min-width: 769px) {

    .product-image img {
        object-fit: contain;
        background: #efede8;
    }

}