:root {
  --paper: #f3eee4;
  --paper-deep: #ebe4d6;
  --surface: #fffdf8;
  --ink: #1b1916;
  --ink-soft: #5c564d;
  --muted: #7a7368;
  --line: #ddd4c6;
  --line-strong: #c9bead;
  --accent: #8b3a2a;
  --accent-deep: #6e2c20;
  --accent-soft: #f3e4de;
  --pine: #23483f;
  --pine-soft: #e4eee9;
  --gold: #b0894f;
  --ok: #2f6b4f;
  --shadow: 0 10px 28px rgb(27 25 22 / 6%);
  --radius: 14px;
  --radius-sm: 10px;
  --header: 3.4rem;
  --space: clamp(1rem, 3vw, 1.75rem);
  --content: min(72rem, calc(100% - 1.5rem));
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: clamp(0.95rem, 0.4vw + 0.9rem, 1.05rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-deep);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--content);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding-inline: 0.75rem;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 620;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 0.92rem;
  font-weight: 620;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-nav__desk {
  display: none;
  gap: 1rem;
}

.header-nav__desk a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-nav__desk a:hover,
.header-nav__desk a[aria-current="page"] {
  color: var(--accent);
}

.footer-link {
  background: none;
  border: 0;
  padding: 0;
  color: #f0d2c8;
  text-align: start;
  cursor: pointer;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #fff;
}

.legal .footer-link {
  color: var(--accent);
  font-size: inherit;
}

.legal .page-grid {
  margin-top: 1rem;
}

.page-grid {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.page-grid:has(+ .filters) {
  display: none;
}

.page-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow);
}

.page-grid h2,
.page-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.page-grid p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cta-row {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 1.2rem;
}

.icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(27 25 22 / 38%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
}

.menu__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(20rem, 88vw);
  background: var(--surface);
  padding: 1.1rem 1.1rem 1.5rem;
  transform: translateX(8%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: -12px 0 40px rgb(27 25 22 / 10%);
}

.menu.is-open .menu__panel {
  transform: none;
}

.menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.menu nav a {
  padding: 0.7rem 0.15rem;
  color: var(--ink);
  text-decoration: none;
  border-block-end: 1px solid var(--line);
  font-size: 1.05rem;
}

.hero {
  padding: 0.2rem 0 0;
}

.hero__locale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  align-items: center;
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 520;
  line-height: 1.3;
}

.hero__locale b {
  color: var(--pine);
  font-weight: 620;
}

.hero h1 {
  font-size: clamp(1.05rem, 4.4vw, 3rem);
  max-width: 18ch;
  line-height: 1.08;
}

.hero__lead {
  display: block;
  margin-top: 0.18rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.35;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.22rem;
  margin: 0.28rem 0 0.12rem;
  padding: 0;
  list-style: none;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 1.55rem;
  padding: 0.16rem 0.32rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.66rem;
  font-weight: 560;
  line-height: 1.15;
}


.section {
  padding: 0.3rem 0 1.4rem;
}

.section__head {
  margin-bottom: 0.35rem;
}

.section__head h2 {
  font-size: clamp(1.12rem, 3vw, 1.9rem);
}

