/* =====================================================================
   VENTURIN CORRETORA — Link in Bio
   Tema CLEAN: fundo branco, texto preto, acentos da marca (azul/turquesa)
   ===================================================================== */

:root {
  /* Acentos da marca */
  --deep:   #0B4F8A;
  --blue:   #1C6EB2;
  --cyan:   #2FB8C4;
  --teal:   #44DACE;
  --wa:     #25D366;
  --wa-dark:#1da851;

  /* Base clean */
  --bg:        #ffffff;
  --ink:       #111315;   /* texto principal (quase preto) */
  --ink-soft:  #6b7177;   /* texto secundário */
  --line:      #ececec;   /* bordas */
  --line-2:    #e2e4e6;
  --chip:      #f4f6f9;   /* fundo de chip claro */
  --white:     #ffffff;

  --shadow-sm: 0 1px 2px rgba(17,19,21,.05), 0 8px 20px -14px rgba(17,19,21,.20);
  --shadow:    0 2px 6px rgba(17,19,21,.06), 0 18px 40px -22px rgba(17,19,21,.30);

  --radius:    18px;
  --radius-lg: 24px;
  --maxw:      600px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- camadas decorativas (bem sutis, p/ não pesar) ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(28,110,178,0.06), transparent 70%),
    radial-gradient(700px 480px at 100% 0%, rgba(68,218,206,0.05), transparent 65%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(17,19,21,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,19,21,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 70%);
}

/* ---------- container ---------- */
.page {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 52px) clamp(18px, 5vw, 28px) 120px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* =====================================================================
   PERFIL
   ===================================================================== */
.profile { text-align: center; display: flex; flex-direction: column; align-items: center; }

.avatar {
  width: 116px; height: 116px; border-radius: 50%;
  padding: 0;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px -18px rgba(17,19,21,.45);
  animation: pop .7s cubic-bezier(.2,.9,.3,1.3) both;
}
.avatar img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; display: block;
  border: 4px solid #fff;
  background: #fff;
}

.profile-name {
  margin-top: 18px;
  font-size: clamp(21px, 5.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  animation: rise .6s ease both .05s;
}
.profile-handle {
  margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  animation: rise .6s ease both .12s;
}

.badges {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 16px;
  animation: rise .6s ease both .18s;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 12px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--line);
}

/* Selo verificado estilo Meta / Instagram (selo azul com check branco) */
.verified-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.05em; height: 1.05em; margin-left: 0.3em;
  vertical-align: -0.16em;
  filter: drop-shadow(0 1px 3px rgba(0, 149, 246, 0.4));
}
.verified-seal svg { width: 100%; height: 100%; display: block; }

.bio {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft);
  animation: rise .6s ease both .24s;
}

/* ---------- redes sociais ---------- */
.socials {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px;
  animation: rise .6s ease both .3s;
}
.social {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.social:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.social:active { transform: scale(.94); }
.social svg { width: 23px; height: 23px; }

/* =====================================================================
   CTA WHATSAPP PRINCIPAL (preto premium + ícone verde)
   ===================================================================== */
.cta-whatsapp {
  margin-top: 26px;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: none; border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  cursor: pointer; text-align: left;
  box-shadow: 0 18px 38px -20px rgba(17,19,21,.7);
  position: relative; overflow: hidden;
  animation: rise .6s ease both .36s;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-whatsapp::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
  transform: translateX(-130%);
}
.cta-whatsapp:hover { transform: translateY(-2px); background: #000; box-shadow: 0 22px 44px -20px rgba(17,19,21,.8); }
.cta-whatsapp:hover::after { animation: shine 1.1s ease; }
.cta-whatsapp:active { transform: scale(.99); }
.cta-whatsapp__icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
}
.cta-whatsapp__text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.cta-whatsapp__text strong { font-size: 16px; font-weight: 700; }
.cta-whatsapp__text small { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500; }
.cta-whatsapp__chev { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.6); }

/* =====================================================================
   LISTA DE LINKS / SERVIÇOS
   ===================================================================== */
.links { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.link-btn {
  --i: 0;
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s ease, box-shadow .22s ease;
  animation: rise .55s ease both calc(.42s + var(--i) * .05s);
}
.link-btn::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--blue), var(--teal));
  opacity: 0; transition: opacity .22s ease;
}
.link-btn:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.link-btn:hover::before { opacity: 1; }
.link-btn:active { transform: scale(.985); }

.link-btn__icon {
  flex: none; width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--chip);
  border: 1px solid var(--line);
}
.link-btn__icon svg { width: 26px; height: 26px; color: var(--deep); }  /* ícone azul-escuro = alto contraste */

.link-btn__body { flex: 1; min-width: 0; }
.link-btn__label { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.link-btn__sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); margin-top: 3px; }

