/* Hero Section */
.hero {
    padding-top: 160px; /* Account for header */
    padding-bottom: var(--bm-space-96);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bm-space-64);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--bm-space-24);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--bm-space-32);
    max-width: 90%;
}

.hero-cta {
    margin-bottom: var(--bm-space-32);
}

.hero-social {
    display: flex;
    align-items: center;
    gap: var(--bm-space-16);
}

.hero-social p {
    font-size: 0.875rem;
    margin: 0;
}

.hero-image {
    position: relative;
    border-radius: var(--bm-radius-lg);
}

.hero-img-main {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--bm-radius-lg);
    box-shadow: var(--bm-shadow-lg);
}

.fc-1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.fc-2 {
    top: 60px;
    right: -20px;
    animation-delay: 2s;
}

/* How It Works */
.how-it-works {
    background-color: var(--bm-bg-alt);
    text-align: center;
}

.how-it-works .section-header {
    margin-bottom: var(--bm-space-64);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bm-space-32);
}

.step-card {
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.step-card:hover {
    transform: none;
    box-shadow: none;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--bm-radius-md);
    background: rgba(233, 30, 99, 0.1);
    color: var(--bm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--bm-space-24);
    font-size: 24px;
}

.step-card h3 {
    margin-bottom: var(--bm-space-12);
}

/* Regional Section */
.regional {
    background-color: var(--bm-surface-dark);
    color: var(--bm-text-light);
    padding: var(--bm-space-120) 0;
}

.regional h2 {
    color: var(--bm-text-light);
    margin-bottom: var(--bm-space-24);
}

.regional p {
    color: rgba(255, 255, 255, 0.7);
}

.regional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bm-space-80);
    align-items: center;
}

.regional-list {
    margin-top: var(--bm-space-32);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--bm-space-16);
}

.regional-list li {
    display: flex;
    align-items: center;
    gap: var(--bm-space-12);
    font-size: 1.125rem;
}

.regional-list li svg {
    color: var(--bm-accent);
}

.regional-profiles {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    --tx: 0px; --ty: 0px; --rot: 0deg; --lift: 0px;
    position: absolute;
    width: 200px;
    height: 260px;
    border-radius: var(--bm-radius-md);
    overflow: hidden;
    box-shadow: var(--bm-shadow-lg);
    transform: translate3d(var(--tx), calc(var(--ty) + var(--lift)), 0) rotate(var(--rot));
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s cubic-bezier(.22, 1, .36, 1);
}

/* Hover: só sobe de leve e a sombra cresce. Mantém posição, rotação e ordem (nenhum card passa por cima do outro). */
@media (hover: hover) {
    .profile-card:hover {
        --lift: -10px;
        box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
    }
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--bm-space-12);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.profile-info h4 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.profile-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin: 0;
}

.pc-1 { --tx: -190px; --ty: -30px; --rot: -5deg; z-index: 1; width: 170px; height: 230px; }
.pc-2 { --tx: 0px;    --ty: 20px;  --rot: 2deg;  z-index: 2; width: 190px; height: 250px; }
.pc-3 { --tx: 190px;  --ty: -15px; --rot: 6deg;  z-index: 1; width: 170px; height: 230px; }

.location-badge {
    position: absolute;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: var(--bm-space-8) var(--bm-space-16);
    border-radius: var(--bm-radius-full);
    display: flex;
    align-items: center;
    gap: var(--bm-space-8);
    font-size: 0.875rem;
    z-index: 5;
}

/* Security */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bm-space-80);
    align-items: center;
}

.security-image {
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    box-shadow: var(--bm-shadow-lg);
}

.security-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.security-content h2 {
    margin-bottom: var(--bm-space-16);
}

.security-content > p {
    margin-bottom: var(--bm-space-40);
}

.security-items {
    display: flex;
    flex-direction: column;
    gap: var(--bm-space-32);
}

.security-item {
    display: flex;
    gap: var(--bm-space-16);
}

.sec-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--bm-radius-full);
    background: var(--bm-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-primary);
    flex-shrink: 0;
}

.security-item h4 {
    margin-bottom: var(--bm-space-4);
    font-size: 1.125rem;
}

.security-item p {
    font-size: 1rem;
}

/* Final CTA */
.final-cta {
    padding: var(--bm-space-96) 0;
}

.cta-container {
    background: var(--bm-gradient-main);
    border-radius: var(--bm-radius-lg);
    padding: var(--bm-space-64);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--bm-space-32);
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.btn-white {
    background: white;
    color: #1a2332;
}

