/* Kamille Formation — hub, thèmes, fiches. Mêmes jetons que le reste du site : tout arrondi, un seul vert, pas de bordure latérale colorée. */
.fo-search { max-width: 560px; margin: 0 0 2rem; }
.fo-search label { display: block; margin-bottom: .4rem; color: var(--c-navy); }
.fo-search input { width: 100%; padding: .85rem 1.1rem; border: 1.5px solid var(--c-border); border-radius: 999px; font: inherit; background: #fff; }
.fo-search input:focus { outline: 3px solid rgba(57,140,105,.28); border-color: var(--c-primary); }
.fo-empty { color: var(--c-text-soft); margin: .8rem .4rem 0; }
.fo-family { margin: 0 0 2.4rem; }
.fo-family h2 { font-size: 1.35rem; margin: 0 0 1rem; }
.fo-themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .fo-themes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .fo-themes { grid-template-columns: repeat(3, 1fr); } }
.fo-theme a { font-weight: 400; display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--c-border); border-radius: 24px; box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); transition: transform .15s, box-shadow .15s; }
.fo-theme a:hover, .fo-theme a:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fo-ico-wrap { flex: none; width: 64px; height: 64px; border-radius: 22px; background: var(--c-primary-soft); display: grid; place-items: center; }
.fo-ico { width: 44px; height: 44px; display: block; }
.fo-theme-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.fo-theme-body strong { color: var(--c-navy); font-size: 1.06rem; line-height: 1.3; }
.fo-theme-body > span { font-size: .93rem; color: var(--c-text-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fo-theme-body em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--c-primary-dark); }
.fo-3 { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .fo-3 { grid-template-columns: repeat(3, 1fr); } }
.fo-3 > div { background: #fff; border: 1px solid var(--c-border); border-radius: 24px; padding: 1.3rem 1.4rem; }
.fo-3 h3 { margin: .6rem 0 .4rem; font-size: 1.1rem; }
.fo-3 p { margin: 0; color: var(--c-text-soft); }
.fo-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: #16241E; color: #fff; font-weight: 800; }
.fo-cta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; background: #16241E; color: #E7F0EA; border-radius: 28px; padding: 1.6rem 1.8rem; }
.fo-cta h2 { color: #fff; margin: 0 0 .4rem; font-size: 1.3rem; }
.fo-cta p { margin: 0; max-width: 620px; }
.fo-narrow { max-width: 820px; }
.fo-narrow h2, .fo-main h2 { margin-top: 1.8rem; }
.fo-narrow h2:first-child { margin-top: 0; }
.fo-meta { display: grid; gap: .6rem; margin: 1rem 0 1.4rem; }
@media (min-width: 700px) { .fo-meta { grid-template-columns: 1fr 1fr; } }
.fo-main .fo-meta { grid-template-columns: 1fr; }
@media (min-width: 700px) { .fo-main .fo-meta { grid-template-columns: 170px 1fr; gap: 0; } }
.fo-meta > div { background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 18px; padding: .7rem 1rem; }
.fo-main .fo-meta > div { display: contents; }
.fo-main .fo-meta dt, .fo-main .fo-meta dd { padding: .65rem 1rem; border-bottom: 1px solid var(--c-border); margin: 0; }
.fo-main .fo-meta dt { font-weight: 700; color: var(--c-navy); }
.fo-meta dt { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-primary-dark); margin: 0 0 .15rem; }
.fo-meta dd { margin: 0; }
.fo-steps, .fo-prog { list-style: none; counter-reset: s; padding: 0; margin: .8rem 0 1.4rem; display: grid; gap: .7rem; }
.fo-steps li, .fo-prog li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .9rem; background: #fff; border: 1px solid var(--c-border); border-radius: 20px; padding: .85rem 1rem; }
.fo-steps li::before, .fo-prog li::before { content: counter(s); grid-row: 1 / span 2; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--c-accent); color: #16241E; font-weight: 800; display: grid; place-items: center; }
.fo-steps li strong, .fo-prog li strong { color: var(--c-navy); }
.fo-steps li span, .fo-prog li span { grid-column: 2; color: var(--c-text-soft); }
.fo-src { margin: .4rem 0 1rem; padding-left: 1.2rem; }
.fo-src li { margin: .3rem 0; overflow-wrap: anywhere; }
.fo-note { font-size: .9rem; color: var(--c-text-soft); background: var(--c-bg-alt); border-radius: 16px; padding: .7rem 1rem; margin: 1rem 0; }
.fo-lead { max-width: 820px; color: var(--c-text-soft); margin: 0 0 1.4rem; }
.fo-cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fo-cards { grid-template-columns: repeat(3, 1fr); } }
.fo-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--c-border); border-radius: 26px; padding: 1.2rem 1.3rem 1.3rem; box-shadow: var(--shadow); }
.fo-card h3 { margin: .2rem 0 0; font-size: 1.12rem; line-height: 1.3; }
.fo-card h3 a { color: var(--c-navy); text-decoration: none; }
.fo-card h3 a:hover { text-decoration: underline; }
.fo-org { margin: 0; color: var(--c-text-soft); font-size: .95rem; }
.fo-facts { margin: .3rem 0 .6rem; display: grid; gap: .3rem; font-size: .92rem; }
.fo-facts > div { display: flex; gap: .5rem; }
.fo-facts dt { font-weight: 700; color: var(--c-navy); min-width: 5.6rem; }
.fo-facts dd { margin: 0; color: var(--c-text-soft); }
.fo-btn { margin-top: auto; align-self: flex-start; }
.fo-badge { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-dark); }
.fo-badge-p { background: #16241E; color: #fff; }
.fo-chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.fo-chips a { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; }
.fo-chips a:hover { background: var(--c-primary-soft); }
.fo-fiche { display: grid; gap: 2rem; }
@media (min-width: 980px) { .fo-fiche { grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; } .fo-side { position: sticky; top: 130px; } }
.fo-side .interest-form { max-width: none; }
.fo-small { font-size: .9rem; color: var(--c-text-soft); margin: 0 0 .4rem; }
.hidden { display: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-ok { background: var(--c-primary-soft); border-radius: 24px; padding: 1.4rem 1.5rem; }
