/* ==========================================================================
   css/guides.css — rubrique « Guides » — idf-immobilier.com — v1.0 — 25/11/2026
   S'appuie sur pages_info.css (bandeau bleu nuit, cartes, menu latéral).
   Code couleur : bleu = location, vert = vente, bleu nuit = marque.
   PC et téléphone / application.
   ========================================================================== */
.gd-body { --gd-acc: #0064E0; --gd-acc-fond: #eaf2fe; --gd-acc-bord: #bfdbfe; }
.gd-body.gd-vente { --gd-acc: #059669; --gd-acc-fond: #e6f7f0; --gd-acc-bord: #a7f3d0; }

/* Bandeau */
.gd-cat { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gd-cat-location { background: rgba(0,100,224,.28); color: #cfe3ff; border: 1px solid rgba(142,194,255,.5); }
.gd-cat-vente { background: rgba(5,150,105,.28); color: #c9f5e4; border: 1px solid rgba(110,231,183,.5); }
.ip-hero-ico.gd-ico-location { color: #8ec2ff; }
.ip-hero-ico.gd-ico-vente { color: #6ee7b7; }

/* Menu latéral : deux familles */
.gd-side .ip-side-titre { color: #0064E0; }
.gd-side .gd-side-vente { color: #059669; margin-top: 16px; }
.gd-side ul a.is-on { background: #eaf2fe; color: #0050b3; }
.gd-side ul a.is-on i { color: #0064E0; }
.gd-side ul.gd-ul-vente a.is-on { background: #e6f7f0; color: #047857; }
.gd-side ul.gd-ul-vente a.is-on i { color: #059669; }

/* Article */
.gd-article { line-height: 1.7; }
.gd-maj { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #667085; margin: 0 0 18px; }
.gd-article .ip-sec { margin-top: 30px; }
.gd-article .ip-sec h2 { font-family: var(--ip-display); font-weight: 800; font-size: 1.3rem; color: #101828; margin: 0 0 12px; letter-spacing: -.01em; }
.gd-article .ip-sec h3 { font-family: var(--ip-display); font-weight: 700; font-size: 1.05rem; color: #101828; margin: 18px 0 8px; }
.gd-article p { margin: 0 0 12px; color: #344054; }
.gd-article ul, .gd-article ol { margin: 0 0 14px; padding-left: 20px; color: #344054; }
.gd-article li { margin-bottom: 6px; }
.gd-article strong { color: #101828; }
.gd-article a { color: var(--gd-acc); font-weight: 600; text-decoration: none; }
.gd-article a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* En bref */
.gd-bref { background: var(--gd-acc-fond); border: 1px solid var(--gd-acc-bord); border-left: 4px solid var(--gd-acc); border-radius: 14px; padding: 16px 18px 6px; margin: 0 0 8px; }
.gd-bref-titre { display: flex; align-items: center; gap: 7px; font-family: var(--ip-display); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gd-acc) !important; margin: 0 0 8px !important; }
.gd-bref ul { padding-left: 18px; }

/* Encadrés */
.gd-note { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 13px 15px; margin: 14px 0; font-size: 15px; }
.gd-note > i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.gd-note p:last-child { margin-bottom: 0; }
.gd-note-info { background: #f3f6fa; border: 1px solid #e2e8f0; }
.gd-note-info > i { color: #1a3c5e; }
.gd-note-alerte { background: #fff8eb; border: 1px solid #fde4b0; }
.gd-note-alerte > i { color: #b45309; }
.gd-note-actu { background: #f5f3ff; border: 1px solid #ddd6fe; }
.gd-note-actu > i { color: #6d28d9; }

/* Tableaux */
.gd-table-wrap { overflow-x: auto; margin: 6px 0 16px; border: 1px solid #e6eaf0; border-radius: 12px; }
.gd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.gd-table th { background: #f7f9fc; color: #475467; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6eaf0; }
.gd-table td { padding: 10px 12px; border-bottom: 1px solid #eef1f5; vertical-align: top; color: #344054; }
.gd-table tr:last-child td { border-bottom: 0; }
.gd-table td strong { white-space: nowrap; }

/* Listes oui / non */
.gd-oui li::marker { color: #059669; }
.gd-non li::marker { color: #d92d20; }
.gd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gd-col { border: 1px solid #e6eaf0; border-radius: 12px; padding: 14px 16px 4px; }
.gd-col h3 { margin-top: 0 !important; display: flex; align-items: center; gap: 7px; }
.gd-col-oui h3 i { color: #059669; }
.gd-col-non h3 i { color: #d92d20; }

/* Sources, avertissement */
.gd-sources ul { list-style: none; padding: 0; }
.gd-sources li { margin-bottom: 8px; }
.gd-sources a { display: inline-flex; align-items: center; gap: 6px; }
.gd-sources a i { font-size: 12px; }
.gd-avert { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0 !important; padding-top: 16px; border-top: 1px solid #e6eaf0; font-size: 13.5px; color: #667085 !important; line-height: 1.6; }
.gd-avert i { color: #1a3c5e; font-size: 16px; margin-top: 1px; }

/* Boutons du bas */
.ip-cta .gd-btn-loc { background: #0064E0 !important; border-color: #0064E0 !important; color: #fff !important; }
.ip-cta .gd-btn-vente { background: #059669 !important; border-color: #059669 !important; color: #fff !important; }

/* ---------- Page d'accueil des guides ---------- */
.gd-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gd-hub-col h2 { display: flex; align-items: center; gap: 9px; font-family: var(--ip-display); font-weight: 800; font-size: 1.25rem; margin: 0 0 12px; }
.gd-hub-loc h2 { color: #0064E0; }
.gd-hub-ven h2 { color: #059669; }
.gd-carte { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e6eaf0; border-left: 4px solid #0064E0; border-radius: 14px; padding: 16px 16px; margin-bottom: 12px; text-decoration: none !important; box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: transform .15s, box-shadow .15s, border-color .15s; }
.gd-hub-ven .gd-carte { border-left-color: #059669; }
.gd-carte:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,24,40,.08); }
.gd-carte-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; background: #eaf2fe; color: #0064E0; }
.gd-hub-ven .gd-carte-ico { background: #e6f7f0; color: #059669; }
.gd-carte strong { display: block; font-family: var(--ip-display); font-size: 1rem; color: #101828; line-height: 1.3; margin-bottom: 4px; }
.gd-carte span { display: block; font-size: 13.5px; color: #667085; line-height: 1.5; }
.gd-hub-intro { font-size: 15.5px; color: #344054; margin: 0 0 20px; line-height: 1.65; }

/* ---------- Téléphone / application ---------- */
@media (max-width: 768px) {
  /* les tableaux larges défilent dans leur cadre au lieu d'élargir la page */
  .gd-body .ip-main, .gd-body .ip-card { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .gd-side { display: none; }               /* les autres guides sont proposés en bas */
  .gd-article .ip-sec h2 { font-size: 1.15rem; }
  .gd-article p, .gd-article li { font-size: 15px; }
  .gd-cols, .gd-hub { grid-template-columns: 1fr; gap: 12px; }
  .gd-table { font-size: 13.5px; }
  .gd-bref { padding: 14px 14px 4px; }
  .gd-carte { padding: 14px; }
}
