@font-face {
  font-family: "Reglo";
  src: url("fonts/Reglo-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #121212;
  --surface: #1c1c1c;
  --text: #f5f4f3;
  --muted: #bebbb9;
  --terracotta: #d78871;
  --glass-accent: rgb(112 52 37 / 75%);
  --glass-accent-hover: rgb(139 64 43 / 88%);
  --glass-accent-edge: #bc7c68;
  --glass-accent-rim: #eab29e;
  --glass-accent-text: #fff3ec;
  --glass-neutral: rgb(29 29 29 / 84%);
  --glass-neutral-hover: rgb(51 47 45 / 90%);
  --glass-neutral-edge: #595451;
  --glass-neutral-rim: #77706c;
  --glass-header: rgb(13 12 12 / 40%);
  --glass-header-edge: rgb(255 255 255 / 22%);
  --glass-header-accent: #efaa95;
  --line: #393939;
  --featured-surface: #2b211e;
  --button-inset: 4px;
  --button-inner-radius: 12px;
  --control-radius: calc(var(--button-inner-radius) + var(--button-inset));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Reglo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

:root[data-theme="light"] {
  color-scheme: light;
  --background: #faf8f6;
  --surface: #f0ebe6;
  --text: #211c1a;
  --muted: #564a45;
  --terracotta: #9c422f;
  --glass-accent: rgb(248 222 211 / 83%);
  --glass-accent-hover: rgb(247 207 191 / 94%);
  --glass-accent-edge: #a96957;
  --glass-accent-rim: #bb8b7d;
  --glass-accent-text: #4a2118;
  --glass-neutral: rgb(255 255 255 / 73%);
  --glass-neutral-hover: rgb(248 234 226 / 92%);
  --glass-neutral-edge: #ad9f97;
  --glass-neutral-rim: #bcb0a9;
  --glass-header: rgb(250 248 246 / 72%);
  --glass-header-edge: rgb(94 70 60 / 26%);
  --glass-header-accent: #632c20;
  --line: #c9bcb5;
  --featured-surface: #f4e3db;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height, 76px) + 12px); }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 6; background: var(--surface); padding: 10px 16px; }
.skip:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--glass-header-edge);
  background-color: var(--glass-header);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
}
.top { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { font-size: .95rem; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
nav a { font-size: .9rem; font-weight: 620; text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"], .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { color: var(--glass-header-accent); }

.card, .contact {
  padding: var(--frame-padding);
  border-radius: calc(var(--control-radius) + var(--frame-padding));
}
.hero {
  --background: #0b0b0b;
  --text: #f5f4f3;
  --muted: #eeecea;
  --terracotta: #efaa95;
  --glass-accent: rgb(112 52 37 / 75%);
  --glass-accent-hover: rgb(139 64 43 / 88%);
  --glass-accent-edge: #bc7c68;
  --glass-accent-rim: #eab29e;
  --glass-accent-text: #fff3ec;
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 50vw, 730px);
  display: grid;
  align-items: center;
  padding-block: clamp(54px, 8vw, 110px);
  background: var(--background);
  color: var(--text);
}
.hero-media, .hero-media::after {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: -1;
  inset-block-start: calc(-1 * var(--header-height, 76px));
}
.hero-media::after {
  content: "";
  background: rgb(0 0 0 / 61%);
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
}
.hero-copy { max-width: 36rem; }
h1, h2, h3, p { margin: 0; }
.hero-context { margin-bottom: 12px; color: var(--muted); font-weight: 620; }
h1, h2, h3, h4, .wordmark { font-family: var(--heading-font); font-weight: 700; }
h1, h2, h3 { line-height: 1.07; }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); }
h1 span { color: var(--terracotta); }
.hero-description { max-width: 34ch; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.24rem); margin: 22px 0 26px; }
.button, .utility {
  border: 1px solid var(--glass-edge);
  border-top-color: var(--glass-rim);
  background-color: var(--glass-fill);
  color: var(--glass-text, var(--text));
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
}
.button {
  --glass-fill: var(--glass-accent);
  --glass-hover: var(--glass-accent-hover);
  --glass-edge: var(--glass-accent-edge);
  --glass-rim: var(--glass-accent-rim);
  --glass-text: var(--glass-accent-text);
}
.button:not(:disabled):hover, .utility:not(:disabled):hover {
  background-color: var(--glass-hover);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: calc(8px + var(--button-inset)) calc(18px + var(--button-inset));
  border-radius: var(--control-radius);
  font-size: .93rem;
  font-family: inherit;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.icon { display: block; width: 1.15em; height: 1.15em; flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .button, .utility { transition: background-color 140ms ease-out; }
}

.button.ruban {
  --toile: #d78c72;
  --toile-survol: #e19a7e;
  --encre: #271a16;
  --glass-fill: transparent;
  --glass-hover: transparent;
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding-inline: 25px 29px;
  border: 0;
  border-radius: 0;
  color: var(--encre);
  font-weight: 720;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: drop-shadow(0 3px 1.5px rgb(0 0 0 / 55%));
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
:root[data-theme="light"] .button.ruban {
  --toile: #a34a34;
  --toile-survol: #96432e;
  --encre: #fff7ee;
}
:root[data-theme="light"] .hero .button.ruban {
  --toile: #d78c72;
  --toile-survol: #e19a7e;
  --encre: #271a16;
}
.ruban::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--toile);
  background-image:
    repeating-linear-gradient(2deg, transparent 0 2px, rgb(84 45 30 / 6%) 2px 3px, transparent 3px 4px),
    repeating-linear-gradient(92deg, rgb(255 244 222 / 9%) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 1px 0 rgb(255 241 220 / 22%), inset 0 -1px 0 rgb(77 42 28 / 25%);
  /* La découpe porte sur la toile pour garder le texte et le contour de focus entiers. */
  clip-path: polygon(
    0 0, calc(100% - 3px) 0, calc(100% - 5px) 9%, calc(100% - 2px) 13%,
    calc(100% - 4px) 23%, 100% 27%, calc(100% - 2px) 33%,
    calc(100% - 1px) 41%, calc(100% - 6px) 48%, calc(100% - 4px) 53%,
    calc(100% - 5px) 61%, calc(100% - 2px) 68%, calc(100% - 3px) 74%,
    calc(100% - 1px) 80%, calc(100% - 4px) 91%, calc(100% - 2px) 100%, 0 100%
  );
}
@media (hover: hover) {
  .ruban:hover::before { background-color: var(--toile-survol); }
}
.button.ruban:active {
  filter: drop-shadow(0 0 0 transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .button.ruban { transition: filter 100ms ease-out, translate 100ms ease-out; }
  .ruban::before { transition: background-color 140ms ease-out; }
  .button.ruban:active { translate: 0 2px; transition-duration: 35ms; }
}
@property --bord-decolle {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 104%;
}

@media (prefers-reduced-motion: no-preference) {
  .home .button.ruban.decollement {
    animation: decoller-le-tape 320ms cubic-bezier(.46, .05, .62, .96) both;
    clip-path: polygon(
      0 -12px, var(--bord-decolle) -12px,
      calc(var(--bord-decolle) - 6px) calc(100% + 12px),
      0 calc(100% + 12px)
    );
    filter: none;
  }

  .home .ruban.decollement::after {
    content: "";
    --bord-decolle: inherit;
    position: absolute;
    inset-block: -1px;
    left: calc(var(--bord-decolle) - 19px);
    width: 18px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #64362766 36%, #f9d6c48c 57%, #ffe1ca 82%, #9a5743);
    transform: skewX(-7deg);
    transform-origin: top;
  }

  @keyframes decoller-le-tape {
    0% { --bord-decolle: 104%; }
    16% { --bord-decolle: 97%; }
    100% { --bord-decolle: -1%; }
  }
}

@media (forced-colors: active) {
  .button.ruban { border: 1px solid ButtonText; color: ButtonText; }
  .ruban::before { background: ButtonFace; }
}

.section { margin-top: clamp(56px, 8vw, 108px); scroll-margin-top: 24px; }
.section-heading { margin-bottom: 28px; }
.about-copy {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  max-width: 67ch;
  margin-top: clamp(24px, 4vw, 48px);
}
.about-copy h2 {
  margin-bottom: 10px;
  color: var(--terracotta);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.about-copy p + p { margin-top: 12px; }
.about-copy .about-contact { margin-top: 16px; }
h2 { font-size: clamp(2.45rem, 5vw, 4.65rem); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  --frame-padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.plan-group h3, .catalog-link h3, .catalog-group h2 { font-size: clamp(1.7rem, 3.2vw, 2.65rem); }
.plan-intro { max-width: 67ch; margin: 12px 0 20px; color: var(--muted); }
.billing-switch:not([hidden]) {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
  padding: var(--button-inset);
  border-radius: var(--control-radius);
  background: var(--surface);
}
.billing-switch::before {
  content: "";
  position: absolute;
  inset: var(--button-inset) auto var(--button-inset) var(--button-inset);
  width: calc(50% - var(--button-inset));
  border: 1px solid var(--glass-accent-edge);
  border-top-color: var(--glass-accent-rim);
  border-radius: var(--button-inner-radius);
  background-color: var(--glass-accent);
  pointer-events: none;
  transform: translateX(0);
}
.billing-switch:has([data-billing="annual"][aria-pressed="true"])::before {
  transform: translateX(100%);
}
.billing-switch button {
  position: relative;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--button-inner-radius);
  background-color: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}
.billing-switch button[aria-pressed="true"] { color: var(--glass-accent-text); }
.billing-switch button[aria-pressed="false"]:hover { background-color: var(--glass-neutral-hover); }
.billing-switch button span { color: var(--terracotta); }
.billing-switch button[aria-pressed="true"] span { color: inherit; }
.billing-switch button:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .billing-switch::before { transition: transform 230ms cubic-bezier(.22, 1, .36, 1); }
}
.plan-heading { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; min-height: 3.5rem; }
.plan h4 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.2; }
.plan-marker { color: var(--terracotta); font-weight: 720; font-size: .85rem; }
.price { margin-top: 9px; color: var(--terracotta); font-weight: 760; font-size: clamp(1.95rem, 3.4vw, 2.85rem); line-height: 1.15; letter-spacing: -.055em; }
.price-period { color: var(--muted); font-size: .94rem; font-weight: 550; letter-spacing: normal; }
.plan-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.plan-prices .price { white-space: nowrap; }
.annual-original {
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}
.session-price { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.session-price strong { color: var(--text); }
.plan-description { margin: 14px 0 0; font-weight: 650; }
.plan-features { display: grid; gap: 8px; margin: 16px 0 22px; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); }
.plan-features li { position: relative; padding-inline-start: 22px; }
.plan-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .36em;
  width: 7px;
  height: 12px;
  border: solid var(--terracotta);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.plan-features strong { color: var(--text); }
.offers > .plan .button {
  align-self: stretch;
  margin-top: auto;
  padding-inline: 8px;
}
.offers > .plan {
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.offers > .plan:has(:focus-visible),
.offers:not(:has(> .plan :focus-visible)) > .plan-featured {
  background-color: var(--featured-surface);
  outline-color: var(--terracotta);
}
@media (hover: hover) {
  .offers:has(> .plan:hover) > .plan:not(:hover) {
    background-color: var(--surface);
    outline-color: transparent;
  }
  .offers > .plan:hover {
    background-color: var(--featured-surface);
    outline-color: var(--terracotta);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .offers > .plan { transition: background-color 200ms ease-out, outline-color 200ms ease-out; }
}
.plan-featured .plan-marker { font-size: .95rem; }
.booking-note { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.catalog-link { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.catalog-link p { margin-top: 8px; color: var(--muted); }
.guide-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.guide-category {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--control-radius) + 10px);
  background-color: var(--surface);
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}
.guide-category-image {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.guide-category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.guide-category--barre img {
  object-position: center 17%;
  filter: grayscale(1) brightness(1.33);
}
.guide-category--renverse img { object-position: center 81%; }
.guide-category--sol img { object-position: center 27%; }
.guide-category-label {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 18px 20px;
}
.guide-category:hover, .guide-category:focus-visible {
  border-color: var(--terracotta);
  background-color: var(--featured-surface);
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .guide-category .guide-category-image img { transition: transform 230ms ease-out; }
  .guide-category:hover img { transform: scale(1.05); }
}
.method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); align-items: start; }
.method-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 36%; border-radius: var(--control-radius); }
.steps { margin: 0; }
.steps div { padding: 17px 0; border-top: 1px solid var(--line); }
.method-accent { position: relative; display: inline-block; }
.method-accent svg {
  position: absolute; inset: -8% -9%; width: 118%; height: 116%;
  overflow: visible; pointer-events: none; fill: none; stroke: var(--terracotta);
  stroke-width: 2; stroke-linecap: round;
}
.method-accent path {
  vector-effect: non-scaling-stroke;
  stroke-width: 3.2;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .method-accent.awaiting-circle path { stroke-dasharray: 1.01; stroke-dashoffset: 1.01; }
  .method-accent.drawing-circle path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 650ms ease-in-out 300ms;
  }
}
.steps dt { font-weight: 740; font-size: 1.14rem; }
.steps dd { margin: 4px 0 0; color: var(--muted); }
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DM-Sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
.home main p, .home .steps dd {
  font-family: "DM Sans", system-ui, sans-serif;
}
.home .hero-description {
  line-height: 1.65;
}
.home .steps div {
  padding-block: 20px;
}
.home .steps dd {
  margin-top: 7px;
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 62ch;
}

