/*
* Estilos CSS Refatorados para MaxNet Fibra
* Organização, modernidade e facilidade de manutenção.
*/

/* -------------------- VARIÁVEIS CSS -------------------- */
:root {
    --color-brand: #0275d8;
    /* Azul Principal */
    --color-dark: #333333;
    /* Cor para textos e elementos escuros */
    --color-light: #f8f9fa;
    /* Fundo de seções claras */
    --color-white: #ffffff;
    --font-family-body: 'Poppins', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s ease;
}

/* -------------------- ESTILOS GERAIS -------------------- */
body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    background-color: var(--color-white);
    color: var(--color-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--color-dark);
}

p {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.section-padding {
    padding: 80px 0;
}

.line {
    width: 60px;
    height: 3px;
    background-color: var(--color-brand);
    margin: 16px auto 32px;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

/* -------------------- BOTÃO DE WHATSAPP -------------------- */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 1000;
    animation: pulse 2s infinite;
    color: var(--color-white);
    font-size: 28px;
    transition: var(--transition);
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* -------------------- NAVBAR -------------------- */
.navbar .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* -------------------- BOTÕES -------------------- */
.btn-brand {
    background-color: var(--color-brand);
    color: var(--color-white);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    border: 2px solid var(--color-brand);
    transition: var(--transition);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.btn-outline-brand {
    background-color: transparent;
    color: var(--color-brand);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    border: 2px solid var(--color-brand);
    transition: var(--transition);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: var(--color-brand);
    color: var(--color-white);
}

/* -------------------- ÍCONES E CAIXAS -------------------- */
.iconbox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-brand);
    color: var(--color-white);
    border-radius: 10px;
    font-size: 30px;
    transition: var(--transition);
}

.iconbox-sm {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--color-brand), 0.1);
    color: var(--color-brand);
    border-radius: 10px;
    font-size: 24px;
    transition: var(--transition);
}

/* -------------------- SEÇÕES E COMPONENTES -------------------- */
#hero {
    position: relative;
    z-index: 1;
}

#hero .display-1 {
    font-size: 5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    #hero .display-1 {
        font-size: 3.5rem;
    }
}

.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-brand);
}

.service-card ul {
    font-size: 1rem;
    padding-left: 0;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.service-card li:last-child {
    border-bottom: none;
}

#counter {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./../images/bg_counter.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#reviews .review {
    position: relative;
}

#reviews .review-head {
    border-radius: 10px;
}

#reviews .review img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* -------------------- FOOTER -------------------- */
.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-white);
}

.footer-contact li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--color-brand);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 20px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-brand);
    color: var(--color-white);
}