/* Letícia Silva — Refinamento editorial da capa e do cabeçalho.
   2026-10-22 · Rosé Smoke Neutra + Nocturne, sem interferir em cards/cases.
   Carregado após a tipografia e as demais camadas do portfólio público. */

/* Marca pessoal sem monograma/cápsula: a assinatura é a própria tipografia. */
html body:not(.admin-body) .nav .brand {
  gap: 0 !important;
  color: var(--theme-text) !important;
  flex-shrink: 0;
  text-decoration: none;
}
html body:not(.admin-body) .nav .brand > span:not(.brand-mark) {
  font-family: var(--font-signature, "DM Serif Display", Georgia, serif) !important;
  font-weight: 400 !important;
  font-size: clamp(20px, 1.5vw, 23px) !important;
  line-height: 1.1;
  letter-spacing: -.035em !important;
}
html body:not(.admin-body) .nav .brand:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--theme-accent);
  outline-offset: 6px;
}

/* Seletor minimalista com ícones de sol e lua e entrada original data-theme-toggle. */
html body:not(.admin-body) .theme-switch {
  display: inline-flex !important;
  align-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  --toggle-size: 1px;
}
html body:not(.admin-body) .theme-switch .theme-switch__container {
  position: relative;
  display: block;
  width: 66px !important;
  height: 36px !important;
  font-size: 16px !important;
  border: 1px solid var(--theme-border-strong) !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: var(--theme-surface-strong) !important;
  box-shadow: 0 4px 14px rgba(45, 42, 48, .07) !important;
  transition: background-color .2s ease, border-color .2s ease !important;
}
html body:not(.admin-body) .theme-switch .theme-switch__container::before {
  content: none !important;
  display: none !important;
}
html body:not(.admin-body) .theme-switch .theme-switch__minimal-icon {
  position: absolute;
  top: 9px;
  width: 16px;
  height: 16px;
  z-index: 2;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
html body:not(.admin-body) .theme-switch .theme-switch__minimal-icon--sun {
  left: 10px;
  color: var(--theme-text);
}
html body:not(.admin-body) .theme-switch .theme-switch__minimal-icon--moon {
  right: 10px;
  color: var(--theme-text-soft);
}
html body:not(.admin-body) .theme-switch .theme-switch__minimal-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface-muted);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(45,42,48,.10);
  transition: transform .22s ease, background-color .22s ease;
  pointer-events: none;
}
html[data-theme="dark"] body:not(.admin-body) .theme-switch .theme-switch__minimal-thumb {
  background: #58485A;
  border-color: rgba(233,223,216,.25);
}
html body:not(.admin-body) .theme-switch .theme-switch__checkbox:checked + .theme-switch__container {
  background: var(--theme-surface-strong) !important;
}
html body:not(.admin-body) .theme-switch .theme-switch__checkbox:checked + .theme-switch__container .theme-switch__minimal-thumb {
  transform: translateX(30px);
}
html body:not(.admin-body) .theme-switch .theme-switch__checkbox:focus-visible + .theme-switch__container {
  outline: 2px solid var(--theme-accent) !important;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html body:not(.admin-body) .theme-switch .theme-switch__minimal-thumb { transition: none; }
}

/* HERO — mais presença para a assinatura, sem comprometer o texto móvel.
   Fotografia original, recorte, etiquetas e animação do nome preservados. */
