:root {
    --primary: #2563EB;        /* Azul royal */
    --primary-dark: #0F2D6B;   /* Azul navy profundo */
    --secondary: #3B82F6;      /* Azul médio */
    --accent: #06B6D4;         /* Ciano vibrante */
    --bg: #F4F7FB;
    --surface: #FFFFFF;
    --text: #0F1E3A;
    --text-muted: #4B5A75;
    --border: #DEE6F2;
    --grad-hero: linear-gradient(135deg, #0F2D6B 0%, #1E40AF 45%, #3B82F6 100%);
    --shadow-sm: 0 1px 3px rgba(15, 30, 58, 0.08);
    --shadow-md: 0 4px 12px rgba(15, 30, 58, 0.10);
    --shadow-lg: 0 12px 32px rgba(15, 30, 58, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-hero);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name { color: var(--text); }
.brand-text .tagline {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-muted);
}

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

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
}

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

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

/* Hero */
.hero {
    background: var(--grad-hero);
    color: #fff;
    padding: 96px 0 112px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,255,255,0.10) 0%, transparent 35%),
        radial-gradient(circle at 88% 80%, rgba(6, 182, 212, 0.22) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

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

.hero p.lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary-dark);
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-md);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

/* Sections */
section.block { padding: 88px 0; }

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

.section-header h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.14));
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Products */
.products-block {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #FBFCFF 0%, #EEF3FB 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 48px;
}

@media (max-width: 820px) {
    .product-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 28px;
    }
}

.product-art {
    position: relative;
    aspect-ratio: 1;
    max-width: 280px;
    margin: 0 auto;
    background: var(--grad-hero);
    border-radius: 28px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
}

.product-art .glyph {
    font-size: 92px;
    line-height: 1;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.product-art::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 36px;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.22), transparent 60%);
    z-index: -1;
}

.product-info .product-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0E8FA8;
    background: rgba(6, 182, 212, 0.12);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.product-info h3 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.product-features {
    list-style: none;
    margin: 18px 0 24px;
    display: grid;
    gap: 10px;
}

.product-features li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
    font-size: 0.95rem;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* Values */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.value {
    padding: 4px 0;
}

.value h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.value p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact */
.contact-block {
    background: linear-gradient(135deg, #FBFCFF 0%, #E8EEF8 100%);
    border-top: 1px solid var(--border);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 48px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.contact-card h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(37, 99, 235, 0.08);
    padding: 14px 24px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.contact-email:hover {
    background: rgba(37, 99, 235, 0.14);
    color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 32px;
    font-size: 0.9rem;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 760px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

.site-footer h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

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

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    text-align: center;
}

.site-footer .brand {
    color: #fff;
    margin-bottom: 14px;
}

.site-footer .brand-text .tagline { color: rgba(255, 255, 255, 0.6); }

/* =============================================================
   Páginas internas (legal, sobre) — hero compacto + prose
   ============================================================= */

.page-hero {
    background: var(--grad-hero);
    color: #fff;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.18) 0%, transparent 45%);
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.page-hero .updated {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.page-hero .crumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.page-hero .crumbs a {
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-hero .crumbs a:hover {
    color: #fff;
    border-color: #fff;
}

.prose-section {
    padding: 64px 0 80px;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 2em;
    margin-bottom: 0.4em;
    letter-spacing: -0.01em;
}

.prose h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.6em;
    margin-bottom: 0.3em;
}

.prose p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.prose ul,
.prose ol {
    padding-left: 22px;
    color: var(--text);
}

.prose li {
    margin: 6px 0;
    line-height: 1.65;
}

.prose strong { color: var(--primary-dark); font-weight: 600; }

.prose blockquote {
    border-left: 3px solid var(--primary);
    padding: 4px 18px;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 0 8px 8px 0;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.4em 0;
}

.prose .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.toc h4 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.toc ol {
    padding-left: 20px;
    color: var(--text);
    font-size: 0.95rem;
}

.toc li { margin: 4px 0; }

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