/* Zerava — site société. Palette NEUTRE et générique (éditeur multi-produits :
   Lernanto, Xpozom…). L'accent unique vit dans --accent : le changer suffit à rebrander. */

:root {
  --bg:       #ffffff;
  --bg-soft:  #f6f7f9;
  --panel:    #ffffff;
  --text:     #262b31;
  --heading:  #14181d;
  --muted:    #667085;
  --border:   #e3e6ea;
  --border-2: #d5d9df;
  --accent:   #2b63b8;   /* accent unique — remplacer ici pour rebrander */
  --accent-ink: #1f4c90;
  --dark:     #1f2733;   /* boutons / aplats neutres */
  --radius:   8px;
  --shadow:   0 1px 2px rgba(16,24,40,.04), 0 6px 20px rgba(16,24,40,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

.wrap { max-width: 840px; margin: 0 auto; padding: 0 22px; }

/* ---- top bar ---- */
header.top {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 15px; padding-bottom: 15px; flex-wrap: wrap;
}
.brand {
  font-weight: 700; font-size: 20px; letter-spacing: .5px;
  color: var(--heading); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand .mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; background: var(--dark); color: #fff;
  border-radius: 7px; font-size: 15px; font-weight: 700;
}
.navwrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav.links { display: flex; gap: 22px; flex-wrap: wrap; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--heading); }
.lang span[aria-current="true"] { color: var(--heading); }
.lang .sep { color: var(--border-2); font-weight: 400; }
nav.links a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  color: var(--muted); padding-bottom: 2px; border-bottom: 2px solid transparent;
}
nav.links a:hover { color: var(--heading); }
nav.links a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--accent); }

/* ---- hero ---- */
/* padding-top/bottom et non la forme raccourcie : `.hero` est déclaré après `.wrap` à
   spécificité égale, donc un `padding: 72px 0 44px` écraserait les 22px latéraux de
   `.wrap` et collerait le titre et le bouton au bord de l'écran. */
.hero { padding-top: 72px; padding-bottom: 44px; }
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px;
  font-weight: 600; color: var(--accent); margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 50px); line-height: 1.1; margin: 0 0 20px;
  color: var(--heading); letter-spacing: -.5px; font-weight: 700;
}
.hero p.lead { font-size: 20px; max-width: 64ch; margin: 0 0 30px; color: var(--text); }

/* ---- sections ---- */
main { padding-bottom: 44px; }
section { padding: 30px 0; }
h2 { font-size: 25px; color: var(--heading); margin: 0 0 14px; letter-spacing: -.3px; }
h3 { font-size: 19px; margin: 24px 0 8px; color: var(--heading); }
.section-rule { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }

/* ---- card ---- */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 30px; margin: 18px 0;
}
.card h2, .card h3 { margin-top: 0; }
.card h3 + p { color: var(--muted); }

/* product highlight */
.product { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.product .badge {
  flex: 0 0 auto; background: var(--bg-soft); color: var(--heading);
  border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 16px 22px; font-weight: 700; letter-spacing: .3px;
  font-size: 18px; align-self: flex-start;
}
.product .body { flex: 1 1 320px; }
ul.features { list-style: none; padding: 0; margin: 14px 0 0; }
ul.features li { padding: 7px 0 7px 26px; position: relative; }
ul.features li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* buttons */
.btn {
  display: inline-block; background: var(--dark); color: #fff;
  border: 1px solid var(--dark); border-radius: var(--radius);
  padding: 12px 24px; font-weight: 600; letter-spacing: .2px;
  text-decoration: none; font-size: 16px; cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: #10151d; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.mail { background: var(--accent); border-color: var(--accent); }
.btn.mail:hover { background: var(--accent-ink); }

.mailbig { font-size: 21px; font-weight: 600; }

/* FAQ */
.faq h3 { color: var(--heading); }
.faq p { margin: 6px 0 22px; color: var(--text); }

/* legal / mentions text */
.meta { color: var(--muted); font-size: 15px; }
dl.identity { margin: 0; }
dl.identity div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
dl.identity dt { font-weight: 600; min-width: 210px; color: var(--heading); }
dl.identity dd { margin: 0; }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  margin-top: 34px; padding: 36px 0 48px;
}
footer.site .wrap { display: grid; gap: 10px; }
footer.site .idline { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
footer.site .idline strong { color: var(--heading); }
footer.site nav { margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
footer.site nav a { color: var(--muted); text-decoration: none; }
footer.site nav a:hover { color: var(--heading); }

/* Dernier élément du bandeau : sa marge basse par défaut s'ajouterait au
   padding-bottom de .hero ET à la marge de la carte suivante, créant un trou
   deux fois plus grand que le rythme de la page. */
.updated { color: var(--muted); font-size: 15px; margin-bottom: 0; }

@media (max-width: 540px) {
  body { font-size: 17px; }
  .hero { padding-top: 48px; padding-bottom: 28px; }
  dl.identity dt { min-width: 100%; }
}
