/* ============================================
   Rafael Especialista em Tecnologia
   Stylesheet
   ============================================ */

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

:root {
    --blue-900: #0a1628;
    --blue-800: #0f2140;
    --blue-700: #142d58;
    --blue-600: #1a3a6e;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-200: #93c5fd;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;

    --silver-100: #f1f5f9;
    --silver-200: #e2e8f0;
    --silver-300: #cbd5e1;
    --silver-400: #94a3b8;
    --silver-500: #64748b;
    --silver-600: #475569;
    --silver-700: #334155;
    --silver-800: #1e293b;

    --white: #ffffff;
    --green-whatsapp: #25d366;
    --green-whatsapp-dark: #128c7e;

    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-secondary: 'Inter', -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--silver-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-900);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0));
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-700);
    border: 2px solid var(--silver-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta {
    background: linear-gradient(135deg, var(--green-whatsapp), var(--green-whatsapp-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    font-size: 17px;
    padding: 16px 36px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    height: 72px;
}

.header.scrolled {
    border-bottom-color: var(--silver-200);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

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

.logo-name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 18px;
    color: var(--blue-900);
    line-height: 1.1;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--silver-500);
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--silver-600);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-600);
    background: var(--blue-50);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--green-whatsapp), var(--green-whatsapp-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--silver-700);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent);
    top: -200px;
    right: -100px;
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    bottom: -100px;
    left: -50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    margin-bottom: 28px;
}

.hero-badge i {
    font-size: 12px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--silver-500);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--silver-500);
}

.hero-stat i {
    color: var(--blue-400);
    font-size: 16px;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-500);
    background: var(--blue-50);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--silver-500);
    line-height: 1.7;
}

/* --- Services Grid --- */
.section--services {
    background: var(--silver-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--silver-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--blue-500);
    font-size: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: var(--silver-500);
    line-height: 1.6;
}

/* --- Diferenciais --- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.diff-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--silver-200);
    transition: var(--transition);
    position: relative;
    background: var(--white);
}

.diff-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
}

.diff-number {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 800;
    color: var(--blue-400);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.diff-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
}

.diff-card p {
    font-size: 14px;
    color: var(--silver-500);
    line-height: 1.6;
}

/* --- Empresas --- */
.section--empresas {
    background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
    color: var(--white);
}

.empresas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section--empresas .section-tag {
    background: rgba(37, 99, 235, 0.2);
    color: var(--blue-300);
}

.section--empresas h2 {
    color: var(--white);
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 20px;
}

.section--empresas p {
    color: var(--silver-300);
    margin-bottom: 16px;
    line-height: 1.7;
}

.empresas-list {
    margin: 24px 0 32px;
}

.empresas-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--silver-200);
}

.empresas-list li i {
    color: var(--blue-400);
    font-size: 14px;
    flex-shrink: 0;
}

.empresas-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.empresas-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.empresas-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.empresas-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue-300);
    font-size: 22px;
}

.empresas-card h3 {
    color: var(--white);
    font-size: 17px;
    margin-bottom: 8px;
}

.empresas-card p {
    font-size: 13px;
    color: var(--silver-400);
    margin-bottom: 0;
}

/* --- Suporte --- */
.section--suporte {
    background: var(--silver-100);
}

.suporte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.suporte-card {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.suporte-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.suporte-card--presencial {
    border-color: var(--blue-200);
    background: linear-gradient(180deg, var(--blue-50), var(--white));
}

.suporte-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.suporte-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 24px;
}

.suporte-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.suporte-card p {
    font-size: 15px;
    color: var(--silver-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.suporte-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--silver-600);
}

.suporte-features li i {
    color: var(--blue-500);
    font-size: 14px;
}

/* --- Preventiva --- */
.preventiva-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.preventiva-diagram {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.preventiva-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.preventiva-center i {
    font-size: 28px;
    margin-bottom: 6px;
}

.preventiva-center span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.preventiva-ring {
    position: absolute;
    inset: 0;
    animation: ringRotate 30s linear infinite;
}

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

.preventiva-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    background: var(--white);
    border: 2px solid var(--silver-200);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    animation: ringCounterRotate 30s linear infinite;
}

.preventiva-node i {
    font-size: 20px;
    color: var(--blue-500);
}

