body {
  background-image: url("../images/bg-colaboradores.jpg");
  background-size: cover;         /* faz a imagem cobrir toda a tela */
  background-repeat: no-repeat;   /* evita repetição da imagem */
  background-position: center;    /* centraliza a imagem */
  background-attachment: fixed;   /* fixa a imagem para não mover ao rolar a página */
  background-color: #f0f0ff;      /* fallback se a imagem não carregar */
  height: 100%;
  margin: 0;
  padding-top: 80px; /* empurra o conteúdo para baixo da navbar */
}

html {
  scroll-behavior: smooth;
  width: 100%;
  margin: 0;
  padding: 0;
}


.intro-content {
    position: relative;
    /* top: -8rem; */
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap:var(--gap);
    min-height: 100vh;
}

.intro-text-content, .intro-img {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}

.intro-img img {
    max-width: 100%;
    height: auto;
}

.top3-content {
    max-width: 80rem;
    display: flex;
    /* flex-flow: column wrap; */
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.grid-one-content {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    min-height: 100vh;
}

.grid-main-heading {
    margin-bottom: 1rem;
}

.grid-description {
    padding-bottom: 5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    counter-reset: grid-counter;
}

.grid h3 {
    font-size: 3rem;
    position: relative;
    padding-left: 5rem;
    padding-bottom: 3rem;
}

.grid h3::before {
    counter-increment: grid-counter;
    content: counter(grid-counter);
    position: absolute;
    font-size: 8rem;
    font-style: italic;
    top: -4rem;
    left: -2rem;
    transform: rotate(5deg);

}

.gallery-img {
    width: 100%;
    max-width: 36rem;
    max-width: 36rem;
    overflow: hidden;
}

.gallery-img img {
    transition: all 300ms ease-in-out;
}
.allery-img img:hover {
    transform: translate(-3%, 3%) scale(1.2) rotate(5deg);
}

.contact-form {
    grid-column: span 2;
}

.contact-form .form-grid {
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap);
}

.form-grid legend {
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 3rem;

}

.form-group {
    flex: 1 1 auto 320px;
}

.form-group label {
    display: block;
    margin: 1rem;
}

.form-group input,
.form-group textarea {
    border: none;
    background: var(--white-color);
    /* padding: 1.5rem 2rem; */
    width: 100%;
    font-size: 3rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0px 0px 10px 2px var(--secondary-color);
}

.form-group button {
    border: 0.5rem solid var(--white-color);
    background: none;
    color: var(--white-color);
    padding: 1.5rem 2rem;
    font-size: 3rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.form-group button:hover {
    background: var(--white-color);
    color: var(--primary-color);

}

.form-group ::placeholder {
    color: var(--light-gray-color);
}

.footer {
    text-align: center;
    font-size: 1.6rem;
}
.footer a {
    color: #444;
}

.heart {
    color: red;
}

.footer p {
    margin: 0;
    padding: 3rem;
}

.close-menu {
    display: none;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white-color);
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 50%;
    border-radius: 50%;
    color: var(--primary-color);
    transform: rotate(-90deg);
    border: 0.1rem solid var(--primary-color);
}

@media (max-width: 800px) {
    .intro-content .grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-img img {
        width: 100%;
    }
    .grid-one-content {
        display: block;
    }
    .menu {
        bottom: 0;
    }

    .menu-contente, .menu-contente ul {
        flex-direction: column;
        justify-content: center;
    }

    .menu-contente {
        height: 100vh;
    }

    .menu{
        display: none;
    }

    

    .close-menu-label::after {
        content: '☰';
        position: fixed;
        z-index: 2;
        top: 2rem;
        right: 2rem;
        background: var(--primary-color);
        color: var(--white-color);
        font-size: 3rem;
        line-height: 3rem;
        width: 3rem;
        height: 3rem;
        text-align: center;
        padding: 0.5rem;
        cursor: pointer;
    }

    .close-menu:checked~.menu {
        /* × */
        display: block;
    }
    .close-menu:checked~.close-menu-label::after {
        /* × */
        display: block;
        content: '×';

    }
    .menu-spacing{
        display: none;
    }

}


