/* ==========================================================
LMARTINS | Performance Digital
Versão Elite (Projeto 15k) - Otimizado para Mobile & Conversão
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Calibradas para Contraste e Profundidade */
    --background: #030407; /* Preto mais profundo, puxado pro azul/metálico */
    --background-2: #0a0e17; /* Elevação 1 */
    --card: rgba(15, 20, 30, 0.4); /* Fundo translúcido (Glass) */
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #38bdf8;
    --glow: rgba(37, 99, 235, 0.4);
    
    --text: #f8fafc;
    --text2: #cbd5e1;
    --text3: #94a3b8;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.3);
    
    --radius: 20px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Tipografia Importada no HTML */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Tipografia Fluida (Escala perfeitamente entre Mobile e Desktop) */
    --h1-size: clamp(2.2rem, 5vw + 1rem, 4.5rem);
    --h2-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
    --h3-size: clamp(1.2rem, 2vw + 1rem, 1.8rem);
}

html, body {
    overflow-x: hidden; /* Previne scroll horizontal acidental no celular */
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Deixa a fonte mais fina e elegante no Mac/iOS */
}

/* =======================================
DETALHES DE ELITE (SCROLLBAR E SELEÇÃO)
======================================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--background);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::selection {
    background: var(--primary);
    color: #fff;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.container {
    width: min(1280px, 90%);
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* =======================================
UTILITIES AVANÇADOS
======================================= */
.text-gradient {
    background: linear-gradient(90deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.tag {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 100px;
    background: #101827;
    border: 1px solid rgba(59,130,246,.25);
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =======================================
HEADER & NAVIGATION (CRO RESPONSIVO)
======================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    z-index: 999;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
}

.logo-blue {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--text3);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: white;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Menu Toggle (Oculto no Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    z-index: 1002; /* Sempre acima da gaveta mobile */
    transition: var(--transition);
}

/* =======================================
BOTÕES
======================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37,99,235,.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37,99,235,.45);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* =======================================
HERO SECTION (FOTO E APRESENTAÇÃO)
======================================= */
.hero {
    padding-top: 180px;
    padding-bottom: 110px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: .08;
    filter: blur(150px);
    right: -100px;
    top: -100px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: var(--h1-size); /* Correção de tipografia fluida */
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text2);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.hero-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hero-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text2);
}

.hero-list i {
    color: var(--secondary);
    font-size: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 440px;
    width: 100%;
    border-radius: 24px;
}

/* =====================================================
CLIENTES (LOGOS/TECNOLOGIAS)
===================================================== */
.clients {
    padding: 70px 0;
    background: var(--background-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-title {
    text-align: center;
    font-size: 15px;
    color: var(--text3);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.clients-grid div {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 10px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text3);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.clients-grid div:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    color: var(--text);
    background: rgba(37, 99, 235, 0.05);
}

/* =====================================================
NÚMEROS
===================================================== */
.numbers {
    padding: 100px 0;
    background: var(--background);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.number-card {
    background: var(--card);
    padding: 40px 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.number-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 40px rgba(37,99,235,.12);
}

.number-card h2 {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 8px;
    font-weight: 800;
}

.number-card span {
    color: var(--text3);
    font-size: 15px;
    font-weight: 500;
}

/* =====================================================
DASHBOARD (ESTILO TECNOLÓGICO GA4)
===================================================== */
.dashboard {
    padding: 110px 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: stretch;
    margin-top: 40px;
}

.dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dash-card.large {
    padding: 35px;
}

.dash-card span {
    color: var(--text3);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-card h3 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin: 6px 0;
}

.dash-card small {
    color: #22c55e;
    font-weight: 700;
    font-size: 13px;
}

.progress {
    background: #1a1a1a;
    height: 8px;
    border-radius: 100px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 88%;
    height: 100%;
    border-radius: 100px;
    animation: pulseGlow 2s infinite alternate ease-in-out;
}

.dashboard-right {
    height: 100%;
}

.graph-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.graph-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.graph-header span {
    color: var(--text3);
    font-size: 13px;
}

.chart-wrapper {
    overflow: hidden;
}

.chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.chart polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawChart 3s forwards ease-in-out;
}

/* =====================================================
CASES / PORTFÓLIO
===================================================== */
.cases {
    padding: 110px 0;
    background: #080808;
    border-top: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: var(--h2-size); /* Ajuste dinâmico */
    margin: 15px 0;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: var(--text3);
    font-size: 18px;
    line-height: 1.6;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.3);
}

.case-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    filter: brightness(0.9) grayscale(15%);
    transition: var(--transition);
}

