* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1e1e1e;
}

html {
  scroll-behavior: smooth;
}

.logo-img {
  width: auto;
  height: 80px;
}

p {
  font-weight: normal !important;
}

:root {
  --dapi-green: #71c341;
  --dapi-blue: #045489;
  --dapi-navy: #00304f;
  --dapi-border: #1d2d52;
  --dapi-text: #1e1e1e;
  --dapi-text-secondary: #314158;
  --dapi-white: #ffffff;
}

.bg-white {
  background-color: white;
}
.text-white {
  color: white;
}
.text-dapi-green {
  color: var(--dapi-green);
}
.text-dapi-blue {
  color: var(--dapi-blue);
}
.text-dapi-text {
  color: var(--dapi-text);
}
.bg-dapi-blue {
  background-color: var(--dapi-blue);
}
.bg-dapi-navy {
  background-color: var(--dapi-navy);
}
.min-h-screen {
  min-height: 100vh;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}
.flex-1 {
  flex: 1;
}
.text-center {
  text-align: center;
}
.leading-tight {
  line-height: 1.25;
}
.leading-relaxed {
  line-height: 1.625;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.overflow-hidden {
  overflow: hidden;
}
.space-y-12 > * + * {
  margin-top: 3rem;
}
.space-y-8 > * + * {
  margin-top: 2rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-16 {
  gap: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.pt-8 {
  padding-top: 2rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-12 {
  padding: 3rem;
}
.p-1 {
  padding: 0.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.w-32 {
  width: 8rem;
}
.w-48 {
  width: 12rem;
}
.w-64 {
  width: 16rem;
}
.w-80 {
  width: 20rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-32 {
  height: 8rem;
}
.h-48 {
  height: 12rem;
}
.h-60 {
  height: 15rem;
}
.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.text-6xl {
  font-size: 3.75rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.border {
  border-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-200 {
  border-color: #e5e7eb;
}
.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.transform {
  transform: translateX(var(--tw-translate-x, 0))
    translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0))
    skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0))
    scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}
.rotate-12 {
  --tw-rotate: 12deg;
}
.opacity-80 {
  opacity: 0.8;
}
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}
.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hover\:bg-gray-50:hover {
  background-color: #f9fafb;
}
.hover\:text-dapi-blue:hover {
  color: var(--dapi-blue);
}
.flex-col {
  flex-direction: column;
}
.last\:border-r-0:last-child {
  border-right-width: 0;
}

.bg-gradient-header {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
}

.bg-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-link:hover {
  color: var(--dapi-blue);
}

.contact-btn {
  padding: 12px 24px;      
  font-size: 18px; 
  font-weight: 500;
  color: var(--dapi-text);
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: background-color 150ms ease;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #f9fafb;
}

.decorative-blur {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 20rem;
  height: 5rem;
  background: rgba(113, 195, 65, 0.04);
  border-radius: 9999px;
  filter: blur(48px);
}

.hero-description {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--dapi-text-secondary);
  font-weight: 600;
  line-height: 1.625;
  letter-spacing: -0.025em;
}

.hero-underline {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
}

.cta-primary {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dapi-text);
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: background-color 150ms ease;
  cursor: pointer;
}

.cta-primary:hover {
  background-color: #f9fafb;
}

.cta-secondary {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dapi-text);
  background: none;
  border: none;
  transition: color 150ms ease;
  cursor: pointer;
}

.cta-secondary:hover {
  color: var(--dapi-blue);
}

.cta-arrow {
  color: var(--dapi-text-muted);
  font-size: 0.75rem;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 1rem 0; 
  border-right: 1px solid #e5e7eb;
}

.stat-number {
  color: var(--dapi-green);
  font-size: 2rem; 
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-text {
  color: var(--dapi-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.stat-card-last {
  border-right: none;
}

.stats-wrapper {
  position: relative;
  z-index: 10;
  margin-bottom: -3rem;
}


.stats-container {
  position: relative;
  z-index: 20;
  background-color: white;
  border-radius: 1rem; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); 
  border: 1px solid #e5e7eb;
  overflow: hidden;
  padding: 1.25rem 0; 
}


#empresa {
  position: relative;
  z-index: 1;
}

.company-description {
  color: white;
  font-weight: 600;
  line-height: 1.625;
  letter-spacing: -0.025em;
  max-width: 56rem;
}

.vision-mission-card {
  background-color: white;
  color: #064872;
  text-align: left;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.vision-mission-card h3 {
  color: #064872 !important;
}

.vision-mission-card p {
  color: #064872;
  text-align: left;
}

.contact-decoration-1 {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(113, 195, 65, 0.2);
  border-radius: 50%;
}

.contact-decoration-2 {
  position: absolute;
  bottom: 5rem;
  right: 8rem;
  width: 16rem;
  height: 15rem;
  background: rgba(113, 195, 65, 0.1);
  border-radius: 50%;
  transform: rotate(12deg);
}

.contact-intro {
  color: white;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 auto;
  max-width: 600px;
}
  
#imageOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; 
  height: 100vh;
  background: rgba(255, 255, 255, 0.6); 
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
  cursor: default;
}

#imageOverlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  cursor: default; 
}

