:root {
    --navy: #121826;
    --navy-2: #171f2e;
    --navy-3: #1c2638;
    --coral: #FF5733;
    --coral-hover: #e64a2b;
    --coral-soft: rgba(255, 87, 51, 0.14);
    --text: #eef2f8;
    --muted: #9aa6b8;
    --line: rgba(255, 255, 255, 0.08);
    --ink: #121826;
    --ink-soft: #334155;
    --paper: #ffffff;
    --radius: 18px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: Inter, system-ui, sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.65;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
    font-family: Outfit, Inter, sans-serif;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    color: #121826;
    border-bottom: 1px solid #e8edf5;
    box-shadow: 0 8px 24px rgba(18, 24, 38, 0.06);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.logo {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #121826;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-current {
    color: var(--coral);
}

.has-submenu {
    position: relative;
}

.submenu-toggle {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    color: #121826;
    cursor: pointer;
}

.submenu-toggle:hover,
.has-submenu.open > .submenu-toggle,
.submenu-toggle.is-current {
    color: var(--coral);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(18, 24, 38, 0.12);
    padding: 0.45rem;
    padding-top: calc(0.45rem + 0.55rem); /* compensa o gap visual sem criar espaço vazio */
    list-style: none;
    z-index: 30;
    margin-top: -0.55rem; /* sobe 0.55rem para que o padding-top crie a separação visual */
}

/* Pseudo-elemento transparente que "tampa" o gap entre o botão e o dropdown,
   evitando que o hover seja perdido ao mover o mouse entre os dois */
.has-submenu::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 0.7rem;
    background: transparent;
    z-index: 29;
}

@media (min-width: 981px) {
    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {
        display: block;
    }
}

.submenu a {
    display: block;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    color: #121826;
    text-decoration: none;
}

.submenu a span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 700;
}

.submenu a:hover {
    background: #f8fafc;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-coral {
    background: var(--coral);
    color: #fff;
    padding: 0.8rem 1.35rem;
    box-shadow: 0 10px 28px rgba(255, 87, 51, 0.28);
}

.btn-coral:hover { background: var(--coral-hover); color: #fff; }

.btn-ghost {
    background: transparent;
    color: #fff;
    padding: 0.75rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

.btn-white {
    background: #fff;
    color: var(--coral);
    padding: 0.8rem 1.35rem;
}

.btn-white:hover { background: #f8fafc; color: var(--coral-hover); }

.btn-outline-white {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.3rem;
}

.btn-outline-white:hover { background: #fff; color: var(--coral); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }

.btn-block { width: 100%; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #121826;
    margin: 4px auto;
}

.hero,
.page-hero {
    padding: 4.5rem 0 3.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: 50%;
    top: -180px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 87, 51, 0.16), transparent 68%);
    pointer-events: none;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}

.hero p,
.page-hero p {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 46rem;
    margin: 0 auto 1.6rem;
    position: relative;
}

.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

section { padding: 4.6rem 0; }

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.7rem;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 44rem;
    margin: 0 auto 2.5rem;
}

.card,
.product-card,
.feature-item,
.pillar-card,
.timeline-item,
.faq-item {
    background: var(--navy-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
}

.contact-form-container {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: 0 16px 40px rgba(18, 24, 38, 0.08);
}

.contact-form-container h3 {
    color: #121826;
    margin-bottom: 0.5rem;
}

.contact-form-container p {
    color: #475569 !important; /* Sobrescreve o var(--muted) em linha */
}

.product-card:hover,
.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 87, 51, 0.45);
}

.products-grid,
.features-grid,
.pillars-grid,
.faq-grid,
.mvv-grid {
    display: grid;
    gap: 1.1rem;
}

.products-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillars-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.faq-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mvv-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge-available {
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
}

.badge-soon {
    background: var(--coral-soft);
    color: var(--coral);
}

.bw4-group {
    background: var(--navy-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    overflow: hidden;
}

.bw4-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid var(--line);
}

.bw4-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.bw4-group-title {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    color: #fff;
}

.bw4-group-sub {
    font-size: 0.85rem;
    color: var(--muted);
}

