/* TOSS Partners · estilos compartilhados das LPs de indicação */

:root {
  --bg: #080808;
  --bg-deep: #050505;
  --ink: #ffffff;
  --ink-dark: #050505;
  --muted: #a9a9a9;
  --label: #8a8a8a;
  --line: #303030;
  --line-soft: #252525;
  --line-strong: #505050;
  --body-dark: #404040;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --container: 1280px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); transition: color .3s; }
a:hover { color: var(--label); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

h1, h2, h3, p, ul { margin: 0; }

[hidden] { display: none !important; }

/* ---------- Estrutura ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { border-bottom: 1px solid var(--line); }
.section--deep { background: var(--bg-deep); }

/* Seção clara: inverte as cores, e os componentes acompanham pelas variáveis */
.section--light {
  --bg: #ffffff;
  --bg-deep: #f2f2f0;
  --ink: #050505;
  --ink-dark: #ffffff;
  --muted: #555555;
  --label: #6e6e6e;
  --line: #dcdcdc;
  --line-soft: #e6e6e6;
  --line-strong: #b8b8b8;
  --body-dark: #bdbdbd;
  background: var(--bg);
  color: var(--ink);
}
.section--plain { border-bottom: 0; }

.pad-120 { padding-top: 120px; padding-bottom: 120px; }
.pad-140 { padding-top: 140px; padding-bottom: 140px; }

.center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Tipografia ---------- */

.eyebrow {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--label);
}

.tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--label);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.h1 { font-size: clamp(56px, 8vw, 116px); line-height: .92; letter-spacing: 2px; max-width: 820px; }
.h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: 1px; }
.h2-lg { font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: 2px; }
.h3 { font-size: 40px; line-height: 40px; letter-spacing: 1px; }
.h3-sm { font-size: 28px; line-height: 30px; letter-spacing: 1px; }

.lead { font-size: 20px; line-height: 32px; color: var(--muted); }
.muted { color: var(--muted); }

.statement {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  max-width: 980px;
}
.statement span { color: var(--label); }

.num {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 28px;
  color: var(--label);
}

/* ---------- Botões ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.btn svg { flex-shrink: 0; }

.btn--solid { background: var(--ink); color: var(--ink-dark); }
.btn--solid:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ink-dark); }

.btn--lg { height: 56px; padding: 0 32px; font-size: 22px; }
.btn--whats { height: 64px; padding: 0 40px; font-size: 24px; }

/* Botão flutuante de WhatsApp (/convite) */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #050505;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .3s, color .3s;
}
.whats-float.is-visivel { opacity: 1; transform: none; pointer-events: auto; }
.whats-float:hover { background: #ffffff; color: #050505; border-color: #050505; }
.whats-float:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* ---------- Topo e rodapé ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .container {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); }
.site-footer .container {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
/* Logo TOSS® STUDIO: o mesmo no topo e no rodapé */
.logo {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 3px;
  white-space: nowrap;
}
.logo sup {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: top;
  position: relative;
  top: -2px;
  margin-left: 1px;
}
.footer-meta {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--label);
}
.footer-meta a { text-decoration: none; }

/* ---------- Listas e grades ---------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.grid-cards--wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

.card-step {
  border-top: 1px solid var(--ink);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-step .num { letter-spacing: 3px; line-height: normal; }

/* Passo dentro de uma caixa (Como funciona) */
.card-step--box {
  border: 1px solid var(--line);
  padding: 40px 36px 44px;
  gap: 20px;
}
.card-step--box .num { color: var(--ink); }

@media (max-width: 640px) {
  .card-step--box { padding: 28px 24px 32px; }
}

.num-list { list-style: none; padding: 0; }
.num-list li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

/* =========================================================
   /programa-de-indicacao
   ========================================================= */

