/* "Os presentes" (views/html/partials/gifts.html). Prefixo gf-. */
.gf { max-width: 1160px; margin: 0 auto; padding: 64px 20px 40px; font-family: 'Quicksand', sans-serif; color: #fff; }
.gf-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.gf-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid #262626; color: #9b9b9b; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf-title { margin: 18px 0 12px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; color: #fff; }
.gf-title em { font-style: normal; color: #ff2d9b; }
.gf-sub { margin: 0; color: #9b9b9b; font-size: 16px; line-height: 1.55; text-wrap: balance; }

.gf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gf-card { display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 24px; border: 1px solid #262626; background: #121212; transition: border-color .25s; }
.gf-card:hover { border-color: #353535; }
.gf-tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgba(255, 45, 155, .1); color: #ff7cc4; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gf-name { margin: 14px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.gf-desc { margin: 0; color: #9b9b9b; font-size: 14.5px; line-height: 1.55; min-height: 68px; }

/* área visual: cada produto no seu "suporte" */
.gf-visual { position: relative; height: 340px; margin: 20px 0 20px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.gf-visual--page { background: #161616; }
.gf-visual--wrapped { background: #161616; }
.gf-visual--book { background: #161616; align-items: center; }

.gf-phone {
    width: 214px; height: 330px; margin-bottom: -24px; padding: 8px 8px 0; box-sizing: border-box;
    border-radius: 30px 30px 0 0; background: #0a0a0a;
    box-shadow: 0 0 0 1.5px #2e2e2e, 0 30px 60px -20px rgba(0, 0, 0, .9);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.gf-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px 24px 0 0; }
.gf-book {
    /* livro aberto (página dupla) */
    width: 92%; aspect-ratio: 1820 / 1296; border-radius: 4px; overflow: hidden;
    box-shadow: 0 3px 0 -1px #e9dcc8, 0 6px 0 -2px #cdbfa8, 0 30px 50px -18px rgba(0, 0, 0, .9);
    transform: perspective(900px) rotateX(10deg); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.gf-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gf-card:hover .gf-phone { transform: translateY(-8px); }
.gf-card:hover .gf-book { transform: perspective(900px) rotateX(4deg) translateY(-6px); }

.gf-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: auto; }
.gf-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; white-space: nowrap; border-radius: 999px; background: linear-gradient(180deg, #ff2d9b, #e0177f); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.gf-btn:hover { filter: brightness(1.06); }
.gf-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #cfcfcf; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.gf-link:hover { color: #fff; }
.gf-play { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #3a3a3a; position: relative; }
.gf-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 7px solid #ff2d9b; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.gf-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 0; color: #8a8a8a; font-size: 14px; text-align: center; }
.gf-note svg { flex: none; color: #ff2d9b; }

/* entrada ao rolar (nav.js) */
.gf-card[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1), border-color .25s; }
.gf-card[data-reveal].in { opacity: 1; transform: none; }
.gf-card:nth-child(2) { transition-delay: .08s; }
.gf-card:nth-child(3) { transition-delay: .16s; }

@media (max-width: 960px) {
    .gf-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .gf-desc { min-height: 0; }
}
@media (max-width: 520px) {
    .gf { padding-top: 48px; }
    .gf-visual { height: 280px; }
    .gf-phone { width: 190px; height: 270px; }
    .gf-book { width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
    .gf-card[data-reveal] { opacity: 1; transform: none; transition: none; }
    .gf-phone, .gf-book { transition: none; }
}

.gf-visual--page .gf-phone img { object-position: top; }

/* Página do casal: os 3 estilos em leque */
.gf-visual--page { background: radial-gradient(80% 70% at 50% 100%, rgba(255, 45, 155, .12), transparent 70%), #161616; }
.gf-visual--page .gf-phone { position: absolute; bottom: 0; left: 50%; width: 138px; height: 262px; margin: 0; border-radius: 26px 26px 0 0; padding: 6px 6px 0; }
.gf-visual--page .gf-phone img { border-radius: 21px 21px 0 0; }
.gf-phone--c { z-index: 3; transform: translateX(-50%) translateY(6px); }
.gf-phone--l { z-index: 1; transform: translateX(-112%) translateY(34px) rotate(-9deg); transform-origin: 50% 100%; filter: brightness(.82); }
.gf-phone--r { z-index: 2; transform: translateX(12%) translateY(34px) rotate(9deg); transform-origin: 50% 100%; filter: brightness(.82); }
.gf-card:hover .gf-phone--c { transform: translateX(-50%) translateY(-4px); }
.gf-card:hover .gf-phone--l { transform: translateX(-124%) translateY(26px) rotate(-12deg); filter: none; }
.gf-card:hover .gf-phone--r { transform: translateX(24%) translateY(26px) rotate(12deg); filter: none; }
.gf-style {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
    background: rgba(10, 10, 10, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.gf-phone--l .gf-style { color: #1ed760; }
.gf-phone--r .gf-style { color: #ff4d57; }
/* uma coluna (card mais largo): celulares maiores */
@media (max-width: 960px) and (min-width: 521px) {
    .gf-visual--page .gf-phone { width: 168px; height: 300px; }
}

/* "Ver um exemplo" da página: escolher o estilo */
.gf-demo { position: relative; }
.gf-demo summary { list-style: none; cursor: pointer; }
.gf-demo summary::-webkit-details-marker { display: none; }
.gf-demo-menu {
    position: absolute; z-index: 20; right: 0; bottom: calc(100% + 10px); width: 230px; padding: 10px;
    border-radius: 16px; border: 1px solid #2c2c2c; background: #1a1a1a; box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .8);
    animation: gfMenu .2s ease;
}
@keyframes gfMenu { from { opacity: 0; transform: translateY(6px); } }
.gf-demo-menu p { margin: 2px 6px 8px; color: #9b9b9b; font-size: 12.5px; font-weight: 600; }
.gf-demo-menu a { display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: 10px; color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background .15s; }
.gf-demo-menu a:hover { background: #262626; }
.gf-demo-menu img { width: 36px; height: 52px; border-radius: 6px; object-fit: cover; object-position: top; flex: none; }
.gf-demo-menu a::after { content: "↗"; margin-left: auto; color: #6a6a6a; font-size: 13px; }
