/* =================================================================
   VERSÁTIL SISTEMAS - Folha de estilo
   Estilo: Corporativo e profissional
   ================================================================= */

/* RESET & BASE
   ================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #0a2540;
    --color-primary-dark: #061a2e;
    --color-accent: #0066cc;
    --color-accent-light: #1a85ff;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --color-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-soft: #f7f9fc;
    --color-bg-alt: #eef3f9;
    --color-border: #e5e7eb;
    --color-success: #16a34a;
    --color-error: #dc2626;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
    --shadow: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);

    --container-width: 1200px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* LAYOUT
   ================================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.section-paragraph {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* BUTTONS
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.btn-light:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* HEADER
   ================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all var(--transition);
}

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

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

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

/* Logo no rodapé: fundo branco arredondado para contraste */
.footer .logo {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
}

.footer .logo-img {
    height: 56px;
}

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

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

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

.nav-link:hover {
    color: var(--color-accent);
}

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

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

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition);
}

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

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

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

/* HERO
   ================================================================= */
.hero {
    padding: 184px 0 100px;
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 204, 0.08);
    color: var(--color-accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
}

/* HERO VISUAL - Dashboard Screenshot */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

/* Selo "Visão em tempo real" sobre o painel */
.mock-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: var(--shadow);
    z-index: 2;
    align-self: flex-end;
    margin-right: 8px;
    margin-bottom: -8px;
}

.mock-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.dashboard-screenshot {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    line-height: 0;
}

.dashboard-screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

/* CARROSSEL DE TELAS DO SISTEMA
   ================================================================= */
.screen-carousel {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    line-height: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1357 / 750;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(10, 37, 64, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.15);
}

.carousel-dots .dot.is-active {
    background: #ffffff;
    width: 22px;
    border-radius: 999px;
}

/* Fallback para Safari antigo (sem aspect-ratio) */
@supports not (aspect-ratio: 1) {
    .carousel-track::before {
        content: '';
        display: block;
        padding-top: 55.27%; /* 750/1357 */
    }
    .carousel-track {
        position: relative;
    }
}

/* Mantém compatibilidade com regras antigas */
.dashboard-mock {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}

.mock-header span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
}

.mock-header span:first-child {
    background: #ff5f57;
}

.mock-header span:nth-child(2) {
    background: #febc2e;
}

.mock-header span:nth-child(3) {
    background: #28c840;
}

.mock-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.mock-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mock-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.mock-kpi {
    padding: 14px 14px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    overflow: hidden;
}

.mock-kpi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.mock-kpi-blue::before { background: var(--color-accent); }
.mock-kpi-green::before { background: #16a34a; }
.mock-kpi-orange::before { background: #f59e0b; }

.mock-kpi .mock-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-kpi .mock-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.mock-trend {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}

.mock-trend-up {
    color: #16a34a;
}

.mock-card {
    padding: 14px 16px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-card-wide {
    width: 100%;
}

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

.mock-pill {
    font-size: 10px;
    color: var(--color-accent);
    background: rgba(0, 102, 204, 0.08);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.mock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mock-label {
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 500;
}

.mock-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
}

.mock-value-sm {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.mock-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
}

.mock-bar > div {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 999px;
}

.mock-bar-warn > div {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
    margin-top: 4px;
}

.mock-chart > div {
    flex: 1;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    opacity: 0.85;
}

/* SOBRE
   ================================================================= */
.sobre {
    background: #fff;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.checklist {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-weight: 500;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    padding: 28px 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--color-accent);
}

.value-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.value-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* MODULOS DO SISTEMA
   ================================================================= */
.modulos {
    background: var(--color-bg-soft);
}

.servicos {
    background: #fff;
}

.diferenciais {
    background: var(--color-bg-soft);
}

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

/* DIFERENCIAIS
   ================================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: var(--radius-sm);
    font-size: 22px;
    margin-bottom: 14px;
}

.feature-item h4 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* SERVICOS COMPACTOS
   ================================================================= */
.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-mini {
    text-align: center;
    padding: 24px 20px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.service-mini:hover {
    background: var(--color-bg-soft);
}

.service-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    margin: 0 auto 16px;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.25);
}

.service-mini h4 {
    font-size: 17px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-mini p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.service-card {
    padding: 0;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Miniatura da tela do sistema no topo do card */
.service-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: saturate(0.85);
}

.service-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.05) 0%, rgba(10, 37, 64, 0.25) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.04);
    filter: saturate(1);
}

.service-card:hover .service-thumb::after {
    opacity: 0.6;
}

.service-body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: var(--radius-sm);
    font-size: 24px;
    margin-bottom: 16px;
    margin-top: -48px;
    position: relative;
    z-index: 3;
    background: #ffffff;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.service-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* CTA
   ================================================================= */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.3), transparent 70%);
    pointer-events: none;
}

.cta-container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 17px;
    margin-bottom: 32px;
    opacity: 0.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* CONTATO
   ================================================================= */
.contato {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.08);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: 22px;
}

