@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --brand-50: #76b0fc;
    --brand-100: #79d1e9;
    --brand-300: #a9c4ff;
    --brand-500: #2f6cff;
    --brand-600: #1f52cc;
    --brand-700: #163da0;
    --ink-900: #000000;
    --ink-700: #334155;
    --ink-500: #64748b;
    --bg-primary: #ececec;
    --bg-secondary: #ffffff;
    --surface: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(15, 23, 42, .08);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, .06);
    --container-width: 1140px;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink-900);
    background-color: var(--bg-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--brand-700); }
p { margin-bottom: 1rem; max-width: 65ch; }
a { color: var(--brand-600); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: underline; color: var(--brand-700); }
section { padding: 80px 20px; }


main > section > div, footer > div {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}


header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.header-container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.logo {
    height: 90px;
    width: auto;
    display: block;
}
header h1 { font-size: 1.5rem; color: var(--ink-900); margin-bottom: 15px;}
header nav ul { display: flex; list-style: none; gap: 16px; }
header nav a { padding: 8px 12px; font-weight: 600; color: var(--ink-700); border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease; }
header nav a:hover { text-decoration: none; color: var(--ink-900); }


.cta-button {
    display: inline-block;
    background-color: var(--brand-600);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--brand-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: #fff;
}
.cta-button:active { transform: translateY(0); }


#inicio {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 10% 20%, var(--brand-50), transparent 40%),
        radial-gradient(circle at 90% 80%, var(--brand-100), transparent 40%);
}
#inicio h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
#inicio p { font-size: 1.125rem; color: var(--ink-700); max-width: 60ch; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }


#quem-somos { background-color: var(--bg-secondary); }
#servicos {}

#quem-somos .grid-container,
#servicos .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

#quem-somos .valores,
#servicos article {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#quem-somos .valores:hover,
#servicos article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

#quem-somos .valores p,
#servicos article p {
    color: var(--ink-700);
    margin-bottom: 0;
}


#contato {
    background-color: var(--bg-secondary);
    text-align: center;
}
#contato p { margin-left: auto; margin-right: auto; }
#contato .cta-button { margin-top: 1rem; margin-bottom: 1.5rem; }
#contato .contato-info { color: var(--ink-700); font-size: 1rem; margin-bottom: 0.5rem; }


footer {
    background-color: var(--ink-900);
    color: var(--ink-500);
    padding: 40px 20px;
    text-align: center;
}
footer p { margin-bottom: 0.25rem; font-size: 0.9rem; }


:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}


@media (max-width: 768px) {
    body { font-size: 15px; }
    section { padding: 60px 20px; }
    #inicio { padding-top: 80px; padding-bottom: 80px; }
    
    header {
        flex-direction: column;
        padding: 10px;
        min-height: auto;
    }
    header h1 { margin-bottom: 10px; }
    header nav ul { gap: 8px; justify-content: center; flex-wrap: wrap; }
    header nav a { padding: 6px 10px; }
}