/* Importar a fonte Kufam */
@import url('https://fonts.googleapis.com/css2?family=Kufam:wght@400;700&display=swap');


body {
    margin: 0;
    font-family: 'Kufam', sans-serif;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    background-color: #f0f0f0;
}

body::-webkit-scrollbar {
    display: none;
}

/* Estilos para garantir que a imagem de fundo preencha 100% da tela */
.home {
    gap: 5rem;
    position: relative;
    /* Alterar para relative para evitar sobreposição */
    height: 100vh;
    /* 100% da altura da tela */
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center center;
    /* centraliza a imagem de fundo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centralizar verticalmente */
    align-items: center;
    /* Centralizar horizontalmente */
    /* overflow: hidden; */
    /* Remover para permitir rolagem */
    padding-top: 100px;
    /* cria espaço para o header fixo */
    min-height: calc(100vh - 100px);
    margin-bottom: -10px;
    !important
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    z-index: 1500;


    /* 🔹 Efeito blur sobre a imagem */
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);

    /* 🔹 Borda inferior sutil */
    border-bottom: 1px solid rgba(94, 92, 92, 0.2);
    transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.logo {
    flex: 0 0 auto;
    /* Manter a logo no tamanho original */
    display: flex;
    align-items: center;
    /* Centralizar logo verticalmente */
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 80px;
}

.logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 70px;
    /* reduzido (antes 72px) */
    max-width: 100%;
    object-fit: contain;
    margin: 0;
    padding: 8px;
    /* ajustado */
}

.logo img {
    max-height: 72px;
    height: auto;
    width: auto;
    max-width: none;
    display: block;
}

/* Ícone do botão whatsapp (header e nav-mobile) */
.btn-whatsapp-logo {
    height: 24px;
    width: auto;
    max-width: none;
    display: inline-block;
}

/* em nav-mobile usamos um ícone um pouco menor */
.nav-mobile .btn-whatsapp-logo {
    height: 20px;
}

/* Ícone dos contatos (círculo) */
.contato-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #0b6;
    color: #fff;
}

.contato-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

/* ajustes para telas menores */
@media (max-width: 600px) {
    .logo img {
        max-height: 56px;
    }

    .btn-whatsapp-logo {
        height: 18px;
    }

    .contato-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .contato-icon svg {
        width: 14px;
        height: 14px;
    }
}

.menus {
    gap: 100px;
    flex: 1;
    /* Permitir que os menus ocupem o espaço restante */
    display: flex;
    justify-content: center;
    /* Centralizar menus horizontalmente */
}

.menus a {
    text-decoration: none;
    color: #fff;

    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menus a:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* Aumenta a sombra */
}

.faleconosco {
    margin-right: 60px;
    /* Adicionar margem à direita do botão */
}



.btn-whatsapp-faleconosco,
.btn-whatsapp {
    width: 13+5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 34px;
    /* Aumentar padding para aumentar o tamanho do botão */
    font-size: 18px;
    /* Aumentar tamanho da fonte */
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;

}

.btn-whatsapp-logo {
    width: 25px;
    /* Aumentar tamanho do ícone do WhatsApp */
    height: 25px;
    /* Aumentar tamanho do ícone do WhatsApp */
}

.btn-whatsapp:hover,
.btn-whatsapp-faleconosco:hover {

    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* Aumenta a sombra */
}

.carousel-item {
    transition: transform 1s ease-in-out;
    height: 78vh;
    /* Aumentar altura para 85% da viewport height */
}

/* Garantir que o conteúdo do carousel não seja cortado */
.carousel-item {
    overflow: visible !important;
}

.carousel-item img {
    height: 100%;
    /* Ocupar 100% da altura do container pai */
    width: 100%;
    object-fit: cover;
    object-position: center center;
    /* centraliza a imagem do carrossel */
}

/* FORÇAR legenda posicionada acima dos indicators em todos os tamanhos */
.carousel-caption,
.carousel-caption.d-none,
.carousel-caption.d-none.d-md-block,
.carousel-caption.d-md-block {
    display: block !important;
    position: absolute !important;
    bottom: 5rem !important;
    /* desktop: sobe a legenda para não ficar sobre os indicators */
    left: 12px !important;
    right: 12px !important;
    z-index: 1050 !important;
    /* acima dos indicators (que têm z-index:2) */
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    text-align: center !important;
    pointer-events: auto !important;
}

/* Força exibição do conteúdo interno */
.carousel-caption h5,
.carousel-caption p,
.carousel-caption h5.d-none,
.carousel-caption p.d-none {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
}

