/* --- Estilos Gerais e Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho --- */
.header {
    background-color: #ffffff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0056b3;
}

/* --- Seção Inicial (Hero) com Vídeo --- */
.hero {
    position: relative; 
    color: #ffffff;
    text-align: center;
    padding: 160px 20px 100px 20px;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #ffc107;
    color: #333;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-button i {
    margin-right: 10px;
}

/* --- Seções Padrão --- */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Seção de Serviços --- */
#servicos {
    background-color: #ffffff;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.servico-item {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.servico-item i {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
}

.servico-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* --- Seção Diferenciais --- */
#diferenciais {
    /* O fundo padrão já é #f4f4f4 */
}

.diferenciais-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.diferencial-item {
    max-width: 250px;
}

.diferencial-item i {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 15px;
}

.diferencial-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* --- SEÇÃO SOBRE NÓS --- */
#sobre {
    background-color: #ffffff;
}

.sobre-content p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

/* --- Seção Depoimentos --- */
#depoimentos {
    /* O fundo padrão já é #f4f4f4 */
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background-color: #ffffff; 
    padding: 30px;
    border-left: 5px solid #0056b3;
    text-align: left;
    border-radius: 5px;
}

.depoimento-card .quote {
    font-style: italic;
    margin-bottom: 20px;
}

.depoimento-card .author {
    font-weight: 700;
}

/* --- Seção Contato --- */
#contato {
    background-color: #0056b3;
    color: #ffffff;
}

#contato .section-title::after {
    background-color: #ffc107;
}

#contato p {
    max-width: 600px;
    margin: -20px auto 40px auto;
}

.contato-info {
    margin-top: 60px; 
}

.contato-info p {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.contato-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contato-info a:hover {
    color: #ffc107;
}

.contato-info i {
    color: #ffc107;
    margin-right: 10px;
    width: 20px;
}

/* --- Rodapé --- */
.footer {
    background-color: #222;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

/* --- Responsividade --- */

/* Breakpoint para Tablets e Desktops Menores (até 992px) */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 42px;
    }
    .section-title {
        font-size: 32px;
    }
}

/* Breakpoint para Celulares Grandes e Tablets em modo retrato (até 768px) */
@media (max-width: 768px) {
    .header .container {
        justify-content: center; /* Centraliza o logo quando o menu some */
    }
    .nav-menu {
        display: none; /* Em um site real, aqui entraria o botão "hambúrguer" */
    }
    .hero {
        margin-top: 60px;
        padding: 120px 20px 80px 20px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .logo img {
        height: 40px;
    }
    .sobre-content p {
        font-size: 16px;
    }
    .contato-info p {
        font-size: 18px;
    }
}

/* Breakpoint para Celulares Pequenos (até 576px) */
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 28px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .diferenciais-grid {
        flex-direction: column; /* Coloca os diferenciais um embaixo do outro */
        align-items: center;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    .contato-info p {
        font-size: 16px;
    }
    .footer {
        font-size: 14px;
    }
}


/* --- Botão Flutuante do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}