/**
* by Omnibyte Sistemas
* Layout for "Grupo TerraMaq".
*
* @project Grupo TerraMaq.
* @version 1.0.
* @package layout.
* @author - Emerson Fernandes.
* @copyright 202X.
*
* @colordef ;
* @colordef ;
* @colordef ;
**/

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Remove AOS delay and offset in mobile devices */
@media (max-width: 768px) {
    [data-aos] {
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
    
    /* Override AOS offset for mobile - animations start with smaller offset */
    [data-aos][data-aos-offset] {
        --aos-offset: 100px !important;
    }
    
    /* Ensure animations are more responsive on mobile */
    body[data-aos-easing] {
        --aos-easing: ease-in-out !important;
    }
}

p{
    line-height: 1.3em;
}

.bold{
    font-weight: 600;
}

.a{
    height: 300px;
    background-color: red;
}

.b{
    height: 400px;
    background-color: blueviolet;
}

.c{
    height: 200px;
    background-color: yellow;
}

.d{
    height: 500px;
    background-color: green;
}

.e {
    height: 250px;
    background-color: aqua;
}

.f {
    height: 350px;
    background-color: brown;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#pageLoader img {
    position: absolute;
    margin: -180px auto 0 auto;
    right: 0;
    left: 0;
    height: 100px;
    animation: pulsar 1.5s ease-in-out infinite;
}

/* Animação de pulsar */
@keyframes pulsar {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.85;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-bar-container {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.loader-bar {
    width: 0;
    height: 100%;
    background-color: #8B1C1C;
    border-radius: 2px;
    animation: loading 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes loading {
    0% {
        width: 0;
        margin-left: 0;
    }
    50% {
        width: 100%;
        margin-left: 0;
    }
    100% {
        width: 0;
        margin-left: 100%;
    }
}

/* Ajuste para mobile */
@media (max-width: 575px) {
    .loader-bar-container {
        height: 3px;
    }
}

/* Header mobile improvements */
@media (max-width: 768px) {
    /* Navbar adjustments */
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar .container {
        margin-top: 0 !important;
    }
    
    /* Logo adjustments */
    .navbar-brand img {
        height: 40px !important;
        margin-left: 10px;
    }
    
    /* Menu toggle button */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Mobile menu styles */
    .navbar-collapse {
        margin-top: 1rem !important;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }
    
    /* Mobile nav links */
    .navbar-nav .nav-link {
        font-size: 1.1rem !important;
        padding: 0.8rem 0 !important;
        margin: 0 !important;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Remove desktop hover effects on mobile */
    .nav-link::after {
        display: none;
    }
    
    /* Mobile-specific hover effect */
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
        color: #8B1C1C !important;
    }
}

/* Extra small screens (smartphones) */
@media (max-width: 480px) {
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.7rem 0 !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Edições específicas */
.navbar-nav .nav-link {
    color: #114567;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #8B1C1C; 
    transition: 1s;
}

.active-menu {
    border-bottom: 2px solid #b22222;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #002F4D !important;
    font-weight: 500;
    padding: 8px 12px 2px 12px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #b22222; /* cor da borda/underline */
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .nav-link {
    font-size: 1.3em;
}

/* Slideshow */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-nav button {
    background: transparent;
    border: none;
    pointer-events: all;
}

.owl-nav i {
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.owl-nav i:hover {
    color: #b22222;
    animation: pulse 0.8s infinite;
}

/* animação de pulsar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Box do Slideshow */

#slideshow img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#boxSlideshow {
    margin-top: -180px;
    position: relative;
    z-index: 1000;
}

/* Container principal de cada card */
.hex-card {
    position: relative;
    color: #ccc;
    transition: transform 0.3s ease, filter 0.3s ease;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.5));
    width: 78%;
}

.hex-card img{
    position: absolute;
    margin-top: 190px;
}

/* O SVG que cria a forma do hexágono */
.hex-card .hex-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.hex-card .hex-shape path {
    fill: #3A3A3A;
    transition: fill 0.3s ease;
}

/* O conteúdo (texto) do card */
.hex-card .hex-content {
    position: absolute;
    z-index: 2;
    padding: 0px 40px 0px 40px;
    margin-top: 215px;
}

/* Efeito Hover */
.hex-card:hover {
    transform: scale(1.05);
    /* Aumenta a intensidade da sombra no hover */
    filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, 0.6));
}

.hex-card:hover .hex-shape path {
    fill: #222; /* Escurece o fundo no hover */
}

/* Estilos do seu texto (mantidos) */
.hex-card h3 {
    font-weight: bold;
    margin: 0; /* Centralizado pelo flexbox, não precisa de margem */
}
.hex-card p {
    margin: 5px 0 0 0;
}

/* Margens para sobreposição (mantidas) */
.hex1 { margin-left: 100px;}
.hex2 { margin-left: 25px;}
.hex3 { margin-left: -50px; }
.hex4 { margin-left: -125px; }

@media (max-width: 480px) {
    .hex-card {
        min-height: 120px;
        width: 95%;
    }
    
    .hex-card .hex-content {
        padding: 0px 10px 0px 20px;
        margin-top: 35px;
    }
    
    .hex-card h3 {
        font-size: 1.6rem;
    }
    
    .hex-card p {
        font-size: 0.9rem;
    }
    
    .hex1, .hex2, .hex3, .hex4 {
        margin-bottom: 10px;
    }
}


/* sobre */
#sobre{
    background-image: url("../img/img(2).png");
    background-size: 100%;
    /* background-position: center; */
    background-repeat: no-repeat;
    width: 100%;
    margin-top: -60px;
    padding-top: 10rem;
    padding-bottom: 7rem;
}

.mt-10 {
    margin-top: 5rem; 
}

@media (max-width: 1600px) {
    #sobre {
        padding-top: 10rem;
    }
}