.catalog { padding-block: clamp(40px, 7vw, 88px) 28px; }
.catalog-price { margin-top: 18px; }
.catalog-price strong { font-size: 1.45rem; color: var(--terracotta); }
.catalog-instructions { margin-top: 6px; color: var(--muted); max-width: 62ch; }
.signup-summary { max-width: 800px; }
.signup-summary h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.summary-card, .summary-recovery { margin-top: 28px; }
.summary-card h2 { font-size: clamp(1.7rem, 4vw, 2.65rem); }
@media screen and (prefers-reduced-motion: no-preference) {
  .summary-card:not([hidden]) { animation: summary-enter 200ms ease-out; }
}
@keyframes summary-enter {
  from { opacity: .8; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.summary-details { margin: 20px 0; }
.summary-details div { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: 5px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.summary-details dt { font-weight: 700; }
.summary-details dd, .summary-note { margin: 0; color: var(--muted); }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.summary-actions a, .summary-recovery a { text-underline-offset: .22em; }
.summary-recovery p { margin-bottom: 10px; }
.checkout-section { margin-top: 40px; }
.checkout-section h2 { font-size: clamp(1.7rem, 4vw, 2.65rem); }
.signup-form { max-width: 470px; margin-top: 18px; }
.signup-form label { display: block; font-weight: 650; }
.signup-form input {
  display: block;
  width: 100%;
  margin: 5px 0 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--button-inner-radius);
  background: var(--background);
  color: var(--text);
  font: inherit;
}
.signup-form input:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.signup-form p, .checkout-feedback { color: var(--muted); }
.signup-form .button { margin-top: 14px; }
.signup-form .button:disabled { opacity: .8; cursor: wait; }
.checkout-feedback:not(:empty) { margin: 15px 0; }
.checkout-feedback[data-state="error"] { color: var(--terracotta); }
#stripe-checkout { margin: 15px 0; }
@media print { .checkout-section { display: none; } }
.catalog-group { max-width: 920px; margin-top: 44px; }
.catalog-group:target h2 { color: var(--terracotta); }
.guide-list { margin: 14px 0 0; padding: 0; list-style: none; }
.guide-list li { display: flex; align-items: center; justify-content: space-between; column-gap: 22px; padding: 13px 0; border-top: 1px solid var(--line); }
.guide-list h3 { font-size: 1.16rem; line-height: 1.25; letter-spacing: -.025em; }
.guide-list p { margin-top: 4px; color: var(--muted); }
.guide-list a { display: flex; align-items: center; min-height: 44px; flex: none; color: var(--terracotta); text-underline-offset: .22em; }
.contact {
  --frame-padding: clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin-top: clamp(44px, 6vw, 82px);
  background: var(--surface);
}
.contact h2 { font-size: clamp(1.95rem, 4.3vw, 3.7rem); }
.contact p { margin-top: 10px; max-width: 50ch; }
.contact > .button { justify-self: start; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 36px; font-size: .91rem; }
.footer > a[href*="instagram.com"] { color: var(--terracotta); }

.header-controls { display: flex; align-items: center; gap: 6px; }
.utility-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.utility {
  --glass-fill: var(--glass-neutral);
  --glass-hover: var(--glass-neutral-hover);
  --glass-edge: var(--glass-neutral-edge);
  --glass-rim: var(--glass-neutral-rim);
}
.utility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: var(--button-inner-radius);
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.utility[aria-pressed="true"] { border-color: var(--terracotta); color: var(--terracotta); }
.utility:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.utility:disabled { opacity: .8; cursor: wait; }
.utility[hidden], [hidden] { display: none; }
.menu-toggle { display: none; }
.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: var(--terracotta);
  transform: scaleX(var(--read-progress, 0));
  transform-origin: left center;
}
.updated { color: var(--muted); }
.footer-tools { flex-basis: 100%; }
.feedback { margin: 9px 0; min-height: 1.4em; color: var(--muted); font-size: .9rem; }
.footer-tools .feedback { margin: 0; }
.cookie-notice {
  position: fixed;
  z-index: 5;
  inset-inline-start: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(460px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--button-inner-radius) + 18px);
  background: var(--surface);
}
.cookie-notice h2, .site-dialog h2 { font-size: clamp(1.25rem, 3vw, 1.85rem); }
.cookie-notice p { margin: 8px 0 12px; color: var(--muted); font-size: .92rem; }
.quick-links { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 2; display: flex; gap: 8px; }
.cookie-notice:not([hidden]) + .quick-links { display: none; }