html body.single-page-portfolio .portfolio-cinematic-hero {
  --hero-editorial-accent: var(--theme-accent);
}
html body.single-page-portfolio .portfolio-cinematic-hero__copy {
  max-width: 720px;
}
html body.single-page-portfolio #home-hero-title {
  font-size: clamp(55px, 5.25vw, 86px) !important;
  letter-spacing: -.046em !important;
  line-height: 1.04 !important;
  max-width: 100% !important;
  margin-bottom: 28px;
  text-wrap: balance;
}
/* Especialidades em linha, em vez de pílulas grandes: ícones e divisores finos. */
html body.single-page-portfolio .portfolio-cinematic-hero__capabilities {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0 0 !important;
  max-width: 100%;
  margin: 0 0 23px !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__capability {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 7px !important;
  flex: 0 0 auto;
  min-height: 31px !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 4px 14px 4px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 600 13px/1.4 var(--font-ui,Manrope,sans-serif) !important;
  letter-spacing: -.015em;
  color: var(--theme-text-soft) !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__capability + .portfolio-cinematic-hero__capability {
  padding-left: 14px !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__capability:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  width: 1px;
  height: 17px;
  top: calc(50% - 8.5px);
  background: var(--theme-border-strong);
}
html body.single-page-portfolio .portfolio-cinematic-hero__capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px !important;
  width: 17px !important;
  height: 17px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hero-editorial-accent) !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__capability-icon .tabler-icon {
  width: 16px !important;
  height: 16px !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__description {
  max-width: 595px;
  font-size: 16px;
  line-height: 1.8;
}
html body.single-page-portfolio .portfolio-cinematic-hero__actions {
  margin-top: 27px;
  margin-bottom: 28px;
}
/* Assinatura editorial: traço malva substitui ícone de alvo. */
html body.single-page-portfolio .portfolio-cinematic-hero__footnote {
  gap: 12px !important;
  color: var(--theme-text) !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__footnote::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--theme-accent);
  flex: 0 0 28px;
}
/* Moldura única, fotografia mais leve e órbitas discretas.
   Alterações de cor específicas para claro/escuro, sem apagar elementos. */
html body.single-page-portfolio .portfolio-cinematic-hero__portrait-frame {
  padding: 6px !important;
  border-radius: 30px !important;
  border-width: 1px !important;
  border-color: var(--theme-border-strong) !important;
  background: var(--theme-surface-strong) !important;
  box-shadow: 0 26px 58px rgba(45,42,48,.12) !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__photo-shell {
  border-radius: 24px !important;
}
html:not([data-theme="dark"]) body.single-page-portfolio .portfolio-cinematic-hero {
  background: linear-gradient(145deg,#F6F5F4 0%,#F4F1F2 65%,#E8E2E1 100%) !important;
}
html:not([data-theme="dark"]) body.single-page-portfolio .portfolio-cinematic-hero__atmosphere {
  background:
    radial-gradient(ellipse 64% 63% at 0% 1%,rgba(134,94,114,.085),transparent 75%),
    radial-gradient(ellipse 55% 53% at 100% 100%,rgba(162,138,148,.095),transparent 79%),
    linear-gradient(145deg,#F6F5F4 0%,#F4F1F2 65%,#E8E2E1 100%) !important;
}
html:not([data-theme="dark"]) body.single-page-portfolio .portfolio-cinematic-hero__orbits {
  --hero-orbit-stroke: rgba(88,75,85,.145);
  --hero-orbit-dot: rgba(134,94,114,.32);
}
html[data-theme="dark"] body.single-page-portfolio .portfolio-cinematic-hero__orbits {
  --hero-orbit-stroke: rgba(233,223,216,.17);
  --hero-orbit-dot: rgba(214,168,191,.35);
}
html[data-theme="dark"] body.single-page-portfolio .portfolio-cinematic-hero__portrait-frame {
  background: #352F39 !important;
  border-color: rgba(233,223,216,.24) !important;
  box-shadow: 0 28px 65px rgba(15,11,17,.33) !important;
}
html body.single-page-portfolio .portfolio-cinematic-hero__float {
  box-shadow: 0 12px 30px rgba(45,42,48,.10);
}
/* Convite inferior alinhado ao eixo editorial da coluna. */
html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint {
  left: max(40px,calc((100% - 1100px)/2)) !important;
  bottom: 22px;
  font-size: 12px !important;
  letter-spacing: .075em !important;
  opacity: .68;
}
html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint:hover,
html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint:focus-visible {
  opacity: 1;
}
@media (max-width: 1120px) {
  html body.single-page-portfolio #home-hero-title {
    font-size: clamp(49px, 5.6vw, 70px) !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint {
    left: 40px !important;
  }
}
@media (max-width: 900px) {
  html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint {
    position: relative;
    left: auto !important;
    bottom: auto;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__copy {
    max-width: none;
  }
}
@media (max-width: 600px) {
  html body.single-page-portfolio #home-hero-title {
    font-size: clamp(37px, 9.2vw, 53px) !important;
    letter-spacing: -.04em !important;
    white-space: normal;
    overflow-wrap: normal;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__capabilities {
    display: flex !important;
    gap: 5px 8px !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__capability,
  html body.single-page-portfolio .portfolio-cinematic-hero__capability + .portfolio-cinematic-hero__capability {
    padding: 3px 0 !important;
    margin-right: 10px !important;
    font-size: 12px !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__capability::after {
    display: none !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__portrait-frame {
    padding: 5px !important;
    border-radius: 24px !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__footnote {
    gap: 9px !important;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__footnote::before {
    flex-basis: 20px;
    width: 20px;
  }
  html body.single-page-portfolio .portfolio-cinematic-hero__scroll-hint {
    margin-inline: 20px;
  }
}

/* Faixa editorial Brand Edition — tecnologia real, apresentada com elegância.
   Marquee contínuo mantém TODOS os termos originais da home-tech-ribbon. */
html body.home-page-v2 .home-editorial-ribbon {
  position: relative;
  z-index: 4;
  width: 100%;
  overflow: hidden;
  background: #E8E2E1;
  border-top: 1px solid #C8C2C3;
  border-bottom: 1px solid #C8C2C3;
  color: #2D2A30;
}
html body.home-page-v2 .home-editorial-ribbon::before,
html body.home-page-v2 .home-editorial-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(18px, 5vw, 74px);
  z-index: 2;
  pointer-events: none;
}
html body.home-page-v2 .home-editorial-ribbon::before {
  left: 0;
  background: linear-gradient(90deg,#E8E2E1,transparent);
}
html body.home-page-v2 .home-editorial-ribbon::after {
  right: 0;
  background: linear-gradient(270deg,#E8E2E1,transparent);
}
html body.home-page-v2 .home-editorial-ribbon__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: homeEditorialTechMarquee 42s linear infinite;
  will-change: transform;
}
html body.home-page-v2 .home-editorial-ribbon:hover .home-editorial-ribbon__track {
  animation-play-state: paused;
}
html body.home-page-v2 .home-editorial-ribbon__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  gap: 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 15px 0 !important;
}
html body.home-page-v2 .home-editorial-ribbon__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(13px, 2vw, 27px);
  margin: 0 !important;
  padding: 0 clamp(13px, 2vw, 27px) 0 0 !important;
  color: #2D2A30 !important;
  font-family: var(--font-ui, "Manrope", system-ui, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
  white-space: nowrap;
}
html body.home-page-v2 .home-editorial-ribbon__item::after {
  content: "";
  display:block;
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:url("../assets/identity-flower-rose-soft.png") center / contain no-repeat;
  opacity:1;
}
@keyframes homeEditorialTechMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[data-theme="dark"] body.home-page-v2 .home-editorial-ribbon {
  background: #352F39;
  color: #F7F2F4;
  border-color: rgba(233,223,216,.18);
}
html[data-theme="dark"] body.home-page-v2 .home-editorial-ribbon::before {
  background: linear-gradient(90deg,#352F39,transparent);
}
html[data-theme="dark"] body.home-page-v2 .home-editorial-ribbon::after {
  background: linear-gradient(270deg,#352F39,transparent);
}
html[data-theme="dark"] body.home-page-v2 .home-editorial-ribbon__item {
  color: #F7F2F4 !important;
}
@media (max-width: 640px) {
  html body.home-page-v2 .home-editorial-ribbon__group { padding-block: 13px !important; }
  html body.home-page-v2 .home-editorial-ribbon__item {
    font-size: 11px !important;
    letter-spacing: .045em !important;
    gap: 16px;
    padding-right: 16px !important;
  }
  html body.home-page-v2 .home-editorial-ribbon__item::after {
    width:16px;
    height:16px;
    flex-basis:16px;
  }
  html body.home-page-v2 .home-editorial-ribbon__track {
    animation-duration: 48s;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.home-page-v2 .home-editorial-ribbon {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  html body.home-page-v2 .home-editorial-ribbon::before,
  html body.home-page-v2 .home-editorial-ribbon::after { display: none; }
  html body.home-page-v2 .home-editorial-ribbon__track {
    animation: none !important;
    will-change: auto;
  }
  html body.home-page-v2 .home-editorial-ribbon__group[aria-hidden="true"] { display: none; }
}


/* Home / Sobre mim: currículo ainda não publicado. Tooltip acessível para
   hover, teclado e toque (foco), sem link de download ativo por enquanto. */
html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable {
  position: relative;
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}
html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__button {
  cursor: not-allowed !important;
}
html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__button:focus-visible {
  outline: 2px solid var(--theme-accent, #865E72);
  outline-offset: 3px;
}
html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__tooltip {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 5px);
  width: max-content;
  max-width: min(260px, 85vw);
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid rgba(214, 168, 191, .3);
  background: #352F39;
  color: #F7F2F4;
  box-shadow: 0 10px 26px rgba(45, 42, 48, .12);
  font: 600 12px/1.4 var(--font-ui, "Manrope", sans-serif);
  letter-spacing: 0;
  white-space: normal;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable:is(:hover, :focus-within) .portfolio-resume-unavailable__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
html[data-theme="dark"] body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__tooltip {
  background: #E9DFE5;
  color: #2D2A30;
  border-color: rgba(134, 94, 114, .34);
}
@media (max-width: 640px) {
  html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable {
    width: 100%;
  }
  html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.home-page-v2.single-page-portfolio #sobre .portfolio-resume-unavailable__tooltip {
    transition: none;
  }
}

/* A mesma rosácea do favicon assina todos os cabeçalhos públicos. */
html body:not(.admin-body) .brand .brand-favicon {
  display:block;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 8px 20px rgba(53,35,45,.12);
  transition:transform 180ms var(--ls-motion-enter,cubic-bezier(.22,1,.36,1)),
    box-shadow 180ms var(--ls-motion-ease,cubic-bezier(.4,0,.2,1));
}
@media(hover:hover) and (pointer:fine) {
  html body:not(.admin-body) .brand:hover .brand-favicon {
    transform:translateY(-1px) scale(1.045);
    box-shadow:0 12px 26px rgba(53,35,45,.17);
  }
}
@media(max-width:640px) {
  html body:not(.admin-body) .brand .brand-favicon {
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body:not(.admin-body) .brand .brand-favicon { transition:none; }
}