#imageOverlay .close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 36px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  background: transparent;
  border: none;
}

.portfolio-image img {
  cursor: default !important;
}

.blur-background {
  filter: blur(6px);
  transition: filter 0.3s ease;
  pointer-events: none; 
  user-select: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background-color: #001f3f;
  color: white;
  padding: 20px;
}

hr {
  margin: 20px 0;
  border: 0.5px solid #ffffff33;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.contact-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem; 
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-columns > div {
  position: relative;
  top: -20px; 
}

.social-icons {
  display: flex;
  gap: 12px;
}

.facebook-3d-icon,
.linkedin-3d-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  text-shadow:
    1px 1px 1px rgba(0, 0, 0, 0.3),
    0 0 3px rgba(255, 255, 255, 0.5);
}

.facebook-3d-icon {
  background: linear-gradient(145deg, #3369E8, #1A53D1);
  box-shadow:
    2px 2px 6px #1a3c8d,
    -2px -2px 6px #4d8aff;
}

.facebook-3d-icon:hover {
  box-shadow:
    1px 1px 4px #1a3c8d,
    -1px -1px 4px #4d8aff;
}

.linkedin-3d-icon {
  background: linear-gradient(145deg, #0077B5, #005983);
  box-shadow:
    2px 2px 6px #004a70,
    -2px -2px 6px #3399cc;
}

.linkedin-3d-icon:hover {
  box-shadow:
    1px 1px 4px #004a70,
    -1px -1px 4px #3399cc;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.show {
  opacity: 1;
  transform: scale(1);
}

.pulsar {
  animation: pulse 1.5s infinite;
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-icon-img {
  height: 65px;
  width: 65px;
  margin-top: 45px; 
  filter: invert(45%) sepia(85%) saturate(500%) hue-rotate(85deg) brightness(90%) contrast(85%);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.map-icon-img:hover {
  transform: scale(1.1);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

#portfolio {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.portfolio-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.filter-card {
  position: relative;
  width: 300px;
  overflow: hidden;
  cursor: pointer;
}

.filter-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.filter-card::after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.filter-card:hover img {
  filter: brightness(70%);
  transform: scale(1.05);
}

.filter-card:hover::before,
.filter-card:hover::after {
  opacity: 1;
}

#page-content.blur-background {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-card:hover {
  transform: scale(1.02);
}

.filter-card img {
  width: 100%;
  height: auto;
  display: block;
}

#carousel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#carousel-modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  background: white;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  gap: 20px;
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

#prev-btn,
#next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #064872;
  border: none;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}


#prev-btn {
  left: 20px;
}

#next-btn {
  right: 20px;
}

#prev-btn:hover,
#next-btn:hover {
  background-color: #f0f0f0;
}

.blur-background {
  filter: blur(6px);
  transition: filter 0.3s ease;
}

.blur-background * {
  pointer-events: none;
  user-select: none;
}

.modal-text {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 260px;
  text-align: left; 
  align-self: flex-start; 
}

body.modal-open {
  overflow: hidden;
}


@media (max-width: 600px) {
  #carousel-modal .filter-card {
    transform: scale(0.8);
    transform-origin: center;
  }

  #carousel-modal .filter-card img {
    width: 85%;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  
  #carousel-modal .filter-card {
    max-width: 250px;  
    width: 80%;        
    margin: 0 auto;   
  }

  #carousel-modal .filter-card img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .filter-card {
    max-width: 90%;
  }

  .filter-card img {
    width: 100%;
    height: auto;
  }

  #carousel-modal .modal-content img {
    max-height: 50vh;
    width: auto;
  }

  #prev-btn,
  #next-btn {
    font-size: 2rem;
    padding: 0.3rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .filter-card {
    max-width: 100%;
  }

  .filter-card img {
    max-width: 100%;
  }

  #carousel-modal .modal-content img {
    max-height: 40vh;
  }

  .modal-text {
    font-size: 0.9rem;
  }

  #prev-btn {
    left: 0.5rem;
  }

  #next-btn {
    right: 0.5rem;
  }

  #prev-btn,
  #next-btn {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .filter-card {
    max-width: 90%;
  }

  .filter-card img {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .filter-card {
    max-width: 95%;
  }

  .filter-card img {
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  .break-line {
    display: inline-block;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-intro {
    margin-right: 20px; 
  }
}

@media (max-width: 767px) {
  body > div:first-of-type {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  h1.text-4xl {
    margin-top: 50px; 
  }
}

/* Para telas menores ou iguais a 1024px */
@media (max-width: 1024px) {
  #contactos > .relative.max-w-6xl {
    left: 12px;
  }
}

/* Para telas menores ou iguais a 768px */
@media (max-width: 768px) {
  #contactos .max-w-6xl {
    margin-left: 19px;
  }
}

@media (min-width: 768px) {
  .px-6 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  .py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .md\:px-24 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .md\:flex {
    display: flex;
  }
  .md\:text-5xl {
    font-size: 3rem;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hidden {
    display: none;
  }
  .flex-col {
    flex-direction: column;
  }
  .text-4xl {
    font-size: 2.25rem;
  }
  .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
