/* ============================================================
   ADIE Solutions — couche responsive (partagée par toutes les pages)
   Cible les styles inline via sélecteurs d'attribut + !important.
   ============================================================ */

/* ---------- TABLETTE ≤1024px ---------- */
@media (max-width: 1024px) {
  :root { --container-pad: 22px; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------- TABLETTE / PETIT ≤860px ---------- */
@media (max-width: 860px) {
  :root { --section-gap: 64px; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="position: sticky"] { position: static !important; top: auto !important; }
}

/* ---------- MOBILE ≤640px ---------- */
@media (max-width: 640px) {
  :root { --container-pad: 18px; }

  /* Titres display */
  [style*="font-size: 320px"] { font-size: 120px !important; }
  [style*="font-size: 280px"] { font-size: 96px !important; }
  [style*="font-size: 260px"] { font-size: 92px !important; }
  [style*="font-size: 240px"] { font-size: 88px !important; }
  [style*="font-size: 220px"] { font-size: 86px !important; }
  [style*="font-size: 200px"] { font-size: 84px !important; }
  [style*="font-size: 66px"]  { font-size: 38px !important; }
  [style*="font-size: 64px"]  { font-size: 37px !important; }
  [style*="font-size: 56px"]  { font-size: 33px !important; }
  [style*="font-size: 54px"]  { font-size: 32px !important; }
  [style*="font-size: 52px"]  { font-size: 32px !important; }
  [style*="font-size: 50px"]  { font-size: 31px !important; }
  [style*="font-size: 44px"]  { font-size: 29px !important; }
  [style*="font-size: 42px"]  { font-size: 28px !important; }
  [style*="font-size: 40px"]  { font-size: 27px !important; }
  [style*="font-size: 38px"]  { font-size: 26px !important; }
  [style*="font-size: 36px"]  { font-size: 25px !important; }
  [style*="font-size: 32px"]  { font-size: 24px !important; }
  [style*="font-size: 26px"]  { font-size: 22px !important; }
  [style*="font-size: 24px"]  { font-size: 21px !important; }

  /* Texte courant */
  [style*="font-size: 20px"]   { font-size: 17px !important; }
  [style*="font-size: 19px"]   { font-size: 16.5px !important; }
  [style*="font-size: 18px"]   { font-size: 16px !important; }
  [style*="font-size: 17px"]   { font-size: 15.5px !important; }
  [style*="font-size: 16.5px"] { font-size: 15.5px !important; }
}

/* ---------- HEADER responsive (hamburger) ---------- */
.adie-burger { display: none; }
@media (max-width: 860px) {
  .adie-desktop-nav { display: none !important; }
  .adie-burger { display: inline-flex !important; }
}
