/* pair-it.app (2026-11-14) : les couleurs de l'app, Ivoire le jour, Nuit quand le téléphone est en sombre ; polices de
   l'app (Archivo pour les titres, Manrope pour le texte) ; pas d'émojis, pas de halo. */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2') }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/manrope-latin-500-normal.woff2) format('woff2') }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2') }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/fonts/manrope-latin-700-normal.woff2) format('woff2') }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-800-normal.woff2) format('woff2') }
@font-face { font-family: Archivo; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2') }

:root {
  --bg: #FBF9F5; --surface: #FFFFFF; --raised: #F1ECE3; --ink: #1C1A17; --muted: #78716A; --line: #E9E3D9; --tile: #F4F0E8;
  --accent: #1C1A17; --on-accent: #FBF9F5; --ok: #2F6A45; --no: #9B2C1F;
  --display: Archivo, "Arial Black", Arial, sans-serif; --body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131211; --surface: #1D1B19; --raised: #272421; --ink: #F2EEE8; --muted: #A49D93; --line: #34302B; --tile: #1D1B19;
    --accent: #D9C5A7; --on-accent: #1C160E; --ok: #A9D6A4; --no: #E59A86; color-scheme: dark; }
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased }
a { color: inherit }
img { display: block; max-width: 100% }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px }
.logo { font: 800 19px/1 var(--display); font-stretch: 118%; letter-spacing: 2.5px; text-decoration: none }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px;
  border: 0; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer }
.bouton.petit { min-height: 40px; padding: 0 16px; font-size: 14px }
.bouton.contour { background: none; color: var(--ink); border: 1px solid var(--line) }
.bouton:disabled { opacity: .5; cursor: default }

/* Haut de page */
.hero { padding: 44px 0 56px }
.hero .wrap { display: grid; gap: 40px; align-items: center }
.sur-titre { font: 700 12px/1.3 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px }
h1 { font: 800 clamp(38px, 9vw, 64px)/1.02 var(--display); font-stretch: 104%; letter-spacing: -1px; margin: 0 0 16px }
.chapo { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 34em }
.telephone { justify-self: center; width: min(300px, 78vw); border-radius: 38px; padding: 10px; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(28, 26, 23, .45) }
.telephone img { border-radius: 29px; width: 100%; height: auto; aspect-ratio: 600 / 1298 }

/* Liste d'attente */
.liste { max-width: 560px }
.champ-ligne { display: flex; gap: 8px; flex-wrap: wrap }
.champ-ligne input[type=email] { flex: 1 1 220px; min-height: 52px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); padding: 0 20px; font: 500 16px var(--body); outline: none }
.champ-ligne input[type=email]:focus { border-color: var(--muted) }
.champ-ligne .bouton { flex: 0 0 auto; min-height: 52px }
.accord { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.45 }
.accord input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent) }
.miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.message { margin: 12px 0 0; font-size: 14px; min-height: 1em }
.message.erreur { color: var(--no) }
.rang { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px }
.rang .n { font: 800 44px/1 var(--display); font-stretch: 100%; margin: 4px 0 8px }
.rang p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px }
.rang .lien-ami { display: flex; gap: 8px; flex-wrap: wrap }
.rang code { flex: 1 1 200px; font: 600 14px var(--body); background: var(--raised); border-radius: 12px; padding: 12px 14px; overflow-wrap: anywhere }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line) }
h2 { font: 800 clamp(28px, 6vw, 40px)/1.08 var(--display); font-stretch: 104%; letter-spacing: -.5px; margin: 0 0 12px }
.intro { color: var(--muted); font-size: 17px; max-width: 36em; margin: 0 0 32px }
.etapes { display: grid; gap: 28px }
.etape img { width: 100%; max-width: 260px; height: auto; aspect-ratio: 600 / 1298; border-radius: 26px; border: 1px solid var(--line); background: var(--surface) }
.etape h3 { font: 700 19px/1.25 var(--body); margin: 18px 0 6px }
.etape p { margin: 0; color: var(--muted) }
.etape .num { font: 700 12px var(--body); letter-spacing: 2px; color: var(--muted) }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px }
.duo img { width: 100%; height: auto; aspect-ratio: 640 / 857; border-radius: 18px; object-fit: cover }
.legende { font-size: 13px; color: var(--muted); margin: 10px 0 0 }
.carte { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; max-width: 560px }
.carte h3 { font: 700 19px/1.25 var(--body); margin: 0 0 6px }
.carte p { margin: 0; color: var(--muted) }
.prix { display: grid; gap: 12px; max-width: 760px }
.prix .carte strong { display: block; font: 800 28px/1.1 var(--display); margin: 2px 0 8px }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted) }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px }
footer a { text-decoration: none }
footer a:hover { color: var(--ink) }

/* Pages de texte (aide, confidentialité…) */
.texte { padding-top: 36px; padding-bottom: 64px; max-width: 720px }
.texte h1 { font-size: clamp(32px, 7vw, 46px) }
.texte h2 { font: 700 20px/1.3 var(--body); margin: 32px 0 8px }
.texte p, .texte li { color: var(--ink); line-height: 1.6 }
.texte ul { padding-left: 20px }
.texte .maj { color: var(--muted); font-size: 14px }
.brouillon { background: var(--raised); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin: 0 0 20px }
mark { background: #F3E3A6; color: #1C1A17; padding: 0 2px; border-radius: 3px }
.question { border-top: 1px solid var(--line); padding: 18px 0 }
.question h2 { margin: 0 0 6px }
.question p { margin: 0 }

@media (min-width: 820px) {
  .hero { padding: 72px 0 88px }
  .hero .wrap { grid-template-columns: 1.15fr .85fr }
  .telephone { width: 310px }
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 32px }
  .etape img { max-width: none }
  .bloc-duo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center }
  .prix { grid-template-columns: 1fr 1fr }
  section { padding: 80px 0 }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