.bw4-badge {
    margin-left: auto;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bw4-badge-available {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.bw4-badge-soon {
    background: var(--coral-soft);
    color: var(--coral);
}

.bw4-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1.8rem;
}

.bw4-card {
    display: flex;
    flex-direction: column;
}

.bw4-card-icon {
    color: var(--coral);
    margin-bottom: 1rem;
}

.bw4-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.bw4-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.bw4-group-cta {
    padding: 1.5rem 1.8rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-start;
}

.product-card h3,
.feature-item h3,
.pillar-card h3,
.faq-item h4,
.contact-info h3,
.contact-method h4 {
    margin-bottom: 0.7rem;
}

.product-card p,
.feature-item p,
.pillar-card p,
.faq-item p,
.contact-info > p,
.contact-method p,
.origin-text p,
.timeline-content p {
    color: var(--muted);
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--muted);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
}

.feature-icon,
.pillar-icon,
.mvv-icon,
.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.feature-item,
.pillar-card,
.mvv-item {
    text-align: center;
}

.cta {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 87, 51, 0.22), transparent 46%),
        var(--navy-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta h2 { margin-bottom: 0.7rem; }
.cta p { color: var(--muted); margin-bottom: 1.5rem; }

footer {
    background: #ffffff;
    color: #121826;
    padding: 3rem 0 1.2rem;
    border-top: 1px solid #e8edf5;
}

.footer-content,
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4,
.footer-grid h4 {
    color: #121826;
    margin-bottom: 0.9rem;
}

.footer-section ul,
.footer-grid ul { list-style: none; }

.footer-section a,
.footer-grid a,
.footer-simple a {
    color: #121826;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.45rem;
}

.footer-section a:hover,
.footer-grid a:hover,
.footer-simple a:hover {
    color: var(--coral);
}

.footer-section p,
.footer-grid p {
    color: #121826;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid #e8edf5;
    padding-top: 1.2rem;
    color: #121826;
    font-size: 0.88rem;
    text-align: center;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-simple nav {
    min-height: auto;
    gap: 1.4rem;
}

.origin-content,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.origin-text h3 { margin-bottom: 1.2rem; }

.origin-image {
    background: linear-gradient(160deg, var(--navy-3), rgba(255, 87, 51, 0.28));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-container { width: min(1000px, calc(100% - 2rem)); margin: 0 auto; }
.timeline-item { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.1rem; }
.timeline-number {
    background: var(--coral);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mvv {
    background: var(--navy-2);
    border-top: 1px solid var(--line);
}

.mvv-item h3 { color: var(--coral); margin-bottom: 0.7rem; }

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.contact-form-container h3 { margin-bottom: 0.4rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.45rem; font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--navy);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--coral);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.hubspot-note {
    background: rgba(255, 87, 51, 0.1);
    border-left: 4px solid var(--coral);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.hubspot-note p { color: #fecaca; font-size: 0.9rem; }

.form-success {
    display: none;
    background: rgba(52, 211, 153, 0.12);
    border-left: 4px solid #34d399;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-success p { color: #34d399; font-weight: 600; }

.faq-item a { color: var(--coral); text-decoration: none; font-weight: 700; }
.faq-item a:hover { text-decoration: underline; }

.legal-wrap { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 4.2rem 0 5rem; }
.legal-kicker {
    color: var(--coral);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.7rem;
}
.legal h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}
.legal p,
.legal li { color: var(--muted); }
.legal ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.75rem 0;
    display: grid;
    gap: 0.4rem;
}
.legal a { color: var(--coral); }
.legal a:hover { text-decoration: underline; }
.legal code { color: #cbd5e1; }

#lgpd-banner {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 1rem;
}

#lgpd-banner > div {
    max-width: 64rem;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 18px 50px rgba(18, 24, 38, 0.18);
}

#lgpd-banner p { color: var(--ink-soft); font-size: 0.9rem; }
#lgpd-banner a { color: var(--coral); }
#lgpd-banner .flex { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
#lgpd-banner .flex-1 { flex: 1; min-width: 240px; }
#lgpd-banner .shrink-0 { display: flex; gap: 0.7rem; flex-wrap: wrap; }
#lgpd-banner button {
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
}
#lgpd-banner [data-lgpd="accept"] {
    background: var(--coral);
    color: #fff;
    border: 0;
}
#lgpd-banner [data-lgpd="reject"] {
    background: transparent;
    color: var(--ink);
    border: 1px solid #e2e8f0;
}

@media (max-width: 980px) {
    .origin-content,
    .contact-grid,
    .footer-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e8edf5;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem 1.3rem;
        gap: 0.9rem;
    }

    .nav-links.open { display: flex; }

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 0.35rem 0 0.35rem 0.85rem;
        min-width: 0;
    }

    .has-submenu.open > .submenu { display: block; }

    .timeline-item { flex-direction: column; text-align: center; }
}
