/* =========================
   RESET / BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8f5f1;
    --surface: #ffffff;
    --surface-2: #f3eee7;
    --text: #1f1f1f;
    --muted: #6b6b6b;
    --line: #e8dfd3;
    --dark: #111111;
    --gold: #9c7c38;
    --gold-2: #c8a96a;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --container: 1300px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.homepage {
    overflow-x: hidden;
}

section {
    padding: 88px 0;
}

.section-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-heading h2,
.institutional-content h2,
.final-cta-box h2 {
    font-size: 2.4rem;
    line-height: 1.15;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-heading p,
.institutional-content p,
.final-cta-box p {
    color: var(--muted);
    font-size: 1rem;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ebe6de;
}

.header-container {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    color: #2d2d2d;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 18px;
    color: var(--dark);
}

.header-icons a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

/* =========================
   BOTÕES
========================= */
.btn-dark-gold,
.btn-outline-light-custom,
.btn-product-main,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-dark-gold {
    background: var(--dark);
    color: #fff;
    border: 1px solid var(--dark);
    padding: 14px 32px;
    border-radius: 0;
}

.btn-dark-gold:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn-outline-light-custom {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    padding: 14px 32px;
    border-radius: 0;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--dark);
}

.btn-primary {
    background: #fff;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 30px;
}

.btn-primary:hover {
    background: var(--gold);
    color: #fff;
}

.btn-secondary {
    background: var(--dark);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
}

.btn-secondary:hover {
    background: var(--gold);
}

.btn-product-main {
    min-width: 140px;
    padding: 10px 22px;
    border: 1px solid var(--dark);
    background: transparent;
    color: var(--dark);
    border-radius: 0;
}

.btn-product-main:hover {
    background: var(--dark);
    color: #fff;
}

/* =========================
   HERO PREMIUM
========================= */
.hero-vivara-like {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: url('../img/hero-home.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.68), rgba(0,0,0,0.35));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-2);
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 720px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   BENEFÍCIOS
========================= */
.benefits-section {
    background: var(--surface);
}

.benefit-box {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 34px 26px;
    height: 100%;
    transition: var(--transition);
}

.benefit-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.benefit-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-box p {
    color: var(--muted);
    margin: 0;
}

/* =========================
   CATEGORIAS PREMIUM
========================= */
.categories-premium {
    background: var(--bg);
}

.category-card {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    background: #ddd;
    border-radius: 0;
}

.category-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 28px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.08));
}

.category-card-overlay h3 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.category-card-overlay span {
    color: rgba(255,255,255,0.86);
    font-size: 0.95rem;
}

/* =========================
   PRODUTOS PREMIUM
========================= */
.featured-products {
    background: var(--surface);
}

.view-all-link {
    color: var(--dark);
    font-weight: 700;
    border-bottom: 1px solid var(--dark);
    padding-bottom: 3px;
}

.view-all-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.product-card-premium {
    background: #fff;
    max-width: 320px;
    margin: 0 auto;
    height: 100%;
    transition: var(--transition);
}

.product-card-premium:hover {
    transform: translateY(-6px);
}

.product-image-link {
    display: block;
}

.product-image-box {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #efefef;
    position: relative;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.product-card-premium:hover .product-image-box img {
    transform: scale(1.05);
}

.product-info {
    padding: 18px 8px 0;
    text-align: center;
}

.product-info h3 {
    min-height: 48px;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-info h3 a:hover {
    color: var(--gold);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.product-buttons {
    display: flex;
    justify-content: center;
}

.empty-products-box {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 50px 20px;
}

/* =========================
   INSTITUCIONAL
========================= */
.institutional-section {
    background: var(--bg);
}

.institutional-image img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
}

.institutional-content p {
    margin-bottom: 18px;
}

/* =========================
   CTA FINAL
========================= */
.final-cta {
    background: var(--surface);
}

.final-cta-box {
    background: var(--dark);
    color: #fff;
    padding: 72px 30px;
}

.final-cta-box h2 {
    color: #fff;
}

.final-cta-box p {
    max-width: 700px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,0.82);
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-content p {
    color: rgba(255,255,255,0.78);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #ccc;
}

/* =========================
   UTILITÁRIOS LEGADOS
   (mantidos para não quebrar páginas antigas)
========================= */
.hero {
    height: 85vh;
    background: url('../img/banner-principal.jpg') center/cover no-repeat;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 45px;
    color: var(--dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.88);
    padding: 12px 18px;
    border-radius: 30px;
}

.category-info h3 {
    font-size: 18px;
    color: var(--dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 20px;
    margin: 18px 0 8px;
    color: var(--dark);
}

.price {
    font-size: 18px;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/img/hero-bg.jpg') center/cover no-repeat;
    min-height: 85vh;
}

.tracking-widest {
    letter-spacing: 0.3em;
}

.category-box {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background 0.4s;
}

.category-box:hover img {
    transform: scale(1.1);
}

.category-box:hover .category-overlay {
    background: rgba(0,0,0,0.5);
}

.product-card-modern {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    padding: 10px;
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-actions {
    bottom: 0;
}

.product-card-modern:hover img {
    transform: scale(1.05);
}

.btn-quick-view {
    display: block;
    width: 100%;
    padding: 10px;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1200px) {
    .product-image-box {
        height: 390px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .header-container {
        min-height: auto;
        padding: 18px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding: 80px 0;
    }

    .category-card,
    .category-card img {
        min-height: 380px;
        height: 380px;
    }

    .institutional-image img {
        min-height: 380px;
    }

    .product-image-box {
        height: 360px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .header-icons {
        gap: 14px;
    }

    .hero-vivara-like,
    .hero-section,
    .hero {
        min-height: 72vh;
        height: auto;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.15rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-heading h2,
    .institutional-content h2,
    .final-cta-box h2,
    .section-title {
        font-size: 1.85rem;
    }

    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .product-image-box {
        height: 340px;
    }

    .product-card-premium {
        max-width: 100%;
    }

    .category-card,
    .category-card img {
        min-height: 320px;
        height: 320px;
    }

    .final-cta-box {
        padding: 54px 22px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.6rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-dark-gold,
    .btn-outline-light-custom {
        width: 100%;
    }

    .product-image-box {
        height: 300px;
    }
}

/* =============================================
   ENHANCEMENTS PREMIUM - NÍVEL VIVARA / PORSCHE
   Cole no FINAL do seu CSS
============================================= */

/* Hero mais impactante */
.hero-vivara-like {
    background: url('https://picsum.photos/id/1015/2000/1200') center center / cover no-repeat !important;
    min-height: 100vh;
}

.highlight {
    color: var(--gold-2);
    position: relative;
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    opacity: 0.3;
}

/* Trust signals no hero */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 50px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}
.hero-trust div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-align: center;
    z-index: 10;
    animation: pulse 2s infinite;
}
.scroll-indicator i {
    display: block;
    margin-top: 8px;
    font-size: 1.4rem;
}

/* Badge "Novo" nos produtos */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 0;
    letter-spacing: 1px;
    z-index: 2;
}

/* Category card ainda mais luxuoso */
.category-card {
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}
.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.explore {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}

/* Product card ainda mais premium */
.product-card-premium {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.product-image-box {
    height: 440px;
}

/* Botões mais elegantes */
.btn-dark-gold {
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.btn-outline-light-custom {
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Animação suave extra */
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Responsivo extra para telas grandes */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4.8rem;
    }
}
