/* B2B Specific Styles */

/* Hero Adjustment */
.hero-b2b {
    background: linear-gradient(120deg, var(--bg-primary) 50%, rgba(255,255,255,0) 100%), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center right;
    background-size: cover;
}

.hero-b2b__tag {
    display: inline-block;
    background: #E81C24;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-b2b__content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-b2b__content h2 {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sections */
.b2b-section {
    padding: 6rem 5%;
}

.bg-white { background-color: var(--bg-primary); }
.bg-gray { background-color: var(--bg-secondary); }
.bg-dark { background-color: #121212; color: white !important; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-light { color: #A0A0A0 !important; }

.container-text-center {
    max-width: 800px;
    margin: 0 auto;
}

/* Grids */
.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.icon-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-primary);
}

.icon-card__img {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Benefit Cards */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.split-layout__text { flex: 1; }
.split-layout__image { flex: 1; }

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hotel-room-img {
    background-image: url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.pain-point-list {
    margin-top: 2rem;
}

.pain-point-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.pain-point-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.pain-point-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Dark Cards */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.dark-card {
    background: #1E1E1E;
    padding: 3rem 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--accent-primary);
}

.dark-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dark-card p {
    color: #A0A0A0;
    font-size: 0.95rem;
}

.dark-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Form Styles */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.b2b-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }
    
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .icon-card {
        padding: 2rem 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-b2b__content h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    animation: none;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* WhatsApp Button Overrides for B2B Flow */
.btn-primary {
    background: #25D366 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28) !important;
}

.btn-primary .wpp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =============================================
   FOOTER B2B
   ============================================= */

.site-footer-b2b {
    background: #E81C24;
    border-top: 3px solid rgba(0,0,0,0.2);
    padding: 3rem 5% 2rem;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-family: inherit;
}

/* --- Links de Políticas --- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Separador visual entre links */
.footer-links a + a::before {
    content: '|';
    margin-right: 1.5rem;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
}

/* --- Bloco Logo + Empresa --- */
.footer-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.footer-logo {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-company p {
    margin: 0;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
}

/* --- Copyright --- */
.footer-copyright {
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 1.25rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
}

/* --- Safe Browsing Badge --- */
.footer-safe {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-safe-badge {
    height: 38px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-safe-badge:hover {
    opacity: 1;
}

/* --- Responsivo Mobile --- */
@media (max-width: 600px) {
    .footer-links {
        gap: 0.5rem 1rem;
    }

    .footer-links a + a::before {
        display: none;
    }

    .footer-logo {
        height: 50px;
    }
}
