/* =============================== */
/* VARIÁVEIS & FONTS        */
/* =============================== */
:root {
  --primary-color: #13a5b7;
  --primary-dark: #0fa8bc;
  --secondary-color: #0D1A26;
  --dark-bg: #0B0D0E;
  --text-light: #EAEAEA;
  --text-medium: #a0a0a0;
  --text-headings: #f0f0f0;
  --text-dark-section: #4a4a4a;
  --white: #fff;
  --black: #000;
  --glow-color: rgba(19, 165, 183, 0.7);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
  /* Liquid Glass */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(20px);
  --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap');

/* =============================== */
/* RESET & BASE             */
/* =============================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-light);
  background-color: var(--dark-bg);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ── Orbs de fundo globais (liquid glass atmosphere) ── */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

body::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 120, 200, 0.22) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

body::after {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(19, 165, 183, 0.18) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation-delay: 4s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.12); }
}

h1, h2, h3 {
  font-family: 'Space Mono', monospace;
  color: var(--text-headings);
  font-weight: 700;
}

p {
  color: var(--text-light);
  font-size: 1.7rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* =============================== */
/* HEADER & NAVBAR          */
/* =============================== */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg,
    rgba(11, 13, 14, 0.55) 0%,
    rgba(13, 26, 38, 0.65) 50%,
    rgba(11, 13, 14, 0.55) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(19, 165, 183, 0.15);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition: background 0.3s ease;
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 48px;
  transition: transform 0.3s ease;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links li a {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 0.8rem 1rem;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--glow-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 60%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.hamburger:focus-visible {
  outline: 2px solid var(--primary-color);
  border-radius: 4px;
}

.bar {
  width: 28px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
  display: block;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* =============================== */
/* SLIDER SECTION (MODERNIZADO) */
/* =============================== */
.slider-fullscreen {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: subtleZoom 25s infinite alternate;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

@keyframes subtleZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 13, 14, 0.75);
  z-index: 2;
}

.slider-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.slider-content h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: var(--white);
}

.slider-content .typing-effect {
  color: var(--primary-color);
  border-right: 3px solid var(--primary-color);
  animation: blink-caret 0.75s step-end infinite;
  padding-right: 5px;
}

@keyframes blink-caret {
  from, to {
    border-color: transparent
  }
  50% {
    border-color: var(--primary-color);
  }
}

.slider-content p {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-family: 'Roboto';
  color: var(--text-light);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================== */
/* CLIENTES SECTION (CORRIGIDO E MELHORADO) */
/* =============================== */
.clientes-section {
  padding: 8rem 0;
  background: var(--dark-bg);
  text-align: center;
  overflow: hidden;
}

.clientes-section h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.clientes-section > p {
  margin-bottom: 4rem;
}

.clientes-carousel-container {
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clientes-carousel {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cliente-card {
  flex-shrink: 0;
  width: 220px;
  height: 120px;
  margin: 0 15px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cliente-card img {
  max-width: 80%;
  height: auto;
  filter: grayscale(100%) contrast(0.8) brightness(0.8);
  opacity: 0.7;
  transition: var(--transition);
}

.clientes-carousel:hover {
  animation-play-state: paused;
}

.cliente-card:hover {
  transform: scale(1.05);
  border-color: rgba(19, 165, 183, 0.5);
  background: rgba(19, 165, 183, 0.08);
  box-shadow: 0 0 24px rgba(19, 165, 183, 0.15), 0 4px 20px rgba(0,0,0,0.35);
}

.cliente-card:hover img {
  filter: grayscale(0) contrast(1) brightness(1);
  opacity: 1;
}

/* =============================== */
/* CATÁLOGO SECTION (COM FOOTER MELHORADO) */
/* =============================== */
.catalogo-section {
  background-color: var(--dark-bg);
  padding: 8rem 2rem;
  text-align: center;
}

.catalogo-header {
  margin-bottom: 5rem;
}

.catalogo-header h2 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.catalogo-header p {
  font-size: 1.8rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

.catalogo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(19, 165, 183, 0.05) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(19, 165, 183, 0.2);
  border-radius: 16px;
  padding: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(19, 165, 183, 0.04);
}

/* Reflexo de luz no topo do card */
.card > *:first-child{
  position: relative;
  z-index: 1;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  border-radius: 999px;
  pointer-events: none;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow-color) 0%, rgba(255, 255, 255, 0) 40%);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: rotate 8s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(19, 165, 183, 0.55);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(19, 165, 183, 0.08) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow:
    0 0 0 1px rgba(19, 165, 183, 0.15) inset,
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(19, 165, 183, 0.12);
}

.card img {
  max-width: 150px;
  margin: 0 auto 2.5rem;
  transition: transform 0.3s ease;
}

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

.card h3 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.card p {
  color: #c0c0c0; /* Um cinza claro, bem mais legível que o anterior */
  margin-bottom: 2.5rem;
  flex-grow: 1;
  font-size: 1.6rem;
  line-height: 1.7; /* Melhora o espaçamento entre linhas */
  font-weight: 400; /* Garante que não seja muito fino */
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, rgba(19, 165, 183, 0.35) 0%, rgba(15, 130, 145, 0.35) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-weight: 600;
  padding: 1.2rem 2.8rem;
  font-size: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(19, 165, 183, 0.45);
  box-shadow:
    0 4px 20px rgba(19, 165, 183, 0.15),
    0 1px 0 rgba(255,255,255,0.1) inset;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background: linear-gradient(135deg, rgba(19, 165, 183, 0.55) 0%, rgba(15, 130, 145, 0.55) 100%);
  border-color: rgba(19, 165, 183, 0.7);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(19, 165, 183, 0.3),
    0 1px 0 rgba(255,255,255,0.15) inset;
}

.catalogo-footer {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #2a3138;
  padding-top: 4rem;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-item i {
  font-size: 2.4rem;
  color: var(--primary-color);
}

.footer-item p {
  margin: 0;
  font-size: 1.6rem;
  color: var(--text-light);
}

.footer-item p strong {
  color: var(--white);
  display: block;
  font-weight: 700;
}

/* =============================== */
/* MODAL MODERNO E TECNOLÓGICO     */
/* =============================== */
.catalog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.catalog-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content-wrapper {
  width: 90%;
  max-width: 900px;
  max-height: 92vh;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.catalog-modal:not(.hidden) .modal-content-wrapper {
  transform: scale(1) translateY(0);
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(11, 13, 14, 0.82) 0%,
    rgba(13, 26, 38, 0.78) 60%,
    rgba(11, 13, 14, 0.82) 100%
  );
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(19, 165, 183, 0.3);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 60px rgba(19, 165, 183, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  position: relative;
  padding: 0;
  overflow: hidden;
  overflow-y: auto;
  max-height: 92vh;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--text-medium);
  background: none;
  border: none;
  z-index: 10;
  transition: var(--transition);
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  align-items: stretch;
}

.modal-image-column {
  flex: 0 0 40%;
}

.modal-image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-text-column {
  flex: 1 1 60%;
  padding: 4rem;
}

.modal-text-column h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.modal-text-column p {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.modal-text-column h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.modal-features {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.modal-features li {
  color: var(--text-medium);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.modal-features i {
  color: var(--primary-color);
  margin-right: 1.2rem;
  font-size: 1.8rem;
  width: 20px;
  text-align: center;
}

.modal-contact-btn {
  background: var(--primary-color);
  color: var(--white);
}

/* =============================== */
/* SOBRE NÓS SECTION (MODERNIZADA 2.0) */
/* =============================== */
.sobre-nos {
  background: #0D1A26; /* Fundo azul escuro tecnológico */
  padding: 10rem 2rem;
  overflow: hidden;
  position: relative;
}

/* Efeito de grade sutil no fundo para um toque tecnológico */
.sobre-nos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(19, 165, 183, 0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(19, 165, 183, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: 0;
}

.sobre-nos p {
  color: #b0c4de; /* Cor de parágrafo azul-claro, muito legível */
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.5px; /* Espaçamento para clareza */
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative; /* Para garantir que fique acima do ::before */
  z-index: 1;
}

.sobre-imagem-wrap {
  position: relative;
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.sobre-imagem {
  position: relative;
  z-index: 1;
}

.sobre-imagem img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
  filter: grayscale(30%) contrast(1.1); /* Toque sutil na imagem */
  transition: var(--transition);
}

.sobre-imagem:hover img {
  filter: grayscale(0%) contrast(1);
}

.sobre-imagem::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  top: -15px;
  left: -15px;
  z-index: -1;
  transition: var(--transition);
  pointer-events: none;
}

.sobre-imagem-wrap:hover .sobre-imagem::before {
  transform: translate(15px, 15px);
}

.sobre-texto {
  flex: 1 1 500px;
  padding: 4rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(19, 165, 183, 0.04) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(19, 165, 183, 0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 0 50px rgba(19, 165, 183, 0.05);
}

.sobre-texto h2 {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #E6F1FF; /* Título principal mais brilhante */
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.sobre-texto h2 span {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-weight: 700;
}

.sobre-texto h3 {
  font-family: 'Space Mono', monospace; /* Fonte tecnológica */
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--primary-color); /* Cor de destaque */
  font-weight: 400;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.sobre-texto p {
  margin-bottom: 3rem;
}

/* Botão redesenhado para fundo escuro */
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 1.2rem 3.2rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.6rem;
  border-radius: var(--border-radius);
}

.btn-outline:hover {
  background: rgba(19, 165, 183, 0.1);
  box-shadow: none;
  transform: translateY(-2px);
}

/* =============================== */
/* CONTATO SECTION          */
/* =============================== */
.contato-section {
  background: #f0f2f5;
  padding: 8rem 2rem;
}

.contato-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4rem 3rem;
}

.contato-container h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
}

.form-group {
  margin-bottom: 2rem;
}

.form-control {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1.5rem;
  transition: var(--transition);
  background: #f6f8fa;
  color: #333;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 165, 183, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contato-info {
  margin-top: 3rem;
  font-size: 1.5rem;
  text-align: center;
  color: #555;
}

.contato-info p {
  margin-bottom: 1rem;
}


/* =============================== */
/* FOOTER (MODERNIZADO)          */
/* =============================== */
footer {
  background: linear-gradient(
    180deg,
    rgba(13, 26, 38, 0.92) 0%,
    rgba(11, 13, 14, 0.97) 100%
  );
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  color: var(--text-light);
  padding: 6rem 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(19, 165, 183, 0.18);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-dark), transparent);
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Espaço mínimo maior */
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col {
  padding: 1.5rem;
}

.footer-title {
  font-size: 1.9rem; /* Levemente maior */
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
  color: var(--primary-color);
  padding-bottom: 1rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-about {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.8; /* Opacidade um pouco menor para dar contraste */
}

.footer-links li,
.footer-contact li {
  list-style: none;
  margin-bottom: 1.5rem; /* Maior espaçamento */
  display: flex;
  align-items: flex-start; /* Alinha pelo topo */
}

.footer-links a,
.footer-contact li {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: var(--transition);
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  opacity: 1;
}

.footer-links i,
.footer-contact i {
  margin-right: 1.5rem; /* Maior espaçamento */
  margin-top: 3px;
  color: var(--primary-color);
  font-size: 1.6rem;
  width: 20px;
  text-align: center;
}

/* --- NOVOS ESTILOS PARA O HORÁRIO DE FUNCIONAMENTO --- */
.footer-subtitle {
  font-family: 'Space Mono', monospace;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.4rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
}

.footer-hours li span {
  font-weight: 500;
  color: #ccc;
}

/* Destaque para o dia atual (classe adicionada via JS) */
.footer-hours li.today {
  color: var(--primary-color);
  font-weight: 700;
}
.footer-hours li.today span {
  color: var(--primary-color);
}

/* Estilo para dias fechados */
.footer-hours li span.closed {
  color: #888;
  opacity: 0.7;
}
/* --- FIM DOS NOVOS ESTILOS --- */


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.6rem;
}

.social-links a:hover {
  background: rgba(19, 165, 183, 0.35);
  border-color: rgba(19, 165, 183, 0.6);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 20px rgba(19, 165, 183, 0.35);
}

.copyright {
  font-size: 1.4rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}
.copyright p{
  font-size: 1.4rem;
}

.dev-credits {
  font-size: 1.2rem;
  opacity: 0.6;
}
.dev-credits p{
  font-size: 1.2rem;
}

.dev-credits a {
  color: var(--primary-color);
  font-weight: 600;
}


/* =============================== */
/* ANIMAÇÕES & WHATSAPP     */
/* =============================== */
#wpp-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1050;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  animation: slideIn 0.5s 1s ease-in-out backwards;
  white-space: nowrap;
}

#wpp-popup:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#wpp-popup .fa-whatsapp {
  font-size: 2.2rem;
  flex-shrink: 0;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================== */
/* RESPONSIVIDADE (BREAKPOINTS COMPLETOS) */
/* =============================== */

/* ---- Tablets Grandes / Desktop Pequeno (até 1024px) ---- */
@media (max-width: 1024px) {
  .navbar {
    padding: 1.2rem 2rem;
  }

  .catalogo-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
  }

  .sobre-container {
    gap: 3rem;
  }

  .sobre-imagem-wrap {
    flex: 1 1 340px;
  }

  .sobre-texto {
    flex: 1 1 400px;
  }
}

/* ---- Tablets / Landscape Mobile (até 960px) ---- */
@media (max-width: 960px) {
  .sobre-container {
    flex-direction: column;
    align-items: center;
  }

  .sobre-imagem-wrap {
    width: 100%;
    max-width: 520px;
    padding: 2rem; /* Espaço para não cortar borda decorativa */
  }

  .sobre-imagem::before {
    display: none; /* Remove borda decorativa offset que causa overflow lateral */
  }

  .sobre-texto {
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
  }

  .sobre-texto h2 span {
    display: inline;
  }

  .sobre-texto h2 {
    text-align: center;
  }

  .sobre-texto ul {
    text-align: left;
    display: inline-block;
  }

  .catalogo-footer {
    gap: 2.5rem;
  }
}

/* ---- Tablets Portrait / Mobile Grande (até 768px) ---- */
@media (max-width: 768px) {
  .slider-fullscreen {
    height: 85vh;
    min-height: 500px;
  }

  /* --- Menu Hamburger --- */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 25, 40, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    transition: left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1050;
    padding: 8rem 2rem 4rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li a {
    font-size: 2.4rem;
    padding: 1.2rem 2rem;
  }

  .logo img {
    height: 38px;
  }

  /* --- Seções --- */
  .catalogo-section {
    padding: 6rem 1.5rem;
  }

  .catalogo-header h2 {
    font-size: 3rem;
  }

  .clientes-section {
    padding: 6rem 0;
  }

  .sobre-nos {
    padding: 7rem 1.5rem;
  }

  /* --- Modal --- */
  .modal-body {
    flex-direction: column;
  }

  .modal-image-column {
    flex: 0 0 auto;
    max-height: 220px;
    overflow: hidden;
  }

  .modal-image-column img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .modal-text-column {
    padding: 2.5rem;
  }

  .modal-content-wrapper {
    width: 95%;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-col {
    text-align: center;
    padding: 1rem;
  }

  .footer-links li,
  .footer-contact li {
    text-align: center;
    justify-content: center;
  }

  .footer-contact li {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-contact i {
    margin-right: 0;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-hours li {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ---- Mobile Médio (até 576px) ---- */
@media (max-width: 576px) {
  html {
    font-size: 57%;
  }

  .slider-content h1 {
    font-size: clamp(2.8rem, 8vw, 4rem);
  }

  .catalogo-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .catalogo-section {
    padding: 5rem 1.5rem;
  }

  .contato-container {
    padding: 3rem 1.5rem;
  }

  .card {
    padding: 2.5rem 2rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }
}

/* ---- Mobile Pequeno (até 480px) ---- */
@media (max-width: 480px) {
  html {
    font-size: 55%;
  }

  /* WhatsApp: colapsar para só ícone em telas muito pequenas */
  #wpp-popup span {
    display: none;
  }

  #wpp-popup {
    padding: 14px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
  }

  #wpp-popup .fa-whatsapp {
    margin: 0;
    font-size: 2.4rem;
  }

  .nav-links li a {
    font-size: 2.2rem;
  }

  .nav-links {
    gap: 3rem;
  }

  .catalogo-header h2 {
    font-size: 2.6rem;
  }

  .modal-text-column {
    padding: 2rem 1.5rem;
  }

  .modal-text-column h2 {
    font-size: 2.2rem;
  }

  .footer-hours {
    font-size: 1.3rem;
  }
}