/* kb-conseil.com — Kylian Briand */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #0F2C3F;
  --green: #1F6F5C;
  --green-dark: #185A4A;
  --green-soft: #E1EEE9;
  --mint: #9FD3C7;
  --bg: #FBF8F4;
  --sand: #F3EBE2;
  --line: #E6DCD1;
  --text: #4A5560;
  --muted: #6B6560;
  --pad: 32px;
}
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--navy); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; margin: 0; color: var(--navy); }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 96px; padding-bottom: 96px; }
.sand { background: var(--sand); }
.kicker { font-size: 15px; font-weight: 700; color: var(--green); }
.h2 { font-size: 44px; line-height: 1.15; max-width: 720px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 17px; padding: 16px 28px; border-radius: 14px; background: var(--green); color: #fff; transition: background-color .15s; }
.btn:hover { background: var(--green-dark); color: #fff; }
.btn-sm { font-size: 16px; padding: 12px 20px; }
.link-strong { font-weight: 700; font-size: 17px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { font-family: "Fraunces", Georgia, serif; font-size: 24px; text-decoration: none; }
.logo .dot { color: var(--green); }
.logo .sub { font-size: 18px; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 16px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.hero-text { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 58px; line-height: 1.08; }
.hero .lead { font-size: 19px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-card { flex: 1 1 360px; min-width: 0; max-width: 460px; background: var(--navy); color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 26px; }
.hero-card .big { font-family: "Fraunces", Georgia, serif; font-size: 30px; line-height: 1.2; }
.hero-card .item { display: flex; gap: 14px; align-items: flex-start; }
.hero-card .item strong { display: block; font-size: 16px; }
.hero-card .item span { font-size: 15px; color: #C9D5DD; }
.hero-card .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(159,211,199,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-photo { flex: 1 1 360px; min-width: 0; max-width: 480px; border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; }

/* Cartes leviers */
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.card { flex: 1 1 250px; min-width: 0; background: #fff; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 23px; }
.card p { font-size: 16px; line-height: 1.65; color: var(--text); }

/* Touches ludiques */
.hl { background: linear-gradient(transparent 62%, #CFE6DE 62%); padding: 0 4px; border-radius: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.ico.c1 { background: #E1EEE9; }
.ico.c2 { background: #E3EAF2; }
.ico.c3 { background: #F6E9D3; }
.ico.c4 { background: #EEE4F1; }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,44,63,.08); }
#missions .card { flex-basis: 240px; }

/* Pour qui */
.whos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.who { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.who:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,44,63,.08); }
.who .ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.who h3 { font-size: 23px; }
.who p { font-size: 16px; line-height: 1.6; color: var(--text); }
.who .bubble { position: relative; align-self: flex-start; background: var(--sand); color: var(--navy); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; }
.who-cta { background: var(--green); border-color: var(--green); text-decoration: none; justify-content: center; }
.who-cta h3, .who-cta p, .who-cta .link-strong { color: #fff; }
.who-cta:hover { color: #fff; }

/* Méthode */
.navy-band { background: var(--navy); color: #fff; }
.navy-band .h2, .navy-band h3 { color: #fff; }
.navy-band .kicker { color: var(--mint); }
.path { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.path::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; border-top: 2px dashed #3E6177; }
.path li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.path .num { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--navy); font-family: "Fraunces", Georgia, serif; font-size: 26px; display: flex; align-items: center; justify-content: center; position: relative; }
.path h3 { font-size: 24px; margin-top: 6px; }
.path p { font-size: 16px; line-height: 1.65; color: #C9D5DD; }
.navy-band .where { margin-top: 56px; }
.navy-band .where div { background: rgba(255,255,255,.06); border: 1px solid #2B4A5E; }
.navy-band .where p { color: #C9D5DD; }
.where .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(159,211,199,.16); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Profils */
.profile { display: flex; flex-wrap: wrap; gap: 48px; border-radius: 28px; padding: 56px; }
.profile.dark { background: var(--navy); }
.profile.light { background: #fff; border: 1px solid var(--line); }
.profile-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.profile-intro h2 { font-size: 38px; line-height: 1.15; }
.profile.dark h2, .profile.dark h3 { color: #fff; }
.profile.dark .kicker { color: var(--mint); }
.profile.dark .lead, .profile.dark p { color: #C9D5DD; }
.profile-list { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; }
.profile-list div { padding: 20px 0; border-top: 1px solid var(--line); }
.profile.dark .profile-list div { border-top-color: #2B4A5E; }
.profile-list h3 { font-size: 21px; }
.profile-list p { font-size: 16px; line-height: 1.6; color: var(--text); margin-top: 4px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--green-soft); color: var(--navy); }
.stack { display: flex; flex-direction: column; gap: 28px; margin-top: 44px; }

/* Étapes */
.steps { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 44px; }
.step { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--green); padding-top: 24px; }
.step .num { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--green); }
.step h3 { font-size: 24px; }
.step p { font-size: 16px; line-height: 1.65; color: var(--text); }

/* Proximité */
.where { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.where div { flex: 1 1 250px; min-width: 0; background: #fff; border-radius: 22px; padding: 28px; }
.where h3 { font-size: 21px; margin-bottom: 6px; }
.where p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq { flex: 2 1 520px; min-width: 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: "Fraunces", Georgia, serif; font-size: 21px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Nunito Sans", sans-serif; color: var(--green); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 16px; line-height: 1.65; color: var(--text); margin-top: 10px; }

/* À propos */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-side { flex: 1 1 320px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--text); }
.about-side strong { color: var(--navy); }

/* CTA final */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final h2 { font-size: 50px; line-height: 1.1; max-width: 760px; }

/* Pied de page */
footer { border-top: 1px solid var(--line); }
.foot { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.foot p { max-width: 700px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Mentions légales */
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 96px; }
.legal h1 { font-size: 42px; margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.todo { background: #FCE9A6; padding: 0 4px; border-radius: 3px; color: #3A2E00; }

/* Responsive */
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 24px; padding-bottom: 72px; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .h2, .final h2 { font-size: 36px; }
  .profile { padding: 36px; gap: 28px; }
  .whos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .path::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #3E6177; }
  .path li { padding-left: 76px; }
  .path .num { position: absolute; left: 0; top: 0; }
  .path h3 { margin-top: 12px; }
}
@media (max-width: 600px) {
  :root { --pad: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .nav-links { width: 100%; gap: 8px 18px; }
  .nav-links a:not(.btn) { font-size: 15px; }
  .nav-links .btn { width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .hero-card { padding: 28px; border-radius: 22px; }
  .h2, .final h2, .profile-intro h2 { font-size: 30px; }
  .profile { padding: 24px; border-radius: 22px; }
  .card { padding: 24px; }
  .whos { grid-template-columns: minmax(0, 1fr); }
  .who { padding: 24px; }
  .btn { width: 100%; }
  .legal h1 { font-size: 34px; }
}
.legal ul + p { margin-top: 12px; }
@media (max-width: 600px) { .logo { font-size: 21px; } .logo .sub { display: block; font-size: 15px; } .logo .dot { display: none; } }

/* Portrait */
.hero-media { flex: 1 1 380px; min-width: 0; max-width: 480px; margin: 0 auto; position: relative; padding-top: 24px; }
.hero-disc { position: absolute; left: 6%; right: 6%; top: 12%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--green-soft); border: 2px dashed #9FD3C7; }
.hero-media img { position: relative; display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.hero-badge { position: absolute; left: -12px; bottom: 56px; background: var(--navy); color: #fff; border-radius: 18px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 14px 30px rgba(15,44,63,.18); max-width: 280px; }
.hero-badge strong { font-size: 16px; }
.hero-badge span { font-size: 14px; color: #C9D5DD; }
@media (max-width: 600px) { .hero-media { max-width: 340px; } .hero-badge { left: 0; bottom: 24px; } }
.hero-badge { flex-direction: row; align-items: center; gap: 14px; max-width: none; padding: 14px 20px 14px 14px; }
.badge-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-txt { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.badge-txt strong { font-size: 17px; }
.badge-txt span { font-size: 14px; color: #C9D5DD; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-direct { font-size: 16px; line-height: 1.8; color: var(--text); }
.contact-direct a { font-weight: 700; }
.contact-form { flex: 1.3 1 460px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-title { font-family: "Fraunces", Georgia, serif; font-size: 24px; }
.contact-form .row { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-form .row label { flex: 1 1 200px; min-width: 0; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); background: #fff; }
.contact-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--text); }
.contact-form .consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--green); padding: 0; }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.form-msg.ok { background: var(--green-soft); color: var(--green-dark); }
.form-msg.err { background: #FBE7E4; color: #8A2A1C; }
.form-msg[hidden] { display: none; }
@media (max-width: 600px) { .contact-form { padding: 22px; border-radius: 22px; } .contact-form .btn { align-self: stretch; } }
@media (min-width: 1101px) { .nav-links { gap: 10px 22px; } .nav-links a:not(.btn) { font-size: 15px; } .logo .sub { font-size: 16px; } }
.contact-direct { display: flex; flex-direction: column; gap: 12px; }
.contact-direct p { margin: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.quick .pill { text-decoration: none; color: var(--navy); min-height: 44px; }
.quick .pill:hover { border-color: var(--green); color: var(--green); }
.about-side a { color: var(--navy); }

/* Quiz — accroche accueil */
.quiz-teaser-wrap { padding-bottom: 96px; }
.quiz-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; text-decoration: none; background: var(--mint); border-radius: 28px; padding: 36px 40px; color: var(--navy); transition: transform .2s ease, box-shadow .2s ease; }
.quiz-teaser:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,44,63,.12); color: var(--navy); }
.teaser-ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.teaser-txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.teaser-txt .kicker { color: var(--navy); }
.teaser-txt strong { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.2; }
.teaser-txt > span:last-child { font-size: 16px; color: #2B4A5E; }

/* Quiz — page */
.quiz-page { max-width: 820px; padding-top: 40px; padding-bottom: 96px; }
.quiz-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.quiz-head h1 { font-size: 46px; line-height: 1.1; }
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.quiz-card[hidden] { display: none; }
.quiz-progress { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .35s ease; }
.quiz-count { font-size: 14px; font-weight: 700; color: var(--green); }
.quiz-q { font-size: 28px; line-height: 1.25; }
.quiz-answers { display: flex; flex-direction: column; gap: 12px; }
.quiz-answer { font: inherit; font-size: 17px; text-align: left; color: var(--navy); background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 16px 20px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.quiz-answer:hover { border-color: var(--green); background: var(--green-soft); transform: translateX(4px); }
.quiz-answer.picked { border-color: var(--green); background: var(--green-soft); }
.quiz-back { align-self: flex-start; font: inherit; font-size: 15px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 0; }
.quiz-back[hidden] { display: none; }
.quiz-gate h2, .quiz-result h2 { font-size: 32px; line-height: 1.2; }
.gate-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.quiz-gate .row { display: flex; flex-wrap: wrap; gap: 18px; }
.quiz-gate .row label { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.quiz-gate input[type=text], .quiz-gate input[type=email] { font: inherit; font-weight: 400; font-size: 16px; color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.quiz-gate .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); }
.quiz-gate .consent input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); }
.quiz-gate .btn { align-self: flex-start; border: 0; cursor: pointer; }
.gate-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.score-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.score-ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(closest-side, #fff 78%, transparent 79%), conic-gradient(var(--green) calc(var(--p) * 1%), var(--sand) 0); display: flex; align-items: baseline; justify-content: center; padding-top: 48px; transition: background .6s; }
.score-ring span { font-family: "Fraunces", Georgia, serif; font-size: 48px; line-height: 1; color: var(--navy); }
.score-ring small { font-size: 16px; color: var(--muted); margin-left: 2px; }
.score-wrap > div:not(.score-ring) { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bars { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.bar-track { height: 12px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.tips { display: flex; flex-direction: column; gap: 12px; }
.tips h3 { font-size: 22px; margin-top: 8px; }
.tip { background: var(--green-soft); border-radius: 16px; padding: 18px 20px; }
.tip strong { display: block; margin-bottom: 4px; }
.tip p { font-size: 15px; line-height: 1.6; color: var(--text); }
.result-cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.result-cta p { color: #C9D5DD; font-size: 16px; line-height: 1.6; }
.result-cta strong { color: #fff; }
.result-cta .link-strong { color: #fff; }
@media (max-width: 600px) {
  .quiz-head h1 { font-size: 34px; }
  .quiz-card { padding: 22px; border-radius: 22px; }
  .quiz-q { font-size: 23px; }
  .quiz-teaser { padding: 26px; }
  .teaser-txt strong { font-size: 23px; }
  .quiz-gate .btn, .quiz-teaser .btn { width: 100%; }
  .score-ring { width: 120px; height: 120px; padding-top: 38px; }
  .score-ring span { font-size: 38px; }
}

.score-ring { flex: 0 0 auto; flex-direction: row; }
