/* Artosera — feuille de style commune du site artosera.com
   Identité reprise de venio.paris/artosera : DM Serif Display, DM Sans,
   IBM Plex Mono, cerise sombre #7A1026 sur fond #FAF7F7. Mono-thème assumé :
   fond et couleurs peints explicitement, pas d’inversion sombre. */

@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }

:root {
  --ground: #FAF7F7;
  --surface: #FFFFFF;
  --ink: #14171A;
  --muted: #665C5E;
  --faint: #9AA09B;
  --hair: #E3DADC;
  --rule: #14171A;
  --accent: #7A1026;
  --accent-soft: #F3E1E5;
  --accent-ink: #FAF7F7;
  --display: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: none; margin: 0 auto; padding: 0 clamp(24px, 4vw, 72px); }
.wrap.narrow { max-width: 900px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 10px; z-index: 10; }

/* En-tête */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.brand { font-family: var(--display); font-size: 24px; letter-spacing: -0.01em; }
.brand span { font-family: var(--body); font-size: 14px; color: var(--muted); letter-spacing: 0.01em; margin-left: 2px; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 14px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); }
.top nav .lang { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); }
.top nav .lnk { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.top nav .lnk:hover { color: var(--ink); }
@media (max-width: 900px) { .top nav .hide { display: none; } }

/* Boutons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14.5px; padding: 13px 26px; border: 1px solid var(--accent); border-radius: 10px; transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Ouverture de page intérieure */
.page-head { padding: 64px 0 8px; border-bottom: 1px solid var(--rule); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.015em; margin: 0; max-width: 20ch; text-wrap: balance; }
.lede { font-size: 21px; line-height: 1.5; max-width: 62ch; margin: 24px 0 32px; }
.lede b { font-weight: 600; }

/* Sections numérotées */
section.s { display: grid; grid-template-columns: 160px 1fr; gap: 24px 40px; padding: 64px 0 24px; border-top: 1px solid var(--rule); }
section.s:first-of-type { border-top: 0; }
section.s > * { min-width: 0; }
section.s .idx { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--accent); }
section.s .idx small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 24ch; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 400; }
.prose p { font-size: 17.5px; max-width: 68ch; margin: 0 0 14px; }
.prose p.strong { font-weight: 600; }
.cap, figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
figure { margin: 0; }
@media (max-width: 900px) { section.s { grid-template-columns: 1fr; gap: 12px; } section.s .idx { font-size: 28px; } section.s .idx small { display: inline; margin-left: 12px; } }

/* Colonnes */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.col { padding: 22px 24px 26px 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.col:last-child { border-right: 0; }
.col + .col { padding-left: 24px; }
.col .k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.col h3 { font-size: 26px; margin: 0 0 10px; line-height: 1.1; }
.col p { margin: 0 0 12px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) { .cols, .cols.two { grid-template-columns: 1fr; } .col { border-right: 0; padding: 18px 0; } .col + .col { padding-left: 0; } }

/* Listes de points */
ul.pts { margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
ul.pts li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--hair); position: relative; color: var(--ink); }
ul.pts li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 1px; background: var(--accent); }
ul.pts li:last-child { border-bottom: 0; }

/* Chiffres */
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; background: var(--accent); color: var(--accent-ink); }
.fig { padding: 22px 24px 24px; border-right: 1px solid rgba(250,247,247,0.22); }
.fig:last-child { border-right: 0; }
.fig .v { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.fig .l { font-size: 14px; margin-top: 8px; opacity: 0.92; }
@media (max-width: 860px) { .figs { grid-template-columns: 1fr 1fr; } .fig:nth-child(2n) { border-right: 0; } }

/* Engagements numérotés */
.engage { border-top: 1px solid var(--rule); margin-top: 28px; }
.eng { display: grid; grid-template-columns: 56px 1.1fr 1.3fr 1fr; gap: 16px 28px; padding: 22px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.eng .n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 6px; }
.eng h3 { font-size: 24px; margin: 0; line-height: 1.15; }
.eng .m { font-size: 15.5px; margin: 0; }
.eng .m b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.eng ul { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.eng ul li { padding: 3px 0; }
@media (max-width: 960px) { .eng { grid-template-columns: 40px 1fr; } .eng .m, .eng ul { grid-column: 2; } }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
.plan { padding: 26px 26px 30px 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.plan + .plan { padding-left: 26px; }
.plan:last-child { border-right: 0; }
.plans.two { grid-template-columns: repeat(2, 1fr); }
.plan.featured { background: var(--surface); }
.plan .nm { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.plan .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; min-height: 16px; }
.plan .price { font-family: var(--display); font-size: 46px; line-height: 1; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.plan .per { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.plan ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; }
.plan ul li { padding: 8px 0 8px 18px; border-top: 1px solid var(--hair); position: relative; color: var(--muted); }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 1px; background: var(--accent); }
.plan .actions { margin-top: 22px; }
.plans-note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 14px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; padding: 22px 0; } .plan + .plan { padding-left: 0; } }

/* Tableau comparatif */
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15.5px; }
.table caption { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.table th, .table td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.table thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--rule); }
.table tbody th { font-weight: 600; }
.table td.y { color: var(--accent); }
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll .table { min-width: 640px; }