@media (max-width: 1500px) {
    #sobre {
        padding-top: 7rem;
    }
}

@media (max-width: 1400px) {
    #sobre {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 1300px) {
    #sobre {
        padding-top: 6rem;
    }
}

.text-grey{
    color: #f8feff;
}

/* Seção Sobre - Mobile Optimizations */
@media (max-width: 768px) {
    #sobre {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
        margin-top: -40px;
        background-size: cover;
        background-position: center;
    }
    
    .mt-10 {
        margin-top: 2rem !important;
    }
    
    .no_row_xs{margin-left: 0px!important;margin-right: 0px!important;}
    
    #sobre .text-grey h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    #sobre .text-grey p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 1rem;
    }
    
    /* Video responsivo */
    #sobre iframe {
        height: 250px !important;
        margin-bottom: 2rem;
    }
    
    /* Ajustar order em mobile */
    #sobre .order-1 {
        margin-bottom: 2rem;
    }
    
    /* Centralizar texto em mobile */
    #sobre .col-12.offset-md-1.offset-lg-2 {
        offset: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    #sobre {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        margin-top: -30px;
    }
    
    .mt-10 {
        margin-top: 1.5rem !important;
    }
    
    #sobre .text-grey h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    #sobre .text-grey p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    #sobre iframe {
        height: 200px !important;
        margin-bottom: 1.5rem;
    }
}

/* empresas */
#empresas{
    background-color: #ccc;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Estilo para as logos das empresas */
#logos-emp img {
    filter: grayscale(0%);
    transition: filter 0.2s ease-in-out;
}

#logos-emp img:hover {
    filter: grayscale(90%);
    transform: scale(1.08);
    transition: 0.2s ease-in-out;
}

/* Seção Empresas - Mobile Optimizations */
@media (max-width: 768px) {
    #empresas {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    #empresas .row {
        flex-direction: column;
    }
    
    #empresas .col-5 {
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    #empresas .col-6 {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #empresas h1 {
        font-size: 2rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    #empresas p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 1rem;
    }

    .bg-mobile{
        background-color: #0E4466;
    }
    
    #logos-emp {
        margin-top: 2rem !important;
        justify-content: center;
    }
    
    #logos-emp .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    #empresas {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    #empresas h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    #empresas p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    #logos-emp .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* contato */
/* Seção de Contato */
/* Seção de Contato */
#contato {
    background-color: #3A3A3A;
    padding: 60px 0;
}

.ml-45{
    margin-left: 28px;
}

#contato h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.contact-details h5 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    color: #ffffff;
    font-size: 1rem;
}

.contact-details .contact-item i {
    margin-right: 15px;
    margin-top: 2px;
    color: #ffffff;
}

.contact-details .contact-item .text {
    line-height: 1.6;
}

.social-icons-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 5px 10px 20px rgba(255, 255, 255, 0.3);
    background-color: #3A3A3A;
    border: 1px solid #ffffff;
    transition: 0.2s;
    transform: translateY(80);
}

.social-icon:hover i {
    color: #fff;
}

.social-icon i {
    font-size: 2.1rem;
    color: #3a3a3a;
}

#formZap{
  width:300px;
  z-index:1000;
  overflow:hidden;
  height:230px;
  position:fixed;
  bottom:90px;
  right:17px;
  border-radius:6px;
  background-color:#fff;
  box-shadow:1px 1px 17px -7px #222
}

.zapTp{
  height:40px;
  font-size:14px;
  color:#fff;
  padding:10px 0 0;
  top:0
}

