/* ============================================================
   Polices auto-hebergees (RGPD : aucun appel aux serveurs Google)
   Telechargees depuis Google Fonts le 2026-07-18, licence SIL OFL 1.1.
   unicode-range : le navigateur ne charge que le sous-ensemble utile.
   latin-ext est INDISPENSABLE : il porte le macron de « Kibō ».
   ============================================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Silverback Studio — Feuille de style
   Identité : sombre, métallique, premium (argent sur noir)
   ============================================================ */

:root {
  color-scheme: dark; /* le site gère son thème → empêche le « dark mode forcé » des navigateurs de noircir les zones claires */

  /* Noirs & gris */
  --bg: #0a0a0c;
  --bg-alt: #0f0f12;
  --bg-elev: #16161b;
  --bg-card: #131318;

  /* Textes */
  --ink: #ededf0;
  --ink-soft: #9a9aa4;
  --ink-faint: #8b8c97;

  /* Argent / métal */
  --silver: #c9ccd2;
  --silver-bright: #f2f3f5;
  --silver-dim: #8a8d96;
  --metal: linear-gradient(178deg, #ffffff 0%, #d4d8df 38%, #abb0ba 58%, #eaecef 100%);

  /* Accents apps (Osaru garde son vert) */
  --green: #2bbd92;
  --green-dark: #1E8E6E;

  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-md: 0 20px 50px rgba(0,0,0,.55);
  --shadow-lg: 0 40px 90px rgba(0,0,0,.7);
  --maxw: 1140px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Texte métallique réutilisable — repli couleur pleine si le clip n'est pas supporté */
.metal-text { color: #eef1f5; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal-text {
    background: var(--metal);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #c8ccd3, #b2b6bf);
  color: #14141a; border-color: rgba(0,0,0,.32);
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.6); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--silver); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--silver-dim); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ----- Eyebrow / headings ----- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  font-weight: 700; color: var(--silver-dim); margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.25rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  letter-spacing: .18em; text-transform: uppercase;
}
.brand-name span { display: block; font-size: .58em; letter-spacing: .42em; color: var(--ink-soft); margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: .97rem; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--silver-bright); }
.nav-cta {
  background: linear-gradient(180deg, #d4d7dd, #bcc0c8); color: #14141a !important;
  padding: 10px 22px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.5);
}
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--silver); border-radius: 2px; transition: .25s; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 3.5vw, 56px) 0 clamp(20px, 3vw, 40px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 75% 0%, rgba(150,160,180,.10), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(120,130,150,.06), transparent 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; }
.eyebrow.hero-eyebrow { color: var(--silver-dim); }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; }
.hero h1 .metal-text { display: inline-block; }
.lead { font-size: 1.05rem; color: var(--ink-soft); margin: 16px 0 24px; max-width: 600px; }
.lead strong { color: var(--silver-bright); font-weight: 700; }
.lead-stack { display: flex; flex-direction: column; gap: 4px; }
.lead-stack span { display: block; }
.lead-stack .hl-line {
  font-size: 1.32rem; font-weight: 800; line-height: 1.2;
  color: var(--silver-bright); letter-spacing: -.01em; margin: 1px 0;
}
.section-sub strong { color: var(--silver-bright); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Mise en avant produit dans le hero ----- */
.hero-product {
  margin: 26px 0 4px; padding: 22px 24px; max-width: 600px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-left: 3px solid var(--green); border-radius: var(--radius-sm);
}
.hero-product-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em;
  color: var(--green); margin-bottom: 10px;
}
.hero-product-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(43,189,146,.16);
}
.hero-product-text { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 18px; }
.hero-product-text strong { color: var(--silver-bright); font-weight: 800; }
.hero-product-text em { color: var(--silver); font-style: italic; }
.hero-more { margin-top: 18px; font-size: .92rem; }

.hero-stats { display: flex; gap: 36px; margin-top: 26px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.3rem; color: var(--silver); font-weight: 800; }
.hero-stats span { font-size: .88rem; color: var(--ink-faint); }

