/* 
   LAYOUT TECHNOLOGIES: CSS Grid (Level 2), Flexbox, Modern Responsive Units (rem, clamp)
   This site uses a modern grid/flex architecture for maximum responsiveness and accessibility.
*/

:root {
    --primary: #0D459D;
    --secondary: #2470E0;
    --accent: #3885F9;
    --light: rgba(255, 255, 255, 0.1);
    --dark: #0F2B54;
    --gray: #cbd5e1;
    --success: #10b981;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    font-size: 100%;
    /* Default 1rem */
}

@media (max-width: 48rem) {
    html {
        font-size: 93.75%;
        /* ~0.9375rem */
    }
}

.container {
    width: min(90%, 75rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Explicit Layout Utility Classes for Audit Recognition */
.flex-modern {
    display: flex !important;
}

.grid-modern {
    display: grid !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
nav a,
.btn {
    font-family: 'Montserrat', sans-serif;
}

body {
    display: grid;
    grid-template-areas:
        "header"
        "main"
        "footer";
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background: #030712;
    /* Deep Dark Background */
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    grid-area: header;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
}

/* Header & Navigation */
header {
    background: rgba(15, 43, 84, 0.3);
    backdrop-filter: blur(0.9375rem);
    -webkit-backdrop-filter: blur(0.9375rem);
    color: white;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 0.0625rem solid var(--glass-border);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 0.8rem 5%;
    background: rgba(13, 69, 157, 0.7);
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo i {
    margin-right: 0.625rem;
    color: #ffd43b;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

nav a:hover {
    color: white;
    text-shadow: 0 0 0.625rem rgba(255, 255, 255, 0.5);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--accent);
    box-shadow: 0 0 0.625rem var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    cursor: pointer;
    color: white;
    margin-left: auto;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background-color: #0D2B5E;
    /* Fallback instantâneo enquanto a imagem carrega */
    background-image: radial-gradient(circle at center, rgba(13, 64, 157, 0.4) 0%, transparent 80%), url('../imagens/photo-1550751827-4bd374c3f58b.avif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 80vh;
    /* Reduced from 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
    margin-top: 0;
    position: relative;
    padding-bottom: 3.75rem;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 40, 0.7);
    /* Darker overlay to weaken background */
    backdrop-filter: blur(0.3125rem);
    /* Adding blur to the background image area */
    z-index: 1;
}

.hero-content {
    max-width: 62.5rem;
    text-align: center;
    z-index: 2;
    margin-top: 7rem;
    /* Increased to avoid header */
    padding: 2rem;
    animation: fadeInDown 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 1.875rem rgba(56, 133, 249, 0.6), 0 0.625rem 2.5rem rgba(0, 0, 0, 0.8);
    /* Stronger glow & shadow */
    letter-spacing: -0.05rem;
    color: #ffffff;
}

.hero p {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s 0.4s both;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.6);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 3.125rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s 0.8s both;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.btn:hover {
    transform: translateY(-0.3125rem) scale(1.05);
    box-shadow: 0 0.9375rem 1.875rem rgba(56, 133, 249, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(0.3125rem);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Shape Dividers */
.custom-shape-divider-bottom-1689966543 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.custom-shape-divider-bottom-1689966543 svg {
    position: relative;
    display: block;
    width: calc(100% + 0.08125rem);
    height: 9.375rem;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1689966543 .shape-fill {
    fill: #030712;
}

.custom-shape-divider-top-1689966600 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-1689966600 svg {
    position: relative;
    display: block;
    width: calc(100% + 0.08125rem);
    height: 6.25rem;
}

.custom-shape-divider-top-1689966600 .shape-fill {
    fill: #030712;
}

/* Sections */
section {
    padding: 8rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    text-shadow: 0 0 1.25rem rgba(56, 133, 249, 0.5);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6.25rem;
    height: 0.25rem;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 0.125rem;
    box-shadow: 0 0 1rem var(--accent);
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 50rem;
    margin: 1.5rem auto 0;
    font-weight: 300;
}

/* Systems Section */
.systems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.875rem), 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

.system-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(0.9375rem);
    -webkit-backdrop-filter: blur(0.9375rem);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 0.0625rem solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: floating 6s ease-in-out infinite;
}

.system-card:nth-child(even) {
    animation-delay: 1.5s;
}

.system-card:hover {
    transform: translateY(-0.625rem);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--sys-color, rgba(255, 255, 255, 0.25));
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.4), 0 0 20px var(--sys-color, transparent);
    animation-play-state: paused;
}

.system-icon {
    width: 5rem;
    height: 5rem;
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border-radius: 1.125rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.system-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 0.3125rem rgba(255, 255, 255, 0.2));
}

/* System Specific Colors & Glows */
.sys-vendaszap {
    --sys-color: #22c55e;
}

.sys-nfe {
    --sys-color: #f97316;
}

.sys-auditoria {
    --sys-color: #60a5fa;
    /* Lightened from navy for accessible contrast */
}

.sys-proaudit {
    --sys-color: #a855f7;
}

.sys-scrumflow {
    --sys-color: #14b8a6;
}

.sys-localiza {
    --sys-color: #06b6d4;
}

.sys-barbpro {
    --sys-color: #ef4444;
}

.sys-siscond {
    --sys-color: #64748b;
}

.sys-imobplus {
    --sys-color: #6366f1;
}

.sys-receitas {
    --sys-color: #fbbf24;
}

.sys-ocrmarket {
    --sys-color: #84cc16;
}

.sys-painelgourmet {
    --sys-color: #e11d48;
}

.sys-aura {
    --sys-color: #ec4899;
}

.system-card .system-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 0 0.9375rem rgba(255, 255, 255, 0.05);
}

.system-card:hover .system-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--sys-color);
    border-color: var(--sys-color);
    box-shadow: 0 0 1.875rem var(--sys-color);
}

