/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Theme tokens ---------- */
:root {
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-tech: 'Orbitron', 'Segoe UI', sans-serif;

  --accent: #48642D;
  --accent-strong: #3A5024;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

[data-theme="dark"] {
  --bg: #0a0d12;
  --bg-elevated: #12161d;
  --bg-card: #12161d;
  --border: #232a35;
  --text-primary: #f5f7fa;
  --text-secondary: #9aa4b2;
  --text-muted: #6b7480;
  --hero-overlay: linear-gradient(90deg, rgba(6,9,13,0.85) 0%, rgba(6,9,13,0.65) 30%, rgba(6,9,13,0.25) 50%, rgba(6,9,13,0) 65%);
  --instr-hero-overlay: linear-gradient(90deg, rgba(6,9,13,0.9) 0%, rgba(6,9,13,0.75) 24%, rgba(6,9,13,0.3) 38%, rgba(6,9,13,0) 50%);
  --hero-bg-color: #0d1319;
  --btn-outline-text: #f5f7fa;
  --btn-outline-border: #394152;
  --header-bg: rgba(10, 13, 18, 0.92);
  --active-color: var(--accent);
  --stat-card-bg: rgba(7, 12, 15, 0.5);
  --prod-hero-img: url("../assets/produtos/images/hero-fazenda-dark.png");
  --hero-cow-img: url("../assets/images/Vaca%20de%20fundo.png");
}

[data-theme="light"] {
  --bg: #f6f8f6;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: #e1e6e2;
  --text-primary: #10141a;
  --text-secondary: #4a5561;
  --text-muted: #7a8490;
  --hero-overlay: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 65%);
  --instr-hero-overlay: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.75) 24%, rgba(255,255,255,0.3) 38%, rgba(255,255,255,0) 50%);
  --hero-bg-color: #eef2ee;
  --btn-outline-text: #10141a;
  --btn-outline-border: #d3d9d4;
  --header-bg: rgba(15, 42, 42, 0.85);
  --active-color: #F1AC5B;
  --stat-card-bg: rgba(132, 135, 132, 0.4);
  --prod-hero-img: url("../assets/produtos/images/hero-fazenda-light.png");
  --hero-cow-img: url("../assets/images/Vaca%20de%20fundo%20claro.png");
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #0a1206;
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-outline {
  background: transparent;
  color: var(--btn-outline-text);
  border-color: var(--btn-outline-border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  max-width: 1320px;
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  margin-left: -20px;
}
.logo-img { height: 86px; width: auto; }

.main-nav {
  display: flex;
  align-items: stretch;
  margin-right: 48px;
}
.main-nav ul {
  display: flex;
  align-items: stretch;
  gap: 48px;
}
.main-nav li { display: flex; }
.main-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--text-primary); }
.main-nav a.active { color: var(--active-color); }

[data-theme="dark"] .main-nav a:hover { color: #48642D; }

[data-theme="light"] .main-nav a { color: #ffffff; }
[data-theme="light"] .main-nav a:hover { color: #F1AC5B; }
[data-theme="light"] .main-nav a.active { color: var(--active-color); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--active-color);
  border-radius: 2px 2px 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 80px;
}

.theme-toggle {
  position: relative;
  display: flex;
  width: 96px;
  height: 52px;
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
  gap: 6px;
}
.theme-toggle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.theme-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  opacity: 0.45;
  transition: opacity .2s ease;
}
.theme-btn img { width: 19px; height: 19px; }
.theme-btn.is-active { opacity: 1; }

.btn-image { background: none; border: none; padding: 0; border-radius: 0; }
.btn-image img { height: 40px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -101px;
  padding-top: 101px;
  min-height: 840px;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg-color);
  background-image:
    var(--hero-overlay),
    radial-gradient(1.5px 1.5px at 20% 30%, var(--accent) 0%, transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 15%, var(--accent) 0%, transparent 60%),
    radial-gradient(1px 1px at 80% 55%, var(--accent) 0%, transparent 60%),
    radial-gradient(1px 1px at 35% 65%, var(--accent) 0%, transparent 60%),
    var(--hero-cow-img);
  background-repeat: no-repeat;
  background-size: cover, auto, auto, auto, auto, cover;
  background-position: center, 0 0, 0 0, 0 0, 0 0, right 40%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(15, 42, 42, 0.6), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 620px; padding: 80px 0; position: relative; }