/* Ajustes específicos para telas menores */
@media (max-width: 768px) {

    /* manter absolute no mobile, mas aproximar um pouco do centro (ainda acima dos indicators) */
    .carousel-caption,
    .carousel-caption.d-none,
    .carousel-caption.d-none.d-md-block,
    .carousel-caption.d-md-block {
        bottom: 4rem !important;
        /* mobile: um pouco mais próximo, porém acima dos indicators */
        left: 8px !important;
        right: 8px !important;
        padding: 8px 10px !important;
        font-size: 15px !important;
    }

    .carousel-caption h5 {
        font-size: 18px !important;
        margin: 0 0 6px !important;
        line-height: 1.2 !important;
    }

    .carousel-caption p {
        font-size: 14px !important;
        margin: 0 !important;
    }
}

h1 {
    font-size: 40px;
    text-align: center;
    /* Centralizar texto */
    color: white;
    /* Alterar cor para branco */
    margin: 30px 0 10px;
    /* Adicionar espaço acima do h1 */
    font-weight: bold;
    /* Aplicar negrito */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    /* Adicionar sombra ao texto */
}

h3 {
    font-size: 22px;
    text-align: center;
    /* Centralizar texto */
    color: rgba(255, 255, 255, 0.938);
    /* Alterar cor para branco com opacidade */
    margin: 0 auto;
    /* Centralizar horizontalmente */
    margin-bottom: 40px;
    /* Adicionar espaço abaixo do h3 */
    width: 70%;
    /* Limitar a largura do h3 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    /* Adicionar sombra ao texto */
}

