/* Gamache Score GEO */
.gsg {
	--gsg-navy: #000c14;
	--gsg-ink: #000c14;
	--gsg-muted: #5b6475;
	--gsg-line: #e4e7ee;
	--gsg-soft: #f5f7fb;
	--gsg-ok: #1f9d63;
	--gsg-mid: #d98a00;
	--gsg-bad: #d64545;
	--gsg-accent: #e85d1f;
	--gsg-radius: 6px;
	--gsg-radius-sm: 4px;
	color: var(--gsg-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	max-width: 820px;
	margin: 0 auto;
	text-align: left;
}
.gsg *, .gsg *::before, .gsg *::after { box-sizing: border-box; }
.gsg [hidden] { display: none !important; }
.gsg h3, .gsg h4 { color: var(--gsg-navy); margin: 0; line-height: 1.25; font-family: inherit; }
.gsg p { margin: 0 0 .75em; }
.gsg a { color: inherit; }

.gsg-card {
	background: #fff;
	border: 1px solid var(--gsg-line);
	border-radius: var(--gsg-radius);
	box-shadow: 0 10px 30px -18px rgba(0, 12, 20, .35);
	padding: 28px;
	margin: 0 0 20px;
}
.gsg-card--dark { background: var(--gsg-navy); border-color: var(--gsg-navy); color: #fff; }
.gsg-card--dark .gsg-h, .gsg-card--dark h3 { color: #fff; }

/* Formulaires */
.gsg-grid { display: grid; grid-template-columns: 1fr; gap: 16px 18px; margin-bottom: 18px; }
@media (min-width: 640px) {
	.gsg-grid { grid-template-columns: 1fr 1fr; }
	.gsg-field--wide { grid-column: 1 / -1; }
}
.gsg-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: inherit; }
.gsg-field input {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--gsg-ink);
	background: #fff;
	border: 1.5px solid #cfd5e1;
	border-radius: var(--gsg-radius-sm);
	padding: 12px 14px;
	min-height: 48px;
	transition: border-color .15s, box-shadow .15s;
}
.gsg-field input:focus { outline: none; border-color: var(--gsg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gsg-accent) 25%, transparent); }
.gsg-help { font-size: 13px; color: var(--gsg-muted); margin: 6px 0 0; }
.gsg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.gsg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 14px 22px;
	border: 0;
	border-radius: var(--gsg-radius-sm);
	background: var(--gsg-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .1s, filter .15s;
}
.gsg-btn:hover { filter: brightness(1.08); }
.gsg-btn:active { transform: translateY(1px); }
.gsg-btn:disabled { opacity: .6; cursor: progress; }
.gsg-btn--light { background: #fff; color: var(--gsg-navy); width: auto; }
@media (min-width: 640px) { .gsg-form .gsg-btn, .gsg-lead .gsg-btn { width: auto; } }

.gsg-note { font-size: 13px; color: var(--gsg-muted); margin: 10px 0 0; }
.gsg-error { margin-top: 14px; padding: 12px 14px; border-radius: var(--gsg-radius-sm); background: #fdecec; color: #8f1f1f; font-size: 14px; }
.gsg-card--dark .gsg-error { background: rgba(255, 255, 255, .12); color: #ffd7d7; }

/* Progression */
.gsg-progress__title { font-size: 20px; margin-bottom: 16px; }
.gsg-progress__domain { color: var(--gsg-accent); word-break: break-all; }
.gsg-steps { list-style: none; margin: 0 0 8px; padding: 0; }
.gsg-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--gsg-muted); border-top: 1px solid var(--gsg-line); }
.gsg-steps li:first-child { border-top: 0; }
.gsg-dot { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd5e1; position: relative; }
.gsg-steps li[data-state="active"] { color: var(--gsg-ink); font-weight: 600; }
.gsg-steps li[data-state="active"] .gsg-dot { border-color: var(--gsg-accent); border-right-color: transparent; animation: gsg-spin .8s linear infinite; }
.gsg-steps li[data-state="done"] { color: var(--gsg-ink); }
.gsg-steps li[data-state="done"] .gsg-dot { background: var(--gsg-ok); border-color: var(--gsg-ok); }
.gsg-steps li[data-state="done"] .gsg-dot::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gsg-steps li[data-state="skip"] { text-decoration: line-through; opacity: .6; }
@keyframes gsg-spin { to { transform: rotate(360deg); } }

/* Score */
.gsg-score { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
@media (min-width: 640px) { .gsg-score { flex-direction: row; text-align: left; } }
.gsg-ring { width: 150px; height: 150px; flex: 0 0 150px; }
.gsg-ring__track { fill: none; stroke: var(--gsg-line); stroke-width: 10; }
.gsg-ring__value { fill: none; stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.gsg-band--solide .gsg-ring__value, .gsg-band--bien .gsg-ring__value { stroke: var(--gsg-ok); }
.gsg-band--fragile .gsg-ring__value { stroke: var(--gsg-mid); }
.gsg-band--invisible .gsg-ring__value { stroke: var(--gsg-bad); }
.gsg-ring__num { font-size: 38px; font-weight: 800; text-anchor: middle; fill: var(--gsg-navy); font-family: inherit; }
.gsg-ring__max { font-size: 12px; text-anchor: middle; fill: var(--gsg-muted); font-family: inherit; }
.gsg-kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--gsg-muted); margin-bottom: 4px; word-break: break-all; }
.gsg-score__band { font-size: 28px; margin-bottom: 6px; }
.gsg-warn { font-size: 14px; color: #8a5a00; background: #fff6db; padding: 10px 12px; border-radius: var(--gsg-radius-sm); }

/* Barres */
.gsg-h { font-size: 20px; margin-bottom: 14px; }
.gsg-sub { color: var(--gsg-muted); font-size: 15px; }
.gsg-bars { list-style: none; margin: 0; padding: 0; }
.gsg-bars li { margin: 0 0 14px; }
.gsg-bars__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.gsg-bars__row strong { white-space: nowrap; }
.gsg-bar { height: 10px; border-radius: 6px; background: var(--gsg-line); overflow: hidden; }
.gsg-bar__fill { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.gsg-bar__fill.is-in { width: var(--w); }
.gsg-bar__fill.gsg-ok { background: var(--gsg-ok); }
.gsg-bar__fill.gsg-mid { background: var(--gsg-mid); }
.gsg-bar__fill.gsg-bad { background: var(--gsg-bad); }

/* Tableau IA */
.gsg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gsg-ai { width: 100%; border-collapse: collapse; font-size: 15px; }
.gsg-ai th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gsg-muted); padding: 8px 10px; border-bottom: 2px solid var(--gsg-line); white-space: nowrap; }
.gsg-ai td { padding: 12px 10px; border-bottom: 1px solid var(--gsg-line); vertical-align: middle; }
.gsg-ai td:not(:first-child), .gsg-ai th:not(:first-child) { text-align: center; }
.gsg-q { display: block; font-weight: 600; }
.gsg-q__full { display: block; font-size: 13px; color: var(--gsg-muted); }
.gsg-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.gsg-badge.gsg-ok { background: var(--gsg-ok); }
.gsg-badge.gsg-mid { background: var(--gsg-mid); }
.gsg-badge.gsg-bad { background: var(--gsg-bad); }
.gsg-badge.gsg-off { background: #9aa3b2; }
.gsg-callout { margin: 16px 0 8px; padding: 12px 14px; border-radius: var(--gsg-radius-sm); background: var(--gsg-soft); border-left: 4px solid var(--gsg-accent); font-size: 15px; }
.gsg-legend { font-size: 13px; color: var(--gsg-muted); margin: 12px 0 0; }
.gsg-legend .gsg-badge { font-size: 11px; padding: 2px 8px; }

/* Priorités */
.gsg-prio { margin: 0; padding: 0; list-style: none; counter-reset: gsg; }
.gsg-prio li { counter-increment: gsg; position: relative; padding: 0 0 16px 46px; }
.gsg-prio li::before { content: counter(gsg); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--gsg-navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gsg-prio strong { display: block; color: var(--gsg-navy); }
.gsg-prio span { display: block; color: var(--gsg-muted); font-size: 15px; }

/* Rapport */
.gsg-checks { list-style: none; padding: 0; margin: 0 0 20px; }
.gsg-checks li { position: relative; padding-left: 26px; margin-bottom: 6px; opacity: .92; }
.gsg-checks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px; border: solid #7fe0b0; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gsg-card--dark .gsg-field input { border-color: transparent; }
.gsg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 0 0 18px; cursor: pointer; }
.gsg-consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; }
.gsg-consent a { color: inherit; text-decoration: underline; }

.gsg-again { text-align: center; }
.gsg-link { background: none; border: 0; padding: 8px; font: inherit; color: var(--gsg-muted); text-decoration: underline; cursor: pointer; }

/* Méthode */
.gsg-method summary { cursor: pointer; font-weight: 700; color: var(--gsg-navy); font-size: 17px; }
.gsg-method__body { margin-top: 16px; font-size: 15px; }
.gsg-method h4 { font-size: 16px; margin: 20px 0 6px; }
.gsg-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.gsg-table th, .gsg-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--gsg-line); vertical-align: top; }
.gsg-table td:nth-child(2) { font-weight: 700; text-align: center; }

