/* OCS CLEAN — Section « Prestations & tarification » (voir tarifs.js) */

.ot-section {
  position: relative;
  overflow: hidden;
  background: var(--black-2, #191610);
  scroll-margin-top: 70px;
}
.ot-container { position: relative; z-index: 1; }
.ot-hidden { position: absolute; left: -9999px; }

/* Onglets des prestations */
.ot-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 34px;
}
.ot-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 15px;
  border: 1px solid #3a3222;
  background: #1e1b14;
  color: var(--white, #f7f5ef);
  font-family: Manrope, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.ot-tab:hover { border-color: var(--gold-deep, #9e6d08); transform: translateY(-2px); }
.ot-tab.is-active { border-color: var(--gold-light, #f1c451); background: #2a2415; box-shadow: inset 0 -2px 0 var(--gold-light, #f1c451); }
.ot-tab-num { color: var(--gold-light, #f1c451); font-size: .62rem; letter-spacing: .12em; font-weight: 700; }
.ot-tab-price { color: #aaa9a3; font-family: 'DM Sans', sans-serif; font-size: .66rem; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.ot-tab.is-active .ot-tab-price { color: #e6e1cf; }

/* Mise en page formulaire + récapitulatif */
.ot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.ot-summary-wrap { position: sticky; top: 90px; }

.ot-form {
  border: 1px solid #c9b574;
  background: #f1ece0;
  color: #141512;
  padding: 32px;
  box-shadow: 12px 12px #d19a1624;
}
.ot-form-head { margin-bottom: 18px; }
.ot-form-head .eyebrow { color: var(--gold-deep, #9e6d08); margin-bottom: 8px; }
.ot-form-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

.ot-includes {
  border: 1px solid #d8cda9;
  background: #f7f3ea;
  margin-bottom: 26px;
}
.ot-includes summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3f3f38;
  list-style: none;
}
.ot-includes summary::-webkit-details-marker { display: none; }
.ot-includes summary::after { content: '+'; font-size: 1.1rem; color: var(--gold-deep, #9e6d08); }
.ot-includes[open] summary::after { content: '−'; }
.ot-includes-count { margin-left: auto; color: #8a8778; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.ot-includes p { padding: 0 16px; color: #55544c; font-size: .82rem; line-height: 1.6; }
.ot-includes ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  padding: 14px 16px 18px;
  margin: 0;
  list-style: none;
}
.ot-includes li { position: relative; padding-left: 18px; font-size: .78rem; color: #34352f; line-height: 1.4; }
.ot-includes li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold-deep, #9e6d08); font-size: .7rem; }

/* Blocs */
.ot-block { padding: 22px 0; border-top: 1px solid #ddd3b8; }
.ot-block-title {
  font-size: .78rem;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: #141512;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ot-block-title::before { content: ''; width: 18px; height: 2px; background: var(--gold, #d19a16); }
.ot-note { color: #62615a; font-size: .8rem; line-height: 1.55; margin: 0 0 12px; }
.ot-note-sm { font-size: .72rem; margin: 12px 0 0; }
.ot-info {
  margin: 4px 0 16px;
  padding: 12px 14px;
  background: #fbf3dc;
  border-left: 3px solid var(--gold, #d19a16);
  color: #4a4535;
  font-size: .76rem;
  line-height: 1.55;
}

/* Boutons de choix */
.ot-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.ot-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ot-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ot-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ot-cols-5 { grid-template-columns: repeat(5, 1fr); }
.ot-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cfc7af;
  background: #fbf9f3;
  color: #2c2c26;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.ot-choice:hover { border-color: var(--gold, #d19a16); }
.ot-choice.is-active { border-color: #141210; background: #141210; color: var(--gold-light, #f1c451); }
.ot-choice-desc { font-size: .68rem; font-weight: 400; color: #77756b; line-height: 1.4; }
.ot-choice.is-active .ot-choice-desc { color: #cfcabb; }
.ot-choices-rich .ot-choice { align-items: flex-start; text-align: left; padding: 14px 16px; }
.ot-choices-rich .ot-choice-label { font-weight: 700; }
.ot-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  background: #1f6f4a;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.ot-choice .ot-badge { position: absolute; top: -9px; right: 10px; }

/* Stepper */
.ot-stepper { display: inline-flex; align-items: center; gap: 22px; padding: 8px 14px; border: 1px solid #cfc7af; background: #fbf9f3; }
.ot-step-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #cfc7af;
  background: #fff;
  color: #141210;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}
.ot-step-btn:hover:not(:disabled) { border-color: var(--gold, #d19a16); color: var(--gold-deep, #9e6d08); }
.ot-step-btn:disabled { opacity: .35; cursor: not-allowed; }
.ot-step-value { min-width: 90px; text-align: center; font-family: Manrope, sans-serif; font-size: 1.35rem; font-weight: 800; }

/* Champs */
.ot-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ot-row { margin: 12px 0 4px; }
.ot-field { margin-bottom: 14px; }
.ot-field label { display: block; color: #3f3f38; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 4px; }
.ot-field input, .ot-field select, .ot-field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c8c6bc;
  background: transparent;
  padding: 10px 0 9px;
  color: #111;
  font: inherit;
  font-size: .86rem;
  outline: 0;
  border-radius: 0;
}
.ot-field select { appearance: auto; -webkit-appearance: auto; }
.ot-field input:focus, .ot-field select:focus, .ot-field textarea:focus { border-color: var(--gold, #d19a16); }
.ot-field textarea { resize: vertical; }

.ot-check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; cursor: pointer; font-size: .82rem; color: #2c2c26; }
.ot-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ot-check-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid #b8b09a; background: #fff; transition: .2s; }
.ot-check input:checked + .ot-check-box { background: #141210 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1c451' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: #141210; }
.ot-check input:focus-visible + .ot-check-box { outline: 2px solid var(--gold, #d19a16); outline-offset: 2px; }
.ot-check-text { display: flex; flex-direction: column; gap: 3px; font-weight: 600; }
.ot-check-desc { font-weight: 400; font-size: .72rem; color: #77756b; line-height: 1.45; }

/* Curseur de superficie */
.ot-range { position: relative; padding-top: 34px; }
.ot-range-bubble {
  position: absolute; top: 0;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 20px;
  background: #141210;
  color: var(--gold-light, #f1c451);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.ot-range input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold, #d19a16) var(--pct, 23%), #d9d2bd var(--pct, 23%));
  outline: 0;
  cursor: pointer;
}
.ot-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #141210; border: 3px solid var(--gold-light, #f1c451); }
.ot-range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #141210; border: 3px solid var(--gold-light, #f1c451); }
.ot-range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .7rem; color: #8a8778; }
.ot-reco { margin-top: 14px; padding: 12px 14px; background: #141210; color: #e6e1cf; font-size: .8rem; }
.ot-reco strong { color: var(--gold-light, #f1c451); }

/* Abonnement */
.ot-sub-title { margin: 18px 0 10px; font-size: .78rem; font-weight: 700; color: #2c2c26; display: flex; align-items: center; gap: 8px; }
.ot-sub-title:first-child { margin-top: 0; }
.ot-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.ot-day { min-height: 42px; border: 1px solid #cfc7af; background: #fbf9f3; font-size: .74rem; font-weight: 700; cursor: pointer; color: #2c2c26; transition: .2s; }
.ot-day.is-active { background: #141210; border-color: #141210; color: var(--gold-light, #f1c451); }
.ot-slots { display: grid; gap: 10px; }
.ot-slot { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: #fbf9f3; border: 1px solid #e0d8c1; }
.ot-slot strong { font-size: .78rem; }
.ot-slot .ot-choice { min-height: 36px; font-size: .7rem; padding: 6px 8px; }
.ot-slot-time { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: #55544c; }
.ot-slot-time input { border: 1px solid #cfc7af; background: #fff; padding: 6px; font: inherit; font-size: .78rem; }
.ot-slot-end { font-weight: 700; color: #141512; }
.ot-prorata { margin-top: 8px; padding: 12px 14px; background: #fbf3dc; border: 1px solid #ecd9a2; font-size: .8rem; display: grid; gap: 6px; }
.ot-prorata > div { display: flex; justify-content: space-between; gap: 12px; }
.ot-prorata .ot-muted { color: #6f6a58; font-size: .74rem; }

.ot-surcharge-info { margin-top: 6px; display: grid; gap: 6px; font-size: .74rem; color: #55544c; line-height: 1.5; }

.ot-submit { width: 100%; margin-top: 18px; border: 0; cursor: pointer; font-family: inherit; }
.ot-submit:disabled { opacity: .7; cursor: progress; transform: none; }

/* Récapitulatif */
.ot-summary {
  border: 1px solid var(--gold-deep, #9e6d08);
  background: #1e1b14;
  padding: 24px 22px;
  color: var(--white, #f7f5ef);
  scroll-margin-top: 90px;
}
.ot-sum-eyebrow { color: var(--gold-light, #f1c451); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.ot-sum-rows { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 0; font-size: .78rem; }
.ot-sum-rows dt { color: #aaa9a3; }
.ot-sum-rows dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.ot-sum-adj { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #4a3f28; font-size: .74rem; }
.ot-sum-adj > div { display: flex; justify-content: space-between; gap: 12px; color: #d9d5c8; }
.ot-sum-adj .is-good { color: #7fd6a6; font-weight: 700; }
.ot-sum-adj .is-warn { color: var(--gold-light, #f1c451); font-weight: 700; }
.ot-sum-note { margin-top: 12px; padding: 9px 11px; background: #2a2415; color: #e8d9ae; font-size: .7rem; line-height: 1.5; }
.ot-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gold-deep, #9e6d08); }
.ot-sum-total span { font-family: Manrope, sans-serif; font-weight: 800; text-transform: uppercase; font-size: .82rem; }
.ot-sum-total strong { font-family: Manrope, sans-serif; font-size: 1.75rem; color: var(--gold-light, #f1c451); white-space: nowrap; }
.ot-sum-legal { margin-top: 12px; color: #8f8d85; font-size: .68rem; line-height: 1.5; }

/* Confirmation */
.ot-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 56px 28px; border: 1px solid #c9b574; background: #f1ece0; color: #141512; }
.ot-done-icon svg { width: 52px; height: 52px; color: var(--gold-deep, #9e6d08); }
.ot-done h3 { font-size: 1.4rem; }
.ot-done p { max-width: 460px; color: #62615a; font-size: .86rem; line-height: 1.6; }
.ot-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.ot-done .button-outline { color: #141512; cursor: pointer; font-family: inherit; }

/* Barre de total (mobile) */
.ot-mobile-bar { display: none; }

@media (max-width: 1000px) {
  .ot-tabs { grid-template-columns: repeat(3, 1fr); }
  .ot-layout { grid-template-columns: 1fr; }
  .ot-summary-wrap { position: static; }
  .ot-mobile-bar {
    position: fixed;
    left: 12px; right: 72px; bottom: 12px;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--gold, #d19a16);
    background: #141210f2;
    color: var(--white, #f7f5ef);
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
    box-shadow: 0 10px 30px #00000080;
    transform: translateY(140%);
    transition: transform .3s ease;
  }
  .ot-mobile-bar.is-visible { transform: none; }
  .ot-mobile-amount { font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--gold-light, #f1c451); }
}

@media (max-width: 700px) {
  .ot-tabs { grid-template-columns: 1fr 1fr; }
  .ot-tab:last-child { grid-column: span 2; }
  .ot-form { padding: 22px 16px; box-shadow: 6px 6px #d19a1624; }
  .ot-cols-3, .ot-cols-4, .ot-cols-5 { grid-template-columns: repeat(2, 1fr); }
  .ot-cols-5 > :last-child { grid-column: span 2; }
  .ot-cols-2.ot-choices-rich { grid-template-columns: 1fr; }
  .ot-grid-2 { grid-template-columns: 1fr; }
  .ot-includes ul { grid-template-columns: 1fr; }
  .ot-days { grid-template-columns: repeat(4, 1fr); }
  .ot-slot { grid-template-columns: 1fr; }
  .ot-stepper { gap: 14px; }
}
