/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --accent: #ff7f00;
    --light-bg: #f8f9fc;
    --card-radius: 20px;
    --shadow-card: 0 12px 30px rgba(0,0,0,0.08);
    --hero-gradient: linear-gradient(135deg, #0b1a33 0%, #1a3a6b 100%);
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* BARRA DE ROLAGEM */

/* Padrão Firefox */
{
  scrollbar-width: thin;
  scrollbar-color: orange #f1f1f1; /* 1º cor: puxador (thumb), 2º cor: fundo (track) */
}

/* Padrão Chrome, Edge e Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e67e22; /* Laranja um pouco mais escuro ao passar o mouse */
}

/* FIM BARRA DE ROLAGEM */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: #1e293b;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
    text-decoration: none;
    animation: pulse-whats 2s infinite;
    border: 2px solid #fff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20b85f;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip-text {
    display: none;
    position: absolute;
    right: 70px;
    background: #1e293b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .tooltip-text {
    display: block;
}

@keyframes pulse-whats {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== HERO ===== 
.hero {
    background: var(--hero-gradient);
    padding: 80px 0 70px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -0.02em;
}

.hero .badge-cta {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 60px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}*/

/* ===== HERO PRINCIPAL ===== */
.hero {
    background: linear-gradient(135deg, #0b1a33 0%, #1a3a6b 60%, #0d2b4f 100%);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Efeitos de fundo decorativos */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Badge CTA */
.hero .badge-cta {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 60px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* Botão CTA */
.hero .hover-scale {
    transition: all 0.3s ease;
}

.hero .hover-scale:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.3);
}

/* Badges das operadoras */
.hero .badge.bg-white.bg-opacity-10 {
    transition: all 0.3s ease;
    cursor: default;
}

.hero .badge.bg-white.bg-opacity-10:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

/* Imagem Hero */
.hero .position-relative img {
    transition: transform 0.5s ease;
}

.hero .position-relative img:hover {
    transform: scale(1.01);
}

/* Selos flutuantes */
.hero .position-absolute .bg-primary,
.hero .position-absolute .bg-success {
    animation: floatY 3s ease-in-out infinite;
}

.hero .position-absolute .bg-success {
    animation-delay: 1.5s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ===== SEÇÃO COMO FUNCIONA ===== */
.section-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0b1a33;
}

.badge-provedor {
    background: white;
    padding: 10px 18px;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-weight: 600;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e9edf2;
}

/* ===== CARDS PLANOS ===== */
.card-plano {
    border: none;
    border-radius: var(--card-radius);
    background: white;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    padding: 1.5rem 1.2rem;
}

.card-plano:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-plano .operadora-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 14px;
    border-radius: 40px;
    background: #eef2f6;
    color: #1e293b;
    display: inline-block;
}

.card-plano .preco {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1a33;
}

.card-plano .preco small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary);
}

/* ===== MARGEM DE ITENS DE LISTA ===== */
.custom-li li{
	margin-bottom: 10px;
	font-size: .875em;
}

.btn-contratar {
    background: var(--primary);
    color: white;
    border-radius: 60px;
    padding: 10px 0;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: 0.15s;
}

.btn-contratar:hover {
    background: var(--primary-dark);
    color: white;
}

/* ===== MODAL / DIALOG ===== */
.dialog-overlay {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}

.dialog-content {
    background: white;
    border-radius: 28px;
    max-width: 520px;
    width: 100%;
    padding: 2rem 1.8rem;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    0% { opacity: 0; transform: scale(0.95) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.dialog-content .form-control {
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid #dce1e8;
}

.dialog-content .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.btn-pedir {
    background: var(--accent);
    color: white;
    border-radius: 60px;
    font-weight: 700;
    padding: 14px;
    width: 100%;
    border: none;
    transition: 0.15s;
}

.btn-pedir:hover {
    background: #e06e00;
    color: white;
}

/* Animação de fade para o loading */
#loadingOverlay {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Estilo para o botão desabilitado */
.btn-pedir:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
.footer-custom {
    background: #0b1a33;
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Efeito de hover nos links */
.hover-scale {
    transition: all 0.25s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Link Afiliados em destaque */
.footer-custom a.bg-success.bg-opacity-25 {
    transition: all 0.3s ease;
}

.footer-custom a.bg-success.bg-opacity-25:hover {
    background: rgba(25, 135, 84, 0.4) !important;
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.2);
}

/* Links do Instagram */
.footer-custom a[href*="instagram"]:hover {
    color: #E4405F !important;
}

.footer-custom a[href*="instagram"]:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Ícones com hover */
.footer-custom .bi {
    transition: transform 0.25s ease;
}

.footer-custom a:hover .bi {
    transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-custom .row > div {
        text-align: center !important;
    }
    
    .footer-custom .d-flex.justify-content-md-start {
        justify-content: center !important;
    }
    
    .footer-custom .d-flex.justify-content-md-end {
        justify-content: center !important;
    }
    
    .footer-custom .gap-4 {
        gap: 1rem !important;
    }
}
/* ===== FOOTER END ===== */


/* responsividade 
@media (max-width: 768px) {
    .hero h1 {
    font-size: 2.4rem;
    }
    .whatsapp-float .tooltip-text {
    display: none !important;
    }
}*/

/* Responsivo */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 40px 0 50px;
    }
    
    .hero .display-4 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero .btn-warning {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 0 40px;
    }
    
    .hero .display-4 {
        font-size: 2rem;
    }
    
    .hero .badge-cta {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .hero .position-absolute {
        display: none !important;
    }
    
    .hero .d-flex.gap-3 {
        gap: 0.75rem !important;
    }
    
    .hero .badge.bg-white.bg-opacity-10 {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

@media (max-width: 576px) {
    .hero .display-4 {
        font-size: 1.6rem;
    }
    
    .hero .lead {
        font-size: 0.9rem;
    }
    
    .hero .btn-warning {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero .badge-cta {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
}