.sobre {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sobre>div {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 8rem;

}

.sobre img {
    width: 50%;
    height: auto;


}

.sobre>div p {
    max-width: 90%;
    /* anteriormente 45%, agora ocupa mais espaço */
    font-size: 20px;
    /* diminui o tamanho da fonte */
    text-align: left;
    color: #000000c2;
    font-weight: normal;
}

@media (max-width: 768px) {
    .sobre>div {
        flex-direction: column;
        gap: 30px;
        margin: 3rem auto;
    }

    .sobre img {
        width: 80%;
        /* aumenta a largura da imagem no mobile */
    }

    .sobre>div p {
        max-width: 90%;

        font-size: 15px;
        /* reduz o tamanho da fonte no mobile */
        text-align: center;
        /* centraliza o texto no mobile */
    }
}

.sobre h2 {
    margin-top: 20px;
    font-size: 30px;
    text-align: center;
    color: #333;
    font-weight: bold;
}


.carrossel-alt {
    width: 90%;
    height: auto;
    max-width: 1200px;
    margin: 60px auto 0 auto;
    /* Centralizar e adicionar margem inferior */
}

.carrossel-alt h2 {
    font-size: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.carrossel-alt h5 {
    font-size: 26px;
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.carrossel-alt p {
    font-size: 20px;
    display: flex;
    justify-content: center;
    margin-top: 10px;


}

.carrossel-alt .paragrafo-final {
    max-height: 100%;
    font-size: 16px;
    text-align: center;
    color: #616161;
    display: flex;
    justify-content: center;
    font-weight: normal;
}

.contato {
    width: 80%;
    max-width: 900px;
    min-width: 320px;
    min-height: 400px;
    height: auto;
    margin: 20px auto 40px auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 32px 38px 32px;
    position: relative;
    scroll-margin-top: 11px;
}

.contato-titulo {
    padding-top: 20px;
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #333;
    font-weight: bold;
    scroll-margin-top: calc(var(--header-height, 100px) + 8px);
}

.contato-form,
.contato-info {
    flex: 10;
    display: inline-block;
    vertical-align: top;
    border-left: 1px solid #eee;
    max-width: 50%;
    min-width: 50%;
    height: auto;
    /* Cada seção ocupa metade do espaço disponível */
    padding: 0 24px;
    box-sizing: border-box;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 16px;
    background: #f7f7f7;
    color: #222;
    resize: none;
    transition: border-color 0.2s;
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: #2e7d32;
    outline: none;
}

.contato-form button.btn-custom-black {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 8px;
}

.contato-form button.btn-custom-black:hover {
    background: #2e7d32;
}

.contato h2 {
    font-size: 32px;
    color: #222;
    font-weight: bold;
    margin-bottom: 18px;
    margin-top: 0;
    text-align: left;
    width: 100%;
}

.logo-contato img {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    margin-right: 0;
    margin-left: 0;
    display: block;
}

.contato-info .logo-contato {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
}

footer {
    background-color: #111;
    color: #fff;
    padding: 30px 20px 15px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.footer-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #25D366;
    /* verde WhatsApp */
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-socials img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s;
}

.footer-socials img:hover {
    transform: scale(1.2);
}

.footer-copy {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}


/* Global fix to prevent horizontal overflow */
html,
body {
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Ensure major containers and images do not exceed viewport width */
img,
.home,
header,
.sobre,
.carrossel-alt,
footer {
    max-width: 100%;
    box-sizing: border-box;
}

/* Make the browser reserve space for the fixed header when using native anchor scrolling */
:root {
    --header-height: 100px;
    /* fallback, atualizado via JS */
}

html {
    scroll-padding-top: var(--header-height) !important;
}

/* Override carousel-caption display on mobile devices */
@media (max-width: 768px) {
    .carousel-caption {
        display: block !important;
        position: static;
        /* remove posicionamento absoluto */
        background: rgba(0, 0, 0, 0.5);
        /* opcional: fundo semitransparente para melhorar a legibilidade */
        padding: 10px;
    }

    .carousel-caption h5 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 16px;
    }

}

/* Sobrescrever classes do Bootstrap para exibir carousel-caption em dispositivos móveis */
@media (max-width: 768px) {
    .carousel-caption.d-none.d-md-block {
        display: block !important;
        position: static !important;
        background: rgba(0, 0, 0, 0.5) !important;
        padding: 10px !important;
    }

    .carousel-caption.d-none.d-md-block h5 {
        display: block !important;
        font-size: 20px !important;
    }

    .carousel-caption.d-none.d-md-block p {
        display: block !important;
        font-size: 16px !important;
    }
}

/* Override .contato styles on narrow devices (e.g. iPhone 14 Pro Max) */
@media (max-width: 480px) {
    .contato {
        width: 95%;
        max-width: 95%;
        min-width: auto;
        /* Remove fixed min-width to avoid overflow */
        padding: 20px !important;
    }
}

/* Revised responsive adjustments */
@media (max-width: 1024px) {
    header {
        padding: 8px 20px;
        /* Ajuste de espaçamento */
        gap: 10px;
    }

    .menus {
        gap: 30px;
    }

    .sobre>div {
        flex-direction: column;
        gap: 30px;
        margin: 3rem auto;
    }

    .carousel-item {
        height: 70vh;
    }

    .contato {
        width: 90%;
        max-width: 600px;
        min-height: auto;
        flex-direction: column;
        /* Empilhar os itens verticalmente */
        padding: 24px;
    }

    .contato-info,
    .contato-form {
        max-width: 100%;
        flex: 1;
        border-left: none;
        /* Remove a divisão lateral */
        padding: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h3 {
        font-size: 20px;
        width: 90%;
    }

    .logo {
        padding: 0 10px;
    }

    .menus a {
        font-size: 18px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 36px;
    }

    h3 {
        font-size: 16px;
    }

    .menus a {
        font-size: 16px;
        padding: 6px 10px;
    }
}

.nav-mobile {
    background-color: rgba(0, 0, 0, 0.70) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    display: none !important;
    position: fixed;
    top: 100px;
    /* inicia logo abaixo do header */
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    /* ocupa o restante da viewport */
    background: rgba(0, 0, 0, 0.9);
    z-index: 1400 !important;
    /* fica abaixo do header */
}

.nav-mobile.show {
    display: block !important;
}

/* Animar a transformação do botão hamburguer com origem central */
#hamburger-svg rect {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

#hamburger-svg.open #line1 {
    transform: translateY(7px) rotate(45deg);
}

#hamburger-svg.open #line2 {
    opacity: 0;
}

#hamburger-svg.open #line3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Restore and style hamburger button (visible on small screens) */
.hamburger-btn {
    display: none;
    /* default hidden on desktop (JS também controla) */
    margin-left: auto;
    position: relative;
    z-index: 1600;
    /* acima do header children */
    padding: 6px;
    align-self: center;
}

.hamburger-btn svg {
    width: 30px;
    height: 30px;
    display: block;
    cursor: pointer;
    pointer-events: auto;
}

/* Show hamburger on mobile and hide desktop nav elements as fallback */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block !important;
    }

    .menus {
        display: none !important;
    }

    .faleconosco {
        width: 100%;
        display: none !important;
    }
}

