/* =========================================================
   SOLICITAR ORÇAMENTO
   ========================================================= */

.quote-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.quote-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .72),
      rgba(0, 0, 0, .25)
    ),
    url("../../assets/img/orcamento.jpg") center / cover no-repeat;
  color: #fff;
}

.quote-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .12);
}

.quote-hero .quote-container {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.quote-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.quote-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  font-weight: 900;
}

.quote-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}


/* =========================================================
   INTRO
   ========================================================= */

.quote-intro {
  padding: 90px 0;
  background: #fff;
}

.quote-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--worten-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.quote-intro h2 {
  max-width: 550px;
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
}

.quote-intro h2 strong {
  color: var(--worten-red);
}

.quote-intro-text > p {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.quote-benefits {
  display: grid;
  gap: 20px;
}

.quote-benefit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.quote-benefit > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--worten-red);
  color: #fff;
  font-weight: 900;
}

.quote-benefit strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.quote-benefit small {
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.quote-form-section {
  padding: 100px 0;
  background: var(--light);
}

.quote-form-header {
  max-width: 700px;
  margin-bottom: 50px;
}

.quote-form-header h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
}

.quote-form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.quote-form {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .06);
}

.form-section {
  padding: 45px;
  border-bottom: 1px solid var(--border);
}

.form-section-title {
  display: flex;
  gap: 18px;
  margin-bottom: 35px;
}

.form-section-title > span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--worten-red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.form-section-title h3 {
  margin: 0 0 5px;
  font-size: 23px;
  font-weight: 800;
}

.form-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9dce2;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.form-field input,
.form-field select {
  min-height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 145px;
  padding: 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--worten-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .10);
}

.form-field small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}


/* =========================================================
   UPLOAD
   ========================================================= */

.upload-box {
  border: 2px dashed #d5d8df;
  border-radius: 16px;
  background: #fafbfc;
  transition: border-color .2s ease;
}

.upload-box:hover {
  border-color: var(--worten-red);
}

.upload-box label {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-align: center;
}

.upload-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  border-radius: 50%;
  background: var(--worten-red);
  color: #fff;
  font-size: 30px;
  font-weight: 300;
}

.upload-box strong {
  font-size: 16px;
}

.upload-box small {
  color: var(--muted);
}

.upload-box input {
  display: none;
}

.file-list {
  padding: 0 25px 20px;
}

.file-item {
  padding: 9px 12px;
  margin-top: 7px;
  border-radius: 7px;
  background: #fff;
  color: #333;
  font-size: 13px;
}


/* =========================================================
   PRIVACIDADE
   ========================================================= */

.form-privacy {
  padding: 30px 45px;
  background: #fafafa;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--worten-red);
}


/* =========================================================
   SUBMIT
   ========================================================= */

.form-submit {
  padding: 35px 45px 45px;
  text-align: center;
}

.quote-submit-button {
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 30px;
  background: var(--worten-red);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background .2s ease,
    transform .2s ease;
}

.quote-submit-button:hover {
  background: var(--worten-red-dark);
  transform: translateY(-2px);
}

.quote-submit-button span {
  margin-left: 12px;
  font-size: 20px;
}

.form-submit p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
}


/* =========================================================
   SUCESSO
   ========================================================= */

.quote-success {
  display: none;
  padding: 80px 30px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .06);
}

.quote-success.active {
  display: block;
}

.success-icon {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #e9f8ed;
  color: #188038;
  font-size: 38px;
  font-weight: 900;
}

.quote-success h2 {
  margin: 0 0 15px;
  font-size: 40px;
  font-weight: 900;
}

.quote-success p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.success-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 26px;
  background: var(--worten-red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}


/* =========================================================
   PROCESSO
   ========================================================= */

.quote-process {
  padding: 100px 0;
  background: #fff;
}

.quote-process-heading {
  margin-bottom: 50px;
}

.quote-process-heading h2,
.quote-faq-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.process-card > span {
  display: block;
  margin-bottom: 35px;
  color: var(--worten-red);
  font-size: 14px;
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   FAQ
   ========================================================= */

.quote-faq {
  padding: 100px 0;
  background: var(--light);
}

.quote-faq-heading {
  margin-bottom: 45px;
}

.faq-list {
  max-width: 900px;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--worten-red);
  font-size: 25px;
  font-weight: 400;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  margin: -5px 0 25px;
  color: var(--muted);
  line-height: 1.7;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.quote-final-cta {
  padding: 90px 0;
  background: #0071a0;
  color: #fff;
  text-align: center;
}

.quote-final-cta h2 {
  margin: 0 0 15px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.quote-final-cta p {
  margin: 0 auto 30px;
  font-size: 17px;
}

.quote-final-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.quote-button {
  min-height: 50px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 800;
}

.quote-button-primary {
  background: #fff;
  color: var(--worten-red);
}

.quote-button-secondary {
  border: 2px solid #fff;
  color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

  .quote-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 767px) {

  .quote-container {
    width: min(100% - 28px, 600px);
  }

  .quote-hero {
    min-height: 380px;
  }

  .quote-hero .quote-container {
    padding: 60px 0;
  }

  .quote-hero h1 {
    font-size: 43px;
  }

  .quote-hero p {
    font-size: 17px;
  }

  .quote-intro,
  .quote-form-section,
  .quote-process,
  .quote-faq {
    padding: 65px 0;
  }

  .form-section {
    padding: 30px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .form-privacy {
    padding: 25px 20px;
  }

  .form-submit {
    padding: 30px 20px 35px;
  }

  .quote-submit-button {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 575px) {

  .quote-hero h1 {
    font-size: 38px;
  }

  .quote-intro h2 {
    font-size: 34px;
  }

  .form-section-title {
    gap: 12px;
  }

  .form-section-title > span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .form-section-title h3 {
    font-size: 20px;
  }

  .quote-success {
    padding: 60px 20px;
  }

  .quote-success h2 {
    font-size: 32px;
  }

}