.video-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.video-item {
  text-align: center;
  margin-bottom: 40px;
}



.custom-carousel-size {
  max-width: 600px;   /* largura máxima do carrossel */
  max-height: 400px;  /* altura máxima do carrossel */
  margin: 0 auto;     /* centralizar horizontalmente */
  overflow: hidden;   /* evita overflow se a imagem for maior */
}

.custom-carousel-size .carousel-inner {
  height: 400px; /* altura fixa para o inner, para o efeito visual */
}

.custom-carousel-size .carousel-item img {
  height: 400px;   /* força a imagem a respeitar a altura */
  object-fit: cover; /* corta imagem proporcionalmente sem deformar */
  width: 100%;    /* largura total */
}

@media (max-width: 768px) {
  .custom-carousel-size,
  .custom-carousel-size .carousel-inner,
  .custom-carousel-size .carousel-item img {
    max-width: 100%;
    height: 250px;
  }
}


.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: #fff;
  text-align: center; /* <- centraliza horizontalmente */
  z-index: 10;
}



.carousel-caption h5,
.carousel-caption p {
  margin: 0;
}

.carousel-caption a.btn {
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .carousel-caption {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}

.carousel {
  position: relative;
}

.carousel-inner {
  min-height: 300px; /* ajuste conforme necessidade */
}



.custom-placeholder-form ::placeholder {
    font-size: 1.25rem;
}






.navbar {
    background-color:rgb(229, 233, 237);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-item:not(:last-child) {
margin-right: 1rem;
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color:rgb(234, 239, 240);
    background-color: #037a82;
    border-radius: 20px;
    box-shadow: 0 6px 13px rgba(167, 56, 56, 0.2); /* sombra suave */


    
}



.navbar-nav .highlight-link {
    color: rgb(234, 239, 240);
    background-color: #10104d;
    border-radius: 20px;
    box-shadow: 0 6px 13px rgba(167, 56, 56, 0.2);
}

.navbar-nav .dropdown-toggle {
    color: rgb(234, 239, 240);
    background-color: #c8a216;
    border-radius: 20px;
    box-shadow: 0 6px 13px rgba(167, 56, 56, 0.2);
}



.dropdown-menu {
    min-width: 280px;
    padding: 15px 10px;
    border-radius: 10px;
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 15px;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-brand {
    margin-left: 10.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    height: 60px; /* Ajuste a altura do logo */
    display: flex;
    align-items: center;


}

.section-abaixo-menu {
margin-top: 0; /* remove espaçamento */
}


.search-form {
    min-width: 220px;
}

/* Mostra o dropdown ao passar o mouse */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border-radius: 8px;
    background-color: #f8fafa;
    animation: fadeIn 0.2s ease-in-out;

}

/* Hover nos itens individuais */
.dropdown-menu .dropdown-item:hover {
    background-color:rgb(131, 187, 168);
    border-radius: 4px;
}

.navbar-nav .nav-link {
    transition: all 0.3s ease-in-out;
}


/* Animação suave ao abrir */
@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(10px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}



.btn.transition {
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn.transition:hover {
background-color: #0b5ed7cc;
box-shadow: 0 6px 18px rgba(11, 94, 215, 0.6);
}


/* Mensagens do Django (alertas) */
.alert-danger, .alert-error {
  color: black !important;
  font-weight: bold;
  background-color: #f8f9fa; /* fundo claro para contraste */
  border-color: #dee2e6;
}

/* Erros de campos do formulário */
.invalid-feedback {
  color: black !important;
  font-weight: bold;
}

/* Labels do formulário */
.form-label {
  color: black !important;
  font-weight: bold;
}


.form-margin-top {
  margin-top: 3rem;
}

.admin-card {
  border: 0;
  border-radius: 10px; /* Ajustado para manter consistência com o estilo geral */
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 14px rgba(18, 24, 34, 0.06);
}
.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(18, 24, 34, 0.12);
}
.icon-wrapper {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: rgba(0,0,0,0.03);
}
.card-title {
  font-weight: 600;
}       

.contact-form input.form-control,
.contact-form textarea.form-control,
.contact-form select.form-select {
  max-width: 400px !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.contact-form input.form-control,
.contact-form textarea.form-control,
.contact-form select.form-select {
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;

  border: 2px solid #007bff; /* borda azul */
  border-radius: 6px;         /* cantos arredondados */
  padding: 10px 15px;         /* espaçamento interno */
  background-color: #e1e0e8b3;  /* fundo azul claro */
  color: #000;                /* texto preto */
  font-weight: 600;           /* texto em negrito */
  box-shadow: 0 0 5px rgba(0,123,255,0.5); /* sombra azul */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input.form-control:focus,
.contact-form textarea.form-control:focus,
.contact-form select.form-select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 8px rgba(0,86,179,0.7);
  outline: none;
}

.contact-form {
  text-align: center; /* centraliza todo texto dentro do formulário */
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #222;
}

.contact-form input.form-control,
.contact-form textarea.form-control,
.contact-form select.form-select {
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* centraliza o texto digitado */
}


/* Ajustes de responsividade para tabelas e cards */
@media (max-width: 768px) {
  .card h4 {
    font-size: 1.1rem; /* Título menor para caber */
  }

  .table th, 
  .table td {
    font-size: 0.85rem; /* Texto menor na tabela */
    white-space: nowrap; /* Evita quebra estranha */
  }

  .table-responsive {
    margin-bottom: 1rem; /* Espaço para rolagem */
    border: 1px solid #dee2e6; /* Borda leve */
    border-radius: 5px;
  }

  .table {
    margin-bottom: 0; /* Remove espaço extra */
  }

  /* Padding menor nos cards */
  .card-body {
    padding: 0.75rem;
  }
}

/* Ajuste extra para telas muito pequenas */
@media (max-width: 480px) {
  .card h4 {
    font-size: 1rem;
  }

  .table th, 
  .table td {
    font-size: 0.75rem;
  }
}


Quebra textos longos nas células para não quebrar o layout
table td {
    word-break: break-word;
    white-space: normal;
}
/* Melhor alinhamento vertical para as células */
table th, table td {
    vertical-align: middle;
}
/* Pequeno ajuste para cabeçalho da tabela */
table th {
    background-color: #f8f9fa; /* cinza claro */
    font-weight: 600;
}



/* efeito hover nos cards */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
/* efeito de transição no botão */
.btn.transition {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn.transition:hover {
    background-color: #0a58ca;
    box-shadow: 0 6px 15px rgba(10, 88, 202, 0.5);
}
/* fundo suave */
.bg-colaborador {
    background: #fcfcfcf9;
}


.section-spacing {
    margin-top: 80px; /* ajuste o valor como desejar */
}


.description-limit {
  max-height: 70%;
  overflow: hidden;
}



/* Garante que os cabeçalhos da tabela fiquem sempre horizontais */
table th {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    white-space: nowrap; /* impede quebra em várias linhas */
}



/* Garante que os cabeçalhos da tabela fiquem sempre horizontais */
table th {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    white-space: nowrap;
    background-color: #f1f3f5;
    font-weight: 600;
    color: #343a40;
    padding: 0.75rem;
}

/* Células */
table td {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Melhor destaque no card */
.card {
    border-radius: 1rem;
    overflow: hidden;
}

/* Badge (status) com mais estilo */
.badge {
    font-size: 0.9rem;
}





/* ====== Scopo exclusivo: Detalhe de Solicitação ====== */
.sr-detail {
  padding: 2rem 1rem;
  background: #f6f7f9;
}

.sr-panel {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

/* Header compacto e legível (sem exageros) */
.sr-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: #0d6efd;
  color: #fff;
}
.sr-header i { font-size: 1.25rem; line-height: 1; }
.sr-header h1 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

/* Corpo */
.sr-body { padding: 1rem 1.25rem 0 1.25rem; }

/* Tabela própria (sem tocar em table/th/td globais) */
.sr-table-wrap { width: 100%; overflow-x: auto; }
.sr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.sr-table th,
.sr-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}

/* Cabeçalhos sempre horizontais e sem quebradeira */
.sr-table th {
  width: 28ch;
  background: #f2f4f7;
  color: #111827;
  font-weight: 600;
  text-align: left;

  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: nowrap;
}

/* Conteúdo quebra gentilmente sem entortar layout */
.sr-table td {
  word-break: break-word;
  white-space: normal;
  color: #111827;
}
.sr-strong { font-weight: 600; }

/* Footer com ações alinhadas à direita */
.sr-footer {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  background: #fff;
}

/* Botões próprios (sem depender de .btn) */
.sr-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.sr-btn i { font-size: 1rem; }

.sr-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.sr-btn-warning {
  background: #f59f00;
  border-color: #f59f00;
  color: #212529;
}
.sr-btn-warning:hover { background: #e69a00; }

.sr-btn-secondary {
  background: #e9ecef;
  border-color: #e9ecef;
  color: #212529;
}
.sr-btn-secondary:hover { background: #dde2e6; }

/* Badge própria com variações por cor do filtro status_color */
.sr-badge {
  display: inline-block;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* mapeia cores comuns (success, warning, info, primary, secondary, danger) */
.sr-badge.is-success   { background: #198754; }
.sr-badge.is-warning   { background: #f59f00; color: #1f2937; } /* melhor contraste */
.sr-badge.is-info      { background: #0dcaf0; color: #0b1320; }
.sr-badge.is-primary   { background: #0d6efd; }
.sr-badge.is-secondary { background: #6c757d; }
.sr-badge.is-danger    { background: #dc3545; }

/* Responsivo */
@media (max-width: 576px) {
  .sr-header h1 { font-size: 1rem; }
  .sr-table th   { width: 18ch; }
}






/* Botão moderno com gradiente */
.btn-gradient {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border: none;
    color: #a51212;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #0056b3, #0099cc);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}





/* Seção de título */
.section-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Card do banner */
.banner-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Imagem do banner */
.banner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.05);
}

/* Título do card */
.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

/* Texto do card */
.card-text {
    color: #6c757d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.96rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}


.card-text:hover {
    color: #495057;
}




/* Texto do card banner_detail */
.text-card {
    color: #6c757d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.50rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}



.logo-img {
  height: 70px;         /* aumenta tamanho */
  width: 70px;
  object-fit: cover;    /* garante que não distorce */
  border-radius: 15px;  /* bordas arredondadas */
  border: 2px solid #0d6efd; /* borda azul Bootstrap */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* sombra elegante */
  transition: transform 0.3s ease-in-out;
}

.logo-img:hover {
  transform: scale(1.1); /* efeito zoom ao passar o mouse */
}



/* efeito hover nos cards */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
/* efeito de transição no botão */
.btn.transition {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn.transition:hover {
  background-color: #0a58ca;
  box-shadow: 0 6px 15px rgba(10, 88, 202, 0.5);
}
/* bg-colaborador pode ter um fundo suave */
.bg-colaborador {
  background: #f9fafb;
}



.whatsapp-float {
  position: fixed;
  bottom: 20px;   /* distância do fundo */
  right: 20px;    /* distância da direita */
  background-color: #25d366;
  color: #fff;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}






/* Ajusta a seção de serviços para ficar próxima da home */
#services {
    padding-top: 0 !important;      /* remove o padding-top do Bootstrap */
    padding-bottom: 2rem !important; /* mantém um pouco de espaço inferior */
    margin-top: 0 !important;       /* remove qualquer margin extra */
}



/* FORÇA o carrossel a aparecer no mobile */
@media (max-width: 767.98px) {
  #home .intro-content { display: block !important; }
  #home .intro-img { display: block !important; margin-top: 1rem; }
  #home .intro-img .carousel { display: block !important; }
}

/* Garante que a imagem ocupe o espaço */
#home .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Legenda visível em todas as telas */
#home .carousel-caption {
  display: block;
  bottom: 15%; /* mantém acima da parte inferior */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  border-radius: .5rem;
  padding: .5rem;
}

/* Ajusta especificamente para telas pequenas */
@media (max-width: 767.98px) {
  #home .carousel-caption {
    bottom: 5%; /* mais próximo do rodapé da imagem */
    font-size: 0.9rem; /* texto menor */
    padding: .25rem .5rem;
  }

  #home .carousel-caption a {
    display: inline-block;
    margin-top: .25rem;
    z-index: 5; /* garante que o link clique */
    position: relative;
  }
}



/* Título Contacte-nos */
#contacts h2 {
  font-size: 9rem;          /* mantém o tamanho original */
  word-wrap: break-word;     /* permite quebrar a linha se necessário */
  overflow-wrap: break-word; /* reforça a quebra de linha */
  white-space: normal;       /* evita que fique em uma única linha */
  text-align: center;        /* mantém centralizado */
  margin: 0 auto;            /* centraliza horizontalmente */
  max-width: 100%;           /* nunca ultrapassa o container */
}

/* Ajustes adicionais para mobile */
@media (max-width: 767.98px) {
  #contacts h2 {
    font-size: 9rem;        /* mantém tamanho no mobile */
    line-height: 1.2;       /* ajusta altura da linha */
    padding: 0 1rem;        /* espaço lateral para não ultrapassar */
  }
}


/* Ajuste do título da seção de serviços no mobile */
@media (max-width: 576px) {
  #services h2 {
    font-size: 1.6rem;      /* reduz tamanho da fonte */
    line-height: 1.3;       /* melhora espaçamento entre linhas */
    padding: 0 1rem;        /* garante espaço lateral */
    word-break: break-word;  /* permite quebrar palavras longas */
    overflow-wrap: break-word;
    text-align: center;      /* mantém centralizado */
  }
}


@media (max-width: 767.98px) {
  #services h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    padding: 0 1rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}



/* ===== CSS MOBILE-LONLY ===== */
@media (max-width: 576px) {

  /* ==================== SERVICES ==================== */
  #services.mobile-only {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  #services.mobile-only h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 0 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }

  /* Força os grids a ficarem 1 coluna */
  #services.mobile-only .row,
  #services.mobile-only .grid,
  #services.mobile-only .row > [class*="col-"] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  #services.mobile-only .card {
    width: 100%;
  }

  /* ==================== CONTACTS ==================== */
  #contacts.mobile-only {
    padding: 1rem;
  }

  #contacts.mobile-only h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    padding: 0 1rem;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Campos do formulário ocupam toda largura */
  #contacts.mobile-only .contact-form input,
  #contacts.mobile-only .contact-form textarea,
  #contacts.mobile-only .contact-form select {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #contacts.mobile-only .contact-form .form-group {
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }
}






@media (max-width: 576px) {
    /* Centraliza todo conteúdo da seção de serviços */
    #services.mobile-only,
    #services.mobile-only .row,
    #services.mobile-only .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Centraliza todo conteúdo da seção de contactos */
    #contacts.mobile-only,
    #contacts.mobile-only .container,
    #contacts.mobile-only .contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Botões centralizados */
    #contacts.mobile-only .contact-form button,
    #services.mobile-only .card a.btn {
        margin-left: auto;
        margin-right: auto;
    }
}






/* Container geral */
.intro-text-content.intro-highlight {
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 850px;
    margin: 50px auto;
    animation: fadeInUp 1s ease forwards;
    position: relative;
    overflow: hidden;
}

/* Títulos */
.intro-text-content.intro-highlight h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Destaques neon */
.intro-text-content.intro-highlight .highlight {
    color: #00fff7;
    font-weight: 700;
    text-shadow:
        0 0 5px #00fff7,
        0 0 10px #00fff7,
        0 0 20px #00fff7,
        0 0 40px #00fff7;
    transition: all 0.3s ease;
}
.intro-text-content.intro-highlight .highlight:hover {
    color: #ff00ff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 80px #ff00ff;
}

/* Parágrafo */
.intro-text-content.intro-highlight p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Botão com gradiente animado */
.intro-text-content.intro-highlight .btn-primary {
    background: linear-gradient(270deg, #ff00ff, #00fff7, #ff00ff);
    background-size: 600% 600%;
    color: #fff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    animation: gradientBG 8s ease infinite;
}
.intro-text-content.intro-highlight .btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
}

/* Animação de entrada */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Animação do gradiente do botão */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}




