/* ==========================================================================
   DRVCloud Style System - Premium Tech & Cloud Theme
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-main: #070a13;
    --bg-surface: rgba(15, 22, 42, 0.65);
    --bg-surface-solid: #0f172a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.35);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.3);
    
    --gradient-tech: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(90deg, #2563eb, #8b5cf6, #06b6d4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --glass-blur: blur(16px);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrollbar globally */
    background-color: var(--bg-main);
    color: var(--text-primary);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: var(--accent);
}

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

.link-hover-effect {
    color: var(--accent);
    position: relative;
}

.link-hover-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-fast);
}

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

/* Glowing Background Animations */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    top: -10%;
    left: -10%;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--purple-glow);
    bottom: -10%;
    right: -10%;
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

/* Buttons & Interactive Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-tech);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(6, 182, 212, 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);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* Header & Navigation Dropdowns */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 10, 19, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.6rem 0;
    background: rgba(7, 10, 19, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.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(--gradient-tech);
    transition: var(--transition-fast);
}

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

/* Header Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 230px;
    background: rgba(15, 22, 42, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dropdown-item:hover {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.08);
    padding-left: 1.1rem;
}

.dropdown-item.active {
    color: var(--accent);
    background: rgba(6, 182, 212, 0.05);
    font-weight: 500;
}

.dropdown-item i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.header-phone-wrapper {
    margin-left: 0.25rem;
    flex-shrink: 0;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--accent);
    border-color: var(--border-hover);
    background: rgba(6, 182, 212, 0.05);
}

.nav-phone i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.btn-client-nav {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 6px;
    color: #a78bfa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-client-nav:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
    color: #fff;
    border-color: transparent;
}

.btn-client-nav i {
    width: 15px;
    height: 15px;
}

.btn-contact-nav {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-contact-nav:hover {
    background: var(--gradient-tech);
    color: #fff;
    border-color: transparent;
}

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

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 580px;
}

/* Active Operational Telemetry bar */
.telemetry-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    font-size: 0.85rem;
    color: #a7f3d0;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.telemetry-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.telemetry-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-sphere-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.25;
    filter: blur(20px);
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.hero-card-floating {
    position: absolute;
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    width: 280px;
}

.hero-card-floating:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.card-floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-floating h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.hero-card-floating p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-1 {
    top: 8%;
    left: 2%;
    animation: floating 6s infinite ease-in-out;
}

.card-2 {
    top: 38%;
    right: 2%;
    animation: floating 8s infinite ease-in-out -2s;
}

.card-3 {
    top: 68%;
    left: 10%;
    animation: floating 7s infinite ease-in-out -4s;
}

.card-floating-icon.pulse {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Sections Common Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

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

.service-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-tech);
    color: #fff;
    transform: rotate(5deg) scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.card-click-tip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .card-click-tip {
    color: var(--accent);
}

/* Methodology Section (How we work) */
.methodology-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.methodology-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.methodology-card:hover {
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.03);
    transform: translateY(-5px);
}

.method-step {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    pointer-events: none;
}

.methodology-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--text-primary);
}

.methodology-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features / Diferenciais Section */
.features {
    padding: 6rem 0;
    position: relative;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-content .section-title {
    text-align: left;
}

.features-content .section-desc {
    margin: 0;
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

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

.features-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tech-stack-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.tech-stack-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tech-stack-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tech-stack-card .card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Certifications Badge list styling */
.certifications-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.cert-item:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(6, 182, 212, 0.04);
    transform: translateX(3px);
}

.cert-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Client Portal Promotion Card (Home teaser) */
.portal-teaser-section {
    padding: 4rem 0 6rem;
}

.portal-teaser-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.portal-teaser-grid::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    opacity: 0.3;
    pointer-events: none;
}