.btn-white:hover {
    background: #f1f4f8;
    color: #1a2332;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    mix-blend-mode: overlay;
}
/* Mobile App Shell Overrides */
.discovery-app-shell .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}
.discovery-app-shell .hero {
    padding-top: 24px;
}
.discovery-app-shell .stats-grid {
    grid-template-columns: 1fr;
}
.discovery-app-shell .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}
.discovery-app-shell .testimonial-grid {
    grid-template-columns: 1fr;
}
.discovery-app-shell .features-grid {
    grid-template-columns: 1fr;
}
.discovery-app-shell .hero-img-main {
    height: 300px;
}
.discovery-app-shell h1 {
    font-size: 2rem;
}

.discovery-app-shell .steps-grid,
.discovery-app-shell .regional-grid,
.discovery-app-shell .security-grid {
    grid-template-columns: 1fr;
    gap: 24px;
}


/* Performance: promove camada de composição (evita travadinhas) */
.profile-card, .floating-card { will-change: transform; backface-visibility: hidden; }
.profile-card { background: #221d23; }
.profile-card img { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .floating-card { animation: none; } }

/* Logo BMeet no topo (mesmo efeito do restante do app) */
.discovery-title-logo {
    display: inline-block;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #8a2be2, #ff6b6b, #8a2be2);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientLoop 3s linear infinite;
}

/* Cartões de perfil dentro do shell estreito */
.discovery-app-shell .regional { padding: 48px 0; }
.discovery-app-shell .regional-profiles { height: 360px; }
.discovery-app-shell .profile-card { width: 140px; height: 190px; }
.discovery-app-shell .pc-2 { width: 160px; height: 210px; }
.discovery-app-shell .pc-1 { --tx: -90px; --ty: -30px; --rot: -5deg; }
.discovery-app-shell .pc-3 { --tx: 90px; --ty: -15px; --rot: 8deg; }
.discovery-app-shell .location-badge { bottom: 8px; }

/* CTA final empilhado no app shell */
.discovery-app-shell .final-cta { padding: 48px 16px; }
.discovery-app-shell .cta-container { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
.discovery-app-shell .cta-content { max-width: 100%; }
.discovery-app-shell .cta-content h2 { font-size: 1.6rem; overflow-wrap: normal; word-break: normal; hyphens: none; }
.discovery-app-shell .cta-container .btn { width: 100%; white-space: normal; }
.discovery-app-shell .cta-image { opacity: 0.25; }


/* Sobre o BMeet + FAQ (página inicial) */
.about-bm-wrap { max-width: 980px; display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--bm-space-64, 56px); align-items: start; }
.about-bm-eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-accent, #e91e63); background: rgba(233, 30, 99, .1); }
.about-bm-head h2 { margin: 0; line-height: 1.2; }
.about-bm-body p { margin: 0 0 16px; line-height: 1.7; }
.about-bm-lead { font-size: 1.1rem; }
.about-bm-links { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-bm-links a { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--bm-text); border: 1px solid var(--bm-border); transition: border-color .25s, color .25s, transform .25s; }
.about-bm-links a:hover { color: var(--bm-accent, #e91e63); border-color: var(--bm-accent, #e91e63); transform: translateY(-2px); }

.faq-bm-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--bm-border); border-radius: 16px; background: var(--bm-surface); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--bm-accent, #e91e63); box-shadow: 0 10px 28px rgba(233, 30, 99, .1); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.02rem; color: var(--bm-text); -webkit-tap-highlight-color: transparent; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--bm-accent, #e91e63); outline-offset: 2px; border-radius: 16px; }
.faq-chev { flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--bm-accent, #e91e63); border-bottom: 2.5px solid var(--bm-accent, #e91e63); transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.faq-item[open] .faq-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { margin: 0; line-height: 1.7; color: var(--bm-text-muted); }
@media (prefers-reduced-motion: no-preference) {
    .faq-item[open] .faq-answer { animation: faqIn .35s ease both; }
    @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 768px) {
    .about-bm-wrap { grid-template-columns: 1fr; gap: 24px; }
    .faq-item summary { padding: 16px; font-size: .98rem; }
    .faq-answer { padding: 0 16px 16px; }
}

/* Dentro da moldura estreita do app (desktop): mesmo layout do celular */
.discovery-app-shell .about-bm-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.discovery-app-shell .about-bm-head h2 { font-size: 1.7rem; }
.discovery-app-shell .faq-item summary { padding: 16px; font-size: .98rem; }
.discovery-app-shell .faq-answer { padding: 0 16px 16px; }