/* ----- Écrans courts : tout le hero doit tenir sans scroller,
   du surtitre jusqu'à la ligne « iOS & Android ». ----- */
@media (min-width: 901px) and (max-height: 860px) {
  .hero { padding: 26px 0 22px; }
  .hero h1 { font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
  .lead { font-size: 1rem; margin: 12px 0 16px; }
  .lead-stack .hl-line { font-size: 1.2rem; }
  .hero-product { margin: 18px 0 0; padding: 16px 20px; }
  .hero-product-kicker { margin-bottom: 7px; }
  .hero-product-text { font-size: .96rem; margin-bottom: 14px; }
  .hero-stats { margin-top: 18px; gap: 30px; }
  .hero-stats strong { font-size: 1.15rem; }
  .hero-more { margin-top: 12px; }
  .btn { padding: 11px 20px; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .hero { padding: 18px 0 16px; }
  .hero h1 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); }
  .lead { font-size: .96rem; margin: 10px 0 12px; }
  .lead-stack .hl-line { font-size: 1.1rem; }
  .hero-product { margin-top: 14px; padding: 14px 18px; }
  .hero-product-text { font-size: .92rem; margin-bottom: 12px; }
  .hero-stats { margin-top: 14px; }
  .hero-more { margin-top: 10px; }
}

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow { display: none; }
.hero-media {
  position: relative; width: min(450px, 90%);
}
.hero-media.is-img { /* fond déjà détouré (transparent) : aucun masque nécessaire */ }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ============================================================
   Sections
   ============================================================ */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; }

/* ----- App card ----- */
.app-card {
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.app-card + .app-card { margin-top: 28px; }

/* Fiche avec galerie de captures (Osaru) */
.app-card--featured { display: block; }
.app-card--featured .app-card-grid { display: grid; grid-template-columns: 320px 1fr; }
.app-screens {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  padding: 28px clamp(24px, 4vw, 44px) 40px; border-top: 1px solid var(--line);
}
.app-screens img {
  width: 100%; height: auto;
  border-radius: 16px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-md);
}
/* Mobile : défilement horizontal avec barre masquée */
@media (max-width: 900px) {
  .app-screens {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .app-screens::-webkit-scrollbar { display: none; }
  .app-screens img { flex: 0 0 auto; width: min(200px, 62vw); scroll-snap-align: start; }
}
.app-card-media {
  display: grid; place-items: center; padding: 44px;
  background: radial-gradient(circle at 50% 38%, #ffffff, #f6f7f9 88%);
  border-right: 1px solid var(--line);
}
.app-card-media img {
  width: 220px;
  filter: drop-shadow(0 12px 28px rgba(30,142,110,.25));
}
/* L'aura verte est l'accent d'Osaru : ombre neutre pour les autres produits. */
.app-card-media--neutre img { filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); }
.app-card-body { padding: 44px clamp(28px, 4vw, 52px); }
.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--green); background: rgba(43,189,146,.12);
  border: 1px solid rgba(43,189,146,.25); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
/* Corrige 2026-07-18 : 2rem fixe depassait le h2 (1,8rem mini) sur mobile. */
.app-card-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 4px; }
.app-tagline { color: var(--green); font-weight: 600; font-style: italic; margin-bottom: 18px; }
.app-card-body > p { color: var(--ink-soft); }
.feature-list { margin: 22px 0 30px; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 32px; color: var(--ink); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(43,189,146,.16); border: 1px solid rgba(43,189,146,.4); color: var(--green);
  font-size: .72rem; display: grid; place-items: center; font-weight: 800;
}
/* ----- Kibo Link (accent teal, couleur du logo) ----- */
/* Panneau assorti au fond de l'icône (nuit #0C1321) : l'icône plein cadre
   fusionne avec le panneau au lieu de flotter en carré sombre sur du blanc. */
