/* Bio do Joel — versão publicada. Base visual V3 (09/11/2026). */
@font-face {
  font-family: Barlow;
  src: url('./assets/barlow-condensed.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bio-bg: #060709;
  --bio-accent: #7cc8ff;
  --bio-navy: #0a2a55;
}

body {
  background: var(--bio-bg);
}

/* Início: a foto ocupa o topo, como na referência; cabeçalho só nas páginas internas. */
body[data-page=home] .site-header {
  display: none;
}

body[data-page=home] main {
  padding-top: 0;
}

.site-header {
  max-width: 808px;
  padding-top: 24px;
  padding-bottom: 0;
}

.site-header .wordmark > span:last-child {
  display: none;
}

.site-header .monogram {
  border: 0;
}

.site-footer {
  max-width: 600px;
  margin: 0 auto;
  font-size: 11px;
  padding-left: 16px;
  padding-right: 16px;
}

.site-footer > span:nth-child(2) {
  display: none;
}

.bio-column {
  max-width: 600px;
  margin: auto;
}

.bio-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
}

.bio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 42%, #0607098c 62%, #060709f0 82%, var(--bio-bg) 100%),
    linear-gradient(90deg, var(--bio-bg) 0, transparent 16%, transparent 84%, var(--bio-bg) 100%);
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding: 0 16px;
}

