/* Seth Immobilier - Honoraires (aligned with services) */

.seth-honoraires-wrap {
  --seth-gold: #cfbb93;
  --seth-green: #2e4e3f;
  --seth-off: #f8f5ef;
  --seth-text: #2e4e3f;
  --seth-muted: rgba(46, 78, 63, 0.72);
  --seth-border: rgba(46, 78, 63, 0.14);
  --seth-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --seth-radius: 18px;
  --seth-radius-sm: 12px;
  --seth-container: 1200px;
  --seth-focus: 0 0 0 3px rgba(207, 187, 147, 0.55);
  --seth-font: "Poppins", "Segoe UI", Arial, sans-serif;
  --seth-title-font: "Agrandir", "Helvetica Neue", Arial, sans-serif;
  --seth-title-hero: clamp(2rem, 4vw, 3rem);
  --seth-title-section: clamp(1.4rem, 3vw, 2rem);
  --seth-title-sub: clamp(1.15rem, 2.4vw, 1.6rem);

  font-family: var(--seth-font);
  color: var(--seth-text);
  background: var(--seth-off);
  background-image:
    radial-gradient(800px 520px at 6% -12%, rgba(207, 187, 147, 0.14), rgba(207, 187, 147, 0) 60%),
    radial-gradient(600px 420px at 92% 0%, rgba(46, 78, 63, 0.1), rgba(46, 78, 63, 0) 60%);
  padding: 0 0 40px;
  max-width: none;
  width: 100%;
  margin: 0;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  text-align: center;
}

.seth-honoraires-wrap,
.seth-honoraires-wrap * {
  box-sizing: border-box;
}

.seth-honoraires-wrap a:focus-visible,
.seth-honoraires-wrap button:focus-visible {
  outline: none;
  box-shadow: var(--seth-focus);
}

.seth-honoraires-header {
  background-color: #233a31;
  color: var(--seth-off);
  border-radius: 0;
  padding: clamp(28px, 7vw, 72px) 0;
  text-align: center;
  margin-bottom: 22px;
  border: none;
  box-shadow: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 48vh, 420px);
  display: flex;
  align-items: center;
  transition: padding 0.3s ease, min-height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.seth-honoraires-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(46, 78, 63, 0.74), rgba(46, 78, 63, 0.74)),
    var(--seth-hero-image, url("../images/honoraires.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.seth-honoraires-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(248, 245, 239, 0.8);
  z-index: 1;
  pointer-events: none;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.seth-honoraires-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.seth-honoraires-inner {
  position: relative;
  z-index: 2;
}

.seth-h1 {
  margin: 0;
  font-family: var(--seth-title-font);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--seth-title-hero);
  line-height: 1.05;
  color: var(--seth-off);
  position: relative;
  padding-bottom: 14px;
  transition: font-size 0.3s ease, padding-bottom 0.3s ease;
}

.seth-h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 2px;
  background: var(--seth-gold);
  transform: translateX(-50%);
  opacity: 0.9;
}

.seth-subtitle {
  margin: 10px 0 0;
  color: rgba(248, 245, 239, 0.72);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
}

.seth-honoraires-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  transition: margin 0.3s ease;
}

.seth-honoraires-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid rgba(248, 245, 239, 0.4);
  background: rgba(248, 245, 239, 0.12);
  color: var(--seth-off);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}


.seth-honoraires-pill:hover {
  transform: translateY(-1px);
  background: rgba(248, 245, 239, 0.2);
  border-color: rgba(248, 245, 239, 0.7);
}

.seth-card {
  position: relative;
  border: none;
  border-radius: 0;
  padding: 22px 0;
  background: #ffffff;
  box-shadow: none;
  margin: 22px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
  scroll-margin-top: 90px;
  width: 100%;
}

.seth-card::before {
  content: none;
}

.seth-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.seth-honoraires-inner {
  max-width: var(--seth-container);
  margin: 0 auto;
  padding: 0 20px;
}

.seth-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: center;
}

.seth-h2 {
  margin: 0;
  color: var(--seth-green);
  font-size: var(--seth-title-section);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--seth-title-font);
}

.seth-h3 {
  margin: 8px 0 10px;
  color: var(--seth-green);
  font-size: var(--seth-title-sub);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--seth-title-font);
}

.seth-muted {
  color: var(--seth-muted);
}

.seth-divider {
  height: 1px;
  background: var(--seth-border);
  margin: 16px 0;
}

/* Tables */
.seth-table {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.seth-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr);
  gap: 0;
}

.seth-table-2 .seth-row {
  grid-template-columns: minmax(260px, 1.8fr) minmax(180px, 1fr);
}

.seth-row > div {
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--seth-border);
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.seth-row > div:not(:last-child) {
  border-right: none;
}

.seth-row:last-child > div {
  border-bottom: none;
}

.seth-row-head > div {
  background: rgba(46, 78, 63, 0.06);
  color: var(--seth-green);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  justify-content: center;
  text-align: center;
}

.seth-row:not(.seth-row-head):nth-child(even) > div {
  background: rgba(46, 78, 63, 0.03);
}

.seth-row:not(.seth-row-head):hover > div {
  background: rgba(207, 187, 147, 0.14);
}

.seth-row:not(.seth-row-head) > div:first-child {
  font-weight: 600;
  color: rgba(46, 78, 63, 0.9);
}