#formZap textarea{
  -webkit-appearance:none;
  resize:none;
  padding:20px 33px;
  letter-spacing:.5px;
  font-size:16px;
  box-sizing:border-box;
  top:40px;
  position:absolute;
  width:100%;
  height:calc(100% - 90px);
  min-height:calc(100% - 90px);
  outline:0;
  border-radius:0;
  border:0;
  background-color:transparent;
  color:#333
}

#enviaMsg,.zapTp{
  background-color:#25d465;
  text-align:center;
  box-sizing:border-box;
  width:100%;
  position:absolute;
  left:0
}

#enviaMsg{
  text-decoration:none;
  letter-spacing:.5px;
  height:50px;
  font-size:15px;
  color:#fff;
  padding:15px 0 0;
  bottom:0
}

#boxZap{
  position:fixed;
  z-index:1000;
  border-radius:50%;
  text-align:center;
  bottom:17px;
  right:17px;
  width:60px;
  height:60px;
  line-height:60px;
  font-size:25px;
  color:#fff;
  background-color:#25d465;
  box-shadow:1px 1px 8px -2px #111;
  cursor:pointer
}

#enviaMsg:hover{
  background-color:#1aa54d;
  transition:.2s
}

.pointer{cursor:pointer}

@media (max-width: 480px) {
    #formZap {
        width: 260px;
        height: 200px;
        bottom: 75px;
        right: 8px;
    }
    
    #formZap textarea {
        padding: 12px 16px;
        font-size: 13px;
        height: calc(100% - 80px);
        min-height: calc(100% - 80px);
    }
    
    .zapTp {
        height: 32px;
        font-size: 12px;
        padding: 7px 0 0;
    }
    
    #enviaMsg {
        height: 42px;
        font-size: 13px;
        padding: 10px 0 0;
    }
    
    #boxZap {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        bottom: 12px;
        right: 12px;
    }
}

/* Responsive */
@media (max-width: 767px) {
    #contato {
        padding: 50px 0;
    }

    #contato .col-md-7 > .d-flex {
        justify-content: center !important;
    }

    #contato .col-md-5.d-flex {
        justify-content: center !important;
    }

    #contato .conteudo-carreiras {
        text-align: center !important;
    }
    
    #contato h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .contact-details h5 {
        font-size: 1.5rem;
    }
    
    .contact-details .contact-item {
        font-size: 0.95rem;
        /* diminuir margin top aq */
    }
    
    .social-icons-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon i {
        font-size: 1.8rem;
    }
    
    .social-icons-wrapper {
        gap: 15px;
    }
}

/* Footer e Mapa - Mobile Optimizations */
@media (max-width: 768px) {
    /* Mapa responsivo */
    #mapa iframe {
        height: 300px !important;
    }
    
    /* Footer mobile */
    #footer {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    #footer .container-fluid .row .container {
        padding: 1rem 15px;
    }
    
    #footer p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    #barFooter {
        margin-top: -35px;
        height: 12px;
    }
    
    .hrFooter {
        margin: 15px 0;
    }
    
    #logoOmni {
        max-width: 80px;
        height: auto;
    }
    
    /* Ajustar colunas do footer para mobile */
    #footer .col-md-2.offset-md-5 {
        width: 100%;
        margin: 0;
        padding: 1rem 0;
    }
    
    /* Melhorar contato mobile */
    #contato .col-md-6.offset-md-1 {
        width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 15px;
    }
    
    #contato .col-md-4 {
        width: 100%;
        justify-content: center !important;
    }
    
    .contact-details {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-details .contact-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .social-icons-wrapper {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    /* Mapa menor em smartphones */
    #mapa iframe {
        height: 250px !important;
    }
    
    /* Footer extra small */
    #footer p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    #logoOmni {
        max-width: 70px;
    }
    
    #contato h1 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .contact-details h5 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem;
    }
    
    .contact-details .contact-item {
        font-size: 0.9rem !important;
    }
    
    .social-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .social-icon i {
        font-size: 1.6rem !important;
    }
}

/* footer */
#footer {
    background-color: #002F4D;
}

#barFooter{
    background-color: #8B1C1C;
    height: 15px;
    position: relative;
    margin-top: -55px;
    z-index: 99;
}

.hrFooter{
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #ffffff;
}

#logoOmni {
    transition: all 0.4s ease; /* transição suave */
    transform: scale(1);
    filter: brightness(1);
}

#logoOmni:hover {
    transform: scale(1.1) rotate(-2deg); /* leve zoom e inclinação */
    filter: brightness(1.3); /* leve brilho */
}



/* Modal de Carreiras */
#modalCarreira .modal-content {
    border-radius: 8px;
    border: none;
}

#modalCarreira .modal-header {
    background-color: #002F4D;
    color: white;
    border-radius: 8px 8px 0 0;
}

#modalCarreira .modal-header .close {
    color: white;
    opacity: 0.8;
}

#modalCarreira .modal-header .close:hover {
    opacity: 1;
}