.hero-heading {
  position: relative;
  padding-left: 26px;
  margin-bottom: 18px;
}

.hero-accent {
  position: absolute;
  left: 0;
  top: 6px;
  height: 132px;
  width: auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.hero-description {
  color: black;
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 32px;
}

[data-theme="dark"] .hero-description { color: #ffffff; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Info cards ---------- */
.info-cards { padding: 40px 0 56px; }

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.info-card-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ---------- Benefits bar ---------- */
.benefits { padding-bottom: 56px; }

.benefits-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1px solid var(--border);
}
.benefit-item:last-child { border-right: none; }

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-item small {
  display: block;
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ---------- Instruções: hero ---------- */
.instr-hero {
  position: relative;
  margin-top: -101px;
  padding-top: 101px;
  min-height: 961px;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg-color);
  background-image:
    var(--instr-hero-overlay),
    url("../assets/instru%C3%A7%C3%B5es/imagem%20de%20fundo.png");
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-position: center, right center;
  overflow: hidden;
}

.instr-hero-phone {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 0;
  height: 700px;
  width: auto;
  max-width: 52%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45));
  pointer-events: none;
}

.instr-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.instr-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}

.instr-hero-text { max-width: 520px; flex-shrink: 0; }

.instr-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.instr-hero .hero-description { margin-bottom: 32px; }

/* ---------- Section title (centered, dashed) ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}
.section-title::before,
.section-title::after {
  content: "";
  height: 2px;
  width: 40px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Instruções: como funciona ---------- */
.how-it-works { padding: 16px 0 64px; }

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps-track::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 24px;
}

.step-photo {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 20px;
}
.step-photo img { width: 100%; height: 100%; object-fit: cover; }

.step-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.step-item p { color: var(--text-secondary); font-size: 0.9rem; max-width: 230px; }

/* ---------- Instruções: recursos do app ---------- */
.app-features { padding-bottom: 64px; }

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

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  text-align: center;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  color: var(--accent);
}
.feature-icon img,
.feature-icon svg { width: 100%; height: 100%; object-fit: contain; }

.feature-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-bottom: 8px;
}
.feature-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* ---------- Instruções: CTA banner ---------- */
.cta-banner-section { padding-bottom: 80px; }

.cta-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  color: var(--accent);
}
.cta-icon svg { width: 100%; height: 100%; }

.cta-text { flex: 1; }
.cta-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin-bottom: 10px;
}
.cta-text p { color: var(--text-secondary); margin-bottom: 10px; }

.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.cta-note svg { color: var(--accent); flex-shrink: 0; }

.cta-banner .btn { flex-shrink: 0; }

/* ---------- Produtos: hero ---------- */
.prod-hero {
  position: relative;
  margin-top: -101px;
  padding-top: 101px;
  min-height: 881px;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg-color);
  background-image: var(--prod-hero-img);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 82% center;
  overflow: hidden;
}

.prod-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.prod-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.prod-hero-text { max-width: 560px; flex-shrink: 0; }

.prod-hero-title {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 20px;
}

.prod-hero .hero-description { margin-bottom: 32px; }
.prod-hero .btn { font-family: var(--font-body); font-weight: 400; }

.prod-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
  flex-shrink: 0;
  margin-right: -250px;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 26px;
  background: var(--stat-card-bg);
  border: 1px solid rgba(126, 217, 87, 0.28);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  color: #f5f7fa;
}

.stat-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #b7c0c9;
}

[data-theme="light"] .stat-label { color: #ffffff; }

.stat-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stat-value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.6rem;
}

.stat-signal { color: var(--accent); }

/* ---------- Produtos: shared section title ---------- */
.prod-section-title {
  text-align: center;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.prod-section-title-alt {
  font-family: 'Open Sans', var(--font-body);
  font-weight: 700;
  text-transform: none;
  margin-bottom: 56px;
}

.prod-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ---------- Produtos: catalog ---------- */
.prod-catalog { padding: 64px 0 56px; }
.prod-catalog .container { max-width: 1360px; }

.prod-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color .2s ease, color .2s ease;
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }

.product-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.18), 0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: transparent;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }

.product-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: #121c13;
  color: var(--accent);
}
.product-badge img { width: 100%; height: 100%; object-fit: contain; }

