/* Retouches du 18/10/2026, chargées après style.css et seo.css. */

/* Police auto-hébergée : plus aucun appel à Google. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Page claire : le mode sombre forcé des téléphones ne doit pas l'inverser. */
:root { color-scheme: only light; }

/* Petits textes remontés à 13,6 px minimum (lisibilité téléphone). */
.q-count,
.q-option .opt-sub,
.q-reassure,
.sim-footnote,
.result-legal,
.footer-note,
.eyebrow,
.sim-meter-label,
.aides-disclaimer,
.aid-disclaimer,
.breadcrumb { font-size: 0.85rem !important; }
.aides-disclaimer { opacity: 0.8; }

/* Page « Guides » : 2 colonnes sur ordinateur, 1 sur téléphone (l'ancien style en ligne débordait à 360 px). */
.aid-cards.aid-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .aid-cards.aid-cards-2 { grid-template-columns: minmax(0, 1fr); } }

/* Cibles tactiles de 44 px : liens du pied de page, du fil d'Ariane et des liens connexes. */
.seo-links a, .related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a, .breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 46px;
}
.footer-links { gap: 0; }
.footer-links a { justify-content: flex-start; }
.breadcrumb { padding-top: 6px; padding-bottom: 0; row-gap: 0; }

/* Un appui sur un bouton ne sélectionne jamais de texte. */
.q-option, .q-back, .q-submit, .q-restart, .hero-cta, .faq summary {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.q-back { min-height: 46px; }
.q-restart { min-height: 46px; }
.topbar a { display: inline-flex; align-items: center; min-height: 46px; }

/* Écran de résultat : la suite chez France Rénov'. */
.result .result-next { text-align: left; }
.result-next h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.result .result-next p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 12px; }
.q-link-cta {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(232, 99, 43, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.q-link-cta:hover { background: var(--cta-dark); }
.q-link-cta:active { transform: scale(0.98); }
.q-link-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.frenov-tel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 12px;
  min-height: 44px;
}
.frenov-tel a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
}
.frenov-tel a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.frenov-tel span { font-size: 0.85rem; color: var(--ink-soft); }
.result .frenov-note { font-size: 0.85rem; margin: 12px 0 0; }

/* Liens France Rénov' dans les textes. */
.faq details p a, .local-sub a { color: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .q-link-cta:active { transform: none; }
}
