/* Hipótese C — "E por você?" · DC Psicologia */
:root {
  /* cor */
  --papel: #f6f2ec;
  --papel-2: #efe9e1;
  --jeans-1: #c9d4df;
  --jeans-2: #aebdcc;
  --cobre: #c07a4f;
  --cobre-texto: #a35f36;      /* cobre escurecido para texto miúdo (AA) */
  --tinta: #221d1a;
  --tinta-2: #3d3631;
  --cinza: #746d66;            /* linhas da lista */
  --fio: rgba(34, 29, 26, .14);
  --wa: #1f6b4f;

  /* tipo */
  --f-titulo: "Abril Fatface", "Times New Roman", serif;
  --f-texto: "Hind", system-ui, sans-serif;
  --t-titulo: clamp(3.4rem, 8.4vw, 8.6rem);
  --t-lista: clamp(1.02rem, 1.42vw, 1.36rem);
  --t-corpo: clamp(1.06rem, 1.28vw, 1.2rem);
  --t-mini: .82rem;

  /* espaço */
  --margem: clamp(1.25rem, 5vw, 5.5rem);
  --cab-h: clamp(3.6rem, 6vw, 4.8rem);
  --gap: clamp(1rem, 2.2vh, 1.6rem);

  /* tempo */
  --entra: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--f-texto);
  font-size: 18px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* granulado único, fixo */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- cabeçalho ---------- */
.cab {
  position: absolute; z-index: 20;
  top: 0; left: 0; right: 0;
  height: var(--cab-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--margem);
}
.cab-marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.cab-dc {
  font-family: var(--f-titulo);
  font-size: 1.35rem; line-height: 1;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--tinta);
  border-radius: 50%;
  letter-spacing: -.02em;
}
.cab-nome { font-weight: 600; font-size: .98rem; line-height: 1.15; display: flex; flex-direction: column; }
.cab-nome small { font-weight: 400; font-size: .78rem; color: var(--tinta-2); letter-spacing: .02em; }
.cab-nav { display: flex; gap: 2rem; align-items: center; font-size: .95rem; }
.cab-nav a { text-decoration: none; position: relative; }
.cab-nav a:not(.cab-wa)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--entra);
}
.cab-nav a:hover::after { transform: scaleX(1); }
.cab-wa {
  padding: .45rem 1rem; border: 1px solid var(--tinta); border-radius: 99px;
  font-weight: 500; transition: background .25s, color .25s;
}
.cab-wa:hover { background: var(--tinta); color: var(--papel); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: calc(var(--cab-h) + 1rem) var(--margem) 3.4rem;
  background: linear-gradient(180deg in oklab, var(--papel) 0%, var(--papel-2) 100%);
}

/* malha: manchas radiais grandes, sem filter */
.hero-malha { position: absolute; inset: -10%; z-index: -2; pointer-events: none; }
.hero-malha::before, .hero-malha::after {
  content: ""; position: absolute; inset: 0;
  will-change: transform;
}
.hero-malha::before {
  background:
    radial-gradient(closest-side in oklab, color-mix(in oklab, var(--jeans-1) 85%, transparent), transparent) 2% 4% / 62% 70% no-repeat,
    radial-gradient(closest-side in oklab, color-mix(in oklab, var(--jeans-2) 55%, transparent), transparent) 30% 104% / 58% 62% no-repeat;
  animation: respira-a 34s ease-in-out infinite alternate;
}
.hero-malha::after {
  background:
    radial-gradient(closest-side in oklab, color-mix(in oklab, #fbf8f3 90%, transparent), transparent) 56% 40% / 60% 80% no-repeat,
    radial-gradient(closest-side in oklab, color-mix(in oklab, var(--cobre) 9%, transparent), transparent) 48% 92% / 40% 36% no-repeat,
    radial-gradient(closest-side in oklab, color-mix(in oklab, var(--jeans-1) 45%, transparent), transparent) 104% 0% / 46% 50% no-repeat;
  animation: respira-b 41s ease-in-out infinite alternate;
}
@keyframes respira-a { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }
@keyframes respira-b { to { transform: translate3d(-3%, -2%, 0) scale(1.04); } }

/* retrato: fundo claro original integrado ao papel */
.hero-foto {
  position: absolute; z-index: -1;
  margin: 0;
  right: max(-2vw, calc(50vw - 46rem));
  bottom: 0;
  height: min(100%, 64rem);
  aspect-ratio: 1067 / 1600;
  pointer-events: none;
}
.hero-foto img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
  filter: brightness(1.075) contrast(1.02) saturate(.96);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 26%),
    linear-gradient(to top, transparent 0%, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 26%),
    linear-gradient(to top, transparent 0%, #000 12%);
  mask-composite: intersect;
  animation: foto-entra 1.6s var(--entra) .05s both;
}
@keyframes foto-entra {
  from { opacity: 0; transform: translateX(2.5%) scale(1.02); }
  to   { opacity: 1; transform: none; }
}
.hero-foto figcaption {
  position: absolute;
  right: 1.4rem; top: calc(var(--cab-h) + 2.2rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--t-mini); letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--tinta-2);
  display: flex; gap: .9rem;
}
.hero-foto figcaption span { font-weight: 400; color: var(--cinza); }

