/*---------------------------------
     Reset e Styles Padrões
 ---------------------------------*/
:root {
    --main-color: var(--theme-color-1);
    --primary-text-color: var(--theme-color-2);
    --secondary-text-color: var(--theme-color-3);
    --secondary-color: var(--theme-color-4);
    --tertiary-color: var(--theme-color-5);
    --secondary-bg-color: var(--theme-color-6);
    --theme-color-84-bg-color: var(--theme-color-7);
    --accent: #1f8f6b;
    --accent-dark: #16664b;
    --muted: #6c757d;
    --card-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.06);
}

* {
    font-family: "Lato", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--theme-color-8);
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    width: 100%;
    height: auto;
}

input[type="submit"] {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* ===== Navbar transparente inicial ===== */
.bg-green-transparent {
    background-color: var(--theme-color-50);
    color: var(--theme-color-9);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-size: 26px;
    padding: 20px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease;
}

.bg-green-transparent .navbar-nav .nav-link {
    color: var(--theme-color-10);
    font-size: 24px;
}

/* ===== Navbar fixa ao rolar ===== */
.bg-green-fixed {
    background-color: var(--theme-color-51);
    position: sticky;
    top: 0;
    z-index: 10000;
    height: 100px;
    font-size: 24px;
    padding: 0;
    transition: background-color 0.3s ease-in-out;
}

.bg-green-fixed .navbar-nav .nav-link {
    font-size: 25px;
}

/* ===== Marca / Logo ===== */
.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: var(--theme-color-2);
    transition: transform 0.2s ease-in-out, color 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.1);
    color: var(--main-color);
}

/* Ajuste da logo */
.navbar-brand img {
    display: block;
    height: 100%;
    max-height: 110px;
    width: auto;
    object-fit: contain;
    padding: 5px 0;
}

/* Navbar responsiva e centralizada */
#scrollNav-new {
    min-height: 70px;
    display: flex;
    align-items: center;
}

/* ===== Navegação ===== */
.nav-link {
    font-size: 1.2rem;
    color: var(--theme-color-2);
    margin-right: 20px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--theme-color-11);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--theme-color-11);
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:active {
    color: var(--theme-color-12);
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

/* ===== Botão hamburguer (Responsividade) ===== */
@media (max-width: 992px) {
    .bg-green-fixed {
        height: auto;
    }

    .navbar-collapse {
        position: static !important;
        width: 100%;
        display: block;
        background-color: var(--theme-color-53);
    }

    .navbar-collapse.collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 320ms ease;
    }

    .navbar-collapse.collapse.show {
        max-height: 480px;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
    }

    .navbar-brand {
        padding: 0;
    }

    .navbar-brand img {
        height: 100%;
        max-height: 64px;
        padding: 0;
        margin: 0;
    }
}

/* Pequenos ajustes para telas ainda menores */
@media (max-width: 480px) {

    /* Desaparece quando tela menor */
    .navbar-brand img {
        max-height: 48px;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .nav-link {
        font-size: 1.1rem;
        background-color: var(--theme-color-52);
        justify-content: center;
    }

    .navbar-collapse {
        justify-content: center;
        background-color: var(--theme-color-53);
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

@media (max-width: 768px) {
    #scrollNav-new {
        min-height: 70px;
    }

    .navbar-brand {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-brand img {
        height: 64px;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        max-height: 40px;
    }
}

/*---------------------------------
            Header Home
 ---------------------------------*/
.navbar {
    padding: 0.8rem 3rem;
}

.header-new {
    background-image: url('../img/body.jpg');
    background-size: cover;
    background-position: center;
    height: 65vh;
    position: relative;
}

.header-new .overlay {
    background-color: var(--theme-color-54);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.header-new h1,
.header-new p {
    z-index: 1;
    font-size: 2.5rem;
    color: var(--primary-text-color);
}

.header-text {
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-text:hover {
    transform: scale(1.05);
    color: var(--main-color);
}

.header-new .header-text {
    display: inline-block;
    animation: zoomIn 1s ease-out forwards;
}

/* Animação: começa maior e diminui até o tamanho normal */
@keyframes zoomIn {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.header-new h1 {
    animation: zoomIn 1s ease-out forwards;
}

.header-new p {
    animation: zoomIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.fixed-on-scroll.sticky {
    background-color: var(--theme-color-55);
}

.wap {
    width: 190px;
    height: auto;
    position: fixed;
    bottom: 50px;
    right: 5px;
    z-index: 3;
    transition: width 0.5s ease, height 0.5s ease;
}

.wap:hover {
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .wap {
        width: 110px;
        height: auto;
    }

}

@media (max-width: 480px) {
    .wap {
        width: 90px;
        height: auto;
    }

}

/*---------------------------------
            Seções
 ---------------------------------*/
.home-new,
.services-new,
.about-new,
.contact-new {
    margin-top: 50px;
}

.card-new {
    transition: transform 0.2s ease-in-out;
}

.card-new:hover {
    transform: scale(1.05);
}

.rec {
    font-size: 40px;
}

i {
    background-color: var(--main-color);
    color: var(--primary-text-color);
    font-size: 2.5rem;
    padding: 2rem;
}

.header-fixed i {
    color: var(--theme-color-56);
    text-transform: capitalize;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.form-buttons .btn {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.submit-btn {
    background: var(--main-color);
    color: var(--theme-color-2);
}

.submit-btn:hover {
    background: var(--theme-color-13);
}

.clear-btn {
    background: var(--theme-color-14);
    color: var(--theme-color-15);
}

.clear-btn:hover {
    background: var(--theme-color-16);
}

.form-message {
    display: none;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.form-message.success {
    display: block;
    background: var(--theme-color-17);
    color: var(--theme-color-18);
    opacity: 1;
}

.form-message.error {
    display: block;
    background: var(--theme-color-19);
    color: var(--theme-color-20);
    opacity: 1;
}

.text-image-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
}

.text-container {
    flex: 1 1 45%;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list li {
    margin: 0.3rem 0;
    font-size: 1.2rem;
}

.section-subtitle {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--secondary-text-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.8rem 1.2rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    background-color: var(--main-color);
    color: var(--primary-text-color);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.cta-actions a {
    margin-right: 25px;
}

.image-container {
    flex: 1 1 0%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

#other-services {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
}

.service {
    flex: 1 1 30%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--theme-color-57);
    transition: transform 0.2s ease;
    text-align: center;
}

.service:hover {
    transform: scale(1.03);
}

.service img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-info {
    background-color: var(--tertiary-color);
    padding: 1rem;
    min-height: 180px;
    position: relative;
}

.service h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-label {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--theme-color-2);
    margin-bottom: 20px;
    text-align: center;
}

.contact-label span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-color-21);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        text-align: center;
    }

    .text-container {
        text-align: center;
    }

    .services-list li {
        font-size: 1rem;
    }

    .btn {
        align-self: center;
    }

    #other-services {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0 1rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .service {
        flex: 1 1 auto;
        width: 70%;
        margin-right: 1rem;
        scroll-snap-align: center;
    }

    .service:last-child {
        margin-right: 0;
    }

    #other-services::-webkit-scrollbar {
        display: none;
    }

}

/*---------------------------------
            Sobre Nós
 ---------------------------------*/
#about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

#about-text {
    background-image: none;
    background-size: cover;
    background-position: center;
    color: var(--theme-color-86);
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
}

#about-text .section-subtitle,
#about-text .section-title {
    color: var(--theme-color-86);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#about-text i {
    background-color: var(--theme-color-85);
}

.about-description {
    display: flex;
    align-items: center;
}

.about-description h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#about-data {
    flex: 1 1 0;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

#about-data .data {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: -1px;
    margin-left: -1px;
}

#about-data .data:first-child {
    border-bottom: 1px solid var(--secondary-text-color);
    border-right: 1px solid var(--secondary-text-color);
}

