/* Contact Page Styles */

.contact {
  padding: 140px 0 100px;
  background-color: var(--dark-blue);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(251, 61, 40, 0.05);
  z-index: 1;
}

.contact::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 120, 81, 0.03);
  z-index: 1;
}

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

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

.contact .section-title {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--light-gray);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.contact .section-subtitle {
  font-size: 1.1rem;
  color: rgba(237, 231, 231, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.contact-info {
  flex: 0 0 350px;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--light-gray);
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}

/* Contact form specific styles */
.contact-form .form-group {
  margin-bottom: 24px;
  position: relative;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--light-gray);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 61, 40, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form .form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
}

.contact-form .form-row .form-group {
  flex: 1;
}

.form-submit {
  margin-top: 20px;
}

.form-submit button {
  background: var(--red);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(251, 61, 40, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.4s ease;
}

.form-submit button::after {
  content: "\f1d8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.form-submit button:hover {
  background-color: #e0301e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(251, 61, 40, 0.3);
}

.form-submit button:hover::before {
  left: 100%;
}

.form-submit button:hover::after {
  transform: translateX(3px);
}

.form-submit button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(251, 61, 40, 0.2);
}

.contact-info-card {
  position: relative;
  background-color: transparent;
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  border: none;
}

.contact-info-card .card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 48, 65, 0.9) 0%,
    rgba(31, 41, 55, 0.95) 100%
  );
  border-radius: 16px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.contact-info-card .card-background:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 120, 81, 0.12) 0%,
    transparent 50%
  );
  animation: rotateGradient 15s linear infinite;
}

.contact-info-card .card-content {
  position: relative;
  z-index: 1;
  padding: 35px;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.contact-info-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.contact-info-card .header-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  color: var(--light-gray);
  font-weight: 600;
  margin: 0;
  padding: 0;
  letter-spacing: -0.5px;
}

.contact-details-content {
  margin-bottom: 25px;
}

.info-icon-container {
  position: relative;
  flex-shrink: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(251, 61, 40, 0.15) 0%,
    rgba(255, 120, 81, 0.2) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.info-icon i {
  font-size: 1.7rem;
  color: var(--red);
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-detail i {
  font-size: 1.2rem;
  color: var(--red);
  margin-right: 18px;
  width: 20px;
  text-align: center;
}

.contact-detail span {
  color: rgba(237, 231, 231, 0.9);
  font-weight: 500;
}

.contact-social {
  margin-top: 20px;
}

.social-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--light-gray);
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--light-gray);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
  background-color: var(--red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-email-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--red) 0%, #ff7851 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(251, 61, 40, 0.25);
  text-decoration: none;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.contact-email-button i {
  transition: transform 0.3s ease;
}

.contact-email-button:hover {
  background: linear-gradient(to right, #e0301e 0%, #ff5c30 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(251, 61, 40, 0.4);
}

.contact-email-button:hover i {
  transform: translateX(5px);
}

.contact-email-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(251, 61, 40, 0.3);
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: flex-start;
  }
}

.contact-map {
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.contact-map:hover {
  transform: translateY(-5px);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.8);
  transition: filter 0.3s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0) brightness(1);
}

/* Form validation styles */
.contact-form .form-group.error input,
.contact-form .form-group.error textarea,
.contact-form .form-group.error select {
  border-color: #ff4e4e;
  background-color: rgba(255, 78, 78, 0.05);
}

.error-message {
  color: #ff4e4e;
  font-size: 0.8rem;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}

.contact-form .form-group.error .error-message {
  display: block;
}

/* Contador de caracteres */
.character-counter {
  color: #ff4e4e !important;
  font-size: 0.75rem !important;
  margin-top: 5px !important;
  display: block !important;
  font-weight: 500;
  font-style: italic;
}

/* Labels com asterisco para campos obrigatórios */
.form-group label::after {
  content: "";
}

.form-group label[for="name"]::after,
.form-group label[for="email"]::after,
.form-group label[for="phone"]::after,
.form-group label[for="budget"]::after,
.form-group label[for="message"]::after {
  color: #ff4e4e;
  margin-left: 3px;
}

.form-success-message {
  background-color: rgba(46, 125, 50, 0.1);
  color: #4caf50;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: none;
  font-weight: 500;
  border-left: 4px solid #4caf50;
}

.form-error-message {
  background-color: rgba(211, 47, 47, 0.1);
  color: #ff4e4e;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: none;
  font-weight: 500;
  border-left: 4px solid #ff4e4e;
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(237, 231, 231, 0.8);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--red);
}

.checkbox-label a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.checkbox-label a:hover {
  text-decoration: underline;
  color: #ff7851;
}

