/* ===============================
   7games Móveis - Estilos gerais
   Paleta: azul petróleo + laranja queimado + neutros claros
   =============================== */

:root {
  --color-primary: #145369;
  --color-primary-soft: #1e738f;
  --color-accent: #ff7a3c;
  --color-bg: #f4f5f7;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f2f5;
  --color-border-subtle: rgba(15, 23, 42, 0.06);
  --color-text-main: #111827;
  --color-text-muted: #6b7280;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-base: 0.25s ease;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 60vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.center {
  text-align: center;
}

/* ===============================
   Cabeçalho e navegação
   =============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 245, 247, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 0, #ffe6d3, #ff7a3c);
  color: #0b1120;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.logo-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-soft));
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-text-main);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

/* ===============================
   Hero
   =============================== */

.hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.18rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 2.8vw + 1rem, 3.1rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero h1 span {
  color: var(--color-accent);
  display: block;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-highlights li::before {
  content: "●";
  margin-right: 0.4rem;
  color: var(--color-primary-soft);
  font-size: 0.6rem;
}

.hero-image-card {
  border-radius: 26px;
  padding: 0.8rem;
  background: linear-gradient(145deg, #ffffff, #e5f0f4);
  box-shadow: var(--shadow-soft);
}

.hero-image-card img {
  border-radius: 22px;
  object-fit: cover;
  max-height: 320px;
  width: 100%;
}

.hero-image-card figcaption {
  padding: 0.6rem 0.75rem 0.2rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===============================
   Componentes reutilizáveis
   =============================== */

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.16);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn-outline {
  border-color: rgba(15, 23, 42, 0.16);
  color: var(--color-text-main);
  background: transparent;
}

.btn-outline:hover {
  background: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
  border-color: transparent;
}

.btn-light:hover {
  background: #f3f4f6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0.6rem 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 35rem;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.cards-column {
  display: grid;
  gap: 1.2rem;
}

.info-card,
.product-card,
.news-card,
.team-card,
.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.product-card h3,
.news-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.info-card p,
.product-card p,
.news-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0.8rem;
  display: grid;
  gap: 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: var(--color-success);
  font-size: 0.8rem;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.bullet-list li::before {
  content: "–";
  margin-right: 0.4rem;
  color: var(--color-accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--color-primary);
  margin-top: 0.85rem;
}

.text-link::after {
  content: "↗";
  font-size: 0.7rem;
}

/* ===============================
   Seção produtos
   =============================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card img {
  border-radius: 14px;
  max-height: 190px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
}

/* ===============================
   Seção notícias
   =============================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.news-tag {
  display: inline-flex;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

/* ===============================
   Sobre / Equipe
   =============================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-image img {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.team-card {
  text-align: left;
}

.team-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.team-sport {
  font-size: 0.78rem;
  color: var(--color-primary-soft);
  margin-top: 0.18rem;
}

/* ===============================
   Contato
   =============================== */

.section-cta {
  background: linear-gradient(135deg, #145369, #1e738f);
  color: #f9fafb;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner p {
  color: #e5e7eb;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-card {
  padding: 1.4rem 1.5rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field-group {
  display: grid;
  gap: 0.25rem;
}

.field-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.field-label span {
  color: var(--color-accent);
}

.field-input,
.field-textarea,
.field-select {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  padding: 0.65rem 0.8rem;
  color: var(--color-text-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field-textarea {
  min-height: 120px;
  resize: vertical;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: var(--color-primary-soft);
  box-shadow: 0 0 0 1px rgba(20, 83, 105, 0.2);
  background: #f9fafb;
}

.contact-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-meta strong {
  color: var(--color-text-main);
}

.contact-meta ul {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.2rem;
}

.contact-meta li::before {
  content: "⦿";
  margin-right: 0.4rem;
  color: var(--color-success);
  font-size: 0.7rem;
}

.seo-tail-text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.8rem;
}

.seo-tail {
  color: var(--color-accent);
}

/* ===============================
   Filtros da página de produtos
   =============================== */

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
  background: rgba(15, 22, 45, 0.9);
  background: #ffffff;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.filter-chip.is-active {
  background: linear-gradient(120deg, var(--color-primary-soft), var(--color-accent));
  color: #000;
  border-color: transparent;
  transform: translateY(-1px);
}

.products-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-tag {
  display: inline-flex;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* ===============================
   Rodapé
   =============================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  background: radial-gradient(circle at top, rgba(217, 70, 239, 0.5), #060112 60%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding: 2.3rem 1.5rem 1.5rem;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-col p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-keywords {
  font-size: 0.74rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 0, 14, 0.96);
}

.footer-bottom-inner {
  padding: 0.9rem 1.5rem 1.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ===============================
   Animação de scroll reveal
   =============================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Layouts internos (páginas)
   =============================== */

.page-hero {
  padding: 4.2rem 0 2.2rem;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb span {
  color: var(--color-accent);
}

.page-hero h1 {
  margin: 0;
  font-size: 2rem;
}

.page-hero p {
  margin: 0.65rem 0 0;
  color: var(--color-text-muted);
  max-width: 38rem;
}

/* ===============================
   Responsividade
   =============================== */

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .about-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.2rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid,
  .news-grid,
  .team-grid,
  .products-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 60px 1rem auto 1rem;
    flex-direction: column;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(2, 7, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
  }

  .hero-grid {
    gap: 2.2rem;
  }

  .product-grid,
  .news-grid,
  .team-grid,
  .products-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.2rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.94rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}