#about-data .data:last-child {
    border-top: 1px solid var(--secondary-text-color);
    border-left: 1px solid var(--secondary-text-color);
}

#about-data .data i {
    background-color: var(--theme-color-85);
    color: var(--main-color);
    font-size: 4rem;
    padding: 0;
}

.data .number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--theme-color-86);
}

.data .text {
    text-transform: uppercase;
    color: var(--theme-color-86);
}

#other-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
    background-color: var(--theme-color-22);
}

.service {
    background: var(--theme-color-2);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--theme-color-57);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 10px;
    position: relative;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.service:hover img {
    opacity: 0.8;
}

.service-info {
    padding: 20px;
}

.service-info h4 {
    font-size: 1.25rem;
    color: var(--theme-color-23);
    margin-bottom: 10px;
}

.service-info p {
    font-size: 1rem;
    color: var(--theme-color-24);
    line-height: 1.5;
}

.service:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--theme-color-58);
}

.service i {
    font-size: 2rem;
    color: var(--theme-color-10);
    display: block;
    margin: 20px auto;
}

@media (max-width: 992px) {
    #other-services {
        padding: 30px 10px;
    }

    .service {
        max-width: 45%;
    }

}

@media (max-width: 768px) {
    .service {
        max-width: 100%;
        margin: 10px 0;
    }

}

@media (max-width: 450px) {
    #footer i {
        font-size: 2rem;
        padding: 1rem;
    }

    .footer-brand {
        text-align: center;
        padding: 2rem 0;
    }

    .footer-brand h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        transition: transform 0.3s ease;
    }

    .footer-brand h2:hover {
        transform: scale(1.1);
    }

    .networks {
        margin-bottom: 3rem;
    }

    .links-container h4 {
        margin-bottom: 1.5rem;
    }

    .contact-info,
    .links-container {
        width: 100%;
    }

    #about-data {
        display: flex;
        flex-direction: column;
    }

    #about-data .data {
        width: 100%;
        margin: 0;
    }

}

/*---------------------------------
        Depoimentos 
 ---------------------------------*/
.depoiments {
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    background: linear-gradient(var(--theme-color-25), var(--theme-color-22));
}

.depoiments-container {
    width: max-content;
}

.depoiments .slide {
    padding: 40px 60px;
    cursor: grab;
}

.depoiments .slide:active {
    cursor: grabbing;
}

.depoiments p.depoi-txt {
    font-weight: 400;
    margin-bottom: 50px;
    font-size: 30px;
    color: var(--theme-color-9);
}

.slide .person img {
    width: 80px;
    height: 80px;
}

.slide .person {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slide .person p.name-person {
    font-size: 25px;
    font-weight: 600;
}

.slide .person p.func-person {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .nav-btn {
        display: none;
    }
}

/*---------------------------------
        Estilo de Titulos
 ---------------------------------*/
.depoiments-title,
.licenses-title,
.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--theme-color-26);
    font-family: "Poppins", sans-serif;
    text-align: center;
    position: relative;
}

.depoiments-title::after,
.licenses-title::after,
.contact-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--main-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ====== SUBTÍTULO DO ORÇAMENTO ====== */
.contact-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--theme-color-24);
    margin-bottom: 30px;
}

.contact-subtitle strong {
    color: var(--main-color);
}

@media screen and (max-width: 768px) {

    .nav-btn {
        display: none;
    }

}

/*---------------------------------
        Nossas Licenças 
 ---------------------------------*/
.license-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 0.6rem;
    border-radius: 12px;
    background: transparent;
    transition: transform 260ms cubic-bezier(.2, .9, .3, 1), box-shadow 260ms ease;
    will-change: transform, box-shadow;
    transform-origin: center center;
    cursor: pointer;
    overflow: hidden;
}