@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    flex: 1;
    order: -1;
    width: 100%;
  }

  .contact-form-container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact {
    padding: 100px 0 80px;
  }

  .contact-form-container,
  .contact-info-card {
    padding: 25px;
  }
  
  /* Fix placeholder text being cut off on small screens */
  .contact-form .form-group input,
  .contact-form .form-group textarea,
  .contact-form .form-group select {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  
  /* Ensure placeholder text is fully visible */
  .contact-form .form-group input::placeholder,
  .contact-form .form-group textarea::placeholder {
    font-size: 0.85rem;
    opacity: 0.7;
  }
  
  /* Hide animated circle in WhatsApp card on mobile */
  .whatsapp-card .animated-circle {
    display: none;
  }
}

.contact-form .form-group select {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--light-gray);
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23EDE7E7%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 18px top 50%;
  background-size: 12px auto;
  cursor: pointer;
  padding-right: 40px;
}

/* Animação da seta no select */
.contact-form .form-group select:focus,
.contact-form .form-group select.select-focused {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 61, 40, 0.1);
  background: rgba(255, 255, 255, 0.05);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FB3D28%22%20d%3D%22M287%20223c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8L159%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 18px top 50%;
  background-size: 12px auto;
}

/* Estilizar as opções dentro do select */
select#subject option {
  background-color: #1f2937;
  color: #ffffff;
  padding: 16px;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  border: none;
}

/* Estilos para o select personalizado */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--light-gray);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23EDE7E7%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(251, 61, 40, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.custom-select.open .custom-select-trigger::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FB3D28%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
}

.custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1f2937;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  z-index: 2;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
  animation: selectDropdown 0.3s ease forwards;
}

.custom-option {
  position: relative;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
}

.custom-option:hover {
  background: rgba(251, 61, 40, 0.1);
  color: var(--red);
}

.custom-option:not(:last-of-type) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animação do dropdown (precisa de JavaScript para aplicar a classe) */
@keyframes selectDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classe que será adicionada via JavaScript */
.select-dropdown-visible {
  animation: selectDropdown 0.3s ease forwards;
}

/* Card de confirmação de mensagem enviada */
.success-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-card-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.success-card {
  background-color: #1f2937;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.success-card-overlay.visible .success-card {
  transform: scale(1);
  opacity: 1;
}

