:root {
  --brand: #1f3042;
  /* bleu nuit */
  --brand-2: #d4a41f;
  /* or */
  --bg: #f6f7fb;
  /* light only */
  --text: #1c1c1c;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(0, 0, 0, .06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  transition: background .2s ease, color .2s ease;
}

/* Footer */
.site-footer {
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .04);
  padding: 18px 0 20px;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 14px;
}

.legal-footer .disclaimer {
  text-align: center;
}

.legal-footer .disclaimer p {
  margin: 6px 0;
  font-weight: 600;
  color: var(--brand);
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

.legal-footer .privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.legal-footer .privacy-block {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.legal-footer .privacy-block .title {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--brand);
}

.legal-footer .inner::before {
  content: "";
  display: block;
  height: 4px;
  width: 140px;
  background: linear-gradient(90deg, #f6c324, #e0a72a, #1f3042);
  border-radius: 999px;
  margin: 0 auto 6px;
}

.legal-footer .privacy-block a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.legal-footer .privacy-block a:hover {
  text-decoration: underline;
}

.legal-footer .copyright {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 800px) {
  .legal-footer .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky (always visible) footer variant */
.legal-footer.fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
}

/* Avoid content being hidden behind the fixed footer */
body.with-sticky-footer .container {
  padding-bottom: 170px;
  /* room for footer */
}

/* Cap height on small viewports */
.legal-footer.fixed .inner {
  max-height: 40vh;
  overflow: auto;
}

.footer-switch {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

/* Open drawer when switch is checked */
.footer-switch:checked~.legal-footer.drawer {
  transform: translateY(0);
}

.footer-switch:checked~.footer-toggle {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}

/* Floating toggle button for footer */
.footer-toggle {
  position: fixed;
  left: 2px;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  padding: 6px 10px;
  font-size: 12px;
  /* Yellow → Orange gradient */
  background: #f6c324;
  /* fallback */
  background-image: linear-gradient(135deg, #ffd84d 0%, #ff9800 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(31, 48, 66, .12);
  cursor: pointer;
}

.footer-toggle:hover {
  /* Slightly brighter hover gradient */
  background-image: linear-gradient(135deg, #ffe173 0%, #ffa726 100%);
  filter: none;
}

/* Page-specific tweak: larger toggle on merci.html only */
.page-thanks .footer-toggle {
  font-size: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(31,48,66,.14);
}

/* Keep pinned to bottom-left across viewports */
.footer-toggle:active {
  transform: translateY(1px);
}

/* Drawer footer (hidden by default, slides from bottom) */
.legal-footer.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  transform: translateY(100%);
  transition: transform .25s ease;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-top: 1px solid var(--border);
}

.legal-footer.drawer.open {
  transform: translateY(0);
}

.legal-footer.drawer .inner {
  padding-top: 18px;
}

.legal-footer.drawer .footer-close {
  position: absolute;
  right: 14px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #111;
  cursor: pointer;
}

.legal-footer.drawer .footer-close:hover {
  filter: brightness(1.03);
}

/* Footer enhancements */
.footer-title {
  margin: 2px 0 6px;
  text-align: center;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: .2px;
}

.notice-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(31, 48, 66, .06);
  padding: 12px 14px;
  max-width: 920px;
  margin: 0 auto;
}

.notice-icon {
  font-size: 18px;
  line-height: 1;
  opacity: .9;
}

.notice-text p {
  margin: 0;
}

/* Two equal legal cards (desktop) */
.legal-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .legal-cards {
    grid-template-columns: 1fr;
  }
}

.legal-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(31, 48, 66, .06);
  padding: 14px;
}

.legal-card .card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 8px;
}

.legal-card .card-head .icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
}

.legal-card .card-head .title {
  font-weight: 800;
  color: var(--brand);
}

.legal-card .card-body {
  flex: 1;
  color: var(--text);
  line-height: 1.5;
}

.legal-card .card-body a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.legal-card .card-body a:hover {
  text-decoration: underline;
}

