/* =========================================================
   Portfólio: topo, credenciais, sobre, formação e contato
   ========================================================= */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  min-height: min(780px, calc(100svh - 70px));
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.6rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--violet);
}
.kicker::before {
  content: "";
  width: 46px;
  height: 1.5px;
  background: currentColor;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--petrol);
  margin: 0 0 2rem;
}
.hero h1 .first {
  display: block;
  font-size: clamp(4.4rem, 11.5vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.hero h1 .last {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.9rem;
  font-size: clamp(1.55rem, 3.3vw, 2.6rem);
  line-height: 1.1;
  color: var(--petrol-soft);
  letter-spacing: -0.01em;
}
.hero h1 .last::after {
  content: "";
  flex: 0 1 90px;
  height: 1px;
  background: var(--petrol);
  opacity: 0.35;
}
.hero .lead {
  max-width: 29rem;
  margin: 0 0 2.4rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--lilac);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}
.nw {
  white-space: nowrap;
}
.cred .v span.nw {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  margin: 0;
}
.modes {
  list-style: none;
  margin: -0.9rem 0 2.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.modes li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--violet);
  font-size: 0.95rem;
  font-weight: 600;
}
.modes svg {
  width: 17px;
  height: 17px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-primary {
  background: var(--petrol);
  color: var(--white);
  border: 0;
}
.btn-primary:hover {
  background: var(--violet);
}
.btn-ghost {
  border: 1.5px solid var(--petrol);
  color: var(--petrol);
  background: none;
}
.btn-ghost:hover {
  background: var(--petrol);
  color: var(--white);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.text-link {
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
  padding-bottom: 3px;
  background: linear-gradient(var(--violet), var(--violet)) left bottom/100% 1.5px no-repeat;
  transition:
    background-size 0.3s,
    color 0.2s;
}
.text-link:hover {
  color: var(--violet);
  background-size: 40% 1.5px;
}

.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 410px);
  margin: 14px 14px 0 0;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--petrol);
  opacity: 0.3;
  border-radius: 999px 999px 30px 30px;
  pointer-events: none;
}
.arch {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  border-radius: 999px 999px 30px 30px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 50% 38%,
    var(--white) 0%,
    var(--lilac-soft) 62%,
    var(--lilac) 100%
  );
}
.arch::before,
.arch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  border-radius: 50%;
  border: 1px solid rgba(110, 79, 158, 0.18);
  transform: translate(-50%, -50%);
}
.arch::before {
  width: 78%;
  aspect-ratio: 1;
}
.arch::after {
  width: 118%;
  aspect-ratio: 1;
  border-color: rgba(110, 79, 158, 0.1);
}
.blot {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: -8% 0 0;
}
.blot svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.blot .half {
  transform-origin: 200px 200px;
  animation: unfold 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes unfold {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
.arch figcaption {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--petrol);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.arch figcaption::before,
.arch figcaption::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--petrol);
  opacity: 0.4;
}
.float-card {
  position: absolute;
  z-index: 2;
  left: -2.5rem;
  bottom: 15%;
  background: var(--white);
  border-radius: 18px;
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 18px 40px -18px rgba(22, 54, 58, 0.35);
  animation: rise 0.8s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.float-card .fc-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--petrol);
  color: var(--lilac);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .fc-ico svg {
  width: 19px;
  height: 19px;
}
.float-card small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}
.float-card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.12rem;
  color: var(--petrol);
  line-height: 1.25;
}

