/*
Theme Name: H4I New Look
Theme URI: https://helpforinfo.com
Author: H4I — Help For Info
Description: Thème officiel H4I v3 — Solutions TI souveraines (Québec/Canada). Page d'accueil + page H4I-ITSM, palette navy/blue/cyan, police Inter.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: h4i
*/

/* ===== Base globale (toutes les pages) ===== */
:root{--navy:#0a2240;--navy2:#0f315c;--blue:#187eb4;--cyan:#27afdf;--cyan2:#5cc6ee;--ink:#0e2238;--mut:#5f7796;--line:#e2ebf4;--bg:#ffffff;--soft:#f2f8fd}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;overflow-x:hidden}
a{text-decoration:none;color:inherit}

/* Bannière maquette (temporaire — à retirer avant mise en production officielle) */
.banner{background:#0a2240;color:#bcd3ea;text-align:center;font-size:13px;padding:8px}

/* Barre d'admin WP : ne pas masquer le header sticky */
body.admin-bar header{top:32px}
@media(max-width:782px){body.admin-bar header{top:46px}}

/* ===== Liens footer (maillage interne) ===== */
.ftlinks{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-top:8px;padding-bottom:26px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.ftlinks b{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--navy);margin-bottom:10px}
.ftlinks a{display:block;font-size:14px;color:var(--mut);padding:3.5px 0;transition:.2s}
.ftlinks a:hover{color:var(--blue)}
@media(max-width:700px){.ftlinks{grid-template-columns:1fr;gap:20px}}

/* ===== Anti-copie (dissuasion) — n'affecte PAS Google ni les lecteurs d'écran.
   Les champs de formulaire restent sélectionnables/collables. ===== */
body.h4i-nocopy{-webkit-user-select:none;user-select:none}
body.h4i-nocopy input,body.h4i-nocopy textarea,body.h4i-nocopy select{-webkit-user-select:text;user-select:text}

/* ===== Fallback pour les pages standards (page.php / index.php) ===== */
.h4i-content{max-width:860px;margin:0 auto;padding:60px 22px}
.h4i-content h1{font-size:38px;font-weight:900;letter-spacing:-.025em;margin-bottom:20px}
.h4i-content h2{font-size:26px;font-weight:800;margin:28px 0 10px}
.h4i-content p{margin-bottom:14px}
.h4i-content a{color:var(--blue);font-weight:600}
.h4i-content ul,.h4i-content ol{margin:0 0 14px 22px}