/* Cartes de modèles de site */
.mocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.mock-card { display: block; border: 1px solid var(--hair); background: var(--surface); border-radius: 10px; overflow: hidden; }
.mock-card .frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--hair); }
.mock-card iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.mock-card .cartel { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mock-card .cartel b { font-family: var(--display); font-weight: 400; font-size: 21px; display: block; }
.mock-card .cartel span.d { font-size: 14px; color: var(--muted); }
.mock-card .go { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.mock-card:hover { border-color: var(--accent); }
.mock-card:hover .go { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .mocks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mocks { grid-template-columns: 1fr; } }

/* Appareils */
.devices { display: grid; grid-template-columns: 1.55fr 0.62fr 0.3fr; gap: clamp(12px, 2vw, 28px); align-items: end; margin-top: 44px; }
.dev { position: relative; }
.dev .screen { position: relative; overflow: hidden; background: var(--surface); }
.dev iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.laptop .screen { aspect-ratio: 16 / 10; border: 13px solid #1c1c1f; border-bottom-width: 16px; border-radius: 12px 12px 3px 3px; }
.laptop .foot { width: 92%; height: 13px; margin: 0 auto; background: linear-gradient(#2a2a2e, #141416); border-radius: 0 0 10px 10px; }
.laptop .foot i { display: block; width: 14%; height: 4px; margin: 0 auto; background: #0e0e10; border-radius: 0 0 4px 4px; }
.tablet .screen { aspect-ratio: 3 / 4; border: 9px solid #1c1c1f; border-radius: 16px; box-shadow: -14px 10px 30px rgba(20,23,26,0.16); }
.phone .screen { aspect-ratio: 9 / 19; border: 7px solid #1c1c1f; border-radius: 18px; box-shadow: -12px 10px 26px rgba(20,23,26,0.18); }
.phone .notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 5px; background: #1c1c1f; border-radius: 0 0 5px 5px; z-index: 2; }
@media (max-width: 760px) { .devices { grid-template-columns: 1fr; } .tablet, .phone { display: none; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
.step { padding: 20px 22px 24px 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.step + .step { padding-left: 22px; }
.step:last-child { border-right: 0; }
.step .w { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { font-size: 24px; margin: 8px 0; line-height: 1.1; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2n) { border-right: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; padding: 16px 0; } .step + .step { padding-left: 0; } }

/* Encadré */
.note { background: var(--accent-soft); padding: 18px 22px; margin-top: 22px; font-size: 15.5px; max-width: 68ch; border-radius: 10px; }
.note b { font-weight: 600; }

/* Questions */
.qa { border-top: 1px solid var(--rule); margin-top: 28px; }
.qa details { border-bottom: 1px solid var(--hair); padding: 16px 0; }
.qa summary { font-family: var(--display); font-size: 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; }
.qa details[open] summary::after { content: "–"; }
.qa p { font-size: 16px; color: var(--muted); margin: 12px 0 0; max-width: 68ch; }

/* Appel final */
.cta { margin-top: 80px; background: var(--ink); color: var(--ground); padding: 64px 0 72px; }
.cta h2 { color: var(--ground); max-width: 24ch; }
.cta p { max-width: 56ch; font-size: 18px; margin: 0 0 26px; opacity: 0.9; }
.cta .btn { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.cta .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta .mail { display: block; margin-top: 18px; font-family: var(--mono); font-size: 13px; opacity: 0.75; }

/* Formulaire */
.form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.form input[type="email"] { font-family: var(--body); font-size: 15.5px; padding: 12px 16px; border: 1px solid var(--hair); border-radius: 10px; background: var(--surface); color: var(--ink); min-width: 280px; }
.form input[type="email"]:focus-visible { border-color: var(--accent); }
.cta .form input[type="email"] { background: transparent; color: var(--ground); border-color: rgba(250,247,247,0.35); }
.cta .form input[type="email"]::placeholder { color: rgba(250,247,247,0.55); }
.form .msg { flex-basis: 100%; font-family: var(--mono); font-size: 12px; margin-top: 4px; }
.form .msg[data-state="ok"] { color: #1E7A4B; }
.cta .form .msg[data-state="ok"] { color: #9BE3BD; }
.form .msg[data-state="err"] { color: var(--accent); }
.cta .form .msg[data-state="err"] { color: #F0A9B6; }

/* Références */
.refs { border-top: 1px solid var(--rule); margin-top: 28px; }
.ref { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px 28px; padding: 18px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.ref .nm { font-family: var(--display); font-size: 22px; }
.ref .d { font-size: 15px; color: var(--muted); }
.ref .go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.ref:hover .go { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .ref { grid-template-columns: 1fr; gap: 4px; } }

/* Pied de page */
footer.site { border-top: 1px solid var(--rule); margin-top: 72px; padding: 32px 0 48px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px 32px; font-size: 14.5px; color: var(--muted); }
footer.site .brand { color: var(--ink); display: inline-block; margin-bottom: 10px; }
footer.site h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; font-weight: 500; }
footer.site ul { margin: 0; padding: 0; list-style: none; }
footer.site li { padding: 4px 0; }
footer.site a:hover { color: var(--ink); }
footer.site .sig { max-width: 34ch; }
.legal { border-top: 1px solid var(--hair); padding: 16px 0 40px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { footer.site { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site { grid-template-columns: 1fr; } }

/* Pages de texte */
.doc h2 { font-size: 30px; margin-top: 40px; }
.doc h3 { font-size: 21px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16.5px; color: var(--ink); max-width: 72ch; }
.doc ul { padding-left: 20px; }
.doc .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
