/* ===== LINKS PAGE ===== */
.links-page .top-bar {
  height: 8px;
}

.links-page {
  background: #F5EFE8;
  min-height: 100vh;
}

.lk-main {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 80px;
  overflow: hidden;
}

/* Grain suave sobre fundo claro */
.lk-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: multiply;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.lk-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

/* ===== HEADER ===== */
.lk-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: lk-fadeDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.lk-logo {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(80, 67, 34, 0.12));
}

.lk-avatar-wrap {
  width: 124px;
  height: 124px;
  min-width: 124px;
  min-height: 124px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(181, 112, 58, 0.2), rgba(107, 74, 42, 0.15));
  padding: 6px;
  box-shadow: 0 4px 20px rgba(58, 42, 26, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lk-avatar {
  width: 112px;
  height: 112px;
  min-width: 112px;
  min-height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  background: #F5EFE8;
}

.lk-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.lk-name {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: #6B3D1E;
  letter-spacing: 0.01em;
}

.lk-bio-header {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(58, 46, 30, 0.65);
  max-width: 460px;
  width: 100%;
}

.lk-bio {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(80, 67, 34, 0.6);
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.lk-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.lk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(107, 74, 42, 0.12);
  box-shadow: 0 2px 16px rgba(58, 42, 26, 0.07);
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.lk-card:nth-child(1) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards, cta-gradient 10s linear 0.73s infinite; }
.lk-card:nth-child(2) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s forwards; }
.lk-card:nth-child(3) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards; }
.lk-card:nth-child(4) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards; }
.lk-card:nth-child(5) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.50s forwards; }
.lk-card:nth-child(6) { animation: lk-fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards; }

.lk-card:hover {
  background: #fdf8f3;
  border-color: rgba(181, 112, 58, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(58, 42, 26, 0.12);
}

/* Primary card (Agendar) */
.lk-card--primary {
  background: #6B3D1E;
  background-size: 400% 400%;
  border-color: transparent;
  box-shadow: 0 6px 28px rgba(166, 124, 88, 0.32);
  position: relative;
  overflow: hidden;
}

.lk-card--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-18deg);
  animation: btn-shine 5s ease-in-out 1s infinite;
  pointer-events: none;
}

.lk-card--primary:hover {
  background: #7D4A24;
  background-size: 400% 400%;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 44px rgba(166, 124, 88, 0.38);
  border-color: transparent;
}

/* Icon circle */
.lk-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C4884A, #8B5E2E);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s;
}

.lk-card:hover .lk-icon {
  transform: scale(1.06);
}

.lk-card--primary .lk-icon {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Text */
.lk-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lk-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3A2E1E;
  line-height: 1.2;
}

.lk-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #A89880;
  line-height: 1.3;
}

/* Cor do texto no card primário */
.lk-card--primary .lk-card-title,
.lk-card--primary .lk-card-desc {
  color: #ffffff;
}

.lk-card--primary .lk-card-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* Arrow */
.lk-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.22s, transform 0.22s;
}

.lk-arrow svg path {
  stroke: #C4584C;
}

.lk-card--primary .lk-arrow svg path {
  stroke: rgba(255, 255, 255, 0.7);
}

.lk-card:hover .lk-arrow {
  transform: translateX(4px);
}

.lk-card--primary:hover .lk-arrow svg path {
  stroke: #ffffff;
}

/* ===== TOP BAR ===== */
.top-bar {
  height: 6px;
  background: linear-gradient(90deg, #6B3D1E, #6B3D1E, #6B3D1E);
  width: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  min-height: 72px;
  background: linear-gradient(135deg, #6B3D1E 0%, #6B3D1E 42%, #6B3D1E 100%);
  overflow: hidden;
}

.site-footer-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.42;
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.site-footer-credit-text {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.site-footer-credit-logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.5;
}

/* ===== ANIMATIONS ===== */
@keyframes lk-fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lk-fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes btn-shine {
  0%   { left: -60%; }
  20%  { left: 120%; }
  100% { left: 120%; }
}

@keyframes cta-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .lk-main { padding: 40px 20px 64px; }
  .lk-logo { height: 96px; }
  .lk-card { padding: 16px 16px; gap: 14px; }
  .lk-icon { width: 44px; height: 44px; }
  .lk-card-title { font-size: 15px; }
  .lk-name { font-size: 28px; }
  .lk-bio-header {
    font-size: 13px;
    max-width: 100%;
    padding: 0 4px;
  }
  .lk-identity { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-header,
  .lk-card {
    opacity: 1;
    animation: none;
  }
}