.product-card h3 {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.product-card p {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ---------- Produtos: benefits ---------- */
.prod-benefits { padding-bottom: 88px; }
.prod-benefits .container { max-width: 1560px; }

.prod-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.benefit-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #121c13;
  color: var(--accent);
}
.benefit-icon-badge img { width: 100%; height: 100%; object-fit: contain; }

.benefit-text h3 {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.benefit-text p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ---------- Sobre nós: hero ---------- */
.sobre-hero { padding: 56px 0 48px; }

.sobre-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.sobre-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 640px;
}

.sobre-hero-text p {
  margin-top: 18px;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.sobre-hero-note {
  justify-self: end;
  width: min(100%, 360px);
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}
.sobre-hero-note strong {
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* ---------- Sobre nós: equipe ---------- */
.team-section { padding-bottom: 64px; }

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

.member-card {
  position: relative;
  padding: 30px 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.member-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.member-photo {
  display: block;
  width: 136px;
  height: 136px;
  margin: 6px auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }

.member-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.member-role {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.member-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color .2s ease, transform .2s ease;
}
.member-socials a svg {
  width: 16px;
  height: 16px;
}
.member-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Sobre nós: contato ---------- */
.contact-section { padding-bottom: 72px; }

.contact-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
  align-items: stretch;
}

.contact-copy,
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-copy { padding: 34px; }
.contact-copy p {
  max-width: 420px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-meta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact-meta span { display: flex; align-items: center; gap: 10px; }

.contact-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

.contact-card { padding: 28px; }

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

.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(72, 100, 45, 0.16);
}
.field textarea { min-height: 110px; resize: vertical; }

.form-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.privacy {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ---------- Rodapé ---------- */
.site-footer {
  margin-top: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Referências: hero ---------- */
.refs-hero {
  position: relative;
  margin-top: -101px;
  padding-top: 101px;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--hero-bg-color);
  background-image: var(--instr-hero-overlay), url("../assets/referencias/fundo.png");
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-position: center, center top;
  overflow: hidden;
}

.refs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.refs-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 0 44px;
}

.refs-hero-text { max-width: 560px; }
.refs-hero-text .eyebrow { font-size: 1.1rem; }

.refs-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.refs-hero-card {
  position: relative;
  width: min(100%, 340px);
  flex-shrink: 0;
  padding: 26px;
  background: var(--stat-card-bg);
  border: 1px solid rgba(126, 217, 87, 0.28);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.refs-hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent);
}
.refs-hero-card-icon img { width: 36px; height: 36px; object-fit: contain; }

.refs-hero-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #f5f7fa;
}

.refs-hero-card p {
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- Referências: artigos ---------- */
.refs-articles { padding: 40px 0 16px; }

.refs-caption {
  text-align: right;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.refs-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.refs-tab svg, .refs-tab img { width: 36px; height: 36px; object-fit: contain; }
.refs-tab img.refs-tab-icon-lg { width: 48px; height: 48px; }

.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s ease;
}
.article-item:hover { border-color: var(--accent); }

.article-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
}

.article-body { flex: 1; min-width: 0; }
.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.article-link svg { width: 15px; height: 15px; }
.article-link:hover { background: var(--accent); color: #0a1206; }

/* ---------- Referências: recursos ---------- */
.refs-resources { padding: 32px 0 72px; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.resource-card {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
}
.resource-icon svg { width: 22px; height: 22px; }

.resource-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  transform-origin: left center;
  transition: transform .25s ease, text-shadow .25s ease;
}
.resource-link svg { width: 14px; height: 14px; }
.resource-link:hover {
  transform: scale(1.18);
  text-shadow: 0 0 14px rgba(126, 217, 87, 0.85), 0 0 30px rgba(126, 217, 87, 0.5);
}

/* ---------- Jogo: hero ---------- */
.jogo-hero { padding: 56px 0 72px; }

.jogo-hero-inner {
  display: flex;
  align-items: center;
  gap: 76px;
}

.jogo-hero-text { max-width: 480px; flex-shrink: 0; }

.jogo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.jogo-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.jogo-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.jogo-hero-text .hero-description { margin-bottom: 32px; max-width: 440px; }

.jogo-play-btn { padding: 16px 26px 16px 20px; font-size: 1rem; margin-bottom: 40px; }
.jogo-play-btn svg:first-child { width: 26px; height: 26px; flex-shrink: 0; }

.jogo-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.jogo-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.jogo-stat-icon { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }

.jogo-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
.jogo-stat-label { display: block; color: var(--text-secondary); font-size: 0.75rem; }

/* ---------- Jogo: video card ---------- */
.jogo-video-card {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.jogo-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}
.jogo-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,9,13,0.9) 0%, rgba(6,9,13,0.1) 42%, rgba(6,9,13,0.35) 100%);
  pointer-events: none;
  transition: opacity .2s ease;
}

