/* =====================================================
   home.css — Página inicial (Declare Amor)
   Reaproveita a paleta/identidade visual do resto do site
   ===================================================== */

:root {
    --bg-principal: #1e1e1e;
    --bg-cards: #2a2a2a;
    --bg-cards-medio: #232323;

    --vermelho: #b31217;
    --vermelho-hover: #c72a32;
    --rose-neon: #d05e7f;
    --dourado-mate: #9a8f7b;
    --dourado-claro: #e8c27a;

    --texto-principal: #f5f2ee;
    --texto-secundario: #b8b2aa;

    --fonte-titulo: 'Playfair Display', serif;
    --fonte-cursiva: 'Great Vibes', cursive;
    --fonte-carta: 'Dancing Script', cursive;
    --fonte-corpo: 'Inter', sans-serif;

    --radius: 20px;
    --radius-sm: 12px;
    --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sombra-sm: 0 2px 8px rgba(179, 18, 23, 0.1);
    --sombra-md: 0 4px 16px rgba(179, 18, 23, 0.15);
    --sombra-lg: 0 8px 32px rgba(179, 18, 23, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    background: var(--bg-principal);
    color: var(--texto-principal);
    font-family: var(--fonte-corpo);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

a { color: inherit; }

/* -----------------------------------------------------
   Títulos e subtítulos padrão de seção
   ----------------------------------------------------- */
.he-section-title {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    color: var(--texto-principal);
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.he-section-title--hero {
    font-size: clamp(2.1rem, 5vw, 3rem);
    max-width: 22ch;
    margin: 0 auto 18px;
}

.he-section-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--texto-secundario);
    max-width: 520px;
    margin: 0 auto 28px;
    text-align: center;
}

.he-benefits__title, .he-demo__title, .he-how-it-works__title,
.he-plans__title, .he-when__title, .he-faq__title, .he-final-cta__title {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.2rem);
    line-height: 1.2;
    color: var(--texto-principal);
    text-align: center;
    margin: 0 0 12px;
}

.homenagens-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* -----------------------------------------------------
   Fundo geral da página
   ----------------------------------------------------- */
.he-page {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(179, 18, 23, 0.3), transparent 55%),
        radial-gradient(circle at bottom right, rgba(208, 94, 127, 0.25), transparent 60%),
        var(--bg-principal);
}

/* -----------------------------------------------------
   Botões
   ----------------------------------------------------- */
/* Estilo "dourado" (2026-09-26) — trocou a pílula com degradê
   vermelho→rosa do começo do projeto. */
.he-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 12px;
    font-family: var(--fonte-corpo);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    text-wrap: balance;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.he-btn--primary {
    background: var(--dourado-claro);
    color: #1e1512;
}

.he-btn--primary:hover { background: #f0d193; }

.he-btn--ghost {
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(232, 194, 122, 0.55);
    color: var(--dourado-claro);
}

.he-btn--ghost:hover { background: rgba(232, 194, 122, 0.08); }

.he-btn:focus-visible {
    outline: 2px solid var(--dourado-claro);
    outline-offset: 3px;
}

/* -----------------------------------------------------
   Logo (imagem)
   ----------------------------------------------------- */
.he-logo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
}

.he-logo-img--footer {
    max-width: 220px;
    margin: 0 auto;
}

/* -----------------------------------------------------
   HERO
   ----------------------------------------------------- */
.he-hero {
    position: relative;
    padding: 70px 20px 60px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.he-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(179, 18, 23, 0.4), transparent 60%);
    mix-blend-mode: screen;
}

.he-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.he-hero__content { max-width: 640px; margin: 0 auto; }

.he-hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.he-hero__title {
    font-family: var(--fonte-titulo);
    line-height: 1.15;
    margin: 0 0 22px;
}

.he-hero__actions {
    display: flex;
    justify-content: center;
    min-height: 46px; /* altura do botão que ficava aqui — o espaço segue vazio */
    margin-bottom: 40px;
}

