/* CSS Variables */
:root {
  --primary-red: #c8102e;
  --primary-blue: #0072c6;
  --gradient-blue: linear-gradient(135deg, #0072c6, #1e40af);
  --silver: #a7a8aa;
  --white: #ffffff;
  --gray-100: #f1f1f1;
  --gray-200: #e5e7eb;
  --gray-300: #cbd5e1;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #374151;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-900);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-rd {
  color: var(--primary-red);
}

.logo-play {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Banner Section */
.banner-section {
  position: relative;
  height: 40vh;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.banner-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.banner-logo {
  margin-bottom: 2rem;
}

.banner-logo-img {
  max-height: 200px;
  width: auto;
}

.banner-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Image Gallery */
.gallery-section {
  padding: 5rem 0;
  background: var(--gray-100);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Streaming Devices */
.streaming-devices {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 400px;
}

.device-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.device-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.device-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--gradient-blue);
  padding: 20px;
}

.device-item span {
  font-weight: 600;
  color: var(--gray-800);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.hero-text {
  text-align: center;
}

.hero h1 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #a00e26;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Content Grid */
.content-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.features-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.feature-item i {
  color: var(--primary-red);
  font-size: 1.25rem;
}

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

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.advantage-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon i {
  color: var(--white);
  font-size: 1.25rem;
}

.advantage-content h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.app-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.app-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-blue);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.app-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.app-card h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

/* Security Content */
.security-content {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.security-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.security-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-icon i {
  color: var(--white);
  font-size: 1.25rem;
}

.security-text h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question h3 {
  margin: 0;
  color: var(--gray-900);
}

.faq-question i {
  color: var(--primary-red);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

/* Policies Grid */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.policy-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  text-align: center;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.policy-card i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.policy-card h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--white);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-bottom: 1rem;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: #6b0909;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

.footer-links a:hover {
  color: var(--white);
}

/* Responsive Design */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .cta-button {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

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

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

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

  .features-list {
    text-align: left;
  }

  .feature-item {
    justify-content: flex-start;
  }

  .device-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
  }

  .banner-section {
    height: 40vh;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.logo-img {
  height: 40px;
}

/* Desktop menu */
.desktop-nav {
  display: none; 
  gap: 2rem;
}
.desktop-nav a {
  color: var(--gray-800);
  text-decoration: none;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1.5rem 20px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav a {
  margin-bottom: 1rem;
  color: var(--gray-800);
  text-decoration: none;
}

/* CTA button */
.cta-button {
  background: var(--primary-red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
}


/* Container do ícone: círculo com degradê RD Play */
.device-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #0072c6, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin: 0 auto 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* A própria imagem dentro do círculo */
.device-icon img {
  width: 60%;
  height: auto;
  border-radius: 0;     /* remova qualquer arredondamento */
  background: none;     /* remova qualquer background aplicado */
}

/* Hover no container para dar feedback */
.device-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Garante espaçamento generoso entre seções */
.section {
  padding-top: 4rem;   /* antes: 2rem ou menos */
  padding-bottom: 4rem;
}

/* Se quiser espaçamentos maiores entre título e conteúdo: */
.section h2 {
  margin-bottom: 2rem; /* antes: 1rem */
}

/* Espaçamento extra para seções de destaque como a galeria */
.gallery-section {
  padding-top: 6rem;   /* antes: 5rem */
  padding-bottom: 6rem;
}

/* Seções simples podem ter um pouco menos */
#o-que-e-iptv {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Ajuste global para todas as <section> (caso queira tornar universal): */
section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Opcional: adicionar separador sutil */
.section + .section {
  border-top: 1px solid var(--gray-200);
}


/* 2 colunas para hero, 2 linhas */
.hero-devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 2rem;               /* espaço entre os itens */
  justify-items: center;   /* centraliza na coluna */
  align-items: center;     /* alinha verticalmente ao centro da linha */
  margin-top: 2rem;        /* separa da descrição do texto */
}

/* Força a altura mínima para “acompanhar” a altura do texto */
.hero-text,
.hero-devices {
  /* Distribuição lado a lado em desktop */
  display: grid;
  grid-template-areas: 
    "text devices";
}

/* Ajuste fino: define colunas proporcionais */
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;  /* texto um pouco maior que imagens */
  gap: 3rem;
  align-items: center;               /* faz o grid se alinhar verticalmente */
}

/* Estilo básico dos device-items */
.device-item {
  text-align: center;
}

.device-item img {
  width: 100%;           /* se quiser fixar em 180px, use width: 180px; */
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.device-item span {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
}



@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;  /* empilha texto e imagens no mobile */
  }
  .hero-devices {
    grid-template-columns: repeat(2, 1fr);
  }
}




#beneficios {
  background: 
    url('data:image/svg+xml;utf8,\
      <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill-opacity="0.03">\
        <circle cx="20" cy="20" r="2" fill="white"/></svg>'
    ) repeat,
    linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.benefit-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 1.5rem;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}


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

.benefit-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }


/* Exibe em duas colunas com espaçamento */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; /* espaço entre colunas e linhas */
}

/* Opcional: em telas maiores, mantém 2 colunas, em telas pequenas empilha */
@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* Faz o último item ocupar as duas colunas */
.advantages-grid .last-item {
  grid-column: 1 / -1;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}



#aplicativos {
  background: var(--gray-100); /* mesma cor de fundo das seções cinza */
  /* ou, se preferir degradê leve igual ao benefícios:
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  */
  padding-top: 4rem;
  padding-bottom: 4rem;
}


.app-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.app-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Seção de FAQ com fundo cinza claro */
#faq {
  background: var(--gray-100);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Container de cards */
.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Estilo de card */
.faq-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Hover eleva o card */
.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Animação staggering */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

/* Pergunta e ícone alinhados */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  cursor: pointer;
}

/* Rótulo da resposta escondida por padrão */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Quando ativo, mostra a resposta */
.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px; /* ou suficiente para o conteúdo */
}

/* Rotações do ícone */
.faq-item .faq-question i {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Reuse a animação keyframes do fadeIn*

/* Fundo mais suave para melhorar contraste */
#contato {
  background: linear-gradient(135deg, rgba(200,16,46,0.9) 0%, rgba(0,114,198,0.9) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Títulos e textos em branco puro */
#contato h2,
#contato h3,
#contato .contact-item span {
  color: #ffffff;
}

/* Ícones também em branco */
#contato .contact-item i {
  color: #ffffff;
}

/* Grid com gap para separar colunas */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Formulário */
.contact-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.3);
}

.contact-form h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Inputs claros, texto escuro */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--border-radius);
  background: rgba(255,255,255,0.2);
  color: #f8f8f8;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Botão de submit já vem em vermelho, mas ajusta a largura */
.contact-form .btn-primary {
  width: 100%;
  text-align: center;
}

/* Itens de contato (WhatsApp, email, relógio) */
.contact-info h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-item span {
  color: #ffffff;
}


/* Fundo escuro já definido para .footer */
.footer {
  background: var(--gray-900);
  color: #ffffff; /* cor padrão branca para texto */
}

/* Parágrafos brancos */
.footer p {
  color: #ffffff;
}

/* Títulos e links em branco */
.footer h4,
.footer .footer-links a,
.footer-bottom p {
  color: #ffffff;
}

/* Links que sobem de cor no hover */
.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--primary-red);
}

/* Ícones das redes sociais */
.footer .social-links a {
  background: var(--primary-red);
  color: #ffffff;
}

.footer .social-links a:hover {
  background: #6b0909;
}