.jogo-video-card.is-playing .jogo-video-overlay,
.jogo-video-card.is-playing .jogo-video-eyebrow,
.jogo-video-card.is-playing .jogo-play-toggle,
.jogo-video-card.is-playing .jogo-video-caption {
  opacity: 0;
  pointer-events: none;
}

.jogo-video-card.is-playing .jogo-video-controls {
  opacity: 0;
  transition: opacity .2s ease;
}
.jogo-video-card.is-playing:hover .jogo-video-controls,
.jogo-video-card.is-playing .jogo-video-controls:hover {
  opacity: 1;
}

.jogo-video-eyebrow {
  position: absolute;
  top: 22px;
  left: 26px;
  color: #f5f7fa;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}
.jogo-video-eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
}

.jogo-play-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 18, 0.55);
  border: 2px solid rgba(245, 247, 250, 0.8);
  color: #f5f7fa;
}
.jogo-play-toggle svg { width: 22px; height: 22px; margin-left: 3px; }

.jogo-video-caption {
  position: absolute;
  left: 26px;
  bottom: 58px;
  color: #f5f7fa;
}
.jogo-video-caption span {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.jogo-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: #f5f7fa;
}
.jogo-video-controls svg { width: 16px; height: 16px; flex-shrink: 0; }
.jogo-video-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.jogo-video-time { font-size: 0.78rem; color: rgba(245,247,250,0.85); white-space: nowrap; }

.jogo-video-progress {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(245,247,250,0.25);
  cursor: pointer;
}
.jogo-video-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
}

.jogo-video-controls-right { display: flex; align-items: center; gap: 12px; margin-left: 4px; }

/* ---------- Jogo: jornada / história ---------- */
.jogo-journey { padding: 88px 0 0; }

.jogo-journey-frame {
  position: relative;
  overflow: hidden;
}

.jogo-journey-photo { position: absolute; inset: 0; z-index: 0; }
.jogo-journey-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.jogo-journey-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 26%),
    linear-gradient(90deg, var(--bg) 0%, transparent 42%),
    linear-gradient(270deg, var(--bg) 0%, transparent 42%),
    linear-gradient(180deg, rgba(6,9,13,0.35), rgba(6,9,13,0.6));
}
[data-theme="light"] .jogo-journey-photo::after {
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 26%),
    linear-gradient(90deg, var(--bg) 0%, transparent 42%),
    linear-gradient(270deg, var(--bg) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.45));
}

.jogo-journey-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 110px 48px;
}

.jogo-journey-text { max-width: 380px; flex-shrink: 0; text-align: center; }
.jogo-journey-text .jogo-eyebrow { justify-content: center; }

.jogo-journey-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.jogo-journey-text .hero-description { max-width: none; margin-bottom: 28px; }

.jogo-quote {
  padding-top: 14px;
  border-top: 2px solid var(--accent);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.7;
}

.jogo-badges {
  gap: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1200px;
  margin-left: 30px;
}

.badge-card {
  padding: 26px 22px;
  background: var(--stat-card-bg);
  border: 1px solid rgba(126, 217, 87, 0.28);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  text-align: center;
}

.badge-icon { width: 64px; height: 64px; margin: 0 auto 14px; object-fit: contain; }

.badge-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #f5f7fa;
}

