/* Cores e definições globais */
:root {
    --primary-color: #0055b3; /* Azul principal */
    --primary-dark: #003982;
    --primary-light: #3a84e0;
    --accent-color: #00c3ff; /* Azul accent */
    --accent-light: #7adfff;
    --dark-blue: #002855;
    --text-dark: #333333;
    --text-light: #ffffff;
}

/* Base styles */
html, body {
    background-color: #ffffff;
    color: var(--text-dark);
    color-scheme: light;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Sistema de contêineres */
section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.site-container {
    width: 100%;
    max-width: 1140px;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.content-container {
    width: 100%;
    max-width: 800px;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

/* Texto e cores */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-highlight {
    color: var(--accent-color);
    font-weight: bold;
}

.text-highlight-bg {
    background-color: var(--primary-color);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
    font-weight: bold;
}

/* Estilos de botões */
.whatsapp-green {
    background-color: #25D366;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section - Ajustada para centralizar melhor o conteúdo no mobile */
.hero-section {
    background-image: url('../img/hero-bg.jpeg');
    background-color: rgba(0, 0, 0, 0.7); /* Fallback */
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 90vh; /* Reduzido para ficar mais compacto */
}

.hero-overlay {
    width: 100%;
    min-height: 90vh; /* Reduzido para corresponder à hero-section */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centralização vertical */
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem 0;
}

.emergency-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--dark-blue));
    color: white;
    text-align: center;
    animation: slidein 0.5s ease-out;
    z-index: 10;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.emergency-pulse {
    animation: pulse 2s infinite;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    animation: fadein 1s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem; /* Reduzido */
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-info-card {
    background-color: rgba(0, 40, 85, 0.8);
    border-left: 4px solid var(--accent-color);
    padding: 1rem; /* Reduzido */
    border-radius: 0.5rem;
    margin-bottom: 1.25rem; /* Reduzido */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem; /* Reduzido */
}

.hero-feature {
    background-color: rgba(0, 85, 179, 0.3);
    border: 1px solid rgba(0, 195, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background-color: rgba(0, 85, 179, 0.6);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    color: var(--dark-blue);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 12px;
    font-weight: 900;
}

.cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-whatsapp:hover {
    background: linear-gradient(135deg, #20BD5A, #0F7A6E);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
}

.cta-whatsapp i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
    vertical-align: middle;
}

.phone-alternative {
    margin-top: 1rem;
    color: white;
    font-size: 1.1rem;
    background-color: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.phone-alternative a {
    color: var(--accent-color);
    font-weight: bold;
    border-bottom: 2px solid var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-alternative a:hover {
    color: white;
    border-color: white;
}

/* Estilos de Header Revisado */
header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header nav a {
    transition: color 0.3s ease;
    color: rgba(255,255,255,0.9);
}

header nav a:hover {
    color: var(--accent-color);
}

/* Estilos para seção de Diferenciais */
.differential-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.differential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.differential-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.differential-card:hover .differential-icon {
    background-color: var(--accent-color);
    color: var(--dark-blue);
}

/* Serviços */
.service-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-image-container {
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.service-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.service-button i {
    margin-right: 0.25rem;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: white;
    padding: 4rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Depoimentos - Slider com 6 depoimentos */
.testimonials-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: calc(100% / 3);
    margin: 0 0.75rem;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: #FFD700;
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-dark);
}

.slider-controls {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: this.1rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--accent-color);
}

/* Sobre Nós */
.about-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.about-content {
    text-align: left;
}

.about-highlight {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.about-badge i {
    margin-right: 0.5rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: white;
    padding: 0 1.5rem;
    color: #555;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

/* Footer - Revisado com cores azuis */
footer {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-dark));
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-credits {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.developer-credit {
    font-weight: normal;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.developer-highlight {
    color: var(--accent-color);
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.developer-highlight:hover {
    color: white;
}

.developer-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.developer-highlight:hover::after {
    height: 2px;
    background-color: white;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background-color: #20BD5A;
    transform: scale(1.1);
}

.whatsapp-btn::after {
    content: 'Fale agora!';
    position: absolute;
    top: -40px;
    right: 0;
    background-color: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.whatsapp-btn:hover::after {
    opacity: 1;
}

/* Media Queries Aprimorados - Ajustes específicos para mobile */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem; /* Ligeiramente reduzido do original */
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        min-width: calc(100% / 2);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* AJUSTES MOBILE PARA HERO SECTION */
@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes específicos para a Hero no mobile */
    .hero-section {
        min-height: 100vh; /* Manter altura completa no mobile */
    }
    
    .hero-overlay {
        min-height: 100vh; /* Manter altura completa no mobile */
        justify-content: center; /* Garantir centralização */
        padding-top: 4rem; /* Aumentar padding superior */
    }
    
    .hero-content {
        padding-top: 2rem; /* Espaço extra no topo */
        margin-bottom: 2rem; /* Espaço embaixo */
        transform: translateY(1rem); /* Empurrar para baixo sutilmente */
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-info-card {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-feature {
        width: 100%;
        padding: 0.4rem 0.75rem;
    }
    
    .emergency-banner {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .cta-whatsapp {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Ajuste específico para telas muito pequenas */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-content {
        transform: translateY(1.5rem); /* Empurrar mais para baixo */
    }
}

/* Animações */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes slidein {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

@keyframes fadein {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}