:root {
  --main-color: #6c788e;
  --secondary-color: #a6aec1;
  --third-color: #cfd5e1;
  --fourth-color: #ededf2;
  --fifth-color: #fcfdff;
  --accent-color: #8ecae6;
  --success-color: #b7e4c7;
  --blackblack: #222;
  --font-color: #444;
  --green-correct: #6bcb77;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  background: var(--fourth-color);
  color: var(--font-color);
}

.invalid {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contato-form-section {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  background: var(--fifth-color);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sec-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orcamento-section {
  gap: 8px;
}

.contato-form label {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--font-color);
}

.contato-form-section p {
  margin-top: 10px;
}

.contato-form input,
.contato-form textarea {
  padding: 0.7rem;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: var(--font-color);
  transition: border 0.2s;
  resize: none;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--main-color);
}

.modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 400px;
  height: 54px;
  margin: 1.5rem auto 0 auto;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--main-color);
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(76, 203, 119, 0.08);
  cursor: pointer;
  transition: background 0.3s, transform 0.15s, box-shadow 0.2s;
  outline: none;
  position: relative;
  overflow: hidden;
}

.modal-cta .cta-icon {
  display: inline-block;
  vertical-align: middle;
}

.modal-cta:hover,
.modal-cta:focus {
  background: var(--secondary-color);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(76, 203, 119, 0.16);
}

.modal-cta:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(76, 203, 119, 0.1);
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}

.modal.show {
  display: flex !important;
  animation: fadeIn 0.25s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 350px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: popIn 0.25s;
}

@keyframes popIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  margin-bottom: 1rem;
  color: var(--green-correct);
}

.modal-content h3 {
  color: var(--green-correct);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: var(--green-correct);
}

@media (max-width: 700px) {
  .contato-form-section {
    padding: 1rem 0.5rem;
  }
  .contato-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  input,
  textarea {
    max-width: 100%;
  }
}

@media (max-width: 425px) {
  .wpcf7 {
    max-width: 100%;
  }
  .contato-form-section {
    padding: 1rem;
  }

  .form-orcamento-section {
    width: 100%;
  }
}
