/* Custom CSS for Alares Pro Landing Page */

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

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

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

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

/* 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-weight: 700;
}

h2{
    font-size: 30px;
    font-weight: 700;
}

h3 {
    font-weight: 700;
}

h4 {
    font-weight: 400;
}

.p-section {
    padding: 100px 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);
}

.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;
    border: 1px solid #241A8F !important;
    background: #0F0952 !important;
}

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

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

.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: 0px 0px 50px 0px !important;
    border: 1px solid #241A8F !important;
    background: #050133 !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: #050133 !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 #0F0952;
}
@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-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

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

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

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

.bg-dark {
    background: var(--dark-blue) !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("https://www.alaresinternet.com.br/indoalem/wp-content/uploads/2025/08/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(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%;
    }
}