:root {
    --bg: #0f1419;
    --bg-alt: #0a0f14;
    --panel: #141d26;
    --panel-soft: rgba(20, 29, 38, 0.85);
    --line: rgba(20, 184, 166, 0.15);
    --line-strong: rgba(13, 148, 136, 0.45);
    --text: #f8fafc;
    --text-soft: #94a3b8;
    --accent: #14b8a6;
    --accent-warm: #2dd4bf;
    --accent-deep: #0d9488;
    --ok: #10b981;
    --danger: #ef4444;
    --header-h: 140px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.5);
    --shadow-deep: 0 28px 70px rgba(0, 0, 0, 0.7);
    --ease: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body.site-body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(130% 120% at 10% -10%, #0d2818 0%, var(--bg) 52%, #0a0a0a 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.skip-link {
    position: absolute;
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
    background: var(--accent-warm);
    color: #091523;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    z-index: 120;
}

.skip-link:focus {
    top: 18px;
}

.ambient-layer {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.25;
    animation: drift 16s ease-in-out infinite;
}

.ambient-orb-a {
    width: 380px;
    height: 380px;
    left: -110px;
    top: -90px;
    background: #0d9488;
}

.ambient-orb-b {
    width: 440px;
    height: 440px;
    right: -130px;
    top: 28%;
    background: #5eead4;
    animation-delay: -6s;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(to right, rgba(20, 184, 166, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 184, 166, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

.shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.header-shell-fluid {
    width: 100%;
    padding-inline: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.45);
    background: rgba(45, 212, 191, 0.11);
    color: #99f6e4;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dot-live {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: ping 2.2s infinite;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled {
    background: rgba(15, 20, 25, 0.95);
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
    height: 80px;
}

.site-header.is-scrolled img {
    height: 60px !important;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-v1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.brand-v1 .projeto-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
}

.brand-v1 .squad-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.brand-v1 .squad-text span {
    color: var(--accent);
}

.brand-v1 .underline {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin-top: 4px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-soft);
    font-size: 18px;
    font-weight: 600;
    transition: all var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    border-color: rgba(20, 184, 166, 0.35);
    background: rgba(20, 184, 166, 0.12);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #0d9488 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
    padding: 18px 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
    padding: 14px 20px;
}

.btn-ghost:hover {
    border-color: rgba(20, 184, 166, 0.38);
    background: rgba(20, 184, 166, 0.12);
}

.header-cta {
    margin-left: 10px;
    white-space: nowrap;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 20, 0.96);
    backdrop-filter: blur(14px);
    z-index: 95;
    padding: 110px 24px 28px;
}

.mobile-panel[hidden] {
    display: none;
}

.mobile-panel-inner {
    width: min(560px, 100%);
    margin-inline: auto;
    display: grid;
    gap: 14px;
}

.mobile-link {
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
}

.mobile-link.cta {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.42);
    color: #99f6e4;
}

.page-main {
    padding-top: 24px;
}

.section-block {
    position: relative;
    padding: clamp(64px, 10vw, 110px) 0;
    border-bottom: 1px solid rgba(20, 184, 166, 0.05);
}

.panel {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--panel-soft);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.hero {
    padding-top: 10px;
    min-height: min(760px, 85svh);
    display: grid;
    align-items: center;
}

.hero-layout {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
}

.hero-copy {
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    align-content: center;
    gap: 22px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero-title mark {
    color: var(--accent);
    background: transparent;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: clamp(26px, 5vw, 44px);
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(31px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.section-title em {
    font-style: normal;
    color: var(--accent);
}

.section-intro {
    max-width: 66ch;
    color: #bdcce0;
    font-size: clamp(16px, 2vw, 20px);
}

.feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(20, 184, 166, 0.16);
    border: 1px solid rgba(20, 184, 166, 0.38);
    color: #99f6e4;
    font-size: 18px;
    margin-bottom: 16px;
}

.feature-title {
    font-family: 'Sora', sans-serif;
    font-size: 21px;
    line-height: 1.15;
}

.feature-text {
    margin-top: 10px;
    color: var(--text-soft);
}

.site-footer {
    padding: clamp(64px, 10vw, 104px) 0 34px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-copy,
.footer-form {
    padding: clamp(24px, 3vw, 36px);
}

.footer-copy {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(170deg, rgba(20, 184, 166, 0.1), rgba(10, 22, 35, 0.85));
}

.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.06;
    margin: 10px 0 14px;
}

.footer-copy p {
    color: #a7d8d4;
    font-size: 18px;
}

.contact-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ccfbf1;
    font-weight: 500;
}

.contact-item i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.footer-form {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(11, 22, 36, 0.85);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.input,
.textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
}

.textarea {
    resize: vertical;
    min-height: 120px;
    margin-top: 10px;
}

.input::placeholder,
.textarea::placeholder {
    color: #8da0b6;
}

.input:focus,
.textarea:focus,
.menu-toggle:focus,
.btn:focus,
.nav-link:focus,
.mobile-link:focus {
    outline: 2px solid rgba(45, 212, 191, 0.75);
    outline-offset: 2px;
}

.form-feedback {
    margin-top: 12px;
    min-height: 20px;
    font-size: 14px;
    color: #d8e7f7;
}

.form-feedback.success {
    color: var(--ok);
}

.form-feedback.error {
    color: var(--danger);
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-soft);
    font-size: 13px;
}

.socials {
    display: inline-flex;
    gap: 10px;
}

.socials a {
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* FAQ Accordion */
.faq-accordion {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-trigger i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(20, 184, 166, 0.3);
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
    color: var(--text-soft);
    font-size: 16px;
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding-bottom: 24px;
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 600ms ease, opacity 600ms ease;
}

.js-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-18px) scale(1.04);
    }
}

@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .menu-toggle {
        display: grid;
    }

    .header-cta {
        display: none;
    }

    .brand-v1 .squad-text {
        font-size: 32px;
    }

    .page-main {
        padding-top: 10px;
    }
}

@media (max-width: 700px) {
    :root {
        --header-h: 78px;
    }

    .shell {
        width: min(1160px, calc(100% - 24px));
    }

    .hero-copy {
        padding: 18px;
    }

    .brand-v1 .squad-text {
        font-size: 28px;
    }

    .brand-v1 .projeto-text {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .feature-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-block {
        padding: 56px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
