/* Rikomory — site d'avant la sortie, d'après la maquette RIKOMORY-PRELAUNCH-WEBSITE (390 px, 2026-11-23). */

:root {
  --orange: #E34818;
  --dark: #252629;
  --footer: #3D3F45;
  --text: #1F2024;
  --blue: #CEDFF3;
  --pink: #EEE1FD;
  --yellow: #F3E5BA;
  --line: rgba(255, 255, 255, 0.35);
  --muted: #A9ABB0;
  /* Titres : Archivo en attendant une licence commerciale de Newake (la version démo est réservée à l'usage personnel). */
  --font-title: "Archivo", "Noto Sans JP", sans-serif;
  --font-text: "Roboto", "Noto Sans JP", "Hiragino Sans", sans-serif;
  /* Japonais (Thomas, 2026-11-23) : titres Zen Kaku Gothic New Black, texte Noto Sans JP. */
  --font-title-ja: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body:lang(ja) { font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Sélecteur de langue ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
}
.lang__item { color: rgba(255, 255, 255, 0.45); text-decoration: none; padding: 2px 0; }
.lang__item.is-active { color: #fff; font-weight: 500; }
a.lang__item:hover { color: #fff; }
.lang__sep { width: 1px; height: 14px; background: #fff; }

/* ---------- Premier écran ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 96px;
  color: #fff;
  text-align: center;
  background: var(--orange) url("/images/cover.jpg") center / cover no-repeat;
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  padding: 40px 0 24px;
}
.hero__brand { margin: 0 0 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Contour fin clair autour de l'icône, comme sur la maquette. */
.hero__icon { width: 48px; height: 48px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.5); }
.hero__wordmark { width: 166px; }
.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.hero__title:lang(ja) { font-family: var(--font-title-ja); font-weight: 900; letter-spacing: 0.02em; font-size: 22px; line-height: 1.5; }
.hero__lead { margin: 0 0 36px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.88); }
.hero__lead:lang(ja) { line-height: 1.8; }
.hero__soon { margin: 0 0 10px; font-size: 12px; color: rgba(255, 255, 255, 0.9); }
.badges { display: flex; justify-content: center; gap: 14px; margin-bottom: 72px; }
.badges img { height: 40px; width: auto; }
.hero__insta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* Petit visuellement, zone de toucher ≥ 44 px (charte 3d). */
  min-height: 44px;
  padding: 0 4px;
  background: none;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.hero__insta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 24px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  margin: 0 -12px;
}
.hero__insta:hover::before { background: rgba(255, 255, 255, 0.12); }
.hero__down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  /* 38 px (Thomas, 2026-11-23) ; zone de toucher gardée à 44 px par ::after. */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.hero__down::after { content: ""; position: absolute; inset: -3px; }
.hero__down svg { width: 14px; height: 14px; fill: var(--orange); margin-top: 2px; }

/* ---------- Les 3 étapes ---------- */
.steps-wrap { padding: 7px; }
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 7px;
  /* Pleine largeur ; marge autour = espace entre les cartes (7 px), Thomas 2026-11-27. */
}
.step {
  border-radius: 24px;
  padding: 23px; /* même padding des 4 côtés, moitié de 46 px (Thomas, 2026-11-27) */
  text-align: center;
}
.step--blue { background: var(--blue); }
.step--pink { background: var(--pink); }
.step--yellow { background: var(--yellow); }
.step h3 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.step h3:lang(ja) { font-family: var(--font-title-ja); font-weight: 900; letter-spacing: 0.02em; font-size: 20px; }
.step p { margin: 0 auto; max-width: 320px; font-size: 14px; line-height: 20px; }
.step__phone { width: 200px; margin: 32px auto 0; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { display: flex; flex-direction: column; align-items: center; }
  .step__phone { margin-top: auto; padding-top: 32px; width: 220px; }
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--footer);
  color: #fff;
  border-radius: 24px 24px 0 0;
}
/* Lignes du pied de page en pleine largeur, marge de 56 px sur les côtés (Thomas, 2026-11-23). */
.footer__inner { padding: 56px 56px 40px; }
.footer__logo { display: block; width: 130px; margin: 0 auto 36px; opacity: 0.55; }
.footer__group {
  display: grid;
  grid-template-columns: 1fr 124px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.footer__group h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.footer__group ul { list-style: none; margin: 0; padding: 0; }
.footer__group li a {
  display: block;
  padding: 0 0 18px;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.footer__group li a:hover { text-decoration: underline; }
.footer__social {
  display: flex;
  justify-content: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__insta {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.footer__insta svg { width: 18px; height: 18px; fill: #fff; }
.footer__copy { margin: 36px 0 0; text-align: center; font-size: 11px; color: var(--muted); }

/* ---------- Pages légales et utiles ---------- */
.subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--orange) url("/images/cover.jpg") center / cover no-repeat;
}
.subhead__logo { display: flex; align-items: center; gap: 10px; }
.subhead__logo img:first-child { border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.5); }
.doc {
  /* pleine largeur sur toutes les tailles d'écran, comme les cartes de l'accueil (Thomas, 2026-11-27) */
  margin: 7px;
  padding: 20px; /* même padding des 4 côtés, moitié de 40 px ; marge 7 px comme l'accueil (Thomas, 2026-11-27) */
  background: #F7F5F1;
  border-radius: 24px;
  min-height: 50vh;
}
/* Grand écran : plus d'espace dans l'encart, 56 px des 4 côtés = marge du pied de page (Thomas, 2026-11-27) */
@media (min-width: 900px) { .doc { padding: 56px; } }
.doc h1 {
  margin: 0 0 20px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.doc h1:lang(ja) { font-family: var(--font-title-ja); font-weight: 900; letter-spacing: 0.02em; }
.placeholder { color: #6A6A6A; }
.doc { line-height: 1.7; font-size: 15px; }
.doc h2 { margin: 32px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc li ul { margin: 4px 0 0; }
.doc a { color: var(--orange); overflow-wrap: anywhere; }
.doc__table { overflow-x: auto; margin: 0 0 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { border: 1px solid #DDD8CF; padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #EFEBE4; font-weight: 700; }

/* Japonais : couper les lignes entre les mots (navigateurs récents). */
:lang(ja) { word-break: auto-phrase; }

/* Grand écran : pied de page aligné à gauche (Thomas, 2026-11-23).
   Marge = espace entre le haut du pied de page et le logo (56 px). */
@media (min-width: 900px) {
  .footer__inner {
    display: grid;
    /* Legal à gauche, Support à sa droite ; les lignes vont d'un bord à l'autre. */
    grid-template-columns: 268px 1fr;
  }
  .footer__logo, .footer__social, .footer__copy { grid-column: 1 / -1; }
  .footer__group + .footer__group { padding-left: 56px; }
  .footer__group { grid-template-columns: 144px 124px; }
  .footer__logo { margin-left: 0; }
  .footer__social { justify-content: flex-start; }
  .footer__copy { text-align: left; }
}

/* Flèche du bouton Instagram : ton RIGHT.svg (PICTO4). */
.hero__insta-arrow { width: 9px; height: 9px; fill: currentColor; }
