:root {
    --primary-color: #002b8c;
    --accent-color: #19b53a;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Header */
.site-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/background/bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.site-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.site-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Seção de Planos */
.plans-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.plan-card {
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.plan-card .card-header {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 16px 16px 0 0 !important;
    padding: 24px 16px 12px 16px;
}

.plan-card .card-body {
    padding: 32px 16px 24px 16px;
}

.plan-price {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.08rem;
    text-align: left;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Seção de Cobertura */
.coverage-section {
    padding: 120px 0;
}

.coverage-map {
    background-image: url('../images/QUEM-SOMOS-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Seção de Contato */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color) !important;
    color: white;
    padding: 50px 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

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

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
}

.navbar .navbar-brand, .site-footer {
    color: #fff !important;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar .nav-link.active, .navbar .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Botões principais */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #128c2c;
    border-color: #128c2c;
}

/* Links de ação */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--accent-color);
}

/* Responsividade */
@media (max-width: 991px) {
    .plan-card .card-body {
        padding: 24px 8px 16px 8px;
    }
    .plan-card .card-header {
        padding: 16px 8px 8px 8px;
    }
}

@media (max-width: 767px) {
    .plan-card {
        margin-bottom: 20px;
    }
    .plan-price {
        font-size: 1.5rem;
    }
}

/* Scrollbar customizado melhorado */
body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

body::-webkit-scrollbar {
    width: 10px;
    background: var(--light-color);
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.3s;
}
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #001a5e, #128c2c);
}
body::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 12px;
}

/* Responsive fixes for mobile devices */
@media screen and (max-width: 768px) {
    /* Header adjustments */
    .site-header {
        padding: 2rem 1rem;
        text-align: center;
        background-position: center;
        background-size: cover;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }

    .site-header .container {
        padding: 0 15px;
        width: 100%;
    }

    .site-header h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .site-header p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        max-height: 35px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    /* Contact section adjustments */
    .contact-section .card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .contact-section h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .contact-section p {
        font-size: 1rem;
        margin-bottom: 0;
        word-break: break-word;
    }

    /* Footer adjustments */
    footer {
        text-align: center;
        padding: 1rem;
    }

    footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    /* General text alignment */
    .text-center-mobile {
        text-align: center !important;
    }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button adjustments */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }

    /* Fix for long text in cards */
    .card {
        word-wrap: break-word;
    }

    /* Specific fixes for Xiaomi devices */
    @media screen and (min-width: 393px) and (max-width: 415px) {
        .site-header h1 {
            font-size: 1.8rem;
            padding: 0 10px;
        }

        .site-header p {
            padding: 0 15px;
        }

        .contact-section .card {
            margin: 0.5rem 15px;
        }
    }
}

/* Base styles enhancement */
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* Fix for address text wrapping */
.contact-section .card p {
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
} 