/* texto */
.hero-texto {
  position: relative;
  max-width: min(50rem, 58vw);
  display: flex; flex-direction: column;
  gap: var(--gap);
}
.hero-rubrica {
  margin: 0;
  display: flex; gap: 1.1rem; align-items: center;
  font-size: var(--t-mini); letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; color: var(--tinta-2);
}
.hero-rubrica span + span::before {
  content: ""; display: inline-block; width: 2.2rem; height: 1px;
  background: var(--cobre); vertical-align: middle; margin-right: 1.1rem;
}

/* a lista: linhas finas, cinza, em cascata */
.lista { margin-top: .4rem; }
.lista-se {
  margin: 0 0 .3rem;
  font-size: var(--t-lista); font-weight: 300; color: var(--cinza);
  animation: linha-entra .5s var(--entra) .25s both;
}
.lista ul { list-style: none; margin: 0; padding: 0; max-width: 30rem; }
.lista li {
  font-size: var(--t-lista);
  font-weight: 300;
  line-height: 1.25;
  padding: .42em 0 .36em;
  border-bottom: 1px solid var(--fio);
  color: var(--cinza);
  display: flex; justify-content: space-between; gap: 1rem;
  animation:
    linha-entra .55s var(--entra) calc(.38s + var(--i) * .12s) both,
    linha-acomoda .9s ease calc(1.0s + var(--i) * .05s) both;
}
.lista li em { font-style: normal; font-weight: 300; color: color-mix(in oklab, var(--cinza) 70%, var(--papel)); white-space: nowrap; }
.lista-fim { display: none; }
@keyframes linha-entra {
  from { opacity: 0; transform: translateY(-.7em); }
  to   { opacity: 1; transform: none; }
}
@keyframes linha-acomoda {
  from { color: var(--tinta-2); letter-spacing: .012em; }
  to   { color: var(--cinza); letter-spacing: 0; }
}

/* o título verdadeiro */
.grande {
  margin: .2em 0 0;
  font-family: var(--f-titulo);
  font-weight: 400;
  font-size: var(--t-titulo);
  line-height: .92;
  letter-spacing: -.012em;
  color: var(--tinta);
  white-space: nowrap;
  animation: titulo-entra 1.1s var(--entra) 1.05s both;
}
.interroga {
  display: inline-block;
  color: var(--cobre);
  margin-left: .02em;
  transform-origin: 50% 85%;
  animation: interroga-entra .9s var(--entra) 1.75s both;
}
@keyframes titulo-entra {
  from { opacity: 0; transform: translateY(.18em); letter-spacing: .03em; }
  to   { opacity: 1; transform: none; letter-spacing: -.012em; }
}
@keyframes interroga-entra {
  0%   { opacity: 0; transform: translateY(.2em) rotate(14deg); }
  60%  { opacity: 1; transform: translateY(-.04em) rotate(-4deg); }
  100% { opacity: 1; transform: none; }
}

.hero-apoio {
  margin: 0;
  max-width: 33rem;
  font-size: var(--t-corpo);
  line-height: 1.55;
  color: var(--tinta-2);
  animation: linha-entra .8s var(--entra) 1.6s both;
}
.hero-apoio strong { color: var(--tinta); font-weight: 600; }
.hero-apoio b { font-weight: 500; color: var(--cobre-texto); }

