/* ===========================
   Base / Layout Global
   =========================== */

:root {
    --bg: #050506;
    --bg-elevated: #101013;
    --card-bg: radial-gradient(circle at top left, #211215 0%, #090809 55%, #050506 100%);
    --accent: #b64034;
    --accent-soft: rgba(182, 64, 52, 0.35);
    --text-main: #f5f3ef;
    --text-muted: #aaa7a2;
    --border-subtle: rgba(255,255,255,0.04);
    --max-width: 1500px;
    --side-padding: 4rem;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-soft: 0 22px 60px rgba(0,0,0,0.7);
    --shadow-card: 0 18px 45px rgba(0,0,0,0.75);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #151015 0, #050506 55%);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 16px;
}

/* Wrapper premium: conteúdo centrado, fundo esticado */
.wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

/* Secções verticais */
section {
    padding: 6rem 0;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Imagens */
img {
    max-width: 100%;
    display: block;
}

/* ===========================
   Header / Navegação
   =========================== */

.site-header {
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(0,0,0,0.0)),
        rgba(5,5,6,0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header .wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Moldura do logo tipo placa de arquivo */
.logo {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
}

.logo img {
    height: 32px;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,243,239,0.72);
    transition: color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Botão do menu mobile (escondido em desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(245,243,239,0.8);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===========================
   HERO
   =========================== */

.hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: flex-start;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.hero-title {
    font-size: clamp(2.8rem, 3.4vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 1.4rem;
}

.hero-subtitle {
    max-width: 35rem;
    font-size: 0.98rem;
    color: var(--text-muted);
    margin: 0 0 1.8rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.meta-pill {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), rgba(0,0,0,0.1));
    font-size: 0.75rem;
    color: rgba(245,243,239,0.8);
}

.hero-note {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.hero-note span {
    color: #ff7566;
}

/* Painel direito */

.hero-panel {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    padding: 1.4rem 1.5rem 1.5rem;
}

.panel-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,243,239,0.65);
    margin-bottom: 0.6rem;
}

.panel-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.panel-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.panel-block {
    font-size: 0.85rem;
    background: rgba(14,7,8,0.95);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.1rem;
}

.panel-block ul {
    padding-left: 1.2rem;
    margin: 0.4rem 0 0;
}

.panel-block li {
    margin-bottom: 0.3rem;
}

.panel-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(245,243,239,0.82);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4f4f;
    box-shadow: 0 0 0 6px rgba(255,79,79,0.16);
}

/* ===========================
   COMO VAI FUNCIONAR O JOGO
   =========================== */

.how-works-section {
    border-top: 1px solid var(--border-subtle);
}

.how-works-section h2 {
    font-size: 1.6rem;
    margin: 0 0 1rem;
}

.hw-intro {
    max-width: 40rem;
    font-size: 0.96rem;
    color: var(--text-muted);
    margin: 0 0 2.2rem;
}

.hw-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hw-step {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-card);
    padding: 1.3rem 1.4rem 1.4rem;
}

.hw-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

.hw-step h3 {
    font-size: 1.02rem;
    margin: 0 0 0.5rem;
}

.hw-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================
   REVIEWS
   =========================== */

.reviews-section {
    border-top: 1px solid var(--border-subtle);
    padding-bottom: 4.5rem;
}

.reviews-title {
    margin-bottom: 2rem;
}

.reviews-title h2 {
    font-size: 1.4rem;
    margin: 0 0 0.6rem;
}

.reviews-title p {
    max-width: 38rem;
    font-size: 0.94rem;
    color: var(--text-muted);
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.review-card {
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 1.1rem 1.2rem 1.2rem;
    box-shadow: var(--shadow-card);
}

.review-header {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.review-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.review-name {
    font-size: 0.98rem;
    margin: 0 0 0.15rem;
}

.review-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================
   Arquivo
   =========================== */

.arquivo-section h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.arquivo-section p {
    max-width: 38rem;
    font-size: 0.96rem;
    color: var(--text-muted);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 1.2rem 0 1.5rem;
    background: #050506;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer a {
    color: var(--text-muted);
}

/* Coluna esquerda do footer (nome + meta) */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.85;
}

/* ===========================
   Efeitos de glow / cards
   =========================== */

.glow-block {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-block:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* estilo base dos cards com glow */
.s17-card-glow {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

/* “halo” à volta do card */
.s17-card-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at top left,
    rgba(255, 77, 61, 0.55),
    rgba(255, 77, 61, 0) 60%);
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* efeito ao hover */
.s17-card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 77, 61, 0.6);
}

.s17-card-glow:hover::before {
  opacity: 1;
  filter: blur(18px);
}

/* ===========================
   Menu mobile aberto
   =========================== */

.nav-links.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: absolute;
    right: var(--side-padding);
    top: 60px;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(5,5,6,0.97);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-card);
}

/* ===========================
   Responsivo
   =========================== */

@media (max-width: 1100px) {
    :root {
        --side-padding: 2rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hw-steps,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    :root {
        --side-padding: 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .site-header .wrapper {
        padding-inline: 1.2rem;
    }

    .nav-links a {
        margin-left: 1.2rem;
    }

    /* em mobile, escondemos links normais e mostramos botão ⋯ */
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}
