/* ═══════════════════════════════════════════════════════════════════
 * Page publique /fiche-google au style du back-office « k » (21/11/2026).
 * Clair seulement : blanc, encre, un seul bleu d'action (#0057D9), Atkinson Hyperlegible Next,
 * cases d'icônes teintées. Les jetons viennent de /assets/css/k/jetons.css (chargée avant) ;
 * les teintes sont recopiées ici pour ne pas dépendre de la feuille du back-office.
 * Classes préfixées fgk-. La recherche est la porte de l'aperçu (porte-apercu.css, .kpa--grand).
 * Charles est daltonien : jamais vert contre rouge, un état est toujours écrit en mots.
 * ═══════════════════════════════════════════════════════════════════ */
html { font-size: 106.25%; /* 17 px, comme le back-office */ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
.fgk {
    --fgk-bleu: #0057D9;  --fgk-bleu-pale: #E3ECFA;  --fgk-bleu-encre: #0047B3;
    --fgk-jaune: #F2A900; --fgk-jaune-pale: #FFF1CC; --fgk-jaune-encre: #855A00;
    --fgk-vert: #009E73;  --fgk-rose: #B8327F;       --fgk-noir: #2B2B2B;
    margin: 0; background: var(--k-papier, #fff); color: var(--k-encre, #16191F);
    font-family: var(--k-police, system-ui, sans-serif); font-size: 1rem; font-weight: 400; line-height: 1.55;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
.fgk *, .fgk *::before, .fgk *::after { box-sizing: border-box; }
.fgk :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.fgk :where(ul, ol)[class] { padding: 0; list-style: none; }
.fgk :where(h1, h2, h3) { line-height: 1.2; font-weight: 700; text-wrap: balance; }
.fgk :where(p) { text-wrap: pretty; }
.fgk :where(b) { font-weight: 700; }
.fgk :where(a, button, input, summary):focus-visible { outline: 3px solid rgba(0, 87, 217, .45); outline-offset: 2px; border-radius: 6px; }
.fgk [hidden] { display: none !important; }

.fgk-large { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--k-gouttiere, 16px); }
.fgk-etroit { max-width: 800px; }

/* ─── Barre ─── */
.fgk-barre { border-bottom: 1px solid var(--k-trait); background: var(--k-papier); }
.fgk-barre-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.fgk-marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--k-encre); font-size: 1.176rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.fgk-signe rect { fill: var(--k-encre); }
.fgk-signe .fgk-signe-moi { fill: var(--fgk-bleu); }
.fgk-barre-lien { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin-right: -12px; border-radius: 8px; color: var(--k-encre-2); font-size: 16px; font-weight: 600; text-decoration: none; }
.fgk-barre-lien:hover { background: var(--k-fond); color: var(--k-encre); }

/* ─── Héros ─── */
.fgk-hero { padding: 48px 0 56px; background: var(--k-papier); border-bottom: 1px solid var(--k-trait); }
.fgk-hero-in { max-width: 860px; }
.fgk-h1 { font-size: clamp(1.75rem, 1.1rem + 3vw, 2.75rem); letter-spacing: -.02em; line-height: 1.12; }
.fgk-chapo { margin-top: 16px; max-width: 62ch; font-size: 1.06rem; color: var(--k-encre-2); }
.fgk-chapo b { color: var(--k-encre); }
.fgk-recherche { margin-top: 28px; padding: 16px; border: 1px solid #C9DCFA; border-radius: 16px; background: #F4F8FF; scroll-margin-top: 24px; }

/* ─── Sections ─── */
.fgk-sec { padding: 56px 0; }
.fgk-sec--fond { background: var(--k-fond); border-block: 1px solid var(--k-trait); }
.fgk-h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.765rem); letter-spacing: -.01em; }
.fgk-h3 { font-size: 1.06rem; font-weight: 700; }
.fgk-intro { margin-top: 8px; max-width: 62ch; color: var(--k-encre-2); }