.hero-acoes {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem;
  margin-top: .3rem;
  animation: linha-entra .8s var(--entra) 1.8s both;
}
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  min-height: 3.4rem;
  padding: .8rem 1.6rem .7rem;
  border-radius: 99px;
  background: var(--tinta); color: var(--papel);
  font-weight: 500; font-size: 1.06rem; text-decoration: none;
  box-shadow: 0 10px 28px -14px rgba(34, 29, 26, .55);
  transition: transform .3s var(--entra), background .3s;
}
.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; margin-top: -.1rem; }
.btn:hover { transform: translateY(-2px); background: var(--wa); }
.btn-sec {
  font-weight: 500; font-size: 1.02rem; text-decoration: none;
  padding: .3rem 0; border-bottom: 1px solid var(--cobre);
}
.btn-sec span { display: inline-block; transition: transform .3s var(--entra); }
.btn-sec:hover span { transform: translateX(4px); }
a:focus-visible { outline: 2px solid var(--cobre); outline-offset: 4px; border-radius: 4px; }

.hero-prova {
  margin: .1rem 0 0;
  display: flex; align-items: center; gap: .7rem;
  font-size: .98rem; color: var(--tinta-2);
  animation: linha-entra .8s var(--entra) 2s both;
}
.estrelas { color: var(--cobre); letter-spacing: .12em; font-size: .9rem; }
.hero-prova strong { font-weight: 600; color: var(--tinta); }

.hero-rodape {
  position: absolute; left: var(--margem); bottom: 1.2rem;
  margin: 0; display: flex; gap: 1.4rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cinza);
}
.hero-rodape span + span::before { content: "·"; margin-right: 1.4rem; }

/* ---------- notebook baixo ---------- */
@media (min-width: 821px) and (max-height: 760px) {
  :root { --t-titulo: clamp(3.2rem, 7.4vw, 7rem); --gap: .8rem; }
  .lista li { padding: .3em 0 .26em; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .hero-texto { max-width: 60vw; }
  .lista li em { display: none; }
  .lista-fim { display: block; }
}

/* ---------- celular e tablet em pé ---------- */
@media (max-width: 820px) {
  :root {
    --t-titulo: min(16.2vw, 6.6rem);
    --t-lista: clamp(.86rem, 3.7vw, 1.15rem);
    --t-corpo: clamp(1rem, 4.3vw, 1.15rem);
    --cab-h: 3.6rem;
    --gap: .85rem;
  }
  .cab-nav a:not(.cab-wa) { display: none; }
  .cab-nome small { font-size: .72rem; }
  .cab-dc { width: 2.1rem; height: 2.1rem; font-size: 1.15rem; }
  .cab-wa { font-size: .85rem; padding: .35rem .8rem; }

  .hero {
    align-items: start;
    padding: calc(var(--cab-h) + .6rem) var(--margem) 1.6rem;
  }
  .hero-foto {
    top: 0; bottom: auto;
    right: -22vw;
    height: auto;
    width: 122vw;
    max-width: 52rem;
    aspect-ratio: 1067 / 1130;
  }
  .hero-foto img {
    object-position: 50% 0%;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 22%),
      linear-gradient(to top, transparent 0%, transparent 10%, #000 44%),
      linear-gradient(to bottom, transparent 0%, #000 9%);
    -webkit-mask-composite: source-in, source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 22%),
      linear-gradient(to top, transparent 0%, transparent 10%, #000 44%),
      linear-gradient(to bottom, transparent 0%, #000 9%);
    mask-composite: intersect;
  }
  .hero-foto figcaption { display: none; }

  .hero-texto { max-width: none; gap: var(--gap); }
  .hero-rubrica { font-size: .68rem; letter-spacing: .16em; gap: .6rem; flex-direction: column; align-items: flex-start; }
  .hero-rubrica span + span::before { display: none; }

  .lista { max-width: 38vw; margin-top: 0; }
  .lista li { padding: .3em 0 .26em; display: block; }
  .lista li em { display: none; }
  .lista-fim { display: block; }

  /* o título vem abaixo do rosto, sobre o branco da camisa que esmaece */
  .grande {
    margin-top: var(--titulo-y, 36vw);
    white-space: nowrap;
    letter-spacing: -.02em;
  }
  .hero-apoio { max-width: 36rem; }
  .hero-apoio .longo { display: none; }
  .hero-acoes { gap: .6rem 1.2rem; margin-top: .1rem; }
  .btn { min-height: 3.2rem; padding: .7rem 1.3rem .62rem; font-size: 1rem; }
  .hero-prova { font-size: .9rem; }
  .hero-rodape { display: none; }
}
@media (min-width: 560px) and (max-width: 820px) {
  .hero-foto { right: -8vw; width: 86vw; }
  .lista { max-width: 34vw; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
.lista-fim {
  margin: .35rem 0 0; font-size: var(--t-lista); font-weight: 300;
  color: color-mix(in oklab, var(--cinza) 75%, var(--papel));
  animation: linha-entra .5s var(--entra) .95s both;
}
