/* Kixo — feuille de style */

@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #16003e;        /* couleur du texte du logo */
  --text: #2a2340;
  --muted: #5f5873;
  --line: #e6e1ef;
  --tint: #f7f5fb;
  --white: #ffffff;
  --violet: #7a2bf0;
  --pink: #f0448f;
  --ok: #157347;
  --error: #b42318;

  --font-title: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

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

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: 118px; }
.site-header ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-header nav a:hover { color: var(--violet); }
.site-header nav a.nav-cta { color: var(--ink); border: 1.5px solid var(--ink); padding: 8px 16px; border-radius: 999px; }
.site-header nav a.nav-cta:hover { background: var(--ink); color: var(--white); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--violet); color: var(--white); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.hero-text h1 { max-width: 17ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { justify-self: end; width: min(340px, 100%); }
.hero-mark img { width: 100%; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.offer { border-top: 2px solid var(--ink); padding-top: 22px; }
.offer p { color: var(--muted); margin: 0; }

.expertise { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.expertise-text p { max-width: 60ch; }
.vocab { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vocab li {
  padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--font-title); font-weight: 500; color: var(--ink); position: relative;
}
.vocab li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--violet));
}

/* Kadero */
.kadero {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(32px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.kadero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--pink), var(--violet));
}
.product-tag { color: var(--violet); font-weight: 600; margin-bottom: .4em; }
.kadero h2 { font-size: clamp(2.2rem, 4.4vw, 3rem); }
.kadero-pitch { font-size: 1.2rem; max-width: 58ch; margin-bottom: 1.8em; }

/* Entreprise */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
.about-grid > p { max-width: 60ch; }
.facts { margin: 0; display: grid; gap: 18px; }
.facts dt { font-size: .9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact-intro p { color: var(--muted); max-width: 42ch; }
.contact-mail a { font-weight: 600; font-size: 1.15rem; }

.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; color: var(--ink); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; background: var(--white); width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(122, 43, 240, .15); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); }
.field-check label { font-weight: 400; color: var(--muted); font-size: .95rem; }
.field-check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-ok { background: #e8f5ee; color: var(--ok); }
.form-status.is-error { background: #fdecea; color: var(--error); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .95rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-mark { width: 28px; height: 28px; }
.site-footer nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--ink); }

/* Page mentions légales */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .expertise, .about-grid, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { display: none; }
  .offers { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .site-header li:not(:last-child) { display: none; }
  .brand img { width: 100px; }
  .lead { font-size: 1.1rem; }
  .site-footer nav { margin-left: 0; width: 100%; }
}
