/* Section estimation de prix (homepage) */
.section-estimation {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-estimation__container {
  display: grid;
  gap: 36px;
}

.section-estimation__content {
  max-width: 760px;
}

.section-estimation__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #db333c;
}

.section-estimation__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  line-height: 1.2;
  color: #0f172a;
}

.section-estimation__intro {
  margin: 0;
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

.section-estimation__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background-color: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.section-estimation__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-estimation__field--full {
  grid-column: 1 / -1;
}

.section-estimation__field label {
  font-weight: 600;
  color: #0f172a;
}

.section-estimation__field input,
.section-estimation__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  color: #1e293b;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-estimation__field textarea {
  resize: vertical;
  min-height: 130px;
}

.section-estimation__field input:focus,
.section-estimation__field textarea:focus,
.section-estimation__submit:focus-visible {
  outline: none;
  border-color: #db333c;
  box-shadow: 0 0 0 3px rgba(219, 51, 60, 0.2);
}

.section-estimation__actions {
  margin-top: 4px;
}

.section-estimation__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #db333c;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.section-estimation__submit:hover {
  background-color: #bd2b33;
  transform: translateY(-1px);
}

/* Placeholder page dédiée au calcul */
.estimation-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.estimation-page__panel {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.09);
}

.estimation-page__title {
  margin: 0 0 12px;
  color: #0f172a;
}

.estimation-page__message {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .section-estimation {
    padding: 72px 0;
  }

  .section-estimation__form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
