/* Offer configurator (/offerte/) */
.offerte { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); background:
  radial-gradient(70% 60% at 100% 0%, rgba(124, 194, 46, .12), transparent 60%), var(--paper); }
.offerte__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.offerte__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.breadcrumb--light { color: var(--muted); }
.offerte__trust { display: grid; gap: 10px; list-style: none; }
.offerte__trust li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink-2); }
.offerte__trust .i { color: var(--green-ink); }
.offerte__alt { color: var(--muted); font-size: .95rem; }
.offerte__alt a { color: var(--green-ink); font-weight: 600; }

.offerte__card { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow-2); overflow: hidden; }
.offerte__progress { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-bottom: 10px; }
.offerte__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime-500), var(--lime-400)); border-radius: 6px; transition: width .5s var(--ease-out); }
.offerte__stepinfo { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; min-height: 1.2em; }

.of-step { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; animation: of-in .45s var(--ease-out); }
.of-step legend { padding: 0; margin-bottom: 4px; }
.of-step legend:focus { outline: none; }
@keyframes of-in { from { opacity: 0; transform: translateX(14px); } }
.of-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.of-options label { position: relative; display: block; cursor: pointer; }
.of-options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.of-options span {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--paper-3); background: var(--paper); font-weight: 600; transition: border-color .2s, background-color .2s, transform .3s var(--ease-spring);
}
.of-options span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9b39f; background: #fff; transition: all .2s; }
.of-options--multi span::before { border-radius: 6px; }
.of-options label:hover span { border-color: var(--lime-600); }
.of-options input:checked + span { border-color: var(--lime-600); background: rgba(124, 194, 46, .12); transform: translateY(-1px); }
.of-options input:checked + span::before { border-color: var(--lime-600); background: var(--lime-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303120a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.of-options input:focus-visible + span { outline: 3px solid var(--lime-500); outline-offset: 2px; }

.of-fields { display: grid; gap: 14px; }
.of-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.of-fields__full { grid-column: 1 / -1; }
.offerte__card .input--plain { background: var(--paper); }
.offerte__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.offerte__consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--lime-600); flex: none; }
.offerte__consent a { color: var(--green-ink); font-weight: 600; }
.of-summary { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: .92rem; color: var(--ink-2); }
.of-error { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #fff3f1; color: #9b1c12; font-weight: 600; font-size: .95rem; }
.of-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.of-nav [data-of-next], .of-nav [data-of-submit] { margin-left: auto; }
.of-back { rotate: 180deg; }
.of-done { display: grid; gap: 16px; justify-items: start; padding: 12px 0; animation: of-in .6s var(--ease-out); }
.of-done:focus { outline: none; }
.of-done__hand { font-size: 2.6rem; color: var(--green-ink); rotate: -3deg; }
.offerte__noscript { padding: 14px; border-radius: 12px; background: var(--paper); }
.offerte__noscript a { color: var(--green-ink); font-weight: 600; }

@media (max-width: 960px) {
  .offerte__grid { grid-template-columns: 1fr; }
  .offerte__intro { position: static; }
}
@media (max-width: 560px) {
  .of-options, .of-fields--2 { grid-template-columns: 1fr; }
}
