/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====== HEADER ====== */
header {
    background: #ffffff;
    color: #ffffff;
    padding: 12px 40px;
    text-align: center;
}

.btn-scroll {
    display: inline-block;
    background: #838383;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-scroll:hover {
    background: #bec030;
}

/* ====== SEÇÕES ====== */
section {
    padding: 70px 20px;
}

section h2 {
    font-size: 2.3rem;
    color: #1C1C1C;
    margin-bottom: 20px;
    text-align: center;
}

section p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ====== FORMULÁRIO ====== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 520px;
    margin: 0 auto;
}

form input,
form textarea {
    padding: 13px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1.2rem;
}

form button {
    background: #25D366;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #1C1C1C;
}

/* ====== FOOTER ====== */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 22px;
    font-size: 0.9rem;
}

/* ================= SERVIÇOS ================= */

#servicos {
    max-width: 1200px;
    margin: 0 auto;
}

#servicos > p {
    text-align: center;
}

.servico-linha {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px;
    padding: 40px;
    background: #f4f4f4;
    border-radius: 18px;
}

.servico-linha img {
    width: 480px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

.servico-texto {
    max-width: 550px;
}

.servico-texto h3 {
    font-size: 1.7rem;
    color: #1C1C1C;
    margin-bottom: 15px;
}

.servico-texto p {
    text-align: left;
    line-height: 1.8;
}

/* ZIG-ZAG */
.servico-linha.direita {
    flex-direction: row-reverse;
}

/* ====== ISOLAMENTO TOTAL DOS SERVIÇOS ====== */

#servicos {
    overflow: visible;
}

#servicos * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove herança da section */
#servicos p {
    max-width: none !important;
    margin: 0 0 20px 0 !important;
    text-align: left;
    display: block !important;
    color: #333 !important;
}

/* MOBILE DEFINITIVO */
@media (max-width: 900px) {

    #servicos {
        padding-left: 16px;
        padding-right: 16px;
    }

    #servicos h2 {
        text-align: center;
        margin-bottom: 15px;
    }

    #servicos > p {
        text-align: center;
        margin-bottom: 35px !important;
    }

    .servico-linha {
        display: flex !important;
        flex-direction: column !important;
        padding: 22px !important;
        margin-bottom: 55px !important;
        overflow: visible !important;
    }

    .servico-linha img {
        width: 100% !important;
        height: 220px !important;
        margin-bottom: 15px;
    }

    .servico-texto {
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .servico-texto h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        display: block !important;
    }

    .servico-texto p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        display: block !important;
    }
}

/* Barra superior */
.topo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo h1 {
    font-size: 1.6rem;
    margin: 0;
}

.logo span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Menu */
.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #25D366;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {

    .topo-container {
        flex-direction: column;
        gap: 15px;
    }

    .menu {
        gap: 18px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}

/* ===== HEADER COM IMAGEM DE FUNDO ===== */
.topo {
    position: relative;
    background: url("assets/img/fundotop.jpg") center/cover no-repeat;
    color: #fff;
}

/* Camada escura para leitura */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Barra superior */
.topo-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;

    padding: 8px 10px; /* MENOS padding = mais pra cima */
    display: flex;
    align-items: flex-start; /* sobe logo e menu */
    justify-content: space-between;
}

/* Logo imagem */
.logo {
    margin-top: -35px; /* sobe a logo */
}

.logo img {
    height: 150px;
    object-fit: contain;
}

/* Menu */
.menu {
    display: flex;
    gap: 30px;
    margin-top:30px; /* sobe o menu */
}

.menu a {
    font-weight: bold;
    font-size: 1.3rem;
    transition: 0.3s;
}

.menu a {
    letter-spacing: 0.5px;
}

.menu a:hover {
    color: #6b6a6a;
}

/* Hero */
.hero {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 90px 20px 80px;
}

.hero h2 {
    font-size:3.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 2.0rem;
    margin-bottom: 25px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .topo-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 6px 10px; /* sobe tudo no mobile */
        gap: 10px;
    }

    .logo {
        margin-top: -6px; /* sobe levemente a logo */
    }

    .logo img {
        height: 46px;
    }

    .menu {
        margin-top: 0;
        gap: 20px;
        justify-content: center;
    }

    .menu a {
        font-size: 0.95rem;
    }

    .hero {
        padding: 65px 20px;
    }

    .hero h2 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

.btn-whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    z-index: 100;

    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp-fixed img {
    width: 45px;
    height: 45px;
}

.btn-whatsapp-fixed span {
    font-size: 0.95rem;
}

.btn-whatsapp-fixed:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .btn-whatsapp-fixed span {
        display: none;
    }

    .btn-whatsapp-fixed {
        padding: 16px;
        border-radius: 50%;
    }
}

/* ====== SOBRE ====== */

#sobre {
    padding: 90px 20px;
    background: #fff;
}

.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Linha + título */
.sobre-topo {
    margin-bottom: 30px;
}


.sobre-topo h2 {
    font-size: 2.3rem;
    color: #1C1C1C;
}

/* Texto */
.sobre-texto p {
    font-size: 1.20rem;
    line-height: 1.9;
    margin-bottom: 18px;
    color: #333;
}

/* Diferenciais */
.sobre-diferenciais {
    display: flex;
    justify-content: center; /* CENTRALIZA */
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.diferencial {
    font-weight: 600;
    color: #1C1C1C;
    background: #f4f6f9;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 1.25rem;
    text-align: center;
    min-width: 220px; /* mantém proporção */
}

/* Mobile */
@media (max-width: 768px) {
    .sobre-diferenciais {
        flex-direction: column;
        gap: 15px;
    }

    .sobre-topo h2 {
        font-size: 1.6rem;
    }
}

/* ===== MAIS SERVIÇOS ===== */

.mais-servicos {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: #f9f9f9;
    border-radius: 18px;
}

.mais-servicos h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1C1C1C;
}

.mais-servicos p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.btn-mais-servicos {
    display: inline-block;
    background: #1C1C1C;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-mais-servicos:hover {
    background: #333;
    transform: translateY(-3px);
}

/* Corrige herança do bloco mais serviços */
.mais-servicos {
    text-align: center !important;
}

.mais-servicos p {
    text-align: center !important;
    margin: 0 auto 30px !important;
    max-width: 700px !important;
}