.seth-row:not(.seth-row-head) > div:nth-child(2),
.seth-row:not(.seth-row-head) > div:nth-child(3),
.seth-table-2 .seth-row:not(.seth-row-head) > div:nth-child(2) {
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: var(--seth-green);
  font-variant-numeric: tabular-nums;
}

.seth-row-head > div:nth-child(2),
.seth-row-head > div:nth-child(3),
.seth-table-2 .seth-row-head > div:nth-child(2) {
  text-align: center;
}

/* Calculator */
.seth-calc {
  background: rgba(46, 78, 63, 0.06);
  border: 1px solid var(--seth-border);
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
}

.seth-form {
  margin-top: 10px;
}

.seth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  justify-items: center;
}

@media (max-width: 720px) {
  .seth-grid {
    grid-template-columns: 1fr;
  }
  .seth-row {
    grid-template-columns: minmax(180px, 1.2fr) minmax(110px, 0.9fr) minmax(110px, 0.9fr);
  }
  .seth-table-2 .seth-row {
    grid-template-columns: minmax(200px, 1.2fr) minmax(120px, 0.9fr);
  }
}

.seth-field label {
  display: block;
  font-weight: 600;
  color: var(--seth-green);
  margin-bottom: 6px;
  text-align: center;
}

.seth-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--seth-muted);
}

.seth-field input[type="text"],
.seth-field input[type="number"] {
  width: 100%;
  border: 1px solid var(--seth-border);
  border-radius: 0;
  padding: 11px 12px;
  font-family: var(--seth-font);
  font-size: 15px;
  outline: none;
  background: #ffffff;
  text-align: center;
}

.seth-field input:focus {
  border-color: rgba(46, 78, 63, 0.55);
  box-shadow: 0 0 0 4px rgba(46, 78, 63, 0.12);
}

.seth-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.seth-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--seth-border);
  border-radius: 0;
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.seth-radio:hover {
  border-color: rgba(46, 78, 63, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(46, 78, 63, 0.12);
}

.seth-inputgroup {
  display: flex;
  align-items: stretch;
}

.seth-inputgroup input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.seth-suffix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--seth-border);
  border-left: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(46, 78, 63, 0.05);
  color: var(--seth-muted);
  font-weight: 600;
  white-space: nowrap;
}

.seth-rents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .seth-rents {
    grid-template-columns: 1fr;
  }
}

.seth-rent-field label {
  font-weight: 600;
  color: rgba(46, 78, 63, 0.92);
}

.seth-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.seth-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-family: var(--seth-font);
  font-weight: 600;
  background: var(--seth-green);
  color: var(--seth-off);
  box-shadow: 0 12px 26px rgba(46, 78, 63, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.seth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(46, 78, 63, 0.28);
}

.seth-btn-ghost {
  background: transparent;
  color: var(--seth-green);
  border: 1px solid rgba(46, 78, 63, 0.22);
  box-shadow: none;
}

.seth-btn-ghost:hover {
  background: rgba(46, 78, 63, 0.06);
  border-color: rgba(46, 78, 63, 0.32);
}

.seth-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--seth-border);
  background: #ffffff;
  text-align: center;
}

.seth-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

@media (max-width: 820px) {
  .seth-result-grid {
    grid-template-columns: 1fr;
  }
}

.seth-result-k {
  font-size: 12px;
  color: var(--seth-muted);
}

.seth-result-v {
  font-size: 18px;
  font-weight: 700;
  color: var(--seth-green);
  margin-top: 3px;
}

.seth-result-big {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}

.seth-result-note {
  margin: 8px 0 0;
  font-size: 12px;
}

.seth-result-win {
  background: rgba(46, 78, 63, 0.06);
}

.seth-result-lose {
  background: rgba(207, 187, 147, 0.18);
}

.seth-footnote {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--seth-border);
}

@media (max-width: 640px) {
  .seth-table {
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .seth-row {
    grid-template-columns: 1fr;
    border: 1px solid var(--seth-border);
    border-radius: var(--seth-radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
  }

  .seth-row:last-child {
    margin-bottom: 0;
  }

  .seth-row-head {
    display: none;
  }

  .seth-row > div {
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    border-right: none;
  }

  .seth-row > div:last-child {
    border-bottom: none;
  }

  .seth-row:not(.seth-row-head) > div::before {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--seth-muted);
  }

  .seth-row:not(.seth-row-head) > div:nth-child(1)::before {
    content: "Prestation";
  }

  .seth-row:not(.seth-row-head) > div:nth-child(2)::before {
    content: "Bailleur";
  }

  .seth-row:not(.seth-row-head) > div:nth-child(3)::before {
    content: "Locataire*";
  }

  .seth-table-2 .seth-row:not(.seth-row-head) > div:nth-child(2)::before {
    content: "Honoraires";
  }
}

@media (prefers-reduced-motion: reduce) {
  .seth-card,
  .seth-honoraires-header,
  .seth-honoraires-header::before,
  .seth-honoraires-header::after,
  .seth-h1,
  .seth-subtitle,
  .seth-honoraires-wrap,
  .seth-honoraires-nav,
  .seth-honoraires-pill,
  .seth-btn,
  .seth-radio {
    transition: none !important;
  }
}