/* ─── Cases d'icônes teintées ─── */
.fgk-teinte--bleu  { --fgk-t: var(--fgk-bleu);  --fgk-t-sur: #fff; }
.fgk-teinte--vert  { --fgk-t: var(--fgk-vert);  --fgk-t-sur: #fff; }
.fgk-teinte--rose  { --fgk-t: var(--fgk-rose);  --fgk-t-sur: #fff; }
.fgk-teinte--jaune { --fgk-t: var(--fgk-jaune); --fgk-t-sur: #2B2B2B; }
.fgk-teinte--encre { --fgk-t: var(--fgk-noir);  --fgk-t-sur: #fff; }
.fgk-case { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--fgk-t); color: var(--fgk-t-sur); }
.fgk-case svg { width: 24px; height: 24px; }

/* ─── Ce que vous allez voir ─── */
.fgk-cartes { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.fgk-carte { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border: 1px solid var(--k-trait-fort); border-radius: 12px; background: var(--k-papier); }
.fgk-carte-tete { display: flex; align-items: center; gap: 12px; }
.fgk-carte > p { color: var(--k-encre-2); font-size: 16px; }

/* Maquettes : exemples fictifs, étiquetés */
.fgk-ex { position: relative; margin-top: auto; padding: 22px 14px 14px; border: 1px dashed var(--k-trait-fort); border-radius: 8px; background: var(--k-fond); font-size: 15px; line-height: 1.45; color: var(--k-encre); }
.fgk-ex-mot { position: absolute; top: -11px; left: 12px; padding: 1px 10px; border: 1px solid var(--k-trait-fort); border-radius: 999px; background: var(--k-papier); color: var(--k-encre-2); font-size: 13px; font-weight: 600; }
.fgk-ex-lignes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--k-trait); }
.fgk-ex-lignes li:last-child { border-bottom: 0; padding-bottom: 0; }
.fgk-ex-lignes li:first-child { padding-top: 0; }
.fgk-ex-lignes--3 li { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 14px; }
.fgk-ex-lignes--3 li span:first-child { grid-column: 1 / -1; }
.fgk-ex-lignes--3 li span:not(:first-child) { white-space: nowrap; color: var(--k-encre-2); }
.fgk-ex-vous span:first-child { font-weight: 700; }
.fgk-ex-lignes--dates li { justify-content: flex-start; }
.fgk-ex-lignes--dates li span:first-child { flex: none; width: 4.4em; color: var(--k-encre-2); font-weight: 600; }
.fgk-etat { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.fgk-etat--bien { background: var(--fgk-bleu-pale); color: var(--fgk-bleu-encre); }
.fgk-etat--attention { background: var(--fgk-jaune-pale); color: var(--fgk-jaune-encre); }
.fgk-ex-texte { color: var(--k-encre); }
.fgk-ex-pied { margin-top: 8px; color: var(--k-encre-2); font-size: 13px; font-weight: 600; }
.fgk-ex-avis { color: var(--k-encre); }
.fgk-ex-reponse { margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--fgk-bleu); color: var(--k-encre-2); }
.fgk-ex-reponse b { color: var(--fgk-bleu-encre); }

/* ─── Ensuite : trois étapes et le prix ─── */
.fgk-suite { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.fgk-etapes { display: flex; flex-direction: column; gap: 12px; }
.fgk-etapes > li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--k-trait-fort); border-radius: 12px; background: var(--k-papier); }
.fgk-etapes p { margin-top: 6px; color: var(--k-encre-2); font-size: 16px; max-width: 58ch; }
.fgk-num { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--fgk-bleu); color: #fff; font-size: 1rem; font-weight: 700; }
.fgk-prix { padding: 24px; border: 2px solid var(--fgk-bleu); border-radius: 12px; background: var(--k-papier); }
.fgk-prix-titre { font-size: 1.06rem; font-weight: 700; }
.fgk-prix-somme { margin-top: 10px; line-height: 1.1; }
.fgk-prix-somme b { font-size: 2.6rem; letter-spacing: -.02em; }
.fgk-prix-somme span { font-size: 1.06rem; font-weight: 600; color: var(--k-encre-2); }
.fgk-prix-detail { margin-top: 10px; color: var(--k-encre-2); font-size: 16px; }
.fgk-compris { margin-top: 16px; padding-top: 16px !important; border-top: 1px solid var(--k-trait); display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.fgk-compris li { display: flex; gap: 10px; align-items: flex-start; }
.fgk-compris svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--fgk-bleu); stroke-width: 2.6; }
.fgk-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 20px; padding: 0 22px; border-radius: 10px; background: var(--fgk-bleu); color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 0 #0044AA; }
.fgk-btn:hover { background: #0046AE; }
.fgk-btn svg { width: 20px; height: 20px; stroke-width: 2.6; }

/* ─── Questions ─── */
.fgk-faq { margin-top: 24px; border: 1px solid var(--k-trait-fort); border-radius: 12px; background: var(--k-papier); overflow: hidden; }
.fgk-faq details + details { border-top: 1px solid var(--k-trait); }
.fgk-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.fgk-faq summary::-webkit-details-marker { display: none; }
.fgk-faq summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2.5px solid var(--fgk-bleu); border-bottom: 2.5px solid var(--fgk-bleu); transform: rotate(45deg) translateY(-3px); }
.fgk-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.fgk-faq summary:hover { background: var(--k-fond); }
.fgk-faq details p { padding: 0 20px 18px; color: var(--k-encre-2); max-width: 68ch; }

/* ─── Rappel de la recherche ─── */
.fgk-fin { background: #F4F8FF; border-top: 1px solid #C9DCFA; }
.fgk-fin .kpa { margin-top: 24px; }

/* ─── Pied ─── */
.fgk-pied { padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--k-trait); background: var(--k-papier); color: var(--k-encre-2); font-size: 15px; }
.fgk-pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.fgk-pied nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fgk-pied a { display: inline-flex; align-items: center; min-height: 44px; color: var(--k-encre-2); text-underline-offset: 3px; }
.fgk-pied a:hover { color: var(--k-encre); }

@media (min-width: 700px) {
    .fgk-hero { padding: 72px 0 80px; }
    .fgk-recherche { padding: 28px; }
    .fgk-sec { padding: 72px 0; }
    .fgk-ex-lignes--3 li { grid-template-columns: minmax(0, 1fr) auto auto; justify-content: stretch; gap: 6px 14px; }
    .fgk-ex-lignes--3 li span:first-child { grid-column: auto; }
    .fgk-cartes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
    .fgk-carte { grid-column: span 3; padding: 24px; }
    .fgk-cartes > .fgk-carte:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
    .fgk-carte { grid-column: span 2; }
    .fgk-carte--large { grid-column: span 3; }
    .fgk-cartes > .fgk-carte:last-child { grid-column: span 2; }
    .fgk-suite { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
    .fgk-btn, .fgk-barre-lien, .fgk-faq summary { transition: background-color 120ms; }
}