/* Credenciais */
.creds {
  position: relative;
  overflow: hidden;
  background: var(--petrol);
  color: var(--sage);
  border-radius: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3.25rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.creds::before,
.creds::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(217, 205, 234, 0.12);
  pointer-events: none;
}
.creds::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -260px;
}
.creds::after {
  width: 340px;
  height: 340px;
  right: -90px;
  top: -170px;
  border-color: rgba(217, 205, 234, 0.08);
}
.seal {
  position: relative;
  width: clamp(150px, 17vw, 188px);
  aspect-ratio: 1;
  flex: none;
}
.seal svg {
  width: 100%;
  height: 100%;
  display: block;
}
.seal .ring-text {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  fill: var(--lilac);
}
.seal-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.seal-center small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lilac);
  letter-spacing: 0.04em;
}
.seal-center strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--white);
  line-height: 1.15;
}
.cred-list {
  list-style: none;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.cred {
  padding: 0.35rem clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--petrol-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cred .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(217, 205, 234, 0.45);
  display: grid;
  place-items: center;
  color: var(--lilac);
}
.cred .ico svg {
  width: 19px;
  height: 19px;
}
.cred .k {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lilac);
  margin-bottom: 0.2rem;
}
.cred .v {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.3;
  color: var(--white);
}
.cred .v span {
  display: block;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #a9bdba;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Estrutura de seção */
section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
h2 {
  font-family: var(--serif);
  color: var(--petrol);
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
.sec-head p {
  margin: 0;
  max-width: 27rem;
  color: var(--muted);
}

/* Sobre */
#sobre {
  position: relative;
  overflow: hidden;
}
#sobre::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(9rem, 16vw, 12rem);
  width: min(900px, 120vw);
  aspect-ratio: 2/1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 205, 234, 0.6), rgba(217, 205, 234, 0));
  pointer-events: none;
}
.about-head {
  justify-content: center;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.about-quote {
  position: relative;
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0 0;
}
.about-quote .qmark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 0.6;
  height: 0.42em;
  color: var(--violet);
  opacity: 0.35;
}
.about-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.3vw, 2.55rem);
  line-height: 1.32;
  color: var(--petrol);
  letter-spacing: -0.005em;
}
.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.signature::before,
.signature::after {
  content: "";
  width: clamp(28px, 6vw, 56px);
  height: 1px;
  background: var(--violet);
  opacity: 0.45;
}
.signature span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.signature strong {
  font-weight: 600;
  color: var(--violet);
  font-size: 1rem;
}
.signature small {
  font-size: 0.9rem;
  color: var(--muted);
}
.ornament {
  display: block;
  width: 120px;
  margin: clamp(2.75rem, 5vw, 3.75rem) auto;
  color: var(--violet);
  opacity: 0.6;
}

.about-body {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}
.about-body p {
  margin: 0 0 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}
.about-body .intro::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.1em;
  line-height: 0.82;
  margin: 0.32rem 0.6rem 0 0;
  color: var(--violet);
}

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 62rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  border-top: 1px solid rgba(22, 54, 58, 0.14);
  border-bottom: 1px solid rgba(22, 54, 58, 0.14);
}
.pillar {
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}
.pillar + .pillar {
  border-left: 1px solid rgba(22, 54, 58, 0.14);
}
.pillar .p-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(110, 79, 158, 0.4);
  display: grid;
  place-items: center;
  color: var(--violet);
  background: rgba(251, 252, 250, 0.6);
}
.pillar svg {
  width: 22px;
  height: 22px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
  color: var(--petrol);
}
.pillar p {
  margin: 0 auto;
  max-width: 15rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 860px) {
  .about-body {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid rgba(22, 54, 58, 0.14);
  }
}

