/* Parcours de création (/creer…) : même habillage que la landing e (style.css chargé avant). */

[hidden] { display: none !important; }

.cr-hd .hd-in { gap: 16px; }
.cr-step { margin-left: auto; font-size: 13px; color: var(--s500); white-space: nowrap; }
.cr-step b { font-weight: 500; color: var(--ink); }
.cr-progress { height: 2px; background: var(--s200); }
.cr-progress i { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease); }

.cr-main { width: 100%; max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; }
.cr-main.wide { max-width: 920px; }
.cr-title { font-size: 34px; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; margin-top: 14px; }
.cr-lead { font-size: 16px; line-height: 1.6; color: var(--s500); margin-top: 16px; max-width: 560px; text-wrap: pretty; }
.cr-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.cr-hint { font-size: 13px; color: var(--s500); margin-top: 10px; min-height: 1.2em; }
.cr-note { font-size: 14px; color: var(--s500); margin-top: 32px; }
.cr-note a, .cr-link { text-decoration: underline; text-decoration-color: var(--s300); text-underline-offset: 4px; }
.cr-note a:hover, .cr-link:hover { text-decoration-color: var(--ink); }

.cr-input, .cr-textarea {
    width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .03);
    font: inherit; font-size: 17px; color: var(--ink); outline: 0; transition: box-shadow .18s;
}
.cr-input::placeholder { color: var(--s400); }
.cr-input:focus { box-shadow: inset 0 0 0 2px var(--ink); }

.cr-results { margin-top: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
.cr-results li + li { border-top: 1px solid var(--line); }
.cr-result { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 18px; text-align: left; transition: background .15s; }
.cr-result:hover { background: var(--s100); }
.cr-result b { display: block; font-weight: 500; }
.cr-result small { display: block; font-size: 13px; color: var(--s500); margin-top: 2px; }
.cr-result .cr-rating { flex-shrink: 0; font-size: 13px; color: var(--s500); white-space: nowrap; }
.stars { color: #e4a11b; letter-spacing: 1px; }

.cr-busy { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: 16px; }
.cr-spin { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--s200); border-top-color: var(--ink); animation: cr-spin .8s linear infinite; }
@keyframes cr-spin { to { transform: rotate(360deg); } }

.cr-stat { display: flex; align-items: flex-start; gap: 18px; margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: var(--s100); }
.cr-stat.sm { margin-top: 18px; padding: 14px 16px; gap: 14px; }
.cr-stat-figure { font-size: 30px; line-height: 1; font-weight: 500; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cr-stat.sm .cr-stat-figure { font-size: 24px; }
.cr-stat-text { font-size: 14px; line-height: 1.5; color: var(--ink); }
.cr-stat-source { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--s500); text-decoration: underline; text-decoration-color: var(--s300); text-underline-offset: 3px; }
.cr-stat-source:hover { color: var(--ink); }

.cr-grid { display: grid; gap: 16px; margin-top: 36px; }
.cr-card { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 22px; }
.cr-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cr-card-title { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--s500); }
.cr-card-title small { font-family: var(--font); text-transform: none; letter-spacing: 0; color: var(--s400); }
.cr-card-aside { font-size: 13px; color: var(--s500); }
.cr-name { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-top: 12px; }
.cr-sub { font-size: 14px; color: var(--s500); margin-top: 2px; }
.cr-list { margin-top: 14px; font-size: 14px; line-height: 1.7; }
.cr-list .muted { color: var(--s400); }
.cr-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.cr-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.cr-table tr:last-child td { border-bottom: 0; }
.cr-table td:last-child { text-align: right; color: var(--s500); font-variant-numeric: tabular-nums; }
.cr-table td.closed { color: var(--s400); }
.cr-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cr-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--s150); }
.cr-caption { font-size: 13px; color: var(--s500); margin-top: 12px; }
.cr-empty { font-size: 14px; color: var(--s500); margin-top: 12px; }
.cr-rating-big { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; }
.cr-rating-big b { font-size: 36px; line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.cr-rating-big span { font-size: 14px; color: var(--s500); }
.cr-reviews { display: grid; gap: 10px; margin-top: 16px; }
.cr-review { padding: 14px; border-radius: 14px; background: var(--s100); font-size: 14px; }
.cr-review .stars { font-size: 11px; }
.cr-review p { margin-top: 6px; color: var(--ink); line-height: 1.5; }
.cr-review footer { margin-top: 6px; font-size: 12px; color: var(--s500); }
.cr-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    margin-top: 14px; padding: 28px 16px; border-radius: 14px; border: 1px dashed var(--s300); background: #fff;
    text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.cr-drop:hover { border-color: var(--ink); background: var(--s100); }
.cr-drop b { font-weight: 500; }
.cr-drop small { font-size: 13px; color: var(--s500); }
.cr-error { margin-top: 10px; font-size: 14px; color: #c42d15; }
.cr-done { margin-top: 12px; font-size: 14px; }
.cr-done b { font-weight: 500; }

.cr-section { margin-top: 56px; }
.cr-h2 { font-size: 24px; line-height: 1.28; font-weight: 400; letter-spacing: -.025em; }
.cr-styles { display: grid; gap: 14px; margin-top: 20px; }
.cr-style { position: relative; display: block; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; cursor: pointer; transition: box-shadow .15s, transform .18s var(--ease); }
.cr-style:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--s300), var(--shadow); }
.cr-style.is-selected { box-shadow: inset 0 0 0 2px var(--ink); }
.cr-style input { position: absolute; opacity: 0; pointer-events: none; }
.cr-style img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.cr-style-body { padding: 14px 16px; border-top: 1px solid var(--line); }
.cr-style-body b { display: block; font-weight: 500; }
.cr-style-body small { display: block; font-size: 13px; color: var(--s500); margin-top: 2px; }

