/* RenewMyPage : style du site de la marque. Polices hébergées ici (licence OFL), aucune ressource externe. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
:root {
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --card: #fffdf9;
  --ink: #15171a;
  --ink-2: #44484d;
  --ink-3: #74787d;
  --line: #d9d1c3;
  --accent: #d9481f;
  --accent-ink: #ffffff;
  --deep: #12322a;
  --deep-ink: #f1ece2;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121412; --paper-2: #1a1d1a; --card: #1d211e; --ink: #f0ece4; --ink-2: #c4c2bc;
    --ink-3: #8f918c; --line: #313530; --accent: #f06a3f; --accent-ink: #160b06;
    --deep: #0c1f1a; --deep-ink: #efe9dd; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121412; --paper-2: #1a1d1a; --card: #1d211e; --ink: #f0ece4; --ink-2: #c4c2bc;
  --ink-3: #8f918c; --line: #313530; --accent: #f06a3f; --accent-ink: #160b06;
  --deep: #0c1f1a; --deep-ink: #efe9dd; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: inherit; text-underline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* En-tête */
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.mark { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.mark span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .lang { color: var(--ink); border-bottom: 1px solid var(--ink); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Accroche */
.hero { padding: 28px 0 0; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .row { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 40px; align-items: end; }
.hero .lead { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 22px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; }
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 820px) { .hero .row { grid-template-columns: 1fr; gap: 20px; } }

/* Comparateur avant / après */
.compare-wrap { margin: 44px 0 0; }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), 0 0 0 1px var(--line); user-select: none; }
.compare > .pane { position: absolute; inset: 0; }
.compare > .after { clip-path: inset(0 0 0 var(--pos)); background: #f4eee4; }
.compare .live { position: absolute; top: 0; left: var(--pos); border: 0; width: var(--base, 1280px); height: calc(100% / var(--s, 1)); transform: scale(var(--s, 1)); transform-origin: 0 0; pointer-events: none; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #15171a; display: grid; place-items: center; font: 600 18px/1 var(--sans); letter-spacing: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; bottom: 14px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; pointer-events: none; }
.compare .tag.l { left: 14px; }
.compare .tag.r { right: 14px; }
.compare-cap { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 640px) { .compare { aspect-ratio: 4 / 5; } }

/* « Avant » : site daté */
.old { background: #d8d2c4; font-family: "Times New Roman", Times, serif; color: #333; padding: 2.2% 3%; overflow: hidden; }
.old .ban { background: #6b7b3a; color: #ffef9f; text-align: center; font: bold clamp(14px, 2.4vw, 30px)/1.2 "Comic Sans MS", "Chalkboard SE", cursive; padding: 1.4% 0; border: 3px ridge #b9c48a; }
.old .marq { background: #ffef9f; color: #a00; font-size: clamp(9px, 1.1vw, 13px); padding: 2px 6px; white-space: nowrap; overflow: hidden; border: 1px solid #998; }
.old .cols { display: grid; grid-template-columns: 24% 1fr; gap: 2%; margin-top: 2%; height: 100%; }
.old .menu { background: #efe9d8; border: 2px outset #ccc; padding: 4%; font-size: clamp(9px, 1.15vw, 14px); line-height: 1.9; }
.old .menu a { color: #00e; }
.old .main { background: #fff; border: 1px solid #999; padding: 2.5%; font-size: clamp(9px, 1.1vw, 13px); line-height: 1.35; }
.old .main h2 { font: bold clamp(12px, 1.6vw, 20px) "Times New Roman", serif; color: #800; text-decoration: underline; letter-spacing: 0; margin-bottom: 6px; }
.old .photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 6px 0; }
.old .photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 2px solid #fff; outline: 1px solid #999; filter: blur(.8px) saturate(.55) contrast(.85) brightness(1.08); image-rendering: pixelated; }
.old .cnt { font-size: clamp(8px, .9vw, 11px); text-align: center; margin-top: 6px; color: #666; }
.old .cnt b { font-family: "Courier New", monospace; background: #000; color: #0f0; padding: 0 4px; }
@media (max-width: 640px) { .old .cols { grid-template-columns: 1fr; } .old .menu { line-height: 1.5; } }

/* « Après » : le site refait (gîte fictif) */
.new { background: #f3ede2; color: #1d2a24; font-family: var(--sans); display: flex; flex-direction: column; }
.new .nb { display: flex; justify-content: space-between; align-items: center; padding: 2.2% 4%; font-size: clamp(9px, 1.1vw, 14px); position: absolute; top: 0; left: 0; right: 0; z-index: 2; color: #fff; }
.new .nb b { font: 600 clamp(12px, 1.7vw, 22px)/1 var(--serif); letter-spacing: -.01em; }
.new .nb .menu { display: flex; gap: 1.6em; opacity: .92; }
.new .nb .menu span:last-child { background: #fff; color: #1d2a24; padding: .45em 1em; border-radius: 99px; font-weight: 600; }
.new .scene { position: relative; flex: 1; overflow: hidden; }
.new .scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.new .copy { position: absolute; left: 4%; bottom: 9%; color: #fff; max-width: 58%; z-index: 2; }
.new .copy small { font-size: clamp(8px, 1vw, 13px); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.new .copy h3 { font: 600 clamp(20px, 4.4vw, 58px)/1 var(--serif); letter-spacing: -.02em; margin: .2em 0 .3em; color: #fff; }
.new .copy p { font-size: clamp(9px, 1.15vw, 15px); opacity: .95; margin: 0; }
.new .book { position: absolute; right: 4%; bottom: 9%; z-index: 2; background: #fffaf2; color: #1d2a24; border-radius: 12px; padding: 1.4% 1.8%; font-size: clamp(8px, 1vw, 13px); display: grid; gap: .4em; min-width: 22%; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.new .book b { font: 600 clamp(11px, 1.4vw, 18px)/1.1 var(--serif); }
.new .book span { background: #c8562b; color: #fff; text-align: center; border-radius: 99px; padding: .5em 0; font-weight: 600; }
@media (max-width: 640px) { .new .nb .menu span:not(:last-child) { display: none; } .new .copy { max-width: 88%; bottom: 26%; } .new .book { left: 4%; right: 4%; bottom: 5%; grid-template-columns: 1fr auto; align-items: center; } }

/* Bandeau des métiers */
.trades { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.trades .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--ink-2); }
.trades .wrap span::before { content: "✦"; color: var(--accent); margin-right: 10px; font-size: .7em; vertical-align: .2em; }

/* Sections */
section { padding: 88px 0; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
section h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: 18px; }
.intro { color: var(--ink-2); font-size: 1.1rem; max-width: 36em; margin-bottom: 40px; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex { text-decoration: none; display: block; }
.ex .frame { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.ex:hover .frame { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(0,0,0,.4); }
.ex iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.ex h3 { font-size: 1.45rem; margin: 16px 0 4px; }
.ex p { color: var(--ink-3); margin: 0; font-size: .95rem; }
.ex .go { color: var(--accent); font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .examples { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .examples { grid-template-columns: 1fr; } .ex .frame { aspect-ratio: 4 / 3; } }

/* Étapes */
.dark { background: var(--deep); color: var(--deep-ink); }
.dark .intro { color: rgba(239, 233, 221, .75); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(239,233,221,.2); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(239,233,221,.2); }
.steps .n { font: italic 600 3.4rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--deep-ink); }
.steps p { color: rgba(239, 233, 221, .78); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(239,233,221,.2); } }

/* Ce qui est compris */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.included div { padding: 22px 0; border-top: 1px solid var(--line); }
.included h3 { font-size: 1.35rem; margin-bottom: 6px; }
.included p { color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .included { grid-template-columns: 1fr; } }

/* Tarifs */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price { background: var(--card); border-radius: 16px; padding: 32px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.price.feature { background: var(--ink); color: var(--paper); box-shadow: none; }
.price .name { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.price .amount { font: 600 clamp(3rem, 7vw, 4.6rem)/1 var(--serif); letter-spacing: -.03em; margin: 14px 0 6px; }
.price .amount small { font: 500 1rem var(--sans); letter-spacing: 0; opacity: .7; }
.price .terms { opacity: .75; margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 8px; }
.price li { padding: 10px 0; border-top: 1px solid var(--line); }
.price.feature li { border-color: rgba(245, 241, 234, .18); }
.fine { font-size: .9rem; color: var(--ink-3); margin-top: 20px; max-width: 52em; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* Questions */
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.qa div { padding: 22px 0; border-top: 1px solid var(--line); }
.qa h3 { font-size: 1.25rem; margin-bottom: 8px; }
.qa p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: left; padding: 96px 0 72px; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.2rem, 7vw, 5rem); max-width: 14ch; }
.contact .mail { font: 600 clamp(1.4rem, 4vw, 2.4rem)/1.2 var(--serif); color: var(--accent); text-decoration: none; border-bottom: 2px solid currentColor; display: inline-block; margin: 18px 0 14px; word-break: break-all; }
.contact p { color: var(--ink-2); }

/* Pages légales */
.doc { padding: 32px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.doc h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.doc .meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 2em; }
.doc a { color: var(--accent); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.doc .btn { color: var(--paper); }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .88rem; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--ink-2); }
