/* ESTILOS ESPECÍFICOS PARA LANDING PAGE BR-5 */

/* Hero Section BR-5 */
.hero-tb10 {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-tb10::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(10, 102, 194, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-tb10 .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero-media { display: flex; justify-content: center; }
.hero-video-container { max-width: 380px; }
.hero-video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; }

.hero-tb10 h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-container {
    max-width: 323px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 20px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Influencer Section */
.influencer-section {
    background: #fff;
    padding: 80px 0;
}

.influencer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.influencer-image {
    text-align: center;
}

.influencer-text {
    text-align: center;
}

.influencer-photo {
    width: 100%;
    max-width: 340px; /* -15% */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.influencer-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.influencer-text blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--muted);
    border-left: 4px solid var(--brand);
    padding-left: 24px;
    margin: 24px 0;
    line-height: 1.6;
}

.influencer-name {
    font-size: 16px;
    color: var(--muted);
    font-weight: 600;
}

/* Galeria Section */
.galeria-section {
    background: var(--bg);
    padding: 80px 0;
}

.product-gallery {
    max-width: 800px;
    margin: 0 auto;
}

/* Split layout para seção de solução (texto à esquerda, imagem à direita) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
    justify-items: center;
    justify-items: center;
}

.split-text { text-align: center; }

.split-image { text-align: center; display: flex; justify-content: center; }

.split-main-image {
    width: 100%;
    max-width: 238px; /* -15% de 280px */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 980px) {
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-text { text-align: center; }
}

.lead {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.list {
    align-items: center;
    list-style: none;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
}

.gallery-main {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.beneficios-section .how-works {
    max-width: 360px;
}

.beneficios-section .benefit-card h3 {
    font-size: 22px;
}

.beneficios-section .list {
    font-size: 18px;
}

.main-image:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    cursor: pointer;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 120px;
}

.thumb:hover,
.thumb.active {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.15);
}

.thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.thumb span {
    display: block;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* Benefícios Section */
.beneficios-section {
    background: #fff;
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

/* Ajustes específicos da seção 'Como funciona' */
#como-funciona .benefits-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
}

#como-funciona .benefit-card {
    padding: 24px 20px;
}

#como-funciona .benefit-card h3 {
    font-size: 18px;
}

#como-funciona .benefit-card:nth-child(4) {
    grid-column: 2;
}

