/* Mires — styles partagés (site statique multi-pages) */
html, body { background: var(--paper); }
body { margin: 0; font-family: var(--font-sans); color: var(--fg-2); overflow-x: hidden; }
em { font-style: italic; font-family: var(--font-display); }
* { box-sizing: border-box; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }
*:focus { outline: none; }
button, a, input, select, textarea { outline: none; -webkit-tap-highlight-color: transparent; }
button::-moz-focus-inner { border: 0 !important; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-100); }
::-webkit-scrollbar-thumb { background: var(--stone-300); border: 3px solid var(--paper-100); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-500); }

/* reCAPTCHA */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-policies { color: var(--fg-3); font-size: 11px; line-height: 1.5; margin: 0; font-family: var(--font-sans); }
.recaptcha-policies a { color: var(--accent); }

/* Cookie consent animations */
@keyframes ck-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ck-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ck-pop { from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr !important; gap: 48px !important; }
  .sticky-col { position: static !important; top: auto !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-split-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .nav-links { display: none !important; }
  .nav-burger { display: inline-flex !important; }
  .nav-mobile { display: block !important; }
  .ck-banner { grid-template-columns: 1fr !important; gap: 20px !important; }
  .ck-banner-actions { min-width: 0 !important; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  nav > div:first-child { padding: 18px 24px !important; }
  section { padding-left: 24px !important; padding-right: 24px !important; }
}
/* Titre "Développement → Structuration → Exécution" sur une seule ligne en desktop */
@media (min-width: 901px) {
  .troistemps-title { white-space: nowrap !important; }
}
/* iPad Pro standard (≈1024–1366px) : grille des accompagnements sur 3 colonnes */
@media (min-width: 901px) and (max-width: 1366px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* Menu d'ancres Services : déroulant sur mobile, rangée inline sur desktop */
@media (max-width: 900px) {
  .anchor-menu-inner { padding-left: 24px !important; padding-right: 24px !important; }
  .anchor-menu-label { display: none !important; }
  .anchor-menu-row { display: none !important; }
  .anchor-menu-select { display: block !important; }
}