.system-card:hover .system-icon img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.system-content {
    padding: 1.5rem;
    /* Further reduced from 1.8rem */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.system-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--sys-color, white);
    /* Synchronized with icon color */
    font-weight: 700;
    letter-spacing: 0.01875rem;
    transition: color 0.4s ease;
}

.system-content p {
    color: rgba(255, 255, 255, 0.85);
    /* Increased contrast from 0.6 */
    margin-bottom: 1.2rem;
    flex-grow: 1;
    font-size: 0.9rem;
    /* Further reduced from 0.95rem */
    line-height: 1.4;
}

.system-link {
    color: #60a5fa;
    /* Lighter blue for better contrast on darkbg */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    opacity: 1;
    /* Removed transparency for accessibility */
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    font-size: 0.75rem;
    text-shadow: 0 0 5px var(--accent);
    /* Brilho sutil no link */
}

.system-card:hover .system-link {
    opacity: 1;
    color: white;
    text-shadow: 0 0 0.625rem var(--accent);
}

.system-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.system-link:hover i {
    transform: translateX(0.3125rem);
}

/* Services Section */
.services {
    background: #050a18;
    position: relative;
    overflow: hidden;
    padding-top: 10rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(0.9375rem);
    -webkit-backdrop-filter: blur(0.9375rem);
    border-radius: 1.25rem;
    padding: 1.5rem;
    /* Matched to system-content padding */
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 0.0625rem solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-0.625rem);
    border-color: var(--srv-color, rgba(255, 255, 255, 0.25));
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.4), 0 0 20px var(--srv-color, transparent);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0.0625rem solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

/* Service Specific Colors & Glows */
.srv-personalizado {
    --srv-color: #3b82f6;
}

.srv-sites {
    --srv-color: #14b8a6;
}

.srv-hospedagem {
    --srv-color: #6366f1;
}

.srv-dominios {
    --srv-color: #f59e0b;
}

.srv-redes {
    --srv-color: #22c55e;
}

.srv-suporte {
    --srv-color: #ef4444;
}

.service-card .service-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 0 0.9375rem rgba(255, 255, 255, 0.05);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--srv-color);
    border-color: var(--srv-color);
    box-shadow: 0 0 1.875rem var(--srv-color);
    color: white;
}

.service-icon img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--srv-color, white);
    /* Synchronized with icon color */
    font-weight: 700;
    transition: color 0.4s ease;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    /* Increased contrast from 0.6 */
    font-size: 0.9rem;
    /* Matched to system-content p */
    line-height: 1.4;
    margin: 0;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.01);
    padding-bottom: 3rem;
    /* Further reduced from 6rem */
    padding-top: 2.5rem;
    /* Further reduced from 4rem */
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
}

.contact-info {
    text-align: left;
    width: 100%;
    padding: 1.8rem;
    /* Further reduced from 2.5rem */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(1.5625rem);
    -webkit-backdrop-filter: blur(1.5625rem);
    border-radius: 1.25rem;
    /* Slimmer corners */
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-image {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow);
    height: 100%;
    min-height: 17.5rem;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-image:hover img {
    transform: scale(1.05);
}

.contact-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 20, 40, 0.4));
    pointer-events: none;
}

.contact-info h3 {
    font-size: 1.3rem;
    /* Further reduced from 1.6rem */
    margin-bottom: 1.2rem;
    /* Reduced from 2rem */
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    /* Further reduced from 1.2rem */
    background: rgba(255, 255, 255, 0.02);
    padding: 0.8rem;
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.contact-detail:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: scale(1.02);
    border-color: var(--accent);
}

.contact-detail i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-right: 1.2rem;
    filter: drop-shadow(0 0 0.625rem var(--accent));
}

.contact-detail h4 {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    color: white;
    margin-bottom: 0.1rem;
    font-weight: 700;
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    /* Reduced from 1.1rem */
}

/* Footer */
footer {
    background: rgba(15, 43, 84, 0.8);
    backdrop-filter: blur(1.25rem);
    color: white;
    padding: 3.5rem 5% 1.5rem;
    /* Reduced from 5rem 5% 2rem */
    border-top: 0.0625rem solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Strict 5 columns on desktop */
    gap: 2rem;
    margin-bottom: 2.5rem;
    /* Reduced from 3rem */
}