.badge-card p {
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.badge-date { display: block; color: rgba(245, 247, 250, 0.55); font-size: 0.75rem; margin-bottom: 14px; }

.badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a1206;
}
.badge-check svg { width: 14px; height: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-bar { grid-template-columns: repeat(2, 1fr); }
  .benefit-item:nth-child(2) { border-right: none; }
  .steps-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-track::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 32px; }
  .cta-note { justify-content: center; }
  .prod-hero-inner { flex-direction: column; align-items: flex-start; }
  .prod-stats { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1 1 45%; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-hero-inner { grid-template-columns: 1fr; }
  .sobre-hero-note { justify-self: start; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .refs-hero-inner { flex-direction: column; align-items: flex-start; }
  .refs-hero-card { width: 100%; }
  .refs-hero-side { display: none; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .jogo-hero-inner { flex-direction: column; align-items: stretch; }
  .jogo-hero-text { max-width: none; }
  .jogo-journey-inner { flex-direction: column; }
  .jogo-badges { grid-template-columns: repeat(3, 1fr); width: 100%; }
}

@media (max-width: 768px) {
  .header-inner { height: 72px; }
  .logo-img { height: 48px; }
  .hero { min-height: auto; margin-top: -73px; padding-top: 73px; }
  .instr-hero { min-height: auto; margin-top: -73px; padding: 129px 0 48px; background-position: center, 65% center; }
  .instr-hero-text { max-width: 100%; flex-shrink: 1; }
  .instr-hero-phone { display: none; }
  .hero-content { padding: 56px 0; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .benefits-bar { grid-template-columns: 1fr; }
  .benefit-item { border-right: none; border-bottom: 1px solid var(--border); }
  .benefit-item:last-child { border-bottom: none; }
  .btn-sm span { display: none; }
  .steps-track { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .prod-hero { min-height: auto; margin-top: -73px; padding: 129px 0 56px; background-image: none; }
  .prod-hero-text { max-width: 100%; flex-shrink: 1; }
  .prod-stats { display: none; }
  .prod-carousel { gap: 10px; }
  .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { flex: 0 0 100%; scroll-snap-align: center; }
  .refs-hero { background-image: none; }
  .refs-hero-inner { padding-left: 24px; padding-right: 24px; padding-top: 56px; }
  .prod-benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-bottom { flex-direction: column; align-items: stretch; }
  .form-bottom .btn { width: 100%; justify-content: center; }
  .site-footer .container { flex-direction: column; gap: 6px; }
  .refs-caption { text-align: left; }
  .article-item { flex-wrap: wrap; }
  .article-link { width: 100%; justify-content: center; }
  .resource-grid { grid-template-columns: 1fr; }
  .jogo-hero { padding: 56px 0 48px; }
  .jogo-stats { grid-template-columns: 1fr; }
  .jogo-video-card { aspect-ratio: 16 / 9; }
  .jogo-badges { grid-template-columns: 1fr; margin-left: 0; }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.main-nav li.nav-login-mobile { display: none; }

@media (max-width: 1024px) {

  .header-actions .btn-image { display: none; }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: min(280px, 78vw);
    margin-right: 0;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: var(--radius-md);
    box-shadow: -16px 16px 32px rgba(0,0,0,0.35);
  }

  .main-nav.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .main-nav.is-open li { display: block; }

  .main-nav.is-open a {
    height: auto;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open li:last-child a { border-bottom: none; }

  .main-nav li.nav-login-mobile {
    display: block;
    margin-top: 6px;
  }
  .nav-login-mobile a {
    justify-content: center;
    padding: 12px 0 !important;
    border-radius: 999px;
    background: var(--accent);
    color: #0a1206 !important;
    font-weight: 600;
    border-bottom: none !important;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    order: 3;
  }

}

/* ---------- Login: criar conta ---------- */
.login-theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10;
}

.login-page {
  display: flex;
  min-height: 100vh;
  max-width: 1396px;
  margin: 0 auto;
}

.login-visual {
  position: relative;
  flex: 1 1 52%;
  min-width: 0;
  height: 100vh;
  overflow: hidden;
  color: #f5f7fa;
}

.login-visual-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  object-fit: cover;
}

.login-visual-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  background:
    linear-gradient(90deg, rgba(6,9,13,0.85) 0%, rgba(6,9,13,0.45) 12%, rgba(6,9,13,0) 22%),
    linear-gradient(180deg, rgba(6,9,13,0.8) 0%, rgba(6,9,13,0.6) 35%, rgba(6,9,13,0.55) 60%, rgba(6,9,13,0.9) 100%);
}

.login-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 48px;
  gap: 22px;
}

.login-logo { display: inline-flex; align-self: flex-start; margin: -33px 0 0 -38px; }
.login-logo .logo-img { height: 86px; width: auto; }

.login-widgets {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.login-widget-chart { height: 150px; width: auto; }
.login-widget-alert { height: 150px; width: auto; }

.login-headline { margin-top: 85px; }
.login-headline h1 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
}
.login-visual .accent { color: #9fd66b; }

.login-headline p {
  max-width: 560px;
  font-size: 0.92rem;
  color: rgba(245,247,250,0.72);
  margin-bottom: -70px;
}

.login-features {
  margin-top: 180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.login-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.login-feature img { width: 46px; height: 46px; flex-shrink: 0; }
.login-feature h3 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #9fd66b;
  margin-bottom: 2px;
}
.login-feature p { font-size: 0.75rem; line-height: 1.4; color: rgba(245,247,250,0.65); }

.login-secure {
  margin-top: auto;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: rgba(7, 12, 15, 0.55);
  border: 1px solid rgba(126, 217, 87, 0.28);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  margin-bottom: 35px;
}
.login-secure-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}
.login-secure-icon img { width: 22px; height: 22px; }
.login-secure-text { min-width: 0; }
.login-secure-text strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.login-secure-text p { font-size: 0.76rem; color: rgba(245,247,250,0.6); }
.login-secure-badge {
  flex-shrink: 0;
  margin-left: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9fd66b;
}
.login-secure-badge-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}
.login-secure-badge-icon img { width: 22px; height: 22px; }

