/* =============================================
   STARLINK — INTERNET VIA SATÉLITE
   
   Estrutura de seções:
   .section-img  → seção com imagem de fundo (hero, features)
   .section-text → seção só texto, fundo preto puro (banners)
   
   As transições são suaves porque:
   - Cada .section-img tem um overlay com degradê:
     preto puro → transparente → preto puro
   - As .section-text são preto puro
   - Resultado: tudo se funde naturalmente
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #000000;
    --surface: #0a0a0f;
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text-dim: #a0a0b0;
    --text-muted: #606070;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }


/* ==========================================================
   HEADER
   ========================================================== */

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 40px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    transition: all 0.4s var(--ease);
}
.header.scrolled {
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 14px 40px;
    border-bottom: 1px solid var(--border);
}

.header-left { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 25px; width: auto; object-fit: contain; }

.header-nav { display: flex; gap: 28px; }
.nav-btn {
    font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgb(255, 255, 255); transition: color 0.3s ease;
}
.nav-btn:hover { color: #fff; }

.menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; border: none; background: transparent; padding: 8px;
}
.menu-toggle span {
    width: 22px; height: 1.5px; background: #fff;
    border-radius: 2px; display: block; transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ==========================================================
   MOBILE MENU
   ========================================================== */

.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.97); backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-family: var(--font-display); font-weight: 700; font-size: 2rem;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0; transform: translateY(20px); transition: all 0.4s ease;
}
.mobile-menu.open a {
    opacity: 1; transform: translateY(0);
    transition-delay: calc(var(--i) * 0.08s);
}
.mobile-menu a:hover { color: #fff; }


/* ==========================================================
   SEÇÕES COM IMAGEM (.section-img)
   
   Cada uma tem 3 camadas:
   1. __bg       → imagem de fundo
   2. __overlay  → degradê preto→transparente→preto
   3. __content  → texto por cima
   ========================================================== */

.section-img {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Camada 1: imagem */
.section-img__bg {
    position: absolute;
    inset: -2px; /* evita gap de 1px entre seções */
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Camada 2: degradê que funde com o preto */
.section-img__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        #000000     0%,
        #000000     4%,
        rgba(0,0,0,0.72)  16%,
        rgba(0,0,0,0.35)  32%,
        rgba(0,0,0,0.25)  45%,
        rgba(0,0,0,0.25)  55%,
        rgba(0,0,0,0.35)  68%,
        rgba(0,0,0,0.72)  84%,
        #000000     96%,
        #000000     100%
    );
}

/* Seções coladas: remover degradê preto de baixo (robustez) */
.section-img__overlay--no-bottom {
    background: linear-gradient(
        180deg,
        #000000     0%,
        #000000     4%,
        rgba(0,0,0,0.72)  16%,
        rgba(0,0,0,0.35)  32%,
        rgba(0,0,0,0.25)  45%,
        rgba(0,0,0,0.15)  65%,
        rgba(0,0,0,0.08)  80%,
        rgba(0,0,0,0.0)   100%
    );
}

/* Seções coladas: remover degradê preto de cima (velocidade) */
.section-img__overlay--no-top {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.0)   0%,
        rgba(0,0,0,0.08)  20%,
        rgba(0,0,0,0.15)  35%,
        rgba(0,0,0,0.25)  45%,
        rgba(0,0,0,0.25)  55%,
        rgba(0,0,0,0.35)  68%,
        rgba(0,0,0,0.72)  84%,
        #000000     96%,
        #000000     100%
    );
}

/* Camada 3: conteúdo */
.section-img__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    width: 100%;
    padding: 140px 24px;
}

.section-img__content--hero {
    max-width: 940px;
    padding: 160px 24px 120px;
}

/* Stars (só no hero) */
.stars {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden; pointer-events: none;
}
.star {
    position: absolute;
    width: 2px; height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--dur) ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--op); }
}


/* ==========================================================
   SEÇÕES DE TEXTO (.section-text)
   Fundo preto puro — faz a cola entre as imagens
   ========================================================== */

.section-text {
    position: relative;
    background: #000;
    padding: 100px 24px;
    text-align: center;
}

/* Leve glow radial pra dar profundidade sem parecer flat */
.section-text::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 50% at 50% 50%,
        rgba(255,255,255,0.012) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.section-text__inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.section-text__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-text__body {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 6px;
}
.section-text__body strong { color: #fff; }

.section-text--last {
    padding: 120px 24px 80px;
}


/* ==========================================================
   INSTALL SECTION — Layout lado a lado
   ========================================================== */

.section-text--install {
    padding: 80px 24px;
}

.install-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.install-img {
    flex: 0 0 42%;
    max-width: 420px;
}

.install-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.install-content {
    flex: 1;
}

.install-intro {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 28px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.install-step__number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.install-step__label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: #fff;
}

.install-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ==========================================================
   HERO — Conteúdo do primeiro bloco
   ========================================================== */

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 36px;

    animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.hero-intro {
    max-width: 560px;
    margin: 0 auto 56px;
    animation: fadeUp 0.9s var(--ease) 0.35s both;
}
.hero-intro__line1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.5;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-intro__line2 {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    color: var(--text-dim);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}


/* ==========================================================
   FEATURE — Títulos e textos sobre imagens
   ========================================================== */

.feature-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.5);
}

.feature-text {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
    text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.4);
}


/* ==========================================================
   PRODUCT CARDS
   ========================================================== */

