﻿/* modelos.css */
* {
    box-sizing: border-box;
}

:root {
    --model-header-offset: 80px; /* space to keep under the fixed header */
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modelo-page {
    padding-top: 0; /* header offset handled by banner margin são banner shows fully */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Header fixo dos modelos */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 100vw;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Hamburger Menu - DESABILITADO */
.hamburger {
    display: none !important;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    position: static;
}

.nav-buttons .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px; /* Touch target mínimo recomendado */
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-buttons .btn:active {
    transform: scale(0.95);
}

/* Banner de Ilustrao */
.modelo-illustration-banner {
    background: linear-gradient(135deg, #fff6d6 0%, #ffe69c 100%);
    border-bottom: 4px solid #d4a20a;
    /* incáreased top padding são more banner aárea shows above the sample text */
    padding: 200px 30px 30px 30px;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
    overflow: visible;
    display: block;
    box-shadow: 0 6px 30px rgba(6,6,66,0.06);
    font-size: 1.15rem;
    font-weight: 700;
    /* ensure banner sits fully below the fixed header */
    margin-top: var(--model-header-offset);
}

.modelo-illustration-banner p {
    color: #856404;
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
    /* push the banner text further down inside the banner */
    margin-top: 50px;
    display: block;
    line-height: 1.8;
    word-wrap: báreak-word;
    overflow-wrap: báreak-word;
    white-space: normal;
}

.modelo-illustration-banner i {
    font-size: 1.5rem;
    margin-right: 12px;
    vertical-align: middle;
}

.modelo-header {
    background: linear-gradient(135deg, #060642 0%, #0808a0 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.modelo-header .container {
    text-align: center;
}

/* Pgina especfica: centralizar verticalmente contedo do header quando necessrio
   Para usar, adicione a classe `align-middle` em <div class="modelo-header"> nas pginas desejadas */
.modelo-header.align-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    min-height: 65vh;
}

@media (max-width: 768px) {
    .modelo-header.align-middle {
        padding: 80px 20px 60px;
        min-height: 45vh;
    }
}

.modelo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(167, 136, 3, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(167, 136, 3, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.modelo-header > * {
    position: relative;
    z-index: 1;
}

.modelo-header h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.modelo-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.modelo-header .btn {
    padding: 14px 28px;
    font-size: 1rem;
    white-space: nowrap;
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Centralizar botes dentro do header e garantir margem adequada */
.modelo-header .container .btn {
    display: inline-flex;
    margin: 12px 6px 0;
    justify-content: center;
}

/* Force tighter grouping of action buttons inside the modelo header */
.modelo-header .container > div {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* header-actions removed - buttons restored to original header flow */

@media (max-width: 768px) {
    .modelo-header {
        padding: 80px 20px 40px;
        min-height: 45vh;
    }

    /* make banner padding a bit smaller on mobile to avoid taking too much vertical space */
    .modelo-illustration-banner {
        padding: 100px 18px 20px 18px;
        margin-top: calc(var(--model-header-offset) - 10px);
        font-size: 1rem;
    }

    .modelo-illustration-banner p {
        margin-top: 30px; /* slightly smaller offset on mobile */
    }

    /* Restaurar fluxo natural do header em telas pequenas */
    .nav-buttons {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        gap: 12px;
        justify-content: center;
    }

    .modelo-header h1 {
        font-size: 2rem;
    }

    .modelo-header p {
        font-size: 1rem;
    }

    .modelo-header .container .btn {
        width: 100%;
        max-width: 360px;
        padding: 12px 18px;
    }
}

.modelo-preview {
    max-width: 1200px;
    margin: 0 auto 100px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.features-section {
    margin: 0 0 80px 0 !important;
    padding: 60px 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #060642;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.feature-item i {
    font-size: 3rem;
    color: #A78803;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #060642;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-modelo {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, #060642 0%, #0808a0 100%);
    color: white;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Map embed wrapper to ensure responsive maps on mobile */
.map-embed {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.map-embed {
    /* Fallback container using padding-top to preserve aspect ratio on old browsers */
    position: relative;
    padding-top: 56.25%; /* 16:9 fallback */
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    /* prefer modern aspect-ratio where supported */
    aspect-ratio: 16 / 9;
    min-height: 220px;
}

@media (max-width: 768px) {
    .map-embed {
        padding-top: 75%; /* ~4:3 on smaller screens */
    }
    .map-embed iframe {
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }
}

.cta-modelo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(149, 124, 61, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(149, 124, 61, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-modelo > * {
    position: relative;
    z-index: 1;
}

.cta-modelo h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-modelo p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Preview Section Styles */
.preview-container {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 80px 40px;
    border-radius: 15px;
}

.preview-content {
    max-width: 1000px;
    margin: 0 auto;
}

.preview-title {
    font-size: 2.2rem;
    color: #060642;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.preview-description {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
}

.preview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.preview-feature {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.preview-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #A78803;
}

.preview-feature i {
    font-size: 2.5rem;
    color: #A78803;
    margin-bottom: 20px;
    display: block;
}

.preview-feature h4 {
    font-size: 1.2rem;
    color: #060642;
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-feature p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Menu Preview Section */
.menu-preview-section {
    padding: 80px 0;
    background: white;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-category {
    padding: 12px 25px;
    background: #f8fafc;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #060642;
}

.menu-category:hover {
    border-color: #A78803;
    background: #f0f7ff;
}

.menu-category.active {
    background: #A78803;
    color: white;
    border-color: #A78803;
    box-shadow: 0 10px 25px rgba(149, 124, 61, 0.2);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: #A78803;
}

.menu-item-image {
    height: 180px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-item-image i {
    font-size: 3.5rem;
    color: #A78803;
    opacity: 0.8;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.menu-item-title {
    font-size: 1.3rem;
    color: #060642;
    font-weight: 600;
    max-width: 70%;
}

.menu-item-price {
    font-size: 1.4rem;
    color: #A78803;
    font-weight: 700;
}

.menu-item-desc {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Reservation Widget */
.reservation-widget {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 60px 40px;
    border-radius: 15px;
    margin: 80px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.reservation-title {
    text-align: center;
    font-size: 2.2rem;
    color: #060642;
    margin-bottom: 40px;
    font-weight: 700;
}

.reservation-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.reservation-input {
    display: flex;
    flex-direction: column;
}

.reservation-input input,
.reservation-input select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 54px;
}

.reservation-input input:focus,
.reservation-input select:focus {
    outline: none;
    border-color: #A78803;
    box-shadow: 0 0 0 3px rgba(149, 124, 61, 0.1);
}

/* Marmoraria Calculator */
.marmoraria-calculator {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    max-width: 100%;
    box-sizing: border-box;
}

.calculator-title {
    text-align: center;
    font-size: 1.5rem;
    color: #060642;
    margin-bottom: 30px;
    font-weight: 600;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.calculator-input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.calculator-input label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #060642;
    font-size: 0.95rem;
}

.calculator-input input,
.calculator-input select {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.calculator-input input:focus,
.calculator-input select:focus {
    outline: none;
    border-color: #A78803;
    box-shadow: 0 0 0 3px rgba(149, 124, 61, 0.1);
}

.calculator-result {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #A78803;
    text-align: center;
    color: #060642;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calculator-result * {
    max-width: 100%;
    box-sizing: border-box;
}

.calculator-result a.btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Button Alignment */
.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
}

.btn.btn-outline {
    color: #060642;
    border: 2px solid #060642;
    background: white;
}

.btn.btn-outline:hover {
    background: #060642;
    color: white;
    box-shadow: 0 8px 20px rgba(6, 6, 66, 0.25);
}

.btn.btn-primary {
    background: var(--gradiente-dourado);
    color: white;
    border: 2px solid transparent;
    box-shadow: var(--sombra-dourada), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn.btn-primary:hover::before {
    left: 100%;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #D4AB0F 0%, #B8960B 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 150, 11, 0.4), 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Card Alignment */
.portfolio-item,
.service-card,
.menu-item-card,
.feature-item,
.preview-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-content,
.service-card,
.menu-item-content,
.feature-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-content .btn,
.menu-item-content .btn {
    margin-top: auto;
    align-self: stretch;
}

.service-card .btn {
    margin-top: auto;
    align-self: stretch;
}

/* Media Queries para Responsividade Mobile */
@media (max-width: 768px) {
    .modelo-page {
        padding-top: 110px;
    }
    
    .nav-container {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .nav-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-buttons .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .nav-buttons .btn i {
        font-size: 0.9rem;
    }
        font-size: 0.95rem;
        text-align: center;
    }
    
    .modelo-illustration-banner {
        padding: 35px 20px;
        margin-bottom: 0;
    }
    
    .modelo-illustration-banner p {
        font-size: 1.15rem;
        line-height: 1.6;
    }
    
    .modelo-illustration-banner i {
        font-size: 1.3rem;
    }
    
    .modelo-header {
        padding: 60px 20px;
    }
    
    .modelo-header h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        word-wrap: báreak-word;
        overflow-wrap: báreak-word;
    }
    
    .modelo-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .modelo-header .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px;
        width: auto;
        min-width: 160px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .cta-modelo {
        padding: 60px 20px;
    }
    
    .cta-modelo h2 {
        font-size: 1.8rem;
    }
    
    .cta-modelo p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .preview-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-categories {
        gap: 10px;
        padding: 0 10px;
    }
    
    .menu-category {
        padding: 10px 18px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .menu-item-card {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .menu-item-image {
        height: 160px;
    }
    
    .menu-item-image i {
        font-size: 3rem;
    }
    
    .menu-item-content {
        padding: 20px;
    }
    
    .menu-item-title {
        font-size: 1.1rem;
        max-width: 60%;
    }
    
    .menu-item-price {
        font-size: 1.2rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .calculator-input input,
    .calculator-input select {
        padding: 14px;
        font-size: 16px;
    }
    
    .marmoraria-calculator {
        padding: 30px 20px;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .reservation-widget {
        padding: 40px 20px;
    }
    
    .reservation-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reservation-input input,
    .reservation-input select {
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .modelo-page {
        padding-top: 140px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .logo-img-placeholder {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    /* Botes em linha em telas pequenas */
    .nav-buttons {
        width: 100%;
        flex-direction: row;
        gap: 8px;
    }
    
    .nav-buttons .btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
        gap: 6px;
        min-width: 0;
    }
    
    .nav-buttons .btn i {
        font-size: 0.9rem;
    }
    
    .modelo-illustration-banner {
        padding: 30px 15px;
        margin-bottom: 0;
    }
    
    .modelo-illustration-banner p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .modelo-illustration-banner i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .modelo-header {
        padding: 50px 15px;
    }
    
    .modelo-header h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .modelo-header p {
        font-size: 0.95rem;
    }
    
    .modelo-header .btn {
        padding: 14px 18px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        margin: 8px auto;
        display: flex;
        justify-content: center;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .feature-item i {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    .cta-modelo h2 {
        font-size: 1.5rem;
    }
    
    .menu-categories {
        flex-direction: column;
        gap: 8px;
        padding: 0 15px;
    }
    
    .menu-category {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .menu-items {
        padding: 0 5px;
    }
    
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .menu-item-title {
        max-width: 100%;
        font-size: 1.2rem;
    }
    
    .menu-item-price {
        font-size: 1.3rem;
    }
    
    .menu-item-desc {
        font-size: 0.9rem;
    }
    
    .marmoraria-calculator {
        padding: 25px 15px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow: hidden;
    }
    
    .calculator-title {
        font-size: 1.3rem;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .calculator-input input,
    .calculator-input select {
        font-size: 16px;
        padding: 14px;
    }
    
    .calculator-result {
        padding: 20px 15px;
        overflow: hidden;
    }
    
    .calculator-result a.btn {
        font-size: 0.9rem !important;
        padding: 12px 8px !important;
        white-space: normal !important;
        line-height: 1.4;
        min-height: 48px;
    }
    
    .reservation-widget {
        padding: 30px 15px;
    }
    
    .reservation-title {
        font-size: 1.5rem;
    }
}

/* =========================================================
   NW LOADER - crculo com logo girando
   ========================================================= */
#nw-loader {
    position: fixed;
    inset: 0;
    background: #060642;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

#nw-loader.nw-loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nw-loader-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nw-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(149, 124, 61, 0.2);
    border-top-color: #957c3d;
    animation: nw-spin 0.9s linear infinite;
}

.nw-loader-logo {
    width: 66px;
    height: 66px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #060642;
    letter-spacing: 1px;
    line-height: 1;
    user-select: none;
}

.nw-loader-logo span {
    font-size: 1rem;
    font-weight: 800;
    color: #060642;
}

.nw-loader-logo small {
    font-size: 0.55rem;
    color: #957c3d;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 1px;
}

@keyframes nw-spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   NW TOP BAR - faixa fina topo das pginas de modelo
   ========================================================= */
.nw-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(6, 6, 66, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    gap: 10px;
}

.nw-topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.nw-topbar-logo-circle {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #957c3d, #b8973d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.nw-topbar-name {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nw-topbar-name span {
    color: #957c3d;
}

.nw-topbar-center {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    flex: 1;
    justify-content: center;
}

.nw-topbar-dot {
    width: 7px;
    height: 7px;
    background: #fbbf24;
    border-radius: 50%;
    animation: nw-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes nw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}

.nw-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.nw-topbar-back {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nw-topbar-back:hover { color: white; }

.nw-topbar-cta {
    background: linear-gradient(135deg, #957c3d, #b8973d);
    color: white;
    padding: 7px 16px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(149,124,61,0.4);
}

.nw-topbar-cta:hover {
    background: linear-gradient(135deg, #b8973d, #d4ab3d);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(149,124,61,0.5);
}

/* Offset principal resolvido pelo top do nav interno; evita espao branco extra */
.model-site {
    padding-top: 0;
}

@media (max-width: 600px) {
    .nw-topbar-center { display: none; }
    .nw-topbar-name { display: none; }
    .nw-topbar { padding: 0 14px; }
}

/* =========================================================
   COMPACTAO GLOBAL DOS MODELOS
   ========================================================= */
.model-site {
    overflow-x: hidden;
}

.model-site .container {
    width: min(100%, 1060px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.model-site section {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Grid simtrico: 3 colunas no desktop */
@media (min-width: 1024px) {
    .model-site .menu-items,
    .model-site .menu-panel,
    .model-site .espec-grid,
    .model-site .médicos-grid,
    .model-site .catálogo-grid,
    .model-site .prods-grid,
    .model-site .results-grid,
    .model-site .modulos-grid,
    .model-site .servicos-grid,
    .model-site .testem-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .model-site .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    .model-site .cats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* Grid simtrico: 2 colunas onde j cabe confortvel */
@media (min-width: 560px) and (max-width: 1023px) {
    .model-site .menu-items,
    .model-site .menu-panel,
    .model-site .espec-grid,
    .model-site .médicos-grid,
    .model-site .catálogo-grid,
    .model-site .prods-grid,
    .model-site .projects-grid,
    .model-site .results-grid,
    .model-site .modulos-grid,
    .model-site .servicos-grid,
    .model-site .testem-grid,
    .model-site .cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

/* Header interno dos modelos: evitar itens saindo da tela */
@media (max-width: 980px) {
    .model-site .site-nav .inner,
    .model-site .lp-nav .inner {
        padding-left: 14px !important;
        padding-right: 14px !important;
        gap: 10px !important;
    }

    .model-site .site-nav ul,
    .model-site .lp-nav ul {
        display: none !important;
    }

    .model-site .nav-btn,
    .model-site .lp-cta-btn,
    .model-site .nav-hire {
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
}

/* Topbar fixa: verso compacta para no vazar */
@media (max-width: 760px) {
    .nw-topbar {
        padding: 0 10px;
        gap: 6px;
    }

    .nw-topbar-actions {
        gap: 6px;
    }

    .nw-topbar-back,
    .nw-topbar-cta {
        font-size: 0.74rem;
        padding: 6px 10px;
    }
}

@media (max-width: 520px) {
    .nw-topbar-back {
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
        font-size: 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 7px;
    }

    .nw-topbar-back i {
        font-size: 0.85rem;
        margin: 0;
    }

    .nw-topbar-cta {
        font-size: 0;
        padding: 7px 10px;
    }

    .nw-topbar-cta::after {
        content: 'Quero';
        font-size: 0.74rem;
        font-weight: 700;
    }
}

/* =========================================================
   SIMETRIA GLOBAL DOS CARDS (MODELOS)
   ========================================================= */
.model-site .menu-items,
.model-site .menu-panel,
.model-site .espec-grid,
.model-site .médicos-grid,
.model-site .catálogo-grid,
.model-site .prods-grid,
.model-site .projects-grid,
.model-site .results-grid,
.model-site .modulos-grid,
.model-site .servicos-grid,
.model-site .testem-grid,
.model-site .cats-grid,
.model-site .skills-grid,
.model-site .preco-grid,
.model-site .destaques-grid,
.model-site .preview-features,
.model-site .features-grid {
    align-items: stretch !important;
}

.model-site .menu-card,
.model-site .menu-item-card,
.model-site .espec-card,
.model-site .médico-card,
.model-site .pedra-card,
.model-site .prod-card,
.model-site .project-card,
.model-site .result-card,
.model-site .modulo-card,
.model-site .serv-card,
.model-site .testem-card,
.model-site .cat-item,
.model-site .skill-item,
.model-site .preco-card,
.model-site .dest-card,
.model-site .preview-feature,
.model-site .feature-item,
.model-site .portfolio-item,
.model-site .service-card,
.model-site .stat-box {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.model-site .menu-card-body,
.model-site .menu-item-content,
.model-site .prod-body,
.model-site .proj-body,
.model-site .preco-card,
.model-site .serv-card,
.model-site .testem-card,
.model-site .dest-card,
.model-site .portfolio-content,
.model-site .service-card,
.model-site .feature-item {
    flex: 1 1 auto !important;
}

.model-site .menu-card-footer,
.model-site .btn-buy,
.model-site .btn-plan,
.model-site .cf-submit,
.model-site .form-submit,
.model-site .f-submit,
.model-site .btn-modelo {
    margin-top: auto !important;
}

/* Ajustes visuais para manter simetria de blocos/texto */
.model-site .proj-name,
.model-site .prod-name,
.model-site .menu-card-body h3,
.model-site .menu-item-title,
.model-site .serv-card h3,
.model-site .modulo-card h3,
.model-site .skill-name {
    line-height: 1.35 !important;
}