.hero .container {
  padding-top: 112px;
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: stretch;
}
.hero__copy {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.hero__copy .lead { max-width: 600px; }
.hero__copy .btn-row { padding-top: 8px; }

.reward-box {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  background: var(--bg-deep);
}
.reward-box__big {
  font-family: var(--font-display);
  font-size: clamp(160px, 18vw, 240px);
  line-height: .8;
  letter-spacing: 2px;
}
.reward-box__sub {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.reward-box__alt {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.reward-box__alt strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 1px;
  color: var(--ink);
}

/* Exemplo com valores (logo depois do hero) */
.example__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px 64px;
}
.example__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.example__copy .h2 { max-width: 620px; }
.example__values {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 32px;
}
.example__value { display: flex; flex-direction: column; gap: 8px; }
.example__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6.5vw, 96px);
  line-height: .9;
  letter-spacing: 1px;
}
.example__label { font-size: 15px; line-height: 22px; color: var(--muted); max-width: 200px; }
.example__or {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--label);
  padding-bottom: 40px;
}
.example__kicker {
  flex: 1 1 100%;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head { margin-bottom: 72px; }
.section-head .eyebrow { margin-bottom: 16px; }


.who .container { display: flex; flex-wrap: wrap; gap: 64px; }
.who__intro {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.who__intro .muted { max-width: 420px; }
.who__list { flex: 999 1 560px; min-width: 0; }
.who__list .num-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: 40px;
}
.who .statement { flex: 1 1 100%; margin-top: 24px; }

.how { gap: 24px; }
.how .lead { max-width: 560px; }
.how .btn-row { padding: 16px 0; }
.how__note { font-size: 15px; line-height: 24px; color: var(--label); max-width: 520px; }

.faq .h2 { margin-bottom: 64px; }
/* Regras em acordeão (<details>): o primeiro já vem aberto no HTML */
.faq__list { max-width: 960px; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 18px no-repeat;
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover .h3-sm { color: var(--label); }
.faq__item .h3-sm { transition: color .3s; }
.faq__item p { max-width: 720px; padding: 0 0 32px; margin-top: -8px; }

.closing .container { padding-top: 140px; padding-bottom: 120px; gap: 40px; }
.closing .h2-lg { font-size: clamp(48px, 7.5vw, 104px); max-width: 1040px; }

/* ---------- Cadastro de quem indica ---------- */

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .3s;
}
.link-btn:hover { color: var(--label); }
.link-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.ref-status { font-size: 15px; line-height: 24px; color: var(--label); }
.ref-status strong { color: var(--ink); font-weight: 400; }

.cadastro {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 48px 40px 40px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
}
.cadastro::backdrop { background: rgba(0, 0, 0, .8); }

.cadastro__fechar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--label);
  cursor: pointer;
  transition: color .3s;
}
.cadastro__fechar:hover { color: var(--ink); }
.cadastro__fechar:focus-visible { outline: 2px solid var(--ink); }

.cadastro__view { display: flex; flex-direction: column; gap: 20px; }
.cadastro__view .h3 { margin-top: -8px; }
.cadastro__view .btn { justify-content: center; cursor: pointer; }
.cadastro__view .btn:disabled { opacity: .6; cursor: wait; }

.campo { display: flex; flex-direction: column; gap: 6px; }
.campo__label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--label);
}
.campo__label em { font-style: normal; letter-spacing: 1px; text-transform: none; color: var(--line-strong); margin-left: 4px; }
.campo input {
  height: 48px;
  padding: 0 14px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  font-size: 17px;
}
.campo input::placeholder { color: var(--line-strong); }
.campo input:focus { outline: none; border-color: var(--ink); }
.campo__pote { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.cadastro__erro { font-size: 15px; line-height: 22px; color: #ff6b6b; }
.cadastro__nota { font-size: 13px; line-height: 20px; color: var(--label); }

.cadastro__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  font-size: 15px;
}
.cadastro__link code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
  user-select: all;
}

/* =========================================================
   /convite
   ========================================================= */