/* REMOVIDO: estilos do recurso "Leia mais / Leia menos"
   (.more-dots, .more-text, .read-more-wrap, .read-more-btn, .read-less-btn e regras mobile)
   Foram removidos porque a funcionalidade foi eliminada do HTML e do JS.
*/
/* garantir que a palavra anterior + botão não quebrem linha no mobile */
.read-more-wrap {
    display: inline;
    white-space: nowrap;
}

/* Por padrão (desktop) esconder o botão e garantir que o trecho extra esteja visível */
.read-more-btn {
    display: none;
}

/* Mobile: esconder o trecho extra e exibir o botão "Leia mais..." com cor azul e sem margem que force quebra */
@media (max-width: 768px) {
    .more-text {
        display: none !important;
    }

    .more-dots {
        display: none !important;
    }

    /* os "..." foram substituídos pelo botão */

    .read-more-wrap {
        white-space: nowrap;
    }

    /* reforça no mobile */
    .read-more-btn {
        display: inline-block !important;
        background: transparent;
        border: none;
        color: #0d6efd !important;
        /* azul */
        font-weight: 700;
        cursor: pointer;
        padding: 0 2px;
        /* reduzir padding para evitar quebra */
        margin: 0 !important;
        /* remover margem que podia empurrar para nova linha */
        text-decoration: underline;
        font-size: 0.95rem;
        line-height: 1;
    }
}

/* Classe aplicada via JS para forçar exibição quando expandido no mobile */
.more-text.expanded {
    display: inline !important;
}

/* Por padrão esconder o botão "Leia menos" (aparece apenas quando expandido no mobile) */
.read-less-btn {
    display: none;
}

/* Mobile: controle de exibição dos botões */
@media (max-width: 768px) {
    .read-less-btn {
        /* estilo do botão que ficará *depois* do texto completo */
        display: none;
        /* mostrado dinamicamente quando .more-text estiver expanded via JS */
        background: transparent;
        border: none;
        color: #0d6efd !important;
        /* azul */
        font-weight: 700;
        cursor: pointer;
        padding: 0 2px;
        margin: 0 !important;
        text-decoration: underline;
        font-size: 0.95rem;
        line-height: 1;
    }

    /* mostrar como bloco quando receber a classe .visible */
    .read-less-btn.visible {
        display: block !important;
        margin-top: 8px !important;
        /* separa do texto */
        clear: both !important;
        /* garante que fique abaixo de floats/imagens */
        text-align: left !important;
        /* alinhamento */
    }
}

/* "Saiba mais..." junto à palavra anterior sem quebrar linha */
.saiba-wrap {
    white-space: nowrap;
}

/* Estilo do botão "Saiba mais..." */
.saiba-mais-btn {
    display: inline-block;
    background: transparent;
    border: none;
    color: #0d6dfdcc;
    /* azul */
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    font-size: 0.95rem;
    line-height: 1;
}

.saiba-mais-btn:focus {
    outline: 2px solid rgba(13, 110, 253, 0.25);
    outline-offset: 2px;
}

/* conteúdo que será mostrado/ocultado pelo botão "Saiba mais..." */
.saiba-more {
    display: inline;
}

/* no mobile escondemos o trecho adicional por padrão */
@media (max-width: 768px) {
    .saiba-more {
        display: none;
    }

    /* quando expandido via JS */
    .saiba-more.expanded {
        display: inline !important;
    }

    /* remover o botão "Saiba mais..." no mobile */
    .saiba-wrap .saiba-mais-btn {
        display: none !important;
    }

    /* (a classe at-bottom não é necessária no mobile quando o botão está oculto) */
}

/* no desktop escondemos o botão e mostramos todo o texto */
@media (min-width: 769px) {
    .saiba-mais-btn {
        display: none;
    }

    .saiba-more {
        display: inline;
    }

    /* garante que o trecho esteja sempre visível */
}

.contatos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
}

.contato-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #0b6;
    color: #fff;
}

.contato-icon svg {
    width: 18px;
    height: 18px;
    max-width: none;
    display: block;
    fill: currentColor;
}

.contato .contato-item {
    color: #000;
}

