/*
Theme Name: Black Friday V2 - Alares Internet
Description: Tema WordPress para landing page da Alares Internet - Planos de Internet Residencial
Version: 1.0
Author: Alares Internet
*/

/* Custom CSS for Alares Pro Landing Page */

/* Font Face Declarations */
@font-face {
    font-family: 'Carbona';
    src: url('./assets/fonts/Carbona-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Carbona';
    src: url('./assets/fonts/Carbona-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Carbona';
    src: url('./assets/fonts/Carbona-Black.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Root Variables */
:root {
    --primary-color: #5a53f7;
    --secondary-color: #0F0952;
    --accent-color: #36efa2;
    --text-light: #e2e8f0;
    --dark-blue: #050133;
    --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --dark: #363643;
}

#contato .row{
    align-items: flex-end !important;
}

/* Global Styles */
* {
    scroll-behavior: smooth !important;

}

body {
    max-width: 100vw;
}


html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Carbona', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-weight: 400;
}

/* Header Styles */
header {
    position: relative;
    z-index: 1000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Carbona', sans-serif;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.benefits-section h2 {
    font-size: 2.5rem;
}

.testimonials-section h2 {
    font-size: 1.875rem;
}

.contact-section h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

h5 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
}

h6 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.testimonial-author h6 {
    font-size: 1.8rem;
}

.p-section {
    padding: 60px 0px;
}

@media (max-width: 768px) {
    .p-section {
        padding: 80px 0px;
    }
}

.logo {
    height: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 670px;
    margin-top: -140px;
    padding-top: 235px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Carbona', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-family: 'Carbona', sans-serif;
    font-weight: 300;
}

.hero-section .text-success {
    color: var(--accent-color) !important;
}

/* Plans Section */
.plans-section {
    /* background: var(--gradient-bg); */
}

.plans-section .row {
    display: flex;
    flex-wrap: wrap;
}

.plans-section .col-lg-3,
.plans-section .col-md-6 {
    display: flex;
    align-items: stretch;
}

.plan-card.contrast {
    background: var(--primary-color) !important;
}

.plan-card {
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px !important;
    padding: 20px 0px;
    border-radius: 0px 0px 50px 0px !important;
    background: #f1f1fa;
    border: 1px solid rgb(209 213 219);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card h3,
.plan-card span,
.plan-card p,
.plan-card small,
.plan-card h4,
.plan-card .fs-1,
.plan-card .text-white {
    color: #000 !important;
}
.plan-card .text-success,
.plan-card i.text-success {
    color: var(--accent-color) !important;
}
.plan-card.contrast h3,
.plan-card.contrast span,
.plan-card.contrast p,
.plan-card.contrast small,
.plan-card.contrast h4,
.plan-card.contrast .fs-1,
.plan-card.contrast .text-white {
    color: #fff !important;
}
.plan-card.contrast .text-success,
.plan-card.contrast i.text-success {
    color: var(--accent-color) !important;
}
.plan-card.contrast .badge {
    color: #000 !important;
}



.plan-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.plan-card .cents{
    position: absolute;
    font-size: 16px;
    margin-top: 10px;
}
.plan-card .month{
    font-size: 12px;
    font-weight: 800;
}

.wifi-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
}

.badge {
    margin-top: -30px;
    display: block;
    width: fit-content;
    border-radius: 0 0 30px 0;
    margin-left: -1px;
    padding: 10px 30px;
    font-size: 14px;
    color: #000 !important;
}

.service-icons img {
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    background-color: #fff;
}

.price .fs-1 {
    font-size: 3rem !important;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    background: var(--gradient-bg);
}

.benefit-card {
    transition: transform 0.3s ease;
    border-radius: 10px !important;
    /* border: 1px solid #241A8F !important; */
    background: #fff !important;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon .badge {
    font-size: 1.1rem;
    font-weight: 700;
}

.benefit-icon h3 {
    font-weight: 800;
    line-height: 1.1;
}

/* FAQ Section */
.faq-section {
    background: var(--gradient-bg);
}

/* Custom Accordion Styles */
.custom-accordion-button {
    background: var(--dark-blue) !important;
    /* border: 1px solid rgba(255, 255, 255, 0.1) !important; */
    border-radius: 8px !important;
    color: #fff !important;
    padding: 20px 24px !important;
    transition: all 0.3s ease !important;
    position: relative;
    display: flex;
    align-items: center;
}

.custom-accordion-button:hover {
    /* background: rgba(255, 255, 255, 0.1) !important; */
    /* border-color: rgba(213, 241, 22, 0.3) !important; */
}

.custom-accordion-button:focus {
    /* box-shadow: 0 0 0 0.25rem rgba(213, 241, 22, 0.25) !important; */
    /* border-color: var(--accent-color) !important; */
}

.custom-accordion-button:not(.collapsed) {
    /* background: rgba(213, 241, 22, 0.1) !important; */
    /* border-color: var(--accent-color) !important; */
    color: white !important;
}

/* Remove Bootstrap default arrow */
.custom-accordion-button::after {
    display: none !important;
}

/* Custom accordion icon styles */
.accordion-icon {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1;
}

.accordion-icon:hover {
    transform: scale(1.1);
}

/* Smooth transition when changing icon source */
.accordion-icon {
    animation: fadeInIcon 0.2s ease-in-out;
}

@keyframes fadeInIcon {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.accordion-item {
    background: transparent !important;
    border: none !important;
    margin-bottom: 12px !important;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 24px !important;
    margin-top: -1px;
}

/* Icon styling for FAQ items */
.accordion-button i {
    font-size: 1.1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) i {
    opacity: 1;
    transform: scale(1.1);
}

/* Accordion animation classes */
.accordion-opening {
    animation: accordionSlideDown 0.4s ease-out;
}

.accordion-closing {
    animation: accordionSlideUp 0.4s ease-in;
}

.accordion-open {
    opacity: 1;
}

/* Accordion animations */
@keyframes accordionSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes accordionSlideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* Enhanced focus states for accessibility */
.accordion-button:focus-visible {
    /* outline: 2px solid var(--accent-color); */
    outline-offset: 2px;
}

/* Smooth transitions for all accordion elements */
.accordion-item,
.accordion-button,
.accordion-body {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0px;
}

.accordion-item a {
    text-decoration: none;
}

.accordion-flush .accordion-item .accordion-button,
.accordion-flush .accordion-item .accordion-button.collapsed {
    border-radius: 0px !important;
    padding: 0px 0 15px 0 !important;
    /* border-bottom: 1px solid #cccccc2e; */
}

/* Accordion loading states */
.accordion-ready {
    animation: fadeInAccordion 0.6s ease-out;
}

.accordion-loaded {
    animation: slideInAccordion 0.5s ease-out backwards;
}

@keyframes fadeInAccordion {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInAccordion {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Additional Plans Section */
.additional-plans-section {
    background: var(--gradient-bg);
}

.additional-plans-section .card {
    transition: transform 0.3s ease;
    border-radius: 0px 0px 50px 0px !important;
    border: 1px solid #241A8F !important;
    background: #fff !important;
}

.additional-plans-section .card:hover {
    transform: translateY(-5px);
}

/* Buttons */

#planos .btn {
    -webkit-box-shadow: 0px 0px 0px 4px var(--accent-color);
    box-shadow: 0px 0px 0px 4px var(--accent-color);
    border: 3px solid #f1f1fa;
}
#planos .plan-card-contrast .btn {
    -webkit-box-shadow: 0px 0px 0px 4px var(--accent-color);
    box-shadow: 0px 0px 0px 4px var(--accent-color);
    border: 3px solid #5a53f7;
}

@media (max-width: 768px) {
    #planos .container-sm {
        padding: 0px !important;
    }
}

.btn,
.btn-success {
    font-family: 'Carbona', sans-serif;
    font-size: 13px !important;
}

.btn-success {
    background: var(--accent-color);
    color: var(--dark);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var(--dark);
}

.btn-success-white {
    background: #fff;
    color: var(--dark);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-success-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var(--dark);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Text Colors */
.text-success {
    color: var(--accent-color) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.text-blue {
    color: var(--primary-color) !important;
}

/* Background Colors */
.bg-primary {
    background: var(--primary-color) !important;
}

.bg-light-primary {
    background: rgb(241 241 250) !important;
}

.bg-secondary {
    background: var(--secondary-color) !important;
}

.bg-dark {
    background: var(--dark-blue) !important;
}

.bg-green {
    background: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .plan-card {
        margin-bottom: 2rem;
        min-width: 280px;
    }

    .price .fs-1 {
        font-size: 2.5rem !important;
    }

    .additional-plans-section .card-body {
        flex-direction: column;
        text-align: center;
    }

    .additional-plans-section .ms-4 {
        margin: 1rem 0 0 0 !important;
    }

    /* Scroll horizontal para planos no mobile */
    .plans-section .row.g-4 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 1rem;
        padding-bottom: 1rem;
        margin: 0;
    }

    .plans-section .col-lg-4 {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    /* Remover scrollbar */
    .plans-section .row.g-4::-webkit-scrollbar {
        display: none;
    }

    .plans-section .row.g-4 {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Adicionar padding nas laterais para melhor visualização */
    .plans-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    /* background: url(hero-bg-3.png) no-repeat center center; */
    background: url("./assets/images/hero-bg-3.png") no-repeat center center;

    background-size: cover;
    background-attachment: fixed;
    /* image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden; */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .hero-section {
        background: url("./assets/images/hero-bg-mobile-3.png") no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
        /* image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        -webkit-backface-visibility: hidden; */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        height: 810px;
        padding-top: 195px;
    }

    .hero-section h1 {
        font-size: 30px !important;
    }

    .hero-section p {
        font-size: 24px !important;
    }

}

.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section h1 {
    font-size: 36px;
}

.hero-section p {
    animation-delay: 0.2s;
    font-size: 24px;
}

.hero-section .btn {
    animation-delay: 0.4s;
}

/* Utility Classes */
.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

.card h3 {
    font-size: 32px;
}

.text-underline {
    text-decoration: underline !important;
}

@media(max-width: 768px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        width: 95%;
    }
}

/* Service Logos Styles */
.service-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.service-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #D5F316;
    transition: transform 0.2s ease;
}

.service-logo:hover {
    transform: scale(1.1);
}

.service-logo img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .service-logo {
        width: 28px;
        height: 28px;
    }

    .service-logo img {
        width: 16px;
        height: 16px;
    }

    /* Layout mobile para cards de planos - efeito de continuidade */
    .plans-section .row {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding: 0 15px;
        margin: 0 -15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .plans-section .col-lg-3,
    .plans-section .col-md-6 {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        padding-right: 15px;
    }

    .plans-section .col-lg-3:first-child,
    .plans-section .col-md-6:first-child {
        padding-left: 15px;
    }

    .plans-section .col-lg-3:last-child,
    .plans-section .col-md-6:last-child {
        padding-right: 30px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
}

/* Footer Styles */
.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

.security-badges .badge-item {
    transition: transform 0.3s ease;
}

.security-badges .badge-item:hover {
    transform: translateX(5px);
}
