/* =======================================
   Inovarr Modulares - SPA Hybrid Theme
   Premium, Modern Engineering & Tourism
   ======================================= */

:root {
    --primary: #1B4332;
    /* Verde Inovarr Principal */
    --primary-light: #2D6A4F;
    /* Verde Vibrante */
    --primary-dark: #081C15;
    /* Verde Profundo */
    --accent: #D4AF37;
    /* Ouro Premium */
    --accent-glow: rgba(212, 175, 55, 0.4);
    --surface: rgba(255, 255, 255, 0.03);
    --background: #081C15;
    /* Fundo modo Escuro Luxo por padrão */
    --text-main: #FFFFFF;
    --text-muted: #CBD5CB;
    /* Torna o texto secundário mais claro */
    --border: rgba(255, 255, 255, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);

    --radius: 32px;
    --radius-sm: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1b4332 0%, #081c15 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
    animation: orbit 30s infinite linear;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: orbit 25s infinite linear reverse;
    opacity: 0.1;
}

@keyframes orbit {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.w-100 {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

select,
input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

option {
    background: var(--background);
    color: white;
}

h1,
h2,
h3,
h4 {
    color: var(--text-main);
    /* White by default in Dark Mode */
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.microcopy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 300;
}

.micro-note {
    color: var(--text-main);
    opacity: 0.7;
    font-size: 0.9rem;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    /* White label */
}

/* =======================================
NAVBAR (SPA TOP MENU)
======================================= */
.app-nav {
    background: #FFFFFF;
    /* Cabeçalho Branco conforme solicitado */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent);
    /* Logo em Ouro */
}

.logo span {
    font-weight: 300;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-dark);
    /* Texto escuro sobre fundo branco */
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn-highlight {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.nav-btn-highlight:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
    padding: 5px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
}

/* =======================================
SPA ENGINE
======================================= */
.spa-view {
    animation: fadeIn 0.4s ease forwards;
    min-height: 80vh;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================
BUTTONS
======================================= */
button {
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    /* Mudando de verde para Ouro para contraste */
    color: var(--primary-dark);
    /* Texto escuro sobre ouro para legibilidade */
    padding: 16px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: #e5be4a;
    /* Dourado mais claro no hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 16px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    /* Mudando de verde para branco */
    border: 2px solid var(--accent);
    /* Borda em ouro */
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.action-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.center-actions {
    max-width: 300px;
    margin: 0 auto;
}

/* =======================================
HERO / HOME
======================================= */
.hero-header {
    background: linear-gradient(to bottom, #fff, var(--background));
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.hero-header h1 {
    font-size: 3rem;
    letter-spacing: -1px;
    margin: 20px 0;
}

.hero-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* =======================================
INTERFACE DE CARDS PREMIUM (DASHBOARD)
======================================= */
.funnel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.step-title-box {
    text-align: center;
    margin-bottom: 40px;
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-title-box h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 650px) {
    .card-stack {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (min-width: 1000px) {
    .card-stack {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Base do Card Premium com Glassmorphism */
.big-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card-stack .big-card:nth-child(1) {
    animation-delay: 0.1s;
}

.card-stack .big-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card-stack .big-card:nth-child(3) {
    animation-delay: 0.3s;
}

.card-stack .big-card:nth-child(4) {
    animation-delay: 0.4s;
}

.big-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 28, 21, 0.95) 0%, rgba(8, 28, 21, 0.4) 40%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.big-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

.big-card:hover::before {
    background: linear-gradient(to top, rgba(8, 28, 21, 0.98) 0%, rgba(8, 28, 21, 0.7) 50%, transparent 100%);
}

.big-card-content {
    position: relative;
    z-index: 2;
}

.big-card-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.big-card-content p {
    font-size: 1.05rem;
    opacity: 0.85;
    font-weight: 300;
}

.icon-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.8rem;
    z-index: 2;
}

/* Card de Projeto (E-commerce Style) */
.project-list-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .project-list-item {
        flex-direction: row;
        min-height: 420px;
    }
}

.project-img-slider {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .project-img-slider {
        width: 44%;
        min-height: 420px;
        /* Alinhado ao min-height do container pai */
        height: auto;
    }
}

.slides-container {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 240px;
    /* Garante altura mínima em qualquer contexto */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item {
    min-width: 100%;
    height: 100%;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.05);
    /* Cor de fallback para diagnóstico */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 20px;
    border-radius: 10px;
}

.project-info-side {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Funnel Specific UI */
.welcome-box img,
.form-card .step-title-box img {
    filter: brightness(0) invert(1);
    /* Torna o logo branco para contraste */
}

.welcome-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.welcome-box p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.step-counter {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.option-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    animation: slideUp 0.6s backwards;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: -10px 0 30px rgba(212, 175, 55, 0.1);
}

.option-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.option-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-text {
    background: none;
    border: none;
    color: #fff;
    /* Mudando de muted para branco para ser visível */
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--accent);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Big Card Adjustments */
.big-card {
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.big-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
}

.big-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.big-card-content p {
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .project-info-side {
        padding: 40px;
    }
}

.project-info-side h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}

.project-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-price {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    /* Gold price */
    line-height: 1.2;
}

.project-specs span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--accent);
    /* Gold icon/text */
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--glass-border);
}

.project-actions-row {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Forms e Steppers Glass */
.form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-btn-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.back-btn-step:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateX(-5px);
}

/* =======================================
BADGES & UI
======================================= */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.badges span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent-glow);
}

.badge-rec {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* =======================================
CATALOG GRID (EXPLORAR)
======================================= */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #EEE;
    /* placeholder */
    position: relative;
}

.card-area {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.c-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.c-badges span {
    font-size: 0.75rem;
    background: #F1F3F5;
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 4px;
}

.c-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 15px;
    margin-bottom: 20px;
}

.card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-sm {
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
}

/* =======================================
PROJECT DETAILS & THUMBS
======================================= */
.project-details-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.project-gallery-col {
    display: flex;
    flex-direction: column;
}

.main-proj-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    max-height: 500px;
    background-color: #EEE;
    transition: opacity 0.3s;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumbs img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: var(--primary);
}

