/* ================================
   CUSTOM STYLES - ALARES LPS
   ================================ */

/* === GLOBAL FONT === */
body,
html,
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, textarea, select,
.oferta-card,
.inst-card,
.faq-section {
    font-family: 'Carbona', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Preservar fontes de ícones do WordPress */
.dashicons,
.dashicons-before:before,
[class*="dashicons-"]:before,
.wp-admin [class*="icon"],
#wpadminbar * {
    font-family: dashicons !important;
}

/* === HEADER CUSTOM === */
.site-header .logo img {
    filter: brightness(0) invert(1);
}

.site-header .btn-outline {
    border-color: white;
    color: white;
}

.site-header .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

.site-header .btn-outline svg {
    fill: white;
}

.site-header .btn-outline:hover svg {
    fill: var(--color-primary);
}

.btn-text-mobile {
    display: none;
}

/* === HERO BANNER === */
.hero-banner {
    position: relative;
    width: 100%;
    background-image: var(--hero-bg-desktop);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Carbona', sans-serif;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hero-title span {
    display: inline;
    color: #ffffff;
    background-color: var(--color-primary);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 4px 12px;
}

.hero-subtitle {
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: 'Carbona', sans-serif;
    font-weight: 400;
    margin-bottom: 0;
}

.hero-card-wrap {
    flex: 0 0 auto;
}

.hero-card-img {
    display: block;
    max-width: 370px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-banner {
        background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
        padding: 50px 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-card-wrap {
        align-self: center;
    }

    .hero-card-img {
        max-width: 260px;
    }
}

/* Colors */
.color-silver{
    color: #363643 !important;
}

/* Slick Carousel Custom Styles */
.slick-dots {
    bottom: 20px;
    z-index: 10;
}

.slick-dots li button:before {
    color: white;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}

/* === OFERTAS SECTION === */
.ofertas-section {
    background: #f8f9fa;
    padding-top: var(--pad-d-top, 80px);
    padding-bottom: var(--pad-d-bottom, 80px);
    padding-left: var(--pad-d-left, 0);
    padding-right: var(--pad-d-right, 0);
}

.ofertas-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Principal */
.oferta-card {
    position: relative;
    background: #fafbfc;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.oferta-card:has(.feature-plus.active) {
    z-index: 100;
}

.oferta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(91, 60, 255, 0.12);
}

/* Badge Promocional Verde Neon */
.oferta-badge {
    position: absolute;
    top: -12px;
    left: 0px;
    background: linear-gradient(203.46deg, rgb(1, 232, 143) 14.8%, rgb(38, 255, 188) 85.2%);
    color: rgb(54 54 67 / var(--tw-text-opacity));
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    font-family: 'Carbona', sans-serif;
}

/* Header com Gradiente Roxo/Azul */
.oferta-header {
    background: #5a53f7;
    padding: 32px 24px 24px;
    border-radius: 15px 15px 0 0;
}

.oferta-header-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'Carbona', sans-serif;
}

.oferta-speed {
    color: white;
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    font-family: 'Carbona', sans-serif;
}

/* Container de Conteúdo */
.oferta-content {
    padding: 24px;
    overflow: visible;
}

/* Service Box (Logo Alares Play) */
.oferta-service-box {
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.service-logo-img {
    max-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Features List */
.oferta-features {
    margin-bottom: 24px;
    overflow: visible;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f3;
    overflow: visible;
    position: relative;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 15px;
    max-width: 15px;
    height: auto;
    color: #5a53f7;
    fill: currentColor;
    flex-shrink: 0;
}

.feature-item span {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Carbona', sans-serif;
}

.feature-plus {
    width: 24px;
    height: 24px;
    border: 1.5px solid #e8eaed;
    border-radius: 50%;
    background: transparent;
    color: #a0a4a8;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-plus:hover {
    border-color: #5a53f7;
    color: #5a53f7;
}

/* Tooltip */
.feature-plus {
    position: relative;
}

.feature-plus.active::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #363643;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: normal;
    width: 220px;
    text-align: left;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: tooltipFadeIn 0.2s ease;
}

.feature-plus.active::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #363643;
    z-index: 9999;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Preço */
.oferta-price {
    text-align: center;
    margin-bottom: 20px;
}

.oferta-price .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #363643;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
    font-family: 'Carbona', sans-serif;
}