/* Corações caindo na hero */
.he-hero-hearts {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.he-hero-hearts > span {
    position: absolute;
    top: -12vh;
    display: block;
    opacity: 0.95;
    will-change: transform, opacity;
    animation: heHeartFall 10s linear infinite;
}

.he-hero-hearts > span > span {
    display: block;
    font-size: 30px;
    color: rgba(179, 18, 23, 0.85);
    filter: drop-shadow(0 4px 12px rgba(179, 18, 23, 0.6));
    will-change: transform;
    animation: heHeartSway 3.2s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(179, 18, 23, 0.8), 0 0 15px rgba(208, 94, 127, 0.5);
}

.he-hero-hearts > span:nth-child(1) { left: 8%; animation-duration: 11s; animation-delay: -1s; }
.he-hero-hearts > span:nth-child(2) { left: 22%; animation-duration: 9s; animation-delay: -4s; }
.he-hero-hearts > span:nth-child(3) { left: 38%; animation-duration: 12s; animation-delay: -7s; }
.he-hero-hearts > span:nth-child(4) { left: 56%; animation-duration: 10s; animation-delay: -2s; }
.he-hero-hearts > span:nth-child(5) { left: 74%; animation-duration: 13s; animation-delay: -6s; }
.he-hero-hearts > span:nth-child(6) { left: 90%; animation-duration: 9.5s; animation-delay: -3s; }

@keyframes heHeartFall {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.95; }
    100% { transform: translate3d(0, 115vh, 0) rotate(35deg); opacity: 0; }
}

@keyframes heHeartSway {
    0%, 100% { transform: translate3d(-6px, 0, 0); }
    50% { transform: translate3d(6px, 0, 0); }
}

/* Frases animadas */
.he-hero__phrases {
    position: relative;
    margin: 8px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3.2em;
    overflow: hidden;
}

.he-hero__phrase {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    font-size: 1rem;
    line-height: 1.5;
    color: #f1e8dc;
    text-align: center;
    padding: 0 14px;
    max-width: min(560px, 92vw);
}

.he-hero__phrase.active { opacity: 1; }

/* Faixa animada de destaques — bleed até a borda do .he-hero usando a margem
   negativa exata do padding do pai (fixa em px), não vw. `100vw`/`left:50%` parecia
   funcionar, mas em navegadores com barra de rolagem reservando espaço (a maioria
   no Windows), `100vw` fica mais largo que a área visível de verdade e o cálculo
   de centralização desalinha a faixa (e visualmente parecia deslocar a hero toda). */
.he-hero__highlights {
    position: relative;
    width: 100%;
    margin: 10px 0 0;
    overflow: hidden;
}

/* Bleed até a borda só faz sentido (e só funciona, matematicamente) dentro da
   .he-hero — fora dela, o componente fica contido no próprio container. */
.he-hero .he-hero__highlights {
    margin: 10px -20px 0;
    padding: 0 20px;
}

.he-hero__highlights-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    animation: heHighlightsScroll 26s linear infinite;
}

.he-hero__highlight-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: #f8e6d8;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.he-hero__highlight-separator {
    font-size: 0.85rem;
    color: var(--rose-neon);
    opacity: 0.8;
}

@keyframes heHighlightsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .he-hero { padding: 44px 16px 50px; }
    .he-hero-logo { margin-bottom: 28px; }
    .he-hero__title { margin-bottom: 20px; }
    .he-hero__phrases { margin-bottom: 26px; }
    .he-hero__actions { margin-bottom: 30px; }
    .he-hero .he-hero__highlights { margin: 10px -16px 0; padding: 0 16px; }
}

/* -----------------------------------------------------
   Cards genéricos (benefícios, como funciona, planos)
   ----------------------------------------------------- */
.homenagens-card {
    position: relative;
    background: linear-gradient(145deg, var(--bg-cards), var(--bg-cards-medio));
    border-radius: var(--radius);
    padding: 36px 26px;
    box-shadow: var(--sombra-sm);
    transition: var(--transicao);
    overflow: hidden;
    border: 1px solid rgba(179, 18, 23, 0.1);
}

