/* En-tête et accueil : une seule grille, des proportions naturelles. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ui-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; flex-shrink: 0; }
.text-link, .back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link .ui-icon { width: 14px; height: 14px; }
.footer-links .ui-icon, .demo-entry .ui-icon { width: 14px; height: 14px; margin-left: 3px; }
.role-icon .ui-icon { width: 23px; height: 23px; }
.chev { display: inline-flex; }
.chev .ui-icon { width: 17px; height: 17px; }
.success-icon .ui-icon { width: 26px; height: 26px; }
.arrow { display: inline-flex; }
.type-choice b { display: inline-flex; }
.type-choice b .ui-icon { width: 22px; height: 22px; }
.modal-close .ui-icon { width: 16px; height: 16px; }
.admin-access { display: block; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); text-align: center; }
.admin-access button { border: 0; background: none; color: var(--muted); font-size: 11px; padding: 8px 12px; }
.admin-access button:hover { color: var(--blue); }
.account-email { overflow-wrap: anywhere; color: var(--blue) !important; }
.account-options { display: grid; gap: 10px; }
.field input[readonly] { background: #f5f6fa; color: #5b6279; }
.sale-duration-error { color: #b03b32 !important; }

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { justify-self: start; display: block; position: relative; width: 72px; height: 64px; }
.brand img { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 112px; height: 112px; pointer-events: none; }
.top-offers { display: block; width: 100%; justify-self: center; }
.top-offers img { display: block; width: 100%; height: auto; }
.header-actions { justify-self: end; }
.account-button { width: 64px; height: 64px; padding: 0; display: grid; place-items: center; border-radius: 18px; }
.account-button svg { width: 32px; height: 32px; }
.account-button span { display: none; }

.simple-intro { max-width: 720px; margin: auto; padding: 24px 0 0; }
.wordmark {
  position: relative;
  width: 260px;
  aspect-ratio: 2.7;
  overflow: hidden;
  margin: 0 auto 20px;
}
.wordmark > img { display: block; position: absolute; top: 0; right: 0; width: 147%; max-width: none; height: auto; }
.intro-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: end; gap: 24px; }
.mascot {
  display: block;
  position: relative;
  z-index: 2;
  bottom: 0;
  transform: translateY(6%);
  width: 100%;
  height: auto;
  aspect-ratio: 1003 / 791;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}
.intro-copy { min-width: 0; padding: 0 0 28px; }
.intro-copy > p { font-size: 18px; line-height: 1.5; margin: 0 0 18px; text-wrap: pretty; }
.intro-copy .region-control {
  position: static;
  display: flex;
  padding: 5px 16px;
  gap: 9px;
  background: #fff;
  border: 1px solid #e2ddd4;
  border-radius: 50px;
  box-shadow: 0 3px 10px #081b5204;
}
.intro-copy .region-control select { width: 100%; max-width: none; min-width: 0; font-size: 14px; font-weight: 600; }

.home-page main { padding-bottom: 30px; }
.home-page main > .section { position: relative; isolation: isolate; background: #132b71; color: #fff; padding: 20px 0 17px; margin-top: 0; }
.home-page main > .section::before { content: ''; position: absolute; inset: 0 calc((min(100vw,1280px) - 100vw)/2 - 44px); background: #132b71; z-index: -1; }
.home-page main > .section > .section-head { position: absolute; top: 9px; right: 0; z-index: 2; margin: 0; pointer-events: none; }
.home-page main > .section > .section-head > div:first-child { display: none; }
.home-page .carousel-nav { opacity: 0; transition: opacity .2s; pointer-events: auto; }
.home-page main > .section:hover .carousel-nav, .home-page main > .section:focus-within .carousel-nav { opacity: 1; }
.home-page .carousel-foot { margin: 14px 0 0; }
.home-page .carousel-dot { background: #ffffff44; }
.home-page .carousel-dot.active { background: #f2c85f; }
.home-page main > .section .card-caption { display: none; }
.home-page main > .section .card-photo { border-radius: 9px; }
.home-page .below { border: 0; padding-top: 28px; margin-top: 0; }
.home-page .below .card-photo { aspect-ratio: 1.25; border-radius: 10px; }
.home-page .below .offer-item { flex-basis: calc((100% - 36px)/3); }
.home-page .below .card-bottom h3 { font-size: 18px; }
.home-page .section-head p { display: none; }
.home-page .section h2 { font-size: 19px; }
.home-page .below .section { margin-bottom: 26px; }

@media (min-width: 701px) {
  .home-page main > .section > .section-head { top: auto; bottom: 12px; }
  .home-page .carousel-nav { opacity: 1; }
  .home-page .carousel-nav .round-button { width: 44px; height: 44px; color: var(--blue); }
  .home-page main > .section .carousel-foot { min-height: 44px; }
}

@media (min-width: 1500px) {
  .home-page main > .section::before { inset: 0 calc((min(100vw,1380px) - 100vw)/2 - 44px); }
}
@media (max-width: 1000px) {
  .header-inner { grid-template-columns: minmax(0,1fr) 280px minmax(0,1fr); gap: 14px; }
  .header-actions { gap: 8px; }
  .header-actions .account-button { width: 56px; height: 56px; padding: 0; }
  .header-actions .account-button span { display: none; }
  .region-control select { max-width: 150px; }
  .home-page main > .section::before { inset: 0 -28px; }
  .home-page .below .offer-item { flex-basis: calc((100% - 18px)/2); }
}
@media (max-width: 700px) {
  .header-inner { grid-template-columns: 56px minmax(0,1fr) 56px; gap: 10px; padding: 10px 16px; min-height: 72px; }
  .brand { width: 56px; height: 52px; }
  .brand img { width: 88px; height: 88px; }
  .top-offers { max-width: 240px; }
  .header-actions { gap: 0; }
  .header-actions .region-control { position: absolute; left: 20px; top: 78px; padding: 0; }
  .header-actions .account-button { width: 52px; height: 52px; padding: 0; border-radius: 15px; }
  .account-button svg { width: 28px; height: 28px; }
  .simple-intro { padding-top: 18px; }
  .wordmark { width: 210px; margin-bottom: 14px; }
  .intro-row { grid-template-columns: 40% minmax(0,1fr); gap: 12px; margin: 0; }
  .mascot { width: 100%; height: auto; object-fit: contain; }
  .intro-copy { padding: 0 0 22px; }
  .intro-copy > p { font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
  .intro-copy .region-control { position: static; padding: 3px 10px; gap: 0; }
  .intro-copy .region-control svg { display: none; }
  .intro-copy .region-control select { width: 100%; max-width: none; font-size: 12px; padding: 9px 0; }
  .home-page main > .section { padding: 13px 0 12px; }
  .home-page main > .section::before { inset: 0 -20px; }
  .home-page main > .section > .section-head { display: none; }
  .home-page .offer-item { flex-basis: 67%; max-width: 280px; }
  .home-page main > .section .card-photo { border-radius: 5px; }
  .home-page .card-bottom { left: 13px; right: 10px; bottom: 14px; }
  .home-page .card-bottom h3 { font-size: 18px; margin-bottom: 8px; }
  .home-page .card-top { top: 10px; left: 10px; right: 10px; }
  .home-page .type-badge { font-size: 8px; padding: 6px 7px; }
  .home-page .discount { font-size: 10px; padding: 5px 7px; }
  .home-page .prices strong { font-size: 20px; }
  .home-page .prices del { font-size: 11px; }
  .home-page .carousel-foot { margin: 10px 0 0; gap: 5px; }
  .home-page .carousel-dot { width: 4px; height: 4px; }
  .home-page .carousel-dot.active { width: 16px; }
  .home-page .below { padding-top: 23px; }
  .home-page .below .offer-item { flex-basis: 87%; max-width: 350px; }
  .home-page .below .card-photo { aspect-ratio: 1.25; border-radius: 5px; }
  .home-page .below .card-bottom h3 { font-size: 18px; }
  .home-page .section h2 { font-size: 18px; }
  .home-page .below .section { margin-bottom: 23px; }
  .home-page .section-head { margin-bottom: 12px; }
  .home-page .card-caption { font-size: 11px; padding-top: 8px; }
  .home-page .card-caption .town { font-size: 10px; }
  .page-top { padding-top: 60px; }
}
@media (max-width: 350px) {
  .header-inner { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; padding-inline: 12px; }
  .brand { width: 44px; height: 46px; }
  .brand img { width: 76px; height: 76px; }
  .header-actions .account-button { width: 44px; height: 44px; padding: 0; border-radius: 13px; }
  .account-button svg { width: 26px; height: 26px; }
  .wordmark { width: 195px; }
  .intro-row { gap: 10px; }
  .intro-copy > p { font-size: 12px; }
  .intro-copy .region-control { padding-inline: 8px; }
  .intro-copy .region-control select { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
