:root {
    --navy: #0F2747;
    --deep-navy: #071B33;
    --mint: #58D6B5;
    --teal: #2FC5A5;
    --off-white: #FAF7F0;
    --orange: #FF9F3D;
    --ink: #0F2747;
    --ink-soft: #4A5A75;
    --border: #E8E2D4;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 39, 71, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 39, 71, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 39, 71, 0.10);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--off-white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 240, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
}

.brand-logo {
    height: 34px;
    width: auto;
    display: block;
}

.site-header .brand-logo {
    height: 44px;
}

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

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .15s ease;
}

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

.site-nav .nav-cta {
    background: var(--navy);
    color: var(--off-white);
    padding: 10px 18px;
    border-radius: 999px;
    transition: background .15s ease, transform .15s ease;
}

.site-nav .nav-cta:hover {
    background: var(--deep-navy);
    color: var(--off-white);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 380px at 12% 10%, rgba(88, 214, 181, 0.18), transparent 60%),
        radial-gradient(700px 380px at 95% 30%, rgba(255, 159, 61, 0.13), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 820px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: rgba(15, 39, 71, 0.06);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 159, 61, 0.18);
}

h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0 0 24px;
    color: var(--navy);
}

.hl-mint, .hl-orange {
    position: relative;
    display: inline-block;
}

.hl-mint::after, .hl-orange::after {
    content: "";
    position: absolute;
    left: -2px; right: -2px; bottom: 6px;
    height: 14px;
    border-radius: 6px;
    z-index: -1;
}

.hl-mint::after { background: rgba(88, 214, 181, 0.55); }
.hl-orange::after { background: rgba(255, 159, 61, 0.55); }

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 0 36px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
    background: var(--navy);
    color: var(--off-white);
}

.btn-primary:hover {
    background: var(--deep-navy);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--navy);
    border-color: rgba(15, 39, 71, 0.18);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--navy);
    background: rgba(15, 39, 71, 0.04);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

.hero-meta {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.hero-meta span {
    font-size: 14px;
    color: var(--ink-soft);
}

.hero-pipeline {
    position: absolute;
    inset: auto 0 0 0;
    height: 200px;
    opacity: 0.55;
    pointer-events: none;
}

.hero-pipeline svg {
    width: 100%;
    height: 100%;
}

/* ---------------- Sections ---------------- */
.section {
    padding: 96px 0;
    position: relative;
}

.section-light {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.section-label-light {
    color: var(--mint);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--navy);
}

.section-dark h2,
.section-dark .section-head p {
    color: var(--off-white);
}

.section-sub {
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0;
    font-size: 1.05rem;
}

.section-head {
    margin-bottom: 56px;
    max-width: 720px;
}

.section-head-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.prose p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin: 0 0 18px;
}

.prose p:last-child { margin-bottom: 0; }

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

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 39, 71, 0.12);
}

.product-card-ghost {
    background: transparent;
    border-style: dashed;
}

.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-icon svg { width: 24px; height: 24px; }

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.product-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 18px;
}

.product-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 39, 71, 0.06);
    color: var(--navy);
    letter-spacing: 0.02em;
}

/* ---------------- Em breve ---------------- */
.soon-card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 32px;
    background: #fff;
    border: 1px dashed rgba(15, 39, 71, 0.18);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.soon-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(400px 200px at 50% -10%, rgba(88, 214, 181, 0.18), transparent 60%),
        radial-gradient(400px 200px at 50% 110%, rgba(255, 159, 61, 0.12), transparent 60%);
    pointer-events: none;
}

.soon-card > * { position: relative; }

.soon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    animation: soonFloat 4s ease-in-out infinite;
}

.soon-icon svg,
.soon-icon img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

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

@media (prefers-reduced-motion: reduce) {
    .soon-icon { animation: none; }
}

.soon-card h2 { margin-bottom: 16px; }

.soon-text {
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0 auto 28px;
    max-width: 480px;
}

/* ---------------- Manifesto / Dark ---------------- */
.section-dark {
    background: var(--deep-navy);
    color: var(--off-white);
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(500px 300px at 20% 0%, rgba(88, 214, 181, 0.12), transparent 70%),
        radial-gradient(500px 300px at 90% 100%, rgba(255, 159, 61, 0.10), transparent 70%);
    pointer-events: none;
}

.section-dark > .container { position: relative; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.value {
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.value:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(88, 214, 181, 0.35);
    transform: translateY(-3px);
}

.value-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--mint);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.value h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--off-white);
    letter-spacing: -0.01em;
}

.value p {
    margin: 0;
    color: rgba(250, 247, 240, 0.7);
    font-size: 0.95rem;
}

/* ---------------- CTA ---------------- */
.section-cta {
    padding: 80px 0;
}

.cta-card {
    background: var(--navy);
    color: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(88, 214, 181, 0.35), transparent);
    pointer-events: none;
}

.cta-card .section-label { color: var(--mint); }
.cta-card h2 { color: var(--off-white); margin: 0 0 8px; }
.cta-card p { margin: 0; color: rgba(250, 247, 240, 0.75); max-width: 520px; }

.cta-card .btn-primary {
    background: var(--orange);
    color: var(--deep-navy);
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary:hover {
    background: #FFB266;
}

/* ---------------- Footer ---------------- */
.site-footer {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    margin-bottom: 40px;
}

.footer-tagline {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-cols h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 14px;
}

.footer-cols a {
    display: block;
    color: var(--ink-soft);
    font-size: 14px;
    padding: 4px 0;
    transition: color .15s ease;
}

.footer-cols a:hover { color: var(--navy); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--ink-soft);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
    .two-col { grid-template-columns: 1fr; gap: 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .cta-card { padding: 36px; }
    .section { padding: 72px 0; }
    .hero { padding: 56px 0 80px; }
}

@media (max-width: 680px) {
    .site-nav {
        position: fixed;
        inset: 72px 16px auto 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
    }
    .site-nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .site-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }
    .site-nav a:hover { background: var(--off-white); }
    .site-nav .nav-cta {
        text-align: center;
        margin-top: 6px;
    }
    .nav-toggle { display: flex; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-meta { gap: 28px; }
    .hero-meta strong { font-size: 18px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-bottom { justify-content: flex-start; }
}

/* ---------------- Reveal animation ---------------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