.link-btn__go {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--chip); color: var(--ink); font-size: 15px; font-weight: 700;
  transition: transform .22s ease, background .22s ease;
}
.link-btn:hover .link-btn__go { transform: translateX(3px); background: #eceef1; }

/* botão em destaque (clean, com leve tom da marca) */
.link-btn--featured {
  background: linear-gradient(180deg, #f6fbff, #ffffff);
  border-color: #cfe3f3;
}
.link-btn--featured::before { opacity: 1; }
.link-btn--featured .link-btn__icon {
  background: linear-gradient(140deg, var(--blue), var(--deep));
  border-color: transparent;
}
.link-btn--featured .link-btn__icon svg { color: #fff; }

/* =====================================================================
   CARD DE LEAD ("Deixe seus dados")
   ===================================================================== */
.leadcard {
  margin-top: 26px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.leadcard__title { font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.leadcard__sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

.leadform { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; border-radius: 13px;
  border: 1px solid var(--line-2);
  background: #fff;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.field input::placeholder { color: #9aa0a6; }
.field input:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(28,110,178,0.15);
}
.field--select select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111315' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.18); }

.leadform__submit {
  margin-top: 4px; padding: 15px; border: none; border-radius: 13px;
  font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 32px -18px rgba(17,19,21,.7);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.leadform__submit:hover { transform: translateY(-2px); background: #000; }
.leadform__submit:active { transform: scale(.99); }
.leadform__submit[disabled] { opacity: .6; cursor: default; transform: none; }
.leadform__hint { font-size: 11.5px; color: var(--ink-soft); text-align: center; margin-top: 4px; }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer { text-align: center; margin-top: 34px; color: var(--ink-soft); }
.footer__name { font-weight: 700; font-size: 14px; color: var(--ink); }
.footer__susep { font-size: 12px; margin-top: 3px; letter-spacing: .04em; }
.footer__copy { font-size: 11px; margin-top: 10px; color: #9aa0a6; }

/* =====================================================================
   SUBPÁGINA — barra superior / voltar / cabeçalho
   ===================================================================== */
.topbar { display: flex; justify-content: flex-start; margin-bottom: 6px; }
.backlink {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 12px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: rise .5s ease both;
}
.backlink:hover { transform: translateX(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.backlink svg { width: 18px; height: 18px; }

.subpage-head { text-align: center; margin-top: 8px; }
.subpage-title {
  font-size: clamp(24px, 6.5vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  animation: rise .6s ease both .05s;
}
.subpage-sub {
  margin-top: 8px; max-width: 42ch; margin-left: auto; margin-right: auto;
  font-size: 14.5px; line-height: 1.5; color: var(--ink-soft);
  animation: rise .6s ease both .12s;
}

/* =====================================================================
   FAB WHATSAPP (verde, reconhecível)
   ===================================================================== */
.fab-whatsapp {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; border: none;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
  animation: popFab .5s cubic-bezier(.2,.9,.3,1.4) both 1s;
}
.fab-whatsapp::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: pulse 2.4s ease-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.06); }
.fab-whatsapp:active { transform: scale(.92); }

/* =====================================================================
   ACTION SHEET (modal)
   ===================================================================== */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(17, 19, 21, 0.42);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease;
  padding: 0 12px;
}
.sheet-overlay.open { opacity: 1; }
.sheet-overlay[hidden] { display: none; }

.sheet {
  position: relative;
  width: 100%; max-width: 480px;
  margin-bottom: max(12px, env(safe-area-inset-bottom));
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 20px 22px;
  box-shadow: 0 -8px 50px -12px rgba(17,19,21,.35);
  transform: translateY(28px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.sheet-overlay.open .sheet { transform: translateY(0) scale(1); }

.sheet__close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--chip); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.sheet__close:hover { background: #e9ebee; }

.sheet__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-right: 30px; }
.sheet__icon {
  flex: none; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--deep));
  box-shadow: 0 10px 22px -12px rgba(28,110,178,.6);
}
.sheet__icon svg { width: 28px; height: 28px; }
.sheet__title { font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.sheet__sub { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

.sheet__actions { display: flex; flex-direction: column; gap: 10px; }
.sheet-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 15px; border: none; border-radius: 14px;
  font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background .18s ease;
}
.sheet-btn:active { transform: scale(.98); }
.sheet-btn--wa { color: #fff; background: linear-gradient(120deg, var(--wa), var(--wa-dark));
  box-shadow: 0 14px 26px -14px rgba(37,211,102,.7); }
.sheet-btn--wa:hover { filter: brightness(1.04); }
.sheet-btn--link { color: var(--ink); background: var(--chip); border: 1px solid var(--line);
  justify-content: space-between; }
.sheet-btn--link:hover { background: #eceef1; }

.sheet__divider {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 14px; color: var(--ink-soft); font-size: 12px; font-weight: 600;
}
.sheet__divider::before, .sheet__divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.sheet__label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.sheet__row { display: flex; gap: 8px; }
.sheet__row input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #fff; outline: none; transition: box-shadow .2s ease, border-color .2s ease;
}
.sheet__row input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28,110,178,.15); }
.sheet__row input.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.18); }
.sheet-btn--callback { width: auto; flex: none; white-space: nowrap; padding: 13px 16px; font-size: 14px;
  color: #fff; background: linear-gradient(120deg, var(--blue), var(--deep)); }
.sheet-btn--callback:hover { filter: brightness(1.06); }
.sheet__note { font-size: 11.5px; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* =====================================================================
   TOAST
   ===================================================================== */
.toast {
  position: fixed; z-index: 80;
  left: 50%; bottom: 90px; transform: translate(-50%, 20px);
  max-width: 90vw;
  padding: 13px 20px; border-radius: 14px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 16px 40px -14px rgba(17,19,21,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }

/* =====================================================================
   ANIMAÇÕES
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop  { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes popFab { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes shine { to { transform: translateX(130%); } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

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

/* ---------- responsivo ---------- */
@media (max-width: 380px) {
  .link-btn__icon { width: 44px; height: 44px; }
  .link-btn__sub { display: none; }
  .cta-whatsapp__text small { display: none; }
}
@media (min-width: 720px) {
  .links { gap: 14px; }
}
