/* Senzer — système visuel partagé (site + réels) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(assets/fonts/bricolage-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(assets/fonts/bricolage-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; }

:root {
  --orange: #ff5b14;
  --orange-deep: #d94200;
  --orange-tint: #ffe2d1;
  --cream: #fbf1e6;
  --cream-deep: #f5e3d0;
  --ink: #161412;
  --ink-soft: #3a2a22;
  --paper: #ffffff;
  --paper-warm: #fff6f0;
  --line: 2.5px;
  --r-bubble: 22px;
  --r-card: 24px;
  --shadow: 0 14px 28px -16px rgba(60, 20, 0, 0.55), 0 2px 0 rgba(22, 20, 18, 0.04);
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(255, 91, 20, 0.28) 1.3px, transparent 1.7px);
  background-size: 20px 20px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
/* Formes orange en fond (bulles de message, au trait) */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain;
}
body::before {
  width: min(520px, 70vw); aspect-ratio: 1; top: -120px; right: -150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M30 20h140a20 20 0 0 1 20 20v90a20 20 0 0 1-20 20H80l-38 32v-32H30a20 20 0 0 1-20-20V40a20 20 0 0 1 20-20Z' fill='%23ff5b14'/%3E%3Ccircle cx='65' cy='85' r='10' fill='%23fbf1e6'/%3E%3Ccircle cx='100' cy='85' r='10' fill='%23fbf1e6'/%3E%3Ccircle cx='135' cy='85' r='10' fill='%23fbf1e6'/%3E%3C/svg%3E");
  transform: rotate(-8deg); opacity: 0.95;
}
body::after {
  width: min(380px, 55vw); aspect-ratio: 1; bottom: -110px; left: -120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M170 20H30a20 20 0 0 0-20 20v90a20 20 0 0 0 20 20h90l38 32v-32h12a20 20 0 0 0 20-20V40a20 20 0 0 0-20-20Z' fill='none' stroke='%23ff5b14' stroke-width='9'/%3E%3C/svg%3E");
  transform: rotate(10deg);
}
::selection { background: var(--ink); color: var(--orange); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
button { font: inherit; color: inherit; cursor: pointer; }
html { scrollbar-color: var(--orange) var(--cream); }

.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: -0.035em; text-decoration: none; }
.wordmark .dot-ia {
  font-size: 0.62em; letter-spacing: 0; background: var(--orange); border: var(--line) solid var(--ink);
  border-radius: 999px 999px 999px 4px; padding: 0.05em 0.55em 0.12em; transform: translateY(-0.25em);
}

/* ---------- Avatar ---------- */
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--paper);
  border: var(--line) solid var(--ink); overflow: hidden; flex: none; position: relative;
}
.avatar img { width: 128%; max-width: none; margin: 6% 0 0 -14%; }
.avatar--xl { width: 112px; height: 112px; border-width: 3px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; padding: 3px 9px 4px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--paper); white-space: nowrap;
}
.chip--fill { background: var(--orange); color: var(--ink); }
.chip--ink { background: var(--ink); color: var(--paper); }

/* ---------- Thread (page d'accueil = conversation DM) ---------- */
.thread { max-width: 540px; margin: 0 auto; padding: 22px 16px 132px; }
.thread-head { display: flex; align-items: center; gap: 14px; padding: 8px 2px 22px; }
.thread-head h1 { margin: 0; font-size: 30px; line-height: 1; }
.thread-head p { margin: 4px 0 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.thread-day { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); margin: 4px 0 14px; }

.msg { display: flex; margin: 8px 0; }
.msg--them { justify-content: flex-start; }
.msg--me { justify-content: flex-end; }
.bubble {
  max-width: 86%; padding: 12px 16px 13px; border: var(--line) solid var(--ink);
  font-size: 18px; line-height: 1.38; font-weight: 500; text-wrap: pretty;
}
.msg--them .bubble { background: var(--paper); border-radius: var(--r-bubble) var(--r-bubble) var(--r-bubble) 6px; }
.msg--me .bubble { background: var(--ink); color: var(--paper); border-radius: var(--r-bubble) var(--r-bubble) 6px var(--r-bubble); }
.bubble strong { font-weight: 800; }
.bubble .kw { background: var(--orange); color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 800; }
.bubble--big { font-size: 26px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }

/* Cartes-pièces jointes dans la conversation */
.attach { display: grid; gap: 12px; margin: 10px 0 8px; }
.card {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; position: relative;
  text-decoration: none; background: var(--paper); border: var(--line) solid var(--ink);
  border-radius: var(--r-card); padding: 12px 14px 12px 12px; box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-3px) rotate(-0.4deg); box-shadow: 0 22px 34px -18px rgba(60, 20, 0, 0.6); }