.cr-launch { margin-top: 48px; padding: 26px 28px; border-radius: 22px; background: var(--s900); color: #fff; }
.cr-launch p { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.cr-launch small { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.cr-launch .btn { margin-top: 20px; background: #fff; color: var(--ink); width: 100%; }
.cr-launch .btn:hover { background: var(--s100); }

.cr-center { text-align: center; }
.cr-center .cr-lead { margin-left: auto; margin-right: auto; }
.cr-center .cr-spin { margin: 0 auto 28px; width: 34px; height: 34px; }
.cr-step-text { margin-top: 32px; font-size: 13px; color: var(--s400); }

/* Le premier jet : barre en haut, le site dessous */
.cr-frame-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.cr-bar { display: flex; align-items: center; gap: 12px; height: var(--hd); padding: 0 24px; background: #fff; box-shadow: inset 0 -1px 0 var(--line); }
.cr-bar-text { display: none; font-size: 14px; color: var(--s500); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-bar-text b { font-weight: 500; color: var(--ink); }
.cr-bar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cr-seg { display: none; padding: 3px; border-radius: 999px; background: var(--s100); }
.cr-seg button { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--s500); }
.cr-seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cr-subbar { padding: 10px 24px; font-size: 14px; color: var(--s500); background: var(--s100); text-align: center; line-height: 1.5; }
.cr-subbar b { font-weight: 500; color: var(--ink); }
.cr-frame-wrap { flex: 1; min-height: 0; background: var(--s150); display: flex; justify-content: center; }
.cr-frame { width: 100%; height: 100%; border: 0; background: #fff; transition: width .3s var(--ease); }
.cr-frame.is-mobile { width: 390px; box-shadow: 0 0 0 1px var(--line); }

@media (min-width: 640px) {
    .cr-main { padding-top: 72px; }
    .cr-title { font-size: 44px; }
    .cr-grid { grid-template-columns: 1fr 1fr; }
    .cr-grid > .span2 { grid-column: span 2; }
    .cr-photos { grid-template-columns: repeat(6, 1fr); }
    .cr-reviews { grid-template-columns: repeat(3, 1fr); }
    .cr-styles { grid-template-columns: repeat(3, 1fr); }
    .cr-launch { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .cr-launch .btn { margin-top: 0; width: auto; flex-shrink: 0; }
    .cr-bar-text, .cr-seg { display: block; }
    .cr-seg { display: flex; }
    .hd-login { display: inline; }
}
@media (max-width: 639px) {
    .cr-only-wide { display: none !important; }
}