/* Imagem: ajuste interno para caber bem */
.license-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    transform-origin: center center;
}

/* Hover e focus (teclado) — leve aumento e sombra */
.license-item:hover,
.license-item:focus,
.license-item:focus-within {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(16, 24, 40, 0.12);
    outline: none;
}

/* Active / pressionado — efeito sutil de "afundar" */
.license-item:active {
    transform: scale(0.995);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

/* Fornecer foco visível (importante para acessibilidade de teclado) */
.license-item:focus-visible {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.16), 0 10px 25px rgba(16, 24, 40, 0.12);
}

/* Preferência por reduzir animações */
@media (prefers-reduced-motion: reduce) {

    .license-item,
    .license-item img {
        transition: none !important;
        will-change: auto !important;
    }

    .license-item:hover,
    .license-item:focus {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Mobile tweaks: itens menores e menos gap */
@media (max-width: 480px) {
    .license-item {
        width: 110px;
        height: 80px;
        padding: 0.4rem;
    }

    .licenses-container {
        gap: 0.8rem;
    }
}

.licenses-section {
    padding: 50px 20px;
    background-color: var(--theme-color-22);
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--theme-color-23);
    font-family: 'Arial', sans-serif;
}

.licenses-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 0 10px;
}

.license-item {
    background-color: var(--theme-color-2);
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--theme-color-57);
    padding: 20px;
    transition: transform 0.3s ease;
}

.license-item img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.license-item:hover {
    transform: translateY(-10px);
}

@media screen and (max-width: 1200px) {

    .licenses-container {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media screen and (max-width: 768px) {

    .licenses-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 480px) {

    .licenses-container {
        grid-template-columns: 1fr;
    }

}

/*---------------------------------
            Contato
 ---------------------------------*/
.ro strong {
    color: var(--theme-color-84-bg-color);
    padding-bottom: 200px;
}

.ro {
    color: var(--theme-color-2);
    padding-bottom: 200px;
    background-image: url(../img/meio-ambiente-scroll.jpeg);
}

#contact {
    background-color: var(--main-color);
    gap: 0;
    padding-bottom: 5rem;
}

#contact-information input,
#contact-information textarea,
#contact-information select {
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--theme-color-14);
    font-size: 14px;
    box-sizing: border-box;
    display: block;
}

#contact-information input:focus,
#contact-information textarea:focus,
#contact-information select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--focus-shadow);
    outline: none;
}

.text-image-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--theme-color-27);
    margin-top: 0;
}

#contact-information {
    margin-top: 0;
    padding-top: 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-container {
    flex: 1;
    margin: 20px;
}

.section-subtitle {
    font-size: 22px;
    color: var(--theme-color-9);
    margin-bottom: 15px;
    font-weight: bold;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid var(--theme-color-14);
    font-size: 16px;
    transition: all 0.3s ease;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--theme-color-28);
    box-shadow: 0 0 10px var(--theme-color-59);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--theme-color-28);
    outline: none;
    box-shadow: 0 0 10px var(--theme-color-60);
}

.service-label {
    margin: 15px 0;
    font-size: 24px;
    color: var(--theme-color-8);
    margin-bottom: 10px;
}

.selected-services {
    margin: 20px 0;
}

.selected-services p {
    font-size: 24px;
    color: var(--theme-color-8);
    margin-bottom: 10px;
}

.selected-services ul {
    list-style-type: none;
    padding-left: 0;
}

.selected-services ul li {
    font-size: 18px;
    color: var(--theme-color-23);
}

.hint {
    font-size: 20px;
    color: var(--theme-color-29);
    margin-top: 0;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background-color: var(--theme-color-30);
    color: var(--theme-color-86);
}

.clear-btn {
    background-color: var(--theme-color-31);
    color: var(--theme-color-86);
}

.btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
    }

    .text-container,
    .image-container {
        margin: 0;
        text-align: center;
    }
}

/*---------------------------------
    Animação Contato - Individuáis
 ---------------------------------*/
.selected-services {
    margin: 20px 0;
}

.selected-services p {
    font-size: 24px;
    color: var(--theme-color-8);
    margin-bottom: 10px;
}

.selected-services ul {
    list-style-type: none;
    padding-left: 0;
}

.selected-services ul li {
    font-size: 18px;
    color: var(--theme-color-23);
}

.hint {
    font-size: 20px;
    color: var(--theme-color-29);
    margin-top: 0;
    display: inline-block;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(-5px);
    }

}

/*---------------------------------
        Footer Informativo
---------------------------------*/

.recommendations-box {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.recommendation-card {
    background-color: var(--theme-color-2);
    box-shadow: 0 4px 8px var(--theme-color-57);
    padding: 2rem;
    border-radius: 10px;
    width: 30%;
    margin: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card h4 {
    font-size: 1.9rem;
    color: var(--theme-color-32);
    margin-bottom: 1rem;
}

.recommendation-card p {
    font-size: 20px;
    color: var(--theme-color-33);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.p-localidades {
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto;
    text-align: justify;
}

.recommendation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px var(--theme-color-58);
}

@media (max-width: 768px) {
    .recommendation-card {
        width: 80%;
    }

}

@media (max-width: 480px) {
    .recommendation-card {
        width: 100%;
    }

}

/*---------------------------------
        Footer 
---------------------------------*/
.footer-new {
    background-color: var(--theme-color-26);
    color: var(--theme-color-2);
    height: 1%;
}

#footer {
    height: 1%;
    color: var(--primary-text-color);
    background-color: var(--secondary-bg-color);
    display: flex;
    justify-content: space-around;
    padding: 1rem 1rem 1.5rem;
    flex-wrap: wrap;
    text-align: justify;
}

#footer i {
    height: 1%;
    font-size: 1rem;
    padding: 0.3rem;
}

