/* ================================================
   styles.css - Parça Digital
   Agência de Marketing Digital + IA
   Paleta oficial: #0A2540 (azul marinho), #A3E635 (verde limão), cinza, branco
   ================================================ */

:root {
    --navy: #0A2540;
    --lime: #A3E635;
    --gray: #6B7280;
    --light-gray: #F8FAFC;
    --white: #FFFFFF;
}

/* Reset + Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system_ui, sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    height: 60px;
    width: 60px;
    display: block;
}

/* Utility classes complementares ao Tailwind */
.text-lime {
    color: var(--lime);
}

.bg-navy {
    background-color: var(--navy);
}

.bg-lime {
    background-color: var(--lime);
}

.shadow-premium {
    box-shadow: 0 25px 50px -12px rgb(10 37 64 / 0.15);
}

/* NAVBAR */
nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.sticky {
    background-color: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(12px);
}

/* HERO */
#home {
    background: linear-gradient(135deg, #0A2540 0%, #112C4A 100%);
}

.hero-title {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seções gerais */
section {
    scroll-margin-top: 80px;
}

/* Cards de serviços */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(163 230 53 / 0.2);
}

.service-card .icon-wrapper {
    transition: all 0.4s ease;
}

.service-card:hover .icon-wrapper {
    transform: rotate(12deg) scale(1.1);
    background-color: rgba(163, 230, 53, 0.15);
}

/* Cases */
.case-card {
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: scale(1.03);
}

/* Botões */
.btn-primary {
    background: var(--lime);
    color: var(--navy);
    border-radius: 9999px;
    font-weight: 600;
    padding: 16px 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgb(163 230 53 / 0.4);
    background: #fff;
}

/* Formulário */
input,
textarea {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.15);
    outline: none;
}

/* Footer */
footer {
    background: var(--navy);
}

/* Animações globais */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsividade extra */
@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }

    .hero-title {
        animation: none;
    }
}

/* Efeitos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Tipografia premium */
.lead {
    font-size: 1.25rem;
    color: #64748B;
}

/* Badge animado */
.badge-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Dark overlay no hero (caso queira mais profundidade) */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(10, 37, 64, 0.6));
    pointer-events: none;
}