.site-dialog {
  width: min(560px, calc(100% - 30px));
  max-height: calc(100dvh - 36px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--button-inner-radius) + 22px);
  background: var(--surface);
  color: var(--text);
}
.site-dialog::backdrop { background: #000a; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.site-dialog label, .contact-form label { display: block; font-weight: 650; }
.site-dialog input, .site-dialog textarea, .contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin: 5px 0 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--button-inner-radius);
  background: var(--background);
  color: var(--text);
  font: inherit;
}
.site-dialog textarea, .contact-form textarea { resize: vertical; }
.site-dialog input:focus-visible, .site-dialog textarea:focus-visible, .contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
.search-results { margin: 0; padding: 0; list-style: none; }
.search-results a { display: block; padding: 9px 4px; border-top: 1px solid var(--line); text-underline-offset: .2em; }
.search-results a:hover, .faq-list a:hover { color: var(--terracotta); }
.faq-list { max-width: 760px; }
.faq-list details { padding: 15px 0; border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 720; }
.faq-list summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.faq-list p { max-width: 65ch; margin-top: 8px; color: var(--muted); }
.contact-form { grid-column: 1 / -1; width: min(100%, 660px); min-width: 0; }
.contact-form label span { font-weight: 400; color: var(--muted); }
.contact-form [aria-invalid="true"], #contact-feedback:not(:empty) { border-color: var(--terracotta); color: var(--terracotta); }
.copy-buffer { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .utility[aria-busy="true"]::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-inline-end: 7px;
    border: 2px solid var(--line);
    border-top-color: var(--terracotta);
    border-radius: 50%;
    animation: loading-turn .65s linear 1;
  }
}
@keyframes loading-turn { to { transform: rotate(1turn); } }