.card:active { transform: translateY(0) scale(0.99); }
.card-pic { width: 84px; height: 84px; border-radius: 16px; background: var(--orange-tint); overflow: hidden; border: 2px solid var(--ink); }
.card-pic img { width: 150%; max-width: none; margin: 4% 0 0 -25%; }
.card h2 { margin: 0 40px 6px 0; font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
.card p { margin: 6px 0 0; font-size: 15px; line-height: 1.38; color: var(--ink-soft); }
.card .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.card .go { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; position: absolute; top: 12px; right: 12px; transition: background 0.25s; }
.card:hover .go { background: var(--orange); }
.card--hero { background: var(--ink); color: var(--paper); }
.card--hero p { color: #e9d6cb; }
.card--hero .card-pic { background: var(--orange); border-color: var(--paper); }
.card--hero .go { border-color: var(--paper); }
.card--hero .chip { border-color: var(--paper); }

/* Barre d'envoi (signature) */
.composer-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--cream) 62%, rgba(251, 241, 230, 0));
}
.composer {
  max-width: 540px; margin: 0 auto; display: flex; gap: 8px; align-items: center;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px; padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow);
}
.composer label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.composer input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink);
}
.composer input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: #8a6f62; }
.composer button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 11px 16px 12px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.composer button:hover { background: var(--orange-deep); }
.composer button:active { transform: scale(0.96); }
.composer-hint { max-width: 540px; margin: 7px auto 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); min-height: 1.3em; }

/* Arrivée des messages, une seule animation de page */
.arrive { animation: arrive 0.5s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.foot { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 34px; }
.foot a { margin: 0 6px; }

/* ---------- Pages d'offre ---------- */
.topbar { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 15px; }
.topbar .wordmark { font-size: 24px; }

.offer-hero { max-width: 1080px; margin: 0 auto; padding: 28px 20px 56px; display: grid; gap: 28px; }
.offer-hero h1 { margin: 0; font-size: clamp(44px, 9vw, 92px); line-height: 0.94; letter-spacing: -0.04em; font-weight: 800; text-wrap: balance; }
.offer-hero h1 .hl { background: var(--orange); border: 3px solid var(--ink); border-radius: 18px; padding: 0 0.14em; display: inline-block; transform: rotate(-1.5deg); }
.offer-hero .lead { font-size: 20px; line-height: 1.45; max-width: 34ch; margin: 0; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price b { font-size: 64px; line-height: 1; letter-spacing: -0.04em; }
.price span { font-weight: 600; font-size: 15px; }
.hero-figure { position: relative; justify-self: center; width: min(320px, 78vw); }
.hero-figure .disc { aspect-ratio: 1; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); overflow: hidden; box-shadow: var(--shadow); }
.hero-figure .disc img { width: 112%; max-width: none; margin: 10% 0 0 -6%; }
.hero-figure .say { position: absolute; left: -8px; top: 6%; }
.hero-figure .say .bubble { font-size: 16px; padding: 9px 13px 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px;
  padding: 15px 24px 16px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--orange); }
.fine { font-size: 14px; font-weight: 600; margin: 12px 0 0; max-width: 46ch; }

.sheet { background: var(--paper); border-top: 3px solid var(--ink); border-radius: 36px 36px 0 0; }
.sheet-in { max-width: 1080px; margin: 0 auto; padding: 64px 20px 72px; }
.sheet h2 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 28px; font-weight: 800; text-wrap: balance; max-width: 18ch; }
.sheet section + section { margin-top: 84px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 640px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 19px; line-height: 1.4; font-weight: 500; }
.ticks .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); display: grid; place-items: center; }

.steps { display: grid; gap: 0; border: var(--line) solid var(--ink); border-radius: var(--r-card); overflow: hidden; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 22px 22px; align-items: start; }
.step + .step { border-top: 2px solid var(--ink); }
.step .t { font-weight: 800; font-size: 15px; background: var(--orange-tint); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 0 5px; text-align: center; }
.step h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.examples { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ex { border: var(--line) solid var(--ink); border-radius: var(--r-card); padding: 20px; background: var(--paper-warm); display: grid; gap: 10px; align-content: start; }
.ex h3 { margin: 0; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; }
.ex p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.ex .gain { font-weight: 800; font-size: 15px; }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; font-weight: 500; }