.success-card h3 {
  color: var(--light-gray);
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.success-card p {
  color: rgba(237, 231, 231, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.success-card .check-animation {
  margin: 0 auto 25px;
}

.success-card .close-button {
  background-color: var(--red);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.success-card .close-button:hover {
  background-color: #e0301e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(251, 61, 40, 0.3);
}

/* Card de erro - idêntico ao card de sucesso */
.error-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.error-card-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.error-card {
  background-color: #1f2937;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.error-card-overlay.visible .error-card {
  transform: scale(1);
  opacity: 1;
}

.error-card h3 {
  color: var(--light-gray);
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.error-card p {
  color: rgba(237, 231, 231, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.error-card .error-animation {
  margin: 0 auto 25px;
}

.error-card .close-button {
  background-color: var(--red);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.error-card .close-button:hover {
  background-color: #e0301e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(251, 61, 40, 0.3);
}

/* Lista de erros específicos (quando há erros de validação) */
.error-card .error-list {
  text-align: left;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.error-card .error-list li {
  color: rgba(255, 87, 87, 0.9);
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.error-card .error-list li:before {
  content: "•";
  color: #ff4757;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Animação de check */
.check-animation {
  position: relative;
  width: 80px;
  height: 80px;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
  margin: 0 auto;
}

/* Animação de erro - idêntica à animação de check */
.error-animation {
  position: relative;
  width: 80px;
  height: 80px;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
  margin: 0 auto;
}

.check-animation:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(251, 61, 40, 0.08);
  opacity: 0;
  animation: check-pulse 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.error-animation:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(251, 61, 40, 0.08);
  opacity: 0;
  animation: check-pulse 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

@keyframes check-pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.check-animation svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--red);
  stroke-width: 3;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
  width: 80px;
  height: 80px;
}

.error-animation svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--red);
  stroke-width: 3;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
  width: 80px;
  height: 80px;
}

.check-animation svg circle {
  fill: transparent;
  stroke-dasharray: 189;
  stroke-dashoffset: 189;
}

.error-animation svg circle {
  fill: transparent;
  stroke-dasharray: 189;
  stroke-dashoffset: 189;
  animation: circle-animation 1s ease-in-out forwards;
}

.error-animation svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: error-path 0.6s ease-in-out forwards;
  animation-delay: 0.6s;
}

@keyframes error-path {
  0% {
    stroke-dashoffset: 60;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes circle-animation {
  0% {
    stroke-dashoffset: 189;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.check-animation svg circle {
  animation: check-circle 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes check-circle {
  0% {
    stroke-dashoffset: 189;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.check-animation svg polyline {
  fill: transparent;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: check-polyline 0.5s ease forwards;
  animation-delay: 0.8s;
}

@keyframes check-polyline {
  0% {
    stroke-dashoffset: 50;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.contact-directions-card {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.25);
  padding: 20px;
  margin-top: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.contact-directions-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.contact-directions-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--light-gray);
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.contact-directions-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}

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

.transportation-options.compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.transport-icon {
  width: 32px;
  height: 32px;
  background: rgba(251, 61, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-icon i {
  font-size: 1rem;
  color: var(--red);
}

.transport-info h4 {
  font-size: 0.95rem;
  color: var(--light-gray);
  margin-bottom: 5px;
  font-weight: 600;
}

.transport-info p {
  font-size: 0.8rem;
  color: rgba(237, 231, 231, 0.7);
  margin-bottom: 0;
  line-height: 1.3;
}

.directions-cta {
  margin-top: 12px;
  text-align: center;
}

.directions-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(251, 61, 40, 0.2);
  text-decoration: none;
  gap: 8px;
}

.directions-button:hover {
  background-color: #e0301e;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(251, 61, 40, 0.3);
}

.directions-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(251, 61, 40, 0.2);
}

@media (max-width: 576px) {
  .transportation-options.compact {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Card Styles */
.whatsapp-card .info-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.15) 0%,
    rgba(37, 211, 102, 0.3) 100%
  );
}

.whatsapp-card .info-icon i {
  color: #25d366;
}

.whatsapp-card .icon-ring {
  border: 2px dashed rgba(37, 211, 102, 0.3);
}

.whatsapp-card .animated-circle {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
}

.whatsapp-card .animated-circle:before,
.whatsapp-card .animated-circle:after {
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.whatsapp-card .animated-circle:before {
  border: 1px solid rgba(37, 211, 102, 0.5);
}

.whatsapp-card .animated-circle:after {
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

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

.benefit-item i {
  color: #25d366;
  font-size: 1.2rem;
}

.benefit-item span {
  color: rgba(237, 231, 231, 0.9);
  font-weight: 500;
}

.whatsapp-number {
  display: flex;
  align-items: center;
  background: rgba(37, 211, 102, 0.1);
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-number i {
  font-size: 1.5rem;
  color: #25d366;
  margin-right: 15px;
}

.whatsapp-number span {
  color: var(--light-gray);
  font-size: 1.1rem;
  font-weight: 600;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #25d366 0%, #1da851 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.whatsapp-button i {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.whatsapp-button:hover {
  background: linear-gradient(to right, #20bc5c 0%, #1a9349 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover i {
  transform: translateX(5px);
}

.whatsapp-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

/* FAQ AI Assistant Card Styles */
.faq-ai-card {
  position: relative;
  background-color: transparent;
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  border: none;
}

.faq-ai-card .card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 48, 65, 0.9) 0%,
    rgba(31, 41, 55, 0.95) 100%
  );
  border-radius: 16px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.faq-ai-card .card-background:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 120, 81, 0.12) 0%,
    transparent 50%
  );
  animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.faq-ai-card .card-content {
  position: relative;
  z-index: 1;
  padding: 35px;
}

.faq-ai-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.faq-ai-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.faq-ai-card .header-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-ai-card h3 {
  font-size: 1.5rem;
  color: var(--light-gray);
  font-weight: 600;
  margin: 0;
  padding: 0;
  letter-spacing: -0.5px;
}

.faq-ai-card h3::after {
  display: none;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  border-radius: 50%;
  position: relative;
}

.pulse-dot:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #4caf50;
  border-radius: 50%;
  opacity: 0.7;
  animation: pulse 1.5s infinite;
}

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

.animated-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--red) 0%, #ff7851 100%);
  box-shadow: 0 0 8px rgba(251, 61, 40, 0.5);
}

.animated-circle:before,
.animated-circle:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(251, 61, 40, 0.6);
}

.animated-circle:before {
  border: 1px solid rgba(251, 61, 40, 0.5);
  animation: spin 5s linear infinite;
}

.animated-circle:after {
  border: 1px solid rgba(255, 120, 81, 0.5);
  animation: spin 3s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.3) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

.faq-ai-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}

.faq-ai-icon-container {
  position: relative;
  flex-shrink: 0;
}

.faq-ai-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(251, 61, 40, 0.15) 0%,
    rgba(255, 120, 81, 0.2) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.faq-ai-icon i {
  font-size: 1.7rem;
  color: var(--red);
}

.icon-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed rgba(251, 61, 40, 0.3);
  border-radius: 50%;
  animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.faq-ai-info {
  flex: 1;
}

.feature-list {
  width: 100%;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.feature-item.full-width {
  margin-bottom: 0;
}

.feature-item i {
  color: var(--red);
  font-size: 1.1rem;
  margin-right: 15px;
}

.feature-item span {
  color: rgba(237, 231, 231, 0.95);
  font-weight: 500;
  font-size: 1rem;
}

.ai-chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--red) 0%, #ff7851 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(251, 61, 40, 0.25);
  text-decoration: none;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.ai-chat-button i {
  transition: transform 0.3s ease;
}

.ai-chat-button:hover {
  background: linear-gradient(to right, #e0301e 0%, #ff5c30 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(251, 61, 40, 0.4);
}

.ai-chat-button:hover i {
  transform: translateX(5px);
}

.ai-chat-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(251, 61, 40, 0.3);
}

@media (max-width: 768px) {
  .faq-ai-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .feature-row {
    flex-direction: column;
    gap: 12px;
  }

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

/* Novos campos de formulário */
.checkbox-container {
  margin-top: 12px;
}

.newsletter-checkbox {
  margin-top: 0;
}

.contact-form .form-group input[type="date"] {
  padding-right: 10px;
  color-scheme: dark;
}

/* Ajuste de espaçamento para o formulário mais completo */
.contact-form .form-row {
  margin-bottom: 15px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form .form-group textarea {
  height: 120px;
}

/* Terms Overlay Styles */
.terms-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 52, 63, 0.95);
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.terms-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.terms-content {
  background: var(--dark-blue);
  border-radius: 16px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 120, 81, 0.2);
  max-width: 650px;
  max-height: 85vh;
  width: 90%;
  margin: 20px;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.terms-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  border-radius: 16px 16px 0 0;
}

.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 20px 30px;
  border-bottom: 1px solid rgba(255, 120, 81, 0.2);
  background: rgba(255, 120, 81, 0.05);
  position: relative;
  z-index: 1;
}

.terms-header h3 {
  color: var(--light-gray);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.terms-close {
  background: rgba(255, 120, 81, 0.1);
  border: 1px solid rgba(255, 120, 81, 0.3);
  font-size: 1.4rem;
  color: var(--light-gray);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: normal;
}

.terms-close:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  transform: scale(1.1);
}

.terms-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
  line-height: 1.6;
  color: var(--light-gray);
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
}

.terms-body h4 {
  color: var(--orange);
  font-weight: 600;
  margin: 20px 0 12px 0;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 6px;
}

.terms-body h4:first-child {
  margin-top: 0;
}

.terms-body h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  border-radius: 1px;
}

.terms-body p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.terms-body ul {
  margin: 12px 0;
  padding-left: 20px;
}

.terms-body li {
  margin-bottom: 8px;
  position: relative;
}

.terms-body li::marker {
  color: var(--orange);
}

.terms-body .highlight {
  background: rgba(255, 120, 81, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--orange);
  margin: 16px 0;
  position: relative;
}

.terms-body .important {
  background: rgba(251, 61, 40, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--red);
  margin: 16px 0;
  position: relative;
}

.terms-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(255, 120, 81, 0.2);
  background: rgba(255, 120, 81, 0.05);
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.terms-footer .btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  font-family: "Montserrat", sans-serif;
}

.terms-footer .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: white;
  border: 1px solid transparent;
}

.terms-footer .btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(251, 61, 40, 0.3);
}

.terms-footer .btn-secondary {
  background: transparent;
  color: var(--light-gray);
  border: 1px solid rgba(237, 231, 231, 0.3);
}

.terms-footer .btn-secondary:hover {
  background: rgba(237, 231, 231, 0.1);
  border-color: var(--light-gray);
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* Small screens adjustments */
@media (max-width: 480px) {
  .terms-content {
    max-height: 95vh;
    margin: 10px;
    border-radius: 12px;
  }
  
  .terms-header {
    padding: 20px 20px 15px 20px;
  }
  
  .terms-header h3 {
    font-size: 1.3rem;
  }
  
  .terms-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
  }
  
  .terms-body {
    padding: 20px;
    font-size: 0.9rem;
  }
  
  .terms-footer {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }
  
  .terms-footer .btn {
    width: 100%;
    min-width: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .terms-content {
    max-height: 90vh;
    margin: 15px;
  }
  
  .terms-header {
    padding: 25px 25px 18px 25px;
  }
  
  .terms-header h3 {
    font-size: 1.4rem;
  }
  
  .terms-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-shrink: 0;
  }
  
  .terms-body {
    padding: 25px;
  }
  
  .terms-footer {
    padding: 18px 25px;
    flex-direction: column;
    gap: 10px;
  }
  
  .terms-footer .btn {
    width: 100%;
    min-width: auto;
  }
}