.homenagens-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--vermelho), var(--rose-neon), var(--dourado-claro));
    opacity: 0;
    transition: var(--transicao);
}

.homenagens-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
    border-color: rgba(179, 18, 23, 0.3);
}

.homenagens-card:hover::before { opacity: 1; }

.homenagens-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.homenagens-card-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homenagens-card-icon {
    font-size: 54px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transicao);
}

.homenagens-card:hover .homenagens-card-icon { transform: scale(1.1) rotate(5deg); }

.homenagens-card-icon-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px; height: 110px;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transicao);
}

.homenagens-card:hover .homenagens-card-icon-glow {
    opacity: 1;
    animation: hePulseGlow 2s infinite;
}

@keyframes hePulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.homenagens-card-title {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--texto-principal);
    margin-bottom: 10px;
    line-height: 1.3;
}

.homenagens-card-description {
    font-size: 0.94rem;
    color: var(--texto-secundario);
    line-height: 1.6;
    margin: 0;
}

/* -----------------------------------------------------
   Seção Benefícios / Como Funciona
   ----------------------------------------------------- */
.he-section { padding: 80px 20px; }
.he-benefits, .he-how-it-works, .he-when, .he-plans, .he-faq, .he-final-cta { background: transparent; }
.he-benefits__container, .he-how-it-works__container, .he-when__container,
.he-plans__container, .he-faq__container { max-width: 1080px; margin: 0 auto; text-align: center; }

.he-how-it-works__cta, .he-plans__cta-main, .he-faq__cta { display: flex; justify-content: center; margin-top: 30px; }

/* -----------------------------------------------------
   Demo (moldura de celular)
   ----------------------------------------------------- */
.he-demo { padding: 70px 20px; }
.he-demo__container {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.he-demo-phone {
    position: relative;
    width: 260px;
    background: #111;
    border-radius: 38px;
    border: 3px solid #2e2e2e;
    box-shadow: 0 0 0 1px #444, 0 32px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(179, 18, 23, 0.15), inset 0 0 0 2px #1a1a1a;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 28px 6px 18px;
}

.he-demo-phone:hover { transform: rotate(0deg) scale(1.02); }

.he-demo-phone__notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 72px; height: 22px;
    background: #111;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
}

