/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #FFFFFF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.header {
    background: #5B2D86;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
}

.mobile-menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.logo img {
    height: 48px;
    border-radius: 8px;
}

.nav {
    display: none;
}

.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -20px;
    width: calc(100% + 40px);
    background: #5B2D86;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    align-items: center;
    gap: 15px;
    z-index: 99;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #F58220;
}

.btn-header {
    display: none !important;
}

.btn-header-mobile {
    margin-top: 15px;
    font-size: 14px;
    padding: 10px 20px;
    display: inline-block;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #F58220;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #E64A2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 130, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #5B2D86;
    border: 2px solid #5B2D86;
}

.btn-secondary:hover {
    background: #5B2D86;
    color: #FFFFFF;
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #7E4BB6 0%, #5B2D86 100%);
    color: #FFFFFF;
    padding: 60px 0;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-micro {
    font-size: 14px;
    opacity: 0.8;
}

.hero-slider {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: #FFFFFF;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

/* === SECTIONS === */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 28px;
    color: #5B2D86;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.3;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* === GRID === */
.grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

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

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

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

/* === CARDS === */
.card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
    text-align: center;
}

.card h3 {
    font-size: 20px;
    color: #5B2D86;
    margin-bottom: 12px;
    text-align: center;
}

.card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* === PARA QUEM === */
.para-quem {
    background: #F5F5F5;
}

.card-publico {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
}

/* === BENEFÍCIOS === */
.beneficios {
    background: #FFFFFF;
}

.card-beneficio {
    background: linear-gradient(135deg, #5FB3C4 0%, #4A86A8 100%);
    color: #FFFFFF;
}

.card-beneficio h3,
.card-beneficio p {
    color: #FFFFFF;
}

/* === COMPARATIVO === */
.comparativo {
    background: linear-gradient(135deg, #6A3FA0 0%, #5B2D86 100%);
    color: #FFFFFF;
}

.comparativo h2,
.comparativo .section-intro {
    color: #FFFFFF;
}

.destaques {
    display: grid;
    gap: 16px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.destaque-item {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* === MAIS VENDIDOS === */
.mais-vendidos {
    background: linear-gradient(135deg, #FAF5FF 0%, #F0E6FF 100%);
}

.section-badge {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F58220;
    margin-bottom: 12px;
}

.mais-vendidos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.card-destaque {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #F58220, #6A3FA0) border-box;
    transition: all 0.4s;
}

.card-destaque:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 45, 134, 0.2);
}

.badge-vendido {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.produto-price {
    font-size: 22px;
    font-weight: 800;
    color: #5B2D86;
    padding: 0 20px;
    margin-bottom: 16px;
}

.produto-price small {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}

/* === CATÁLOGO COMPLETO === */
.catalogo-completo {
    background: #F5F5F5;
}

.catalogo-filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.filtro-btn {
    background: #FFFFFF;
    border: 2px solid #E6E6E6;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filtro-btn:hover {
    border-color: #5B2D86;
    color: #5B2D86;
}

.filtro-btn.active {
    background: #5B2D86;
    border-color: #5B2D86;
    color: #FFFFFF;
}

.produto-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tag-estrutura {
    background: linear-gradient(135deg, #5B2D86, #6A3FA0);
    color: #FFFFFF;
}

.tag-modular {
    background: linear-gradient(135deg, #5FB3C4, #4A86A8);
    color: #FFFFFF;
}

.card-produto.card-hidden {
    display: none;
}

/* === PRODUTOS (shared) === */
.produtos,
.catalogo-completo .card-produto,
.mais-vendidos .card-produto {
    overflow: hidden;
}

.card-produto {
    overflow: hidden;
    padding: 0;
}

.produto-image {
    height: 220px;
    overflow: hidden;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-produto h3,
.card-produto p {
    padding: 0 20px;
}

.card-produto h3 {
    margin-top: 20px;
}

.card-produto p {
    padding-bottom: 20px;
}

/* === COMO FUNCIONA === */
.como-funciona {
    background: #FFFFFF;
}

.passos {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.passo {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #F58220;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.passo-numero {
    width: 50px;
    height: 50px;
    background: #F58220;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.passo h3 {
    color: #5B2D86;
    font-size: 20px;
    margin-bottom: 12px;
}

.passo p {
    color: #666;
    line-height: 1.6;
}

/* === PROVA SOCIAL === */
.prova-social {
    background: #F5F5F5;
}

.reforcos {
    display: grid;
    gap: 16px;
    margin: 40px auto;
    max-width: 800px;
}

.reforco-item {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
    color: #5B2D86;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logos-clientes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.logo-cliente {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* === FAQ === */
.faq {
    background: #FFFFFF;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: #FFFFFF;
    border: 2px solid #E6E6E6;
    border-radius: 15px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: #5B2D86;
}

.accordion-header {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #5B2D86;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header::after {
    content: '+';
    font-size: 28px;
    color: #F58220;
    transition: transform 0.3s;
}

.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* === CTA FINAL === */
.cta-final {
    background: linear-gradient(135deg, #F58220 0%, #F4C21A 100%);
    color: #FFFFFF;
}

.cta-final h2,
.cta-final .section-intro {
    color: #FFFFFF;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-final .btn-whatsapp {
    background: #1EBE57;
}

.cta-final .btn-whatsapp:hover {
    background: #25D366;
}

.cta-final .btn-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.cta-final .btn-secondary:hover {
    background: #FFFFFF;
    color: #F58220;
}

/* === LOCAIS === */
.locais {
    background: #F5F5F5;
    text-align: center;
}

.locais-texto {
    font-size: 18px;
    color: #666;
    margin-top: 16px;
}

/* === FOOTER === */
.footer {
    background: #5B2D86;
    color: #FFFFFF;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

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

.footer-logo img {
    max-width: 240px;
    height: auto;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #F58220;
}

.footer-atendimento {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.15);
    padding: 16px;
    border-radius: 12px;
}

.footer-atendimento p {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.footer-atendimento p strong {
    color: #F58220;
}

.footer-locais {
    list-style: none !important;
    padding-left: 0;
}

.footer-locais li {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px !important;
}

.footer-locais li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #F58220;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
}

.footer-whatsapp-link,
.footer-whatsapp-link:hover,
.footer-whatsapp-link:active,
.footer-whatsapp-link:visited {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* === PRODUCT CARD CUSTOMIZATIONS === */
.card-produto {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
}

.product-sku {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #5B2D86;
    background: #F0F0F0;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 16px;
    margin-bottom: 8px;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.card-produto h3 {
    margin-top: 8px; /* Override previous margin */
}

.card-produto p {
    flex-grow: 1; /* Push button to bottom */
    margin-bottom: 20px;
}

.btn-add-budget {
    width: 100%;
    background: #F58220;
    color: #FFF;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-budget:hover {
    background: #E64A2E;
    transform: translateY(-2px);
}

.btn-add-budget.added {
    background: #5690b5;
    color: #FFF;
}

.btn-add-budget.added:hover {
    background: #4a7d9e;
}

/* === STICKY BUDGET BAR === */
.budget-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #5B2D86;
    color: #FFF;
    padding: 16px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 2000;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.budget-bar.hidden {
    transform: translateY(100%);
}

.budget-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap; /* Safety for very small screens */
}

.budget-info {
    font-size: 16px;
    font-weight: 500;
}

#budget-count {
    font-weight: 800;
    font-size: 20px;
    color: #F58220;
}

.btn-whatsapp-bar {
    background: #25D366;
    color: #FFF;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-whatsapp-bar:hover {
    background: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* === WHATSAPP FLOAT OVERRIDE === */
/* Ensure Float doesn't overlap the bar when transitioning */
.whatsapp-float {
    transition: all 0.3s, opacity 0.3s;
}

/* === MEDIA QUERIES === */

/* Tablets (768px+) */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }
    
    .section h2 {
        font-size: 36px;
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mais-vendidos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .passos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logos-clientes {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Budget Bar adjustments */
    .budget-bar {
        padding: 20px 40px;
    }
    
    .budget-info {
        font-size: 18px;
    }
    
    .btn-whatsapp-bar {
        padding: 12px 32px;
        font-size: 16px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .header-content {
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        align-items: center;
        gap: 24px;
    }
    
    .btn-header {
        display: inline-block !important;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-header-mobile {
        display: none !important;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
    }
    
    .hero-slider {
        flex: 1;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-ctas {
        justify-content: flex-start;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section h2 {
        font-size: 42px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .mais-vendidos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .passos {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .whatsapp-float {
        width: 70px;
        height: 70px;
    }
    
    .whatsapp-float svg {
        width: 38px;
        height: 38px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 56px;
    }
    
    .section h2 {
        font-size: 48px;
    }
}

/* === ZOOM OVERLAY === */
.produto-image {
    position: relative;
}

.zoom-overlay, .download-overlay {
    position: absolute;
    bottom: 12px;
    width: 44px;
    height: 44px;
    background: rgba(91, 45, 134, 0.85);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.zoom-overlay { right: 12px; }
.download-overlay { right: 64px; }

.card-produto:hover .zoom-overlay,
.card-produto:hover .download-overlay {
    opacity: 1;
}

.zoom-overlay:hover, .download-overlay:hover {
    background: rgba(91, 45, 134, 1);
    transform: scale(1.1);
}

/* === IMAGE MODAL === */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 5001;
}

.modal-close:hover {
    background: #E64A2E;
    color: #FFFFFF;
    transform: scale(1.1);
}

/* === HERO WHITE BUTTON === */
.hero .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.hero .btn-secondary:hover {
    background: #5690b5;
    border-color: #5690b5;
    color: #FFFFFF;
}

/* === VER DETALHES BUTTON === */
.btn-ver-detalhes {
    width: 100%;
    background: transparent;
    color: #5B2D86;
    border: 1.5px solid #E0E0E0;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.btn-ver-detalhes:hover {
    border-color: #5B2D86;
    background: #FAF5FF;
}

.btn-ver-detalhes.active {
    border-color: #5B2D86;
    background: #FAF5FF;
    color: #5B2D86;
}

/* === PRODUCT DETAIL PANEL === */
.product-detail-panel {
    display: none;
    padding: 0 20px 20px;
    animation: slideDown 0.3s ease;
}

.product-detail-panel.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.detail-table tr {
    border-bottom: 1px solid #F0F0F0;
}

.detail-table tr:last-child {
    border-bottom: none;
}

.detail-table td {
    padding: 8px 0;
    vertical-align: top;
}

.detail-table td:first-child {
    color: #999;
    font-weight: 500;
    width: 45%;
    padding-right: 12px;
}

.detail-table td:last-child {
    color: #333;
    font-weight: 600;
}

.detail-obs {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #E6E6E6;
    line-height: 1.5;
}

/* === MOBILE UX IMPROVEMENTS === */
@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

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

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-ctas {
        gap: 12px;
    }

    .hero-ctas .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 22px;
    }

    .section-intro {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .card {
        padding: 20px;
        border-radius: 16px;
    }

    .card-icon {
        font-size: 36px;
    }

    .card h3 {
        font-size: 17px;
    }

    .card p {
        font-size: 14px;
    }

    .produto-price {
        font-size: 20px;
    }

    .catalogo-filtros {
        gap: 8px;
    }

    .filtro-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-add-budget {
        padding: 14px;
        font-size: 15px;
    }

    .budget-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .btn-whatsapp-bar {
        width: 100%;
        justify-content: center;
    }

    .accordion-header {
        font-size: 16px;
        padding: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .footer-logo img {
        max-width: 180px;
    }
}

@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