.contact-item h4 {
    font-size: 15px;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-item p,
.contact-item a {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
}

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

/* FORM
   ================================================================= */
.contact-form {
    background: var(--color-bg-soft);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--color-text);
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

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

.form-group.error input,
.form-group.error textarea {
    border-color: var(--color-error);
}

.form-feedback {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    min-height: 20px;
}

.form-feedback.success {
    color: var(--color-success);
}

.form-feedback.error {
    color: var(--color-error);
}

/* FOOTER
   ================================================================= */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 64px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
    .hero-container,
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .dashboard-mock {
        max-width: 400px;
        transform: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 130px 0 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 104px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: transform var(--transition);
    }

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

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link::after {
        display: none;
    }

    .nav .btn {
        margin-top: 12px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

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

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

    .contact-form {
        padding: 24px;
    }
}

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

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

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

    .logo-text {
        font-size: 16px;
    }
}

/* ANIMATIONS — sutis e profissionais
   ================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes barFill {
    from {
        width: 0;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 102, 204, 0.45);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

/* Fade-in elements (com stagger) */
.fade-in {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.services-grid .service-card.fade-in:nth-child(1) { animation-delay: 0.05s; }
.services-grid .service-card.fade-in:nth-child(2) { animation-delay: 0.10s; }
.services-grid .service-card.fade-in:nth-child(3) { animation-delay: 0.15s; }
.services-grid .service-card.fade-in:nth-child(4) { animation-delay: 0.20s; }
.services-grid .service-card.fade-in:nth-child(5) { animation-delay: 0.25s; }
.services-grid .service-card.fade-in:nth-child(6) { animation-delay: 0.30s; }
.services-grid .service-card.fade-in:nth-child(7) { animation-delay: 0.35s; }
.services-grid .service-card.fade-in:nth-child(8) { animation-delay: 0.40s; }

.features-grid .feature-item.fade-in:nth-child(1) { animation-delay: 0.05s; }
.features-grid .feature-item.fade-in:nth-child(2) { animation-delay: 0.10s; }
.features-grid .feature-item.fade-in:nth-child(3) { animation-delay: 0.15s; }
.features-grid .feature-item.fade-in:nth-child(4) { animation-delay: 0.20s; }
.features-grid .feature-item.fade-in:nth-child(5) { animation-delay: 0.25s; }
.features-grid .feature-item.fade-in:nth-child(6) { animation-delay: 0.30s; }
.features-grid .feature-item.fade-in:nth-child(7) { animation-delay: 0.35s; }
.features-grid .feature-item.fade-in:nth-child(8) { animation-delay: 0.40s; }

.values-grid .value-card.fade-in:nth-child(1) { animation-delay: 0.05s; }
.values-grid .value-card.fade-in:nth-child(2) { animation-delay: 0.15s; }
.values-grid .value-card.fade-in:nth-child(3) { animation-delay: 0.25s; }
.values-grid .value-card.fade-in:nth-child(4) { animation-delay: 0.35s; }

/* Hero highlight com gradient suave em movimento */
.highlight {
    background: linear-gradient(
        90deg,
        var(--color-accent) 0%,
        var(--color-accent-light) 50%,
        var(--color-accent) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
}

/* Dashboard mock float discreto */
.dashboard-mock,
.dashboard-screenshot,
.screen-carousel {
    animation: floatGentle 6s ease-in-out infinite;
}

/* Barras do dashboard com fill ao aparecer */
.dashboard-mock .mock-bar > div,
.dashboard-mock .mock-chart > div {
    animation: barFill 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.dashboard-mock .mock-chart > div:nth-child(1) { animation-delay: 0.30s; }
.dashboard-mock .mock-chart > div:nth-child(2) { animation-delay: 0.40s; }
.dashboard-mock .mock-chart > div:nth-child(3) { animation-delay: 0.50s; }
.dashboard-mock .mock-chart > div:nth-child(4) { animation-delay: 0.60s; }
.dashboard-mock .mock-chart > div:nth-child(5) { animation-delay: 0.70s; }
.dashboard-mock .mock-chart > div:nth-child(6) { animation-delay: 0.80s; }
.dashboard-mock .mock-chart > div:nth-child(7) { animation-delay: 0.90s; }

.dashboard-mock .mock-chart > div {
    animation-name: chartGrow;
    transform-origin: bottom;
}

@keyframes chartGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/* Badge do hero com pulse muito sutil */
.badge {
    animation: badgePulse 3s ease-in-out infinite;
}

/* Botão primário com pulse de luz quando focado/hover */
.btn-primary:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Service card icon com leve flutuação no hover */
.service-card:hover .service-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

/* Logo do header com transição suave */
.logo-img {
    transition: transform var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

/* Hero entrada inicial (carregamento da página) */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Underline animado nos links do nav já existe */

/* Respeitar usuários que preferem menos movimento */
@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;
    }

    .dashboard-mock {
        animation: none;
    }

    .highlight {
        animation: none;
    }

    .badge {
        animation: none;
    }
}
