/* ============================================================
   @dudardesign — base visual compartilhada por todas as páginas
   ============================================================ */

@font-face { font-family: "Awesome"; src: url("../fonts/awesome-light-xt.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Awesome"; src: url("../fonts/awesome-semibold-xt.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Awesome"; src: url("../fonts/awesome-italic-light-xt.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Awesome"; src: url("../fonts/awesome-italic-xt.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Proxima"; src: url("../fonts/proxima-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Proxima"; src: url("../fonts/proxima-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Proxima"; src: url("../fonts/proxima-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Apple"; src: url("../fonts/homemade-apple.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --rosa: #d1899d;
  --rosa-claro: #f5cbd7;
  --bege: #fff7ec;
  --bege-2: #f5ece0;
  --marrom: #442f2a;
  --marrom-70: rgba(68, 47, 42, .72);
  --marrom-40: rgba(68, 47, 42, .4);
  --marrom-15: rgba(68, 47, 42, .14);
  --branco: #fffdf9;

  --serif: "Awesome", "Times New Roman", serif;
  --sans: "Proxima", "Proxima Nova", system-ui, sans-serif;
  --hand: "Apple", cursive;

  --ease: cubic-bezier(.22, .9, .25, 1);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bege);
  color: var(--marrom);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--rosa-claro); color: var(--marrom); }

/* textura dos posts — modo "sobrepor" a 36% */
.texture::after {
  content: "";
  position: fixed; inset: 0;
  background: url("../img/textura.webp") repeat;
  background-size: 900px auto;
  mix-blend-mode: overlay;
  opacity: .36;
  pointer-events: none;
  z-index: 9000;
}

/* ---------- tipografia ---------- */
.serif { font-family: var(--serif); font-weight: 300; line-height: .86; letter-spacing: -.005em; }
.serif em, em.serif, .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rosa); }
.hand { font-family: var(--hand); color: var(--rosa); font-weight: 400; line-height: 1.6; padding-inline: .35em; overflow: visible; }
.hand.dark { color: var(--marrom); }
.caps { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; }
.caps .light { font-weight: 400; }
.hl { background: var(--rosa-claro); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-dark { background: var(--marrom); color: var(--bege); padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.muted { color: var(--marrom-70); }
strong, b { font-weight: 600; }
/* retângulo atrás de palavras (desenha quando aparece) */
.mark { font-weight: 600; background-image: linear-gradient(var(--rosa-claro), var(--rosa-claro)); background-repeat: no-repeat; background-position: 0 78%; background-size: 0% 62%; padding: 0 .1em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.3s var(--ease) .45s; }
.in .mark, .mark.in, .in.mark { background-size: 100% 62%; }
.on-dark .mark { background-image: linear-gradient(rgba(245,203,215,.28), rgba(245,203,215,.28)); }
@media (prefers-reduced-motion: reduce) { .mark { background-size: 100% 62%; } }
/* palavras-chave em destaque */
.k { font-weight: 600; color: var(--rosa); }
.on-dark .k, .k.light { color: var(--rosa-claro); }

h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.t-hero { font-size: clamp(64px, 13vw, 168px); }
.t-xl { font-size: clamp(54px, 9vw, 120px); }
.t-lg { font-size: clamp(44px, 6.4vw, 84px); }
.t-md { font-size: clamp(34px, 4.4vw, 56px); }

/* assinatura do rodapé, igual aos posts */
.signature { text-transform: uppercase; letter-spacing: .24em; font-size: 11px; font-weight: 600; text-align: center; }
.signature span { font-weight: 400; }

/* ---------- elementos da identidade ---------- */
.wrap { width: min(1060px, 100% - 40px); margin-inline: auto; }
.wrap-sm { width: min(760px, 100% - 32px); margin-inline: auto; }

/* abas de pasta (referência do slide "mineira / designer / curiosa") */
.tab {
  --tc: var(--rosa-claro);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 26px 12px;
  background: var(--tc);
  border-radius: 18px 18px 0 0;
  position: relative;
  font-family: var(--hand); color: var(--marrom); font-size: 15px;
}
.tab::before, .tab::after { content: ""; position: absolute; bottom: 0; width: 18px; height: 18px; }
.tab::before { left: -18px; background: radial-gradient(circle at 0 0, transparent 17.5px, var(--tc) 18px); }
.tab::after { right: -18px; background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--tc) 18px); }
.tab.marrom { --tc: var(--marrom); color: var(--bege); }
.tab.bege { --tc: var(--bege-2); }
.tab.rosa { --tc: var(--rosa); color: var(--branco); }

/* selo (forma do png de moldura) */
.badge-shape { background: url("../img/moldura-selo.webp") center / 100% 100% no-repeat; }

/* pílulas de estrela */
.star-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  background: #f4a5b9; color: var(--branco);
  border-radius: 999px; padding: 8px 26px; font-size: 18px; line-height: 1;
}
.star-pill i { font-style: normal; }

/* checkbox do slide 1 */
.checks { list-style: none; margin: 0; padding: 0; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; line-height: 1.25; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.checks li::before {
  content: "✓"; flex: none; width: 17px; height: 17px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 4px;
  background: var(--rosa-claro); color: var(--rosa); font-size: 12px; font-weight: 700;
}

/* fotos dentro das molduras png (posições medidas na janela transparente de cada png) */
.polaroid { position: relative; aspect-ratio: 1000 / 1375; }
.polaroid .ph { position: absolute; left: 8.1%; top: 22.6%; width: 84.4%; height: 58.6%; background: center 22% / cover no-repeat var(--bege-2); transform: rotate(2.64deg); }
.polaroid > img.frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.polaroid .cap { position: absolute; left: 10%; right: 10%; bottom: 7%; text-align: center; font-family: var(--hand); color: var(--marrom); font-size: clamp(11px, 2vw, 16px); transform: rotate(2.6deg); padding: 0 .3em; }

.clipframe { position: relative; aspect-ratio: 900 / 1895; }
.clipframe .ph { position: absolute; width: 65.5%; height: 32%; background: center / cover no-repeat var(--bege-2); transform: rotate(-7.2deg); }
.clipframe .ph.a { left: 12.25%; top: 24.1%; }
.clipframe .ph.b { left: 21.75%; top: 62.2%; }
.clipframe > img.frame { position: absolute; inset: 0; width: 100%; height: 100%; }

/* espaço para arte que ainda vai chegar */
.ph.empty, .art-slot {
  display: grid; place-items: center; text-align: center;
  background-color: var(--bege-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(209,137,157,.08) 14px 28px);
  color: var(--rosa); font-family: var(--hand); font-size: 14px;
}

/* faixa que corre */
.marquee { overflow: hidden; white-space: nowrap; background: var(--marrom); color: var(--bege); padding: 12px 0; }
.marquee.rosa { background: var(--rosa); color: var(--branco); }
.marquee.claro { background: var(--rosa-claro); color: var(--marrom); }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee__track span { padding: 0 22px; font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 300; }
.marquee__track span.it { color: inherit; }
.marquee__track b { font-family: var(--hand); font-weight: 400; font-size: 16px; color: var(--rosa-claro); align-self: center; }
.marquee.rosa .marquee__track b, .marquee.claro .marquee__track b { color: var(--marrom); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid var(--marrom);
  background: var(--marrom); color: var(--bege); text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: .04em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(209,137,157,.7); background: var(--rosa); border-color: var(--rosa); color: var(--branco); }
.btn.ghost { background: transparent; color: var(--marrom); }
.btn.ghost:hover { background: var(--rosa); border-color: var(--rosa); color: var(--branco); }
.btn.rosa { background: var(--rosa); border-color: var(--rosa); color: var(--branco); }
.btn.rosa:hover { background: #c17387; border-color: #c17387; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* ---------- movimento ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; vertical-align: top; }
.split .w > span { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.split.in .w > span { opacity: 1; transform: none; filter: none; }
.typing::after { content: "|"; margin-left: 2px; animation: blink 1s steps(1) infinite; color: var(--rosa); font-family: var(--sans); }
@keyframes blink { 50% { opacity: 0; } }

.float { animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 2deg)); } }
.swing { transform-origin: 50% 3%; animation: swing 5.5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.spin-slow { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.draw path { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.draw.in path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; filter: none; }
}

/* ícones redondos (instagram, behance, pinterest, whatsapp) */
.ico { width: 44px; height: 44px; flex: none; display: inline-block; }
.ico circle { fill: var(--marrom); }
.ico .g { fill: var(--bege); }
.ico .gs { fill: none; stroke: var(--bege); }
a:hover .ico circle { fill: var(--rosa); }
.ico circle { transition: fill .3s; }

/* assinatura manuscrita: "por Duda Rocha" */
.assinatura { display: inline-flex; align-items: baseline; gap: .35em; font-family: var(--hand); color: var(--marrom); line-height: 1.6; white-space: nowrap; }
.assinatura i { font-family: var(--sans); font-style: italic; font-weight: 600; font-size: .38em; letter-spacing: .04em; color: var(--marrom-70); }
.assinatura .d { color: var(--rosa); }
.on-dark .assinatura, .pg.dark .assinatura { color: var(--bege); }
.pg.dark .assinatura i { color: rgba(255,247,236,.7); }
.pg.dark .assinatura .d { color: var(--rosa-claro); }

/* elementos de colagem (pngs recoloridos) */
.el { position: absolute; pointer-events: none; z-index: 3; filter: drop-shadow(0 6px 8px rgba(68,47,42,.18)); }
.el.flat { filter: none; }

/* balões flutuantes das redes */
.fab { position: fixed; right: 36px; bottom: 44px; z-index: 8000; display: flex; flex-direction: column; gap: 14px; transition: opacity .4s, transform .4s; }
.fab a { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--marrom); box-shadow: 0 14px 24px -10px rgba(68,47,42,.55); transition: background .3s, box-shadow .3s; animation: fabIn .7s var(--ease) both, fabFloat 3.6s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .8s); }
.fab a:hover { background: var(--rosa); box-shadow: 0 18px 30px -10px rgba(209,137,157,.7); animation-play-state: paused; }
.fab a.wa { background: var(--rosa); }
.fab a.wa:hover { background: var(--marrom); }
.fab a.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(209,137,157,.6); animation: pulse 2.4s ease-out infinite; }
.fab svg { width: 20px; height: 20px; fill: var(--bege); }
.fab a span { position: absolute; right: 56px; background: var(--marrom); color: var(--bege); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.fab a:hover span { opacity: 1; transform: none; }
.fab.hide { opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .4s, transform .4s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes fabFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -9px; rotate: -4deg; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(209,137,157,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(209,137,157,0); } }
@media (max-width: 600px) { .fab { right: 10px; bottom: 16px; gap: 8px; } .fab a { width: 40px; height: 40px; } .fab svg { width: 18px; height: 18px; } }