.hero-kicker {
  margin: 0;
  color: var(--bio-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-caption h1 {
  margin: 4px 0 4px;
  font: 700 76px/1 Barlow, Impact, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px #000a;
}

.hero-hint {
  margin: 0;
  color: #b9d3e6;
  font-size: 15px;
}

.bio-banners {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.bio-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 188px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #ffffff1f;
  padding: 24px 32px;
  color: #fff;
  background: linear-gradient(110deg, #0b1f3a, #123a66);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.bio-banner:hover {
  transform: translateY(-2px);
  border-color: #7cc8ff99;
  box-shadow: 0 10px 30px #0006;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 76%;
}

.banner-accounting .banner-content {
  max-width: 64%;
}

.banner-label {
  display: block;
  margin-bottom: 10px;
  color: var(--bio-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.banner-title {
  display: block;
  font: 700 50px/.95 Barlow, Impact, sans-serif;
  letter-spacing: .005em;
}

.banner-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.banner-art > .icon {
  position: absolute;
  right: 36px;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translateY(-50%) rotate(-8deg);
  color: var(--bio-accent);
  opacity: .32;
  stroke-width: 1;
}

/* Ação principal: fundo claro casado com o fundo da foto, logo ACC e retrato real. */
.banner-accounting {
  color: var(--bio-navy);
  background: linear-gradient(100deg, #eef3fb 0%, #d3dcf1 52%, #b8c4e6 100%);
  border-color: #ffffff66;
}

.banner-accounting .banner-label {
  margin-bottom: 12px;
}

.banner-logo {
  display: block;
  width: auto;
  height: 34px;
}

.banner-accounting .banner-art img {
  position: absolute;
  right: 4%;
  top: 6px;
  height: 128%;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}

.banner-reform {
  background: linear-gradient(110deg, #08508f, #0f7bcc);
}

.banner-reform .banner-label {
  color: #cfeaff;
}

.banner-reform .banner-art > .icon {
  color: #e3f4ff;
  opacity: .3;
}

.bio-socials {
  text-align: center;
  padding: 36px 0 28px;
}

.bio-socials > span {
  color: #9db6c9;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bio-socials > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 12px;
}

.bio-socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  min-height: 44px;
}

.bio-socials .icon {
  width: 20px;
}

/* Fluxo de contato (herdado da V2). */
.flow-layout { grid-template-columns: .7fr 1fr; }
.flow-aside h1 { font-size: 38px; }
.flow-aside > p { font-size: 14px; }
.form-field label, .check-row { font-size: 13px; }
.form-note, .local-notice { font-size: 12px; }
.panel-subtitle { font-size: 13px; }

@media (max-width: 640px) {
  .site-header { padding: 18px 20px 0; }
  .site-header .header-link { font-size: 12px; }
  body[data-page=home] main { padding: 0 16px 28px; }
  .bio-hero { margin: 0 -16px; height: 372px; }
  .bio-hero::after { background: linear-gradient(180deg, transparent 42%, #0607098c 62%, #060709f0 82%, var(--bio-bg) 100%); }
  .hero-img { object-position: center 0; }
  .hero-caption { bottom: 10px; }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; }
  .hero-caption h1 { font-size: 50px; margin: 2px 0; }
  .hero-hint { font-size: 13px; }
  .bio-banners { gap: 12px; margin-top: 14px; }
  .bio-banner { min-height: 112px; padding: 14px 18px; border-radius: 14px; }
  .banner-label { font-size: 11px; letter-spacing: .08em; margin-bottom: 6px; }
  .banner-title { font-size: 30px; }
  .banner-content { max-width: 80%; }
  .banner-accounting .banner-content { max-width: 64%; }
  .banner-logo { height: 28px; }
  .banner-accounting .banner-label { margin-bottom: 8px; }
  .banner-accounting .banner-art img { right: 0; top: 4px; height: 130%; }
  .banner-art > .icon { width: 76px; height: 76px; right: 14px; opacity: .24; }
  .bio-socials { padding: 28px 0 20px; }
  .bio-socials > span { font-size: 12px; }
  .bio-socials > div { gap: 4px 18px; }
  .bio-socials a { font-size: 14px; gap: 6px; }
  .site-footer { margin: 0 16px; padding-left: 0; padding-right: 0; }
  .flow-layout { display: flex; gap: 18px; }
  .flow-aside { padding-top: 16px; }
  .flow-aside h1 { font-size: 28px; margin-top: 6px; margin-bottom: 6px; }
  .flow-aside > p { font-size: 13px; margin: 0; }
  .flow-aside .advisor { margin-top: 12px; }
  .flow-aside .back-link { margin-bottom: 10px; }
}

@media (max-width: 359px) {
  .hero-caption h1 { font-size: 44px; }
  .banner-title { font-size: 27px; }
  .banner-label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-banner { transition: none; }
  .bio-banner:hover { transform: none; }
}

/* Etapa WhatsApp no celular: mensagem pronta visível sem rolar. */
@media (max-width: 640px) {
  .stage-1 .flow-aside .advisor { display: none; }
  .stage-1 .flow-aside h1 { font-size: 24px; }
  .stage-1 .flow-panel .steps { margin-bottom: 14px; }
}

/* Versão publicada: formulário real, confirmação e WhatsApp. */
.button { font-size: 14px; }
.interest { font-size: 13px; }
.form-note { font-size: 12px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.privacy p { font-size: 14px; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ffb5ae66;
  background: #3a1d1d;
  color: #ffd9d4;
  font-size: 13px;
}

.form-alert a { text-decoration: underline; text-underline-offset: 3px; }

.sent-ref {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #23517055;
  border: 1px solid #376c9050;
  font-size: 13px;
  color: #b5dcf7;
}

.sent-ref strong { color: #fff; letter-spacing: .08em; }

.whatsapp-button {
  background: #1f8f5f;
  min-height: 52px;
  font-size: 16px;
}

.whatsapp-button:hover { background: #24a56d; }
.whatsapp-button .icon { width: 22px; height: 22px; }

.sent-help {
  margin: 14px 0 10px;
  color: #a8bdcc;
  font-size: 13px;
}

.message-preview {
  white-space: pre-wrap;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 8px;
  background: #0b1a27;
  border: 1px solid #ffffff17;
  color: #dbe8f2;
  font-size: 13px;
  line-height: 1.6;
}

.flow-panel .button + .button { margin-top: 10px; }

.noscript {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  color: #dbe8f2;
}