.portal-teaser-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.portal-teaser-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mini-dashboard-card {
    background: rgba(3, 5, 10, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    width: 100%;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.dash-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-header .dot.green {
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.dash-header .title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    gap: 0.5rem;
}

.dash-ticket span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.ticket-badge.progress {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.ticket-badge.resolved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Diagnostics Teaser Section on Index */
.diagnostic-teaser {
    padding: 4rem 0;
    position: relative;
}

.teaser-box {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.teaser-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    opacity: 0.3;
    pointer-events: none;
}

.teaser-content {
    max-width: 700px;
    margin: 0 auto;
}

.teaser-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.teaser-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Diagnostic Tool Styling (On diagnostico.html) */
.diagnostic-page-section {
    padding: 10rem 0 6rem;
}

.diagnostic-page-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.diagnostic-page-intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diagnostic-page-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.diagnostic-box {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.diagnostic-steps {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    justify-content: space-between;
}

.diag-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.diag-step.active {
    display: block;
}

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

.step-counter {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.diag-step h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.option-card:hover .option-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.option-card input:checked + .option-content {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.option-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.option-card input:checked + .option-content .option-title {
    color: var(--accent);
}

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

.diag-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.diag-navigation button {
    min-width: 120px;
}

/* Result Panel Styling */
.diagnostic-result {
    animation: fadeInStep 0.5s ease;
}

.diagnostic-result.hidden {
    display: none;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.result-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.result-icon-wrapper.low-risk {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.result-icon-wrapper.medium-risk {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.result-icon-wrapper.high-risk {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.result-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-header h3 {
    font-size: 1.75rem;
}

.result-body {
    margin-bottom: 2.5rem;
}

.result-summary {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.result-checklist {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.result-checklist h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
}

.result-checklist ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-checklist li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.result-checklist li::before {
    content: "⚡";
    flex-shrink: 0;
}

.result-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5);
    flex-grow: 1;
}

.btn-whatsapp:hover {
    background: #128c7e;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    transform: translateY(-2px);
}

.whatsapp-icon {
    font-size: 1.25rem;
}

/* Contact Section / Page Styling */
.contact {
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.contact-page-section {
    padding: 10rem 0 6rem;
}

.contact-page-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-page-intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-page-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info .section-desc {
    margin: 0;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item h5 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-detail-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word; /* Prevent long email overflow */
}

.contact-form-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    width: 100%;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group select option {
    background-color: var(--bg-surface-solid);
    color: #fff;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* ==========================================================================
   Internal Pages Layout Structure (Service Subpages)
   ========================================================================== */
.inner-page-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
    overflow-hidden: hidden;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.inner-hero {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.inner-hero-wrapper {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.inner-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.inner-hero-icon-card {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--shadow-glow);
    justify-self: center;
    flex-shrink: 0;
}

.inner-hero-image-card {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    box-shadow: var(--shadow-premium);
    justify-self: center;
    position: relative;
    overflow: hidden;
}

.inner-hero-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.inner-hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    filter: saturate(1.1) brightness(0.95);
    transition: var(--transition-smooth);
}

.inner-hero-image-card:hover .inner-hero-img {
    transform: scale(1.02);
    filter: saturate(1.2) brightness(1);
}

.whatsapp-btn-icon-svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: #fff;
    transition: var(--transition-fast);
}

.floating-whatsapp:hover .whatsapp-btn-icon-svg {
    transform: scale(1.08);
}

.service-details-section {
    padding: 5rem 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.details-content {
    width: 100%;
}

.details-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.details-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.details-section-block {
    margin-bottom: 3.5rem;
    width: 100%;
}

.details-section-block h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Timeline onboarding vertical steps */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 1rem;
    width: 100%;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 27px;
    width: 1px;
    height: calc(100% - 30px);
    background: var(--border-color);
}

.timeline-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-step .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-solid);
    color: var(--accent);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.timeline-step:hover .step-num {
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.step-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.step-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Data Table custom styles (SLA table) */
.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.15);
    width: 100%;
    display: block;
    -webkit-overflow-scrolling: touch;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th, .custom-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    white-space: nowrap; /* Avoid wrapping that breaks layout */
}

.custom-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-weight: 600;
}

.custom-table td {
    color: var(--text-secondary);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.details-features-box {
    width: 100%;
}

.details-features-box h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.styled-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.styled-list li i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.styled-list h5 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.styled-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.details-sidebar {
    position: sticky;
    top: 6.5rem;
    width: 100%;
}

.sidebar-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    width: 100%;
}

.sidebar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.75rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ==========================================================================
   Thank You / Success Page Layout (obrigado.html)
   ========================================================================== */
.full-screen-center {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-section {
    width: 100%;
}

.success-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.success-checkmark-wrapper {
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.25);
    animation: scaleCheckmark 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

@keyframes scaleCheckmark {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-checkmark i {
    width: 40px;
    height: 40px;
}

.success-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thank-you-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 500px;
}

.thank-you-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.thank-you-actions .btn {
    min-width: 200px;
}

/* ==========================================================================
   Customer Portal Simulated Screens (area-cliente.html)
   ========================================================================== */
.portal-login-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 460px;
    width: 90%;
    box-shadow: var(--shadow-premium);
    animation: fadeInStep 0.4s ease;
}

.portal-login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portal-logo {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
    flex-shrink: 0;
}

.portal-login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.portal-login-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    width: 100%;
}

.remember-me {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.remember-me input {
    cursor: pointer;
}

.forgot-pass:hover {
    color: var(--text-primary);
}

.portal-demo-tip {
    display: flex;
    gap: 0.75rem;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 2rem;
    line-height: 1.4;
}

.portal-demo-tip i {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0.1rem;
}

/* Dashboard Panel Simulation */
.dashboard-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    width: 95%;
    max-width: 1050px;
    box-shadow: var(--shadow-premium);
    animation: fadeInStep 0.5s ease;
}

.dash-welcome-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.dash-welcome-bar h2 {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-demo {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
    margin-bottom: 0;
}

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

.metric-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.metric-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.dash-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    transition: var(--transition-smooth);
    width: 100%;
}

.dash-content-grid.split {
    grid-template-columns: 1.2fr 0.8fr;
}

.dash-tickets-panel {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
}

.tickets-table-wrapper {
    overflow-x: auto;
    width: 100%;
    display: block;
    -webkit-overflow-scrolling: touch;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tickets-table th, .tickets-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    white-space: nowrap;
}

.tickets-table th {
    color: var(--text-muted);
    font-weight: 600;
}

.tickets-table td {
    color: var(--text-secondary);
}

.ticket-row:hover td {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.015);
}

.ticket-row.new-added td {
    background: rgba(37, 99, 235, 0.04);
}

.ticket-subject {
    font-weight: 500;
}

.dash-action-panel {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    animation: slideInPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

@keyframes slideInPanel {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.btn-close-panel {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.btn-close-panel:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* About Quem Somos styles additions */
.about-pillars {
    padding: 4rem 0 6rem;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-certifications {
    padding: 2rem 0 6rem;
}

.about-certifications-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
}

.cert-info-content h3 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.cert-info-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cert-badges-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cert-badge-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    transition: var(--transition-fast);
}

.cert-badge-box:hover {
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.03);
}

.cert-badge-box i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.cert-badge-box h5 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.cert-badge-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Footer Styling */
.footer {
    background: rgba(3, 5, 10, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 10;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-info p i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pulsing Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 150;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulseWhatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulseWhatsapp {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-btn-icon {
    font-size: 1.5rem;
}

/* ==========================================================================
   Logo Image Styles
   ========================================================================== */

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Invert white logo for dark background */
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.nav-logo-img:hover {
    opacity: 0.85;
}

/* Footer logo image */
.footer .logo .nav-logo-img {
    height: 38px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ── Large Tablet / Small Desktop (1024px) ── */
@media (max-width: 1024px) {
    .header-container {
        height: 4rem;
    }

    .header.scrolled {
        padding: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 4rem;
        right: 0;
        width: 280px;
        height: calc(100vh - 4rem);
        background: rgba(7, 10, 19, 0.98);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 1.25rem;
        gap: 1.25rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 99;
        border-left: 1px solid var(--border-color);
        
        /* Slide transition from right */
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav.open {
        transform: translateX(0);
    }

    /* Backdrop styling */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 98;
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

    .nav-backdrop.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
        text-align: left;
    }

    /* Disable desktop hover dropdown behavior on mobile */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        pointer-events: none;
        transform: none !important;
        left: auto !important;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        left: auto !important;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        
        /* Collapsed sub-menu style */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0 0 0 1rem;
        margin: 0;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 400px;
        opacity: 1 !important;
        pointer-events: all !important;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
        background: transparent !important;
        font-size: 0.95rem;
        white-space: normal !important;
        word-break: break-word;
        width: 100%;
    }

    .dropdown-item:hover {
        padding-left: 0.5rem;
    }

    .header-phone-wrapper {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .nav-phone {
        width: 100%;
        justify-content: flex-start;
        padding: 0.6rem 0.8rem;
    }

    .btn-contact-nav {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Structural grids → single column */
    .hero-container,
    .features-wrapper,
    .contact-wrapper,
    .inner-hero-wrapper,
    .details-grid,
    .methodology-grid,
    .about-pillars-grid,
    .about-certifications-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content,
    .inner-hero-content,
    .cert-info-content {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .inner-hero-image-card {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }

    .features-content .section-title,
    .contact-info .section-title {
        text-align: center;
    }

    .features-content .section-desc,
    .contact-info .section-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-details {
        align-items: center;
    }

    .contact-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .details-sidebar {
        position: static;
    }

    .details-content {
        min-width: 0;
    }

    /* Service cards – 2 cols on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pillar cards – 2 cols on tablet */
    .pillar-card-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* About page pillars */
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Table scroll on tablet */
    .table-container {
        overflow-x: auto;
    }
}

/* ── Large Desktop safety ── */
@media (min-width: 1025px) and (max-width: 1250px) {
    .hero-card-floating {
        width: 240px;
    }
    .card-1 { left: -30px; }
    .card-2 { right: -30px; }
    .card-3 { left: 40px; }
}

/* ── Mobile (768px and below) ── */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero-content h1,
    .inner-hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    /* Nav logo smaller on mobile */
    .nav-logo-img {
        height: 36px;
    }

    /* Services: 1 col */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Pillar cards: 1 col */
    .pillar-card-wrapper {
        grid-template-columns: 1fr !important;
    }

    /* About pillars: 1 col */
    .about-pillars-grid {
        grid-template-columns: 1fr !important;
    }

    /* Certifications grid: 1 col */
    .certs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Inner hero image smaller */
    .inner-hero-image-card {
        max-width: 260px;
    }

    .inner-hero-img {
        border-radius: 16px;
    }

    /* Footer layout */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-contact-info p {
        justify-content: center;
    }

    .footer-links ul {
        padding-left: 0;
    }

    .footer-links li {
        display: inline-block;
        margin: 0 0.5rem 0.5rem;
    }

    /* Telemetry bar */
    .telemetry-bar {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.8rem;
        width: 100%;
    }

    .telemetry-text {
        white-space: normal;
        line-height: 1.4;
        text-align: left;
    }

    /* Wrap table cells on mobile */
    .custom-table th, 
    .custom-table td {
        white-space: normal !important;
        word-break: break-word;
    }

    /* Hero actions stack */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    /* Teaser/LGPD boxes */
    .teaser-box,
    .about-certifications-wrapper {
        padding: 2rem 1.25rem;
    }

    /* Diagnostic */
    .diagnostic-box {
        padding: 2rem 1.25rem;
    }

    .diag-step h3 {
        font-size: 1.2rem;
    }

    .result-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-whatsapp,
    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Contact form */
    .contact-form-card,
    .success-card {
        padding: 2rem 1.25rem;
    }

    .thank-you-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Timeline steps */
    .timeline-step {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Sidebar spec items */
    .spec-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Table horizontal scroll */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .custom-table {
        min-width: 500px;
    }

    /* Floating WhatsApp */
    .floating-whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn-icon-svg {
        width: 26px;
        height: 26px;
    }

    /* Stats bar */
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    /* Section padding */
    .features-section,
    .services-section,
    .inner-page-main section {
        padding: 3.5rem 0 !important;
    }

    /* Service card click tip */
    .card-click-tip {
        font-size: 0.8rem;
    }
}

/* ── Small Mobile (480px and below) ── */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-content h1,
    .inner-hero-content h1 {
        font-size: 1.7rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.9rem;
    }

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

    .nav-logo-img {
        height: 32px;
    }

    .certs-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .stat-num {
        font-size: 1.75rem;
    }

    /* Contact details stacked */
    .contact-detail-item {
        text-align: center;
    }

    /* Inner hero image even smaller */
    .inner-hero-image-card {
        max-width: 200px;
    }
}

