/* ===== MEDA Solutions — styles de base (commun à toutes les pages) ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Bricolage+Grotesque:wght@600;700;800&display=swap");

/* Couleurs et formes communes : à réutiliser dans les feuilles des pages */
:root {
  --navy: #063b5c;
  --navy-2: #084d71;
  --blue: #087ea4;
  --teal: #5adbcb;
  --text: #063b5c;
  --text-soft: #3e5a6c;
  --bg: #f7f8fa;
  --line: #dae4ec;
  --grad: linear-gradient(135deg, #063b5c 0%, #087ea4 100%);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(6, 59, 92, 0.06), 0 4px 14px -6px rgba(6, 59, 92, 0.12);
  --shadow-md: 0 2px 4px rgba(6, 59, 92, 0.04), 0 18px 40px -18px rgba(6, 59, 92, 0.28);
  --shadow-shot: 0 2px 6px rgba(6, 59, 92, 0.06), 0 40px 80px -36px rgba(6, 59, 92, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: rgba(90, 219, 203, 0.45);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Apparition douce au défilement (js/fx.js) ---------- */
/* Animation (et non transition) : les transitions de survol des pages ne
   l'écrasent pas, et « translate » ne gêne pas leurs « transform ». */
.reveal:not(.in) {
  opacity: 0;
}
.reveal.in {
  animation: reveal-in 0.7s var(--ease) var(--d, 0s) both;
}
@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal:not(.in),
  .reveal.in {
    opacity: 1;
    animation: none;
  }
}
main {
  display: block;
}
img {
  max-width: 100%;
}

/* ---------- Pages à contenu « classique » (Tarifs, Contact) ---------- */
.plain {
  max-width: 1136px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

/* ---------- Conseil : ouvrir le logiciel dans Google Chrome ----------
   (js/navigateur.js ; pages connexion, vérification de l'e-mail, paiement) */
.vf-chrome {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin: 18px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eaf6fb;
  border: 1px solid #bfe3f0;
  color: #063b5c;
  font-size: 14.5px;
  line-height: 1.45;
}
.vf-chrome-ico {
  flex: 0 0 auto;
  color: #087ea4;
  margin-top: 1px;
}
.vf-chrome strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.vf-chrome-warn {
  background: #fff6e5;
  border-color: #f3d38f;
}
.vf-chrome-warn .vf-chrome-ico {
  color: #b7791f;
}
.vf-copy {
  display: block;
  margin-top: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #063b5c;
  background: #fff;
  border: 1px solid #c9d6de;
  border-radius: 8px;
  padding: 7px 14px;
}
.vf-copy:hover {
  border-color: #087ea4;
}
.vf-chrome[hidden],
.vf-copy[hidden] {
  display: none;
}

/* Mot mis en valeur dans un titre (dégradé de la marque) */
.hl {
  background: linear-gradient(120deg, #087ea4 0%, #2bb5c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
