/* ===================================================
   CSS GLOBAL — MÁQUINA DE ORÇAMENTOS OUSARE REVESTIMENTOS
   ESTILO ULTRA-PRIME DARK GOLD & ARCHITECTURAL GLASS
   =================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    background-repeat: no-repeat;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-pure);
    letter-spacing: -0.02em;
}

.gold-gradient {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER FLUTUANTE DE VIDRO --- */
header {
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-border);
    padding: 14px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

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

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

.logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
    transition: transform 0.25s ease;
}

.logo:hover img {
    transform: scale(1.02);
}

/* Botão WhatsApp do Header */
.btn-zap-header {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-zap-header::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.4);
    animation: zapPulse 2.4s infinite;
}

@keyframes zapPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.btn-zap-header i {
    font-size: 1.75rem;
    color: #10B981;
    transition: transform 0.25s ease, color 0.25s ease;
}

.btn-zap-header:hover {
    background: #10B981;
    border-color: #10B981;
    box-shadow: 0 6px 24px var(--accent-whatsapp-glow);
    transform: scale(1.08);
}

.btn-zap-header:hover i {
    color: #FFFFFF;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 130px 0 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(7, 8, 10, 0.72) 0%, rgba(7, 8, 10, 0.95) 100%), var(--bg-hero);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
    text-transform: uppercase;
    max-width: 820px;
}

.hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
}

/* --- CALCULADORA DARK GOLD GLASS --- */
.calculator-box {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 36px;
    max-width: 580px;
    width: 100%;
    text-align: left;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px var(--gold-glow-subtle);
    position: relative;
    overflow: hidden;
}

.calculator-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-metallic);
}

.calc-header {
    margin-bottom: 24px;
    text-align: center;
}

.calc-tag {
    display: inline-block;
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.calc-header h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-pure);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--gold-primary);
    font-size: 0.95rem;
}

.input-wrapper, .select-wrapper {
    position: relative;
}

.input-wrapper input, .select-wrapper select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-pure);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
    backdrop-filter: blur(10px);
}

.input-wrapper input:focus, .select-wrapper select:focus {
    background: var(--bg-input-focus);
    border-color: var(--gold-border-focus);
    box-shadow: 0 0 15px var(--gold-glow-subtle);
}

.input-suffix {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    pointer-events: none;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 42px;
}

.select-wrapper select option, .select-wrapper select optgroup {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    pointer-events: none;
    font-size: 1rem;
}

/* Botão da Calculadora */
.btn-calc {
    width: 100%;
    background: var(--gold-metallic);
    color: #07080A;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--gold-glow);
    filter: brightness(1.05);
}

.btn-calc i {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.btn-calc:hover i {
    transform: translateX(4px);
}

/* --- SEÇÃO DE MARCAS PARCEIRAS --- */
.brands-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-light);
    padding: 24px 0;
    text-align: center;
}

.brands-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 14px;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.brands-list span {
    transition: color 0.2s ease;
}

.brands-list span:hover {
    color: var(--gold-light);
}

/* --- SEÇÃO DE DIFERENCIAIS --- */
.features {
    padding: 90px 0;
    background: var(--bg-main);
    position: relative;
}

.features-tag {
    display: block;
    text-align: center;
    color: var(--gold-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.features h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px 26px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow-subtle);
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold-primary);
    font-size: 1.4rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-pure);
}

.feature-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- SEÇÃO SOBRE A OUSARE & REGIÕES ATENDIDAS --- */
.about-section {
    padding: 70px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-light);
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-info p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 20px;
    line-height: 1.65;
}

.cities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.city-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-box {
    background: rgba(7, 8, 10, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- FOOTER --- */
footer {
    background: #050607;
    border-top: 1px solid var(--glass-border-light);
    padding: 40px 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand img {
    height: 42px;
    width: auto;
}

.footer-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- MODAL DE PROPOSTA EXECUTIVA --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-modal);
    border: 1px solid var(--gold-border);
    border-radius: 24px;
    max-width: 620px;
    width: 100%;
    padding: 38px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--gold-glow-subtle);
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-pure);
}

.modal-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Card de Preço Total */
.price-card {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.09) 0%, rgba(14, 17, 22, 0.9) 100%);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 22px;
}

.total-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.total-value {
    font-size: clamp(2rem, 5vw, 2.7rem);
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.installments-row {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.installments-row i {
    color: var(--gold-primary);
}

/* Escopo do Pacote */
.scope-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 22px;
}

.scope-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scope-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Bônus Grid */
.bonus-section {
    margin-bottom: 26px;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-pkg {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
}

.bonus-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border-light);
    border-radius: 10px;
    padding: 10px 14px;
}

.bonus-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-primary);
    font-weight: 500;
}

.bonus-item-title i {
    color: var(--accent-whatsapp);
    font-size: 0.95rem;
}

.bonus-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-included {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-courtesy {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border: 1px solid var(--gold-border);
}

.badge-optional {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-right: 4px;
}

/* Botão de Ação do WhatsApp */
.btn-action {
    background: #10B981;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 14px;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px var(--accent-whatsapp-glow);
}

.btn-action:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--accent-whatsapp-glow);
}

.btn-action i {
    font-size: 1.35rem;
}

.modal-trust-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-trust-footer span i {
    color: var(--gold-primary);
    margin-right: 4px;
}

.disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .logo img {
        height: 38px;
    }

    .btn-zap-header {
        width: 42px;
        height: 42px;
    }

    .btn-zap-header i {
        font-size: 1.5rem;
    }

    .hero {
        padding: 110px 0 60px 0;
    }

    .calculator-box {
        padding: 24px 20px;
    }

    .about-card {
        grid-template-columns: 1fr;
        padding: 26px 20px;
        gap: 26px;
    }

    .modal-content {
        padding: 28px 18px;
    }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }
}
