
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #0E3B32;
  --forest-2: #17503F;
  --forest-3: #14473C;
  --sage: #486A5D;
  --olive: #8D9C61;
  --lime: #CDEB6A;
  --lime-2: #DDF38F;
  --mint: #EFF5EF;
  --mint-2: #E2ECE4;
  --ink: #0B1F1A;
  --ink-2: #47594F;
  --ink-3: #5F6F67;
  --on-dark: #FFFFFF;
  --on-dark-2: #BCD0C8;
  --line: #DCE6DF;
  --line-2: #D5E1D9;
  --line-3: #E3ECE5;
  --line-dark: rgba(255, 255, 255, .14);
  --field: #FBFDFB;
  --error: #B3261E;

  --fs-h1: clamp(2.5rem, 1.1rem + 4.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.443rem + 2.286vw, 3.5rem);
  --fs-fig: clamp(1.875rem, 1.457rem + 1.714vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.111rem + .571vw, 1.625rem);
  --fs-q: clamp(1.125rem, 1.079rem + .19vw, 1.25rem);
  --fs-lead: clamp(1.0625rem, .95rem + .45vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .875rem;
  --fs-legal: .8125rem;
  --fs-micro: .6875rem;

  --pad: clamp(20px, 5.56vw, 80px);
  --gap: 24px;
  --col: calc((1280px - 11 * var(--gap)) / 12);
  --sec: clamp(4.5rem, 2.829rem + 6.857vw, 9rem);
  --sec-s: clamp(3.5rem, 2.571rem + 3.81vw, 6rem);
  --head: clamp(2rem, 1.257rem + 3.048vw, 4rem);
  --block: clamp(2rem, 1.629rem + 1.524vw, 3rem);
  --eb: clamp(1rem, .907rem + .381vw, 1.25rem);
  --card-pad: clamp(1.25rem, 1.064rem + .762vw, 1.75rem);

  --r-xl: clamp(1.5rem, 1.314rem + .762vw, 2rem);
  --r-lg: clamp(1.25rem, 1.157rem + .381vw, 1.5rem);
  --r-md: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
i, em, address, cite, dfn, var { font-style: normal; }
em { font-weight: 600; }
sup { font-size: .7em; line-height: 0; }
::selection { background: var(--lime); color: var(--forest); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(1280px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
@supports (animation-timeline: scroll()) {
  .entete { animation: entete-plein linear both; animation-timeline: scroll(root); animation-range: 0 24px; }
  @keyframes entete-plein {
    from { background: rgba(255, 255, 255, 0); box-shadow: 0 1px 0 rgba(220, 230, 223, 0); }
    to { background: rgba(255, 255, 255, .88); box-shadow: 0 1px 0 var(--line); }
  }
}
.entete-in { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: block; border-radius: 4px; }
.marque img { height: 20px; width: auto; }
.entete-droite { display: flex; align-items: center; gap: 16px; }
.logih { height: 32px; width: auto; }
.tel {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 500; color: var(--forest); text-decoration: none;
  font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s;
}
.tel:hover { border-color: var(--forest); background: var(--mint); }
.tel svg { width: 18px; height: 18px; flex: none; }
.tel:focus-visible { border-radius: var(--r-pill); }

.page { padding-block: var(--head) calc(var(--sec) / 2); }
.page-corps { grid-column: 1 / 9; }

.page-h1 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--forest);
  max-width: 15em;
  text-wrap: balance;
}
.page-corps > .page-h1 { margin-bottom: var(--head); }

.bloc + .bloc { margin-top: var(--block); padding-top: var(--block); border-top: 1px solid var(--line); }
.bloc-titre {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: var(--forest);
  margin-bottom: 16px;
}
.bloc p, .bloc li { color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.bloc p + p, .bloc p + ul, .bloc ul + p { margin-top: 12px; }
.bloc strong { font-weight: 600; color: var(--forest); }
.bloc .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.liste li { position: relative; }
.liste li + li { margin-top: 8px; }
.liste li::before {
  content: ""; position: absolute; left: -17px; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}
@media (max-width: 899px) { .liste li::before { left: -14px; width: 6px; height: 6px; } }

.notes p { font-size: var(--fs-sm); line-height: 1.55; }
.notes p + p { margin-top: 10px; }

.a-completer {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--mint-2);
  color: var(--forest);
  font-weight: 500;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.insec { white-space: nowrap; }

.lien {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.lien:hover { color: var(--forest-2); text-decoration-thickness: 2px; }
.tabnum { font-variant-numeric: tabular-nums; white-space: nowrap; }

.btn--ligne {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid var(--forest); background: transparent;
  font-size: 16px; font-weight: 500; line-height: 1; color: var(--forest); text-decoration: none;
  transition: background .2s;
}
.btn--ligne svg { width: 18px; height: 18px; flex: none; }
.btn--ligne:hover { background: var(--mint); }
.btn--ligne:focus-visible { border-radius: var(--r-pill); }

.page-merci { display: flex; flex-direction: column; justify-content: center; }
.merci { grid-column: 1 / 8; }
.merci-disque {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px;
  border-radius: 50%; background: var(--lime); color: var(--forest);
}
.merci-disque svg { width: 26px; height: 26px; }
.merci .page-h1 { margin-bottom: 24px; }
.merci-texte { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.merci-texte + p { margin-top: 12px; color: var(--ink-2); max-width: 34em; }
.merci .btn--ligne { margin-top: 36px; }
.merci .btn--ligne.merci-tel { margin-top: 12px; }

.pied { border-top: 1px solid var(--line); background: #fff; padding-block: 48px 64px; font-size: var(--fs-sm); line-height: 1.5; }
.pied-marques { grid-column: 1 / 5; }
.pied-marques .logo-v { height: 20px; width: auto; }
.pied-marques .logo-l { height: 28px; width: auto; margin-top: 16px; }
.pied-vente { grid-column: 5 / 9; }
.pied-vente p { color: var(--ink-2); }
.pied-vente .pied-titre { font-weight: 600; color: var(--forest); }
.pied-liens { grid-column: 9 / 13; }
.pied-lien {
  display: inline-block; padding-block: 11px; line-height: 22px;
  color: var(--forest); text-decoration: none; font-variant-numeric: tabular-nums;
}
.pied-lien:hover, .pied-lien[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pied-notes {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.pied-notes > * { grid-column: 1 / 11; }
.note { font-size: var(--fs-legal); line-height: 1.55; color: var(--ink-3); max-width: 60em; }
.credit { margin-top: 24px; font-size: var(--fs-legal); color: var(--ink-3); }

@media (max-width: 899px) {
  .g12 { grid-template-columns: minmax(0, 1fr); }
  .g12 > * { grid-column: 1 / -1; }
  .entete { position: relative; }
  .entete-in { height: 60px; gap: 12px; }
  .marque img { height: 16px; }
  .entete-droite { gap: 12px; }
  .logih { height: 22px; }
  .tel { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .tel span { display: none; }
  .merci .btn--ligne { margin-top: 28px; }
  .merci .page-h1 { margin-bottom: 20px; }
  .pied { padding-block: 40px calc(48px + env(safe-area-inset-bottom)); }
  .pied-grille { row-gap: 32px; }
  .pied-notes { display: block; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