.invite-hero { padding: 24px; }
.invite-frame {
  border: 1px solid var(--line);
  min-height: 880px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.invite-frame__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.invite-frame__center { gap: 40px; padding: 96px 0; }
.invite-frame__center .lead { max-width: 620px; }

.bonus-tag {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bonus-tag span {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 3px;
  color: var(--label);
}

.eyebrow--lined {
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: 4px;
}
.eyebrow--lined::before,
.eyebrow--lined::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.invite-title {
  font-size: clamp(56px, 9vw, 136px);
  line-height: .86;
  letter-spacing: 2px;
  max-width: 1100px;
}
.h2-invite { font-size: clamp(44px, 5.5vw, 72px); line-height: .95; letter-spacing: 1px; }

.diag .container {
  padding-top: 160px;
  padding-bottom: 140px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}
.diag__col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.diag__col--intro { gap: 28px; }
.diag__col--intro .muted { max-width: 480px; }
.diag__label { margin-bottom: 8px; }
.diag__item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.diag__item:last-of-type { border-bottom: 1px solid var(--line); }
.diag__item .num { font-size: 22px; }
.diag__foot {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--label);
}

.services .h2-invite { margin: 16px 0 20px; max-width: 860px; }
.services__intro { margin-bottom: 80px; max-width: 520px; }
.services .h3 { margin: 0; }
.services .statement { margin-top: 96px; }

.start .container { padding-top: 160px; padding-bottom: 140px; gap: 32px; }
.start .h2-start {
  font-size: clamp(56px, 9vw, 128px);
  line-height: .9;
  letter-spacing: 2px;
}
.start .lead { max-width: 540px; }
.ref-code { color: var(--ink); font-weight: 400; letter-spacing: 1px; }

/* ---------- Celular ---------- */

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  /* Texto corrido */
  body { font-size: 16px; line-height: 26px; }
  .lead { font-size: 17px; line-height: 27px; }
  .eyebrow { font-size: 11px; letter-spacing: 2.5px; }
  .tag { font-size: 11px; letter-spacing: 2px; }

  /* Títulos mais contidos */
  .h1 { font-size: 44px; line-height: .95; letter-spacing: 1px; }
  .h2 { font-size: 34px; line-height: 1; letter-spacing: .5px; }
  .h2-lg, .closing .h2-lg { font-size: 38px; line-height: 1; letter-spacing: 1px; }
  .h3 { font-size: 28px; line-height: 30px; letter-spacing: .5px; }
  .h3-sm { font-size: 21px; line-height: 24px; letter-spacing: .5px; }
  .num { font-size: 17px; }
  .invite-title { font-size: 46px; line-height: .92; letter-spacing: 1px; }
  .h2-invite { font-size: 34px; line-height: 1; }
  .start .h2-start { font-size: 42px; line-height: .95; letter-spacing: 1px; }

  /* Números de recompensa */
  .reward-box__big { font-size: 112px; }
  .reward-box__sub { font-size: 24px; line-height: 26px; margin-top: 12px; }
  .reward-box__alt strong { font-size: 30px; line-height: 30px; }
  .reward-box { gap: 28px; }

  /* Logo, topo e botões */
  .logo { font-size: 28px; line-height: 28px; letter-spacing: 2px; }
  .logo sup { font-size: 13px; }
  .site-header .container { padding-top: 18px; padding-bottom: 18px; }
  .site-header .container > .tag { display: none; } /* "Curitiba / Desde 2010" já está no rodapé */
  .btn { width: 100%; justify-content: center; height: 50px; font-size: 18px; letter-spacing: 1.5px; }
  .btn--lg { height: 52px; font-size: 19px; }
  .btn--whats { height: 58px; padding: 0 20px; font-size: 20px; }
  .whats-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }

  /* Respiros */
  .pad-120, .pad-140 { padding-top: 72px; padding-bottom: 72px; }
  .hero .container { padding-top: 48px; padding-bottom: 72px; gap: 40px; }
  .hero__copy { gap: 24px; }
  .closing .container,
  .start .container,
  .diag .container { padding-top: 80px; padding-bottom: 72px; }
  .closing .container { gap: 28px; }
  .start .container { gap: 20px; }
  .diag .container { gap: 48px; }
  .section-head { margin-bottom: 32px; }
  .example__inner { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .example__values { flex-direction: column; align-items: flex-start; gap: 14px; }
  .example__num { font-size: 52px; }
  .example__label { max-width: none; }
  .example__or { padding-bottom: 0; }
  .example__kicker { font-size: 24px; padding-top: 22px; }
  .section-head .eyebrow { margin-bottom: 12px; }
  .faq .h2 { margin-bottom: 32px; }
  .who .container { gap: 32px; }
  .who__intro { gap: 16px; }
  .num-list li { padding: 18px 0; gap: 16px; }
  .diag__item { padding: 20px 0; gap: 16px; }
  .reward-box { padding: 28px 24px; }
  .grid-cards, .grid-cards--wide, .who__list .num-list { grid-template-columns: 1fr; }
  .grid-cards { gap: 16px; }
  .grid-cards--wide { gap: 32px; }
  .card-step { gap: 12px; padding-top: 24px; }
  .card-step--box { padding: 24px 22px 28px; }
  .faq__item summary { padding: 20px 0; }
  .faq__item p { padding-bottom: 24px; }
  .cadastro { padding: 48px 20px 24px; }
  .invite-hero { padding: 12px; }
  .invite-frame { min-height: 0; padding: 20px; }
  .invite-frame__center { padding: 56px 0; gap: 28px; }
  .bonus-tag { font-size: 18px; line-height: 20px; padding: 10px 16px; }
  .services .h2-invite { margin: 12px 0 16px; }
  .services__intro { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.faq__eyebrow { margin-bottom: 16px; }
