/* Site de présentation de Zefleet : statique, sans police téléchargée ni script. */
:root {
  --background: #f6f7f9;
  --surface: #ffffff;
  --foreground: #171717;
  --muted: #5f6470;
  --border: #d9dce2;
  --brand: #0b6e4f;
  --brand-strong: #08573e;
  --brand-soft: #e3f2ec;
  --on-brand: #ffffff;
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d0f12;
    --surface: #171a1f;
    --foreground: #ececec;
    --muted: #a3a8b3;
    --border: #2a2f37;
    --brand: #4cc99a;
    --brand-strong: #6fd8b0;
    --brand-soft: #14332a;
    --on-brand: #06261b;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Thai", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-strong);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* En-tête */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--foreground);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brand);
}

.languages {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.languages a {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.875rem;
}

.languages a[aria-current="true"] {
  background: var(--brand);
  color: var(--on-brand);
}

/* Accueil */
.hero {
  padding: 64px 0 40px;
}

.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--brand);
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  color: var(--on-brand);
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.button.secondary:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts li::before {
  content: "✓ ";
  color: var(--brand);
  font-weight: 700;
}

.hero-art {
  justify-self: center;
  width: 100%;
  max-width: 240px;
}

@media (min-width: 900px) {
  .hero-art {
    max-width: 380px;
  }
}

/* Sections */
section {
  padding: 48px 0;
}

section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);
}

.section-intro {
  margin: 0 0 28px;
  max-width: 62ch;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: block;
  margin-bottom: 12px;
  font-size: 1.75rem;
  line-height: 1;
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist li {
  padding-left: 30px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.contact {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  text-align: center;
}

.contact p {
  max-width: 56ch;
  margin: 0 auto 22px;
}

/* Pages juridiques */
.legal {
  padding: 48px 0 64px;
}

.legal article {
  max-width: 74ch;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
}

.legal h3 {
  margin: 22px 0 6px;
  font-size: 1.1rem;
}

.legal ul {
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 6px;
}

.updated,
.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  padding: 12px 16px;
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--brand-soft);
  color: var(--foreground);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
}

/* Pied de page */
.site-footer {
  margin-top: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.925rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.not-found {
  padding: 96px 0;
  text-align: center;
}

.contact .email {
  margin: 14px auto 0;
  font-weight: 600;
}

/* Logo et illustration (classes : la politique de sécurité interdit les styles en ligne) */
.logo-bg {
  fill: var(--brand);
}

.logo-z {
  fill: none;
  stroke: var(--on-brand);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-phone {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 2;
}

.art-screen {
  fill: var(--background);
}

.art-soft {
  fill: var(--brand-soft);
}

.art-muted {
  fill: var(--border);
}

.art-brand {
  fill: var(--brand);
}

.art-amber {
  fill: #f59e0b;
}

.art-blue {
  fill: #3b82f6;
}

.art-card {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 2;
}

.art-sign {
  fill: none;
  stroke: var(--foreground);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-check {
  fill: none;
  stroke: var(--on-brand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