.app-card-media--kibo {
  background: #0C1321;
  border-right-color: rgba(31, 178, 163, .22);
}
.app-card-media--kibo img {
  /* Icône détourée (tuile seule) : l'aura menthe épouse le contour arrondi. */
  width: 230px;
  filter: drop-shadow(0 0 34px rgba(31, 178, 163, .42));
}
.badge--soon { color: #159b8c; background: rgba(31,178,163,.12); border-color: rgba(31,178,163,.32); }
.app-tagline--kibo { color: #17a596; }
.feature-list--kibo li::before {
  background: rgba(31,178,163,.16); border-color: rgba(31,178,163,.42); color: #17a596;
}

.app-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.app-link { font-weight: 600; font-size: .92rem; color: var(--green); border-bottom: 1px solid rgba(43,189,146,.35); padding-bottom: 1px; transition: border-color .2s ease; }
.app-link:hover { border-color: var(--green); }
.app-status { font-size: .9rem; color: var(--ink-faint); width: 100%; }

/* ----- Value cards ----- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.value-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border: 1px solid var(--line-strong);
}
.value-icon svg { width: 26px; height: 26px; color: var(--silver); }
.value-card:hover .value-icon svg { color: var(--silver-bright); }
.value-card h3 { margin-bottom: 10px; color: var(--silver-bright); }
.value-card p { color: var(--ink-soft); font-size: .97rem; }

/* ----- About ----- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.about-content p { color: var(--ink-soft); font-size: 1.08rem; margin: 20px 0; }
.about-content strong { color: var(--silver-bright); }
.about-content em { color: var(--silver); font-style: italic; }
.about-content .btn { margin-top: 12px; }
.about-aside {
  position: relative; padding: 44px 36px; border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)),
    var(--bg-elev);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-md);
}
.aside-mark {
  display: block; font-family: var(--serif); font-size: 4.5rem; line-height: .6;
  height: 38px; color: var(--silver-dim); opacity: .6;
}
.about-aside blockquote {
  font-family: var(--serif); font-size: clamp(1.2rem, 1.72vw, 1.45rem); font-weight: 500;
  line-height: 1.42; letter-spacing: -.005em;
  color: var(--silver-bright); text-align: center; text-wrap: balance;
}
.about-aside cite { display: block; margin-top: 18px; font-size: .9rem; font-weight: 600; font-style: normal; font-family: var(--font); letter-spacing: .04em; color: var(--ink-faint); text-align: center; }

/* ----- Fondateur ----- */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.founder-photo-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.founder-photo {
  width: 100%; max-width: 320px; aspect-ratio: 1; border-radius: 24px; object-fit: cover;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-md);
}
.founder-extra { width: 100%; max-width: 320px; margin: 0; }
.founder-extra img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-md);
}
.founder-extra figcaption {
  margin-top: 10px; font-size: .82rem; line-height: 1.4; color: var(--ink-faint);
  font-style: italic; text-align: center;
}
.founder-photo--placeholder {
  position: relative; display: grid; place-items: center;
  font-family: var(--serif); font-size: 5rem; font-weight: 600; letter-spacing: .05em;
  color: var(--silver-dim);
  background: linear-gradient(160deg, var(--bg-elev), #0c0c10);
}
.founder-photo--placeholder::after {
  content: "Photo à venir"; position: absolute; bottom: 24px;
  font-family: var(--font); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint);
}
.founder-content p { color: var(--ink-soft); font-size: 1.08rem; margin: 18px 0; }
.founder-content strong { color: var(--silver-bright); }
.founder-content em { color: var(--silver); font-style: italic; }
.founder-ambition {
  margin-top: 24px !important; padding: 18px 22px; border-left: 2px solid var(--silver-dim);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--silver) !important;
}
.founder-sign {
  margin-top: 28px; font-family: var(--serif); font-size: 1.5rem;
  color: var(--silver-bright); font-weight: 600; line-height: 1.2;
}
.founder-sign span {
  display: block; margin-top: 6px; font-family: var(--font); font-size: .85rem;
  font-weight: 600; letter-spacing: .04em; color: var(--ink-faint);
}
.founder-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ----- Contact ----- */
.section-dark { background: linear-gradient(180deg, #050507, #0c0c10); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro p { color: var(--ink-soft); font-size: 1.1rem; max-width: 420px; }
.contact-mail { display: inline-block; margin-top: 26px; font-size: 1.2rem; font-weight: 700; color: var(--silver-bright); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: border-color .2s ease; }
.contact-mail:hover { border-color: var(--silver); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #0b0b0f; transition: border-color .15s ease, box-shadow .15s ease; resize: vertical;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a9aa4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--silver-bright); box-shadow: 0 0 0 3px rgba(200,204,210,.45);
}
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--ink-faint); margin-top: 14px; }
.form-note a { color: var(--silver); font-weight: 600; text-decoration: underline; display: block; margin-top: 6px; }

