/* ============================================================
   CONFIGURAÇÕES GERAIS
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7f6;
    color: #1d3557;
    line-height: 1.6;
}

/* ============================================================
   HEADER E NAVEGAÇÃO
   ============================================================ */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 5px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.logo img {
    height: 80px;
    /* Ajustado para não quebrar o menu */
    width: auto;
    transition: 0.3s;
}

.logo-texto {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d3557;
    text-transform: uppercase;
}

.logo-texto span {
    color: #2a9d8f;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #1d3557;
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #2a9d8f;
}

.btn-nav {
    background: #2a9d8f;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* ============================================================
   HERO SECTION (VÍDEO DE FUNDO)
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video-fundo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 53, 87, 0.5);
    /* Camada escura */
    z-index: 0;
}

.hero-conteudo {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-principal {
    display: inline-block;
    background: #2a9d8f;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

/* ============================================================
   SEÇÃO QUEM SOMOS
   ============================================================ */
.sobre {
    padding: 80px 5%;
    background: #fff;
}

.container-sobre {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.sobre-img,
.sobre-texto {
    flex: 1;
    min-width: 300px;
}

.sobre-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   SEÇÃO SERVIÇOS (CARDS COM BORDA VERDE)
   ============================================================ */
.servicos {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #2a9d8f;
    /* Sua borda verde */
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.2);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-info {
    padding: 25px;
}

/* ============================================================
   SEÇÃO CONTATO (GRID DEFINITIVO)
   ============================================================ */
.contato {
    padding: 80px 5%;
    background-color: #f4f7f6;
}

.container-contato {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas iguais */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* BOTÕES DE CONTATO PEQUENOS */
.lista-contato-botoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-contato-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #1d3557;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #2a9d8f;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    /* Não estica */
    min-width: 260px;
    transition: 0.3s;
}

.btn-contato-item i {
    margin-right: 12px;
    color: #2a9d8f;
    font-size: 1.1rem;
}

.btn-contato-item:hover {
    background-color: #2a9d8f;
    color: #fff;
    transform: translateX(5px);
}

.btn-contato-item:hover i {
    color: #fff;
}

/* FORMULÁRIO À DIREITA */
.contato-form {
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline-color: #2a9d8f;
}

.btn-enviar {
    background: #2a9d8f;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* ============================================================
   RODAPÉ E WHATSAPP
   ============================================================ */
footer {
    background-color: #1d3557;
    color: #fff;
    padding: 60px 5% 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
    width: 35px;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 900px) {
    .container-contato {
        grid-template-columns: 1fr;
        /* No celular, vira uma coluna */
    }

    .btn-contato-item {
        width: 100%;
    }

    nav ul {
        display: none;
    }
}

/* ============================================================
   RODAPÉ (CORREÇÃO DOS LINKS E LISTAS)
   ============================================================ */
footer {
    background-color: #1d3557;
    color: #fff;
    padding: 60px 5% 20px 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Remove as bolinhas brancas da lista de navegação */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    /* Dá um espacinho vertical entre os links */
}

/* Força os links a ficarem em um tom claro (azul pastel) e sem o sublinhado padrão */
.footer-col ul li a {
    color: #a8dadc !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Efeito ao passar o mouse nos links do rodapé */
.footer-col ul li a:hover {
    color: #2a9d8f !important;
    /* Muda para o verde esmeralda no hover */
    text-decoration: underline;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #2a9d8f;
}

.footer-col p {
    color: #a8dadc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}