/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #f4f7ff;
    --color-white: #ffffff;
    --color-gray-light: #e7eaf3;
    --color-gray-mid: #c7cee3;
    --color-text: #2b2f3a;
    --color-text-light: #677084;
    --color-accent: #4f46e5;
    --color-accent-hover: #4338ca;
    --color-dark: #111827;

    --font-main: 'Inter', sans-serif;
    --spacing: 2rem;
    --radius: 4px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at top, rgba(79, 70, 229, 0.12), transparent 32%),
        linear-gradient(180deg, #f8faff 0%, var(--color-bg) 100%);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.text-center { text-align: center; }

h1, h2, h3 {
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: linear-gradient(180deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    border: 1px solid #a0a5aa;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 4px 0 #9ca3af,
        0 5px 5px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 #9ca3af,
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    border: 2px solid #4338ca;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #4f46e5;
    border-radius: 50%;
    box-shadow: 0 0 8px #4f46e5, 0 0 4px #4f46e5;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #eef2ff 0%, #dbeafe 100%);
    color: #111;
}

.btn-primary:hover::after {
    background-color: #818cf8;
    box-shadow: 0 0 10px #818cf8, 0 0 6px #818cf8;
}

.btn-secondary {
    background: linear-gradient(180deg, #e9ecef 0%, #ced4da 100%);
}

.btn-outline, .btn-outline-primary {
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    color: #333;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
    letter-spacing: -0.5px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--color-text-light);
    font-weight: 600;
}

.nav a:hover {
    color: var(--color-dark);
}

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

.hero {
    padding: 6.5rem 0;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(16, 185, 129, 0.06)),
        var(--color-white);
    border-bottom: 1px solid var(--color-gray-light);
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
}

.services {
    background-color: transparent;
}

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

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(79, 70, 229, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(79, 70, 229, 0.4);
}

.services-grid .service-card:nth-child(2) {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.12);
}

.services-grid .service-card:nth-child(2)::before {
    content: 'Mais procurado';
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-price::before {
    content: 'a partir de';
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 1.5rem;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.portfolio {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

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

.portfolio-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 18px;
    color: var(--color-dark);
    font-weight: 600;
    transition: all 0.2s ease;
}

.portfolio-item:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    border-color: rgba(79, 70, 229, 0.3);
}

.portfolio-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.portfolio-name {
    flex-grow: 1;
}

.portfolio-arrow {
    color: var(--color-text-light);
    transition: transform 0.2s ease;
}

.portfolio-item:hover .portfolio-arrow {
    transform: translateX(5px);
    color: var(--color-dark);
}

.cta-final {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(16, 185, 129, 0.05));
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer {
    background-color: var(--color-white);
    padding: 3rem 0;
    border-top: 1px solid var(--color-gray-light);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }

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