/* ============================================================
   Confort de lecture — justification maîtrisée
   Uniquement sur les paragraphes longs, en grand écran, avec
   césure : en colonne étroite la justification crée des trous.
   ============================================================ */
@media (min-width: 900px) {
  /* Colonnes larges uniquement : en colonne étroite (cartes valeurs),
     la justification creuse des trous entre les mots. */
  .about-content p,
  .founder-content p,
  .social-band .band-sub,
  .kibo-box p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}
/* Évite les mots orphelins en fin de titre, tous écrans */
h1, h2, h3, .section-sub, .lead { text-wrap: pretty; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; color: var(--ink-faint); max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: flex-end; }
.footer-links a { font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.footer-links a:hover { color: var(--silver-bright); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-faint); }

/* ============================================================
   Bandeau « Coulisses » — réseaux sociaux en pleine page
   ============================================================ */
.social-band { padding: clamp(48px, 6vw, 76px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.social-band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.social-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 10px 0 14px; }
.social-band .band-sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 480px; }
.social-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.social-chip:hover, .social-chip:focus-visible { border-color: var(--silver); transform: translateY(-2px); background: var(--bg-elev); }
.social-chip:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }
.social-chip .ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: var(--silver-bright);
}
.social-chip .ic svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.social-chip .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.social-chip .txt b { color: var(--silver-bright); font-size: .98rem; font-weight: 700; }
.social-chip .txt span { color: var(--ink-faint); font-size: .82rem; }
@media (max-width: 900px) {
  .social-band-grid { grid-template-columns: 1fr; gap: 32px; }
  .social-band .band-sub { max-width: none; }
}
@media (max-width: 540px) {
  .social-chips { grid-template-columns: 1fr; }
}

/* Réseaux sociaux — pied de page */
.footer-social { margin-top: 24px; }
.footer-social-label { font-size: .76rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.social-link svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.social-link:hover, .social-link:focus-visible { color: var(--silver-bright); border-color: var(--silver); transform: translateY(-2px); }
.social-link:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }
/* Ligne compacte pour les pages au pied de page simplifié */
.social-inline { display: inline-flex; gap: 8px; vertical-align: middle; }
.social-inline .social-link { width: 34px; height: 34px; }
.social-inline .social-link svg { width: 16px; height: 16px; }

/* ============================================================
   Legal pages
   ============================================================ */
/* Page de remerciement */
.thanks { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 26px; display: grid; place-items: center;
  color: var(--green); border-radius: 50%; border: 1px solid rgba(43,189,146,.4);
  background: rgba(43,189,146,.08); }