.he-demo-phone__camera { width: 8px; height: 8px; background: #1e1e1e; border-radius: 50%; border: 1.5px solid #333; }

.he-demo-phone__side-btns { position: absolute; right: -4px; top: 100px; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.he-demo-phone__side-btns span { display: block; width: 3px; height: 28px; background: #2e2e2e; border-radius: 2px; }
.he-demo-phone__side-btns span:first-child { height: 44px; }

.he-demo-phone__screen { border-radius: 10px; overflow: hidden; background: #000; line-height: 0; }
.he-demo-phone__img { width: 100%; height: auto; display: block; }

.he-demo-phone__home-bar { display: flex; justify-content: center; padding-top: 6px; }
.he-demo-phone__home-bar span { display: block; width: 80px; height: 3px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; }

/* A faixa (agora fora do .he-demo__container flex-centralizado, ver HTML)
   e o botão precisam recriar manualmente o espaçamento que o `gap` do
   container dava. No mobile a faixa vaza até a borda real da tela (mesmo
   bleed da hero) — no desktop fica contida no padding da seção, sem bleed. */
.he-demo__highlights { margin-top: 32px; }
.he-demo__actions { margin-top: 32px; text-align: center; }

@media (max-width: 600px) {
    /* `width` precisa virar `auto` aqui — com width:100% (da regra base) e as
       duas margens laterais fixas, o cálculo fica sobre-restrito e o navegador
       ignora a margem direita especificada, então o bleed só acontecia do
       lado esquerdo. Com width:auto, o navegador resolve a largura certa pra
       bater com as duas margens negativas ao mesmo tempo. */
    .he-demo .he-hero__highlights { width: auto; margin: 32px -20px 0; padding: 0 20px; }
}

/* -----------------------------------------------------
   Timeline "Quando criar"
   ----------------------------------------------------- */
.he-when__timeline {
    --line-x: 22px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 760px;
    position: relative;
    text-align: left;
}

.he-when__timeline::before {
    content: '';
    position: absolute;
    top: 6px; bottom: 6px; left: var(--line-x);
    width: 2px;
    background: linear-gradient(to bottom, rgba(232, 194, 122, 0.15), rgba(208, 94, 127, 0.55), rgba(179, 18, 23, 0.45), rgba(232, 194, 122, 0.15));
}

.he-when__item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 16px 0;
    position: relative;
}

.he-when__marker {
    width: 44px; height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-left: calc(var(--line-x) - 22px);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 16px rgba(179, 18, 23, 0.18);
    font-size: 1.15rem;
}

.he-when__content {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.he-when__item-title { font-family: var(--fonte-titulo); font-size: 1.15rem; margin: 0 0 6px; color: var(--texto-principal); }
.he-when__item-text { font-size: 0.93rem; line-height: 1.6; margin: 0; color: var(--texto-secundario); }
.he-when__cta { display: flex; justify-content: center; margin-top: 32px; }

/* -----------------------------------------------------
   Planos
   ----------------------------------------------------- */
.he-plan__badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.he-plan__badge--light { background: rgba(0, 0, 0, 0.5); color: var(--texto-principal); border: 1px solid rgba(255, 255, 255, 0.12); }
.he-plan__badge--highlight { background: linear-gradient(135deg, var(--vermelho), var(--rose-neon)); color: #fff; box-shadow: 0 0 12px rgba(179, 18, 23, 0.6); }

.he-plan__name { font-family: var(--fonte-titulo); font-size: 1.3rem; margin: 0 0 8px; }
.he-plan__price { font-family: var(--fonte-titulo); font-size: 1.5rem; margin: 0 0 12px; color: var(--dourado-claro); }
.he-plan__price-small { display: block; font-size: 0.78rem; color: var(--texto-secundario); margin-top: 2px; font-family: var(--fonte-corpo); }

.he-plan__features { list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.9rem; color: var(--texto-secundario); text-align: left; }
.he-plan__features li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.he-plan__features li::before { content: '•'; position: absolute; left: 4px; top: 0; color: var(--rose-neon); }

.he-plan--highlight { border-color: rgba(232, 194, 122, 0.5); box-shadow: var(--sombra-lg); transform: translateY(-4px); }

/* -----------------------------------------------------
   FAQ (accordion)
   ----------------------------------------------------- */
.he-faq__list { text-align: left; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; overflow: hidden; background: rgba(0, 0, 0, 0.18); max-width: 780px; margin: 0 auto; }
.he-faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.he-faq__item:last-child { border-bottom: 0; }
.he-faq__question { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--texto-principal); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.he-faq__question::-webkit-details-marker { display: none; }
.he-faq__question::after { content: '+'; font-size: 1.2rem; color: var(--rose-neon); }
.he-faq__item[open] .he-faq__question::after { content: '–'; }
.he-faq__answer { padding: 0 18px 18px; }
.he-faq__answer p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--texto-secundario); }

/* -----------------------------------------------------
   CTA final
   ----------------------------------------------------- */
.he-final-cta { position: relative; overflow: hidden; }
.he-final-cta::before {
    content: '';
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 20% 30%, rgba(179, 18, 23, 0.26), transparent 55%), radial-gradient(circle at 80% 70%, rgba(208, 94, 127, 0.2), transparent 60%);
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.9;
}

.he-final-cta__container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.he-final-cta__panel { text-align: center; padding: 34px 26px; border-radius: 22px; background: rgba(0, 0, 0, 0.26); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); }
.he-final-cta__subtitle { max-width: 600px; margin: 0 auto 22px; font-size: 0.96rem; line-height: 1.7; color: var(--texto-secundario); }

.he-final-cta__checks { max-width: 600px; margin: 0 auto 26px; padding: 0; list-style: none; text-align: left; font-size: 0.93rem; }
.he-final-cta__checks li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--texto-principal); }
.he-final-cta__checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--rose-neon); font-weight: 700; }