#footer a {
    color: var(--primary-text-color);
    height: 1%;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 19px;
}

#footer a:hover {
    color: var(--main-color);
}

.contact-info,
.links-container {
    width: 20%;
    height: 1%;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-brand h2 {
    background-color: var(--main-color);
    margin-bottom: 0.5rem;
    padding: 1rem;
}

.social-networks {
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.social-networks p {
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-text-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.networks {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.networks a {
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    color: var(--theme-color-2);
    text-align: center;
    line-height: 40px;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.networks a:hover {
    background-color: var(--main-color-dark);
    transform: scale(1.1);
}

.footer-contact .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: var(--primary-text-color, #fff);
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-contact .contact-list i {
    font-size: 1.1rem;
    margin-right: 8px;
    color: var(--main-color, #d92123);
}

.footer-contact .contact-list a {
    color: inherit;
    text-decoration: none;
}

.footer-contact .contact-list a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }

    #footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-brand,
    .links-container,
    .contact-info {
        width: 100%;
        margin-bottom: 10px;
    }

    .networks {
        justify-content: center;
    }

}

@media (max-width: 450px) {

    #footer i {
        font-size: 2rem;
        padding: 1rem;
    }

    .networks {
        margin-bottom: 3rem;
    }

    .contact-info,
    .links-container {
        width: 100%;
    }

    body {
        overflow-x: hidden;
    }

}

/*---------------------------------
        Links e Hovers
---------------------------------*/
.hover-text {
    font-size: 28px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--theme-color-56);
    cursor: auto;
}

.hover-text:hover {
    transform: scale(1.1);
    color: var(--theme-color-61);
}

.links-container {
    text-align: center;
}

.hover-effect {
    font-size: 24px;
    color: var(--theme-color-62);
    transition: all 0.3s ease;
    display: inline-block;
    transform: scale(1.2);
    animation: pulse 0.6s infinite alternate;
    cursor: auto;
}

.hover-effect:hover {
    color: var(--theme-color-62);
    transform: scale(1.2);
    animation: pulse 0.6s infinite alternate;
    cursor: auto;
}

@keyframes pulse {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }

}

/*---------------------------------
        Direitos Reservados
---------------------------------*/
.footer-rights {
    background-color: var(--theme-color-9);
    padding: 10px;
    text-align: center;
    color: var(--theme-color-2);
}

.links-container .phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 1rem;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--theme-color-85);
    text-align: center;
}

/* Ajustes finos para ícone e o parágrafo do telefone */
.links-container .phone-number i {
    font-size: 1.25rem;
    display: inline-block;
    line-height: 1;
}

.links-container .phone-number p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
}


.phone-number {
    display: flex;
    border: 1px solid var(--main-color);
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.phone-info {
    color: var(--secondary-color);
}

.links-container h4 {
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.links-container nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.links-container nav a {
    padding: 0.8rem 0;
    margin: 0;
    border-bottom: 1px solid var(--secondary-color);
    line-height: 1.05;
    transition: padding 0.15s ease;
}


@media (max-width: 780px) {
    .footer-rights {
        position: relative;
        z-index: 999999;
    }
}


/* Pequeno ajuste para telas muito pequenas (opcional) */
@media (max-width: 450px) {
    .links-container nav {
        gap: 0.35rem;
    }

    .links-container nav a {
        padding: 0.45rem 0;
    }
}

#img-rodape {
    height: 400px !important;
    width: 100%;
    object-fit: cover;
    display: block;
}

#expertise-areas {
    --ex-subtitle-size: 2rem;
    --ex-title-size: 2rem;
    --ex-highlight-size: 3rem;
    --ex-list-title-size: 1.5rem;
    --ex-list-desc-size: 1.5rem;
    --ex-cta-h4-size: 1.8rem;
    --ex-cta-text-size: 1.5rem;
    --ex-trust-size: 1.5rem;
    --ex-gap: 1.5rem;
}

#expertise-areas .section-subtitle {
    font-size: var(--ex-subtitle-size);
}

#expertise-areas .section-title {
    font-size: var(--ex-title-size);
}

#expertise-areas .section-title .highlight {
    font-size: var(--ex-highlight-size);
}

#expertise-areas .services-list li strong {
    font-size: var(--ex-list-title-size);
}

#expertise-areas .services-list .service-short {
    font-size: var(--ex-list-desc-size);
}

#expertise-areas .expertise-cta h4 {
    font-size: var(--ex-cta-h4-size);
}

#expertise-areas .expertise-cta .cta-text {
    font-size: var(--ex-cta-text-size);
}

#expertise-areas .expertise-cta .trust-items {
    font-size: var(--ex-trust-size);
}

#expertise-areas .expertise-grid {
    gap: var(--ex-gap);
}

@media (max-width: 900px) {

    #expertise-areas {
        --ex-subtitle-size: 0.9rem;
        --ex-title-size: 1.25rem;
        --ex-highlight-size: 1.25rem;
        --ex-list-title-size: 1rem;
        --ex-list-desc-size: 0.9rem;
        --ex-cta-h4-size: 1rem;
        --ex-cta-text-size: 0.95rem;
        --ex-trust-size: 0.92rem;
        --ex-gap: 0.9rem;
    }

}

/* Aplica a família só dentro da seção */

#expertise-areas {
    --ex-font-family: "Poppins", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ex-weight-regular: 600;
    --ex-weight-strong: 800;
}

#expertise-areas,
#expertise-areas * {
    font-family: var(--ex-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#expertise-areas .section-title,
#expertise-areas #services-title,
#expertise-areas .expertise-cta h4 {
    font-weight: var(--ex-weight-strong);
    letter-spacing: -0.2px;
    line-height: 1.08;
}