.login-form-panel {
  flex: 1 1 48%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  background: var(--bg);
  overflow-y: auto;
}

.login-form-wrap { width: 100%; max-width: 580px; }
.login-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.login-form-sub { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 26px; text-align: center; }

.login-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.login-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.login-field-full { margin-bottom: 18px; }

.login-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s ease;
}
.login-input:focus-within { border-color: var(--accent); }
.login-input img { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.75; }
.login-input input,
.login-input select {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-primary);
}
.login-input select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.login-select-chevron { width: 12px !important; height: 12px !important; opacity: 0.6; }

.login-toggle-pass { flex-shrink: 0; border: none; background: none; padding: 0; display: flex; cursor: pointer; }
.login-toggle-pass img { width: 17px; height: 17px; opacity: 0.6; }
.login-toggle-pass.is-visible img { opacity: 1; }

.login-requirements-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.login-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 22px;
}
.login-requirements span { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--text-secondary); }
.login-requirements img { width: 20px; height: 20px; }

.login-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  cursor: pointer;
}
.login-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.login-checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.login-checkbox-box::after {
  content: "";
  width: 9px;
  height: 6px;
  border-left: 2px solid #0a1206;
  border-bottom: 2px solid #0a1206;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.login-checkbox input:checked + .login-checkbox-box { background: var(--accent); border-color: var(--accent); }
.login-checkbox input:checked + .login-checkbox-box::after { opacity: 1; }
.login-checkbox a { color: var(--accent); font-weight: 600; }

.login-submit { width: 100%; justify-content: center; margin-bottom: 22px; }
.login-submit img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.login-divider {
  position: relative;
  text-align: center;
  margin-bottom: 22px;
}
.login-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--border);
}
.login-divider span {
  position: relative;
  padding: 0 12px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.login-social { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.login-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: border-color .2s ease;
}
.login-social-btn:hover { border-color: var(--accent); }
.login-social-btn img { width: 18px; height: 18px; }

.login-account-note { text-align: center; font-size: 0.85rem; color: var(--text-secondary); }
.login-account-note a { color: var(--accent); font-weight: 600; }

@media (max-width: 1024px) {
  .login-page { flex-direction: column; }
  .login-visual { flex: none; height: auto; min-height: 620px; }
  .login-visual-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .login-visual-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
  .login-features { grid-template-columns: 1fr 1fr; }
  .login-form-panel { flex: none; padding: 40px 24px; }
}

@media (max-width: 768px) {
  .login-visual-bg { display: none; }
  .login-visual-overlay { display: none; }
  .login-visual { background: #0a0d12; }
  .login-logo { margin: 0; }
  .login-logo .logo-img { height: 48px; }
  .login-visual-content { padding: 28px 24px; gap: 18px; }
  .login-headline h1 { font-size: 1.7rem; }
  .login-features { grid-template-columns: 1fr; gap: 14px; }
  .login-secure { flex-wrap: wrap; align-self: stretch; }
  .login-secure-badge { margin-left: 0; flex-direction: row; }
  .login-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .login-field { margin-bottom: 16px; }
  .login-social { grid-template-columns: 1fr; }
}