/* ==========================================================================
   Design System & Master Stylesheet - Iara Caça Vazamentos
   ========================================================================== */

/* --- Custom Variables & Theme --- */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Color Palette */
    --color-bg-dark: #090d16;
    --color-bg-card: rgba(15, 23, 42, 0.75);
    --color-bg-card-border: rgba(255, 255, 255, 0.1);
    
    --color-primary: #0284c7;
    --color-primary-hover: #0369a1;
    --color-cyan: #06b6d4;
    --color-green: #22c55e;
    --color-green-hover: #16a34a;
    --color-yellow: #f59e0b;
    --color-red: #ef4444;

    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;

    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #4ade80 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-glow: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(9, 13, 22, 0) 70%);

    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 35px rgba(2, 132, 199, 0.35);
    --shadow-whatsapp: 0 10px 25px rgba(34, 197, 94, 0.4);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Basics --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* --- Container & Utilities --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center { text-align: center; }
.text-cyan { color: var(--color-cyan) !important; }
.text-green { color: var(--color-green) !important; }
.text-yellow { color: var(--color-yellow) !important; }
.text-red { color: var(--color-red) !important; }

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

.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-bg-card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.glow-effect:hover {
    box-shadow: var(--shadow-glow);
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(9, 13, 22, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(2, 132, 199, 0.2);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--color-cyan);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 4px 0;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-green);
}

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

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-green);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp-header:hover {
    background: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.mobile-toggle {
    display: none;
    background: transparent;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 90px 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: var(--gradient-glow);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;

}

.hero-feature-item i {
    color: var(--color-cyan);
    font-size: 1.1rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: var(--shadow-whatsapp);
    transition: var(--transition-normal);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.5);
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main-text { font-size: 1.1rem; line-height: 1.2; }
.btn-sub-text { font-size: 0.75rem; font-weight: 400; opacity: 0.9; }

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-main);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-cyan);
}

.hero-trust-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.rating-stars i { color: var(--color-yellow); }

/* --- Hero Visual Scanner Card --- */
.hero-visual-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.15);
}

.scanner-card-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.card-tag { font-size: 0.75rem; font-weight: 700; color: var(--color-cyan); text-transform: uppercase; }

.scanner-screen {
    position: relative;
    height: 220px;
    background: radial-gradient(circle at center, #022038 0%, #040914 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg at 50% 50%, rgba(6, 182, 212, 0.15) 0deg, transparent 60deg);
    animation: rotate-radar 4s linear infinite;
    pointer-events: none;
}

@keyframes rotate-radar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pipe-network {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipe-svg { width: 100%; height: 100%; }

.water-flow {
    stroke-dasharray: 20;
    animation: flow-dash 2s linear infinite;
}

@keyframes flow-dash {
    to { stroke-dashoffset: -40; }
}

.leak-pulse {
    fill: rgba(239, 68, 68, 0.3);
    animation: pulse-leak 1.5s ease-out infinite;
}

@keyframes pulse-leak {
    0% { r: 6; opacity: 1; }
    100% { r: 35; opacity: 0; }
}

.scanner-readout {
    position: relative;
    z-index: 2;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: monospace;
    font-size: 0.82rem;
}

.readout-item {
    display: flex;
    justify-content: space-between;
}

.blink { animation: blink-text 1.2s infinite; }
@keyframes blink-text { 50% { opacity: 0.3; } }

.scanner-footer {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Section Formatting --- */
section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: var(--color-cyan);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* --- Simulador de Orçamento em 3 Passos --- */
.simulator-section {
    background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, rgba(9, 13, 22, 1) 70%);
}

.simulator-card {
    padding: 40px;
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.sim-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    padding: 4px;
}

.sim-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    z-index: 1;
}

.sim-step-indicator {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.sim-step-indicator.active {
    color: #ffffff;
}

.sim-step {
    display: none;
}

.sim-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.step-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-cyan);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.sim-option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-normal);
}

.sim-option-btn i {
    font-size: 1.8rem;
    color: var(--color-cyan);
}

.sim-option-btn span {
    font-weight: 700;
    font-size: 0.95rem;
}

.sim-option-btn small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.sim-option-btn:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: var(--color-cyan);
    transform: translateY(-2px);
}

.sim-option-btn.selected {
    background: rgba(2, 132, 199, 0.25);
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.sim-option-btn.selected i {
    color: var(--color-green);
}

.form-inputs-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-select, .sim-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--color-text-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.sim-select:focus, .sim-input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.btn-sim-next, .btn-sim-prev {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sim-next {
    background: var(--gradient-primary);
    color: #ffffff;
    margin-left: auto;
}

.btn-sim-next:hover { opacity: 0.9; }

.btn-sim-prev {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
}

.btn-sim-prev:hover { color: #ffffff; background: rgba(255, 255, 255, 0.15); }

.btn-sim-submit {
    width: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-whatsapp);
}

.btn-sim-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--color-green);
    transform: translateX(4px);
}

/* --- Tech & SABESP Section --- */
.tech-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.tech-image-wrapper {
    position: relative;
}

.tech-img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.tech-badge-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(9, 13, 22, 0.9);
    border: 1px solid var(--color-cyan);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-card);
}

.tech-badge-overlay i {
    font-size: 1.5rem;
    color: var(--color-yellow);
}

.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.tech-step-item {
    display: flex;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* --- Buscador de Cobertura --- */
.coverage-card {
    padding: 50px 40px;
    border: 1px solid rgba(2, 132, 199, 0.3);
}

.search-box-wrapper {
    max-width: 680px;
    margin: 30px auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
}

.search-icon {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-right: 12px;
}

.search-input-group input {
    width: 100%;
    background: transparent;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.btn-search-area {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.search-result-box {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.search-result-box.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.search-result-box.info {
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.4);
    color: #38bdf8;
}

.hidden { display: none !important; }

.popular-cities {
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.city-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
}

/* --- Galeria Lightbox --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: var(--color-cyan);
    margin-bottom: 6px;
}

.gallery-overlay span {
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-content-wrapper {
    max-width: 900px;
    width: 100%;
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lightbox-content-wrapper img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    background: #000;
}

.lightbox-caption {
    padding: 20px;
}

.lightbox-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-cyan);
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- Depoimentos --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.test-date { font-size: 0.75rem; color: var(--color-text-dim); }

.test-text {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.test-author strong { display: block; font-size: 0.95rem; }
.test-author span { font-size: 0.8rem; color: var(--color-cyan); }

/* --- FAQ Accordion --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    padding: 20px 24px;
    text-align: left;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    transition: var(--transition-fast);
    color: var(--color-cyan);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
    transition: max-height 0.3s ease-in-out;
}

/* --- Final CTA & Footer --- */
.final-cta-box {
    padding: 60px 30px;
    border: 1px solid var(--color-cyan);
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.final-cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 36px;
}

.main-footer {
    background: #04070e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 16px 0 20px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-cyan);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-cyan);
}

.footer-info-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-bottom {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-badge-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #25d366;
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background: rgba(9, 13, 22, 0.9);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 2.5rem; }
    .tech-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        font-size: 1.2rem;
        transition: var(--transition-normal);
    }
    .nav-menu.active { left: 0; }
    .mobile-toggle { display: block; }
    .status-badge { display: none; }
    .hero-title { font-size: 2.1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .simulator-card { padding: 24px 16px; }
    .step-actions { flex-direction: column; }
    .btn-sim-next, .btn-sim-prev { width: 100%; justify-content: center; }
}