@media (max-width: 1010px) {
  .enhanced .top { min-height: 66px; padding-block: 10px; flex-flow: row wrap; align-items: center; gap: 8px; }
  .enhanced .header-controls { order: 0; flex-wrap: wrap; }
  .enhanced .menu-toggle { display: inline-flex; }
  .enhanced .site-header nav { display: none; }
  .enhanced .site-header.menu-open nav { display: flex; flex: 0 0 100%; flex-wrap: wrap; gap: 9px 18px; padding-block: 3px 8px; }
}

@media print {
  :root, :root[data-theme="light"] { color-scheme: light; --background: white; --surface: white; --text: #111; --muted: #333; --terracotta: #663123; --line: #aaa; --featured-surface: white; }
  .site-header { position: static; background: var(--background); border-color: var(--line); backdrop-filter: none; }
  .shell { width: 100%; }
  .hero { --background: white; --text: #111; --muted: #333; --terracotta: #663123; display: block; min-height: 0; padding-block: 0; }
  .hero-media, .method-photo, .header-controls, .site-header nav, .reading-progress, .skip, .site-helpers, .footer-tools, .billing-switch:not([hidden]), .button, .contact-form, .guide-list a { display: none !important; }
  .section, .contact, .catalog-group { margin-top: 22px; }
  .guide-category-image { display: none; }
  .plan, .guide-category, .guide-list li { break-inside: avoid; }
  .faq-list details > p { display: block; }
}

@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .method { grid-template-columns: 1fr; }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (721px <= width <= 900px) {
  .offers .plan-prices { column-gap: 8px; }
  .offers .plan-prices .price { font-size: clamp(1.5rem, 3.35vw, 1.9rem); }
}
@media (max-width: 720px) {
  .offers { grid-template-columns: 1fr; gap: 12px; }
  .plan-heading { min-height: 0; }
  .guide-categories { grid-template-columns: 1fr; }
}
@media screen and (max-width: 600px) {
  .hero { min-height: clamp(400px, 72svh, 580px); align-items: end; padding-block: 32px; }
  .hero-media img { object-position: 58% center; }
}
@media (max-width: 570px) {
  :root { --header-height: 100px; }
  .shell { width: calc(100% - 28px); }
  .top { min-height: 0; padding-block: 13px; gap: 9px; align-items: flex-start; flex-direction: column; }
  nav { gap: 20px; flex-wrap: wrap; }
  .guide-list li { flex-wrap: wrap; gap: 2px 12px; }
  .summary-details div { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
  .enhanced .top { min-height: 60px; padding-block: 7px; }
  .enhanced .site-header.menu-open nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    max-height: 60dvh;
    overflow-y: auto;
  }
  .site-header nav a { display: flex; align-items: center; min-height: 44px; }
  .hero-description { margin-block: 16px 20px; }
  .billing-switch:not([hidden]) { display: grid; width: 100%; }
}

.site-header nav > a, .site-header .wordmark, .site-header .menu-toggle { color: white; }
.site-header nav > a:active, .site-header nav > a[aria-current],
.site-header .menu-toggle[aria-expanded="true"] { color: #efaa95; }
:root[data-theme="light"] .site-header { background-color: rgb(40 35 33 / 93%); }
.site-header .menu-toggle { background-color: transparent; }
.header-search { position: relative; width: min(13rem, 100%); min-width: 0; }
.header-search input {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 12px;
  color: white; background: rgb(0 0 0 / 25%); border: 1px solid #ffffff73;
  border-radius: 10px; font: inherit; font-size: 1rem;
}
.header-search input::placeholder { color: #fff; }
.search-panel {
  position: absolute; z-index: 1; top: 100%; left: 0; width: min(22rem, 85vw);
  max-height: 50dvh; overflow-y: auto; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--text);
}
.theme-switch { width: auto; padding: 0 0 0 55px; color: white; font: inherit; height: 44px; flex: none; position: relative; background: none; border: 0; cursor: pointer; }
.theme-switch::before, .theme-switch::after { content: ""; position: absolute; border-radius: 20px; }
.theme-switch::before { inset: 9px auto 9px 1px; width: 46px; border: 1px solid #ffffff90; background: #393634; }
.theme-switch::after { top: 13px; left: 5px; width: 18px; height: 18px; background: white; }
.theme-switch[aria-checked="true"]::before { background: #a34a34; }
.theme-switch[aria-checked="true"]::after { transform: translateX(20px); }
@media (max-width: 600px) {
  .header-search { grid-column: 1 / -1; width: 100%; }
  .search-panel { position: static; width: 100%; max-height: 32dvh; }
}

.theme-label { font-size: .75rem; white-space: nowrap; }
.site-header nav:not(:has(> a[aria-current])) > .nav-contact { color: #efaa95; }
.site-header nav > .theme-switch { justify-self: start; }

.contact-socials { display: flex; justify-content: flex-start; align-items: center; gap: 2px; margin-top: 8px; }
.contact-socials a { display: inline-grid; place-items: center; width: 48px; height: 48px; color: var(--text); border-radius: 9px; }
.contact-socials svg { width: 32px; height: 32px; }
.contact-socials a:is(:hover, :focus-visible) { color: var(--terracotta); }

@media screen and (min-width: 1011px) {
  .enhanced .site-header .top { width: calc(100% - 48px); max-width: none; justify-content: flex-start; }
  .enhanced .site-header nav { margin-inline-start: auto; }
}
@media print {
  .site-header .theme-switch { display: none; }
}

.footer-tools .utility, .quick-links .back-top {
  --glass-hover: transparent;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding-inline: 5px;
  min-height: 44px;
}
.footer-tools .utility:hover, .quick-links .back-top:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

#pied-de-page {
  display: block; margin-top: clamp(44px, 7vw, 90px); padding: 52px 0 24px;
  background: #17191d; color: #f5f2ee;
}
.footer-columns { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 32px; align-items: start; }
.footer-columns .wordmark { font-size: 2rem; line-height: 1; text-transform: uppercase; }
.footer-columns h2 { font-size: 1.2rem; text-transform: uppercase; margin: 0 0 10px; }
.footer-columns address, .footer-columns nav { display: grid; justify-items: start; gap: 5px; font-style: normal; }
.footer-columns a { color: inherit; text-decoration: none; font-weight: normal; font-size: 1rem; }
.footer-columns a:hover { color: #efaa95; text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 12px; border-top: 1px solid #48484a; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-bottom .updated { color: #c4c0bc; }
.footer-bottom .footer-tools { flex-basis: auto; margin-inline-start: auto; }
.footer-bottom .utility, .footer-bottom .feedback { color: inherit; }
@media (max-width: 720px) {
  .footer-columns { grid-template-columns: 1fr; gap: 25px; }
  .footer-columns address a, .footer-columns nav a { padding-block: 4px; }
  .footer-bottom .footer-tools { margin-inline-start: 0; }
}

.brand-logo { display: inline-flex; align-items: center; justify-self: start; flex-shrink: 0; }
.brand-logo img { display: block; height: auto; }
.site-header .brand-logo img { width: clamp(134px, 17vw, 174px); }
#pied-de-page .brand-logo img { width: 52px; }
.brand-logo .brand-logo--clair,
:root[data-theme="light"] .brand-logo .brand-logo--sombre { display: none; }
:root[data-theme="light"] .brand-logo .brand-logo--clair { display: block; }

:root[data-theme="light"] .site-header:has(.brand-logo) {
  background-color: rgb(250 248 246 / 96%);
  border-color: var(--line);
}
:root[data-theme="light"] .site-header:has(.brand-logo) :is(nav > a, .menu-toggle, .theme-switch) {
  color: var(--text);
}
:root[data-theme="light"] .site-header:has(.brand-logo) nav:not(:has(> a[aria-current])) > .nav-contact,
:root[data-theme="light"] .site-header:has(.brand-logo) :is(nav > a:active, nav > a[aria-current], .menu-toggle[aria-expanded="true"]) {
  color: var(--terracotta);
}
:root[data-theme="light"] .site-header:has(.brand-logo) .header-search input {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
:root[data-theme="light"] .site-header:has(.brand-logo) .header-search input::placeholder { color: var(--muted); }
:root[data-theme="light"] #pied-de-page:has(.brand-logo) { background: var(--surface); color: var(--text); }
:root[data-theme="light"] #pied-de-page:has(.brand-logo) .footer-bottom { border-color: var(--line); }
:root[data-theme="light"] #pied-de-page:has(.brand-logo) .updated { color: var(--muted); }
:root[data-theme="light"] #pied-de-page .footer-columns a:hover { color: var(--terracotta); }

@media screen {
  .hero.inner-cover { min-height: clamp(240px, 32vw, 430px); padding-block: 42px; }
}

.hero-copy .ruban { min-height:56px; padding-inline:30px; }
.hero-description { margin-bottom:16px; }
.menu-icon { display:inline-grid; width:1.2em; margin-right:4px; }
.menu-icon i { grid-area:1/1; font-style:normal; }
.menu-icon i:last-child,.menu-toggle[aria-expanded=true] i:first-child { opacity:0; }
.menu-toggle[aria-expanded=true] i:last-child { opacity:1; }
.micro-search::backdrop { background:#1514148c; backdrop-filter:blur(3px); }
.result-scroll { max-height:min(35dvh,15rem); overflow:auto; }
button:active,a.button:active { outline:2px solid var(--terracotta); outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) {
 .menu-icon i { transition:opacity 140ms,filter 140ms; }
 .menu-icon i:last-child,.menu-toggle[aria-expanded=true] i:first-child { filter:blur(1.5px); }
 .menu-toggle[aria-expanded=true] i:last-child { filter:none; }
 .guide-category-image.reveal-pending:not(.revealed) img { clip-path:inset(0 100% 0 0); }
 .guide-category-image.revealed img { animation:guide-reveal 450ms ease-out; }
 @keyframes guide-reveal { from {clip-path:inset(0 100% 0 0)} to {clip-path:inset(0)} }
}
