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

:root {
  --purple: #007BFF;
  --purple-light: #8b3bad;
  --purple-dark: #4b1b6d;
  --red: #c0392b;
  --red-light: #e74c3c;
  --black: #111214;
  --gray-900: #1a1a1c;
  --gray-800: #2a2a2c;
  --gray-700: #3a3a3c;
  --gray-600: #6a6a6c;
  --gray-400: #9a9a9c;
  --gray-200: #e0e0e2;
  --white: #ffffff;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(17, 18, 20, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  will-change: background, box-shadow;
}

/* Efeito quando o usuário rola a página */
.nav.scrolled {
  background: rgba(17, 18, 20, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--gray-700);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.logo .dot {
  color: var(--purple);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  color: var(--gray-200);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--purple);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 43, 141, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 180px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(107, 43, 141, 0.15), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(192, 57, 43, 0.15), transparent 50%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 43, 141, 0.3), transparent 70%);
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  color: var(--purple);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--white), var(--gray-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.hero-image {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.4), transparent 60%);
  filter: blur(60px);
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-800);
}

/* Section Styles */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-label {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

/* Project Highlight */
.project-highlight {
  background: var(--gray-900);
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-2xl);
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-700);
}

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

.project-content {
  padding: var(--spacing-2xl);
}

.project-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.project-description {
  color: var(--gray-400);
  margin-bottom: var(--spacing-xl);
  font-size: 1.1rem;
  line-height: 1.6;
}

.project-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.result-item {
  display: flex;
  flex-direction: column;
}

.result-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: var(--spacing-xs);
}

.result-label {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.tech-badge {
  background: var(--gray-700);
  color: var(--gray-200);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--gray-900);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-800);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.service-description {
  color: var(--gray-400);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--gray-400);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

/* Skills */
.skills {
  background: var(--gray-900);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
}

.skill-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--purple);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.skill-name {
  font-weight: 600;
  color: var(--gray-200);
}

.skill-bar {
  height: 8px;
  background: var(--gray-800);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--red));
  border-radius: var(--radius-sm);
  transition: width 1s ease;
  width: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--gray-900);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-800);
}