.he-final-cta__note { margin: 16px auto 0; max-width: 540px; font-size: 0.85rem; color: var(--texto-secundario); }

/* -----------------------------------------------------
   Rodapé
   ----------------------------------------------------- */
.he-footer { padding: 64px 20px 28px; background: rgba(0, 0, 0, 0.22); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.he-footer__container { max-width: 1080px; margin: 0 auto; }

/* Marca à esquerda (mais larga), 2 colunas de links à direita */
.he-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; align-items: start; }

.he-footer__brand { max-width: 360px; }
.he-footer__logo-link { display: inline-flex; text-decoration: none; }
/* o logo.png tem ~16% de margem transparente à esquerda: puxa a imagem
   pra alinhar o desenho com o texto abaixo (só no desktop, alinhado à esquerda) */
.he-footer__brand .he-logo-img--footer { margin: 0; transform: translateX(-16%); }
.he-footer__brand-slogan { margin: 14px 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--texto-secundario); }

.he-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.he-footer__social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--texto-secundario); text-decoration: none;
    transition: var(--transicao);
}
.he-footer__social-btn:hover { color: var(--texto-principal); border-color: var(--rose-neon); background: rgba(208, 94, 127, 0.12); }

.he-footer__seguranca {
    display: inline-block; margin: 20px 0 0; padding: 8px 14px;
    border-radius: 999px; background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem; color: var(--texto-secundario);
}

.he-footer__title { margin: 0 0 16px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto-principal); }
.he-footer__list { list-style: none; margin: 0; padding: 0; }
.he-footer__list li + li { margin-top: 10px; }
.he-footer__link { font-size: 0.92rem; color: var(--texto-secundario); text-decoration: none; transition: color 0.2s ease; }
.he-footer__link:hover { color: var(--texto-principal); }

/* Barra final: © à esquerda, links legais à direita */
.he-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    margin-top: 48px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.he-footer__copy { margin: 0; font-size: 0.8rem; color: var(--texto-secundario); }
.he-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.he-footer__legal a { font-size: 0.8rem; color: var(--texto-secundario); text-decoration: none; }
.he-footer__legal a:hover { color: var(--texto-principal); }

@media (max-width: 760px) {
    .he-footer { padding-top: 48px; }
    /* celular: marca em cima (centralizada), as 2 colunas lado a lado */
    .he-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .he-footer__brand { grid-column: 1 / -1; max-width: none; text-align: center; }
    .he-footer__brand .he-logo-img--footer { margin: 0 auto; transform: none; }
    .he-footer__social { justify-content: center; }
    .he-footer__bottom { flex-direction: column-reverse; text-align: center; margin-top: 36px; }
    .he-footer__legal { justify-content: center; }
}

/* -----------------------------------------------------
   Modal: Seleção de Homenagem
   ----------------------------------------------------- */
.modal-selecao-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 20px;
}

.modal-selecao-overlay[hidden] { display: none; }

.modal-selecao-caixa {
    position: relative;
    background: var(--bg-cards);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    max-width: 560px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 36px 28px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal-selecao-fechar {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--texto-secundario);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transicao);
}

.modal-selecao-fechar:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--texto-principal);
}

.modal-selecao-titulo {
    font-family: var(--fonte-titulo);
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: 0.2px;
}

.modal-selecao-subtitulo {
    text-align: center;
    color: var(--texto-secundario);
    font-size: 0.875rem;
    margin: 0 0 26px;
}

.modal-selecao-lista {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.selecao-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--texto-principal);
    transition: var(--transicao);
}