.benefit-card {
    background: var(--card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Especificações Section */
.especificacoes-section {
    background: var(--bg);
    padding: 80px 0;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.specs-image {
    text-align: center;
}

.specs-product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.specs-list {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: var(--text);
    font-weight: 600;
    min-width: 140px;
}

.spec-item span {
    color: var(--muted);
    text-align: right;
    font-weight: 500;
}

/* Vídeos Section */
.videos-section {
    background: #fff;
    padding: 80px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

.video-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.video-container {
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
}

.customer-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--muted);
    font-style: italic;
    margin: 0;
}

/* Compra Section */
.compra-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    padding: 80px 0;
    color: #fff;
}

.compra-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.compra-product {
    display: flex;
    gap: 30px;
    align-items: center;
}

.compra-image {
    width: 200px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.compra-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.compra-info,
.payment-info {
    text-align: center;
}

.compra-description {
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.compra-price {
    margin-top: 20px;
}

.price-label {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.price-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}

.price-installment {
    display: block;
    font-size: 16px;
    opacity: 0.8;
}

.compra-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compra-btn {
    background: #fff !important;
    color: var(--brand) !important;
    font-size: 18px !important;
    padding: 20px 40px !important;
    font-weight: 700 !important;
}

.compra-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.payment-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.payment-info p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.payment-info .icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 8px;
    fill: #ffffff;
}

/* Lead Capture Section */
.lead-section {
    background: var(--bg);
    padding: 80px 0;
}

.lead-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    justify-items: center;
}

.lead-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.lead-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.lead-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.form-group input::placeholder {
    color: var(--muted);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    color: #fff !important;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Botões aprimorados */
.btn.large {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(180deg, var(--brand) 0, var(--brand-2) 100%);
    color: #fff;
    border: none;
}

.btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
}

.btn.secondary {
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    padding: 12px;
}
.popup-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.popup {
    width: 92%;
    max-width: 640px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.popup-body { padding: 24px; }
.popup-close {
    position: absolute;
    margin: 12px;
    right: 12px;
    top: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.popup-actions { display: flex; justify-content: center; margin-top: 12px; }
.popup-actions .btn { width: 100%; max-width: 420px; }
.popup-status { display:none; margin-bottom:12px; font-size:14px; color: var(--muted); text-align:center; }
.popup-status.show { display:block; }

.popup-logo .logo-small { font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.popup-logo .logo-main { font-size: 24px; font-weight: 800; color: var(--text); }
.popup-logo .logo-accent { font-size: 20px; font-weight: 800; color: var(--accent); }

.popup-form { margin-top: 12px; }
.popup-form .phone-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; }
.popup-form select { padding: 12px; border: 2px solid var(--border); border-radius: 12px; background: #fff; font-size: 14px; }
.popup-form input { width: 100%; padding: 14px; border: 2px solid var(--border); border-radius: 12px; font-size: 16px; }
.popup-form input:focus, .popup-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1); }

.popup-header { position: relative; border-top-left-radius: 16px; border-top-right-radius: 16px; overflow: hidden; }
.popup-banner { width: 100%; height: 72px; object-fit: contain; display: block; background: #fff; }

@media (max-width: 480px) {
  .popup-form .phone-row { grid-template-columns: 1fr; }
  .popup-body { padding: 16px; }
  .popup-banner { height: 44px; }
  .popup-logo .logo-main { font-size: 20px; }
  .popup-logo .logo-accent { font-size: 18px; }
  .popup-banner { height: 56px; }
  .popup-banner { height: 56px; }
}

/* Responsividade */
@media (max-width: 980px) {
    .influencer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compra-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compra-product {
        flex-direction: column;
        text-align: center;
    }
    
    .lead-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 720px) {
    .hero-tb10 {
        padding: 60px 0 40px;
    }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-video-container { max-width: 60vw; }
    
    
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .section .btn.large {
        width: 100%;
        max-width: 420px;
    }
    .hero-video-container {
        max-width: 100%;
    }
    .wrap { width: 100%; max-width: 100% !important; padding: 0 16px; }
    .product-gallery { max-width: 100%; }
    .split-grid,
    .influencer-content,
    .specs-container,
    .compra-container,
    .lead-container { grid-template-columns: 1fr !important; gap: 24px; }
    .specs-product-image,
    .split-main-image,
    .influencer-photo { max-width: 80vw; }
    #como-funciona .benefits-grid { grid-template-columns: 1fr !important; gap: 16px; }
    #como-funciona .benefit-card:nth-child(4) { grid-column: auto !important; }
    #como-funciona .benefit-card { margin: 0; }

@media (max-width: 860px) {
  #como-funciona .benefits-grid { grid-template-columns: 1fr !important; gap: 16px; }
  #como-funciona .benefit-card { width: 100%; }
}

.section { overflow-x: hidden; }
    
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-thumbs {
        gap: 15px;
    }
    
    .thumb {
        min-width: 100px;
        padding: 10px;
    }
    
    .thumb img {
        width: 60px;
        height: 60px;
    }
    
    .influencer-section,
    .galeria-section,
    .beneficios-section,
    .especificacoes-section,
    .videos-section,
    .compra-section,
    .lead-section {
        padding: 60px 0;
    }
    
    .specs-list {
        padding: 30px 20px;
    }
    
    .lead-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 981px) {
    .influencer-content { grid-template-columns: 1fr 1fr; gap: 60px; }
    .specs-container { grid-template-columns: 1fr 1fr; gap: 60px; }
    .compra-container { grid-template-columns: 1fr 1fr; gap: 60px; }
    .lead-container { grid-template-columns: 1fr 1fr; gap: 60px; }
    .split-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

@media (max-width: 480px) {
    .hero-tb10 h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .influencer-text h2,
    .lead-content h2 {
        font-size: 24px;
    }
    
    .influencer-text blockquote {
        font-size: 16px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .spec-item span {
        text-align: left;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .compra-btn {
        font-size: 16px !important;
        padding: 16px 30px !important;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilitários */
.text-center {
    text-align: center !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

/* Otimizações de performance */
.section {
    will-change: transform;
}

.btn {
    will-change: transform;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Alto contraste */
@media (prefers-contrast: high) {
    :root {
        --brand: #0066cc;
        --text: #000000;
        --muted: #333333;
    }
}

/* Impressão */
@media print {
    .whatsapp-float,
    .btn-float-video {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Footer aprimorado */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 12px;
}

.footer-badges .badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.contact-item strong {
    color: #e2e8f0;
}

.contact-info {
    margin: 6px 0 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-btn {
    padding: 10px 16px;
    border-radius: 10px;
}

.btn.whatsapp.footer-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.btn.secondary.footer-btn {
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand);
}

@media (max-width: 980px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-cta {
        margin-top: 12px;
    }
}
