/* ============================================================
   TÁTICA FITNEX — style.css
   Folha de estilos única, usada em TODAS as páginas do site.

   ÍNDICE RÁPIDO (procure pelo número do comentário):
   01. Variáveis de cor / fonte (design tokens)
   02. Reset básico
   03. Utilitários gerais
   04. Cabeçalho (header) e menu
   05. Menu mobile (hamburger)
   06. Hero (seção inicial)
   07. Cards de calculadoras
   08. Espaços de anúncio (AdSense)
   09. Página de calculadora (formulário + resultado)
   10. Barra do IMC / indicadores visuais
   11. Copos de água
   12. Rodapé (footer)
   13. Páginas de texto (Sobre, Privacidade, Termos)
   14. Componentes de aviso/observação
   15. Responsividade (media queries)
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS DE COR E FONTE
   Se quiser mudar as cores do site inteiro, mude só aqui.
   ============================================================ */
:root {
  /* Fundo */
  --bg-0: #07080c;          /* fundo principal (preto quase puro) */
  --bg-1: #101219;          /* fundo de seções alternadas */
  --bg-card: #14161f;       /* fundo dos cards */
  --bg-card-hover: #181b26;

  /* Bordas e linhas */
  --line: #23273a;
  --line-strong: #333a56;

  /* Texto */
  --text-0: #f5f6fa;        /* texto principal (quase branco) */
  --text-1: #a6acc4;        /* texto secundário / descrições */
  --text-2: #6a7191;        /* texto terciário / legendas */

  /* Cor principal: azul elétrico */
  --blue: #2e5bff;
  --blue-strong: #1a3fe0;
  --blue-soft: rgba(46, 91, 255, 0.14);

  /* Acento de energia (detalhes, hover, HUD) */
  --cyan: #00e0ff;
  --cyan-soft: rgba(0, 224, 255, 0.12);

  /* Estados */
  --green: #24e07f;
  --yellow: #ffc247;
  --red: #ff4d5e;

  /* Tipografia */
  --font-display: "Teko", "Oswald", sans-serif;      /* títulos grandes / números */
  --font-heading: "Barlow Semi Condensed", "Oswald", sans-serif; /* subtítulos, menu, botões */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* parágrafos */
  --font-mono: "JetBrains Mono", "Courier New", monospace; /* números de HUD */

  /* Espaçamento padrão */
  --radius: 10px;
  --container: 1180px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px var(--line), 0 12px 32px rgba(46, 91, 255, 0.12);
}

/* ============================================================
   02. RESET BÁSICO
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg-0);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(46, 91, 255, 0.08), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 224, 255, 0.06), transparent 35%);
  color: var(--text-0);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0 0 0.5em 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-0);
}

p { margin: 0 0 1em 0; color: var(--text-1); }

button { font-family: inherit; cursor: pointer; }

input, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ============================================================
   03. UTILITÁRIOS GERAIS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  display: inline-block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-head p { color: var(--text-1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 91, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46, 91, 255, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-block { width: 100%; }

.link-inline { color: var(--cyan); border-bottom: 1px solid transparent; }
.link-inline:hover { border-bottom-color: var(--cyan); }

/* Recorte tático nas bordas dos cards (marca registrada visual do site) */
.tactical-cut {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

/* Cantos de mira (aparecem no hover) — elemento de assinatura do site */
.reticle { position: relative; }
.reticle::before,
.reticle::after,
.reticle > .rt-tl,
.reticle > .rt-br { display: none; }

.reticle-corners span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.reticle-corners .c1 { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.reticle-corners .c2 { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.reticle-corners .c3 { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.reticle-corners .c4 { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.reticle:hover .reticle-corners span,
.reticle:focus-within .reticle-corners span {
  opacity: 1;
}
.reticle:hover .reticle-corners .c1 { transform: translate(-4px, -4px); }
.reticle:hover .reticle-corners .c2 { transform: translate(4px, -4px); }
.reticle:hover .reticle-corners .c3 { transform: translate(-4px, 4px); }
.reticle:hover .reticle-corners .c4 { transform: translate(4px, 4px); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   04. CABEÇALHO E MENU (desktop)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}
.brand-mark span {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text .brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--text-0);
  display: flex;
  flex-direction: column;
  line-height: 0.92;
}
.brand-text .brand-name b { color: var(--cyan); font-weight: 700; }
.brand-text .brand-by {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Navegação principal (desktop) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-nav a.nav-link,
.main-nav button.nav-link {
  background: none;
  border: none;
  color: var(--text-1);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a.nav-link:hover,
.main-nav button.nav-link:hover,
.main-nav .nav-link.is-active {
  color: var(--text-0);
  background: rgba(255,255,255,0.04);
}

.main-nav .caret {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -3px;
}

.nav-item-dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}

.nav-item-dropdown.is-open .dropdown-panel,
.nav-item-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown.is-open .caret,
.nav-item-dropdown:hover .caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-1);
}

.dropdown-panel a:hover {
  background: var(--blue-soft);
  color: var(--text-0);
}

.dropdown-panel a .ico { font-size: 16px; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ============================================================
   05. MENU MOBILE (HAMBURGER)
   ============================================================ */
.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-0);
  font-size: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,5,8,0.6);
}

.mobile-menu.is-open { display: block; }

.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(84vw, 340px);
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-close-btn {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  width: 38px; height: 38px;
  color: var(--text-0);
  font-size: 18px;
}

.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
}