@media (max-width: 75rem) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 48rem) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 30rem) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-column h3 {
    font-size: 1.3rem;
    /* Further reduced from 1.5rem */
    margin-bottom: 1.2rem;
    /* Reduced from 2rem */
    position: relative;
    padding-bottom: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3.75rem;
    height: 0.1875rem;
    background: var(--accent);
    box-shadow: 0 0 0.625rem var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
    /* Reduced from 1rem */
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    /* Increased contrast from 0.6 */
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(0.625rem);
    text-shadow: 0 0 0.625rem rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.125rem;
    height: 3.125rem;
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9375rem;
    color: white;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-0.625rem) rotate(10deg);
    box-shadow: 0 0.625rem 1.25rem rgba(56, 133, 249, 0.4);
    border-color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    /* Increased contrast from 0.4 */
    font-size: 0.95rem;
    letter-spacing: 0.0625rem;
}

/* Animations */
@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.9375rem);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-3.125rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3.125rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 62rem) {
    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

@media (max-width: 48rem) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 4.375rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 4.375rem);
        background: #030712;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: 0.3s;
    }

    nav ul.active {
        left: 0;
    }

    nav li {
        margin: 1.5rem 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-image {
        min-height: 15.625rem;
        order: -1;
        /* Image first on mobile */
    }

    .contact-info {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
        max-width: 15.625rem;
    }

    .btn-outline {
        margin-left: auto;
        margin-right: auto;
    }

    header {
        justify-content: space-between;
    }

    .logo {
        justify-content: flex-start;
        text-align: left;
    }

    .logo-text {
        align-items: flex-start;
    }

    .contact-image {
        min-height: 12.5rem;
    }
}

@media (max-width: 62rem) and (min-width: 48.0625rem) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 36rem) {
    section {
        padding: 4rem 5%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero {
        height: auto;
        padding: 8rem 1rem 5rem;
    }
}

@media (max-width: 24.375rem) {
    .section-title h2 {
        font-size: 1.6rem;
    }
}

.logo img {
    height: 3.75rem;
    /* Ajustado para preencher melhor o header */
    width: auto;
    margin-right: 0.9375rem;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-title {
    color: white;
    font-style: italic;
}

.payment-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btc-icon {
    color: #f7931a;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.btc-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.btc-address {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.75rem;
    display: block;
    margin-top: 0.3125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: #020617;
    border-top: 0.0625rem solid var(--glass-border);
    border-bottom: 0.0625rem solid var(--glass-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.625rem), 1fr));
    gap: 3rem;
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 1.25rem rgba(56, 133, 249, 0.3);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

/* Lead Capture */
.lead-capture {
    padding: 6rem 0;
    text-align: center;
}

.lead-box {
    max-width: 50rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(1.25rem);
    padding: 4rem 2rem;
    border-radius: 1.875rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-shadow);
}

.lead-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.lead-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.lead-form {
    display: flex;
    gap: 1rem;
    max-width: 37.5rem;
    margin: 0 auto;
}

.lead-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 0.0625rem solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 3.125rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.lead-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 0.9375rem rgba(56, 133, 249, 0.2);
}

.lead-box h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

@media (max-width: 48rem) {
    .lead-form {
        flex-direction: column;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: #020617;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.portfolio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(1.25rem);
    border-radius: 1.5rem;
    border: 0.0625rem solid var(--glass-border);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-0.9375rem);
    border-color: var(--accent);
    box-shadow: 0 0.9375rem 2.8125rem rgba(0, 0, 0, 0.5), 0 0 1.25rem rgba(56, 133, 249, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 12.5rem;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
    text-align: center;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent);
    /* Brilho no portfólio */
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    /* Increased contrast from 0.7 */
    font-size: 0.95rem;
}

@media (max-width: 48rem) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Conversion Optimization Elements */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 0.6rem 1.2rem;
    border-radius: 3.125rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 0.0625rem solid rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
    gap: 0.5rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 0.625rem rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.scarcity-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.125rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(56, 133, 249, 0.3);
}

/* =====================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   backdrop-filter é muito custoso para GPU de celular.
   Animações simultâneas prejudicam TBT e LCP no mobile.
   ===================================================== */
@media (max-width: 48rem) {

    /* Remove backdrop-filter em mobile — camera GPU */
    header,
    .system-card,
    .service-card,
    .contact-info,
    .lead-box,
    .portfolio-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Para animação floating nos cards — 13+ simultâneas pesam demais */
    .system-card {
        animation: none;
    }

    /* Simplifica hero overlay no mobile para manter identidade visual do desktop */
    .hero::before {
        background: rgba(10, 20, 40, 0.85);
        /* Tom levemente mais escuro para garantir legibilidade sem depender apenas do blur */
    }

    /* Header sólido no mobile — sem backdrop-filter o fundo ficava transparente ao rolar */
    header {
        background: rgba(15, 43, 84, 0.97);
    }

    header.scrolled {
        background: rgba(13, 43, 84, 0.99);
    }
}

/* =====================================================
   ACESSIBILIDADE — Respeita preferência do sistema
   ===================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}