/* (removed wizard min-height rules to keep original layout) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand .logo {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  color: var(--brand);
}

.brand-text .tagline {
  margin: 0;
  font-size: 12px;
  color: var(--brand-2) !important;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

nav a.active {
  text-decoration: underline;
}

/* Language switcher */
.lang-switch {
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px 8px;
  color: var(--text);
}

.lang-switch:focus {
  outline: 2px solid rgba(212, 164, 31, .4);
  border-color: var(--brand-2);
}

.btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}

.btn.primary {
  background: #f6c324;
  /* fallback */
  background-image: linear-gradient(135deg, #ffd84d 0%, #ff9800 100%);
  border-color: transparent;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(224, 167, 42, .22);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

/* Keep original wizard height (no forced min-height) */

.hero {
  /* Dégradé demandé: #F17E7E -> #F6C324 (léger pour garder la lisibilité) */
  background: linear-gradient(90deg, rgba(241, 126, 126, 0.18) 0%, rgba(246, 195, 36, 0.22) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: 25px;
  margin: 0 0 16px;
  color: var(--brand);
  text-align: center;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans';
  font-weight: 600;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 140px;
  gap: 14px;
  align-items: end;
}

.s-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.search-grid input,
.search-grid select {
  padding: 12px 12px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.search-grid .btn {
  grid-column: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bouton de recherche plus petit et arrondi dans le hero */
.hero .search-grid .btn {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  align-self: end;
}

.hero .search-grid .btn.primary {
  background: linear-gradient(180deg, #f6c324 0%, #e0a72a 100%);
  border: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(224, 167, 42, .3);
}

.hero .search-grid .btn.primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hero .search-grid .btn.primary:active {
  transform: translateY(0);
}

@media (max-width: 800px) {
  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-grid .btn {
    grid-column: span 2;
    height: auto;
  }
}

.hero-helpers {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-helpers .muted {
  color: var(--muted);
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  background: #fff;
}

.link-pill:hover {
  background: #f4f7fb;
}

h2,
h3 {
  color: var(--brand);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  display: block;
}

.card:hover {
  transform: translateY(-2px);
}

.card .thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #f0f0f0;
  display: block;
}

.card .content {
  padding: 12px;
}

.card .title {
  font-weight: 700;
  color: var(--brand);
  margin: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}

.price {
  color: var(--brand-2);
  font-weight: 800;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.filters input,
.filters select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.field .hint {
  font-size: 12px;
  color: var(--muted);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 12px 12px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  width: 100%;
}

.form-grid select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-grid input[type=number]::-webkit-outer-spin-button,
.form-grid input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-grid input[type=number] {
  /* -moz-appearance: textfield;  cause des alertes dans certains éditeurs */
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(212, 164, 31, .4);
  border-color: var(--brand-2);
}

.form-grid button {
  justify-self: start;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  text-align: center;
  padding: 20px;
  color: var(--muted);
}

/* Thanks page */
.thanks {
  display: grid;
  place-items: center;
  margin: 28px 0 12px;
}

.thanks-card {
  position: relative;
  max-width: 760px;
  width: 100%;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.thanks-card h2 {
  margin: 6px 0 8px;
  color: var(--brand);
  font-size: 24px;
  text-align: center;
}

.thanks-card .sub {
  margin: 0 0 14px;
  color: var(--muted);
}

.thanks-card .btn.primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6c324 0%, #ff9800 100%);
  border: none;
  color: #111;
  box-shadow: 0 6px 14px rgba(224, 167, 42, .24);
  text-decoration: none;
  display: inline-block;
}

.thanks-card .btn.primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.thanks-card .btn.primary:active {
  transform: translateY(0);
}

/* Consent block on identity step */
.consent-block {
  margin-top: 10px;
}

/* Grid layout ensures both checkboxes share identical size and alignment */
.consent-block .feature {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
}

.consent-block .feature.active {
  /* Do not highlight consent labels when checked */
  box-shadow: none;
}

.consent-block .feature input[type="checkbox"] {
  /* override global .feature input {display:none} */
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  accent-color: #e0a72a;
}

.consent-block .feature .text {
  color: var(--brand);
  line-height: 1.35;
}

.consent-block .feature .text a {
  color: var(--brand);
  text-decoration: underline;
}

.status {
  margin-top: 10px;
  color: var(--brand);
}

/* Wizard */
.wizard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.wizard-head {
  position: sticky;
  top: 66px;
  background: var(--card);
  padding-bottom: 8px;
  z-index: 2;
}

.wizard-title {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.progress {
  height: 6px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.progress .bar {
  height: 100%;
  background: linear-gradient(90deg, #f6c324 0%, #f17e7e 100%);
  width: 0;
  transition: width .25s ease;
}

.wizard-body .step {
  display: none;
}

.wizard-body .step.active {
  display: block;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--card);
}

.wizard-nav .btn.primary {
  background: linear-gradient(180deg, #f6c324 0%, #e0a72a 100%);
  border: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(224, 167, 42, .24);
}

.wizard-nav .btn.primary:hover {
  filter: brightness(1.05);
}

.wizard .req {
  color: var(--muted);
  font-size: 12px;
  margin-top: -6px;
}

.estimate {
  font-size: 30px;
  font-weight: 800;
  color: #0a7a3e;
}

/* Center all step titles */
.wizard-body .step>h2 {
  text-align: center !important;
  margin-top: 4px;
}

/* Also center nested heading inside identity card */
.identity-card h2 {
  text-align: center;
}

/* Identity step (step 7) */
.identity-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.identity-card .meta.center {
  text-align: center;
}

.radio-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 12px 0 8px;
}

.radio-row .radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand);
}

.phone-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
}

.center {
  text-align: center;
}

/* Center the identity card in the viewport (step 6) */
.wizard-body .step[data-step="6"].active {
  display: grid !important;
  place-items: center;
  min-height: calc(100vh - 160px);
}

.wizard-body .step[data-step="6"].active .identity-card {
  margin: 0;
}

/* Result step spacing (step 7): keep compact */
.wizard-body .step[data-step="7"] h2 {
  margin: 10px 0 6px;
}

.estimate {
  margin: 8px 0 12px;
}

/* Recap layout */
.recap-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items: start;
}

.recap-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.recap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.recap-grid .k {
  color: var(--muted);
}

.recap-grid .v {
  font-weight: 600;
  color: var(--brand);
}

@media (max-width: 900px) {
  .recap-wrap {
    grid-template-columns: 1fr;
  }
}

/* Choice tiles (step 2) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 24px;
  justify-content: center;
}

.choice-grid.centered {
  justify-content: center;
}

.choice.card {
  position: relative;
  width: 260px;
  height: 200px;
  border-radius: 16px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow .15s ease, border-color .15s ease, transform .05s ease;
  background: #fff;
}

.choice.card.large {
  width: 260px;
  height: 200px;
}

.choice.card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  border-color: #d4d9e1;
}

.choice.card .label {
  font-weight: 700;
  color: var(--brand);
}

.choice.card .icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.05);
}

.choice.card .icon svg {
  width: 56px;
  height: 56px;
  color: var(--brand);
}

.choice.card .dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
}

.choice-input:checked+.choice .dot {
  border-color: #f6c324;
  background: #f6c324;
  box-shadow: 0 0 0 3px rgba(246, 195, 36, .25);
}

.choice-input:checked+.choice {
  border-color: #f6c324;
  box-shadow: 0 8px 20px rgba(246, 195, 36, .25);
}

/* Stepper & unit input styles (uniform sizing) */
.stepper {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.stepper input {
  text-align: center;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
}

.stepper-btn {
  width: 40px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #374151;
}

.stepper-btn:hover {
  background: #e9eef5;
}

.stepper-btn:active {
  transform: translateY(1px);
}

.unit-input {
  position: relative;
}

.unit-input input {
  width: 100%;
  padding-right: 44px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.unit-input .unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 700;
}

/* Feature pills with icons (step 5) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.feature input {
  display: none;
}

.feature .icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
}

.feature .text {
  font-weight: 600;
  color: var(--brand);
}

.feature.active {
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(31, 48, 66, .12);
}

/* Suggestions dropdown */
.suggest-wrap {
  position: relative;
}

.suggest-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  max-height: 240px;
  overflow: auto;
}

.suggest-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.suggest-list li:hover,
.suggest-list li.active {
  background: #f6f6f9;
}

/* Mobile header */
.menu-toggle {
  display: none;
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-grid;
  }

  .site-header nav {
    display: none;
  }

  .site-header.open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58px;
    right: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
}

/* Additional mobile refinements: adapt without changing desktop */
@media (max-width: 560px) {
  /* Header: conserve space on small devices */
  .brand .logo { height: 44px; }
  .brand-text h1 { font-size: 18px; }
  .brand-text .tagline { display: none; }

  /* Choice tiles: single column and fluid width */
  .choice-grid { grid-template-columns: 1fr; gap: 16px; }
  .choice.card, .choice.card.large { width: 100%; max-width: 440px; height: 180px; }

  /* Recap key/values in one column for readability */
  .recap-grid { grid-template-columns: 1fr; }

  /* Phone detail rows: stack */
  .phone-grid { grid-template-columns: 1fr; }

  /* Container padding slightly tighter on very small devices */
  .container { padding: 0 12px; }
}

@media (max-width: 400px) {
  /* Slightly smaller icons in cards to avoid overflow */
  .choice.card .icon img { width: 64px; height: 64px; }
}

/* Detail/Gallery */
.property {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

@media (max-width: 980px) {
  .property {
    grid-template-columns: 1fr;
  }
}

.gallery {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery .slides {
  display: flex;
  transition: transform .25s ease;
}

.gallery .slide {
  min-width: 100%;
  height: 420px;
  object-fit: cover;
  background: #eaeaea;
  display: block;
}

.gallery .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gallery .nav.prev {
  left: 10px;
}

.gallery .nav.next {
  right: 10px;
}

.gallery .thumbs {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.gallery .thumbs img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #f0f0f0;
  cursor: pointer;
}

.gallery .thumbs img.active {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 2px rgba(212, 164, 31, .25);
}

.prop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.facts li {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  color: var(--brand);
}

/* Detail sections */
.prop-head {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.prop-head .title {
  font-size: 24px;
  color: var(--brand);
  margin: 0;
}

.prop-head .price-big {
  font-size: 28px;
  color: var(--brand-2);
  font-weight: 900;
}

.section {
  margin-top: 22px;
}

.section h3 {
  margin: 0 0 10px;
  color: #b8870f !important;
  /* jaune foncé */
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  border-left: 6px solid #b8870f !important;
  padding-left: 10px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
}

.specs tr {
  border-bottom: 1px dashed var(--border);
}

.specs td {
  padding: 8px 6px;
}

.specs td:first-child {
  color: var(--muted);
  width: 48%;
}

.specs td:last-child {
  font-weight: 600;
  color: var(--brand);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* badges + CTA */
.badge {
  display: inline-block;
  background: #eef2f7;
  border: 1px solid var(--border);
  color: var(--brand);
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.cta-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.cta-box input,
.cta-box textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 6px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

/* Detail layout like Immoweb */
.detail-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .detail-wrap {
    grid-template-columns: 1fr;
  }
}

.detail-main {
  min-width: 0;
}

.detail-aside {
  position: relative;
}

.sticky {
  position: sticky;
  top: 80px;
}

.card-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.contact-card h4 {
  margin: 0 0 8px;
  color: var(--brand);
}

.contact-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 500px) {
  .contact-card .row {
    grid-template-columns: 1fr;
  }
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 6px 0;
}

/* Force tagline color across all pages */
.site-header .brand-text .tagline {
  color: #b8870f !important;
  font-weight: 700;
}

/* Footer spacing (non-intrusive): add breathable space before footer without touching wizard size) */
.site-footer {
  margin-top: 24px;
}
