/* =========================================================
   RKWebDesign — générateur « studio » (une seule vue)
   ========================================================= */
body.g-lock { overflow: hidden; }

.g-overlay {
    position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center;
    background: rgba(9, 9, 11, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
    font-family: 'Inter', sans-serif; color: #09090b;
}
.g-overlay.is-open { opacity: 1; visibility: visible; }
.g-window {
    width: min(1360px, 97vw); height: min(900px, 95vh); background: #fff; border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.5);
    transform: translateY(24px) scale(0.98); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-overlay.is-open .g-window { transform: none; }

/* En-tête : une simple barre de progression, pas d'onglets */
.g-head { display: flex; align-items: center; gap: 20px; padding: 14px 20px; border-bottom: 1px solid #e4e4e7; flex-shrink: 0; }
.g-brand { font-weight: 900; letter-spacing: -0.03em; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.g-progress { flex: 1; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.g-progress i { display: block; width: 100%; height: 3px; border-radius: 3px; background: #f4f4f5; position: relative; overflow: hidden; }
.g-progress i::after { content: ""; position: absolute; inset: 0; background: #18181b; transform-origin: left; transform: scaleX(0.2); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.g-window[data-phase="building"] .g-progress i::after { transform: scaleX(0.6); }
.g-window[data-phase="result"] .g-progress i::after { transform: scaleX(1); background: #84cc16; }
.g-progress-label { font-size: 0.8rem; font-weight: 600; color: #52525b; }
.g-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e4e4e7; background: #fff; cursor: pointer; font-size: 1rem; transition: 0.3s; flex-shrink: 0; }
.g-close:hover { transform: rotate(90deg); border-color: #18181b; }

.g-studio { flex: 1; display: grid; grid-template-columns: 420px 1fr; min-height: 0; }

/* ---------- Panneau gauche ---------- */
.g-panel { border-right: 1px solid #e4e4e7; overflow-y: auto; overflow-x: hidden; position: relative; }
.g-view { display: none; padding: 26px 26px 30px; }
.g-view.is-on { display: block; }
.g-view h2 { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 6px; }
.g-lead { color: #71717a; margin: 0 0 22px; font-size: 0.93rem; }

.g-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.g-field > span { font-size: 0.8rem; font-weight: 600; }
.g-field input, .g-field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid #e4e4e7; border-radius: 10px; font: inherit; font-size: 0.93rem; background: #fff; color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.g-field input:focus, .g-field textarea:focus { outline: none; border-color: #18181b; box-shadow: 0 0 0 3px rgba(24,24,27,0.08); }
.g-field input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }

.g-styles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.g-style { cursor: pointer; border: 1px solid #e4e4e7; border-radius: 10px; padding: 5px; background: #fff; display: flex; flex-direction: column; gap: 5px; transition: 0.25s; position: relative; }
.g-style input { position: absolute; opacity: 0; pointer-events: none; }
.g-style i { display: block; height: 36px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.g-style b { font-size: 0.68rem; font-weight: 600; text-align: center; }
.g-style:hover i { transform: scale(1.06); }
.g-style:has(input:checked) { border-color: #18181b; box-shadow: 0 0 0 2px #18181b; }

.g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-chip { position: relative; }
.g-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.g-chip span { display: inline-block; padding: 7px 12px; border-radius: 99px; border: 1px solid #e4e4e7; background: #fff; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: 0.2s; user-select: none; }
.g-chip input:checked + span { background: #18181b; color: #fff; border-color: #18181b; }
.g-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(24,24,27,0.2); }

.g-more { border: 1px solid #e4e4e7; border-radius: 12px; margin: 4px 0 20px; background: #fafafa; }
.g-more summary { list-style: none; cursor: pointer; padding: 12px 14px; font-size: 0.86rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.g-more summary::-webkit-details-marker { display: none; }
.g-more summary i { transition: transform 0.3s; font-size: 0.75rem; }
.g-more[open] summary i { transform: rotate(180deg); }
.g-more-body { padding: 4px 14px 2px; }

.g-check { display: flex; gap: 9px; align-items: flex-start; font-size: 0.86rem; cursor: pointer; }
.g-check input { width: 17px; height: 17px; margin-top: 1px; accent-color: #18181b; flex-shrink: 0; }
.g-check a { color: #18181b; text-decoration: underline; }
.g-colors { display: flex; gap: 14px; margin-top: 8px; }
.g-colors[hidden] { display: none; }
.g-colors label { display: flex; flex-direction: column; gap: 4px; font-size: 0.76rem; color: #71717a; }
.g-colors input { width: 64px; height: 34px; padding: 2px; border-radius: 8px; border: 1px solid #e4e4e7; cursor: pointer; }
.g-upload { display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 11px; border: 1px dashed #d4d4d8; border-radius: 10px; background: #fff; cursor: pointer; font-size: 0.86rem; font-weight: 600; transition: 0.2s; }
.g-upload:hover { border-color: #18181b; }
.g-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.g-thumbs span { position: relative; width: 56px; height: 56px; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.g-thumbs button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: none; background: #18181b; color: #fff; font-size: 0.6rem; cursor: pointer; }

.g-go { width: 100%; }
.g-hint { font-size: 0.78rem; color: #71717a; text-align: center; margin: 12px 0 0; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Création ---------- */
.g-building { padding-top: 30px; }
.g-building h2 em { font-style: normal; text-decoration: underline; text-decoration-color: #d9f99d; text-decoration-thickness: 0.3em; text-underline-offset: -0.1em; text-decoration-skip-ink: none; }
.g-l-steps { list-style: none; padding: 0; margin: 26px 0 22px; display: flex; flex-direction: column; gap: 13px; }
.g-l-steps li { display: flex; gap: 12px; align-items: center; color: #a1a1aa; font-weight: 500; transition: 0.4s; }
.g-l-steps li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #e4e4e7; flex-shrink: 0; transition: 0.3s; }
.g-l-steps li.is-active { color: #09090b; transform: translateX(4px); }
.g-l-steps li.is-active::before { border: 2px solid #e4e4e7; border-top-color: #18181b; animation: g-spin 0.8s linear infinite; }
.g-l-steps li.is-done { color: #09090b; }
.g-l-steps li.is-done::before { background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: #16a34a; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.g-l-bar { height: 4px; border-radius: 4px; background: #e4e4e7; overflow: hidden; }
.g-l-bar b { display: block; height: 100%; background: #18181b; transform-origin: left; transform: scaleX(0); transition: transform 0.3s linear; }
.g-l-fact { margin-top: 24px; min-height: 3em; color: #52525b; font-size: 0.9rem; opacity: 0; transform: translateY(6px); transition: 0.4s; }
.g-l-fact.is-in { opacity: 1; transform: none; }

/* ---------- Zone d'aperçu (droite) ---------- */
.g-canvas { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #f4f4f5; }
.g-canvas-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.g-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #52525b; margin-right: auto; }
.g-live i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); animation: g-rec 1.8s infinite; }
.g-live i.is-demo { background: #f59e0b; }
.g-window[data-phase="result"] .g-live i:not(.is-demo) { background: #16a34a; animation: none; }
@keyframes g-rec { 70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
.g-devices { display: flex; background: #fff; border-radius: 10px; padding: 3px; border: 1px solid #e4e4e7; }
.g-devices button { width: 36px; height: 30px; border: none; background: transparent; border-radius: 7px; cursor: pointer; color: #71717a; transition: 0.2s; }
.g-devices button.is-on { background: #18181b; color: #fff; }
.g-regen { display: none; border: 1px solid #e4e4e7; background: #fff; border-radius: 10px; padding: 7px 12px; font: 600 0.82rem 'Inter', sans-serif; cursor: pointer; gap: 6px; align-items: center; }
.g-regen:hover { border-color: #18181b; }
.g-window[data-phase="result"] .g-regen { display: inline-flex; }

.g-canvas-stage { flex: 1; min-height: 0; display: flex; justify-content: center; padding: 0 18px 18px; }
.g-frame {
    position: relative; width: 100%; height: 100%; display: flex; flex-direction: column;
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.04);
    transition: max-width 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.4s;
    max-width: 100%;
}
.g-frame[data-device="tablet"] { max-width: 780px; }
.g-frame[data-device="mobile"] { max-width: 380px; border-radius: 30px; box-shadow: 0 0 0 9px #18181b, 0 30px 60px -20px rgba(0,0,0,0.4); margin-top: 9px; height: calc(100% - 18px); }
.g-frame[data-device="mobile"] .g-frame-bar { display: none; }
.g-frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #fafafa; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; }
.g-frame-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.g-frame-bar > span:nth-child(2) { background: #febc2e; }
.g-frame-bar > span:nth-child(3) { background: #28c840; }
.g-frame-url { font-style: normal; margin: 0 auto; font-size: 0.72rem; color: #71717a; background: #fff; border: 1px solid #e4e4e7; border-radius: 6px; padding: 3px 14px; min-width: 40%; text-align: center; }
.g-frame-screen { position: relative; flex: 1; min-height: 0; }
.g-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; background: #fff; }
.g-frame.has-site iframe { display: block; }
.g-frame.has-site .g-mock { visibility: hidden; }
.g-busy { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 10px; font-weight: 600; background: rgba(255,255,255,0.8); backdrop-filter: blur(3px); z-index: 3; }
.g-frame.is-busy .g-busy { display: flex; }
.g-busy { flex-wrap: wrap; text-align: center; padding: 20px; }
.g-busy span { max-width: 360px; }
.g-busy-cancel { flex-basis: 100%; max-width: max-content; margin: 4px auto 0; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(0,0,0,.18); background: #fff; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; }
.g-busy-cancel:hover { border-color: #111; }

/* Barre de modification flottante */
.g-edit {
    position: absolute; left: 50%; bottom: 30px; transform: translate(-50%, 30px); width: min(620px, calc(100% - 60px));
    display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 99px;
    background: rgba(24,24,27,0.92); color: #fff; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4); backdrop-filter: blur(10px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); z-index: 4;
}
.g-window[data-phase="result"] .g-edit { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.g-edit > i { color: #d9f99d; }
.g-edit input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; font: inherit; font-size: 0.9rem; padding: 8px 0; }
.g-edit input::placeholder { color: #a1a1aa; }
.g-edit input:focus { outline: none; }
.g-edit button { width: 38px; height: 38px; border-radius: 50%; border: none; background: #fff; color: #18181b; cursor: pointer; flex-shrink: 0; transition: transform 0.3s; }
.g-edit button:hover { transform: scale(1.08); }

/* ---------- Maquette en direct ---------- */
.g-mock {
    --m-bg: #fff; --m-fg: #18181b; --m-ac: #18181b; --m-ac2: #a1a1aa; --m-font: 'Inter', sans-serif;
    position: absolute; inset: 0; overflow-y: auto; background: var(--m-bg); color: var(--m-fg);
    transition: background 0.6s, color 0.6s; scrollbar-width: thin;
}
.g-mock * { transition: background 0.6s, color 0.6s, border-color 0.6s; }
.m-nav { display: flex; align-items: center; gap: 14px; padding: 16px 5%; border-bottom: 1px solid color-mix(in srgb, var(--m-fg) 8%, transparent); position: sticky; top: 0; background: var(--m-bg); z-index: 1; }
.m-logo { font-family: var(--m-font); font-weight: 800; font-size: 0.95rem; margin-right: auto; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-nav span { width: 42px; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--m-fg) 18%, transparent); }
.m-nav em, .m-btns em { font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 7px 14px; border-radius: 99px; background: var(--m-ac); color: var(--m-on-ac, #fff); white-space: nowrap; }
.m-hero {
    padding: 11% 6% 10%; text-align: center; position: relative; overflow: hidden;
    background: radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--m-ac) 28%, transparent), transparent 55%), radial-gradient(circle at 15% 90%, color-mix(in srgb, var(--m-ac2) 30%, transparent), transparent 50%);
}
.m-city { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; margin-bottom: 12px; }
.m-title { font-family: var(--m-font); font-size: clamp(1.6rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 12px; word-break: break-word; }
.m-sub { max-width: 460px; margin: 0 auto 20px; font-size: 0.85rem; opacity: 0.7; }
.m-btns { display: flex; justify-content: center; gap: 8px; }
.m-btns em.alt { background: transparent; color: var(--m-fg); border: 1px solid color-mix(in srgb, var(--m-fg) 25%, transparent); }

.m-sec { display: none; padding: 6% 6%; }
.m-sec.is-on { display: block; }
.m-sec + .m-sec.is-on, .m-sec.is-on ~ .m-sec.is-on { border-top: 1px solid color-mix(in srgb, var(--m-fg) 6%, transparent); }
.m-sec h5 { font-family: var(--m-font); font-size: 1.05rem; font-weight: 800; margin: 0 0 16px; text-align: center; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-cards > div { padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--m-fg) 4%, transparent); border: 1px solid color-mix(in srgb, var(--m-fg) 8%, transparent); display: flex; flex-direction: column; gap: 7px; }
.m-cards i { color: var(--m-ac); font-size: 1rem; }
.m-cards b { display: block; width: 60%; height: 7px; border-radius: 6px; background: color-mix(in srgb, var(--m-fg) 30%, transparent); }
.m-cards span, .m-split span { display: block; height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--m-fg) 12%, transparent); }
.m-prices em { display: block; width: 45%; height: 16px; border-radius: 6px; background: var(--m-ac); opacity: 0.85; }
.m-prices .is-hi { border-color: var(--m-ac); box-shadow: 0 0 0 1px var(--m-ac); }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.m-split > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.m-split h5 { text-align: left; margin-bottom: 6px; }
.m-split span.short { width: 60%; }
.m-img { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--m-ac) 45%, transparent), color-mix(in srgb, var(--m-ac2) 45%, transparent)); }
.m-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-gallery i { aspect-ratio: 1; border-radius: 10px; background: color-mix(in srgb, var(--m-fg) 8%, transparent) center / cover no-repeat; }
.m-hours { max-width: 340px; margin: 0 auto; }
.m-hours p { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 8px 0; font-size: 0.78rem; border-bottom: 1px dashed color-mix(in srgb, var(--m-fg) 15%, transparent); }
.m-hours b { width: 70px; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--m-fg) 20%, transparent); }
.m-team { display: flex; justify-content: center; gap: 18px; }
.m-team i { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--m-ac), var(--m-ac2)); opacity: 0.7; }
.m-faq p { height: 34px; margin: 0 0 8px; border-radius: 10px; background: color-mix(in srgb, var(--m-fg) 5%, transparent); border: 1px solid color-mix(in srgb, var(--m-fg) 8%, transparent); }
.m-form { display: flex; flex-direction: column; gap: 8px; }
.m-form i { height: 26px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--m-fg) 15%, transparent); }
.m-form i.tall { height: 54px; }
.m-form b { width: 90px; height: 26px; border-radius: 99px; background: var(--m-ac); }
.m-map { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: color-mix(in srgb, var(--m-fg) 5%, transparent); display: flex; align-items: flex-end; padding: 10px; }
.m-map.has-map { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--m-fg) 6%, transparent) 0 8px, transparent 8px 16px), color-mix(in srgb, var(--m-ac) 10%, transparent); }
.m-map.has-map::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); color: var(--m-ac); font-size: 1.6rem; }
.m-coord { font-size: 0.66rem; opacity: 0.75; }
.m-foot { padding: 20px; text-align: center; font-size: 0.7rem; opacity: 0.55; }

/* Scan pendant la création */
.g-frame.is-building .g-frame-screen::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(132,204,22,0.18) 45%, rgba(132,204,22,0.35) 50%, rgba(132,204,22,0.18) 55%, transparent 100%);
    background-size: 100% 240%; animation: g-scan 1.6s linear infinite;
}
@keyframes g-scan { from { background-position: 0 100%; } to { background-position: 0 -140%; } }

/* ---------- Offre (panneau gauche après génération) ---------- */
.g-offer { display: flex; flex-direction: column; gap: 16px; }
.g-o-block { border: 1px solid #e4e4e7; border-radius: 14px; padding: 18px; background: #fff; }
.g-o-block h3 { font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
.g-o-hero { background: #fafafa; }
.g-o-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a1a1aa; }
.g-o-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 6px 0 8px; }
.g-o-big b { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-o-big span { color: #a1a1aa; font-weight: 700; }
.g-o-hero p { margin: 0; font-size: 0.84rem; color: #71717a; }
.g-details { margin-top: 12px; }
.g-details summary { list-style: none; cursor: pointer; font-size: 0.82rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.g-details summary::-webkit-details-marker { display: none; }
.g-details summary i { font-size: 0.7rem; transition: transform 0.3s; }
.g-details[open] summary i { transform: rotate(180deg); }
.g-details table { width: 100%; border-collapse: collapse; font-size: 0.76rem; margin-top: 10px; }
.g-details td { padding: 6px 0; border-top: 1px solid #f0f0f0; }
.g-details td:nth-child(2) { color: #a1a1aa; text-align: right; padding: 6px 8px; white-space: nowrap; }
.g-details td:nth-child(3) { text-align: right; white-space: nowrap; }
.g-small { font-size: 0.76rem; color: #71717a; margin: 8px 0 0; }

.g-terms { display: grid; grid-template-columns: repeat(4, 1fr); background: #f4f4f5; border-radius: 12px; padding: 4px; gap: 2px; margin-bottom: 12px; }
.g-terms button { border: none; background: transparent; padding: 8px 4px; border-radius: 9px; font: 600 0.8rem 'Inter', sans-serif; cursor: pointer; color: #71717a; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: 0.25s; }
.g-terms button em { font-style: normal; font-size: 0.66rem; color: #3f6212; background: #ecfccb; padding: 1px 6px; border-radius: 99px; }
.g-terms button.is-on { background: #fff; color: #09090b; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.g-plans { display: flex; flex-direction: column; gap: 10px; }
.g-plan { position: relative; cursor: pointer; border: 1px solid #e4e4e7; border-radius: 12px; padding: 14px 16px; transition: 0.3s; }
.g-plan input { position: absolute; opacity: 0; pointer-events: none; }
.g-plan.is-on { border-color: #18181b; box-shadow: 0 0 0 2px #18181b; }
.g-plan-top { display: flex; justify-content: space-between; align-items: center; }
.g-plan strong { font-size: 1rem; font-weight: 800; }
.g-plan-badge { background: #18181b; color: #fff; font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.g-price { margin: 4px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.g-price b { display: inline-block; font-size: 1.8rem; font-weight: 900; letter-spacing: -0.04em; }
.g-price span { color: #71717a; font-size: 0.85rem; }
.g-price s { color: #a1a1aa; font-size: 0.85rem; }
.g-plan-sub { margin: 0 0 8px; font-size: 0.74rem; color: #3f6212; font-weight: 600; }
.g-plan ul { list-style: none; margin: 0; padding: 0; display: none; flex-direction: column; gap: 5px; font-size: 0.8rem; color: #52525b; }
.g-plan.is-on ul { display: flex; }
.g-plan li i { color: #16a34a; margin-right: 6px; font-size: 0.72rem; }

.g-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.g-bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; margin-bottom: 5px; }
.g-bar-top b { white-space: nowrap; }
.g-bar-track { height: 9px; border-radius: 9px; background: #f4f4f5; overflow: hidden; }
.g-bar-track i { display: block; height: 100%; width: 0; border-radius: 9px; transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.g-o-compare.is-in .g-bar-track i { width: var(--w); }
.g-bar.is-agency i { background: #52525b; }
.g-bar.is-free i { background: #a1a1aa; }
.g-bar.is-rk i { background: #84cc16; }
.g-bar.is-rk .g-bar-top { font-weight: 800; }
.g-saving { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 10px; background: #ecfccb; color: #3f6212; border: 1px solid #d9f99d; font-weight: 600; font-size: 0.86rem; }
.g-saving b { font-weight: 900; }

.g-o-why { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-o-why div { display: flex; gap: 9px; align-items: center; font-size: 0.8rem; padding: 10px 12px; border-radius: 10px; background: #fafafa; }
.g-o-why i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #ecfccb; color: #3f6212; font-size: 0.72rem; flex-shrink: 0; }
.g-o-actions { display: flex; flex-direction: column; gap: 8px; }
.g-o-actions .rk-btn { width: 100%; }
.g-o-actions[hidden], .g-request[hidden], .g-done[hidden] { display: none !important; }

.g-request { border: 2px solid #18181b; border-radius: 14px; padding: 18px; background: #fff; scroll-margin-top: 20px; }
.g-request h3 { font-size: 1.15rem; font-weight: 900; margin: 0; letter-spacing: -0.02em; }
.g-request .g-req-summary { margin-bottom: 14px; }
.g-request .rk-btn { width: 100%; margin-top: 6px; }
.g-consent { margin-bottom: 8px; color: #52525b; font-size: 0.8rem; }

.g-done { text-align: center; padding: 26px 16px; border-radius: 14px; background: #f7fee7; border: 1px solid #d9f99d; }
.g-done-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #16a34a; color: #fff; font-size: 1.6rem; animation: g-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes g-pop { from { transform: scale(0); } }
.g-done h3 { font-size: 1.3rem; font-weight: 900; margin: 0 0 6px; }
.g-done p { margin: 0; font-size: 0.88rem; color: #3f6212; }
.g-sources { font-size: 0.7rem; color: #a1a1aa; margin: 0; line-height: 1.5; }
.g-sources a { color: #71717a; }


/* =========================================================
   Étapes : nom & domaine, modèles, détails
   ========================================================= */
.g-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; margin: 0 0 16px; font: 600 0.84rem 'Inter', sans-serif; color: #71717a; cursor: pointer; }
.g-link:hover { color: #09090b; }
.g-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 20px; }
.g-quick button { border: 1px solid #e4e4e7; background: #fff; border-radius: 99px; padding: 6px 11px; font: 500 0.8rem 'Inter', sans-serif; color: #52525b; cursor: pointer; transition: 0.2s; }
.g-quick button:hover { border-color: #18181b; color: #09090b; }

.g-tpl-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.g-tpl-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; cursor: pointer; font-family: 'Inter', sans-serif; transition: 0.25s; }
.g-tpl-item:hover { border-color: #18181b; transform: translateX(3px); }
.g-tpl-item.is-on { border-color: #18181b; box-shadow: 0 0 0 2px #18181b; }
.g-tpl-item > i { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.08); }
.g-tpl-item span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.g-tpl-item b { font-size: 0.92rem; color: #09090b; }
.g-tpl-item small { font-size: 0.76rem; color: #71717a; line-height: 1.35; }
.g-tpl-item em { color: #a1a1aa; font-size: 0.8rem; }
.g-field select, .g-cat-select { width: 100%; padding: 11px 13px; border: 1px solid #e4e4e7; border-radius: 10px; font: inherit; font-size: 0.9rem; background: #fff; color: #09090b; cursor: pointer; }

.g-chosen { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fafafa; border: 1px solid #e4e4e7; margin-bottom: 18px; }
.g-chosen-swatch { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.08); }
.g-chosen small { display: block; font-size: 0.7rem; color: #a1a1aa; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.g-chosen b { font-size: 0.95rem; }

/* Grille des modèles dans l'aperçu */
.g-tpl-grid { display: none; width: 100%; height: 100%; overflow-y: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; padding: 2px 2px 20px; }
.g-window[data-phase="templates"] .g-tpl-grid { display: grid; }
.g-window[data-phase="templates"] .g-frame { display: none; }
.g-tpl-card { display: flex; flex-direction: column; padding: 0; border: 1px solid #e4e4e7; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; text-align: left; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.3s; font-family: 'Inter', sans-serif; }
.g-tpl-card:hover { transform: translateY(-4px); border-color: #18181b; box-shadow: 0 24px 50px -24px rgba(0,0,0,0.35); }
.g-tpl-card.is-on { box-shadow: 0 0 0 3px #84cc16; }
.g-tpl-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid #f0f0f0; }
.g-mock.is-static { position: absolute; top: 0; left: 0; width: 1000px; height: 700px; overflow: hidden; pointer-events: none; zoom: 0.3; }
.g-tpl-meta { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 2px; }
.g-tpl-meta b { font-size: 0.92rem; color: #09090b; }
.g-tpl-meta span { font-size: 0.76rem; color: #71717a; line-height: 1.35; }

/* Variantes de hero de la maquette */
.m-hero-art { display: none; }
.g-mock[data-hero="split"] .m-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6%; align-items: center; text-align: left; padding: 7% 6%; }
.g-mock[data-hero="split"] .m-sub { margin-left: 0; }
.g-mock[data-hero="split"] .m-btns, .g-mock[data-hero="bigtype"] .m-btns { justify-content: flex-start; }
.g-mock[data-hero="split"] .m-hero-art { display: block; aspect-ratio: 4 / 5; max-height: 320px; border-radius: 16px; background: linear-gradient(135deg, var(--m-ac), var(--m-ac2)) center / cover no-repeat; }
.g-mock[data-hero="bigtype"] .m-hero { text-align: left; padding: 10% 6% 8%; background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--m-ac2) 45%, transparent), transparent 45%); }
.g-mock[data-hero="bigtype"] .m-title { font-size: clamp(2.2rem, 6vw, 4.8rem); border-left: 7px solid var(--m-ac); padding-left: 4%; }
.g-mock[data-hero="bigtype"] .m-sub { margin-left: 0; }
.g-mock[data-hero="image"] .m-hero { padding: 13% 6%; color: #fff; background: radial-gradient(circle at 75% 25%, color-mix(in srgb, var(--m-ac) 60%, transparent), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--m-ac) 35%, #000), #050505); }
.g-mock[data-hero="image"] .m-btns em.alt { color: #fff; border-color: rgba(255,255,255,0.45); }
.g-mock[data-font="serif"] .m-title { font-weight: 500; letter-spacing: -0.01em; }
.g-mock[data-font="display"] .m-title { font-weight: 900; letter-spacing: -0.04em; }

/* =========================================================
   Barre de l'aperçu : historique et bouton Éditer
   ========================================================= */
.g-hist, .g-edit-toggle, .g-save { display: none; }
.g-window[data-phase="result"] .g-hist, .g-window[data-phase="edit"] .g-hist { display: flex; }
.g-window[data-phase="result"] .g-edit-toggle, .g-window[data-phase="edit"] .g-edit-toggle { display: inline-flex; }
.g-window[data-phase="edit"] .g-regen { display: none; }
body.rk-logged .g-window[data-phase="result"] .g-save, body.rk-logged .g-window[data-phase="edit"] .g-save { display: inline-flex; }
.g-save { align-items: center; gap: 7px; border: 1px solid #e4e4e7; background: #fff; border-radius: 10px; padding: 7px 12px; font: 600 0.82rem 'Inter', sans-serif; cursor: pointer; }
.g-save:hover { border-color: #18181b; }
.g-specifics [hidden] { display: none; }
.g-field > span em { font-style: normal; font-weight: 500; color: #a1a1aa; margin-left: 6px; }
.g-window[data-phase="edit"] .g-edit { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.g-hist { background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; padding: 3px; }
.g-hist button { width: 34px; height: 30px; border: none; background: transparent; border-radius: 7px; cursor: pointer; color: #09090b; }
.g-hist button:disabled { color: #d4d4d8; cursor: default; }
.g-hist button:not(:disabled):hover { background: #f4f4f5; }
.g-edit-toggle { align-items: center; gap: 7px; border: 1px solid #18181b; background: #fff; color: #09090b; border-radius: 10px; padding: 7px 13px; font: 700 0.82rem 'Inter', sans-serif; cursor: pointer; transition: 0.25s; }
.g-edit-toggle:hover, .g-edit-toggle.is-on { background: #18181b; color: #fff; }

/* =========================================================
   Éditeur (panneau de gauche)
   ========================================================= */
.g-ed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.g-ed-head h2 { margin: 0; }
.g-ed-empty { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px dashed #d4d4d8; border-radius: 12px; font-size: 0.84rem; color: #71717a; margin-bottom: 16px; }
.g-ed-empty i { font-size: 1.2rem; color: #84cc16; }
.g-ed-card { border: 2px solid #84cc16; border-radius: 14px; padding: 14px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; background: #fff; animation: g-in 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.g-ed-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.g-ed-card-head b { font-size: 0.95rem; display: flex; gap: 8px; align-items: center; }
.g-ed-card-head b i { color: #65a30d; }
.g-ed-card-head button { border: 1px solid #e4e4e7; background: #fff; border-radius: 8px; padding: 5px 9px; font: 600 0.74rem 'Inter', sans-serif; cursor: pointer; }
.g-ed-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.g-ed-row button, .g-ed-color { width: 36px; height: 34px; display: inline-grid; place-items: center; border: 1px solid #e4e4e7; background: #fff; border-radius: 8px; cursor: pointer; color: #09090b; font-size: 0.82rem; transition: 0.2s; position: relative; }
.g-ed-row button:hover:not(:disabled), .g-ed-color:hover { border-color: #18181b; }
.g-ed-row button.is-on { background: #18181b; color: #fff; border-color: #18181b; }
.g-ed-row button:disabled { opacity: 0.35; cursor: default; }
.g-ed-row button.is-danger:hover { background: #fef2f2; border-color: #ef4444; color: #dc2626; }
.g-ed-color input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.g-ed-sep { width: 1px; height: 22px; background: #e4e4e7; margin: 0 4px; }
.g-ed-val { font-size: 0.78rem; font-weight: 600; min-width: 40px; text-align: center; color: #52525b; }
.g-ed-wide { width: 100%; padding: 10px; border: 1px solid #18181b; border-radius: 10px; background: #18181b; color: #fff; font: 600 0.86rem 'Inter', sans-serif; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; }
.g-ed-wide:hover { background: #000; }
.g-ed-card .g-field { margin: 0; }
.g-ed-inline { display: flex; gap: 6px; }
.g-ed-inline input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid #e4e4e7; border-radius: 9px; font: inherit; font-size: 0.86rem; }
.g-ed-inline input:focus { outline: none; border-color: #18181b; }
.g-ed-inline button { border: none; background: #18181b; color: #fff; border-radius: 9px; padding: 0 14px; font: 700 0.8rem 'Inter', sans-serif; cursor: pointer; }
.g-ed-ai { border-top: 1px solid #f0f0f0; padding-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.g-ed-ai > span { font-size: 0.8rem; font-weight: 600; color: #3f6212; }

.g-ed-block { border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 16px; }
.g-ed-block h3 { font-size: 0.9rem; font-weight: 800; margin: 0 0 10px; }
.g-ed-block textarea { width: 100%; padding: 10px 12px; border: 1px solid #e4e4e7; border-radius: 10px; font: inherit; font-size: 0.86rem; resize: vertical; margin-bottom: 8px; }
.g-ed-block textarea:focus { outline: none; border-color: #18181b; }
.g-ed-block .rk-btn { width: 100%; }
.g-ed-sections { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; counter-reset: sec; }
.g-ed-sections li { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border: 1px solid #e4e4e7; border-radius: 10px; background: #fff; counter-increment: sec; transition: 0.2s; }
.g-ed-sections li::before { content: counter(sec); font-size: 0.7rem; font-weight: 700; color: #a1a1aa; min-width: 14px; }
.g-ed-sections li.is-on { border-color: #84cc16; background: #f7fee7; }
.g-ed-sname { flex: 1; min-width: 0; text-align: left; border: none; background: none; font: 600 0.82rem 'Inter', sans-serif; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 6px 0; color: #09090b; }
.g-ed-sections li > span { display: flex; gap: 2px; flex-shrink: 0; }
.g-ed-sections li > span button { width: 28px; height: 28px; border: none; background: transparent; border-radius: 7px; cursor: pointer; color: #71717a; font-size: 0.75rem; }
.g-ed-sections li > span button:hover:not(:disabled) { background: #f4f4f5; color: #09090b; }
.g-ed-sections li > span button.is-danger:hover { color: #dc2626; background: #fef2f2; }
.g-ed-sections li > span button:disabled { opacity: 0.3; cursor: default; }
.g-ed-none { font-size: 0.82rem; color: #a1a1aa; }
.g-ed-vars { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-ed-var { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border: 1px solid #e4e4e7; border-radius: 10px; cursor: pointer; font-size: 0.8rem; font-weight: 600; text-transform: capitalize; }
.g-ed-var input { width: 30px; height: 30px; border: none; padding: 0; background: none; cursor: pointer; }

@media (max-width: 900px) {
    .g-tpl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .g-tpl-meta { padding: 8px 10px 10px; }
    .g-tpl-meta span { display: none; }
    .g-canvas-bar { flex-wrap: wrap; gap: 8px; }
    .g-live { flex-basis: 100%; }
    .g-regen span, .g-edit-toggle span, .g-save span { display: none; }
    .g-window[data-phase="edit"] .g-canvas { height: 52vh; }
    .g-brand span { display: none; }
}

/* ---------- Mobile : aperçu en haut, panneau en dessous ---------- */
@media (max-width: 900px) {
    .g-window { width: 100vw; height: 100dvh; border-radius: 0; }
    .g-head { padding: 10px 14px; gap: 12px; }
    /* Hauteur de l'aperçu collé en haut ; scroll-padding garde le champ actif visible sous l'aperçu */
    .g-studio { --g-canvas-h: 38dvh; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; scroll-padding-top: calc(var(--g-canvas-h) + 16px); }
    .g-window[data-phase="result"] .g-studio { --g-canvas-h: 48dvh; }
    .g-window[data-phase="edit"] .g-studio { --g-canvas-h: 52dvh; }
    .g-canvas { order: -1; }
    .g-panel { border-right: none; overflow: visible; }
    .g-canvas, .g-window[data-phase="edit"] .g-canvas { height: var(--g-canvas-h); flex-shrink: 0; position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #e4e4e7; }
    .g-canvas-bar { padding: 8px 12px; }
    .g-devices { display: none; }
    .g-canvas-stage { padding: 0 10px 10px; }
    .g-view { padding: 20px 16px 26px; }
    .g-edit { position: static; transform: none !important; width: auto; margin: 0 10px 10px; display: none; }
    .g-window[data-phase="result"] .g-edit, .g-window[data-phase="edit"] .g-edit { display: flex; }
    .m-cards { grid-template-columns: 1fr 1fr; }
}

/* Prix agence : affiché après nos abonnements, en plus discret */
.g-o-agency { background: #fafafa; }
.g-o-agency .g-o-eyebrow { font-size: .68rem; }
.g-o-agency .g-o-big { font-size: .6em; opacity: .85; }
.g-o-agency .g-o-big b { font-size: 1.5rem; }
.g-o-agency p { font-size: .8rem; }

/* Étape « Ajustez votre site » : aperçu pleine largeur, modification mise en avant */
.g-review { display: none; }
.g-window[data-phase="review"] .g-studio { grid-template-columns: 1fr; }
.g-window[data-phase="review"] .g-panel { display: none; }
.g-window[data-phase="review"] .g-review { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; margin: 0 0 12px; border-radius: 16px; background: linear-gradient(135deg, #f7fee7, #ecfccb); border: 1px solid #d9f99d; }
.g-review-txt { display: grid; gap: 4px; font-size: .9rem; color: #3f3f46; }
.g-review-txt > b { font-size: 1.02rem; color: #18181b; }
.g-review-txt i { color: #65a30d; margin-right: 4px; }
.g-review .g-validate { white-space: nowrap; flex-shrink: 0; }
.g-window[data-phase="review"] .g-progress i::after { transform: scaleX(0.85); }
.g-window[data-phase="review"] .g-live i:not(.is-demo) { background: #16a34a; animation: none; }
.g-window[data-phase="review"] .g-regen, .g-window[data-phase="review"] .g-hist, .g-window[data-phase="review"] .g-edit-toggle { display: inline-flex; }
.g-window[data-phase="review"] .g-hist { display: flex; }
body.rk-logged .g-window[data-phase="review"] .g-save { display: inline-flex; }
.g-window[data-phase="review"] .g-edit { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); box-shadow: 0 0 0 4px rgba(132, 204, 22, .35), 0 20px 40px -12px rgba(0,0,0,.35); animation: gReviewPulse 2.4s ease-in-out 3; }
.g-window[data-phase="review"] .g-edit-toggle { background: #18181b; color: #fff; }
@keyframes gReviewPulse { 50% { box-shadow: 0 0 0 9px rgba(132, 204, 22, .15), 0 20px 40px -12px rgba(0,0,0,.35); } }
@media (prefers-reduced-motion: reduce) { .g-window[data-phase="review"] .g-edit { animation: none; } }
@media (max-width: 900px) {
  /* l'aperçu prend toute la hauteur (le panneau est masqué à cette étape) et le bandeau reste compact */
  .g-window[data-phase="review"] .g-studio { --g-canvas-h: 100%; }
  .g-window[data-phase="review"] .g-canvas-stage { min-height: 260px; }
  .g-window[data-phase="review"] .g-review { flex-direction: column; align-items: stretch; gap: 10px; margin: 8px 10px; padding: 10px 12px; }
  .g-window[data-phase="review"] .g-review-txt > span { display: none; }
  .g-window[data-phase="review"] .g-review-txt > b { font-size: .95rem; }
  .g-window[data-phase="review"] .g-edit { display: flex; }
}

.g-mail-hint { margin: -4px 0 4px; color: #3f6212; background: #f7fee7; border-radius: 10px; padding: 8px 10px; }
.g-mail-hint i, .g-done-access i { margin-right: 4px; }
.g-done-access { margin-top: 10px; font-size: .9rem; background: #fff; border: 1px solid #d9f99d; border-radius: 12px; padding: 10px 12px; }

/* Agrandir la fenêtre du générateur */
.g-full-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e4e4e7; background: #fff; cursor: pointer; font-size: .9rem; flex-shrink: 0; transition: .2s; }
.g-full-toggle:hover { border-color: #18181b; }
.g-head .g-full-toggle { margin-left: auto; }
.g-head .g-full-toggle + .g-close { margin-left: 0; }
.g-window.is-full { width: 100vw; height: 100vh; height: 100dvh; max-width: none; border-radius: 0; }
.g-overlay:fullscreen { background: #fff; }
.g-review-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.g-review-fold { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #d9f99d; background: #fff; cursor: pointer; color: #3f6212; }
.g-window.is-review-folded[data-phase="review"] .g-review { padding: 8px 14px; }
.g-window.is-review-folded[data-phase="review"] .g-review-txt span { display: none; }
.g-window.is-review-folded .g-review-fold i { transform: rotate(180deg); }
@media (max-width: 900px) { .g-full-toggle { display: none; } }

/* Page des prix : moins chargée, actions toujours visibles */
.g-window[data-phase="result"] .g-studio { grid-template-columns: 460px 1fr; }
.g-window[data-phase="result"] .g-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-window[data-phase="result"] .g-plan { padding: 12px 14px; }
.g-window[data-phase="result"] .g-price b { font-size: 1.5rem; }
.g-o-actions { position: sticky; bottom: 0; z-index: 3; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18px); padding: 18px 0 10px; margin: 0 0 4px; }
.g-o-more { border: 1px solid #e4e4e7; border-radius: 16px; background: #fafafa; }
.g-o-more > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.g-o-more > summary::-webkit-details-marker { display: none; }
.g-o-more > summary .fa-chevron-down { margin-left: auto; transition: transform .2s; }
.g-o-more[open] > summary .fa-chevron-down { transform: rotate(180deg); }
.g-o-more > .g-o-block, .g-o-more > .g-o-why { margin: 0 12px 12px; }
.g-want-top { display: none; }
.g-window[data-phase="result"] .g-want-top { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1100px) { .g-window[data-phase="result"] .g-plans { grid-template-columns: 1fr; } .g-window[data-phase="result"] .g-studio { grid-template-columns: 400px 1fr; } }
@media (max-width: 900px) { .g-window[data-phase="result"] .g-want-top { display: none; } }

/* Disponibilité du nom de domaine */
.g-dom { display: block; min-height: 1.1em; margin-top: 6px; font-size: .78rem; font-weight: 500; color: #71717a; line-height: 1.5; }
.g-dom.is-ok { color: #15803d; }
.g-dom.is-bad { color: #b91c1c; }
.g-dom i { margin-right: 3px; }
.g-dom-pick { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; border-radius: 99px; padding: 1px 8px; font: inherit; font-size: .76rem; cursor: pointer; margin: 2px 2px 0 0; }
.g-dom-pick:hover { border-color: #16a34a; }

/* La barre « Demandez une modification à l'IA » ne recouvre plus le bas de l'aperçu */
@media (min-width: 901px) {
  .g-window[data-phase="review"] .g-canvas-stage,
  .g-window[data-phase="result"] .g-canvas-stage,
  .g-window[data-phase="edit"] .g-canvas-stage { padding-bottom: 84px; }
}
.g-busy { align-content: center; }
/* Projet déjà demandé : pas de nouvelle demande, on enregistre les retouches */
.g-is-requested .g-want-top, .g-is-requested .g-o-actions .g-want { display: none !important; }
.g-requested-note { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #f7fee7; border: 1px solid #d9f99d; font-size: .88rem; line-height: 1.45; }
.g-requested-note i { color: #65a30d; margin-right: 4px; }
