/* =====================================================================
   VENTURIN CORRETORA — Link in Bio
   Identidade: azul institucional → turquesa (gradiente da marca)
   ===================================================================== */

:root {
  /* Paleta da marca (extraída do tema oficial da Venturin) */
  --deep:   #0B4F8A;
  --blue:   #1C6EB2;
  --cyan:   #2FB8C4;
  --teal:   #44DACE;
  --lime:   #D2E823;
  --wa:     #25D366;
  --wa-dark:#1da851;

  --ink:        #0a2540;
  --white:      #ffffff;
  --glass:      rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --glass-brd:  rgba(255, 255, 255, 0.28);
  --shadow:     0 18px 40px -18px rgba(4, 33, 60, 0.55);
  --shadow-sm:  0 8px 22px -12px rgba(4, 33, 60, 0.5);

  --radius:     18px;
  --radius-lg:  26px;
  --maxw:       620px;

  --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(--white);
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a82c4 0%, transparent 60%),
    linear-gradient(165deg, #1C6EB2 0%, #2FB8C4 52%, #44DACE 100%) fixed;
  background-color: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- camadas decorativas de fundo ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 520px at 12% 8%, rgba(68, 218, 206, 0.45), transparent 60%),
    radial-gradient(480px 480px at 88% 22%, rgba(210, 232, 35, 0.16), transparent 55%),
    radial-gradient(640px 640px at 50% 110%, rgba(11, 79, 138, 0.7), transparent 60%);
  filter: blur(8px);
  animation: floatAurora 16s ease-in-out infinite alternate;
}
@keyframes floatAurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-18px,0) scale(1.05); }
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

/* ---------- 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: 124px; height: 124px; border-radius: 50%;
  padding: 4px;
  background: linear-gradient(140deg, var(--teal), var(--blue));
  box-shadow: 0 16px 34px -14px rgba(4, 33, 60, 0.55);
  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: 3px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}

.profile-name {
  margin-top: 16px;
  font-size: clamp(21px, 5.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(4,33,60,.32);
  animation: rise .6s ease both .05s;
}
.profile-handle {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  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;
  padding: 6px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* Selo verificado estilo Meta / Instagram (selo azul com check branco) */
.verified-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.92em; height: 0.92em; margin-left: 0.28em;
  vertical-align: -0.06em;
  filter: drop-shadow(0 2px 5px rgba(0, 149, 246, 0.55));
}
.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: rgba(255,255,255,0.92);
  animation: rise .6s ease both .24s;
}

/* ---------- redes sociais ---------- */
.socials {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px;
  animation: rise .6s ease both .3s;
}
.social {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #ffffff;                 /* chip branco = ícone colorido com alto contraste */
  border: 1px solid rgba(255,255,255,0.9);
  color: var(--deep); cursor: pointer;
  box-shadow: 0 8px 18px -10px rgba(4,33,60,.6);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.social:hover { transform: translateY(-3px); box-shadow: var(--shadow); filter: brightness(1.02); }
.social:active { transform: scale(.94); }
.social svg { width: 24px; height: 24px; }

/* =====================================================================
   CTA WHATSAPP PRINCIPAL
   ===================================================================== */
.cta-whatsapp {
  margin-top: 26px;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border: none; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--wa) 0%, #1fbd5b 100%);
  color: #06351c;
  cursor: pointer; text-align: left;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7);
  position: relative; overflow: hidden;
  animation: rise .6s ease both .36s;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-whatsapp::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-130%);
}
.cta-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(37,211,102,.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: rgba(255,255,255,0.35); color: #06351c;
  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: 800; }
.cta-whatsapp__text small { font-size: 12px; opacity: .8; font-weight: 600; }
.cta-whatsapp__chev { font-size: 20px; font-weight: 800; opacity: .7; }

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

.link-btn {
  --i: 0;
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius);
  /* vidro escuro: garante contraste do texto/ícone branco em qualquer ponto do gradiente */
  background: linear-gradient(135deg, rgba(7, 41, 73, 0.50), rgba(7, 41, 73, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), background .22s ease, 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: 4px;
  background: linear-gradient(var(--blue), var(--teal));
  opacity: 0; transition: opacity .22s ease;
}
.link-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(7, 41, 73, 0.62), rgba(7, 41, 73, 0.44));
  border-color: rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
}
.link-btn:hover::before { opacity: 1; }
.link-btn:active { transform: scale(.985); }

.link-btn__icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: #ffffff;                       /* chip branco */
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 0 0 1px rgba(11,79,138,.06);
}
.link-btn__icon svg { width: 27px; height: 27px; 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; }
.link-btn__sub { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.78); margin-top: 3px; }

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