.mobile-nav-list > li { border-bottom: 1px solid var(--line); }

.mobile-nav-list a,
.mobile-nav-list .mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 4px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.mobile-submenu {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0 0 0 12px;
  display: none;
}

.mobile-submenu.is-open { display: block; }

.mobile-submenu a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-1);
  padding: 12px 4px;
}

.mobile-nav-toggle .caret {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.mobile-nav-toggle[aria-expanded="true"] .caret {
  transform: rotate(225deg);
}

/* ============================================================
   06. HERO
   ============================================================ */
.hero {
  padding: 90px 0 70px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}

.hero-inner h1 .hl {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-inner .subtitle {
  font-size: 18px;
  color: var(--text-1);
  max-width: 560px;
  margin: 0 auto 34px auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--cyan);
  font-weight: 700;
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ============================================================
   07. CARDS DE CALCULADORAS
   ============================================================ */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.calc-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.calc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}

.calc-card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%);
}

.calc-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.calc-card p {
  font-size: 14.5px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.calc-card .btn { align-self: flex-start; }

/* ============================================================
   08. ESPAÇOS DE ANÚNCIO (GOOGLE ADSENSE)
   Estes blocos existem apenas para reservar espaço visual.
   Quando o AdSense for aprovado, o código do Google entra
   dentro do <div class="ad-container">...</div> (ver HTML).
   NÃO EXCLUA estas divs — apenas insira o script do AdSense
   dentro delas quando estiver pronto.
   ============================================================ */
.ad-container {
  width: 100%;
  min-height: 100px;
  margin: 32px auto;
  max-width: 100%;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.015);
}

/* ============================================================
   09. PÁGINA DE CALCULADORA
   ============================================================ */
.calc-page-head {
  padding: 52px 0 30px 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-1); }
.breadcrumb a:hover { color: var(--cyan); }

.calc-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
}

.calc-page-head .lead {
  max-width: 620px;
  color: var(--text-1);
  font-size: 16.5px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
}

.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.calc-panel h2 {
  font-size: 20px;
  margin-bottom: 22px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}

.form-row input[type="text"],
.form-row input[type="number"] {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text-0);
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
  outline: none;
}

.form-row input.input-error {
  border-color: var(--red);
}

.field-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
.field-error.is-visible { display: block; }

.unit-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
}

.unit-toggle button {
  background: transparent;
  border: none;
  color: var(--text-1);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  transition: background 0.15s ease, color 0.15s ease;
}

.unit-toggle button + button {
  border-left: 1px solid var(--line-strong);
}

.unit-toggle button.is-active {
  background: var(--blue);
  color: #fff;
}

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

.radio-cards.stack-mobile { grid-template-columns: 1fr; }

.radio-card {
  position: relative;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}

.radio-card .radio-card-label {
  display: block;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 13.5px;
  color: var(--text-1);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.radio-card input:checked + .radio-card-label {
  border-color: var(--cyan);
  color: var(--text-0);
  background: var(--cyan-soft);
}

.radio-card input:focus-visible + .radio-card-label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Painel de resultado */
.result-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: linear-gradient(160deg, rgba(46,91,255,0.08), rgba(0,224,255,0.03));
  position: sticky;
  top: 96px;
}

