/* Unified project styles (variables and base tokens) */
:root {
    /* Brand */
    --sfv-navy: #036;
    --sfv-gold: #ffb800;
    --sfv-cyan: #00aeef;

    /* Core tokens */
    --text-default: #0f172a;
    --bg: #f8fafc;
    --muted: #6b7280;
    --muted-border: #eef2f7;

    /* Footer */
    --footer-bg: #071029;
    --footer-text: #cbd5e1;
    --footer-desc: #c3cbe0;
    --footer-sub: #9fb0d4;

    /* Accents */
    --accent-blue: #2563eb;
    --accent-red: #dc2626;
    --accent-orange: #f97316;

    /* Decorative rgba tokens */
    --blob-cyan: rgb(0 174 239 / 12%);
    --blob-gold: rgb(255 184 0 / 12%);
    --overlay: rgb(0 51 102 / 60%);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial;
    margin: 0;
    background: var(--bg);
    color: var(--text-default);
    -webkit-font-smoothing: antialiased;
}

/* Header */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / 90%);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgb(2 6 23 / 4%);
    z-index: 90;
}

.nav-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

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

.logo-image {
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    line-height: 0.95;
    color: var(--sfv-navy);
    font-size: 13px;
}

.logo-text .gold {
    color: var(--sfv-gold);
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

.nav-links .cta {
    background: var(--sfv-navy);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 20px;
}

/* Hero */
.app {
    padding-top: 110px;
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    min-height: 70vh;
    padding: 32px 0;
}

.hero .decor-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.55;
}

.hero .blob-1 {
    width: 420px;
    height: 420px;
    background: var(--blob-cyan);
    left: -80px;
    top: 10%;
}

.hero .blob-2 {
    width: 420px;
    height: 420px;
    background: var(--blob-gold);
    right: -80px;
    bottom: 10%;
}

.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(0 51 102 / 4%);
    color: var(--sfv-navy);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    border: 1px solid rgb(0 51 102 / 6%);
}

.hero h1 {
    font-size: 48px;
    margin: 18px 0 12px;
    line-height: 1.05;
    font-weight: 900;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
}

.hero .buttons {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.btn {
    padding: 12px 22px;
    border-radius: 18px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
}

.btn.primary {
    background: var(--sfv-navy);
    color: var(--bg);
    box-shadow: 0 10px 30px rgb(2 6 23 / 8%);
}

.btn.secondary {
    background: var(--bg);
    color: var(--sfv-navy);
    border: 2px solid rgb(0 0 0 / 4%);
}

.btn .arrow {
    display: inline-block;
    margin-left: 8px;
    transform: translateX(0);
    transition: transform 0.25s;
}

.btn.primary:hover .arrow {
    transform: translateX(6px);
}

.hero-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgb(2 6 23 / 12%);
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--overlay), transparent);
}

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

.section.light {
    background: var(--bg);
}

.section.alt {
    background: linear-gradient(180deg, var(--bg), var(--bg));
}

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

.feature-card {
    background: var(--bg);
    padding: 28px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgb(2 6 23 / 4%);
    border: 1px solid rgb(2 6 23 / 4%);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin: 0 0 6px;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
}

/* Calendar (responsive iframe) */
.calendar-container {
    /* keep width fluid and maintain a sensible aspect ratio */
    position: relative;
    width: 100%;
    /* 16:9 works well for embedded calendars, adjust if desired */
    aspect-ratio: 16 / 9;
    max-width: 100%;
    overflow: hidden;
}

.calendar-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Catalog */
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--muted-border);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    color: var(--muted);
}

.cat-btn.active {
    background: var(--sfv-navy);
    color: var(--bg);
    border-color: var(--sfv-navy);
}

.search {
    position: relative;
}

.search input {
    padding: 12px 14px 12px 40px;
    border-radius: 16px;
    border: 1px solid var(--muted-border);
}

.search::before {
    content: '🔍';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

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

.card-startup {
    background: var(--bg);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.card-startup img {
    max-width: 100%;
    max-height: 220px;
    object-fit: fill;
    display: block;
}

.info {
    padding: 18px;
}

.info h4 {
    margin: 0 0 8px;
}

.info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.startup-actions {
    padding: 14px;
    border-top: 1px solid #f6f9fc;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 48px 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.logo-footer {
    width: 72px;
    height: 56px;
}

.brand-lines {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    color: var(--bg);
    font-size: 13px;
    line-height: 1;
}

.brand-lines .gold {
    color: var(--sfv-gold);
}

.footer-desc {
    color: var(--footer-desc);
    max-width: 420px;
    margin-top: 8px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgb(255 255 255 / 4%);
    color: var(--bg);
    text-decoration: none;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--bg);
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--sfv-gold);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgb(255 255 255 / 4%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-title {
    color: var(--bg);
    font-weight: 700;
    margin: 0;
}

.contact-sub {
    color: var(--footer-sub);
    margin: 0;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 4%);
    margin-top: 28px;
    padding-top: 18px;
    text-align: center;
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image img {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        background: var(--bg);
        padding: 12px;
        flex-direction: column;
    }
    .footer-brand{
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* pequenas animações */
.fade-in {
    animation: fade-in 0.6s ease both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* --- Inline styles moved from index.html --- */
.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--sfv-cyan);
    border-radius: 999px;
    margin-right: 8px;
}

.text-navy {
    color: var(--sfv-navy);
}

.avatars {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 3px solid var(--bg);
    object-fit: cover;
    display: block;
}

.avatar + .avatar {
    margin-left: -8px;
}

.stat-small {
    font-size: 14px;
    color: var(--muted);
}

.stat-strong {
    color: var(--text-default);
}

.hero-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--bg);
}

.hero-caption-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--bg) !important;
    margin: 0;
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 24px;
}

.kicker {
    font-size: 14px;
    color: var(--sfv-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0;
}

.section-subtitle {
    font-size: 28px;
    margin: 12px 0 8px;
}

.muted-text {
    color: var(--muted);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

/* Mobile stack for two-column container */
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

.big-title {
    font-size: 34px;
    margin: 0 0 16px;
    color: var(--sfv-navy);
    font-weight: 900;
}

.card {
    padding: 20px;
    border-radius: 28px;
}

.join-highlighter {
    background: var(--sfv-gold);
    color: var(--text-default);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 800;
    transform: rotate(12deg);
    margin-top: -24px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 6%);
}

.card-title {
    margin: 18px 0 8px;
    color: var(--sfv-navy);
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--muted-border);
    margin-bottom: 10px;
}

.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

.section-title-large {
    font-size: 28px;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    max-width: 200px;
    text-align: center;
}

.stat-box {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 10px;
    font-weight: 900;
    font-size: 28px;
    color: var(--bg);
}

.stat-blue {
    background: var(--accent-blue);
}

.stat-red {
    background: var(--accent-red);
}

.stat-orange {
    background: var(--accent-orange);
}

.stat-title {
    font-weight: 700;
    margin: 0;
}

/* Utilities moved from inline styles */
.hidden {
    display: none;
}

.empty-state {
    margin-top: 20px;
    text-align: center;
}

.mt-12 {
    margin-top: 12px;
}

.center-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
