@charset "UTF-8";
/* 
  QualyVolt CSS - Estilo moderno, limpo e profissional
  Cores: Amarelo, Preto, Branco e Azul Escuro
*/

:root {
  --primary-yellow: #FFD700;
  --dark-blue: #001f3f;
  --black: #1a1a1a;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --secondary-gray: #6c757d;
  --whatsapp-green: #25d366;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Sections */
section {
  padding: 100px 5% 60px;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary-yellow);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-weight: 500;
  font-size: 0.95rem;
}

nav ul li a:hover {
  color: var(--primary-yellow);
}

.cta-button {
  background: var(--dark-blue);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid var(--dark-blue);
}

.cta-button:hover {
  background: transparent;
  color: var(--dark-blue);
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Services */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--secondary-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-yellow);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--dark-blue);
}

.service-card.main-service {
  background: var(--light-gray);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.service-card ul li {
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card ul li::before {
  content: "\2022";
  color: var(--primary-yellow);
  font-size: 1.5rem;
}

/* Secondary Services */
.secondary-services {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.secondary-services-content {
  flex: 1;
}

.secondary-services-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.secondary-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Differentials */
.differentials {
  background: var(--light-gray);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
}

.diff-item {
  text-align: center;
  padding: 2rem;
}

.diff-item i {
  font-size: 2.5rem;
  color: var(--primary-yellow);
  margin-bottom: 1.5rem;
  display: block;
}

.diff-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* About */
.about-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 1;
  min-width: 300px;
}

.about-img img {
  border-radius: 12px;
  box-shadow: 20px 20px 0 var(--primary-yellow);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--white);
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.contact-tabs {
  margin-top: 2rem;
}

.contact-tabs a {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  font-weight: 500;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

button[type="submit"] {
  background: var(--dark-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

button[type="submit"]:hover {
  background: var(--black);
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-blue);
  transition: var(--transition);
}

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

.faq-chevron {
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: var(--secondary-gray);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Suficiente para o texto */
  padding-bottom: 1.5rem;
}

/* Footer (at the end) */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 80px 5% 30px;
}

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

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

/* Mobile Menu */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: var(--dark-blue);
}

/* Visibility helpers */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

@media (max-width: 968px) {
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }

  header {
    padding: 0.8rem 1.5rem;
  }

  .logo img {
    height: 40px !important;
  }

  .logo span {
    font-size: 1.2rem;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 80px 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-toggle {
    display: block;
    color: var(--dark-blue);
    order: 2;
  }

  .mobile-close {
    display: block;
  }

  .logo {
    order: 1;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

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

/* Animations */
[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}
