/* ══════════════════════════════════════════════════════════════
   MyBox São Roque — style.css
   Tokens: ds-viewer/clientes/my-box/DESIGN.md v1.0.0
   Display: Nulshock → fallback web Orbitron · Body: Gilroy → Plus Jakarta Sans
   ══════════════════════════════════════════════════════════════ */

:root {
  --verde: #05E515;
  --verde-deep: #04B812;
  --verde-darker: #03950E;
  --verde-glow: rgba(5, 229, 21, 0.35);
  --preto: #000000;
  --ink-deep: #0A0A0A;
  --ink-soft: #1A1A1A;
  --ink-medium: #3D3D3D;
  --ink-mute: #737373;
  --dark-border: #262626;
  --dark-text-mute: #A3A3A3;
  --branco: #FFFFFF;
  --paper-cool: #FAFAFA;
  --paper-warm: #F5F5F5;
  --faint: #E5E5E5;

  --font-display: 'Nulshock Bd', 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Gilroy', 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --section-pad: clamp(64px, 10vw, 128px);
  --ease-out-strong: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-deep);
  background: var(--preto);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 800;
}
h1 { font-size: clamp(34px, 6vw, 72px); line-height: 0.98; }
h2 { font-size: clamp(24px, 3.6vw, 44px); line-height: 1.18; }
h3 { font-size: 22px; font-weight: 800; line-height: 1.15; }

.kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--verde);
  margin-bottom: 18px;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }

/* ── Botões ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  padding: 16px 32px;
  border-radius: 9999px;
  transition: all 200ms var(--ease-out-strong);
  cursor: pointer;
}
.btn-primary {
  background: var(--verde);
  color: var(--preto);
}
.btn-primary:hover {
  background: var(--verde-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--verde-glow);
}
.btn-primary:active { background: var(--verde-darker); transform: translateY(0); }
.btn-lg { font-size: 17px; padding: 18px 40px; }
.btn-block { display: block; width: 100%; }
.btn-outline-dark {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--branco);
}
.btn-outline-dark:hover { background: var(--branco); color: var(--preto); }
.btn-outline-light {
  background: transparent;
  color: var(--preto);
  border: 2px solid var(--preto);
}
.btn-outline-light:hover { background: var(--preto); color: var(--branco); }

/* ── Navegação ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a:not(.btn) {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 150ms;
}
.nav-links a:not(.btn):hover { color: var(--verde); }
.btn-nav { padding: 11px 22px; font-size: 14px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  transition: transform 200ms, opacity 200ms;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.62) 46%, rgba(0,0,0,0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
  width: 100%;
  color: var(--branco);
}
.hero h1 { max-width: 13ch; margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.65;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-note { font-size: 15px; color: var(--dark-text-mute); }

/* ── Barra de números ── */
.numeros {
  background: var(--preto);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 40px 24px;
}
.numeros-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.kpi { text-align: center; }
.kpi-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  color: var(--verde);
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-text-mute);
}

/* ── Seções ── */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--branco); color: var(--ink-deep); }
.section-light:nth-of-type(even) { background: var(--paper-cool); }
.section-dark { background: var(--ink-deep); color: var(--branco); }
.section-black { background: var(--preto); color: var(--branco); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 19px; line-height: 1.65; color: inherit; opacity: 0.85; }
.section p + p { margin-top: 1em; }

/* ── Split (texto + imagem) ── */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-reverse { grid-template-columns: 0.85fr 1.15fr; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { font-size: 18px; line-height: 1.7; }
.split-img img { width: 100%; border-radius: 12px; }
.destaque { font-weight: 800; font-size: 19px !important; margin-top: 1.4em !important; }
.destaque-verde { color: var(--verde); }

/* Sabóia */
.saboia-fotos { display: grid; gap: 16px; }
.saboia-retrato { aspect-ratio: 4/5; object-fit: cover; }
.saboia-apoio { aspect-ratio: 3/2; object-fit: cover; }

/* ── Modalidades ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-mod {
  background: var(--branco);
  border: 1px solid var(--faint);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms, border-color 200ms;
}
.card-mod:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.14); border-color: var(--preto); }
.card-mod > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 19px; letter-spacing: 0.02em; }
.card-body p { font-size: 16px; line-height: 1.6; color: var(--ink-medium); }
.card-body .ideal { color: var(--ink-deep); }
.horarios { margin-top: auto; border-top: 1px solid var(--faint); }
.hrow { padding: 10px 0; border-bottom: 1px solid var(--faint); }
.hdia {
  display: block;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.hhoras {
  display: block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.card-body .btn { margin-top: 8px; }

/* ── Primeira aula ── */
.passos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.passos li {
  background: var(--ink-soft);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 200ms;
}
.passos li:hover { border-color: var(--verde); }
.passo-num {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--verde);
  margin-bottom: 14px;
}
.passos h3 { font-size: 18px; margin-bottom: 10px; color: var(--branco); }
.passos p { font-size: 16px; line-height: 1.6; color: var(--dark-text-mute); }
.levar { text-align: center; color: var(--dark-text-mute); margin-bottom: 32px; }
.levar strong { color: var(--branco); }

