/* margaridamartinez.pt — mesma paleta do site de treinos */
@font-face { font-family: 'Jakarta'; font-weight: 400; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 500; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 600; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 700; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair'; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair'; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair'; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair'; font-style: italic; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-italic.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --bg: #fff7fa; --bg2: #fdf0f5; --card: #fff; --card2: #fbe9f0;
  --line: #f4dfe8; --line2: #ecccd9;
  --tx: #3a2530; --tx2: #7d6270; --tx3: #ad94a1;
  --acc: #e84d8a; --acc-soft: rgba(232, 77, 138, .1);
  --shadow: 0 18px 50px rgba(190, 70, 120, .14);
  --soft: 0 1px 2px rgba(190, 70, 120, .05), 0 8px 24px rgba(190, 70, 120, .07);
  --sans: 'Jakarta', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: 'Playfair', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.6 var(--sans); word-spacing: .04em; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--acc); }
svg { width: 20px; height: 20px; flex: none; }
code { background: var(--card2); padding: 1px 7px; border-radius: 6px; font-size: .9em; }
::selection { background: var(--acc); color: #fff; }
.center { text-align: center; margin-top: 28px; }

/* ───── nav ───── */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 14px max(20px, calc((100% - 1160px) / 2)); background: rgba(255, 247, 250, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(190, 70, 120, .06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tx); }
.brand img { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 16px rgba(232, 77, 138, .3); }
.brand span { font: italic 700 22px var(--serif); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--tx2); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.links a:hover { background: var(--acc-soft); color: var(--acc); }
@media (max-width: 640px) { .links { display: none; } .nav .btn { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 99px; border: 1px solid var(--line2); background: #fff; color: var(--tx); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .2s; box-shadow: var(--soft); }
.btn:hover { transform: translateY(-2px); border-color: var(--acc); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 10px 24px rgba(232, 77, 138, .32); }
.btn.sm { padding: 8px 15px; font-size: 13px; }
.btn.sm svg { width: 16px; height: 16px; }

.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(32px, 5vw, 48px); }
h2 em { color: var(--acc); }

/* ───── hero ───── */
.hero { max-width: 1160px; margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: calc(100vh - 70px); }
.hero h1 { font-size: clamp(48px, 8vw, 92px); font-style: italic; }
.hero .tag { font: italic 600 clamp(19px, 2.4vw, 24px)/1.45 var(--serif); color: var(--tx2); margin: 18px 0 30px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mini { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; font-weight: 600; color: var(--tx2); }
.mini span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }

.scene { position: relative; aspect-ratio: 1 / 1.05; max-width: 540px; width: 100%; justify-self: center; border-radius: 44% 44% 40px 40px; overflow: hidden; background: linear-gradient(180deg, #ffd4e3 0%, #ffe0cc 52%, #ffeede 66%); box-shadow: var(--shadow); }
.sun { position: absolute; width: 46%; aspect-ratio: 1; left: 50%; top: 30%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #ffe39a, #f7a35c 70%); box-shadow: 0 0 80px 30px rgba(255, 190, 120, .45); animation: sun 8s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translateX(-50%) translateY(10px) scale(1.04); } }
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, #8cc8ee, #5aaee8); }
.sea span { position: absolute; left: -10%; right: -10%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .6); animation: wave 5s ease-in-out infinite alternate; }
.sea span:nth-child(1) { top: 14%; } .sea span:nth-child(2) { top: 38%; left: 10%; right: 30%; animation-delay: -2s; } .sea span:nth-child(3) { top: 62%; left: 40%; right: -20%; animation-delay: -4s; }
@keyframes wave { to { transform: translateX(30px); } }
.girl { position: absolute; height: 84%; width: auto; left: 50%; bottom: 3%; transform: translateX(-56%); filter: drop-shadow(0 12px 18px rgba(120, 40, 80, .15)); animation: bob 5s ease-in-out infinite; transform-origin: bottom; }
@keyframes bob { 50% { transform: translateX(-56%) translateY(-6px); } }
.cat { position: absolute; width: 22%; right: 9%; bottom: 3%; animation: bob2 4s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(-4px) rotate(-2deg); } }
.palm { position: absolute; width: 30%; height: auto; left: -2%; bottom: 20%; transform-origin: bottom center; animation: sway 6s ease-in-out infinite alternate; }
@keyframes sway { to { transform: rotate(3deg); } }
.birds { position: absolute; width: 22%; height: auto; right: 12%; top: 14%; opacity: .7; animation: fly 9s ease-in-out infinite alternate; }
@keyframes fly { to { transform: translate(-30px, 8px); } }
.spark, .heart { position: absolute; fill: #fff; animation: twinkle 3s ease-in-out infinite; }
.spark.s1 { width: 26px; height: 26px; left: 18%; top: 18%; }
.spark.s2 { width: 16px; height: 16px; right: 26%; top: 40%; animation-delay: -1.5s; }
.heart { fill: var(--acc); }
.heart.h1 { width: 22px; height: 22px; right: 18%; top: 28%; animation-delay: -.8s; }
.heart.h2 { width: 14px; height: 14px; left: 26%; top: 44%; animation-delay: -2.2s; fill: #ff8fb4; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(15deg); opacity: .5; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 24px; }
  .hero-txt { order: 2; }
  .cta, .mini { justify-content: center; }
  .hero .tag { margin-inline: auto; }
  .scene { max-width: 400px; }
}

/* ───── fita ───── */
.ribbon { background: var(--acc); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg); margin: 10px -10px 0; box-shadow: 0 10px 30px rgba(232, 77, 138, .25); }
.ribbon div { display: flex; gap: 22px; width: max-content; animation: marquee 28s linear infinite; font: italic 700 22px var(--serif); white-space: nowrap; }
.ribbon b { font-size: 14px; opacity: .7; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── secções ───── */
.sec { max-width: 1160px; margin: 0 auto; padding: 100px 20px 20px; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.lead { color: var(--tx2); font-size: 17px; margin: 16px 0 0; }

.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px 14px 20px; box-shadow: var(--soft); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.card .ill svg { width: 100%; height: auto; border-radius: 16px; }
.card .cat-ill { background: #eceef3; border-radius: 16px; aspect-ratio: 120 / 90; display: grid; place-items: center; }
.card .cat-ill img { height: 82%; }
.card h3 { font: italic 700 21px var(--serif); margin: 14px 6px 4px; color: var(--c); filter: brightness(.85); }
.card p { margin: 0 6px; font-size: 14px; color: var(--tx2); }

/* ───── galeria ───── */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery .ph { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; break-inside: avoid; box-shadow: var(--soft); background: var(--card2); }
.gallery .ph img { width: 100%; transition: transform .5s; }
.gallery .ph:hover img { transform: scale(1.04); }
.gallery.empty { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .gallery.empty { grid-template-columns: 1fr 1fr; } }
.gallery.empty .ph { margin: 0; aspect-ratio: 4 / 5; cursor: default; display: grid; place-items: center; position: relative; }
.gallery.empty .ph:nth-child(even) { aspect-ratio: 4 / 4.4; }
.gallery.empty .ph::before { content: ''; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--c); opacity: .35; }
.gallery.empty .ph span { position: relative; font: italic 700 22px var(--serif); color: var(--c); filter: brightness(.8); }
.hint { text-align: center; color: var(--tx3); font-size: 14px; margin-top: 18px; }

/* ───── links ───── */
.linkbox { display: grid; grid-template-columns: 260px 1fr; align-items: end; gap: 30px; background: linear-gradient(135deg, #fff 0%, #fde3ee 100%); border: 1px solid var(--line); border-radius: 36px; padding: 40px 40px 0; box-shadow: var(--shadow); overflow: hidden; }
.lb-girl { width: 100%; margin-bottom: -6px; }
.lb-body { padding-bottom: 40px; }
.linklist { display: grid; gap: 12px; margin-top: 24px; }
.linklist a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--tx); transition: transform .2s, border-color .2s, box-shadow .2s; }
.linklist a:hover { transform: translateX(6px); border-color: var(--acc); box-shadow: var(--soft); }
.linklist i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.linklist span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.linklist small { color: var(--tx3); font-size: 13px; }
.linklist .arr { color: var(--tx3); }
@media (max-width: 760px) { .linkbox { grid-template-columns: 1fr; padding: 30px 22px 0; text-align: center; } .lb-girl { order: 2; width: 200px; margin: 0 auto -6px; } .lb-body { padding-bottom: 10px; } .linklist { text-align: left; } }

/* ───── footer ───── */
.foot { text-align: center; padding: 70px 20px 40px; color: var(--tx3); font-size: 14px; }
.foot img { width: 44px; margin: 0 auto 10px; border-radius: 13px; }
.fh { width: 14px; height: 14px; fill: var(--acc); vertical-align: -2px; }

/* ───── lightbox ───── */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(58, 37, 48, .82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; color: var(--tx); cursor: pointer; }

/* ───── reveal ───── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
main { overflow-x: clip; }
.card .cat-ill { overflow: hidden; }
.card .cat-ill img { height: 80%; width: auto; max-height: 100%; }
.gallery.empty .ph { aspect-ratio: 4 / 3.4; }
.gallery.empty .ph:nth-child(even) { aspect-ratio: 4 / 3; }

.cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.girl { height: 86%; transform: translateX(-60%); }
@keyframes bob { 50% { transform: translateX(-60%) translateY(-6px); } }
.cat { width: 19%; right: 5%; }

/* boneca nova (360x600) + Aurora sentada */
.girl { height: 90%; bottom: 2%; transform: translateX(-62%); }
@keyframes bob { 50% { transform: translateX(-62%) translateY(-6px); } }
.cat { width: 17%; right: auto; left: 6%; bottom: 3%; }
.aurora { position: absolute; width: 27%; right: 5%; bottom: 3%; animation: bob2 3.4s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(120, 40, 80, .12)); }
.lb-girl { max-height: 420px; width: auto; margin-inline: auto; }

/* ───── retrato estilo boneca ───── */
.portrait-wrap { position: relative; width: 100%; max-width: 440px; justify-self: center; padding: 10px 26px 30px; }
.portrait { position: relative; aspect-ratio: 1024 / 1440; border-radius: 220px 220px 32px 32px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line2), 0 30px 70px rgba(190, 70, 120, .3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 6s ease; }
.portrait:hover img { transform: scale(1.04); }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(232, 77, 138, .28)); pointer-events: none; }
.shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 45%, transparent 55%); transform: translateX(-100%); animation: shine 7s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 30%, 100% { transform: translateX(100%); } }
.portrait-wrap::before { content: ''; position: absolute; inset: -6% -10% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 159, 194, .45), transparent 65%); z-index: -1; filter: blur(10px); }
.chip { position: absolute; left: 0; top: 18%; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px 7px 7px; font-size: 13px; font-weight: 700; color: var(--tx); box-shadow: var(--shadow); animation: bob2 4s ease-in-out infinite; }
.chip img { width: 26px; height: 26px; border-radius: 8px; }
.sticker { position: absolute; filter: drop-shadow(0 10px 14px rgba(120, 40, 80, .2)); }
.sticker.aurora { width: 30%; right: -2%; bottom: 0; animation: bob2 3.4s ease-in-out infinite; }
.sticker.cat { width: 20%; left: 2%; bottom: 2%; animation: bob2 4.2s ease-in-out infinite; }
.portrait-wrap .spark { fill: var(--acc); }
.portrait-wrap .spark.s1 { left: 4%; top: 6%; } .portrait-wrap .spark.s2 { right: 6%; top: 30%; fill: #ffb3cc; }
.portrait-wrap .heart.h1 { right: 2%; top: 10%; } .portrait-wrap .heart.h2 { left: 8%; top: 48%; }
@media (max-width: 860px) { .portrait-wrap { max-width: 360px; } .chip { top: 10%; } }

.lb-photo { width: 100%; max-width: 260px; aspect-ratio: 3 / 4; border-radius: 26px 26px 0 0; overflow: hidden; background: #000; justify-self: center; box-shadow: 0 0 0 6px #fff; }
.lb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 760px) { .lb-photo { order: 2; max-width: 220px; margin: 0 auto; } }
.chip { top: auto; bottom: 26%; left: -2%; }
@media (max-width: 860px) { .chip { top: auto; bottom: 24%; left: 0; } }

/* ───── boneca recortada (sem moldura) ───── */
.doll-wrap { position: relative; width: 100%; max-width: 420px; justify-self: center; display: flex; justify-content: center; }
.doll-wrap picture { position: relative; z-index: 1; display: block; }
.doll { width: auto; max-height: min(78vh, 720px); filter: drop-shadow(0 24px 30px rgba(120, 40, 80, .18)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.glow { position: absolute; left: 50%; top: 12%; width: 90%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 159, 194, .55) 0%, rgba(255, 210, 225, .35) 45%, transparent 70%); filter: blur(6px); }
.floor { position: absolute; left: 50%; bottom: -4px; width: 62%; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(232, 77, 138, .28), transparent 70%); }
.doll-wrap .spark { position: absolute; fill: var(--acc); z-index: 2; }
.doll-wrap .spark.s1 { width: 26px; height: 26px; left: 6%; top: 14%; }
.doll-wrap .spark.s2 { width: 16px; height: 16px; right: 10%; top: 42%; fill: #ffb3cc; }
.doll-wrap .heart.h1 { position: absolute; width: 22px; height: 22px; right: 14%; top: 8%; z-index: 2; }
@media (max-width: 860px) { .doll { max-height: 62vh; } }
.lb-doll { display: block; justify-self: center; align-self: end; }
.lb-doll img { max-height: 400px; width: auto; margin-bottom: -2px; filter: drop-shadow(0 16px 20px rgba(120, 40, 80, .15)); }
@media (max-width: 760px) { .lb-doll { order: 2; } .lb-doll img { max-height: 300px; margin: 0 auto; } }
/* versão de roupa preta: imagem cortada nas pernas → desvanece em baixo */
.doll, .lb-doll img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.floor { display: none; }
.doll, .lb-doll img { filter: none; }
.doll-wrap picture, .lb-doll { filter: drop-shadow(0 22px 26px rgba(120, 40, 80, .16)); }
.doll-wrap picture { animation: floaty 6s ease-in-out infinite; } .doll { animation: none; }

/* botão Igreja para Todos — laranja leve */
.btn.church { background: #fff1e4; border-color: #ffd2ad; color: #b85a17; box-shadow: 0 10px 24px rgba(240, 138, 60, .18); }
.btn.church:hover { border-color: #f08a3c; background: #ffe6d0; }
.btn.church svg { color: #f08a3c; }