.oferta-price .condition {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

/* Botão CTA Principal - Verde Neon Pill */
.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #01e88f;
    border: 2px solid #01e88f;
    color: #363643;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.625rem 2rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Carbona', sans-serif;
}

.btn-cta:hover {
    filter: brightness(1.05);
    color: #363643;
}

/* Botão Secundário - Verde com Borda */
.btn-outline-green {
    display: block;
    text-align: center;
    width: 100%;
    color: #363643;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.625rem 2rem;
    border: 2px solid #01e88f;
    background: transparent;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Carbona', sans-serif;
}

.btn-outline-green:hover {
    background: #01e88f;
    color: #363643;
}

/* === INSTITUCIONAL SECTION === */
.institucional-section {
    padding-top: var(--pad-d-top, 100px);
    padding-bottom: var(--pad-d-bottom, 100px);
    padding-left: var(--pad-d-left, 0);
    padding-right: var(--pad-d-right, 0);
}

.institucional-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.institucional-content h2 {
    color: var(--color-primary);
    margin-bottom: 30px;
    font-family: 'Carbona', sans-serif;
}

.institucional-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.inst-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.inst-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.inst-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #5a53f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inst-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: 'Carbona', sans-serif;
}

.inst-card .small-text {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 15px;
}

/* === FAQ SECTION === */
.faq-section {
    background: var(--color-bg-light);
    padding-top: var(--pad-d-top, 100px);
    padding-bottom: var(--pad-d-bottom, 100px);
    padding-left: var(--pad-d-left, 0);
    padding-right: var(--pad-d-right, 0);
}

.faq-section h2 {
    color: var(--color-primary);
    margin-bottom: 60px;
    font-family: 'Carbona', sans-serif;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.faq-image {
    position: sticky;
    top: 120px;
    min-height: 500px;
    /* background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); */
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--color-bg-light);
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 10px 30px 10px 30px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--color-secondary);
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a53f7 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: white;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 20px;
}

/* === WHATSAPP FLUTUANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    color: #363643;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #363643;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}



/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
    }
    
    .faq-image {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Prevenir overflow horizontal */
    body {
        overflow-x: hidden;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    /* Em mobile, mostrar apenas o CTA de WhatsApp ("Contrate") e ocultar o de telefone */
    .site-header .btn.btn-header-tel {
        display: none;
    }

    .site-header .btn.btn-header-whatsapp {
        display: inline-flex;
    }

    .site-header .btn-header-whatsapp .btn-text-desktop {
        display: none;
    }

    .site-header .btn-header-whatsapp .btn-text-mobile {
        display: inline;
    }

    /* Ajustar espaçamento do header em mobile */
    .site-header .header-buttons {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }

    .site-header .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Reduzir padding das seções no mobile */
    .ofertas-section,
    .institucional-section,
    .faq-section {
        padding-top: var(--pad-m-top, 40px);
        padding-bottom: var(--pad-m-bottom, 40px);
        padding-left: var(--pad-m-left, 0);
        padding-right: var(--pad-m-right, 0);
    }
    
    /* Ajuste do container para permitir scroll horizontal */
    .ofertas-section {
        overflow: visible;
    }
    
    .ofertas-section .container {
        padding: 0;
        overflow: visible;
    }
    
    /* Cards de ofertas em scroll horizontal */
    .ofertas-slider {
        display: flex !important;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 20px;
        padding: 20px;
        margin: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        /* Ocultar scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .ofertas-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .oferta-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .oferta-speed {
        font-size: 2rem;
    }
    
    .oferta-price .price {
        font-size: 2rem;
    }
    
    .institucional-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-block {
        width: 100%;
    }
}

.slick-dotted.slick-slider {
    margin-bottom: 0px !important;
}

.py-0{
    padding-top:0px;
    padding-bottom:0px;
}
.my-0{
    margin-top:0px;
    margin-bottom:0px;
}