.thanks-icon svg { width: 38px; height: 38px; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.thanks p { color: var(--ink-soft); font-size: 1.1rem; max-width: 440px; margin: 0 auto 30px; }
/* Les deux boutons de 404/merci se touchaient (~4px au lieu des 14px du systeme). */
.thanks .btn { margin: 0 7px; }

.legal { padding: clamp(56px, 7vw, 96px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--silver-bright); }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--silver); font-weight: 600; text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; font-weight: 600; color: var(--silver); }
.callout {
  margin: 26px 0 6px; padding: 20px 24px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(43,189,146,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(43,189,146,.28); border-left: 3px solid var(--green);
}
.callout p { margin: 0; color: var(--ink); }
.callout a { color: var(--green); }

/* Pages légales Osaru (bilingue) */
.legal .meta { color: var(--ink-faint); font-size: .95rem; margin-bottom: 14px; }
.legal .meta strong { color: var(--ink); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 30px; font-size: .92rem; }
.legal-nav a { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(43,189,146,.3); }
.legal-nav a:hover { border-color: var(--green); }
.legal-nav span[aria-current] { color: var(--ink); font-weight: 600; }
.legal .note {
  background: linear-gradient(160deg, rgba(43,189,146,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(43,189,146,.25); border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; color: var(--ink);
}
.legal .note strong { color: var(--silver-bright); }
.legal .lang-sep { margin: 56px 0 28px; border: 0; border-top: 1px solid var(--line); position: relative; }
.legal .lang-sep::after {
  content: "English version"; position: absolute; top: -10px; left: 0;
  background: var(--bg); padding-right: 14px; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 700;
}
.legal ol { padding-left: 22px; list-style: decimal; color: var(--ink-soft); }
.legal ol li { margin-bottom: 8px; }
.legal footer { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-faint); text-align: center; }
.legal footer a { color: var(--silver); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    /* visibility: hidden retire aussi les liens du parcours clavier quand le menu est fermé */
    visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: none; padding-top: 10px; }
  .nav-links a { display: block; padding: 14px 4px; }
  .nav-cta { display: inline-block; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-actions, .hero-stats { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-media { width: min(320px, 74%); }

  .app-card { grid-template-columns: 1fr; }
  .app-card--featured .app-card-grid { grid-template-columns: 1fr; }
  .app-card-media { border-right: none; border-bottom: 1px solid var(--line); }
  .app-card-media--kibo { border-bottom-color: rgba(31, 178, 163, .22); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .founder-photo-wrap { order: -1; }
  .founder-photo, .founder-extra { max-width: 260px; }
  .founder-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .app-card-body { padding: 30px 22px; }
  .contact-form { padding: 26px 20px; }
  .brand-name { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  /* Corrigé le 2026-07-18 : l'ancien bloc ne faisait rien (il ciblait une animation
     inexistante et scroll-behavior sur *). Neutralisation réelle des mouvements. */
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .app-card:hover, .btn-mint:hover { transform: none !important; }
}

/* ============================================================
   Accessibilité clavier — ajouté suite à l'audit du 2026-07-18.
   Aucun style de focus n'était défini : la navigation au clavier
   était invisible. :focus-visible ne s'affiche qu'au clavier,
   jamais au clic souris — aucun impact visuel pour la souris.
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--silver-bright);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible,
.nav-links a:focus-visible {
  outline-color: var(--green);
  outline-offset: 4px;
}
.opt { color: var(--ink-faint); font-weight: 400; }

/* Lien d'évitement : masqué jusqu'à réception du focus clavier */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--bg-elev); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 18px; font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* Sur très petits écrans (≤360px), les libellés de boutons longs
   provoquaient un débordement horizontal irrattrapable (audit 2026-07-18) :
   body{overflow-x:hidden} masquait la partie coupée sans la rendre accessible. */
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; }
}

/* ============================================================
   Grille de fonctionnalités réutilisable (ajoutée le 2026-07-18).
   Générique : sert à /osaru.html et pourra remplacer le <style>
   embarqué de kibo.html, qui duplique ces mêmes composants.
   L'accent se pilote par --accent, défini par la page.
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
}
.feature-card .ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; color: var(--accent, var(--green));
  background: color-mix(in srgb, var(--accent, var(--green)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--green)) 34%, transparent);
}
.feature-card .ico svg { width: 24px; height: 24px; }
.feature-card h3 { color: var(--silver-bright); font-size: 1.14rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: .97rem; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel {
  background: var(--bg-elev); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 30px;
}
.panel h3 { color: var(--silver-bright); margin-bottom: 10px; font-size: 1.3rem; }
.panel p { color: var(--ink-soft); }
.panel ul { display: grid; gap: 9px; margin-top: 14px; }
.panel li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.panel li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent, var(--green)); font-weight: 800;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
}