.case-card:hover img {
    filter: brightness(1) grayscale(0%);
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.case-content p {
    color: var(--text2);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.case-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.case-content li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text3);
    font-weight: 500;
}

.case-content a {
    color: var(--secondary);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.case-content a:hover {
    gap: 10px;
    color: var(--primary);
}

/* =====================================================
POR QUE A LMARTINS (DIFERENCIAIS)
===================================================== */
.why {
    padding: 110px 0;
    background: var(--background-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why .container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}

.why-left h2 {
    font-size: var(--h2-size); /* Tipografia fluida */
    font-weight: 800;
    line-height: 1.2;
    margin: 15px 0 25px 0;
    letter-spacing: -1.5px;
}

.why-left p {
    color: var(--text2);
    font-size: 17px;
    line-height: 1.7;
}

.why-left strong {
    color: var(--primary);
    font-weight: 700;
}

.why-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-card {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
}

.why-card h3 {
    color: rgba(37, 99, 235, 0.15);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.why-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.why-card p {
    color: var(--text3);
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================
MÉTODO PROPRIETÁRIO A.T.E.N.D.E. (GRID DESIGN)
===================================================== */
.method {
    padding: 110px 0;
    background: var(--background);
}

.timeline-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-premium {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.step-premium:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.circle-letter {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary);
    color: var(--text);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.step-subtitle {
    font-size: 12px;
    color: var(--text3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-premium h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.step-premium p {
    color: var(--text2);
    font-size: 14.5px;
    line-height: 1.6;
}

/* =========================================================
SEÇÃO DE SERVIÇOS PREMIUM (MÁQUINA DE VENDAS 15K)
========================================================= */
.services-section {
    padding: 110px 0;
    background-color: var(--background-2);
    border-top: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.service-premium-card {
    background: rgba(15, 20, 30, 0.4); /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 60%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    pointer-events: none;
}

.service-premium-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-premium-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 24px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.service-premium-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.service-premium-card p {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.service-tech-badges span {
    background-color: var(--background);
    color: var(--text3);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* =========================================================
SOBRE O FUNDADOR
========================================================= */
.about-section {
    padding: 110px 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: var(--h2-size); /* Tipografia fluida */
    font-weight: 800;
    margin: 15px 0 25px 0;
    letter-spacing: -1px;
}

.about-content p {
    color: var(--text2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.about-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
}

.about-feat-item i {
    color: var(--primary);
    font-size: 16px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-glow-wrapper {
    position: relative;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--border) 0%, rgba(37,99,235,0.3) 100%);
}

.about-image img {
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
}

/* =========================================================
FAQ ACCORDION NATIVO
========================================================= */
.faq-section {
    padding: 110px 0;
    background: var(--background-2);
    border-top: 1px solid var(--border);
}

.faq-accordion {
    max-width: 800px;
    margin: 45px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.faq-question {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    color: var(--text3);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 28px 22px 28px;
    color: var(--text2);
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
    border-top-color: rgba(255,255,255,0.03);
}

/* =========================================================
CTA FINAL
========================================================= */
.cta-final {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--background) 0%, #080d1a 100%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--primary);
    opacity: 0.08;
    filter: blur(120px);
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: var(--h2-size); /* Tipografia fluida */
    font-weight: 800;
    max-width: 800px;
    margin: 20px auto;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.cta-final p {
    color: var(--text2);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.cta-actions .btn-primary {
    gap: 10px;
    font-size: 16px;
    padding: 16px 32px;
}

/* =========================================================
FOOTER
========================================================= */
.footer {
    background: #030303;
    border-top: 1px solid var(--border);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand p {
    color: var(--text3);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 340px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text3);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text3);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 25px 0;
}

.footer-copy {
    text-align: center;
    color: #555;
    font-size: 13px;
}

/* =========================================================
BOTÃO FLUTUANTE DO WHATSAPP
========================================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* =========================================================
SEÇÃO COMPARATIVA (TABELA DE ALTO TICKET)
========================================================= */
.comparison-section {
    padding: 110px 0;
    background: var(--background-2);
    border-top: 1px solid var(--border);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
}

.comparison-column {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 45px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.comparison-column.lmartins-premium {
    border-color: rgba(37, 99, 235, 0.4);
    background: linear-gradient(145deg, rgba(15, 20, 30, 0.6) 0%, rgba(5, 8, 15, 0.8) 100%);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
}

.comparison-column.lmartins-premium:hover {
    border-color: var(--secondary);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.15);
    transform: translateY(-5px);
}

.column-badge {
    position: absolute;
    top: -15px;
    right: 35px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.column-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.column-header h3 {
    font-size: 26px;
    color: var(--text);
    margin-bottom: 8px;
}

.traditional .column-header h3 {
    color: var(--text3);
}

.column-header p {
    font-size: 14px;
    color: var(--text3);
}

.comparison-column ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.comparison-column li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--text2);
}

.close-icon {
    color: #ef4444;
    font-size: 18px;
    margin-top: 3px;
}

.check-icon {
    color: #22c55e;
    font-size: 18px;
    margin-top: 3px;
}

/* =========================================================
ANIMAÇÕES EXCLUSIVAS (GLOW & DRAW)
========================================================= */
@keyframes pulseGlow {
    0% { opacity: 0.6; box-shadow: 0 0 10px rgba(37, 99, 235, 0.2); }
    100% { opacity: 1; box-shadow: 0 0 25px rgba(56, 189, 248, 0.5); }
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

/* =========================================================
ESTILOS DO MODAL INTERATIVO (GLASSMORPHISM PREMIUM)
========================================================= */
.modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-card {
    background: rgba(15, 20, 30, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius);
    width: min(550px, 90%);
    padding: 45px 35px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #ff4a4a;
    border-color: rgba(255, 74, 74, 0.3);
    transform: rotate(90deg);
}

.modal-tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#modal-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 800;
}

#modal-description {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-action-wrapper {
    display: flex;
    justify-content: flex-start;
}

.modal-action-wrapper .btn-primary {
    width: 100%;
    padding: 15px 30px;
    gap: 10px;
}

/* =========================================================
ESTILOS ADICIONAIS DE INTERAÇÃO
========================================================= */
.header.scrolled {
    background: rgba(3, 4, 7, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    height: 70px;
}

.hidden-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   SISTEMA DE RESPONSIVIDADE DE PERFORMANCE (MEDIA QUERIES)
   ========================================================== */

/* TABLETS E DISPOSITIVOS MÉDIOS (< 991px) */
@media (max-width: 991px) {
    /* Header Mobile Premium */
    .header {
        height: 75px;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Esconde o menu desktop tradicional */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%; /* Inicia escondido à esquerda (Gaveta lateral) */
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(3, 4, 7, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.8);
        border-right: 1px solid var(--border);
        padding: 100px 30px 40px 30px;
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0; /* Desliza para dentro da tela */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 18px;
        display: block;
    }

    /* Mostra o botão hambúrguer */
    .menu-toggle {
        display: block;
    }

    /* Ajuste de Botões do Cabeçalho Mobile para não quebrar espaço */
    .header-buttons .btn-outline {
        display: none !important; /* Esconde o botão secundário no header */
    }

    .header-buttons .btn-primary {
        padding: 10px 18px;
        font-size: 13px;
        box-shadow: none;
    }

    /* Hero Section */
    .hero {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-image {
        order: -1; /* Joga a sua foto para o topo (gatilho de autoridade imediato) */
        margin-bottom: 10px;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-list {
        max-width: 450px;
        margin: 0 auto;
    }

    /* Grid de Clientes (Tecnologias) */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Grid de Números */
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Cases */
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Por que a LMartins */
    .why .container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .why-right {
        gap: 15px;
    }

    /* Tabela Comparativa */
    .comparison-table {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .column-badge {
        top: -12px;
        right: 20px;
    }

    /* Linha do Tempo (Método) */
    .timeline-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sobre o Fundador */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-features {
        align-items: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand p {
        margin: 15px auto 0 auto;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* SMARTPHONES (< 576px) */
@media (max-width: 576px) {
    .container {
        width: 88%;
    }

    /* Esconde botões no topo para focar puramente no Logo e Hambúrguer */
    .header-buttons {
        display: none !important;
    }

    /* Ajustes Finos de Botões no Hero */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero-list {
        grid-template-columns: 1fr;
        max-width: 250px;
        text-align: left;
    }

    /* Tecnologias */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Números */
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    /* Dashboard */
    .dash-row {
        grid-template-columns: 1fr;
    }

    .dash-card h3 {
        font-size: 32px;
    }

    /* Cases */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* Por que LMartins Cards */
    .why-right {
        grid-template-columns: 1fr;
    }

    /* Método A.T.E.N.D.E. */
    .timeline-premium {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sobre o Fundador */
    .about-image img {
        max-width: 260px;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 18px 20px;
        font-size: 14px;
    }

    /* WhatsApp Flutuante */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}
/* =========================================================
   SLIDER HORIZONTAL DA METODOLOGIA A.T.E.N.D.E. (< 576px)
   ========================================================= */
@media (max-width: 576px) {
    .timeline-premium {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 5px 25px 5px !important;
        scroll-padding: 5px !important;
        -webkit-overflow-scrolling: touch; /* Rolagem ultra-suave no iOS/Safari */
    }

    .step-premium {
        flex: 0 0 85% !important; /* Mostra o card atual e a "ponta" do próximo, induzindo o scroll */
        scroll-snap-align: start !important;
        min-height: 280px !important;
    }

    /* Scrollbar horizontal discreta e tecnológica */
    .timeline-premium::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .timeline-premium::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .timeline-premium::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   SLIDER HORIZONTAL DOS CARDS COMPARATIVOS (< 576px)
   ========================================================= */
@media (max-width: 576px) {
    .comparison-table {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 25px 5px 30px 5px !important; /* Espaço extra no topo para o badge "RECOMENDADO" não cortar */
        scroll-padding: 5px !important;
        -webkit-overflow-scrolling: touch; /* Rolagem ultra-suave no iOS */
    }

    .comparison-column {
        flex: 0 0 86% !important; /* Mostra o card atual e instiga o swipe exibindo 14% do próximo card */
        scroll-snap-align: start !important;
        min-height: auto !important;
    }

    /* Ajuste para o badge "RECOMENDADO" não ficar escondido ou desalinhado no slider */
    .column-badge {
        top: -12px !important;
        right: 20px !important;
    }

    /* Scrollbar horizontal discreta para a tabela comparativa */
    .comparison-table::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .comparison-table::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .comparison-table::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   SEÇÃO DE DEPOIMENTOS GOOGLE REVIEWS (CRO & SPEED FOCUS)
   ========================================================= */
.reviews-section {
    padding: 110px 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.reviews-stats {
    max-width: 700px;
}

.reviews-stats h2 {
    font-size: var(--h2-size);
    margin: 15px 0 25px 0;
    letter-spacing: -1.5px;
}

.google-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 15px 25px;
    border-radius: 12px;
    width: fit-content;
}

.google-icon-logo {
    width: 32px;
    height: 32px;
}

.summary-stars {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-num {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-title);
    color: var(--text);
}

.summary-stars .stars i {
    color: #f1c40f;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--text3);
    margin-top: 4px;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-5px);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.user-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.user-info p {
    font-size: 12px;
    color: var(--text3);
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.review-stars i {
    color: #f1c40f;
    font-size: 12px;
}

.verified-badge {
    margin-left: auto;
    font-size: 11px;
    color: #22c55e;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-text {
    color: var(--text2);
    font-size: 14.5px;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

/* RESPONSIVIDADE E SLIDER MOBILE PARA DEPOIMENTOS */
@media (max-width: 991px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .reviews-cta-wrapper {
        width: 100%;
    }
    
    .reviews-cta-wrapper .btn-outline {
        width: 100%;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .reviews-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 15px 25px 15px !important;
        scroll-padding: 15px !important;
        justify-content: flex-start !important; /* Começa perfeitamente alinhado à esquerda */
        -webkit-overflow-scrolling: touch;
    }

    .review-card {
        flex: 0 0 85% !important;
        min-width: 0 !important; /* Reseta os limites rígidos do desktop */
        max-width: none !important;
        scroll-snap-align: start !important;
        min-height: 290px !important;
    }
}

    /* Scrollbar horizontal discreta */
    .reviews-grid::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .reviews-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .reviews-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   CENTRALIZAÇÃO DO CABEÇALHO DE DEPOIMENTOS (ELITE CRO)
   ========================================================= */
.reviews-header {
    justify-content: center !important;
    text-align: center !important;
}

.reviews-stats {
    max-width: 850px !important; /* Aumentado ligeiramente para o título respirar melhor centralizado */
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centraliza horizontalmente a tag, o h2 e o card do Google */
}

/* Força o alinhamento central também nas regras de Tablets e Celulares */
@media (max-width: 991px) {
    .reviews-header {
        align-items: center !important;
    }
}
/* =========================================================
   CORREÇÃO CIRÚRGICA: CENTRALIZAÇÃO DO TEXTO DO H2
   ========================================================= */
.reviews-stats h2 {
    text-align: center !important;
}
/* =========================================================
   CORREÇÃO CIRÚRGICA: CENTRALIZAÇÃO DO TEXTO DO H2
   ========================================================= */
.reviews-stats h2 {
    text-align: center !important;
}
/* =========================================================
   ESTILOS DO PORTFÓLIO INTERATIVO (MODAL DE CASES ELITE)
   ========================================================= */
.btn-open-case {
    background: none;
    border: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin-top: 15px;
    padding: 0;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-open-case:hover {
    gap: 10px;
    color: var(--primary);
}

/* Customização do card interno do modal para os cases */
.case-modal-card {
    max-width: 650px !important;
    border: 1px solid rgba(37, 99, 235, 0.3) !important; /* Borda sutil azul metálica */
}

.case-modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    text-align: left;
}

.case-modal-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-modal-block p {
    color: var(--text2);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Bloco de resultados com destaque em verde oliva (Gatilho de Lucro/ROI) */
.highlight-block {
    background: rgba(34, 197, 94, 0.04) !important;
    border: 1px dashed rgba(34, 197, 94, 0.2) !important;
    padding: 20px;
    border-radius: 12px;
}

.highlight-block p {
    color: #a7f3d0 !important;
    font-weight: 600;
}
/* =========================================================
   CORREÇÕES DE PERFORMANCE: CTA E RODAPÉ MOBILE
   ========================================================= */

/* Força a centralização real do texto do título no CTA Final */
.cta-final h2 {
    text-align: center !important;
}

/* Transforma o submenu vertical do rodapé em horizontal no celular */
@media (max-width: 576px) {
    .footer-links ul {
        flex-direction: row !important; /* Coloca os links lado a lado */
        justify-content: center !important; /* Centraliza o bloco de links */
        flex-wrap: wrap !important; /* Permite quebrar linha se a tela for muito pequena */
        gap: 20px !important; /* Espaçamento confortável para o clique do dedo */
    }
}
/* =========================================================
   SLIDER HORIZONTAL DA SEÇÃO DE SERVIÇOS PREMIUM (< 576px)
   ========================================================= */
@media (max-width: 576px) {
    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 15px 25px 15px !important; /* Respira a sombra e o scrollbar */
        scroll-padding: 15px !important;
        justify-content: flex-start !important; /* Inicia perfeitamente alinhado à esquerda */
        -webkit-overflow-scrolling: touch; /* Rolagem lisa no iOS */
    }

    .service-premium-card {
        flex: 0 0 85% !important; /* Exibe 85% do card e a ponta do próximo, estimulando o swipe */
        min-width: 0 !important; /* Reseta as travas rígidas do desktop */
        max-width: none !important;
        scroll-snap-align: start !important;
        min-height: 350px !important; /* Mantém a altura dos cards simétrica mesmo com textos de tamanhos diferentes */
    }

    /* Scrollbar horizontal discreta e tecnológica para os serviços */
    .services-grid::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .services-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .services-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   SLIDER HORIZONTAL DOS CARD DE DIFERENCIAIS (< 576px)
   ========================================================= */
@media (max-width: 576px) {
    .why-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 15px 25px 15px !important; /* Garante que a sombra e a barra respirem */
        scroll-padding: 15px !important;
        justify-content: flex-start !important; /* Alinha perfeitamente o primeiro card à esquerda */
        -webkit-overflow-scrolling: touch; /* Rolagem nativa ultra-lisa no iOS */
    }

    .why-card {
        flex: 0 0 85% !important; /* Mantém o padrão de indução visual (mostra a ponta do próximo card) */
        min-width: 0 !important; /* Desarma travas rígidas herdadas */
        max-width: none !important;
        scroll-snap-align: start !important;
        text-align: left !important; /* Força o texto interno do card a ficar alinhado e legível */
        min-height: 220px !important; /* Mantém a simetria de altura entre os 4 diferenciais */
    }

    /* Scrollbar horizontal discreta e tecnológica para os diferenciais */
    .why-right::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .why-right::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .why-right::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   SLIDER HORIZONTAL DA SEÇÃO DE CASES / PORTFÓLIO (< 576px)
   ========================================================= */
@media (max-width: 576px) {
    .cases-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 15px 25px 15px !important; /* Espaço inferior para sombra e scrollbar */
        scroll-padding: 15px !important;
        justify-content: flex-start !important; /* Alinha perfeitamente o primeiro card à esquerda */
        -webkit-overflow-scrolling: touch; /* Rolagem nativa ultra-lisa no iOS */
    }

    .case-card {
        flex: 0 0 85% !important; /* Mantém o padrão de 85% (indução visual ao arrastar) */
        min-width: 0 !important; /* Remove travas de tamanho rígido */
        max-width: none !important;
        scroll-snap-align: start !important;
        min-height: 480px !important; /* Garante altura simétrica para imagem + tags + textos + botão */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* Ajuste para a imagem do case não distorcer no carrossel mobile */
    .case-card img {
        height: 180px !important; /* Reduz ligeiramente a altura da foto no celular para sobrar espaço para o texto */
        object-fit: cover !important;
    }

    /* Scrollbar horizontal discreta e tecnológica para os cases */
    .cases-grid::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .cases-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
    }
    
    .cases-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
        border-radius: 10px !important;
    }
}
/* =========================================================
   INTERFACE DE SOFTWARE REAL (DASHBOARD CASE VIEW)
   ========================================================= */
.graph-card.software-ui {
    background: #060913 !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: inset 0 0 20px rgba(37, 99, 235, 0.05), 0 25px 50px rgba(0,0,0,0.5);
    padding: 30px !important;
}

.software-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.software-section h4 {
    font-size: 13px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.software-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 14px;
    font-weight: 600;
}

.software-row .label {
    color: var(--text2);
}

.software-row .value {
    color: var(--text);
    font-font-family: var(--font-title);
}

/* Gráficos de Barra de Cidades */
.software-bar-group {
    margin-bottom: 12px;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 600;
}

.bar-info span {
    color: var(--text2);
}

.bar-info strong {
    color: var(--text);
}

.bar-track {
    background: rgba(255, 255, 255, 0.03);
    height: 6px;
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    border-radius: 100px;
}
/* =========================================================
   GRID 2X2 PARA ESTATÍSTICAS NO MOBILE (< 576px) - REAL
   ========================================================= */
@media (max-width: 576px) {
    .numbers-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Força 2 colunas lado a lado */
        gap: 12px !important;
        padding: 0 15px !important;
    }
    
    .number-card {
        padding: 20px 10px !important; /* Ajusta o respiro interno para telas pequenas */
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .number-card h2 {
        font-size: 32px !important; /* Reduz o tamanho do número (+150, +5M) para não quebrar linha */
        margin-bottom: 5px !important;
    }

    .number-card span {
        font-size: 12px !important; /* Deixa a legenda legível e compacta */
        line-height: 1.3 !important;
        text-align: center !important;
        display: block !important;
    }
}
/* Garante que o clique seja registrado no botão pai mantendo o hover/rotação ativo */
.modal-close * {
    pointer-events: none;
}
/* Efeito de Ação nos Cards Clicáveis da Home */
a.service-premium-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-link-btn {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: var(--transition);
}

.service-premium-card:hover .service-link-btn {
    color: #ffffff;
    transform: translateX(6px);
}