/* Importações de Fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Variáveis CSS (Cores e Fontes) */
:root {
    --primary-color: #007bff; /* Azul vibrante */
    --secondary-color: #28a745; /* Verde para sucesso/CTA */
    --dark-blue: #0056b3;
    --light-grey: #f4f7f6;
    --dark-grey: #333;
    --text-color: #555;
    --heading-color: #333;
    --poppins: 'Poppins', sans-serif;
}

/* Reset Básico e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--poppins);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-grey);
    overflow-x: hidden; /* Evita scroll horizontal indesejado */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px; /* Mais arredondado */
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-nav-whatsapp {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.btn-nav-whatsapp:hover {
    background-color: #218838;
    color: white;
}

.section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3em;
    color: var(--text-color);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste conforme seu logo */
    vertical-align: middle;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 85vh; /* Altura da tela */
    overflow: hidden;
    margin-top: 80px; /* Para não sobrepor o header fixo */
}

.swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay escuro */
    z-index: 1;
}

/* Substitua pelas suas imagens de fundo */
.hero-slide-1 { background-image: url('img/hero_background_1.jpg'); }
.hero-slide-2 { background-image: url('img/hero_background_2.jpg'); }
.hero-slide-3 { background-image: url('img/hero_background_3.jpg'); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.6em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Swiper Navegação e Paginação */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    --swiper-navigation-size: 40px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0,0,0,0.5);
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.6) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}


/* --- Serviços Section --- */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-bottom-color: var(--primary-color);
}

.service-card .icon-wrapper {
    background-color: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5em;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.service-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.service-card p {
    font-size: 1.05em;
    color: var(--text-color);
}

/* --- Por Que Netwireless? Section --- */
.why-us-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/why_us_bg.jpg') no-repeat center center/cover;
    color: white;
}

.why-us-section h2, .why-us-section p.section-subtitle {
    color: white;
}

.why-us-section h2::after {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-item i {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 3.5em;
}

.feature-item h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--light-grey);
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    margin-top: 50px;
}

.contact-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form-content {
    flex: 2;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 600px; /* Limita a largura do form */
}

.contact-form-content .form-group {
    margin-bottom: 20px;
}

.contact-form-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
}

.contact-form-content input[type="text"],
.contact-form-content input[type="email"],
.contact-form-content input[type="tel"],
.contact-form-content textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-content input:focus,
.contact-form-content textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.contact-form-content textarea {
    resize: vertical;
    min-height: 100px;
}

/* Mensagens de Status */
.message-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}
.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CTA WhatsApp Grande */
.whatsapp-cta-large {
    background-color: #e6ffed; /* Um verde bem suave */
    padding: 40px;
    border-radius: 15px;
    margin-top: 80px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid var(--secondary-color);
}

.whatsapp-cta-large h3 {
    color: var(--secondary-color);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.whatsapp-cta-large p {
    font-size: 1.3em;
    color: var(--heading-color);
    margin-bottom: 30px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25d366; /* Verde WhatsApp oficial */
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-large i {
    font-size: 1.2em;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-grey);
    color: white;
    padding: 60px 0 20px;
    font-size: 0.95em;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-col .social-links a {
    color: white;
    font-size: 1.8em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-col .social-links a:hover {
    color: var(--primary-color);
}

.footer-col p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 20px;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.3em;
    }
    .services-grid, .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .contact-form-wrapper {
        flex-direction: column;
    }
    .contact-image {
        order: 1; /* Imagem acima do formulário em mobile */
        margin-bottom: 30px;
    }
    .contact-form-content {
        order: 2;
        padding: 30px;
    }
    .footer-col {
        min-width: 100%;
        text-align: center;
    }
    .footer-col h3::after {
        margin: 10px auto 0;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    .main-nav {
        margin-top: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li {
        margin: 5px 15px;
    }
    .hero-slider {
        height: 70vh;
        margin-top: 120px; /* Ajuste para o header em mobile */
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .section {
        padding: 60px 0;
    }
    .section h2 {
        font-size: 2.2em;
    }
    .section-subtitle {
        font-size: 1.1em;
    }
    .service-card, .feature-item {
        padding: 30px 20px;
    }
    .whatsapp-cta-large h3 {
        font-size: 2em;
    }
    .btn-whatsapp-large {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    .main-nav ul li {
        margin: 5px 10px;
    }
    .hero-slider {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .section h2 {
        font-size: 1.8em;
    }
    .section-subtitle {
        font-size: 1em;
    }
    .btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .service-card .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }
    .service-card h3 {
        font-size: 1.5em;
    }
    .whatsapp-cta-large {
        padding: 30px;
    }
    .whatsapp-cta-large h3 {
        font-size: 1.8em;
    }
}