/* Estilos para o site CONTESTAR - Versão redesenhada */
:root {
  --primary-color: #1a73e8;
  --secondary-color: #4285f4;
  --accent-color: #0d47a1;
  --light-color: #f8f9fa;
  --dark-color: #202124;
  --gray-color: #5f6368;
  --light-gray: #dadce0;
  --success-color: #34a853;
  --warning-color: #fbbc05;
  --danger-color: #ea4335;
  --animation-duration: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 1s ease-out;
}

.animate-slideInUp {
  animation: slideInUp 1s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--animation-duration);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all var(--animation-duration);
}

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color var(--animation-duration);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--animation-duration);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: url('../images/illustrations/hero-bg.svg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('../images/illustrations/wave.svg') no-repeat center bottom;
  background-size: cover;
}

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

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.hero-image {
  flex: 1;
  text-align: right;
  max-width: 500px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--animation-duration);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

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

.btn-primary:hover {
  background-color: #f1f3f4;
  color: var(--accent-color);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

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

/* Cards */
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform var(--animation-duration), box-shadow var(--animation-duration);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--animation-duration);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.card-title::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--light-gray);
  bottom: 0;
  left: 0;
  transition: width var(--animation-duration), background-color var(--animation-duration);
}

.card:hover .card-title::after {
  width: 60px;
  background-color: var(--primary-color);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--animation-duration);
}

.card:hover .card-icon {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.card-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-color);
  transition: fill var(--animation-duration);
}

.card:hover .card-icon svg {
  fill: white;
}

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

/* Form */
.form-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
  transition: all var(--animation-duration);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--animation-duration);
  background-color: #f9f9f9;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
  background-color: white;
}

.form-control:focus + .form-label {
  color: var(--primary-color);
}

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

.alert {
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.alert svg {
  margin-right: 15px;
  min-width: 24px;
}

.alert-info {
  background-color: #e8f0fe;
  border-left: 4px solid var(--primary-color);
  color: var(--primary-color);
}

/* Steps */
.steps-section {
  background: url('../images/illustrations/steps-bg.svg') no-repeat center center;
  background-size: cover;
}

.steps {
  counter-reset: step-counter;
  list-style: none;
}

.step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 50px;
  transition: all var(--animation-duration);
}

.step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all var(--animation-duration);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.step:hover::before {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: all var(--animation-duration);
}

.step:hover .step-title {
  color: var(--accent-color);
}

/* Cases */
.case-study {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  border-left: 5px solid var(--primary-color);
  transition: all var(--animation-duration);
  position: relative;
  overflow: hidden;
}

.case-study::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 100px;
  color: rgba(26, 115, 232, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.case-study:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.case-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.case-title svg {
  margin-right: 10px;
}

.case-description {
  margin-bottom: 20px;
  font-style: italic;
  color: var(--gray-color);
}

.case-result {
  font-weight: 600;
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 15px;
  background-color: rgba(13, 71, 161, 0.1);
  border-radius: 20px;
}

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

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--animation-duration);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-size: 1.2rem;
  padding: 20px;
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--animation-duration);
}

.faq-question svg {
  transition: transform var(--animation-duration);
}

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

.faq-answer {
  color: var(--gray-color);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background-color: white;
}

.faq-answer.active {
  padding: 20px;
  max-height: 2000px;
}

/* Disclaimer */
.disclaimer {
  background-color: #f1f3f4;
  padding: 30px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--animation-duration);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.5;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.footer-column h3 {
  margin-bottom: 25px;
  font-size: 1.2rem;
  color: var(--light-color);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--animation-duration);
  display: flex;
  align-items: center;
}

.footer-links a svg {
  margin-right: 10px;
  transition: transform var(--animation-duration);
}

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

.footer-links a:hover svg {
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 40px;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  .hero {
    padding-top: 220px; /* Aumenta o espaço para que o texto não fique embaixo do menu */
  }
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-menu {
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-menu li {
    margin: 5px 10px;
  }
  
  .step {
    padding-left: 60px;
  }
  
  .step::before {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .form-container {
    padding: 30px 20px;
  }
 /* Oculta botão da Manus no mobile */
  .page-footer-mobile,
  .footer-button,
  svg[xmlns="http://www.w3.org/2000/svg"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -9999;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
  }
  
  .card-icon svg {
    width: 30px;
    height: 30px;
  }
   /* Oculta botão da Manus no mobile */
  .page-footer-mobile,
  .footer-button,
  svg[xmlns="http://www.w3.org/2000/svg"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -9999;
  }
}
