/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Colors */
    --bg-dark: #07090e;
    --bg-card: rgba(18, 22, 35, 0.55);
    --bg-card-hover: rgba(26, 32, 50, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 242, 254, 0.3);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --color-cyan: #00f2fe;
    --color-blue: #4facfe;
    --color-fire: #ff4b2b;
    --color-purple: #7f00ff;
    
    --grad-primary: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
    --grad-fire: linear-gradient(135deg, #ff416c 0%, var(--color-fire) 100%);
    --grad-purple: linear-gradient(135deg, var(--color-purple) 0%, #ff007f 100%);
    --grad-dark: linear-gradient(180deg, rgba(7, 9, 14, 0) 0%, #07090e 100%);
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.25);
    --shadow-glow-fire: 0 0 20px rgba(255, 75, 43, 0.25);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

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

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hidden {
    display: none !important;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #07090e;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(7, 9, 14, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--border-color);
}

.mobile-nav.open {
    right: 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--color-cyan);
    transform: scale(1.05);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0.03) 50%, rgba(7, 9, 14, 0) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.25;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.hero-title-line {
    display: block;
    text-align: left;
    /* Gradiente em 3 fases: 15% branco sólido, 65% transição para ciano (até 80%), e últimos 20% transição de volta ao branco */
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 15%, #00f2fe 80%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-normal);
}

.hero-title-line.line-1 { padding-left: 0; }
.hero-title-line.line-2 { padding-left: 2.5rem; }
.hero-title-line.line-3 { padding-left: 5rem; }
.hero-title-line.line-4 { padding-left: 7.5rem; }

@media (max-width: 1024px) {
    .hero-title {
        align-items: center; /* No tablet, centralizar o alinhamento geral do bloco se necessário, mas manter alinhado à esquerda internamente */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        align-items: flex-start;
    }
    .hero-title-line.line-2 { padding-left: 1.25rem; }
    .hero-title-line.line-3 { padding-left: 2.5rem; }
    .hero-title-line.line-4 { padding-left: 3.75rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-title-line.line-2 { padding-left: 0.75rem; }
    .hero-title-line.line-3 { padding-left: 1.5rem; }
    .hero-title-line.line-4 { padding-left: 2.25rem; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Hero Tech Graphic Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.hero-logo {
    width: 290px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: 6;
}

.hero-logo:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.tech-graphic-container {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 254, 0.1);
    animation: ripple 6s infinite linear;
}

.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 80%; height: 80%; animation-delay: 2s; }
.ring-3 { width: 60%; height: 60%; animation-delay: 4s; }

@keyframes ripple {
    0% { transform: rotate(0deg); border-color: rgba(0, 242, 254, 0.05); }
    50% { border-color: rgba(255, 75, 43, 0.1); }
    100% { transform: rotate(360deg); border-color: rgba(0, 242, 254, 0.05); }
}

.tech-card {
    background: rgba(15, 18, 30, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 290px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    overflow: hidden;
    transition: var(--transition-normal);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.tech-card-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.tech-card-header .dots {
    display: flex;
    gap: 0.35rem;
}

.tech-card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: var(--color-fire); }
.dot.yellow { background-color: #ffb800; }
.dot.green { background-color: #00e676; }

.tech-title {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.status-badge.online {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
}

.status-badge.info {
    background: rgba(79, 172, 254, 0.1);
    color: var(--color-blue);
}

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
    background: rgba(12, 16, 28, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
    position: relative;
    z-index: 5;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-cyan);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* ==========================================
   SECTION COMMON ELEMENTS
   ========================================== */
.section-header {
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background: linear-gradient(180deg, #07090e 0%, #0c101c 50%, #07090e 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    background: var(--grad-primary);
}

/* Individual card gradients border/focus for safety & fire */
.service-card:nth-child(2):hover::before {
    background: var(--grad-fire);
}

.service-card:nth-child(3):hover::before {
    background: var(--grad-purple);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon-wrapper.security {
    background: rgba(0, 242, 254, 0.08);
    color: var(--color-cyan);
}

.service-icon-wrapper.fire {
    background: rgba(255, 75, 43, 0.08);
    color: var(--color-fire);
}

.service-icon-wrapper.ited {
    background: rgba(127, 0, 255, 0.08);
    color: #a044ff;
}

.service-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-primary);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--color-cyan);
    font-weight: 700;
}

.service-card:nth-child(2) .service-features li::before {
    color: var(--color-fire);
}

.service-card:nth-child(3) .service-features li::before {
    color: #a044ff;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 5rem;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-blob {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.1) 0%, rgba(0, 242, 254, 0.02) 70%);
    filter: blur(50px);
    position: absolute;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.about-card {
    width: 280px;
    height: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    overflow: hidden;
}

.experience-badge {
    display: flex;
    flex-direction: column;
}

.exp-number {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exp-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.about-card-lines {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 60px;
}

.about-card-lines .line {
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
}

.about-card-lines .line:nth-child(1) { width: 100%; background-color: var(--color-cyan); }
.about-card-lines .line:nth-child(2) { width: 70%; }
.about-card-lines .line:nth-child(3) { width: 40%; background-color: var(--color-fire); }

.about-content {
    max-width: 600px;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-benefits {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================
   BUDGET ESTIMATOR (SIMULADOR)
   ========================================== */
.budget-section {
    background: linear-gradient(180deg, #07090e 0%, #0b0d16 100%);
}

.budget-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.panel-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.property-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.property-type-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.property-type-card input {
    display: none;
}

.property-type-card svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.property-type-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.property-type-card:hover, .property-type-card.active {
    background: rgba(0, 242, 254, 0.04);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.property-type-card:hover svg, .property-type-card.active svg {
    color: var(--color-cyan);
}

.property-type-card:hover span, .property-type-card.active span {
    color: var(--text-primary);
}

/* Sliders */
.slider-group {
    margin-bottom: 2rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.slider-header label {
    font-size: 0.95rem;
    font-weight: 500;
}

.slider-value {
    font-weight: 700;
    color: var(--color-cyan);
}

.slider-input {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: var(--transition-fast);
}

.slider-input::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Checkbox */
.checkbox-group {
    margin-top: 2.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--color-cyan);
    border-color: var(--color-cyan);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #07090e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: var(--text-secondary);
}

.custom-checkbox input:checked ~ .checkbox-label {
    color: var(--text-primary);
}

/* Result panel */
.budget-result {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.breakdown-list {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease;
}

.breakdown-item.empty {
    border-bottom: none;
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
}

.breakdown-item-name {
    color: var(--text-secondary);
}

.breakdown-item-val {
    font-weight: 700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.price-display {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.price-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.price-tax {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

/* ==========================================
   TESTIMONIALS (DEPOIMENTOS)
   ========================================== */
.testimonials-section {
    background: linear-gradient(180deg, #0b0d16 0%, #07090e 100%);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 3.5rem auto 0;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    min-height: 250px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 5rem;
    color: rgba(0, 242, 254, 0.15);
    position: absolute;
    top: 0rem;
    left: 2rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot:hover, .carousel-dot.active {
    background-color: var(--color-cyan);
    transform: scale(1.25);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: #07090e;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-method-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.method-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
}

.contact-method-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.method-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.method-link:hover {
    color: var(--color-cyan);
}

.method-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-badge-wrapper {
    margin-top: auto;
}

.legal-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legal-badge svg {
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.02);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.simulation-textarea {
    font-family: monospace;
    font-size: 0.85rem;
    background: rgba(0, 242, 254, 0.05) !important;
    border-color: rgba(0, 242, 254, 0.2) !important;
    resize: none;
}

.btn-clear-sim {
    background: transparent;
    border: none;
    color: var(--color-fire);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    padding: 0.25rem 0;
    transition: var(--transition-fast);
}

.btn-clear-sim:hover {
    text-decoration: underline;
}

.form-status {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 24px;
}

.form-status.success {
    color: #00e676;
}

.form-status.error {
    color: var(--color-fire);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #040508;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.footer-links a:hover {
    color: var(--color-cyan);
    transform: translateX(5px);
}

.footer-legal p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--color-cyan);
}

/* ==========================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        order: 2;
    }
    
    .budget-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
    
    .footer-legal {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Toggle active state (X shape) */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hide-mobile {
        display: none;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .property-types {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .stat-divider {
        width: 80%;
        height: 1px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-legal {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}
