/* Page d'accueil de Wonelis (wonelis.com), servie par Caddy depuis deploy/vitrine/.
   Couleurs de la charte (wonelis-design-system.css) ; polices du système, rien de chargé ailleurs. */
@font-face { font-family: "Fredoka"; src: url("/polices/fredoka-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/polices/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --fond: #f7f8f7;
  --surface: #ffffff;
  --texte: #14201e;
  --texte-doux: #4c5b58;
  --bordure: #dfe5e3;
  --brand: #0b5d52;
  --brand-hover: #084a41;
  --brand-soft: #e3f1ee;
  --accent: #f2a93b;
  --accent-soft: #fdf0da;
  --rayon: 14px;
  --largeur: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0e1413;
    --surface: #151d1c;
    --texte: #e9efed;
    --texte-doux: #a3b2ae;
    --bordure: #26312f;
    --brand: #3fb8a4;
    --brand-hover: #5ccab7;
    --brand-soft: #12332e;
    --accent: #f5b85a;
    --accent-soft: #3a2a10;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.entete { border-bottom: 1px solid var(--bordure); background: var(--surface); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marque { display: flex; align-items: center; gap: 8px; color: var(--texte); text-decoration: none; }
.marque svg { width: 32px; height: 32px; flex: none; }
.marque .nom { font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -0.015em; }
.marque .i { position: relative; }
.marque .i::after { content: ""; position: absolute; top: -1px; left: 50%; width: 0.21em; height: 0.21em; transform: translateX(-50%); border-radius: 50%; background: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--texte-doux); text-decoration: none; }
.nav a:hover { color: var(--texte); }
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.bouton-plein { background: var(--brand); color: #fff; }
.bouton-plein:hover { background: var(--brand-hover); color: #fff; }
@media (prefers-color-scheme: dark) { .bouton-plein, .bouton-plein:hover { color: #0e1413; } }
.bouton-contour { border-color: var(--bordure); color: var(--texte); background: var(--surface); }
.bouton-contour:hover { border-color: var(--brand); color: var(--texte); }
.nav .bouton { color: var(--texte); }
@media (max-width: 720px) { .nav .lien-section { display: none; } }

/* Ouverture */
.ouverture { padding-top: 72px; padding-bottom: 56px; }
.ouverture h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 18ch; }
.ouverture p { font-size: 18px; color: var(--texte-doux); max-width: 60ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pastille { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 8px; }
.intro { color: var(--texte-doux); margin: 0 0 32px; max-width: 62ch; }
.grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.carte { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 22px; }
.carte h3 { font-size: 17px; margin: 0 0 6px; }
.carte p { margin: 0; color: var(--texte-doux); font-size: 15px; }
.icone { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.icone svg { width: 20px; height: 20px; }
.metiers { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.metiers li { background: var(--surface); border: 1px solid var(--bordure); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.bande { background: var(--surface); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.engagements { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.engagements h3 { font-size: 16px; margin: 0 0 4px; }
.engagements p { margin: 0; color: var(--texte-doux); font-size: 15px; }
.contact { background: var(--brand-soft); border-radius: var(--rayon); padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.contact h2 { margin: 0 0 6px; }
.contact p { margin: 0; color: var(--texte-doux); }

/* Pied */
.pied { padding: 32px 0 48px; color: var(--texte-doux); font-size: 14px; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pied a { color: var(--texte-doux); }

/* Page de texte (confidentialité) */
.texte { max-width: 72ch; padding: 48px 0 24px; }
.texte h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 8px; }
.texte h2 { font-size: 20px; margin: 32px 0 8px; }
.texte p, .texte li { color: var(--texte); }
.texte .mise-a-jour { color: var(--texte-doux); font-size: 14px; }