@media (max-width: 560px) {
	.gsg-q__full { display: none; }
	.gsg-ai { font-size: 14px; }
	.gsg-ai th { text-transform: none; letter-spacing: 0; font-size: 12px; padding: 6px 4px; }
	.gsg-ai td { padding: 10px 4px; }
	.gsg-ai td:first-child { padding-left: 0; }
	.gsg-badge { padding: 3px 8px; font-size: 12px; }
}
@media (max-width: 480px) {
	.gsg-card { padding: 20px 18px; }
	.gsg-score__band { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.gsg-ring__value, .gsg-bar__fill { transition: none; }
	.gsg-steps li[data-state="active"] .gsg-dot { animation: none; }
}

/* Protection contre les styles du thème (listes, boutons et champs du contenu de page) */
.gsg ul, .gsg ol { margin-left: 0 !important; }
.gsg .gsg-btn { background: var(--gsg-accent) !important; color: #fff !important; border: 0 !important; padding: 14px 22px !important; min-height: 52px; box-shadow: none !important; text-decoration: none !important; }
.gsg .gsg-btn--light { background: #fff !important; color: var(--gsg-navy) !important; }
.gsg .gsg-link { background: none !important; border: 0 !important; color: var(--gsg-muted) !important; padding: 8px !important; min-height: 0; text-transform: none !important; letter-spacing: 0 !important; }
.gsg .gsg-field input { border: 1.5px solid #cfd5e1 !important; background: #fff !important; padding: 12px 14px !important; }
.gsg .gsg-field input:focus { border-color: var(--gsg-accent) !important; }
.gsg .gsg-steps, .gsg .gsg-bars, .gsg .gsg-prio, .gsg .gsg-checks { padding: 0 !important; list-style: none !important; }
.gsg .gsg-steps li { padding: 10px 0 !important; margin: 0 !important; }
.gsg .gsg-bars li { padding: 0 !important; margin: 0 0 14px !important; }
.gsg .gsg-prio li { padding: 0 0 16px 46px !important; margin: 0 !important; }
.gsg .gsg-checks li { padding: 0 0 0 26px !important; margin: 0 0 6px !important; }
.gsg .gsg-steps li::marker, .gsg .gsg-bars li::marker, .gsg .gsg-prio li::marker, .gsg .gsg-checks li::marker { content: none; }
.gsg .gsg-consent input { appearance: auto !important; -webkit-appearance: checkbox !important; }
.gsg table.gsg-ai, .gsg table.gsg-table { min-width: 0 !important; }


/* Effet quand le formulaire est prérempli */
.gsg .gsg-form.is-flash { box-shadow: 0 0 0 3px var(--gsg-accent); transition: box-shadow .3s; }
.gsg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bloc d'appel [gamache_score_geo_teaser] */
.gsg-teaser {
	--gsg-accent: #e85d1f;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 22px 40px;
	align-items: center;
	margin: 32px 0;
	padding: clamp(26px, 4vw, 44px);
	border-radius: 4px;
	background: radial-gradient(circle at 92% 0%, rgba(232, 93, 31, .28), transparent 55%), #000c14;
	color: #fff;
	text-align: left;
	font-family: inherit;
}
.gsg-teaser *, .gsg-teaser *::before, .gsg-teaser *::after { box-sizing: border-box; }
.gsg-teaser p { margin: 0 !important; max-width: none; }
.gsg-teaser .gsg-teaser__copy { flex: 1 1 340px; min-width: 0; }
.gsg-teaser .gsg-quick { flex: 1 1 300px; }
.gsg-teaser .gsg-teaser__kicker { font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gsg-accent) !important; margin-bottom: 10px !important; }
.gsg-teaser .gsg-teaser__title { font: 700 clamp(22px, 2.6vw, 32px)/1.12 "Town 10 Display", Montserrat, sans-serif !important; text-transform: uppercase; color: #fff !important; margin-bottom: 10px !important; }
.gsg-teaser .gsg-teaser__text { font-size: 15px !important; line-height: 1.6 !important; color: rgba(255, 255, 255, .8) !important; }
.gsg-teaser .gsg-quick { display: flex; gap: 0; margin: 0; background: #fff; border-radius: 3px; padding: 5px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.gsg-teaser .gsg-quick input { flex: 1 1 auto; min-width: 0; border: 0 !important; background: transparent !important; padding: 12px 12px !important; font: inherit; font-size: 16px !important; color: #000c14 !important; box-shadow: none !important; outline: none; }
.gsg-teaser .gsg-quick button { flex: 0 0 auto; border: 0 !important; border-radius: 3px !important; background: var(--gsg-accent) !important; color: #fff !important; padding: 13px 18px !important; font: 700 13px/1.2 Montserrat, sans-serif !important; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.gsg-teaser .gsg-quick button:hover { filter: brightness(1.08); }
.gsg-teaser .gsg-quick:focus-within { box-shadow: 0 0 0 3px var(--gsg-accent), 0 12px 30px -12px rgba(0, 0, 0, .5); }
.gsg-teaser--carte { background: #fff; color: #000c14; border: 1px solid rgba(0, 12, 20, .15); border-top: 3px solid var(--gsg-accent); }
.gsg-teaser--carte .gsg-teaser__title { color: #000c14 !important; font-size: clamp(20px, 2.2vw, 26px) !important; }
.gsg-teaser--carte .gsg-teaser__text { color: #2a3742 !important; }
.gsg-teaser--carte .gsg-quick { border: 1.5px solid #cfd5e1; box-shadow: none; }
@media (max-width: 420px) {
	.gsg-teaser .gsg-quick { flex-direction: column; gap: 6px; }
	.gsg-teaser .gsg-quick button { width: 100%; }
}

.gsg-nw { white-space: nowrap; }