.result-panel .result-placeholder {
  text-align: center;
  color: var(--text-2);
  padding: 40px 10px;
  font-size: 14.5px;
}

.result-panel .result-placeholder .ico {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.result-content {
  display: none;
  animation: fadeInUp 0.35s ease;
}

.result-content.is-visible { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 6px;
}

.result-value {
  font-family: var(--font-display);
  font-size: 62px;
  text-align: center;
  line-height: 1;
  color: var(--text-0);
}

.result-unit {
  text-align: center;
  color: var(--text-1);
  font-size: 15px;
  margin-bottom: 18px;
}

.result-tag {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 0 auto 20px auto;
  width: fit-content;
}

.tag-low { background: rgba(255,194,71,0.15); color: var(--yellow); }
.tag-ok { background: rgba(36,224,127,0.15); color: var(--green); }
.tag-high { background: rgba(255,194,71,0.15); color: var(--yellow); }
.tag-danger { background: rgba(255,77,94,0.15); color: var(--red); }

.result-extra {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-1);
}

.result-extra dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
}
.result-extra dt { color: var(--text-2); }
.result-extra dd { margin: 0; color: var(--text-0); font-family: var(--font-mono); text-align: right; }

.btn-recalc {
  margin-top: 22px;
}

/* Info / explicação abaixo da calculadora */
.info-block {
  padding-top: 8px;
}

.info-block h2 {
  font-size: 22px;
  margin-top: 36px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.faq-item p { margin-bottom: 0; }

/* ============================================================
   10. BARRA DO IMC / INDICADORES VISUAIS
   ============================================================ */
.gauge-bar {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg,
    var(--yellow) 0%, var(--yellow) 12%,
    var(--green) 12%, var(--green) 42%,
    var(--yellow) 42%, var(--yellow) 58%,
    var(--red) 58%, var(--red) 100%);
  margin: 18px 0 8px 0;
}

.gauge-marker {
  position: absolute;
  top: -7px;
  width: 3px;
  height: 24px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.4);
  transform: translateX(-50%);
  transition: left 0.3s ease;
}

.gauge-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

/* ============================================================
   11. COPOS DE ÁGUA
   ============================================================ */
.glass-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 6px 0;
}

.glass-icon {
  width: 26px;
  height: 32px;
  border: 2px solid var(--blue);
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, transparent 30%, var(--blue-soft) 30%);
  opacity: 0.9;
}

/* ============================================================
   12. RODAPÉ
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 56px 0 26px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p {
  max-width: 320px;
  font-size: 14.5px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-1);
  font-size: 14.5px;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

/* ============================================================
   13. PÁGINAS DE TEXTO (Sobre, Privacidade, Termos)
   ============================================================ */
.text-page {
  padding: 60px 0 90px 0;
}

.text-page .container { max-width: 780px; }

.text-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}

.text-page .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 36px;
  display: block;
}

.text-page h2 {
  font-size: 21px;
  margin-top: 34px;
}

.text-page ul { color: var(--text-1); padding-left: 20px; }
.text-page li { margin-bottom: 8px; }

.editable-note {
  background: var(--blue-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-1);
  margin: 18px 0;
}

/* ============================================================
   14. AVISOS / OBSERVAÇÕES
   ============================================================ */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,194,71,0.08);
  border: 1px solid rgba(255,194,71,0.3);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-1);
  margin-top: 22px;
}

.notice .ico { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.page-hero-small {
  padding: 50px 0 40px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero-small h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 58px);
}

.page-hero-small p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-1);
}

/* ============================================================
   15. RESPONSIVIDADE
   ============================================================ */
@media (max-width: 980px) {
  .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .calc-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .hamburger-btn { display: flex; }

  .calc-grid { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr 1fr; }

  .hero { padding: 56px 0 44px 0; }
  .hero-stats { gap: 26px; }

  .section { padding: 52px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }

  .header-cta .btn span { display: none; }
}

@media (max-width: 420px) {
  .radio-cards { grid-template-columns: 1fr; }
  .result-value { font-size: 48px; }
}


/* ============================================================
   16. REDESIGN — TÁTICA FITNEX
   Visual limpo: fundo branco + cabeçalho/rodapé #212121 + azul
   ============================================================ */