#expertise-areas .section-subtitle,
#expertise-areas .services-list li strong {
    font-weight: var(--ex-weight-regular);
}

#expertise-areas .service-short,
#expertise-areas .cta-text,
#expertise-areas .services-list li {
    font-weight: 500;
}

#expertise-areas .btn-cta,
#expertise-areas .btn-outline-cta {
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Pulso sutil e infinito para o botão "Pedir Orçamento" --- */
.btn-quote {
    will-change: transform, box-shadow;
    animation: pulse-infinite 1.8s ease-in-out 0s infinite;
    transform-origin: center;
}

/* Pausa a animação enquanto o usuário passa o mouse (melhora UX) */
.btn-quote:hover,
.btn-quote:focus {
    animation-play-state: paused;
    outline: none;
}

/* Keyframes do pulso: escala muito sutil para não incomodar */
@keyframes pulse-infinite {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 14px var(--theme-color-63);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 14px 30px var(--theme-color-64);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 14px var(--theme-color-63);
    }
}

/* Acessibilidade: respeita usuários que pediram menos movimento */
@media (prefers-reduced-motion: reduce) {
    .btn-quote {
        animation: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 768px) {
    #expertise-areas .section-title {
        font-weight: var(--ex-weight-strong);
    }

    #expertise-areas .services-list li strong {
        font-weight: 700;
    }

}

/* Links dentro da lista de serviços */
#expertise-areas .services-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color, var(--theme-color-26));
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

#expertise-areas .services-list a:hover {
    background: var(--primary-color, var(--theme-color-34));
    color: var(--theme-color-2);
    transform: translateX(6px);
    box-shadow: 0 4px 12px var(--theme-color-65);
}

#expertise-areas .services-list a::before {
    content: "▸";
    position: absolute;
    left: 10px;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#expertise-areas .services-list a:hover::before {
    transform: translateX(4px);
    opacity: 1;
}

#expertise-areas .services-list strong {
    margin-left: 14px;
}

.footer-hero {
    margin: 0;
    padding: 0;
}

.footer-hero .footer-image {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    display: block;
}

.footer-hero .footer-image img#img-rodape {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: translateZ(0);
    transition: transform 0.6s ease;
}

.footer-hero .footer-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--theme-color-66) 0%, var(--theme-color-67) 45%, var(--theme-color-66) 100%);
    z-index: 2;
    pointer-events: none;
}

.footer-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    padding: 16px;
    pointer-events: none;
}

.hero-title {
    font-family: "Lato", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(34px, 6.5vw, 64px);
    color: var(--theme-color-10);
    font-weight: 800;
    letter-spacing: -0.6px;
    text-transform: capitalize;
    margin: 0;
    line-height: 0.95;
    text-shadow: 0 10px 30px var(--theme-color-54);
    pointer-events: none;
    transform: translateY(8px);
    opacity: 0;
    animation: heroFadeUp 700ms ease-out 200ms forwards;
}

.hero-sub {
    color: var(--theme-color-68);
    font-size: clamp(14px, 2.2vw, 20px);
    margin-top: 10px;
    margin-bottom: 14px;
    font-weight: 600;
    pointer-events: none;
    transform: translateY(8px);
    opacity: 0;
    animation: heroFadeUp 700ms ease-out 320ms forwards;
}

.hero-cta {
    pointer-events: auto;
    display: inline-block;
    background: var(--main-color);
    color: var(--theme-color-2);
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 24px var(--theme-color-67);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms;
    margin-top: 8px;
}

.hero-cta:hover,
.hero-cta:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--theme-color-69);
    background: var(--theme-color-35);
}

@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* comportamento mobile: reduzir altura e tamanhos */
@media (max-width: 720px) {

    .footer-hero .footer-image {
        height: 320px;
    }

    .hero-title {
        font-size: clamp(24px, 8vw, 40px);
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-cta {
        padding: 10px 18px;
        font-size: 15px;
    }

}

[data-reveal="pending"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

[data-reveal="shown"] {
    opacity: 1;
    transform: translateY(0);
}

.number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--theme-color-23);
}

/* ===========================
   Ajustes de responsividade
   (header e menus)
=========================== */
.navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.bg-green-transparent {
    padding: 14px 12px;
    font-size: 18px;
    position: absolute;
    left: 0;
    right: 0;
}

.bg-green-transparent .navbar-nav .nav-link {
    font-size: 1.05rem;
    padding: 6px 10px;
}

.bg-green-fixed {
    height: 100px;
    padding: 0 1rem;
}

.navbar-brand {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-new .overlay h1,
.header-new .overlay p {
    max-width: 92%;
    word-wrap: break-word;
}

.header-new .overlay h1 {
    font-size: clamp(1.3rem, 4.2vw, 2.8rem);
    margin-bottom: .4rem;
    line-height: 1.05;
}

.header-new .overlay p {
    font-size: clamp(.95rem, 2.2vw, 1.25rem);
    margin: 0;
}

.navbar-toggler {
    margin-left: auto;
    z-index: 1200;
}

.cta-actions a {
    margin-top: 15px;
}

@media (max-width: 992px) {
    .bg-green-transparent {
        padding: 10px 12px;
        font-size: 16px;
    }

    .bg-green-transparent .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 10px 16px;
        display: block;
    }

    .bg-green-transparent .navbar-collapse,
    .navbar-collapse {
        position: static !important;
        background: var(--theme-color-70);
        width: 100%;
        margin-top: .6rem;
        border-radius: 6px;
        padding: .6rem 0;
        z-index: 1150;
    }

    .bg-green-fixed {
        height: 72px;
    }

    .bg-green-fixed .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 6px 10px;
    }

}

