/* Bokoko Vivance — l'identité du lion : noir, rouge, ivoire. Les angles viennent de la crinière. */
:root {
  --noir: #000000;
  --noir-2: #1a1a1a;
  --encre: #0d0d0d;
  --rouge: #e30208;
  --rouge-vif: #ff4a4a; /* petits textes rouges sur noir : le rouge du logo n'y est pas assez lisible */
  --rouge-sombre: #b80106;
  --ivoire: #fcf6e4;
  --papier: #fffdf6;
  --gris: #5f594c;
  --trait: #e2d9c0;
  --titre: "Montserrat", "Avenir Next", system-ui, sans-serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marge: clamp(18px, 5vw, 64px);
  --large: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 18px/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--titre); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sur { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ——— Noir : l'entrée ——— */
.nuit { position: relative; color: var(--ivoire); background: var(--noir); padding: 0 var(--marge); }
.haut { max-width: var(--large); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.nom { display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--titre); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; }
.nom img { width: 44px; height: 44px; }
.haut ul { list-style: none; display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); margin: 0; padding: 0; font-size: 16px; }
.haut a { text-decoration: none; }
.haut li a:hover { text-decoration: underline; text-underline-offset: 5px; }
.lien-ia { background: var(--rouge); color: var(--ivoire); font-weight: 600; padding: 10px 16px; border-radius: 4px; display: inline-block; white-space: nowrap; }
.haut li .lien-ia:hover { text-decoration: none; background: var(--rouge-sombre); }

.these { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 6vh, 72px) 0 clamp(96px, 13vw, 168px); }
.these .lion { grid-column: 2; grid-row: 1; width: 100%; max-width: 480px; justify-self: end; }
.these-texte { grid-column: 1; grid-row: 1; }
.these .sur { color: var(--rouge-vif); margin-bottom: 22px; }
.these h1 { font-weight: 900; font-size: clamp(40px, 6.6vw, 88px); line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase; }
.chapo { margin-top: 28px; max-width: 52ch; font-size: clamp(18px, 1.6vw, 20px); color: #d9d2bf; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bouton { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 4px; border: 2px solid transparent; }
.bouton.plein { background: var(--rouge); color: var(--ivoire); }
.bouton.plein:hover { background: var(--rouge-sombre); }
.bouton.creux { border-color: #6b665a; color: var(--ivoire); }
.bouton.creux:hover { border-color: var(--ivoire); }

/* Le noir se déchire en pointes, comme la crinière, pour laisser passer le jour. */
.nuit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 96px); background: var(--ivoire); clip-path: polygon(0 100%, 0 62%, 5% 100%, 9% 28%, 15% 100%, 21% 46%, 26% 100%, 33% 8%, 39% 100%, 44% 52%, 50% 100%, 57% 18%, 62% 100%, 69% 40%, 74% 100%, 81% 0, 86% 100%, 92% 34%, 96% 100%, 100% 56%, 100% 100%); }

/* ——— Ivoire : le jour ——— */
.jour { padding: 0 var(--marge); }
.bloc { max-width: var(--large); margin: 0 auto; padding: clamp(56px, 9vw, 112px) 0 0; }
.bloc .sur { color: var(--rouge); margin-bottom: 16px; }
.bloc h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; max-width: 20ch; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 32px; }
.intro { margin-top: 20px; max-width: 60ch; color: var(--gris); }

.principes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principes article { background: var(--papier); border: 1px solid var(--trait); border-top: 6px solid var(--rouge); border-radius: 4px; padding: 26px 26px 30px; }
.principes h3 { font-weight: 800; font-size: 22px; line-height: 1.18; margin-bottom: 12px; }
.principes p { color: var(--gris); font-size: 17px; }

.ia { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ia-texte > p:not(.sur):not(.note) { margin: 22px 0 26px; max-width: 52ch; }
.note { margin-top: 14px; font-size: 15px; color: var(--gris); }
.echange { background: var(--noir); color: var(--ivoire); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.echange .q { justify-self: end; max-width: 88%; background: var(--noir-2); padding: 12px 16px; border-radius: 14px 14px 2px 14px; font-size: 16.5px; }
.echange .r { position: relative; padding-left: 40px; font-size: 16.5px; color: #ece5d2; }
.echange .r::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: url(/lion.svg) center / contain no-repeat; }

.chantiers { list-style: none; margin: 36px 0 0; padding: 0; border-top: 3px solid var(--encre); }
.chantiers li { display: grid; grid-template-columns: 110px minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.chantiers h3 { font-weight: 800; font-size: 21px; }
.chantiers p { color: var(--gris); font-size: 17px; }
.etat { justify-self: start; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.etat.ouvert { background: var(--rouge); color: var(--ivoire); }
.etat.venir { border: 1px solid #b9b09a; color: var(--gris); }

.bas { margin-top: clamp(64px, 10vw, 128px); background: var(--noir); color: var(--ivoire); padding: clamp(36px, 6vw, 64px) var(--marge); text-align: center; }
.bas .logo { width: min(320px, 70vw); margin: 0 auto; }
.bas .fin { color: #a39c8a; font-size: 14.5px; margin-top: 18px; }

@media (max-width: 860px) {
  .deux, .principes, .ia { grid-template-columns: 1fr; }
  .chantiers li { grid-template-columns: 1fr; gap: 6px; }
  .haut li:not(:last-child) { display: none; }
  .these { grid-template-columns: 1fr; padding-top: 8px; }
  .these .lion { grid-column: 1; grid-row: 1; justify-self: center; max-width: min(250px, 62vw); }
  .these-texte { grid-row: 2; }
}
@media (max-width: 420px) {
  .nom { font-size: 15px; }
  .nom img { width: 36px; height: 36px; }
  .lien-ia { padding: 9px 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
