:root {
  /* Paleta Tech */
  --bg-dark: #020b16;
  --bg-card: #051327;
  --neon-blue: #00e1ff;
  /* #00f3ff;*/
  --neon-gold: #ebad03; /*#ffc800;*/
  --text-main: #dee8f4; /*#e6f1ff;*/
  --text-muted: #939fc2;
  /*#8892b0;*/

  /* Fontes */
  --font-logo: 'Cinzel', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 6px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
}

p {
    line-height: 1.75;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: #e5e9eb;
  line-height: 1,5rem;
}

h2 {
  font-size: 1.9rem;
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

h4 {
  font-size: 2rem;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(2, 11, 22, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

nav a:hover {
  color: var(--neon-blue);
  opacity: 1;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.btn-nav {
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  padding: 5px 15px;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-main);
  transition: 0.3s;
}

/* HERO */
#hero-particles {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('./imagens/tecnologia.jpg') center/cover no-repeat fixed;
  margin-top: var(--header-height);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(2, 11, 22, 0.5) 0%, rgba(2, 11, 22, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* SEÇÕES GERAIS */
section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-content h2+h3 {
  margin: 1.75rem 0 2.5rem 0;
}

.section-content h3+p {
  margin: 1.25rem 0 0 0;
}

.section-content h2+p {
  margin: 1rem 0 0 0;
}

.section-content p+ul {
  margin: .25rem 0 0 0;
}

.section-content p+p {
  margin: 1rem 0 0 0;
}

.section-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.tag,
.tag-gold {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
  line-height: 2.5rem;
}

.tag {
  color: var(--neon-blue);
}

.tag-gold {
  color: var(--neon-gold);
}

/* LAYOUT DIGITAL */
.digital-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.digital-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
}

.digital-cards-col {
  flex: 2;
}

.tech-img-highlight {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.2));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tech-card {
  background: linear-gradient(180deg, rgba(3, 21, 46, 0.8) 0%, rgba(2, 11, 22, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue));
  transition: width 0.35s ease;
  box-shadow: 0 0 10px var(--neon-blue);
}

.tech-card:hover::before {
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(3, 25, 55, 0.9);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.tech-card h4 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.logo {
  font-family: 'Cinzel';
  line-height: 1.1rem;
  color: var(--neon-gold);
  letter-spacing: .15rem;
  border-left: 1px solid var(--neon-gold);
  /*border-radius: topL topR botR botL;*/
  padding-left: 20px;
}

/* ÁREAS CÍVEIS - NOVO EFEITO HOVER */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.area-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s ease;
  position: relative;
  cursor: pointer;
}

/* Efeito de Borda Degradê Laranja */
.area-card:hover {
  /* transform: translateY(-5px);*/
  /* Borda degradê usando border-image ou box-shadow hack */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, transparent, var(--neon-gold), transparent);
  border-image-slice: 1;
}

.card-image {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  /* Transição suave para o zoom */
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 22, 0.2);
  transition: 0.4s;
  z-index: 1;
}

/* Zoom na Imagem ao passar o mouse */
.area-card:hover .card-image img {
  transform: scale(1.05);
  /* Aumenta 10% */
}

.area-card:hover .img-overlay {
  background: rgba(2, 11, 22, 0);
}

.card-text {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.card-text h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.card-text ul {
  list-style: none;
  padding: 0;
}

.card-text li {
  font-size: .95rem;
  margin-bottom: 8px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(235, 235, 235, 0.075);
  padding-bottom: 4px;
}

/* ESPECIAL */
#especial {
  background: url('./imagens/pessoas.jpg') center/cover fixed;
  position: relative;
}

.especial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 22, 0.5);
}

.especial-content {
  position: relative;
  z-index: 2;

}

/* RISCOS (ACCORDION) - FUNDO MAIS CLARO */
.accordion-item {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03); /*rgba(255, 255, 255, 0.02);*/
  border-left: 2px solid transparent;
}

.accordion-header {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  color: var(--neon-blue);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.accordion-header.active {
  color: var(--neon-blue);
}

/* Fundo mais claro para leitura */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.05);
  /* Levemente mais claro que o fundo */
}

.accordion-body.open {
  padding-bottom: 20px;
  max-height: 600px;
}

.accordion-body li {
  list-style: none;
  margin-bottom: 8px;
  color: #d1d5db;
  /* Texto mais claro */
  padding-left: 15px;
  position: relative;
}

.accordion-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--neon-gold);
}

/* FOOTER */
footer {
  background: #01050a;
  padding: 50px 0 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .logo {
  margin-bottom: 5px;
  color: var(--neon-gold);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  #menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 20px;
    display: none;
    border-bottom: 2px solid var(--neon-blue);
  }

  #menu.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .digital-container {
    flex-direction: column;
    align-items: center;
  }

  .digital-image-col {
    width: 100%;
    margin-bottom: 30px;
  }

  .tech-img-highlight {
    max-width: 200px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-stats {
    justify-content: center;
  }
}