/* botão em destaque */
.link-btn--featured {
  background: linear-gradient(120deg, rgba(13, 74, 128, 0.66), rgba(28, 110, 178, 0.58));
  border-color: rgba(210, 232, 35, 0.7);     /* acento lima para destacar */
  box-shadow: 0 14px 30px -14px rgba(28,110,178,.7);
}
.link-btn--featured::before { opacity: 1; background: linear-gradient(var(--lime), var(--teal)); }
.link-btn--featured .link-btn__icon {
  background: linear-gradient(140deg, var(--blue), var(--deep));   /* chip escuro */
  border-color: rgba(255,255,255,0.5);
}
.link-btn--featured .link-btn__icon svg { color: #fff; }           /* ícone branco em chip escuro */

/* =====================================================================
   CARD DE LEAD ("Deixe seus dados")
   ===================================================================== */
.leadcard {
  margin-top: 26px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07));
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.leadcard__title { font-size: 18px; font-weight: 800; line-height: 1.25; }
.leadcard__sub { font-size: 13.5px; color: rgba(255,255,255,0.82); 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 rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.94);
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.field input::placeholder { color: #6b7a8d; }
.field input:focus, .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(68,218,206,0.35);
}
.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='%230a2540' 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: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.28); }

.leadform__submit {
  margin-top: 4px; padding: 15px; border: none; border-radius: 13px;
  font-family: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer;
  color: var(--deep);
  background: linear-gradient(120deg, #fff, #d8f6f3);
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.leadform__submit:hover { transform: translateY(-2px); filter: brightness(1.03); }
.leadform__submit:active { transform: scale(.99); }
.leadform__submit[disabled] { opacity: .7; cursor: default; transform: none; }
.leadform__hint { font-size: 11.5px; color: rgba(255,255,255,0.7); text-align: center; margin-top: 4px; }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer { text-align: center; margin-top: 34px; color: rgba(255,255,255,0.78); }
.footer__name { font-weight: 700; font-size: 14px; }
.footer__susep { font-size: 12px; margin-top: 3px; letter-spacing: .04em; }
.footer__copy { font-size: 11px; margin-top: 10px; opacity: .7; }

/* =====================================================================
   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: #ffffff; color: var(--deep);
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 18px -10px rgba(4,33,60,.55);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: rise .5s ease both;
}
.backlink:hover { transform: translateX(-3px); box-shadow: var(--shadow); }
.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.01em;
  text-shadow: 0 2px 16px rgba(4,33,60,.32); 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: rgba(255,255,255,0.92);
  animation: rise .6s ease both .12s;
}

/* =====================================================================
   FAB WHATSAPP
   ===================================================================== */
.fab-whatsapp {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; 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 -8px rgba(37,211,102,.75);
  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,.55);
  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(6, 30, 54, 0.55);
  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: linear-gradient(170deg, #ffffff, #eef7fb);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px 20px 22px;
  box-shadow: 0 -10px 50px -10px rgba(0,0,0,.5);
  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: rgba(10,37,64,.08); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.sheet__close:hover { background: rgba(10,37,64,.15); }

.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(--teal));
  box-shadow: 0 10px 22px -10px rgba(28,110,178,.7);
}
.sheet__icon svg { width: 28px; height: 28px; }
.sheet__title { font-size: 19px; font-weight: 800; line-height: 1.2; }
.sheet__sub { font-size: 13px; color: #4a5d72; 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;
}
.sheet-btn:active { transform: scale(.98); }
.sheet-btn--wa { color: #fff; background: linear-gradient(120deg, var(--wa), var(--wa-dark));
  box-shadow: 0 12px 26px -12px rgba(37,211,102,.8); }
.sheet-btn--wa:hover { filter: brightness(1.04); }
.sheet-btn--link { color: var(--deep); background: #e3eef6; border: 1px solid #cfe0ec;
  justify-content: space-between; }
.sheet-btn--link:hover { background: #d7e8f3; }

.sheet__divider {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 14px; color: #7286a0; font-size: 12px; font-weight: 600;
}
.sheet__divider::before, .sheet__divider::after {
  content: ""; flex: 1; height: 1px; background: #d3e0ec;
}

.sheet__label { display: block; font-size: 13.5px; font-weight: 700; color: #2b3f55; 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 #cfdce8;
  background: #fff; outline: none; transition: box-shadow .2s ease, border-color .2s ease;
}
.sheet__row input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(68,218,206,.3); }
.sheet__row input.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.25); }
.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(--cyan)); }
.sheet-btn--callback:hover { filter: brightness(1.05); }
.sheet__note { font-size: 11.5px; color: #7286a0; 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: rgba(8, 40, 70, 0.92); color: #fff;
  font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,0.18);
  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,.5); }
  70%  { box-shadow: 0 0 0 18px 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; }
}