.testimonial-stars {
  color: var(--purple);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  color: var(--gray-200);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* Contact */
.contact {
  background: var(--gray-900);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-description {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-method {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.contact-method svg {
  color: var(--purple);
}

.contact-method-label {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.contact-method-value {
  font-weight: 600;
  color: var(--white);
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--gray-400);
}

.availability-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-label {
  font-weight: 600;
  color: var(--gray-200);
}

.form-input {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--purple);
}

.form-input::placeholder {
  color: var(--gray-600);
}

.form-success {
  background: #10b981;
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gray-800);
  padding: var(--spacing-2xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.footer-tagline {
  color: var(--gray-400);
  margin-top: var(--spacing-sm);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: var(--spacing-2xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-title {
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--purple);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-800);
  color: var(--gray-400);
}

/* Added 3D Canvas styles for background animation */
.canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Update sections and nav to have proper z-index for 3D background */
.nav,
section,
.footer {
  position: relative;
  z-index: 1;
}

/* Custom cursor styles */
/* Updated cursor styles for minimalist plane */
.custom-cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  color: var(--purple);
  filter: drop-shadow(0 0 10px rgba(107, 43, 141, 0.6));
}

.custom-cursor svg {
  width: 100%;
  height: 100%;
  transition: all 0.2s ease;
}

.custom-cursor.cursor-hover {
  width: 40px;
  height: 40px;
  color: var(--red);
  filter: drop-shadow(0 0 15px rgba(192, 57, 43, 0.8));
}

/* Responsive */
@media (max-width: 768px) {
  /* Hide custom cursor on mobile */
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gray-900);
    flex-direction: column;
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-800);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .section-title {
    font-size: 2rem;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-results {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #111;
  border-radius: 16px;
  padding: 24px;
  transition: 
      box-shadow 0.25s ease, 
      transform 0.25s ease,
      border 0.25s ease;
  border: 0.8px solid rgba(255, 255, 255, 0.25); /* borda branca fina e suave */
}

/* Brilho suave */
.testimonial-card:hover,
.testimonial-card:active {
  transform: translateY(-3px);
  border-color: var(--purple-light); /* substitui no hover */
  box-shadow: 
      0 0 6px rgba(139, 59, 173, 0.4),
      0 0 12px rgba(107, 43, 141, 0.25);
}

/* Mobile touch */
@media (hover: none) {
  .testimonial-card:active {
      transform: scale(0.98);
      border-color: var(--purple-light);
      box-shadow: 
          0 0 6px rgba(139, 59, 173, 0.4),
          0 0 12px rgba(107, 43, 141, 0.25);
  }
}

/* Container do formulário com borda branca fina */
.contact-form {
  background: #111;
  border-radius: 16px;
  padding: 28px;
  border: 0.8px solid rgba(255, 255, 255, 0.25); /* mesma borda dos depoimentos */
  transition: 
      box-shadow 0.25s ease, 
      transform 0.25s ease,
      border 0.25s ease;
}

/* Hover + brilho suave igual aos depoimentos */
.contact-form:hover {
  transform: translateY(-3px);
  border-color: var(--purple-light);
  box-shadow: 
      0 0 6px #007BFF,
      0 0 12px #007BFF;
}

/* Mobile (sem hover) */
@media (hover: none) {
  .contact-form:active {
      transform: scale(0.98);
      border-color: var(--purple-light);
      box-shadow: 
          0 0 6px #007BFF,
          0 0 12px #007BFF;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;
  height: 70px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: 0.25s ease;
  animation: bounce 2.4s infinite ease-in-out;
}

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

.whatsapp-float img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.12);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float img {
    width: 60px;
    height: 60px;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
}

.project-image {
  flex: 1;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.project-content {
  flex: 1;
  text-align: center;
}

@media (min-width: 992px) {
  .project-card {
      flex-direction: row;
      align-items: center;
  }

  .project-image {
      flex: 0 0 400px;
  }

  .project-content {
      text-align: left;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.project-results {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 992px) {
  .project-results {
      justify-content: flex-start;
  }
}

.result-item {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

@media (min-width: 992px) {
  .project-tech {
      justify-content: flex-start;
  }
}

.tech-badge {
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* azul do botão */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #ccc; /* borda cinza clara */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3; /* escurece no hover */
  color: white;
  border-color: #ccc; /* mantém a borda cinza ao passar o mouse */
}

/* ============================================= */
/* =            ESTILOS DA SEÇÃO FAQ           = */
/* ============================================= */

/* Ajuste estas variáveis de cor para combinar 
   com o seu tema escuro existente.
*/
:root {
  --faq-bg: #0b0b11; /* Fundo escuro da seção */
  --faq-item-bg: #12121b; /* Fundo de cada item */
  --faq-border: #2a2a3c; /* Cor da borda */
  --faq-text: #eaeaf0; /* Cor do texto da pergunta */
  --faq-text-answer: #a0a0b0; /* Cor do texto da resposta */
  --faq-accent: #007BFF; /* Cor de destaque (ajuste para seu --primary-color) */
}

/* Placeholders para seções que você precisa estilizar */
.skills {
  padding: 80px 0;
  background-color: var(--faq-item-bg); /* Cor de exemplo */
}
.testimonials {
   padding: 80px 0;
   background-color: var(--faq-bg); /* Cor de exemplo */
}
/* Fim dos Placeholders */


.faq {
  padding: 80px 0;
  background-color: var(--faq-bg);
  border-top: 1px solid var(--faq-border);
}

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

.faq .section-label {
  color: var(--faq-accent);
}

.faq .section-title {
  color: var(--faq-text);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--faq-item-bg);
  border-radius: 12px;
  border: 1px solid var(--faq-border);
  overflow: hidden; /* Importante para o efeito 'slide' */
  transition: background-color 0.2s ease;
}

.faq-item:hover {
   background-color: #1a1a24; /* Leve destaque no hover */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--faq-text);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--faq-accent);
}

.faq-question span {
  padding-right: 16px;
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--faq-accent);
  transition: transform 0.3s ease;
}

/* Estilo para quando o item está ativo (aberto) */
.faq-question[aria-expanded="true"] {
  color: var(--faq-accent);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  /* Escondido por padrão */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--faq-text-answer);
}

.faq-answer p strong {
  color: var(--faq-text);
  font-weight: 600;
}


/* ============================================= */
/* =           ESTILOS DO NOVO RODAPÉ          = */
/* ============================================= */

.footer {
  padding: 60px 0 30px 0;
  background-color: var(--faq-item-bg); /* Um pouco mais claro que o fundo do FAQ */
  border-top: 1px solid var(--faq-border);
  color: var(--faq-text-answer);
}

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

.footer-logo .logo {
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--faq-text);
  font-weight: 900;
}
.footer-logo .logo .tag {
  color: var(--faq-accent);
}
.footer-logo .logo .dot {
  color: var(--faq-accent);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--faq-text);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--faq-text-answer);
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--faq-accent);
}

.footer-contact p {
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--faq-border);
  padding-top: 30px;
  font-size: 0.9rem;
}

/* Responsividade para o rodapé */
@media (max-width: 768px) {
  .footer-content {
      text-align: center;
  }
  .footer-logo .logo {
      text-align: center;
      display: block;
  }
  .footer-description {
      margin-left: auto;
      margin-right: auto;
  }
  .footer-contact .btn-primary {
      width: 100%;
      max-width: 300px;
  }
}