.section__head p {
  display: none;
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.filters {
  display: none;
  gap: 0.4rem;
  overflow-x: auto;
  padding-block: 0.1rem 0.45rem;
  margin-inline: -0.15rem;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 560;
  cursor: pointer;
}

.filter.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.fiches {
  display: grid;
  gap: 0.65rem;
}

.fiche {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.58rem 0.7rem 0.62rem;
  box-shadow: var(--shadow);
  position: relative;
}

.fiche::before {
  content: "";
  position: absolute;
  inset-block: 0.7rem;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.fiche[hidden] {
  display: none;
}

.fiche__top {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.7rem;
  align-items: center;
}

.fiche__logo {
  display: grid;
  place-items: center;
  height: 3.05rem;
  padding: 0.28rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.fiche__logo img {
  max-height: 2.4rem;
  width: auto;
  object-fit: contain;
}

.fiche__name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.fiche__name-row h3 {
  font-size: 1.12rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--pine {
  background: var(--pine-soft);
  color: var(--pine);
}

.badge--gold {
  background: #f4ead4;
  color: #7a5720;
}

.fiche__cats,
.fiche__status,
.fiche__plus,
.fiche__pay,
.fiche__meta {
  font-size: 0.8rem;
}

.fiche__cats {
  color: var(--ink-soft);
  margin-top: 0.12rem;
}

.fiche__status {
  color: var(--ok);
  font-weight: 620;
  margin-top: 0.08rem;
}

.fiche__plus {
  margin-top: 0.35rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fiche__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.45rem;
}

.pay {
  padding: 0.16rem 0.4rem;
  border-radius: 6px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
}

.fiche__meta {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.8rem;
  margin-top: 0.4rem;
  color: var(--muted);
}

.fiche__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--ink);
  background: var(--paper);
}

.fiche__details {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.fiche__details[hidden] {
  display: none;
}

.fiche__details dl {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.fiche__details dt {
  font-size: 0.68rem;
  color: var(--muted);
}

.fiche__details dd {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  min-width: 46rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
}

.table th,
.table td {
  padding: 0.7rem 0.75rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table th {
  background: var(--paper-deep);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.table td:first-child,
.table th:first-child {
  position: sticky;
  left: 0;
  min-width: 8.2rem;
  box-shadow: 10px 0 12px -8px rgb(27 25 22 / 22%);
}

.table thead th:first-child {
  z-index: 5;
  background: var(--paper-deep);
}

.table tbody td:first-child {
  z-index: 4;
  background: var(--surface);
  font-weight: 620;
}

.table .op {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table .op img {
  width: 2.4rem;
  height: 1.3rem;
  object-fit: contain;
}

.dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%; /* deslop-ignore 19 */
  background: var(--line-strong);
}

.dot--on {
  background: var(--ok);
}

.guide {
  display: grid;
  gap: 0.55rem;
}

.guide__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.guide__num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.95rem;
}

.guide__item h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.guide__item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.notice {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  background: var(--pine);
  color: #f4f7f5;
  border-radius: var(--radius);
}

.notice h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.notice p {
  color: #d7e4df;
  font-size: 0.92rem;
}

.about-card,
.legal-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.about-card p + p,
.legal p + p,
.legal h3 {
  margin-top: 0.85rem;
}

.legal h2 {
  margin-top: 2.1rem;
  margin-bottom: 0.55rem;
  padding-top: 0.35rem;
}

.legal__meta + h2,
.legal > h2:first-of-type {
  margin-top: 1.15rem;
}

.page-hero {
  padding: 1.1rem 0 0.4rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.page-hero p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.legal {
  padding-bottom: 2.2rem;
}

.legal__meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.legal ul,
.legal ol {
  padding-inline-start: 1.15rem;
}

.legal li + li {
  margin-top: 0.3rem;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 0.7rem;
}

.legal-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: start;
  vertical-align: top;
}

.legal-table th {
  background: var(--paper-deep);
}

.help-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.help-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.help-links svg {
  flex: 0 0 auto;
}

.form {
  display: grid;
  gap: 0.7rem;
}

.form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--pine-soft);
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 520;
}

.field {
  display: grid;
  gap: 0.28rem;
}

.field span {
  font-size: 0.8rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.site-footer {
  margin-top: 1rem;
  padding: 1.3rem 0 1.6rem;
  background: var(--ink);
  color: #e8e2d6;
}

.site-footer a {
  color: #f0d2c8;
}

.footer-grid {
  display: grid;
  gap: 1.1rem;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

.footer-brand p {
  margin-top: 0.4rem;
  color: #c8c0b3;
  font-size: 0.86rem;
}

.footer-email {
  margin-top: 0.65rem;
  font-size: 0.86rem;
}

.footer-email a {
  color: #f3eee4;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-email a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 6%);
  color: #efe8dc;
}

.footer-social a:hover {
  color: #fff;
  background: rgb(255 255 255 / 12%);
}

.footer-social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-col h2 {
  font-family: var(--font);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8b0a3;
  margin-bottom: 0.45rem;
}

.footer-col {
  display: grid;
  gap: 0.35rem;
}

.footer-col a {
  text-decoration: none;
  color: #efe8dc;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #b9b2a6;
  font-size: 0.78rem;
}

.cookie-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: 0.8rem;
  background: rgb(27 25 22 / 48%);
}

.dialog {
  width: min(32rem, 100%);
  background: var(--surface);
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgb(27 25 22 / 18%);
}

.dialog h2 {
  font-size: 1.35rem;
}

.dialog p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.dialog__actions {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.pref-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.pref-row p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
}

.switch {
  appearance: none;
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  border: 0;
  cursor: pointer;
}

.switch::after {
  content: "";
  position: absolute;
  top: 0.14rem;
  inset-inline-start: 0.16rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%; /* deslop-ignore 19 */
  background: #fff;
  transition: transform 0.2s var(--ease);
}

.switch:checked {
  background: var(--pine);
}

.switch:checked::after {
  transform: translateX(1.05rem);
}

.switch:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}

@media (min-width: 720px) {
  .section__head p {
    display: block;
  }

  .hero {
    padding: 0.9rem 0 0.15rem;
  }

  .hero__locale {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
  }

  .hero__lead {
    margin-top: 0.3rem;
    font-size: 0.88rem;
  }

  .benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin: 0.55rem 0 0.3rem;
  }

  .benefit {
    min-height: 2.2rem;
    padding: 0.3rem 0.55rem;
    gap: 0.4rem;
    border-radius: 11px;
    font-size: 0.78rem;
  }

  .filters {
    display: flex;
  }

  .page-grid:has(+ .filters) {
    display: grid;
  }

  .header-nav__desk {
    display: flex;
  }

  .icon-btn[data-open-menu] {
    display: none;
  }

  .fiche__cta {
    max-width: 24rem;
  }

  .fiche__meta {
    display: flex;
  }

  .guide,
  .page-grid,
  .cta-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .dialog__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .site-header,
  .wrap {
    padding-inline: 0;
  }

  .site-header {
    width: var(--content);
    margin-inline: auto;
    padding-inline: 0;
    background: transparent;
    border: 0;
  }

  .site-header::before {
    content: "";
    position: absolute;
    inset: 0 -1rem;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    z-index: -1;
  }

  .fiches {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 1.15rem;
  }
}