/* Tablets e pequenos celulares: reduzir fontes e espaços */
@media (max-width: 768px) {
    .navbar {
        padding: .5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .bg-green-transparent .navbar-nav .nav-link,
    .bg-green-fixed .navbar-nav .nav-link {
        font-size: .98rem;
    }

    .header-new {
        height: auto;
        padding: 2.5rem 0;
    }

    .header-new .overlay {
        padding: 12px;
    }

    .navbar-collapse.show {
        position: relative !important;
    }

}

/* Pequenos telefones (garante que texto do topo não quebre feio) */
@media (max-width: 420px) {
    .bg-green-transparent {
        padding: 8px 10px;
        font-size: 15px;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .bg-green-transparent .navbar-nav .nav-link,
    .bg-green-fixed .navbar-nav .nav-link {
        font-size: .95rem;
        margin-right: 0;
        padding: 8px 14px;
    }

    .bg-green-fixed {
        height: 64px;
    }

    .header-new .overlay h1 {
        font-size: clamp(20px, 8.5vw, 28px);
    }

    .header-new .overlay p {
        font-size: clamp(13px, 3.8vw, 16px);
    }

}

/* Em telas muito pequenas, move brand para linha separada para evitar overlap */
.navbar-collapse {
    z-index: 1150;
}

.navbar-brand {
    max-width: 65%;
}

@media (max-width: 500px) {

    .navbar .container {
        justify-content: space-between;
    }

    .navbar-brand {
        max-width: 55%;
    }

    .navbar-toggler {
        margin-left: 8px;
    }

}

@media (max-width: 991.98px) {

    .header-new .overlay h1,
    .header-new .overlay p {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    #topNav-new .navbar-toggler {
        display: none !important;
        pointer-events: none !important;
    }

    #topNav-new .navbar-collapse {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    #topNav-new {
        z-index: 1000;
    }

}

/* ===== Estilos modernos e profissionais para a seção "Nossos Serviços" ===== */
.services-section {
    position: relative;
    padding: 60px 12px;
    overflow: visible;
    background: linear-gradient(180deg, var(--theme-color-71), var(--theme-color-36));
}

.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 28px;
}

.services-lead {
    color: var(--theme-color-37);
    margin-top: 8px;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
}

/* Card individual */
.service-card {
    background: linear-gradient(180deg, var(--theme-color-10), var(--theme-color-38));
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 20px var(--theme-color-72);
    transition: transform 0.35s cubic-bezier(.2, .9, .25, 1), box-shadow 0.35s ease, opacity 0.45s ease, filter 0.35s ease;
    transform-origin: center;
    opacity: 0;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* Icon */
.service-icon {
    font-size: 28px;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--theme-color-73), var(--theme-color-74));
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Title & desc */
.service-title {
    font-size: 1.05rem;
    margin: 0;
    color: var(--theme-color-39);
    font-weight: 700;
}

.service-desc {
    margin: 0;
    color: var(--theme-color-40);
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
}

/* Hover / focus */
.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px var(--theme-color-75);
    filter: saturate(1.02);
}

/* Reveal state */
.service-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* CTA */
.services-cta {
    text-align: center;
    margin-top: 10px;
}

.services-cta .cta-phrase {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--theme-color-26);
    font-size: 1.1rem;
}

.cta-buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cta {
    background: var(--main-color);
    color: var(--theme-color-2);
    padding: 12px 18px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 800;
    box-shadow: 0 8px 20px var(--theme-color-76);
}

.btn-outline-cta {
    background: var(--theme-color-85);
    color: var(--main-color);
    border: 2px solid var(--theme-color-77);
    padding: 12px 18px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Animação de rotação da imagem de contato */
#contact-image {
    transition: transform 0.6s ease;
    display: inline-block;
}

#contact-image:hover {
    transform: rotate(20deg);
}

/* Versão com ida e volta */
#contact-image {
    transition: transform 0.6s ease;
    display: inline-block;
}

#contact-image:hover {
    animation: spin-forward 0.6s forwards;
}

#contact-image:not(:hover) {
    animation: spin-back 0.6s forwards;
}

@keyframes spin-forward {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(20deg);
    }
}

@keyframes spin-back {
    from {
        transform: rotate(20deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Watermark */
.services-watermark {
    position: absolute;
    right: 4%;
    top: 6%;
    width: 480px;
    height: 480px;
    background-image: url('src/img/logo-brasali.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    filter: drop-shadow(0 2px 6px var(--theme-color-77));
    transform: rotate(-12deg);
    pointer-events: none;
    z-index: 1;
}

/* responsividade */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-watermark {
        width: 360px;
        height: 360px;
        right: 2%;
        top: 8%;
        opacity: 0.05;
    }
}

@media (max-width: 780px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .services-watermark {
        display: none;
    }

    .services-wrapper {
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 18px;
        border-radius: 10px;
    }

    .service-title {
        font-size: 1rem;
    }

    .services-lead {
        font-size: 0.95rem;
    }
}

/* ===== Logo destacado acima de "Nossos Serviços" ===== */
.services-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px 0 8px 0;
    z-index: 3;
    position: relative;
    pointer-events: auto;
}

.services-logo-container .logo-link {
    display: inline-block;
    background: linear-gradient(180deg, var(--theme-color-78), var(--theme-color-79));
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 12px 30px var(--theme-color-75);
    transition: transform 0.45s cubic-bezier(.2, .9, .25, 1), box-shadow 0.35s ease;
    will-change: transform;
    transform-origin: center;
}

.services-logo-container img {
    display: block;
    width: 160px;
    max-width: 42vw;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 6px 18px var(--theme-color-80));
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: translateY(0);
    opacity: 0;
}

/* Hover / focus interactions */
.services-logo-container .logo-link:hover,
.services-logo-container .logo-link:focus {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px var(--theme-color-81);
}

/* Logo visible state */
.services-logo-container.img-in-view img {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 120ms;
}

/* Subtle floating animation for dynamism */
@media (prefers-reduced-motion: no-preference) {
    .services-logo-container.img-in-view img {
        animation: float-logo 6s ease-in-out infinite;
    }

    @keyframes float-logo {
        0% {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-6px) scale(1.01);
        }

        100% {
            transform: translateY(0) scale(1);
        }
    }
}