/* ── Objeções ── */
.objecoes-lista h2 { margin-bottom: 32px; }
.objecao + .objecao { margin-top: 26px; }
.objecao h3 { font-size: 19px; margin-bottom: 8px; }
.objecao p { color: var(--ink-medium); }
#objecoes .split-img img { aspect-ratio: 4/5; object-fit: cover; position: sticky; top: 90px; }

/* ── Prova social ── */
.depoimentos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.depoimento {
  background: var(--ink-soft);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.depoimento img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 2px solid var(--verde);
}
.depoimento blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text-mute);
  font-style: italic;
  margin-bottom: 14px;
}
.depoimento figcaption {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--branco);
}
.depoimento.pendente { opacity: 0.55; }
.selo-franquia {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--branco);
}
.selo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--preto);
  background: var(--verde);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* ── Estrutura / galeria ── */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.galeria img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.galeria img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* ── Planos ── */
.planos-box {
  max-width: 760px;
  text-align: center;
  background: var(--preto);
  border: 2px solid var(--verde);
  border-radius: 12px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: 0 0 24px var(--verde-glow);
}
.planos-box h2 { margin-bottom: 20px; }
.planos-box p { font-size: 18px; line-height: 1.7; color: var(--dark-text-mute); }
.planos-box .btn { margin-top: 28px; }

/* ── Localização ── */
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.local-fachada img { border-radius: 12px; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 28px; }
.contatos div { margin-bottom: 18px; }
.contatos dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.contatos dd { font-size: 17px; line-height: 1.55; }
.contatos a { color: var(--ink-deep); font-weight: 600; text-decoration: none; }
.contatos a:hover { color: var(--verde-darker); }
.local-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
}

/* ── FAQ ── */
.section-faq { background: var(--paper-warm); }
.section-faq details {
  background: var(--branco);
  border: 1px solid var(--faint);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.section-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 46px 18px 20px;
  list-style: none;
  position: relative;
  transition: color 150ms;
}
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--verde-darker);
  transition: transform 200ms;
}
.section-faq details[open] summary::after { content: '−'; }
.section-faq details p { padding: 0 20px 18px; color: var(--ink-medium); line-height: 1.6; }

/* ── CTA final ── */
.cta-final {
  position: relative;
  padding: clamp(96px, 14vw, 180px) 24px;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.72) 100%);
  z-index: 1;
}
.cta-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; color: var(--branco); }
.cta-content h2 { margin-bottom: 20px; }
.cta-content > p { font-size: 19px; line-height: 1.65; margin-bottom: 30px; color: rgba(255,255,255,0.9); }
.cta-note { font-size: 15px; color: var(--dark-text-mute); margin-top: 20px; }

/* ── Rodapé ── */
.footer {
  background: var(--preto);
  border-top: 1px solid var(--dark-border);
  padding: 56px 0 40px;
  text-align: center;
  color: var(--dark-text-mute);
}
.footer-logo { margin: 0 auto 26px; height: 40px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-bottom: 26px; }
.footer-links a { color: var(--branco); text-decoration: none; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--verde); }
.footer-contato { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.footer-contato a { color: var(--dark-text-mute); text-decoration: none; }
.footer-contato a:hover { color: var(--verde); }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 10px;
}
.footer-copy { font-size: 13px; }

/* ── WhatsApp flutuante ── */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--preto);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 200ms var(--ease-out-strong), box-shadow 200ms;
}
.whats-float:hover { transform: scale(1.08); box-shadow: 0 0 24px var(--verde-glow); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease-out-strong), transform 500ms var(--ease-out-strong); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .whats-float { transition: none; }
}

/* ══════════ Responsivo ══════════ */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .passos { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-img { order: 2; }
  #objecoes .split-img img { position: static; }
  .local-grid { grid-template-columns: 1fr; }
  .depoimentos { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .galeria img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .galeria img:last-child { grid-column: span 2; aspect-ratio: 16/9; }
}

@media (max-width: 760px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--preto);
    border-bottom: 1px solid var(--dark-border);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 16px; }
  .btn-nav { margin-top: 12px; }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hero { min-height: 92vh; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.82) 70%); }
  .hero-content { display: flex; flex-direction: column; justify-content: flex-end; min-height: 92vh; padding-bottom: 56px; }
  .hero-ctas .btn { width: 100%; }
  .passos { grid-template-columns: 1fr; }
  .selo-franquia { flex-direction: column; text-align: center; }
}