/* Formação */
#formacao {
  background: var(--white);
}
.edu {
  list-style: none;
  margin: clamp(1rem, 3vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.edu::before,
.edu::after {
  content: "";
  position: absolute;
  top: 7px;
  height: 1px;
}
.edu::before {
  left: 0;
  width: 50%;
  background: var(--petrol);
  opacity: 0.55;
}
.edu::after {
  left: 50%;
  right: 0;
  background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 12px);
  opacity: 0.55;
  -webkit-mask: linear-gradient(90deg, #000 60%, transparent);
  mask: linear-gradient(90deg, #000 60%, transparent);
}
.edu-item {
  position: relative;
  padding: 2.75rem clamp(1.5rem, 4vw, 3.5rem) 0 0;
}
.edu-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--white);
}
.done .edu-node {
  background: var(--petrol);
}
.going .edu-node {
  background: var(--white);
  border: 1.5px solid var(--violet);
}
.going .edu-node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--violet);
  opacity: 0;
  animation: halo 2.6s ease-out infinite;
}
@keyframes halo {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.edu-year {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.done .edu-year {
  color: var(--petrol);
}
.going .edu-year {
  color: var(--violet);
}
.edu-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  color: var(--petrol);
  margin: 0 0 0.35rem;
  max-width: 22rem;
}
.edu-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.edu-status {
  display: flex;
  max-width: 24rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid var(--mist);
  font-size: 0.97rem !important;
  font-weight: 500;
}
.edu-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.done .edu-status {
  color: var(--petrol) !important;
}
.going .edu-status {
  color: var(--violet) !important;
}
@media (max-width: 700px) {
  .edu {
    grid-template-columns: 1fr;
  }
  .edu::before,
  .edu::after {
    top: 0;
    left: 7px;
    width: 1px;
    height: auto;
    right: auto;
  }
  .edu::before {
    top: 1rem;
    bottom: 50%;
  }
  .edu::after {
    top: 50%;
    bottom: 0;
    background: repeating-linear-gradient(180deg, var(--violet) 0 6px, transparent 6px 12px);
    -webkit-mask: linear-gradient(180deg, #000 60%, transparent);
    mask: linear-gradient(180deg, #000 60%, transparent);
  }
  .edu-item {
    padding: 0 0 3rem 2.6rem;
  }
  .edu-item:last-child {
    padding-bottom: 0;
  }
  .edu-node {
    top: 0.55rem;
  }
}

/* Contato */
#contato {
  background: var(--petrol);
  color: var(--sage);
  position: relative;
  overflow: hidden;
}
#contato::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 70px solid rgba(217, 205, 234, 0.07);
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
}
#contato h2 {
  color: var(--white);
}
#contato .intro {
  color: var(--lilac);
  max-width: 24rem;
  margin: 1rem 0 2rem;
}
.therapy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--petrol-soft);
  max-width: 24rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}
.therapy-link small {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--lilac);
  margin-bottom: 0.2rem;
}
.therapy-link svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--lilac);
  transition: transform 0.2s;
}
.therapy-link:hover svg {
  transform: translateX(4px);
}
.contact-cards {
  display: grid;
  gap: 0.9rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--petrol-soft);
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
a.contact-card:hover {
  background: rgba(217, 205, 234, 0.12);
  border-color: var(--lilac);
}
.contact-card .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--petrol);
  display: grid;
  place-items: center;
}
.contact-card .ico svg {
  width: 20px;
  height: 20px;
}
.contact-card .label {
  display: block;
  font-size: 0.92rem;
  color: var(--lilac);
  font-weight: 500;
}
.contact-card .value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--white);
  line-height: 1.25;
  word-break: break-word;
}
#contato .btn-primary {
  background: var(--lilac);
  color: var(--petrol);
}
#contato .btn-primary:hover {
  background: var(--white);
}
#contato :focus-visible {
  outline-color: var(--lilac);
}

footer {
  background: var(--petrol);
  color: #a9bdba;
  font-size: 0.92rem;
  border-top: 1px solid var(--petrol-soft);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}

/* Responsivo */
@media (max-width: 960px) {
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
  }
  .portrait {
    justify-self: center;
    width: min(100%, 330px);
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
  .creds {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
@media (max-width: 700px) {
  .cred-list {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .cred {
    border-left: 0;
    border-top: 1px solid var(--petrol-soft);
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
  }
  .cred .ico {
    flex: none;
  }
}
@media (max-width: 640px) {
  .float-card {
    left: -0.75rem;
    bottom: 16%;
  }
  .actions .text-link {
    align-self: center;
    margin: 0 auto;
  }
  .nav ul li:not(:last-child) {
    display: none;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .blot .half,
  .float-card,
  .going .edu-node::after {
    animation: none;
  }
}
