:root {
  --curve: clamp(16px, 1.7vw, 29px);
  --soft-line: #d0d7c9;
  --soft-sage: #edf1e8;
  --soft-shadow: 0 12px 34px -25px #293b2c70;
}

.button {border-radius: 100px;}
.icon-button, .social-icon, .menu-toggle {border-radius: 50%;}
body:is([data-page=accueil],[data-page=portfolio]) .site-header {
  border-radius: 38px;
  box-shadow: 0 8px 28px #101b141c;
}
.hero {border-radius: 0 0 7% 7% / 0 0 clamp(30px,4.5vw,78px) clamp(30px,4.5vw,78px);}
.photo-frame, .rate-pic {border-radius: var(--curve); overflow: hidden;}
.gallery-section:not(.full-gallery) .photo-card:first-child .photo-frame {border-top-left-radius: clamp(28px,4.5vw,74px);}
.collection .photo-card {overflow: visible; background: transparent; border: 0; border-radius: var(--curve);}
.collection .photo-card:hover {background: transparent;}
.collection .card-caption {padding: 15px 3px 9px;}
.collection .photo-frame {border-radius: var(--curve);}
.collection .photo-card:nth-child(3n+1) .photo-frame {border-top-left-radius: clamp(24px,3.5vw,50px);}
.collection .brand-filters button {border-radius: 20px;}
.collection .brand-filters button[aria-pressed=true] {border-color: transparent; background: #d7ddc521;}
.viewer, .viewer-image {border-radius: var(--curve);}

.booking-item, .edit-form, .admin-photo, .blocked-list article, .empty, .booking-success, .login-box, .recap {
  border-radius: var(--curve);
  border-color: var(--soft-line);
}
.booking-success, .login-box, .recap {box-shadow: var(--soft-shadow);}
.recap-photo {border-radius: calc(var(--curve) - 1px) calc(var(--curve) - 1px) 0 0; display: block;}
.booking-success, .login-box {border-top-left-radius: clamp(30px,4vw,58px);}
.mode-note {border-radius: 0 15px 15px 0;}
.admin-tabs {gap: 5px; border: 0;}
.admin-tabs button {padding: 9px 15px; border: 1px solid transparent; border-radius: 30px;}
.admin-tabs button[aria-pressed=true] {border-color: #c4cdbc; background: #e5ebdf;}

.field input:not([type=checkbox]), .field textarea, .field select {
  border-radius: 13px;
  border-color: #b9c5b3;
  background-color: #fdfcf8;
}
.field input:not([type=checkbox]):focus, .field textarea:focus, .field select:focus-visible {
  outline: 2px solid #53694e;
  outline-offset: 2px;
}
.field select {
  min-height: 47px;
  cursor: pointer;
  padding-inline: 17px 43px;
  border-radius: 17px;
  font-weight: 550;
  background-position: right 16px center;
}
.field select:hover {border-color: #83957b;}
.field select:disabled {cursor: default;}
@supports (appearance: base-select) {
  .field select, ::picker(select) {appearance: base-select;}
  .field select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline-end: 17px;
    background-image: none;
  }
  .field select::picker-icon {
    content: '';
    width: 8px;
    height: 8px;
    margin: -4px 2px 0 10px;
    border: solid #52694d;
    border-width: 0 1.7px 1.7px 0;
    rotate: 45deg;
    transition: rotate .18s ease;
  }
  .field select:open::picker-icon {rotate: 225deg; margin-top: 4px;}
  ::picker(select) {
    margin-block: 5px;
    padding: 6px;
    border: 1px solid #c3cdbd;
    border-radius: 18px;
    color: #293d2e;
    background: #fffef9;
    box-shadow: 0 12px 34px #26392c26;
    max-height: min(330px, 50dvh);
    overflow-y: auto;
  }
  .field select option {display: flex; gap: 11px; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 11px;}
  .field select option:checked {background: #e8eee2; color: #263e2d; font-weight: 630;}
  .field select option:is(:hover,:focus-visible) {background: #dce6d6; color: #213c29; outline-offset: -3px;}
  .field select option::checkmark {order: 1; margin-inline-start: auto; color: #50674b;}
}

.calendar {padding: clamp(14px,2vw,25px); border-color: var(--soft-line); border-radius: var(--curve); background: #fbfcf7;}
.calendar-nav {margin-bottom: 14px;}
.calendar-nav button {background: #f0f3ea; border-color: #d4ddce;}
.month-days {row-gap: 4px;}
.month-days button {width: min(100%, 46px); height: 39px; justify-self: center; border-radius: 45%;}
.month-days button:disabled {background: transparent; color: #92988e;}
.slots button {border-radius: 100px;}
.admin-content [data-delivery] {max-width: 620px; margin: 24px auto 0;}
.admin-content [data-delivery] p {margin-block: 10px;}

@media (max-width: 750px) {
  .site-header:has(.mobile-nav:not([hidden])) {border-radius: 24px;}
  body:is([data-page=accueil],[data-page=portfolio]) .site-header:has(.mobile-nav:not([hidden])) {border-radius: 26px;}
  .mobile-nav:not([hidden]) {margin: 0 9px 8px; padding: 6px 5px; border-top: 0; gap: 2px;}
  .mobile-nav a {padding: 10px 14px; border-radius: 13px;}
  .mobile-nav a[aria-current], .mobile-nav a:focus-visible {background: #d3decb;}
  body:is([data-page=accueil],[data-page=portfolio]) .mobile-nav a[aria-current],
  body:is([data-page=accueil],[data-page=portfolio]) .mobile-nav a:focus-visible {background: #e6eed81c;}
  .collection .card-caption {padding: 10px 1px 5px;}
  .hero {border-radius: 0 0 8% 8% / 0 0 27px 27px;}
  .admin-tabs {gap: 3px;}
  .admin-tabs button {padding: 8px 10px;}
}
@media (prefers-reduced-motion: reduce) {.field select::picker-icon {transition: none;}}

/* Archivage des demandes : accessible sur ordinateur et mobile. */
.archive-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px;padding-top:13px;border-top:1px dashed var(--soft-line)}
.archive-actions .button {min-height:35px;padding-block:7px}
.archive-note {font-size:.78rem;color:var(--muted)}
