/* Longueur d'onde — pages publiques (couleurs de l'appli) */
:root {
  --night: #1C2541;
  --terracotta: #B8583E;
  --mist: #F4F1EC;
  --surface: #FFFFFF;
  --ink: #2B2F3A;
  --muted: #5C6378;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
header {
  background: var(--night);
  color: #fff;
  padding: 20px 16px;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header a.brand { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 22px; white-space: nowrap; }
header nav { text-align: right; }
header nav a { color: #D8DCE8; text-decoration: none; font-size: 14px; margin-left: 14px; }
.wrap { max-width: 760px; margin: 0 auto; }
main { padding: 32px 16px 48px; }
main .card { background: var(--surface); border-radius: 20px; padding: 28px 24px; }
h1 { font-family: Georgia, serif; color: var(--night); font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
h2 { color: var(--night); font-size: 19px; margin: 32px 0 8px; }
h3 { color: var(--night); font-size: 16px; margin: 20px 0 4px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
a { color: var(--terracotta); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #E6E2DA; }
th { color: var(--night); }
.note { background: #F3DDD5; border-radius: 12px; padding: 12px 16px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--terracotta); color: #fff; text-align: center; line-height: 28px; font-weight: bold;
}
.hero { text-align: center; padding: 56px 16px 24px; }
.hero h1 { font-size: 40px; }
.hero p.tagline { color: var(--terracotta); font-size: 20px; margin: 4px 0 20px; }
.button {
  display: inline-block; background: var(--night); color: #fff; text-decoration: none;
  padding: 14px 24px; border-radius: 28px; font-weight: bold;
}
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 0 16px 40px; }
footer a { color: var(--muted); margin: 0 8px; }
@media (max-width: 520px) {
  h1 { font-size: 25px; }
  .hero h1 { font-size: 32px; }
  header nav a { margin-left: 10px; }
  header a.brand { font-size: 19px; }
  main .card { padding: 22px 18px; }
}

/* Page de présentation de l'appli (application-rencontre / en/dating-app) */
.hero .eyebrow { color: var(--muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
.hero .small { color: var(--muted); font-size: 14px; margin-top: 12px; }
main.landing { padding-top: 8px; }
main.landing section { background: var(--surface); border-radius: 20px; padding: 28px 24px; margin: 0 0 20px; }
main.landing h2 { margin-top: 0; font-family: Georgia, serif; font-size: 23px; }
.feature { display: flex; align-items: center; gap: 28px; }
.feature.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-img { flex: 0 0 auto; text-align: center; }
img.phone { width: 230px; height: auto; border-radius: 24px; border: 6px solid var(--night); box-shadow: 0 10px 30px rgba(28,37,65,.18); display: block; }
.faq details { border-bottom: 1px solid #E6E2DA; padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: bold; color: var(--night); }
.faq details p { margin: 8px 0 0; }
.cta { text-align: center; }
.button.play { background: var(--terracotta); }
@media (max-width: 640px) {
  .feature, .feature.reverse { flex-direction: column; gap: 18px; }
  img.phone { width: 210px; margin: 0 auto; }
  main.landing section { padding: 22px 18px; }
}
@media (max-width: 520px) {
  /* Barre du haut : les liens passent sous le nom s'ils ne tiennent pas sur une ligne */
  header .wrap { flex-wrap: wrap; }
  header nav { text-align: left; }
  header nav a:first-child { margin-left: 0; }
}

/* Logo à gauche du nom dans le bandeau */
header a.brand { display: inline-flex; align-items: baseline; gap: 10px; }
/* align-items: baseline : le bas du logo (bas des ondes) se pose sur la ligne de base du texte, comme le bas du « L » */
header a.brand svg.logo { flex: 0 0 auto; }
/* Liens du bandeau sur la même ligne de base que le nom */
header .wrap { align-items: baseline; }