.selecao-card + .selecao-card { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.selecao-card-icone {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.selecao-card-icone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* os ícones vêm com fundo preto sólido (são JPEG salvo como .png, sem
       transparência real) — escalar um pouco mais que o círculo (110%) evita
       que qualquer resquício de fundo escuro apareça nas bordas do recorte. */
    transform: scale(1.1);
    display: block;
}

.selecao-card-texto {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.selecao-card-nome {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.selecao-card-desc {
    font-size: 0.8125rem;
    color: var(--texto-secundario);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selecao-card-seta {
    flex: 0 0 auto;
    color: var(--texto-secundario);
    font-size: 1rem;
    transition: var(--transicao);
}

.selecao-card:not(.selecao-card--em-breve):hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(179, 18, 23, 0.35);
}

.selecao-card:not(.selecao-card--em-breve):hover .selecao-card-icone {
    background: linear-gradient(135deg, var(--vermelho), var(--rose-neon));
    border-color: transparent;
}

.selecao-card:not(.selecao-card--em-breve):hover .selecao-card-seta {
    color: var(--dourado-claro);
    transform: translateX(3px);
}

.selecao-card--em-breve {
    cursor: default;
    opacity: 0.5;
}

.selecao-card--em-breve .selecao-card-icone { filter: grayscale(0.4); }

.selecao-card-badge {
    flex: 0 0 auto;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--texto-secundario);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.selecao-card--destaque {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.06);
}

.selecao-card--destaque .selecao-card-icone {
    background: linear-gradient(135deg, var(--vermelho), var(--dourado-claro));
    border-color: transparent;
}

.selecao-card-destaque-selo {
    flex: 0 0 auto;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    background: var(--dourado-claro);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .modal-selecao-caixa { padding: 28px 18px 20px; }
    .modal-selecao-titulo { font-size: 1.2rem; padding: 0 22px; }
    .selecao-card-desc { display: none; }
    .selecao-card { padding: 12px 8px; gap: 12px; flex-wrap: wrap; }

    /* No mobile não tem espaço pro selo ficar na mesma linha do nome — em vez
       de esconder (achamos que ia apertar, mas o usuário queria ver o selo),
       ele quebra pra uma linha própria, alinhado embaixo do texto (depois do
       ícone: 42px de largura + 12px de gap nesse breakpoint). A seta ganha
       "order" menor que o selo pra continuar na primeira linha (com o ícone
       e o nome) em vez de ser empurrada junto pra linha de baixo. */
    .selecao-card-seta { order: 1; }
    .selecao-card-destaque-selo {
        order: 2;
        flex: 1 1 100%;
        margin: 2px 0 0 54px;
        white-space: normal;
        width: fit-content;
    }
}

/* =====================================================
   HERO com foto (redesign 2026-09-18)
   ===================================================== */
.he-hero--photo {
    padding: 0;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
}

.he-hero__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.he-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.he-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(10, 6, 8, 0.55) 0%,
        rgba(10, 6, 8, 0.15) 28%,
        rgba(10, 6, 8, 0.35) 60%,
        rgba(10, 6, 8, 0.92) 100%);
}

.he-hero--photo .he-hero__inner {
    position: relative;
    z-index: 2;
    padding: 40px 20px 56px;
    width: 100%;
}

.he-hero--photo .he-hero-logo { margin-bottom: 22px; }
.he-hero--photo .he-logo-img { max-width: 220px; margin: 0 auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,0.5)); }

