/* Variáveis de Cores */
:root {
    --primary: #64FFDA; /* Ciano Elétrico */
    --secondary: #1D2A4A; /* Azul mais claro para cards */
    --text-dark: #FFFFFF; /* Branco */
    --text-light: #8892B0; /* Cinza Espacial */
    --background: #0A192F; /* Azul Noturno */
    --whatsapp: #25D366;
    --alert: #e74c3c;
}

/* Reset e Configurações Globais */
body { 
    font-family: 'Segoe UI', system-ui, sans-serif; 
    margin: 0; 
    color: var(--text-light); 
    line-height: 1.6; 
    background-color: var(--background);
    background-image: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1592659762303-90081d34b277?q=80&w=1973&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Barra de Navegação */
.navbar {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.logo img {
    max-height: 45px; /* Aumentado levemente pois a logo é retangular */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}


/* Tipografia */
h1, h2, h3 { 
    color: var(--text-dark); 
    margin-bottom: 0.5rem; 
}
/* Estilo para ícones dentro dos títulos */
h2 > i, h3 > i {
    margin-right: 10px;
    color: var(--primary);
}

p { 
    margin-bottom: 1rem; 
    color: var(--text-light); 
}
strong { 
    color: var(--primary); 
}

/* Classes Utilitárias */
.text-center { text-align: center; }
.no-margin { margin: 0; }
.subtitle-max { max-width: 700px; margin: 0 auto; }

/* Estrutura e Containers */
.container { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 20px; 
}
section { 
    padding: 3rem 0; 
    border-bottom: 1px solid rgba(136, 146, 176, 0.1);
}
section:last-of-type {
    border-bottom: none;
}


/* Hero Content */
.hero-content {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Botão Principal (CTA) */
.btn-cta { 
    display: inline-block; 
    background: var(--primary); 
    color: #0A192F; 
    padding: 15px 35px; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: bold; 
    font-size: 1.1rem; 
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
    transition: all 0.3s;
}
.btn-cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.3);
    background: white;
}

/* Seções com Grid (Diferenciais e Serviços) */
.features { 
    background: transparent;
}
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 2rem; 
}
.card { 
    background: var(--secondary); 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 { 
    font-size: 1.4rem; 
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Seção Sobre / Márcio */
.about { 
    text-align: center; 
}
.highlight-box { 
    background: var(--secondary);
    padding: 25px; 
    border-radius: 8px; 
    display: inline-block; 
    margin-top: 20px; 
    border: 1px solid var(--primary); 
}
.faq-section {
    margin-top: 3rem;
}

/* Mapa Embutido */
.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 para responsividade */
    margin-top: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Botões de Rota (Como Chegar) */
.route-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-route {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-route:hover {
    transform: translateY(-3px);
}

.btn-maps {
    background-color: #EA4335;
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
}
.btn-maps:hover {
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.5);
}

.btn-waze {
    background-color: #33CCFF;
    color: #011226;
    box-shadow: 0 4px 15px rgba(51, 204, 255, 0.3);
}
.btn-waze:hover {
    box-shadow: 0 6px 20px rgba(51, 204, 255, 0.5);
}

/* Rodapé */
footer { 
    background: #011226; 
    color: var(--text-light); 
    text-align: center; 
    padding: 3rem 1rem; 
    font-size: 0.9rem; 
}
.footer-logo {
    height: 90px; /* Altura do retângulo */
    width: 160px; /* Largura maior para formar o formato retangular */
    object-fit: cover; /* Preenche o espaço sem esticar a imagem */
    object-position: center; /* Garante que o centro da foto fique em evidência */
    margin-bottom: 1rem;
    opacity: 0.9;
    border-radius: 8px; /* Bordas levemente arredondadas, combinando com o resto do site */
    border: 2px solid var(--primary); 
}
footer h3 {
    color: white;
}
footer p { 
    color: #8892B0;
    max-width: 500px;
    margin: 0 auto 1rem auto;
}
.copyright {
    margin-top: 30px; 
    font-size: 0.8rem;
    color: #5f6b84;
}

/* Botão Flutuante do WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.fab-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsividade para Celulares */
@media (max-width: 600px) { 
    header h1 { 
        font-size: 2.2rem; 
    } 
    header { 
        padding: 3rem 1rem; 
    }
}

/* FAQ Section */
.faq-container {
    padding-bottom: 4rem;
}

.faq-grid {
    margin-top: 2rem;
    display: grid;
    gap: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--secondary);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.faq-item summary {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    position: relative;
    color: var(--text-dark);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.8rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding-top: 4rem;
    position: relative;
}

.testimonial-swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    height: 300px; /* Allow slides to have different heights if needed */
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This will space out the content */
    width: 100%;
    height: 100%; /* Make card take full height of the slide */
}

.testimonial-card .stars {
    color: #FFC107; /* Amarelo para estrelas */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    flex-grow: 1; /* Allow the paragraph to take up available space */
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary);
    margin-top: 1.5rem; /* Increased margin for better spacing */
    text-align: right;
}

/* Swiper Pagination and Navigation */
.testimonial-swiper .swiper-pagination {
    position: relative;
    margin-top: 20px;
    z-index: 1;
    bottom: auto;
}

.swiper-pagination-bullet {
    background: var(--text-light);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    width: 50px; /* Increased size */
    height: 50px; /* Increased size */
    background-color: rgba(29, 42, 74, 0.8); /* Slightly transparent background */
    border-radius: 50%;
    border: 1px solid var(--primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.swiper-button-next::after, .swiper-button-prev::after {
    content: ''; /* This is what was missing */
    font-family: "Font Awesome 6 Free"; /* Make sure you have font-awesome loaded */
    font-weight: 900;
    font-size: 1.4rem; /* Increased font size */
}

.swiper-button-prev::after {
    content: '\f053'; /* Font Awesome left chevron */
}

.swiper-button-next::after {
    content: '\f054'; /* Font Awesome right chevron */
}