/* ===== Contato: estilo moderno e acessível ===== */
.contact-section {
    padding: 60px 16px;
    background: linear-gradient(var(--theme-color-22), var(--theme-color-41));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.asterisco-obrigatorio {
    color: var(--theme-color-87);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.contact-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-image {
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    height: auto;
    box-shadow: 0 18px 40px var(--theme-color-72);
    transform-origin: center;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(12px) scale(0.995);
}

.services-logo-container+.contact-section #contact-image {
    margin-top: 8px;
}

.contact-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    margin-bottom: 6px;
    color: var(--theme-color-42);
}

.contact-subtitle {
    color: var(--theme-color-43);
    margin-bottom: 18px;
}

.site-form {
    background: var(--theme-color-2);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 12px 30px var(--theme-color-82);
}

.row {
    display: flex;
    gap: 12px;
}

.row .col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--theme-color-23);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--theme-color-44);
    font-size: 1rem;
    transition: box-shadow .2s ease, transform .15s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 8px 20px var(--theme-color-83);
    border-color: var(--main-color);
    transform: translateY(-2px);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    margin-top: 20px;
    margin-bottom: 15px;
}

.left-actions {
    display: flex;
    gap: 10px;
}

.left-actions button {
    flex: 1;
}

.helper {
    color: var(--theme-color-45);
    font-size: 0.9rem;
    margin: 0;
}

.form-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: var(--theme-color-46);
    color: var(--theme-color-47);
    display: block;
}

.form-message.error {
    background: var(--theme-color-48);
    color: var(--theme-color-49);
    display: block;
}

/* Buttons */
.btn-cta {
    background: var(--main-color);
    color: var(--theme-color-2);
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.btn-outline-cta {
    background: var(--theme-color-85);
    color: var(--main-color);
    border: 2px solid var(--theme-color-77);
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
}

/* Visible state for image */
.contact-media.img-in-view #contact-image {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .right-actions {
        text-align: left;
    }

    .contact-media {
        order: -1;
    }
}

/* Tornar as linhas divisórias brancas na seção "Sobre nós" (usa a variável já existente) */
#about {
    --secondary-text-color: var(--theme-color-10);
}

/* ---- Hotfix: evitar sobreposição do formulário nas recomendações em telas pequenas ---- */
@media (max-width: 600px) {
    .contact-section {
        min-height: auto;
        height: auto;
        overflow: visible;
        padding-bottom: 72px;
    }
}

/* Footer: show more / Ver mais behavior */
.links-container nav {
    position: relative;
}

/* Links do footer: corrigindo linha divisória */
.links-container nav .service-link {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    color: inherit;
}

/* Remove linha do último link visível */
.links-container nav .service-link:last-child {
    border-bottom: none;
}

/* Toggle button style */
.link-toggle {
    display: inline-block;
    margin-top: 0.6rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 160ms ease, background-color 160ms ease;
}

.link-toggle:hover {
    transform: translateY(-2px);
}

.link-toggle:active {
    transform: translateY(0);
}

/* Accessibility focus */
.link-toggle:focus {
    outline: 3px solid rgba(0, 123, 255, 0.14);
    outline-offset: 2px;
}

/* Small screens: make toggle full width */
@media (max-width: 480px) {
    .link-toggle {
        width: 100%;
        text-align: center;
    }
}