.he-hero--photo .he-hero__title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.he-hero__subtitle {
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    color: #f1e8dc;
    max-width: 520px;
    margin: 0 auto 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.he-hero--photo .he-hero__actions { margin-bottom: 0; }

/* Selo "Edite quantas vezes precisar" logo abaixo do botão principal */
.he-hero__editavel {
    display: inline-block;
    max-width: 680px;
    margin: 18px auto 0;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(232, 194, 122, 0.45);
    background: rgba(0, 0, 0, 0.45);
    color: #f1e8dc;
    font-size: 0.875rem;
    line-height: 1.45;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.he-hero__editavel strong { color: var(--dourado-claro); font-weight: 600; }

@media (max-width: 700px) {
    .he-hero__editavel { font-size: 0.8125rem; border-radius: 16px; padding: 8px 14px; }
}

@media (max-width: 700px) {
    .he-hero--photo { min-height: 86vh; }
    .he-hero--photo .he-hero__inner { padding: 32px 18px 44px; }

    /* Hero mais leve no celular (2026-09-26): sem o selo "Edite quantas
       vezes" e sem o espaço vazio do botão; título sobe um pouco e o texto
       desce pra perto do fim da foto. A soma das margens repõe a altura que
       saiu, pra logo ficar no mesmo lugar. */
    .he-hero__editavel,
    .he-hero--photo .he-hero__actions { display: none; }
    .he-hero--photo .he-hero-logo { margin-bottom: 12px; }
    .he-hero--photo .he-hero__title { margin-bottom: 115px; }
    .he-hero--photo .he-hero__subtitle { margin-bottom: 67px; }
}

/* =====================================================
   MENSAGEM QUE NÃO DESAPARECE — a "carta revelada", linha por
   linha, em vez de um título+parágrafo genéricos. Fica no lugar
   do antigo bloco "gancho emocional" (fundido com a seção de
   demonstração do produto).
   ===================================================== */
.he-demo__eyebrow {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--dourado-claro);
    margin: 0 0 20px;
}
.he-demo__carta {
    font-family: var(--fonte-carta);
    font-weight: 500;
    color: var(--texto-principal);
    font-size: 1.5rem;
    line-height: 1.55;
    margin: 0 0 24px;
}

/* Escrita "de carta" letra por letra (home.js, igual à frase de destaque da
   homenagem): cada letra já ocupa o seu lugar, invisível — o texto não "pula" */
.escrita-letra {
    opacity: 0;
    filter: blur(2px);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.escrita-letra-visivel {
    opacity: 1;
    filter: none;
}

/* =====================================================
   QUAL É A OCASIÃO — reaproveita o mesmo estilo de lista em
   linhas do modal de seleção (.modal-selecao-lista/.selecao-card),
   só que fixo na página em vez de dentro de um modal flutuante.
   ===================================================== */
.he-ocasiao__container { max-width: 640px; margin: 0 auto; text-align: center; }

.he-ocasiao__caixa {
    background: var(--bg-cards);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: left;
    box-shadow: var(--sombra-md);
}

@media (max-width: 640px) {
    .he-ocasiao__caixa { padding: 14px 16px; }
}

/* =====================================================
   EXEMPLOS REAIS
   ===================================================== */
.he-exemplos__container { max-width: 1080px; margin: 0 auto; text-align: center; }

.he-exemplos__telas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
}

.he-exemplo-tela {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transicao);
}

.he-exemplo-tela:hover { transform: translateY(-4px); }

.he-demo-phone--mini { width: 168px; transform: none; }
.he-exemplo-tela:hover .he-demo-phone--mini { transform: scale(1.03); }

.he-exemplo-tela__nome {
    font-family: var(--fonte-titulo);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 16px;
}

.he-exemplo-tela__tipo {
    font-size: 0.8rem;
    color: var(--texto-secundario);
    margin-top: 2px;
}

/* =====================================================
   QR CODE — USO FÍSICO
   ===================================================== */
.he-qr-fisico__container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.he-qr-fisico__texto .he-section-title,
.he-qr-fisico__texto .he-section-subtitle { text-align: left; margin-left: 0; }

.he-qr-fisico__usos {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.he-qr-fisico__usos li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--texto-principal);
}

.he-qr-fisico__usos li img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
}

.he-qr-fisico__imagem {
    display: flex;
    justify-content: center;
}

.he-qr-fisico__imagem img {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-sm);
    box-shadow: var(--sombra-lg);
    background: #fff;
    padding: 12px;
}