@media (max-width:600px) {
    .contato-icon {
        width: 28px;
        height: 28px;
    }

    .contato-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================
           FORÇAR LAYOUT DESKTOP EM 1366x768
           ============================ */

/* Regras gerais para larguras entre 1200px e 1366px:
           mantêm aparência próxima ao desktop 1920x1080 */
@media screen and (min-width:1200px) and (max-width:1366px) {

    /* garantir menu desktop visível */
    .hamburger-btn {
        display: none !important;
    }

    .menus {
        display: flex !important;
        gap: 28px;
        align-items: center !important;
    }

    .menus a {
        font-size: 1rem !important;
        padding: 6px 8px !important;
    }

    /* esconder navegação mobile caso algum estilo a mostre */
    .nav-mobile {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* header / logo */
    header {
        padding: 18px 32px !important;
    }

    .logo img {
        max-height: 68px;
        width: auto;
    }

    /* Home (tamanhos mantidos próximos ao desktop) */
    .home {
        padding: 80px 60px;
        min-height: calc(100vh - var(--header-height, 100px));
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home h1 {
        font-size: 48px !important;
        line-height: 1.05 !important;
    }

    .home h3 {
        font-size: 20px !important;
        max-width: 1000px;
        margin-top: 18px;
    }

    /* botão fale conosco no hero */
    .btn-whatsapp-faleconosco {
        padding: 12px 22px;
        font-size: 1rem;
    }

    /* Serviços / carrossel: manter legendas legíveis */
    .carousel-caption h5 {
        font-size: 1.25rem !important;
    }

    .carousel-caption p {
        font-size: 0.95rem !important;
    }

    /* Contato: duas colunas alinhadas como no desktop */
    .contato {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        padding: 40px 60px;
    }

    .contato-info,
    .contato-form {
        flex: 1 1 50%;
    }

    .contato-form form {
        max-width: 100%;
    }

    .contato-form input,
    .contato-form textarea {
        font-size: 1rem;
        padding: 10px;
    }

    /* Footer: manter layout desktop */
    .footer-content {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 30px 60px;
    }

    .footer-links a {
        font-size: 0.95rem;
    }
}

/* Regra específica para dispositivos que reportam exatamente 1366x768 */
@media screen and (width:1366px) and (height:768px) {

    /* pequenos ajustes adicionais caso necessário */
    html,
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        background-size: cover;
    }

    /* aumenta levemente fontes para compensar DPI diferente */
    .home h1 {
        font-size: 50px !important;
    }

    .home h3 {
        font-size: 21px !important;
    }
}

/* fallback: se algum breakpoint do styles.css reduz excessivamente elementos
           em 1366, estas regras mais específicas (min-width:1200) têm prioridade. */

/* animação e overlay do menu mobile */
.nav-mobile {
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(5px);
    z-index: 1100;
    opacity: 0;
    transform: translateY(-6%);
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease;
    will-change: opacity, transform;
}

/* conteúdo interno: estado inicial escondido e deslocado */
.nav-mobile .nav-mobile-content>* {
    transform: translateY(12px);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
    will-change: transform, opacity;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    width: 100%;
    text-align: center;

    cursor: pointer;
}

.nav-mobile .nav-mobile-content .btn-whatsapp {
    width: 65%;
}

/* estado aberto do overlay */
.nav-mobile.show {
    opacity: 10;
    transform: translateY(0);
    pointer-events: auto;
}

/* ao abrir, anima os itens com pequeno stagger */
.nav-mobile.show .nav-mobile-content>* {
    transform: translateY(0);
    opacity: 1;
}

/* stagger: link 1..n */
.nav-mobile.show .nav-mobile-content> :nth-child(1) {
    transition-delay: 60ms;
}

.nav-mobile.show .nav-mobile-content> :nth-child(2) {
    transition-delay: 120ms;
}

.nav-mobile.show .nav-mobile-content> :nth-child(3) {
    transition-delay: 180ms;
}

.nav-mobile.show .nav-mobile-content> :nth-child(4) {
    transition-delay: 240ms;
}

/* garante que o botão whatsapp no nav-mobile preserve proporção (override de inline/estilos) */
.nav-mobile .btn-whatsapp-logo,
.nav-mobile img.btn-whatsapp-logo {
    height: 20px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    display: inline-block !important;
}

/* corrige ícones de contato (evita esticar em mobile) */
.contato-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #0b6;
    color: #fff;
}

.contato-icon svg {
    width: 18px;
    height: 18px;
    max-width: none;
    display: block;
    fill: currentColor;
}

/* ajustes para telas pequenas */
@media (max-width: 600px) {
    .nav-mobile .btn-whatsapp-logo {
        height: 18px !important;
    }

    .contato-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .contato-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* suaviza transição do header ao mudar background/shadow */
header {
    transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

/* quando o menu mobile estiver aberto (classe adicionada via JS) escurece o header */
.nav-open header {
    background-color: rgba(0, 0, 0, 0.70) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    /* opcional: aumenta contraste do texto se necessário */
}

#to-top-btn:hover {
    background: rgb(0, 145, 80);
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
    /* Aumenta a sombra */
}

@media (max-width: 1366px) {
    .home h1 {
        font-size: 36px !important;
    }

    .home h3 {
        font-size: 14px !important;
    }

    .menus a {
        font-size: 14px !important;
        padding: 6px 8px !important;

    }

    .menus {
        gap: 4em;
    }

    .logo img {
        max-height: 60px;
        width: auto;
    }

    .btn-whatsapp-faleconosco {
        width: 9rem;
        height: 2.2rem;
        padding: 10px 18px;
        font-size: 12px;
        border: 1px solid #fff;
    }

    .btn-whatsapp {
        width: 11rem;
        height: 2.6rem;
        font-size: 14px;
        padding: 10px 18px;
        border: 1px solid #fff;
    }

    .sobre>div {
        margin: 4rem;
        gap: 40px;
    }

    .sobre img {
        width: 30%;
    }

    .sobre>div p {
        font-size: 16px;
    }

    .carrossel-alt h2 {
        font-size: 24px;
    }

    .carrossel-alt h5 {
        font-size: 20px;
    }

    .carrossel-alt p {
        font-size: 16px;
    }

    .carrossel-alt .paragrafo-final {
        font-size: 14px;
    }

    .contato {
        width: 90%;
        max-width: 700px;
        min-width: auto;
        min-height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        /* centraliza horizontalmente */
        align-items: flex-start;
        gap: 24px;
        padding: 20px;
        box-sizing: border-box;
    }

    .contato-info,
    .contato-form {
        flex: 0 0 45%;
        /* cada coluna ocupa ~45% */
        max-width: 45%;
        min-width: 260px;
        /* evita colapso excessivo em telas pequenas */
        border-left: none;
        padding: 0;
        box-sizing: border-box;
    }

    .contato-info
    /* quando não houver espaço suficiente (ex.: largura muito pequena),
       os itens irão quebrar para nova linha por causa do flex-wrap */
}

#to-top-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 2200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

#to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#to-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

@media (max-width: 420px) {
    #to-top-btn {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }

    #to-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 60px 30px;
        min-height: calc(100vh - var(--header-height, 100px));
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .home h1 {
        font-size: 32px !important;
    }

    .home h3 {
        font-size: 16px !important;
        width: 90%;
    }

    .logo img {
        max-height: 50px;
        width: auto;
    }

    .menus a {
        font-size: 16px !important;
        padding: 6px 10px !important;
    }

    .btn-whatsapp-faleconosco {
        width: 12rem;
        height: 3rem;
        padding: 8px 14px;
        font-size: 16px;
        border: 1px solid #fff;
    }

    .btn-whatsapp {
        width: 14rem;
        height: 3.2rem;
        font-size: 16px;
        padding: 10px 18px;
        border: 1px solid #fff;
    }

    .sobre>div {
        flex-direction: column;
        gap: 30px;
        margin: 3rem auto;
    }

    .sobre img {
        width: 80%;
    }

    .sobre>div p {
        font-size: 14px;
    }

    .sobre>div {
        margin: 2rem auto;
    }

    .carrossel-alt h2 {
        font-size: 32px;
    }

    .contato {
        width: 95%;
        max-width: 95%;
        min-width: auto;
        min-height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        /* centraliza horizontalmente */
        align-items: flex-start;
        gap: 24px;
        padding: 20px;
        box-sizing: border-box;
    }

    .contato-info,
    .contato-form {
        flex: 0 0 45%;
        /* cada coluna ocupa ~45% */
        max-width: 45%;
        min-width: 260px;
        /* evita colapso excessivo em telas pequenas */
        border-left: none;
        padding: 0;
        box-sizing: border-box;
    }

    .contato-info
    /* quando não houver espaço suficiente (ex.: largura muito pequena),
       os itens irão quebrar para nova linha por causa do flex-wrap */
}

/* impede quebra de linha no título da seção de contato e ajusta o tamanho dinamicamente */
@media (max-width: 768px) {
    .h2-contato {
        white-space: nowrap;
        /* não quebrar linha */
        /* */
        text-overflow: ellipsis;
        /* mostra "..." se não couber */
        font-size: clamp(16px, 3.6vw, 22px);
        /* redimensiona entre 16px e 22px conforme viewport */
        line-height: 1.05;
        margin: 0 auto;
    }
}