:root {
  --teal: #1f6f78;
  --teal-dark: #164f56;
  --teal-light: #e6f2f3;
  --ink: #1e1e23;
  --muted: #5d6068;
  --line: #e2e5e9;
  --bg: #fafbfc;
  --card: #ffffff;
  --yellow: #fff6cc;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--teal); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; }
.logo span.by { color: var(--teal); }
.links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.links a { color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--teal); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 600; }

/* Héros */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 16px 0; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary .small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1; }
.btn-primary .big { display: block; font-size: 17px; line-height: 1.2; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.phone { justify-self: center; max-width: 320px; filter: drop-shadow(0 24px 40px rgba(20, 40, 50, 0.18)); }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tests .card { background: var(--teal-light); border-color: transparent; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 780px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Contact */
.contact { text-align: center; }
.contact .card { max-width: 560px; margin: 0 auto; }
.mail { font-size: 20px; font-weight: 700; }

/* Pied de page */
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot a { color: var(--muted); }
.disclaimer { margin-top: 12px; }

/* Pages de texte (confidentialité, conditions) */
.doc { max-width: 780px; padding: 48px 20px 64px; }
.doc h1 { font-size: 36px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: #33363d; }
.updated { color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .hero-grid, .steps, .tests { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .phone { max-width: 260px; }
  .links a.hide-sm { display: none; }
}