details { border-bottom: 2px solid var(--ink); max-width: 760px; }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary .plus { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background 0.2s; }
details[open] summary .plus { transform: rotate(45deg); background: var(--orange); }
details p { margin: 0 0 20px; font-size: 17px; color: var(--ink-soft); max-width: 62ch; }

.closer { background: var(--ink); color: var(--paper); }
.closer .sheet-in { text-align: center; display: grid; justify-items: center; gap: 18px; }
.closer h2 { color: var(--paper); max-width: 16ch; margin: 0; }
.closer p { margin: 0; color: #e9d6cb; font-size: 18px; max-width: 40ch; }

/* Guides */
.how { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how .ex { background: var(--paper); }
.guide-list { display: grid; gap: 12px; }
.guide { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; border: var(--line) solid var(--ink); border-radius: 20px; padding: 16px 16px 16px 20px; }
.guide h3 { margin: 0; font-size: 19px; letter-spacing: -0.015em; }
.guide p { margin: 3px 0 0; font-size: 15px; color: var(--ink-soft); }
.copy-kw { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--orange); border-radius: 999px; padding: 8px 14px 9px; font-weight: 800; letter-spacing: 0.04em; transition: background 0.2s, transform 0.2s var(--ease); }
.copy-kw:hover { background: var(--ink); color: var(--paper); }
.copy-kw:active { transform: scale(0.95); }
.copy-kw[data-done] { background: var(--ink); color: var(--paper); }
.empty { border: 2px dashed var(--ink); border-radius: 20px; padding: 22px; font-size: 17px; font-weight: 500; }

@media (min-width: 860px) {
  .offer-hero { grid-template-columns: 1.25fr 0.75fr; align-items: center; padding-top: 40px; padding-bottom: 80px; }
  .thread { padding-top: 48px; }
}
/* Bureau : le fond orange porte la marque */
.deco { display: none; }
@media (min-width: 1100px) {
  .deco { display: block; position: fixed; top: 0; bottom: 0; width: calc((100vw - 540px) / 2); pointer-events: none; overflow: hidden; }
  .deco--l { left: 0; }
  .deco--r { right: 0; }
  .deco-word { position: absolute; left: 48px; bottom: 40px; font-weight: 800; font-size: clamp(64px, 7vw, 118px); line-height: 0.88; letter-spacing: -0.045em; color: var(--orange); }
  .deco-disc { position: absolute; right: 56px; top: 14vh; width: min(260px, 20vw); aspect-ratio: 1; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); overflow: hidden; box-shadow: var(--shadow); transform: rotate(4deg); }
  .deco-disc img { width: 112%; max-width: none; margin: 10% 0 0 -6%; }
  .deco-say { position: absolute; right: 70px; white-space: nowrap; top: calc(14vh + min(260px, 20vw) + 18px); transform: rotate(-2deg); }
}
@media (max-width: 420px) {
  .card { grid-template-columns: 68px 1fr; gap: 12px; align-items: start; }
  .card-pic { width: 68px; height: 68px; border-radius: 14px; }
  .card h2 { font-size: 19px; }
  .bubble { font-size: 16.5px; padding: 10px 14px 11px; }
  .bubble--big { font-size: 22px; }
  .thread { padding-top: 14px; }
  .thread-head { padding-bottom: 12px; }
  .thread-head .avatar--xl { width: 80px; height: 80px; }
  .thread-day { margin-bottom: 8px; }
  .msg { margin: 6px 0; }
  .hero-figure { width: 230px; }
  .offer-hero { padding-bottom: 40px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step .t { justify-self: start; padding: 4px 12px 5px; }
  .composer button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pages légales */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(24px, 4vw, 30px); margin: 44px 0 12px; max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 68ch; }
.legal ul { padding-left: 1.2em; }
.legal .box { border: 2px solid var(--ink); border-radius: 18px; padding: 18px 20px; background: var(--paper-warm); margin: 16px 0; }
.legal .muted { color: var(--ink-soft); font-size: 15px; }
.legal-foot { background: var(--paper); border-top: 2px solid var(--ink); }
.legal-foot .in { max-width: 1080px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
@media (max-width: 600px) {
  body::before { width: 240px; top: -110px; right: -120px; opacity: 0.9; }
  body::after { width: 200px; bottom: -90px; left: -100px; }
}
@media (min-width: 1100px) {
  body::after { left: auto; right: -90px; bottom: -100px; transform: rotate(-10deg) scaleX(-1); }
  .deco-say .bubble { white-space: nowrap; }
}