@media (max-width: 760px) {
    .he-qr-fisico__container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .he-qr-fisico__texto .he-section-title,
    .he-qr-fisico__texto .he-section-subtitle { text-align: center; margin-left: auto; }
    .he-qr-fisico__usos { align-items: center; }
}

/* =====================================================
   COMO FUNCIONA — 4 passos curtos (2026-09-26). Computador:
   4 cards lado a lado; celular: linha do tempo (ícone à
   esquerda ligado por um fio, texto à direita).
   ===================================================== */
.he-passos {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.he-passo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 26px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--bg-cards), var(--bg-cards-medio));
    border: 1px solid rgba(232, 194, 122, 0.14);
    box-shadow: var(--sombra-sm);
}

.he-passo__icone {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* Brilho suave atrás do ícone 3D (imagens passo-1..4.webp, fundo transparente) */
.he-passo__icone::before {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 194, 122, 0.22), rgba(208, 94, 127, 0.08) 55%, transparent 72%);
}

.he-passo__icone img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.he-passo__num {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dourado-claro);
    color: #1e1e1e;
    font-family: var(--fonte-titulo);
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: lining-nums;
}

/* Playfair desenha números "baixos" por padrão — o 4 do título parecia menor */
.he-how-it-works__title { font-variant-numeric: lining-nums; }

.he-passo__titulo {
    font-family: var(--fonte-titulo);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--texto-principal);
    margin: 0 0 6px;
}

.he-passo__linha {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--texto-secundario);
    margin: 0;
}

@media (max-width: 900px) {
    .he-passos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .he-passos {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 420px;
        margin: 0 auto;
    }

    .he-passo {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding: 0 0 40px;
        background: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    /* Fio ligando um ícone ao próximo */
    .he-passo:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 35px;
        top: 76px;
        bottom: 4px;
        width: 2px;
        background: linear-gradient(180deg, rgba(232, 194, 122, 0.45), rgba(232, 194, 122, 0.08));
    }

    .he-passo:last-child { padding-bottom: 0; }

    .he-passo__icone { width: 72px; height: 72px; margin: 0; }
    .he-passo__texto { padding-top: 12px; }
    .he-passo__titulo { font-size: 1.125rem; margin-bottom: 2px; }
}

/* =====================================================
   MENU HAMBÚRGUER — só no celular (no computador a
   navegação fica no rodapé). Botão fixo no canto do topo;
   painel lateral pela direita. JS em home.js.
   ===================================================== */
.he-menu-toggle,
.he-menu-fundo,
.he-menu-painel { display: none; }

@media (max-width: 768px) {
    .he-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 1001;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(20, 20, 20, 0.6);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        cursor: pointer;
    }

    /* Três riscos desenhados com a barra do meio + ::before/::after */
    .he-menu-toggle__barras,
    .he-menu-toggle__barras::before,
    .he-menu-toggle__barras::after {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        position: relative;
        transition: var(--transicao);
    }
    .he-menu-toggle__barras::before,
    .he-menu-toggle__barras::after { content: ''; position: absolute; left: 0; }
    .he-menu-toggle__barras::before { top: -6px; }
    .he-menu-toggle__barras::after { top: 6px; }

    .he-menu-fundo:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1002;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .he-menu-painel:not([hidden]) {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1003;
        width: min(82vw, 320px);
        padding: 70px 22px 28px;
        overflow-y: auto;
        background: linear-gradient(160deg, #2a2a2a, #1a1a1a);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    body.he-menu-aberto { overflow: hidden; }
    body.he-menu-aberto .he-menu-fundo { opacity: 1; }
    body.he-menu-aberto .he-menu-painel { transform: translateX(0); }

    .he-menu-fechar {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
    }

    .he-menu-cta { text-align: center; }

    .he-menu-lista {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .he-menu-lista a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--texto-principal);
        text-decoration: none;
        font-size: 1.05rem;
    }

    .he-menu-lista a:active,
    .he-menu-lista a:hover { color: var(--dourado-claro); }

    .he-menu-lista--secundaria a { font-size: 0.95rem; color: var(--texto-secundario); }
}