#modalCarreira .form-group {
    margin-bottom: 1.5rem;
}

#modalCarreira label {
    font-weight: 500;
    color: #333;
}

#modalCarreira .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0.6rem 1rem;
}

#modalCarreira .form-control:focus {
    border-color: #002F4D;
    box-shadow: 0 0 0 0.2rem rgba(0, 47, 77, 0.25);
}

#modalCarreira .btn-primary {
    background-color: #002F4D;
    border-color: #002F4D;
}

#modalCarreira .btn-primary:hover {
    background-color: #001f33;
    border-color: #001f33;
}

#modalCarreira .custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#modalCarreira .custom-file-input:lang(pt-BR)~.custom-file-label::after {
    content: "Procurar";
}

/* Página parceiro */
.parceria-form {
  background: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.parceria-form:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.parceria-form input:focus,
.parceria-form textarea:focus {
  border-color: #002b45;
  box-shadow: none;
}
.btn-dark {
  background-color: #002b45;
  border: none;
}
.btn-dark:hover {
  background-color: #01385a;
}

#galeria {
    background-image: url("../img/img(8).png");
    background-size: 100%;
    background-position: center;
    background-repeat: repeat-y;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Seções Carreiras e Clientes - Mobile Optimizations */
@media (max-width: 768px) {
    .hex1,.hex3{
        left: 20px;
    }
    .hex2, .hex4{
        left: -20px;
    }
    .hex3, .hex4{
        margin-top: 39px;
    }

    /* Galeria mobile */
    #galeria {
        min-height: auto;
        padding: 3rem 0 0 0;
        background-size: cover;
        margin-top: 0;
    }

    #barFooter {
        margin-top: -38px;
    }
}

@media (max-width: 480px) {

}

/* Slideshow Mobile Optimizations */
@media (max-width: 768px) {
    #slideshow img {
        max-height: 400px;
        object-fit: cover;
    }
    
    #boxSlideshow {
        margin-top: 10px;
        margin-bottom: 70px;
    }
    
    /* Owl Carousel mobile adjustments */
    .owl-nav {
        display: none; /* Hide navigation arrows on mobile */
    }

    .owl-dots {
        display: none;
    }
    
    .owl-dot {
        display: inline-block;
        margin: 0 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .owl-dot.active {
        background-color: #8B1C1C;
    }
    
    .owl-dot:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }

    .hex-card img {
        /* margin-top: 40px; */
        margin-top: 70px!important;
    }

    .hex-card {
        width: 100%;
        min-height: 140px;
        margin-top: 15px;
        margin-bottom: 20px;
        filter: drop-shadow(3px 6px 8px rgba(0, 0, 0, 0.3));
    }
    
    .hex-card .hex-content {
        padding: 0px 15px 0px 25px;
        margin-top: 40px;
    }
    
    .hex-card h3 {
        font-size: 1.8rem;
        margin: 40px 0 0 0;
    }
    
    .hex-card p {
        font-size: 0.95rem;
        margin: 2px 0 0 0;
        line-height: 1.2;
    }
    
    /* Reset margins for mobile - stack vertically */
    .hex1, .hex2, .hex3, .hex4 {
        margin-left: 0 !important;
        margin-bottom: 15px;
    }

    .hex3, .hex4 {
        margin-top: 65px;
    }
    
    .hex-card:hover {
        transform: scale(1.02);
        filter: drop-shadow(4px 7px 10px rgba(0, 0, 0, 0.4));
    }
    
    /* Center hex cards on mobile */
    #boxSlideshow .row.text-center {
        justify-content: center;
    }
    
    #boxSlideshow .col-md-3 {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    #formZap {
        width: 280px;
        height: 220px;
        bottom: 80px;
        right: 10px;
        border-radius: 8px;
    }
    
    #formZap textarea {
        padding: 15px 20px;
        font-size: 14px;
        height: calc(100% - 85px);
        min-height: calc(100% - 85px);
    }
    
    .zapTp {
        height: 35px;
        font-size: 13px;
        padding: 8px 0 0;
    }
    
    #enviaMsg {
        height: 45px;
        font-size: 14px;
        padding: 12px 0 0;
    }
    
    #boxZap {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
        box-shadow: 2px 2px 12px -2px rgba(0, 0, 0, 0.3);
    }
    
    /* Melhor interação touch */
    #boxZap:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    #enviaMsg:active {
        background-color: #1aa54d;
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
}

@media (max-width: 480px) {
    .hex3, .hex4 {
        margin-top: 35px;
    } 

    #slideshow img {
        max-height: 300px;
    }
    
    #boxSlideshow {
        margin-top: 0;
    }
}

@media (max-width: 400px) {
    .hex3, .hex4 {
        margin-top: 0px;
    }
}