:root {
  --bg-0: #ffffff;
  --bg-1: #f5f6f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f8faff;
  --line: #e2e5ea;
  --line-strong: #cbd1da;
  --text-0: #212121;
  --text-1: #5f6368;
  --text-2: #858b94;
  --blue: #1677ff;
  --blue-strong: #075dcc;
  --blue-soft: rgba(22,119,255,.09);
  --cyan: #1677ff;
  --cyan-soft: rgba(22,119,255,.10);
  --shadow-card: 0 8px 24px rgba(33,33,33,.08);
  --shadow-glow: 0 0 0 1px var(--line), 0 10px 28px rgba(22,119,255,.08);
}

body {
  background: var(--bg-0);
  background-image: none;
  color: var(--text-0);
}

.site-header {
  background: #212121;
  border-bottom: 1px solid #333;
  backdrop-filter: none;
}
.site-header .brand-text .brand-name,
.site-header .brand-text .brand-by { color: #fff; }
.site-header .brand-text .brand-by { color: #aeb4bd; }
.site-header .main-nav a.nav-link { color: #c7cbd1; }
.site-header .main-nav a.nav-link:hover,
.site-header .main-nav .nav-link.is-active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.site-header .brand-mark {
  background: linear-gradient(135deg, var(--blue), #4aa0ff);
}
.header-cta { margin-left: auto; }

.site-search {
  position: relative;
  display: flex;
  align-items: center;
}
.search-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.search-toggle:hover { background: rgba(255,255,255,.08); color: #58a7ff; }
.search-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 80vw);
  padding: 8px;
  background: #212121;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: .18s ease;
}
.site-search.is-open .search-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-box input {
  width: 100%;
  border: 1px solid #4a4a4a;
  background: #2b2b2b;
  color: #fff;
  border-radius: 6px;
  padding: 11px 12px;
  outline: none;
}
.search-box input:focus { border-color: var(--blue); }

.hero,
.page-hero-small {
  background: #fff;
}
.hero .hl { color: var(--blue); }
.hero-stats { border-color: var(--line); }
.hero-stat .num { color: var(--blue); }

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.calc-card:hover {
  background: var(--bg-card-hover);
  border-color: #b9d5ff;
  transform: translateY(-3px);
}
.calc-card h3 { color: var(--text-0); }
.calc-card p { color: var(--text-1); }
.calc-grid-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.calc-grid-actions .btn { min-width: 150px; }

.btn-outline {
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.ad-container {
  background: #fafafa;
  border-color: var(--line);
}

.section,
.info-block { background: #fff; }
.info-block h2 { color: var(--text-0); }
.info-block p { color: var(--text-1); }

.faq-title {
  font-family: var(--font-display) !important;
  font-size: clamp(38px, 5vw, 56px) !important;
  margin-top: 56px !important;
  margin-bottom: 20px !important;
  color: #212121 !important;
}
.faq-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin: 0 0 10px;
  overflow: hidden;
}
.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #212121;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 25px;
  font-weight: 400;
}
.faq-item[open] summary {
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item > p {
  padding: 16px 20px 19px;
  margin: 0;
  color: var(--text-1);
}

.site-footer {
  background: #212121;
  border-top: 1px solid #333;
}
.site-footer .brand-text .brand-name { color: #fff; }
.site-footer p,
.site-footer .footer-col h4,
.site-footer .footer-col a,
.site-footer .footer-bottom { color: #b9bec6; }
.site-footer .footer-col a:hover { color: #58a7ff; }
.site-footer .footer-bottom { border-color: #3a3a3a; }

.mobile-menu-panel { background: #212121; }
.mobile-menu-head .brand-name,
.mobile-nav-list a,
.mobile-nav-toggle { color: #fff; }
.mobile-nav-list > li { border-color: #3a3a3a; }
.mobile-close-btn,
.hamburger-btn { color: #fff; border-color: #4a4a4a; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { gap: 8px; }
  .hamburger-btn { display: inline-flex; }
}

@media (max-width: 520px) {
  .search-box {
    right: -8px;
    width: min(290px, calc(100vw - 32px));
  }
}


/* ============================================================
   17. IDENTIDADE VISUAL — TÁTICA FITNEX / REVISTA EM QUADRINHOS
   ============================================================ */
:root {
  --bg-0: #ffffff;
  --bg-1: #f2f2f2;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --line: #111111;
  --line-strong: #111111;
  --text-0: #171717;
  --text-1: #4c4c4c;
  --text-2: #777777;
  --blue: #147cff;
  --blue-strong: #075dcc;
  --blue-soft: rgba(20,124,255,.10);
  --cyan: #147cff;
  --cyan-soft: rgba(20,124,255,.10);
  --radius: 0px;
  --shadow-card: 6px 6px 0 #111111;
  --shadow-glow: 6px 6px 0 #111111;
}

body {
  background: #fff;
  color: var(--text-0);
  background-image: radial-gradient(#d8d8d8 1px, transparent 1px);
  background-size: 13px 13px;
}

/* A página continua branca, mas as áreas de conteúdo ficam sobre uma base limpa. */
.section, .hero, .page-hero-small, .calc-page-head, .info-block { background: #fff; }

/* LOGO REAL */
.site-logo {
  width: 205px;
  height: auto;
  display: block;
}
.footer-logo { width: 190px; }
.brand { min-width: 0; }
.brand-mark, .brand-text { display: none !important; }

/* CABEÇALHO */
.site-header {
  background: #1b1b1b;
  border-bottom: 4px solid #000;
  box-shadow: 0 5px 0 #147cff;
  backdrop-filter: none;
}
.header-inner { padding: 11px 0 13px; }
.site-header .main-nav > ul { gap: 2px; }
.site-header .main-nav a.nav-link,
.site-header .main-nav button.nav-link {
  color: #fff;
  border-radius: 0;
  border: 2px solid transparent;
  padding: 9px 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.site-header .main-nav a.nav-link:hover,
.site-header .main-nav button.nav-link:hover,
.site-header .main-nav .nav-link.is-active {
  color: #fff;
  background: #147cff;
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
}
.site-header .nav-item-dropdown { position: relative; }
.dropdown-panel {
  top: calc(100% + 8px);
  min-width: 300px;
  padding: 8px;
  background: #fff;
  border: 3px solid #111;
  border-radius: 0;
  box-shadow: 6px 6px 0 #111;
}
.dropdown-panel a {
  color: #171717;
  border-radius: 0;
  border: 2px solid transparent;
  padding: 10px 12px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.dropdown-panel a:hover {
  background: #147cff;
  color: #fff;
  border-color: #111;
}
.dropdown-bullet {
  width: 9px;
  height: 9px;
  background: #147cff;
  border: 2px solid #111;
  display: inline-block;
  flex: 0 0 9px;
}
.dropdown-panel a:hover .dropdown-bullet { background: #fff; }

/* LUPA */
.search-toggle { border-radius: 0; border: 2px solid transparent; }
.search-toggle:hover { background: #147cff; border-color: #000; color: #fff; }
.search-box {
  background: #1b1b1b;
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: 6px 6px 0 #000;
}
.search-box input {
  border: 2px solid #fff;
  border-radius: 0;
  background: #292929;
}
.search-box input:focus { border-color: #147cff; }
.hamburger-btn { border-radius: 0; border: 2px solid #fff; }

/* BOTÕES — impressão de tinta sobre papel */
.btn {
  border-radius: 0;
  border-width: 2px;
  border-color: #111;
  box-shadow: 4px 4px 0 #111;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #111; }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 #111; }
.btn-primary {
  background: #147cff;
  color: #fff;
  box-shadow: 5px 5px 0 #111;
}
.btn-primary:hover { background: #075dcc; box-shadow: 7px 7px 0 #111; }
.btn-outline { background: #fff; color: #111; border-color: #111; }
.btn-outline:hover { background: #147cff; color: #fff; border-color: #111; }

/* HERO — capa de revista */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #111;
}
.hero::before {
  background: radial-gradient(circle, rgba(20,124,255,.16) 0 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: .8;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner h1 { text-transform: uppercase; text-shadow: 3px 3px 0 #d8d8d8; }
.hero .hl { color: #111; text-shadow: 3px 3px 0 #292929; }
.hero-stats { border-color: #111; border-width: 3px; }
.hero-stat { border-right: 2px solid #111; }
.hero-stat:last-child { border-right: 0; }
.hero-stat .num { color: #147cff; text-shadow: 2px 2px 0 #111; }

/* CARDS: quadrados, borda grossa e sombra lateral */
.calc-card,
.info-block,
.calc-panel,
.result-panel,
.notice,
.ad-container,
.faq-item,
.text-card {
  border-radius: 0 !important;
}
.calc-card {
  position: relative;
  background: #fff;
  border: 3px solid #111;
  box-shadow: 6px 6px 0 #111;
  padding: 28px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.calc-card:hover {
  background: #f5f9ff;
  border-color: #111;
  transform: translate(-3px,-3px);
  box-shadow: 9px 9px 0 #111;
}
.calc-card h3 { color: #111; text-transform: uppercase; }
.calc-card p { color: #4c4c4c; }
.calc-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  background: #147cff;
  clip-path: polygon(0 0,100% 0,100% 30%,30% 100%,0 100%);
}
.reticle-corners { display: none; }

/* Títulos e separadores */
.section-head { border-bottom: 3px solid #111; padding-bottom: 18px; }
.section-head h2, .page-hero-small h1, .calc-page-head h1 { text-transform: uppercase; }
.eyebrow { color: #147cff; }
.eyebrow::before { background: #147cff; height: 3px; }

/* PÁGINAS DAS CALCULADORAS */
.calc-page-head {
  border-bottom: 4px solid #111;
  position: relative;
}
.breadcrumb a { color: #147cff; text-decoration: underline; text-decoration-thickness: 2px; }
.calc-panel, .result-panel {
  background: #fff;
  border: 3px solid #111;
  box-shadow: 7px 7px 0 #111;
}
.calc-panel h2, .result-panel h2 { text-transform: uppercase; }

/* CAMPOS */
input, select {
  border-radius: 0 !important;
  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: 3px 3px 0 #d0d0d0;
}
input:focus, select:focus { border-color: #147cff !important; box-shadow: 3px 3px 0 #147cff; }
.unit-toggle, .radio-card, .radio-cards { border-radius: 0 !important; }
.radio-card { border: 0 !important; box-shadow: none; background: transparent !important; }
.radio-card .radio-card-label { border: 2px solid #111 !important; border-radius: 0 !important; box-shadow: 3px 3px 0 #111; }
.radio-card input:checked + .radio-card-label { border-color: #147cff !important; background: #eaf3ff !important; }

/* AVISOS / CONTEÚDO */
.notice, .info-block {
  background: #fff;
  border: 3px solid #111;
  box-shadow: 5px 5px 0 #111;
}
.ad-container {
  border: 2px dashed #777;
  background: #fafafa;
}

/* FAQ em estilo de quadro */
.faq-title {
  color: #111 !important;
  text-transform: uppercase;
  border-left: 10px solid #147cff;
  padding-left: 14px;
  text-shadow: 2px 2px 0 #ddd;
}
.faq-item {
  border: 3px solid #111 !important;
  box-shadow: 4px 4px 0 #111;
  margin-bottom: 15px;
}
.faq-item summary { color: #111; font-weight: 700; }
.faq-item[open] summary { color: #147cff; border-bottom: 3px solid #111; }
.faq-item summary::after { color: #147cff; font-weight: 700; }
.faq-item > p { color: #333; }

/* FOOTER */
.site-footer {
  background: #1b1b1b;
  border-top: 5px solid #000;
  box-shadow: 0 -4px 0 #147cff;
}
.site-footer .footer-col h4 { color: #fff; text-transform: uppercase; }
.site-footer .footer-col a:hover { color: #147cff; }
.site-footer .footer-bottom { border-color: #444; }

/* LINKS E TEXTOS */
.link-inline { color: #075dcc; text-decoration: underline; text-decoration-thickness: 2px; }
.page-hero-small { border-bottom: 4px solid #111; }

@media (max-width: 760px) {
  body { background-size: 11px 11px; }
  .site-logo { width: 175px; }
  .footer-logo { width: 180px; }
  .calc-card, .calc-panel, .result-panel, .info-block { box-shadow: 5px 5px 0 #111; }
  .main-nav { display: none; }
}

/* Redes sociais do rodapé */
.footer-social{display:flex;gap:10px;align-items:center;margin-top:18px}
.footer-social a{width:42px;height:42px;border:2px solid var(--ink,#fff);display:grid;place-items:center;color:var(--ink,#fff);transition:transform .18s,background .18s}
.footer-social a:hover{transform:translate(-2px,-2px);background:var(--accent,#075dcc)}
.footer-social svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
.footer-social a:first-child svg{fill:currentColor;stroke:none}
.result-detail{margin:12px 0 0;font-family:var(--font-mono);font-size:12px;opacity:.75}
