
@font-face { font-family: "Aspekta"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/v2/fonts/Aspekta-400.woff2) format("woff2"); }
@font-face { font-family: "Aspekta"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(/v2/fonts/Aspekta-500.woff2) format("woff2"); }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/v2/fonts/FragmentMono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/v2/fonts/FragmentMono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Base : collection Resintoi de BYQ Supply (toile claire, panneaux sombres, Aspekta + Fragment Mono).
   Adaptation Exonia : encre bleu nuit de la marque, rouge Exonia à la place du vert, signe + en rouge. */
:root {
  --canvas: #f7f7f5;
  --chalk: #eeefed;
  --stone: #e2e3e2;
  --ink: #14181c;
  --ink-2: rgba(20, 24, 28, 0.64);
  --line: rgba(20, 24, 28, 0.08);
  --line-2: rgba(20, 24, 28, 0.14);
  --panel: #0f1317;
  --panel-2: #1a2026;
  --on-panel: #f7f7f5;
  --on-panel-2: rgba(247, 247, 245, 0.66);
  --panel-line: rgba(247, 247, 245, 0.12);
  --accent: #e24a55;
  --ok: #1f7a4d;
  --ok-bg: #e7f2eb;
  --accent-ink: #b8323d;
  --font: "Aspekta", Arial, Helvetica, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 767px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.box { max-width: 1440px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.mute { color: var(--ink-2); }
.on-dark .mute, .mute-d { color: var(--on-panel-2); }

/* Typo */
.h1 { margin: 0; font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { margin: 0; font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { margin: 0; font-weight: 400; font-size: 1.8rem; line-height: 1.17; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.2; }
.p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.p-lg { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.on-dark .p, .on-dark .p-lg, .p.mute-d, .p-lg.mute-d { color: var(--on-panel-2); }
.label { font: 500 11px/1.2 var(--mono); letter-spacing: 0.046rem; text-transform: uppercase; }
.meta { font: 500 12px/1.33 var(--mono); letter-spacing: 0.02rem; }

/* Puce de section : signe + rouge (repris du motif Resintoi) */
.chip { width: fit-content; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }
.chip svg { width: 12px; height: 12px; color: var(--accent); flex: none; }
.on-dark .chip { border-color: var(--panel-line); }
.plus { color: var(--accent); }

/* Boutons pilule */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 20px; border-radius: 32px; font: 400 15px/1 var(--font);
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; white-space: nowrap; }
.btn .ar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; transition: transform 300ms var(--ease); }
.btn .ar svg { width: 14px; height: 14px; }
.btn:hover .ar { transform: translateX(2px); }
.btn-dark { background: var(--ink); color: var(--canvas); }
.btn-dark .ar { background: var(--canvas); color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-light { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-light .ar { background: var(--ink); color: var(--canvas); }
.btn-light:hover { background: var(--chalk); }
.on-dark .btn-light, .btn-white { background: var(--canvas); color: var(--ink); border: 0; }
.on-dark .btn-light .ar, .btn-white .ar { background: var(--ink); color: var(--canvas); }
.btn-white:hover, .on-dark .btn-light:hover { background: #fff; }
.btn-red { background: var(--accent); color: #fff; }
.btn-red .ar { background: #fff; color: var(--accent-ink); }
.btn-red:hover { background: var(--accent-ink); }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 300ms ease; }
.link:hover { border-color: var(--ink); }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(247, 247, 245, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1 var(--font); letter-spacing: -0.02em; }
.logo svg { width: 22px; height: 22px; }
.menu-l { display: flex; gap: 4px; }
.menu-l a { padding: 8px 14px; border-radius: 32px; font-size: 15px; color: var(--ink-2); transition: color 300ms ease, background-color 300ms ease; }
.menu-l a:hover { color: var(--ink); background: var(--chalk); }
.menu-l a[aria-current="page"] { color: var(--ink); background: var(--chalk); }
.nav-r { display: flex; align-items: center; gap: 12px; }
.lang { font: 500 11px/1 var(--mono); color: var(--ink-2); letter-spacing: 0.046rem; }
.mob { display: none; position: relative; }
.mob summary { list-style: none; cursor: pointer; }
.mob summary::-webkit-details-marker { display: none; }
.mob .panel-m { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 32px)); padding: 12px; background: var(--canvas); border: 1px solid var(--line-2); border-radius: 16px; display: grid; gap: 2px; box-shadow: 0 8px 24px rgba(20,24,28,0.08); }
.mob .panel-m a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
.mob .panel-m a:hover { background: var(--chalk); }
@media (max-width: 1180px) { .menu-l, .nav-r .lang { display: none; } .mob { display: block; } }
@media (max-width: 479px) { .nav-r .btn-book { display: none; } }

/* Sections */
.sec { padding-block: 120px 0; }
@media (max-width: 767px) { .sec { padding-block: 80px 0; } }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head .left { display: grid; gap: 24px; max-width: 760px; justify-items: start; }
.link svg { width: 14px; height: 14px; flex: none; }
.btn-wrap { white-space: normal; height: auto; min-height: 44px; padding-block: 8px; text-align: left; line-height: 1.25; }
.tile { background: var(--chalk); border-radius: 24px; padding: 32px; }
.tile-s { background: var(--chalk); border-radius: 16px; padding: 24px; }
.panel { background: var(--panel); color: var(--on-panel); border-radius: 24px; }
.panel-xl { background: var(--panel); color: var(--on-panel); border-radius: 60px; }
@media (max-width: 767px) { .panel-xl { border-radius: 32px; } .tile { padding: 24px; } }

/* Marquee du nom de marque (signature Resintoi) */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-t { display: inline-flex; gap: 0.35em; animation: mq 60s linear infinite; font-weight: 400; letter-spacing: -0.04em; line-height: 0.95; }
.marquee-t span { display: inline-flex; align-items: center; gap: 0.35em; }
.marquee-t .p-r { color: var(--accent); font-size: 0.5em; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cartes de la base de connaissances (cms-grid-4) */
.kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcard { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: 24px; background: var(--chalk); min-height: 230px; transition: background-color 300ms ease; }
.tcard:hover { background: var(--stone); }
.tcard .t { display: block; margin: 12px 0 10px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.tcard .e { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tcard .go { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.tcard .go svg { width: 14px; height: 14px; }
@media (max-width: 991px) { .tgrid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tgrid, .tgrid.three { grid-template-columns: minmax(0, 1fr); } }
.kgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kcard { position: relative; display: block; border-radius: 24px; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.kcard img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 70%; transition: transform 600ms var(--ease); }
.kcard:hover img { transform: scale(1.03); }
.kinfo { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--canvas); border-radius: 16px; padding: 16px 20px; display: grid; gap: 6px; }
.kinfo .t { font-size: 17px; line-height: 1.3; }
.kinfo .e { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.kinfo .d { color: var(--ink-2); }
@media (max-width: 991px) { .kgrid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kgrid, .kgrid.three { grid-template-columns: minmax(0, 1fr); } .kcard { aspect-ratio: 4 / 4.2; } }

/* FAQ (faq-1) */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-l { display: grid; gap: 24px; justify-items: start; position: sticky; top: 112px; }
.qa { background: var(--chalk); border-radius: 12px; margin-bottom: 8px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 16px; height: 16px; flex: none; transition: transform 300ms var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 991px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; } .faq-l { position: static; } }

/* Contact (contact-1) */
.ct-head { display: grid; gap: 24px; margin-bottom: 48px; }
.ct-h { margin: 0; font-weight: 400; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct { display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 24px; background: var(--chalk); border-radius: 24px; transition: background-color 300ms ease; }
.ct:hover { background: var(--stone); }
.ct-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--canvas); display: grid; place-items: center; }
.ico svg { width: 18px; height: 18px; }
.ct .v { font-size: 20px; line-height: 1.3; }
.ct .s { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 767px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } .ct { min-height: 180px; } }

/* Pied de page */
.foot { margin-top: 120px; background: var(--panel); color: var(--on-panel); position: relative; overflow: hidden; border-radius: 60px 60px 0 0; }
.foot-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.foot-in { position: relative; padding-block: 96px 0; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 64px; }
.foot-top .h { margin: 0 0 32px; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 18ch; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols .label { color: var(--on-panel-2); display: block; margin-bottom: 16px; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cols a { font-size: 15px; color: var(--on-panel); opacity: 0.86; transition: opacity 300ms ease; }
.cols a:hover { opacity: 1; }
.foot .marquee { margin-top: 96px; }
.foot .marquee-t { font-size: clamp(6rem, 16vw, 13rem); color: var(--on-panel); }
.legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px 40px; border-top: 1px solid var(--panel-line); margin-top: 24px; font-size: 13px; color: var(--on-panel-2); }
.legal p { margin: 0; max-width: 80ch; }
.legal .ide { font-family: var(--mono); font-size: 12px; color: var(--on-panel); white-space: nowrap; }
.legal nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal a:hover { color: var(--on-panel); }
@media (max-width: 991px) { .foot-top { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 640px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot { border-radius: 32px 32px 0 0; } }

/* Tableaux */
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th, .tbl td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--chalk); font: 500 11px/1.2 var(--mono); letter-spacing: 0.046rem; text-transform: uppercase; color: var(--ink-2); }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody th { font-weight: 400; color: var(--ink-2); width: 30%; }
@media (max-width: 640px) {
  .tbl-wrap { overflow: visible; border: 0; border-radius: 0; }
  table.tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 16px 18px; margin-bottom: 8px; border-radius: 14px; background: var(--chalk); }
  .tbl tbody th, .tbl td { display: block; width: auto; padding: 0; border: 0; }
  .tbl tbody th { color: var(--ink); font-weight: 500; margin-bottom: 10px; }
  .tbl td + td, .tbl th + td { margin-top: 8px; }
  .tbl td::before { content: attr(data-label); display: block; font: 500 11px/1.2 var(--mono); letter-spacing: 0.046rem; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
}

/* Cachet (petit sceau rouge des étapes officielles) */
.seal { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee-t { animation: none; }
}

html.anim .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 700ms cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
html.anim .rv.in { opacity: 1; transform: none; }
.qcard, .tcard, .gcard, .ct, .svc-t, .kcard { transition: transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.qcard:hover, .tcard:hover, .gcard:hover, .ct:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 24, 28, 0.08); }
.btn .ar { transition: transform 300ms ease; }
.btn:hover .ar { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .qcard:hover, .tcard:hover, .gcard:hover, .ct:hover { transform: none; } .btn:hover .ar { transform: none; } }