/* ===== User requested responsive adjustments ===== */
@media (max-width: 767.98px) {

    .header-new .overlay h1,
    .header-new .overlay p {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    /* Increase header height on mobile */
    .header-new {
        min-height: 220px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

@media (min-width: 768px) {

    .header-new .overlay h1,
    .header-new .overlay p {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        line-height: normal !important;
        margin: initial !important;
        padding: initial !important;
    }
}

/* Navbar: show only brand, .nav-email and .nav-orcamento on medium and smaller screens */
@media (max-width: 992px) {
    .bg-green-transparent .navbar-nav>* {
        display: none !important;
    }

    .bg-green-transparent .navbar-nav {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .bg-green-transparent .navbar-brand {
        display: inline-block !important;
        margin-right: auto !important;
    }

    .bg-green-transparent .nav-email,
    .bg-green-transparent a[href^="mailto:xequemate.servicos@gmail.com"] {
        display: inline-block !important;
        padding: 6px 10px !important;
        font-size: 0.95rem !important;
        white-space: nowrap !important;
    }

    .bg-green-transparent .nav-orcamento {
        display: inline-block !important;
        padding: 6px 10px !important;
        font-weight: 600 !important;
    }

    .bg-green-transparent .navbar-collapse {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: transparent !important;
        position: static !important;
        width: auto !important;
    }
}

@media (max-width: 480px) {

    .bg-green-transparent .nav-email,
    .bg-green-transparent .nav-orcamento {
        font-size: 0.9rem !important;
        padding: 6px 8px !important;
    }
}



/* ======= FIX: manter texto do header visível em telas pequenas =======*/
@media (max-width: 991.98px) {

    .header-new .overlay h1,
    .header-new .overlay p {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        margin: initial !important;
        padding: initial !important;
        line-height: normal !important;
        overflow: visible !important;
    }
}

/* Também garantir que em breakpoints menores (<= 768px) o texto continue visível */
@media (max-width: 767.98px) {

    .header-new .overlay h1,
    .header-new .overlay p {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        margin: initial !important;
        padding: initial !important;
        line-height: normal !important;
        overflow: visible !important;
    }
}

/* --- Infinite horizontal licensas e clientes para .licenses-container ---*/
.licenses-section .licenses-container {
    display: block !important;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    background: transparent;
}

.licenses-section .licenses-container .licenses-track {
    display: flex;
    gap: 4.25rem;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* keep .license-item visuals but make them inline-flex for proper horizontal layout */
.licenses-section .licenses-container .license-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    padding: 0.6rem;
    box-sizing: border-box;
    background: transparent;
    border-radius: 12px;
    transition: transform 260ms cubic-bezier(.2, .9, .3, 1), box-shadow 260ms ease;
}

/* reduce image max-height slightly to fit as horizontal row */
.licenses-section .licenses-container .license-item img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    border-radius: 8px;
}

.licenses-section .licenses-container .licenses-track.marquee-anim {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: licenses-marquee-anim;
    animation-play-state: running;
}

/* Small responsiveness tweaks */
@media (max-width: 480px) {
    .licenses-section .licenses-container .license-item {
        width: 110px;
        height: 110px;
    }

    .licenses-section .licenses-container .license-item img {
        max-height: 80px;
    }
}

/* --- Ensures footer/social links are clickable and not blocked by overlays --- */
#footer,
.footer-new,
.networks {
    position: relative !important;
    z-index: 2000 !important;
    pointer-events: auto !important;
}

#footer * {
    pointer-events: auto !important;
}

.networks a {
    pointer-events: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-hero__content {
    pointer-events: auto !important;
}

.networks a.social-link {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-size: 1.25rem;
    color: #fff;
    transition: transform 220ms cubic-bezier(.2, .9, .3, 1), box-shadow 220ms ease, opacity 220ms ease;
    box-shadow: 0 6px 18px rgba(8, 15, 30, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* Specific brand colors */
.networks a.social-facebook {
    background: radial-gradient(circle at 30% 100%, #1177f2 90%);
    box-shadow: 0 8px 22px rgba(214, 36, 159, 0.14);
    color: #fff;
}

.networks a.social-linkedin {
    background: radial-gradient(circle at 30% 100%, #0173b2 90%);
    box-shadow: 0 8px 22px rgba(214, 36, 159, 0.14);
    color: #fff;
}

.networks a.social-instagram {
    background: radial-gradient(circle at 30% 100%, #fd5949 45%);
    box-shadow: 0 8px 22px rgba(214, 36, 159, 0.14);
    color: #fff;
}

/* Hover/focus effects */
.networks a.social-link:hover,
.networks a.social-link:focus {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 40px rgba(8, 15, 30, 0.18);
    opacity: 1;
    outline: none;
}

/* Icon sizing inside anchor */
.networks a.social-link i {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

/* Estado normal dos ícones sociais */
.social-networks i {
    background-color: transparent;
    padding: 0;
    font-size: 2rem;
    color: inherit;
    transition: color 0.3s ease;
}

/* Quando passar o mouse no link, o ícone fica branco */
.social-networks a:hover i {
    color: #fff;
}

/* Make sure links remain accessible on small screens */
@media (max-width: 480px) {
    .networks a.social-link {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

/* IMG Footer - BA map */
#img-localidades {
    width: 90%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 20px auto;

    border: 6px solid #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

#img-localidades:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

#img-localidades {
    filter: contrast(1.05) saturate(1.1);
}

/* ===== Desinsetização - estilo moderno ===== */
.desin-hero {
    background: linear-gradient(var(--theme-color-25), var(--theme-color-22), var(--theme-color-22), var(--theme-color-22));
    padding: 3.2rem 0;
}

.desin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.desin-info {
    background: rgba(245, 245, 245, 0.932);
}

.desin-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.desin-left {
    flex: 1 1 420px;
    min-width: 280px;
}

.desin-right {
    flex: 1 1 460px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kicker {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 20px rgba(31, 143, 107, 0.12);
}

.desin-title {
    font-size: 2rem;
    margin: 0 0 .6rem 0;
    line-height: 1.06;
    color: #0b2930;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.desin-sub {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.desin-cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.btn-primary-desin {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(19, 136, 15, 0.301);
    transition: transform .12s ease, box-shadow .12s ease;
    text-decoration: none;
}

.btn-primary-desin:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(19, 136, 15, 0.301);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
}

/* Feature cards */
.features {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.feature {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #fff);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 6px 18px rgba(9, 30, 24, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 160px;
}

.feature i {
    background: var(--glass);
    padding: 10px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--accent-dark);
}

/* Media card */
.media-card {
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    background: linear-gradient(180deg, #fff, #fbfdfc);
}

.media-thumb {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-btn {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.55);
    width: 92px;
    height: 92px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    border: 3px solid rgba(255, 255, 255, 0.12);
    transition: transform .14s ease, background .14s ease;
    cursor: pointer;
}

.play-btn:hover {
    transform: scale(1.06);
    background: rgba(0, 0, 0, 0.65);
}

.media-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid rgba(12, 34, 31, 0.03);
    font-size: 0.9rem;
    color: var(--muted);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 1.75rem;
}

.step {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(9, 30, 24, 0.04);
    text-align: center;
}

.step strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #0b2930;
}

/* Responsive */
@media (max-width: 900px) {
    .desin-row {
        gap: 1rem;
    }

    .media-thumb {
        height: 240px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .desin-title {
        font-size: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .media-thumb {
        height: 200px;
    }
}

/* Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 8, 0.6);
    z-index: 1200;
    padding: 30px;
}

.video-modal.open {
    display: flex;
}

.video-modal .modal-card {
    width: 100%;
    max-width: 960px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.modal-close {
    position: absolute;
    right: 28px;
    top: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #fff;
    font-size: 1.05rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
}