.comodos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.comodos-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.comodo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-filter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.btn-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-filter.active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* =======================================
KIT DYNAMIC LAYOUT
======================================= */
.kit-grid-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

.kit-visual-col {
    position: relative;
}

.sticky-visual {
    position: sticky;
    top: 90px;
}

.kit-live-image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #EEE;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kit-live-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease-in-out;
}

.img-overlay-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.img-overlay-badges .badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.kit-live-info {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.project-info-card {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.price-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.include-box {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.include-box ul {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =======================================
DIAGNOSTIC QUIZ
======================================= */
.diag-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.diag-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.diag-progress .fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.4s ease;
}

.radio-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.radio-card input {
    display: none;
}

.radio-card .card-content {
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.radio-card input:checked+.card-content {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-main);
}

.dual {
    display: flex;
    justify-content: space-between;
}

.rec-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--accent);
}

/* =======================================
LAYOUTS REUSÁVEIS (Kits, Pers)
======================================= */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.form-container {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.narrow-doc {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.clean-ul {
    list-style: none;
    padding: 0;
}

.clean-ul li {
    margin-bottom: 6px;
}

/* =======================================
FORM INPUTS
======================================= */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    /* Escuro Glass para contraste */
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: #fff;
    /* Texto branco para legibilidade */
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    /* Destaque em Ouro */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* =======================================
OPCIONAIS LIST (KIT)
======================================= */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--surface);
}

.option-item:hover {
    border-color: #adb5bd;
}

.option-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-info input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #adb5bd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.option-info input:checked+.custom-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.option-info input:checked+.custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 14px;
}

.option-name {
    font-weight: 500;
}

.option-price {
    font-weight: 600;
    color: var(--accent);
}

/* =======================================
SUMMARY SIDEBAR
======================================= */
.summary-sidebar {
    position: sticky;
    top: 90px;
}

.summary-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
}

.summary-section {
    margin-top: 20px;
}

.summary-section h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.sum-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.sum-price.highlight {
    color: var(--accent);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
}

.total-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

/* Card Buttons Stack */
.card-btn-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-width: fit-content;
}

.center-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 40px auto 0;
}

@media (max-width: 992px) {

    .main-layout,
    .project-details-layout,
    .kit-grid-layout {
        grid-template-columns: 1fr;
    }

    .summary-sidebar,
    .sticky-visual {
        position: static;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-header h1 {
        font-size: 2.2rem;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        /* Fundo sólido para mobile */
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--accent);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .dual {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .dual button {
        width: 100%;
    }
}