/* ============================================================
   Driblee — site institucional
   Tokens do Sistema Visual Driblee V2 (design_handoff_visual_system)
   ============================================================ */

:root {
  --preto: #000000;
  --branco: #ffffff;
  --roxo: #8c52ff;          /* acento */
  --roxo-texto: #5b2fd6;    /* roxo sobre branco em texto pequeno */
  --roxo-profundo: #5b2fd6; /* cartões */
  --roxo-noite: #45189e;    /* superfícies sobre roxo pleno */
  --lilas: #efe7ff;
  --cinza-palco: #efedea;
  --verde: #d6fec8;
  --sec-preto: rgba(255, 255, 255, 0.64);
  --sec-forte: rgba(255, 255, 255, 0.8);
  --font-title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-data: "Space Grotesk", "SF Mono", Menlo, monospace;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--preto);
  color: var(--branco);
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- etiquetas / selos (Space Grotesk caps) ---------- */
.etiqueta {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--roxo);
}
.light .etiqueta { color: var(--roxo-texto); }

.selo {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
header.site .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 24px;
  color: var(--branco);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--roxo); }

nav.main {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
nav.main a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--sec-forte);
}
nav.main a:hover { color: var(--branco); }
nav.main a.cta {
  background: var(--roxo);
  color: var(--branco);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
}
nav.main a.cta:hover { background: #9c6aff; }

.nav-toggle { display: none; }

/* seletor de idioma (dropdown com bandeira, ao lado do logo) */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: " ▾"; font-size: 10px; opacity: 0.6; }
.lang-menu summary:hover { color: var(--branco); border-color: rgba(255, 255, 255, 0.5); }
.lang-menu[open] summary { color: var(--branco); border-color: var(--roxo); }
.lang-menu .opcoes {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  z-index: 60;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.lang-menu .opcoes a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.lang-menu .opcoes a:hover { background: rgba(140, 82, 255, 0.25); color: var(--branco); }
.lang-menu .opcoes a.ativo { color: var(--roxo); font-weight: 600; }

/* banner de sugestão de idioma */
.lang-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--branco);
  color: #000;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
  max-width: calc(100vw - 32px);
}
.lang-banner a { color: var(--roxo-texto); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang-banner button {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
}

/* nota "(em português)" dentro de botões/links */
.btn small, .pilar a small { font-weight: 400; font-size: 0.78em; opacity: 0.75; }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  padding: 15px 34px;
  transition: transform 0.12s ease, background 0.12s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-roxo { background: var(--roxo); color: var(--branco); }
.btn-roxo:hover { background: #9c6aff; }
.btn-ghost {
  background: transparent;
  color: var(--branco);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: var(--branco); }
.light .btn-ghost { color: #000; border-color: rgba(0, 0, 0, 0.35); }
.light .btn-ghost:hover { border-color: #000; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .foto {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* efeito P&B já embutido no arquivo — sem filter (caro no paint mobile) */
.hero .foto-hero { background-image: url("../assets/hero-estadio-1600.jpg"); }
@media (max-width: 680px) {
  .hero .foto-hero { background-image: url("../assets/hero-estadio-800.jpg"); }
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.15) 100%);
}
.hero .conteudo {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px 24px;
  width: 100%;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 15ch;
  margin: 20px 0 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--roxo);
}
.hero .apoio {
  font-weight: 300;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--sec-forte);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero .acoes { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- seções ---------- */
section.faixa { padding: 96px 0; }
section.faixa.light { background: var(--branco); color: #000; }
section.faixa.palco { background: var(--cinza-palco); color: #000; }
section.faixa.lilas { background: var(--lilas); color: #000; }
.light .sec, .palco .sec, .lilas .sec { color: rgba(0, 0, 0, 0.62); }
.sec { color: var(--sec-preto); }

.faixa h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
  max-width: 22ch;
}
.faixa h2 em { font-style: normal; color: var(--roxo); }
.light h2 em, .palco h2 em, .lilas h2 em { color: var(--roxo-texto); }
.faixa .lede {
  font-weight: 300;
  font-size: 18px;
  max-width: 62ch;
}

/* ---------- cabeçalho do case (escudo) ---------- */
.case-cabecalho {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 8px;
}
.case-cabecalho .escudo {
  width: 84px;
  height: auto;
  flex-shrink: 0;
}
.case-cabecalho h2 { margin-bottom: 0; }

/* ---------- números editoriais ---------- */
.numeros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.numero .valor {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  color: var(--branco);
}
.numero .valor em { font-style: normal; color: var(--roxo); }
.numero .legenda {
  margin-top: 12px;
  font-size: 15px;
  color: var(--sec-preto);
  max-width: 26ch;
}
.numeros .fonte {
  grid-column: 1 / -1;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 8px;
}

/* ---------- passos (como funciona) ---------- */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.passo .num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: var(--roxo-texto);
}
.passo h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  margin: 18px 0 10px;
}
.passo p {
  font-weight: 300;
  font-size: 15.5px;
  color: rgba(0, 0, 0, 0.7);
}

/* ---------- conversas de exemplo (WhatsApp) ---------- */
.conversas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.conversa-card .rotulo {
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--roxo-texto);
  margin-bottom: 14px;
  display: block;
}
.chat {
  background: #faf4ee url("../assets/papel-parede-whatsapp.jpg");
  background-size: 420px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
}
.balao {
  max-width: 88%;
  padding: 10px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  white-space: pre-line;
}
.balao.bot {
  background: #fff;
  color: #111;
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.balao.user {
  background: var(--verde);
  color: #111;
  align-self: flex-end;
  border-top-right-radius: 4px;
}

/* ---------- amostra dos painéis ---------- */
.amostra {
  margin: 8px 0 56px;
}
.amostra .tela-grande {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.amostra .legenda {
  margin-top: 14px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

/* ---------- pilares ---------- */
.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.pilar {
  background: var(--roxo-profundo);
  border-radius: 24px;
  padding: 40px 36px;
  color: var(--branco);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.pilar .etiqueta { color: rgba(255, 255, 255, 0.72); margin-bottom: 18px; }
.pilar h3 {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.pilar p {
  font-weight: 300;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
}
.pilar a {
  margin-top: 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--branco);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  align-self: flex-start;
  padding-bottom: 2px;
}
.pilar a:hover { border-color: var(--branco); }
.pilar.destaque { background: var(--roxo); }

/* ---------- bloco produto (imagem + texto) ---------- */
.duplo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 24px;
}
.duplo .tela {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.duplo ul.marcas {
  list-style: none;
  margin: 26px 0 34px;
  display: grid;
  gap: 14px;
}
.duplo ul.marcas li {
  padding-left: 26px;
  position: relative;
  font-size: 16px;
}
.duplo ul.marcas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--roxo);
}

/* ---------- citação ---------- */
.cita {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.cita blockquote {
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
}
.cita blockquote strong { font-weight: 800; color: var(--roxo); }
.cita .autor {
  margin-top: 28px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sec-preto);
}

/* ---------- fechamento / CTA final ---------- */
.fechamento {
  text-align: center;
  padding: 120px 24px;
}
.fechamento h2 { margin-left: auto; margin-right: auto; }
.fechamento .acoes {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--sec-preto);
}
footer.site .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
footer.site h4 {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  font-weight: 500;
}
footer.site a { color: var(--sec-forte); text-decoration: none; display: block; margin-bottom: 10px; }
footer.site a:hover { color: var(--branco); }
footer.site .copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- páginas internas ---------- */
.pagina-hero {
  padding: 88px 0 56px;
}
.pagina-hero h1 {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
  max-width: 20ch;
}
.pagina-hero h1 em { font-style: normal; color: var(--roxo); }
.pagina-hero .lede {
  font-weight: 300;
  font-size: 18px;
  color: var(--sec-forte);
  max-width: 58ch;
}

/* ---------- gate ---------- */
.gate {
  background: var(--branco);
  color: #000;
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
}
.gate h2 { font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.gate .sub { font-size: 15px; color: rgba(0, 0, 0, 0.6); margin-bottom: 28px; }
.gate label {
  display: block;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 18px 0 6px;
}
.gate input, .gate select {
  width: 100%;
  font-family: var(--font-title);
  font-size: 16px;
  padding: 13px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #000;
}
.gate input:focus, .gate select:focus {
  outline: none;
  border-color: var(--roxo);
}
.gate .btn { width: 100%; margin-top: 28px; }
.gate .nota {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.65);
}
.gate .nota a { color: var(--roxo-texto); }

.gate-grid {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 64px;
  align-items: start;
}

.painel-frame {
  width: 100%;
  height: 78vh;
  min-height: 560px;
  border: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.painel-acoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* ---------- lista de benefícios (páginas com gate) ---------- */
.gate-grid { margin-top: 16px; }
.beneficios {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.beneficios li {
  position: relative;
  padding-left: 32px;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.78);
  max-width: 46ch;
}
.beneficios li strong { font-weight: 700; color: #000; }
.beneficios li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--roxo);
}
.beneficios-nota {
  margin-top: 28px;
  font-size: 14.5px;
  color: rgba(0, 0, 0, 0.55);
  max-width: 44ch;
}

/* ---------- quem somos ---------- */
.time {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.pessoa img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.pessoa h3 { font-weight: 800; font-size: 22px; margin: 22px 0 4px; }
.pessoa .papel {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--roxo);
  margin-bottom: 14px;
}
.pessoa p { font-weight: 300; font-size: 15px; color: var(--sec-forte); }

/* ---------- páginas legais ---------- */
.legal {
  background: var(--branco);
  color: #111;
  padding: 72px 0 96px;
}
.legal .wrap { max-width: 820px; }
.legal h1 { font-weight: 800; font-size: 38px; margin-bottom: 12px; }
.legal h2 { font-weight: 800; font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-weight: 700; font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; margin-bottom: 12px; color: rgba(0, 0, 0, 0.8); }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal hr { border: none; border-top: 1px solid rgba(0, 0, 0, 0.12); margin: 28px 0; }
.legal a { color: var(--roxo-texto); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; }
  .conversas { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; }
  .duplo { grid-template-columns: 1fr; gap: 40px; }
  .gate-grid { grid-template-columns: 1fr; }
  .gate { max-width: none; }
  .time { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  nav.main { display: none; }
  nav.main.aberta {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #000;
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 18px;
    align-items: flex-start;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
    padding: 6px 12px;
    cursor: pointer;
  }
  .numeros { grid-template-columns: 1fr; }
  section.faixa { padding: 64px 0; }
}