.product-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeUp 0.9s var(--ease) 0.55s both;
}

.product-card {
    width: 360px;
    padding: 32px 28px 28px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
    transition: all 0.35s var(--ease);
}
.product-card:hover {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.product-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.product-card .card-desc {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 24px;
}
.product-card .btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 30px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.product-card .btn-card:hover {
    background: rgba(255,255,255,0.88);
}
.product-card .btn-card svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
}
.product-card .btn-card:hover svg { transform: translateX(3px); }


/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 40px 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    max-width: 800px;
    margin: 0 auto 24px;
}
.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
    text-align: center;
    font-size: 0.73rem;
    color: rgba(255,255,255,0.25);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ==========================================================
   REVEAL (scroll animation)
   ========================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================
   PRODUTO PAGE (mantido do original)
   ========================================================== */

.page-produto { min-height: 100vh; background: var(--bg); }

.produto-hero { position: relative; padding: 140px 24px 80px; text-align: center; overflow: hidden; }
.produto-hero::before {
    content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.produto-voltar {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-dim); margin-bottom: 32px;
    transition: color 0.3s ease; position: relative; z-index: 1;
}
.produto-voltar:hover { color: #fff; }
.produto-voltar svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.produto-voltar:hover svg { transform: translateX(-4px); }

.produto-tag {
    display: inline-flex; padding: 6px 18px;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
    background: rgba(255,255,255,0.05);
    font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.6); margin-bottom: 20px; position: relative; z-index: 1;
}
.produto-hero h1 {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -1px;
    margin-bottom: 16px; position: relative; z-index: 1;
}
.produto-hero .desc {
    font-size: 1rem; color: var(--text-dim); max-width: 600px;
    margin: 0 auto; line-height: 1.7; position: relative; z-index: 1;
}

/* Specs */
.specs-section { padding: 40px 24px 80px; max-width: 1000px; margin: 0 auto; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 60px; }
.spec-card {
    padding: 28px 24px; border: 1px solid var(--border); border-radius: 4px;
    background: var(--surface); text-align: center; transition: all 0.35s var(--ease);
}
.spec-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.spec-card .value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 4px; }
.spec-card .label { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }

.features-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 32px; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 60px; }
.feature-card {
    display: flex; gap: 16px; padding: 24px;
    border: 1px solid var(--border); border-radius: 4px; background: var(--surface);
    transition: all 0.35s var(--ease);
}
.feature-card:hover { border-color: rgba(255,255,255,0.12); }
.feature-icon {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.5; }
.feature-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.feature-card p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

/* Pricing */
.pricing-section { max-width: 520px; margin: 0 auto; padding: 0 24px 80px; }
.pricing-box {
    border: 1px solid var(--border); border-radius: 4px;
    background: var(--surface); padding: 40px 32px; text-align: center;
}
.pricing-label { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.pricing-value { font-family: var(--font-display); font-weight: 900; font-size: 3rem; margin-bottom: 4px; }
.pricing-value .currency { font-size: 1.2rem; font-weight: 600; vertical-align: super; margin-right: 2px; }
.pricing-value .period { font-size: 1rem; font-weight: 400; color: var(--text-dim); }
.pricing-equip { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.pricing-equip strong { color: var(--text); }

.btn-comprar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px 32px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #000; background: #fff; border: none; border-radius: 4px;
    cursor: pointer; transition: all 0.3s var(--ease);
}
.btn-comprar:hover { background: rgba(255,255,255,0.85); transform: translateY(-2px); }

.pricing-garantia {
    margin-top: 20px; display: flex; align-items: center; justify-content: center;
    gap: 6px; font-size: 0.78rem; color: var(--text-dim);
}

/* Checkout elements */
.checkout-container { max-width: 560px; margin: 0 auto; padding: 140px 24px 80px; }
.checkout-title { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; margin-bottom: 32px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 4px; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.3s ease; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: rgba(255,255,255,0.3); }
.form-group textarea { height: 90px; resize: vertical; }
.order-summary { border: 1px solid var(--border); border-radius: 4px; background: var(--surface); padding: 24px; margin-bottom: 24px; }
.order-summary h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.order-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; color: var(--text-dim); }
.order-line.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; color: var(--text); font-weight: 700; font-size: 1.1rem; }

.alert { padding: 16px 20px; border-radius: 4px; font-size: 0.9rem; margin-bottom: 24px; }
.alert-success { background: rgba(0,230,138,0.1); border: 1px solid rgba(0,230,138,0.3); color: #00e68a; }
.alert-error { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.3); color: #ff5050; }


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
    .header { padding: 16px 20px; }
    .header.scrolled { padding: 12px 20px; }
    .header-nav { display: none; }

    .product-cards { flex-direction: column; align-items: center; }
    .product-card { width: 100%; max-width: 400px; }

    .section-img__content--hero { padding: 120px 20px 80px; }
    .section-img__content { padding: 100px 20px; }
    .section-text { padding: 80px 20px; }

    .install-layout {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .install-img {
        flex: none;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    .install-content { text-align: left; }
    .section-text--install .section-text__title { text-align: center !important; }

    .specs-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-value { font-size: 2.4rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
    .section-img__content--hero { padding: 100px 16px 60px; }
    .hero-title { font-size: 1.9rem; letter-spacing: -0.5px; }
    .product-card { padding: 24px 20px 24px; }
    .section-text__title { font-size: 1.4rem; }
    .feature-title { font-size: 1.6rem; }
}


/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }