/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:       #CF92A2;
  --rose-dark:  #b5707f;
  --rose-light: #FFCDDA;
  --rose-faint: #FFF3F6;
  --white:      #ffffff;
  --off-white:  #FFF3F6;
  --text-dark:  #5C5C5C;
  --text-mid:   #5C5C5C;
  --text-soft:  #CF92A2;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── LAYOUT ─── */
.layout {
  display: grid;
  grid-template-columns: 1fr 33%;
  min-height: 100vh;
}

/* ─── CONTENT SIDE ─── */
.content-side {
  padding: 64px 56px 80px 64px;
  overflow-y: auto;
  max-height: 100vh;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-light) transparent;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}

.content-side::-webkit-scrollbar {
  width: 5px;
}

.content-side::-webkit-scrollbar-track {
  background: transparent;
}

.content-side::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--rose-light), var(--rose));
  border-radius: 10px;
}

/* ─── HEADER ─── */
.header {
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.55s var(--ease) 0.05s forwards;
}

.avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rose);
  margin-bottom: 16px;
  flex-shrink: 0;
  display: none;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.name {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.name span {
  color: var(--rose);
  font-style: italic;
}

.subtitle {
  font-size: 14.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 400;
  margin-bottom: 22px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid rgba(129, 63, 80, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rose);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.social-label {
  display: inline;
}

.social-icons a:hover {
  background: var(--rose);
  color: var(--white);
}

.social-icons svg {
  width: 16px;
  height: 16px;
}

/* ─── LINK CARDS ─── */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: url('images/BackgroundPearl.png') center/cover no-repeat;
  border: 0.5px solid rgba(129, 63, 80, 0.14);
  outline: 5px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), outline-color 0.28s var(--ease);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.5s var(--ease) forwards;
}

.link-card:nth-child(1) { animation-delay: 0.18s; }
.link-card:nth-child(2) { animation-delay: 0.30s; }
.link-card:nth-child(3) { animation-delay: 0.42s; }
.link-card:nth-child(4) { animation-delay: 0.54s; }
.link-card:nth-child(5) { animation-delay: 0.66s; }

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(207, 146, 162, 0.25);
  outline-color: var(--rose-light);
}

.card-image {
  position: relative;
  overflow: hidden;
  background: var(--rose-faint);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.card-gerenciamento .card-image img { object-position: center 30%; }
.card-consultoria .card-image img { object-position: center 20%; }
.card-trafego .card-image img { object-position: center 25%; }
.card-story .card-image img { object-position: center 30%; }
.card-landing .card-image img { object-position: center 40%; }

.link-card:hover .card-image img {
  transform: scale(1.07);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(129, 63, 80, 0.12), transparent);
  pointer-events: none;
}

.card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-tag {
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 1px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
}

.card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  margin-top: 3px;
}

.card-desc em {
  font-style: normal;
  color: var(--rose);
  font-weight: 400;
}

.card-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid rgba(129, 63, 80, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  align-self: flex-start;
}

.link-card:hover .card-cta {
  border-color: var(--rose);
}

/* ─── PHOTO SIDE ─── */
.photo-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--off-white) 0%, transparent 22%),
    linear-gradient(to top, var(--off-white) 0%, transparent 16%);
  pointer-events: none;
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(207, 146, 162, 0.4);
  text-decoration: none;
  z-index: 100;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(207, 146, 162, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.wa-label { display: none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── RESPONSIVE: TABLET ─── */
@media (max-width: 860px) {
  .layout {
    display: block;
  }

  .photo-side { display: none; }

  .content-side {
    padding: 40px 22px 110px;
    max-height: none;
    overflow-y: visible;
    max-width: 100%;
  }

  .header {
    text-align: center;
    margin-bottom: 36px;
  }

  .avatar-wrap {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-width: 2px;
  }

  .avatar-wrap img {
    object-position: top center;
  }

  .name {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
  }

  .subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.7;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icons a {
    width: auto;
    height: 36px;
    padding: 0 14px;
    border-radius: 20px;
  }

  .social-label {
    display: inline;
  }

  .links { gap: 11px; }

  .link-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 86px;
    border-radius: 14px;
    grid-template-columns: unset;
    border: 1px solid rgba(207, 146, 162, 0.18);
    box-shadow: 0 2px 12px rgba(129, 63, 80, 0.06);
  }

  .card-image { display: none; }

  .link-card::before {
    content: '';
    display: block;
    width: 3px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, var(--rose-light), var(--rose));
    border-radius: 14px 0 0 14px;
  }

  .card-content {
    flex: 1;
    padding: 15px 16px 15px 14px;
    gap: 3px;
    justify-content: center;
    min-width: 0;
  }

  .card-tag {
    font-size: 10px;
    letter-spacing: 2.5px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .card-title {
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -0.2px;
    margin: 0;
  }

  .card-desc {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 3px;
    color: #888;
  }

  .card-cta {
    font-size: 10.5px;
    letter-spacing: 1.2px;
    margin-top: 9px;
    opacity: 0.75;
  }

  .link-card:active {
    transform: scale(0.982);
    transition: transform 0.1s ease;
  }

  .whatsapp-float {
    width: auto;
    height: auto;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.90);
    color: var(--rose-dark);
    box-shadow: 0 2px 20px rgba(207, 146, 162, 0.2);
    border: 1px solid rgba(207, 146, 162, 0.2);
    bottom: 20px;
    right: 16px;
    padding: 9px 16px 9px 10px;
    gap: 8px;
    flex-direction: row;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  }

  .whatsapp-float svg { width: 0; height: 0; display: none; }

  .whatsapp-float::before {
    content: '';
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #CF92A2 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/16px no-repeat;
    flex-shrink: 0;
  }

  .wa-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
    white-space: nowrap;
    color: var(--rose-dark);
    transition: opacity 0.2s ease, max-width 0.3s ease;
    max-width: 160px;
    overflow: hidden;
  }

  .whatsapp-float.is-scrolled {
    padding: 9px;
    border-radius: 50%;
    gap: 0;
  }

  .whatsapp-float.is-scrolled::before {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float.is-scrolled .wa-label {
    opacity: 0;
    max-width: 0;
  }

  .whatsapp-float:active { transform: scale(0.95); }
}

/* ─── RESPONSIVE: SMALL MOBILE ─── */
@media (max-width: 600px) {
  .content-side { padding: 36px 18px 110px; }
  .name { font-size: 30px; }
}

@media (max-width: 370px) {
  .content-side { padding: 30px 16px 100px; }
  .card-title { font-size: 17px; }
  .card-desc { font-size: 12px; }
}