.preventiva-node span {
    font-size: 10px;
    font-weight: 600;
    color: var(--silver-600);
}

.preventiva-node:nth-child(1) { transform: rotate(0deg) translateY(-170px) rotate(0deg); }
.preventiva-node:nth-child(2) { transform: rotate(60deg) translateY(-170px) rotate(-60deg); }
.preventiva-node:nth-child(3) { transform: rotate(120deg) translateY(-170px) rotate(-120deg); }
.preventiva-node:nth-child(4) { transform: rotate(180deg) translateY(-170px) rotate(-180deg); }
.preventiva-node:nth-child(5) { transform: rotate(240deg) translateY(-170px) rotate(-240deg); }
.preventiva-node:nth-child(6) { transform: rotate(300deg) translateY(-170px) rotate(-300deg); }

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

.preventiva-content .section-tag {
    margin-bottom: 16px;
}

.preventiva-content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 20px;
}

.preventiva-content p {
    font-size: 16px;
    color: var(--silver-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.preventiva-list {
    margin: 24px 0 32px;
}

.preventiva-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--silver-600);
}

.preventiva-list li i {
    color: var(--blue-500);
    font-size: 14px;
    flex-shrink: 0;
}

/* --- Sobre --- */
.section--sobre {
    background: var(--silver-100);
}

.sobre-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-content .section-tag {
    margin-bottom: 16px;
}

.sobre-content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 20px;
}

.sobre-content p {
    font-size: 16px;
    color: var(--silver-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.sobre-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.sobre-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--silver-200);
}

.sobre-highlight i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    color: var(--blue-500);
    border-radius: var(--radius-sm);
    font-size: 16px;
    flex-shrink: 0;
}

.sobre-highlight strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 2px;
}

.sobre-highlight span {
    font-size: 13px;
    color: var(--silver-500);
}

.sobre-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sobre-float-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--silver-200);
    transition: var(--transition);
}

.sobre-float-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.sobre-float-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    color: var(--blue-500);
    border-radius: var(--radius-md);
    font-size: 18px;
    flex-shrink: 0;
}

.sobre-float-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 2px;
}

.sobre-float-card span {
    font-size: 13px;
    color: var(--silver-500);
}

/* --- Contato --- */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contato-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--silver-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--silver-200);
}

.contato-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contato-info-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contato-info-card p {
    font-size: 14px;
    color: var(--silver-500);
}

.contato-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-500);
    margin-top: 6px;
}

.contato-link:hover {
    color: var(--blue-700);
    gap: 10px;
}

.contato-form-wrapper {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contato-form h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--silver-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--silver-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* --- CTA Final --- */
.section--cta {
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--silver-300);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--blue-900);
    color: var(--silver-300);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand .logo-name {
    color: var(--white);
}

.footer-brand .logo-sub {
    color: var(--silver-400);
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-links li {
    font-size: 14px;
    color: var(--silver-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--silver-500);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--green-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--silver-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-primary);
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Reveal Animation --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .empresas-layout,
    .preventiva-layout,
    .sobre-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-2xl);
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: var(--radius-md);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        font-size: 13px;
    }

    .section {
        padding: 70px 0;
    }

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

    .service-card {
        padding: 24px 20px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .suporte-grid {
        grid-template-columns: 1fr;
    }

    .suporte-card {
        padding: 32px 24px;
    }

    .preventiva-diagram {
        max-width: 320px;
    }

    .preventiva-node {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
    }

    .preventiva-node i {
        font-size: 16px;
    }

    .preventiva-node span {
        font-size: 9px;
    }

    .preventiva-node:nth-child(1) { transform: rotate(0deg) translateY(-130px); }
    .preventiva-node:nth-child(2) { transform: rotate(60deg) translateY(-130px); }
    .preventiva-node:nth-child(3) { transform: rotate(120deg) translateY(-130px); }
    .preventiva-node:nth-child(4) { transform: rotate(180deg) translateY(-130px); }
    .preventiva-node:nth-child(5) { transform: rotate(240deg) translateY(-130px); }
    .preventiva-node:nth-child(6) { transform: rotate(300deg) translateY(-130px); }

    .sobre-layout {
        gap: 32px;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .whatsapp-float-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .empresas-visual {
        grid-template-columns: 1fr;
    }

    .contato-form-wrapper {
        padding: 24px 20px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
