:root {
    --navy: #0A2647;
    --navy-600: #123968;
    --light-blue: #C7E3F5;
    --white: #FFFFFF;
    --gray-bg: #F5F7FA;
    --gray-600: #667085;
    --gray-900: #101828;
    --shadow-sm: 0 2px 8px rgba(10, 38, 71, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 38, 71, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 38, 71, 0.12);
    --radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(10, 38, 71, 0.06);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
    letter-spacing: -0.01em;
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(10, 38, 71, 0.25);
}

.btn-primary:hover {
    background: var(--navy-600);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 38, 71, 0.3);
}

.btn-header {
    padding: 10px 18px;
    font-size: 13.5px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(180deg, #0A2647 0%, #0d325d 45%, #14487e 100%);
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 80% -10%, rgba(199, 227, 245, 0.25), transparent 60%),
                radial-gradient(600px 300px at 10% 20%, rgba(199, 227, 245, 0.15), transparent 60%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(199, 227, 245, 0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: min(900px, 140vw);
    height: min(900px, 140vw);
    animation: rotate 60s linear infinite;
}

.orbit-2 {
    width: min(650px, 110vw);
    height: min(650px, 110vw);
    animation: rotate 45s linear infinite reverse;
}

.orbit-3 {
    width: min(420px, 80vw);
    height: min(420px, 80vw);
    animation: rotate 30s linear infinite;
}

.orbit::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--light-blue);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    box-shadow: 0 0 20px rgba(199, 227, 245, 0.8);
}

@keyframes rotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(199,227,245,0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    top: 10%;
    right: -10%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 80px 0 100px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(199, 227, 245, 0.12);
    border: 1px solid rgba(199, 227, 245, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--light-blue);
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-size: clamp(42px, 8vw, 84px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #C7E3F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-hero {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* O que faz */
#recursos {
    background: var(--white);
}

.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(10, 38, 71, 0.08);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--light-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 38, 71, 0.12);
}

.card:hover::before {
    opacity: 1;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10,38,71,0.08), rgba(199,227,245,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--navy);
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.55;
}

/* Integrações */
#integracoes {
    background: var(--gray-bg);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.integration {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(10, 38, 71, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.integration-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: var(--navy);
    opacity: 0.9;
}

.integration h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.integration p {
    font-size: 13.5px;
    color: var(--gray-600);
}

.integrations-footnote {
    text-align: center;
    margin-top: 40px;
    font-size: 15px;
    color: var(--gray-600);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Como funciona */
#como-funciona {
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.step {
    position: relative;
    padding: 32px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFD 100%);
    border: 1px solid rgba(10, 38, 71, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: rgba(10, 38, 71, 0.08);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(10,38,71,0.15), transparent);
    display: none;
}

/* Cadastro */
#cadastro {
    background: linear-gradient(180deg, var(--navy) 0%, #0d2f56 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#cadastro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 20% 0%, rgba(199,227,245,0.15), transparent 70%);
}

.cadastro-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.cadastro-copy .section-eyebrow {
    color: var(--light-blue);
}

.cadastro-copy .section-title {
    color: var(--white);
}

.cadastro-copy .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.cadastro-bullets {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.bullet svg {
    flex-shrink: 0;
    color: var(--light-blue);
}

.form-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-sub {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.field input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(10, 38, 71, 0.15);
    background: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    color: var(--gray-900);
}

.field input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.1);
}

.field input::placeholder {
    color: #98a2b3;
}

.form-submit {
    margin-top: 8px;
    width: 100%;
}

.form-footnote {
    margin-top: 12px;
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
}

.success {
    display: none;
    text-align: center;
    padding: 32px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.success p {
    font-size: 15px;
    color: var(--gray-600);
}

/* Footer */
footer {
    background: #071a30;
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 0 32px;
    text-align: center;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 6px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.footer-slogan {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 24px;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-3x2 { grid-template-columns: repeat(2, 1fr); }
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 20px; }
    .cadastro-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    section { padding: 72px 0; }
    .header-inner { height: 64px; }
    .logo-text { display: block; }
    .btn-header { padding: 9px 14px; }
    .hero-content { padding: 60px 0 80px; }
    .grid-3x2 { grid-template-columns: 1fr; gap: 16px; }
    .card { padding: 24px; }
    .integrations-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-card { padding: 24px; border-radius: 20px; }
    h1 { font-size: clamp(38px, 11vw, 56px); }
    .hero-sub { font-size: 16px; }
}

@media (max-width: 390px) {
    .hero { min-height: 92vh; }
    .badge { font-size: 11px; padding: 7px 12px; }
    .btn-large { width: 100%; }
}

/* Back to Home Button */
.btn-header-back {
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(10, 38, 71, 0.2);
}

.btn-header-back:hover {
    background: rgba(10, 38, 71, 0.05);
    color: var(--navy-600);
}

@media (max-width: 480px) {
    .btn-header-back span {
        display: none;
    }
}

