/* ============================================================
   AGRIS — Système de design v4 « Terra »
   Identité : vert terre profond, crème chaud, or récolte
   + photographies réelles auto-hébergées (public/img/photos)
   + polices auto-hébergées Sora / Inter (css/fonts.css)
   ============================================================ */

:root {
  --bg: #FBF9F1;
  --bg-soft: #F2EFE1;
  --card: #FFFFFF;
  --ink: #12271B;
  --ink-soft: #3A4F42;
  --muted: #6E8072;
  --line: #E5E2D0;
  --line-soft: #EEEBDC;

  --primary: #2F9E44;
  --primary-dark: #1E6B33;
  --primary-deep: #0B2E1B;
  --primary-soft: #E6F4E6;
  --accent: #7CC24E;
  --accent-bright: #B4E38A;
  --gold: #E8A020;
  --gold-deep: #B97B0A;
  --gold-soft: #FCF3DD;

  --airtel: #E40000;
  --airtel-dark: #B00000;

  --danger: #C9402F;
  --danger-soft: #FBEAE6;

  --radius: 20px;
  --radius-sm: 13px;
  --radius-xs: 8px;
  --shadow: 0 24px 55px -24px rgba(11, 46, 27, .32);
  --shadow-soft: 0 10px 30px -16px rgba(11, 46, 27, .16);
  --shadow-hard: 0 34px 80px -26px rgba(6, 27, 14, .55);

  --font-head: 'Sora', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --grad-primary: linear-gradient(135deg, #3CB253 0%, #1E6B33 100%);
  --grad-deep: linear-gradient(150deg, #17492A 0%, #0B2E1B 74%);
  --grad-gold: linear-gradient(135deg, #F2B33D, #D98A0B);
  --grad-sun: radial-gradient(60% 90% at 85% 0%, rgba(180, 227, 138, .35), transparent 60%);
  /* Voile vert profond posé sur les photos (heros, CTA) pour garantir la lisibilité */
  --photo-veil: linear-gradient(100deg, rgba(8, 33, 18, .92) 0%, rgba(8, 33, 18, .72) 42%, rgba(8, 33, 18, .28) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(47, 158, 68, .28); }

/* Barre de défilement discrète (WebKit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9CCB86, #5F9E4C);
  border-radius: 8px; border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

:focus-visible {
  outline: 3px solid rgba(47, 158, 68, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.45rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------------- Apparition au défilement ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.2, .7, .3, 1), transform .65s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Navbar ---------------- */
.navbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 249, 241, .88);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.navbar.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -18px rgba(11, 46, 27, .25);
}
.navbar-inner { display: flex; align-items: center; gap: 22px; padding: 10px 0; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.34rem;
  color: var(--primary-deep); letter-spacing: .4px;
}
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 3px 8px rgba(16, 59, 31, .25)); transition: transform .3s; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 4px; align-items: center; flex: 1; }
.nav-links a {
  padding: 8px 15px; border-radius: 999px; font-weight: 550; font-size: .95rem; color: var(--ink-soft);
  transition: background .16s, color .16s, box-shadow .16s;
  position: relative;
}
.nav-links a:hover { background: rgba(47, 158, 68, .11); color: var(--primary-dark); }
.nav-links a.active {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(30, 107, 51, .55);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  border: 2px solid #fff; box-shadow: var(--shadow-soft);
  flex: none;
}

.user-menu { position: relative; }
.user-menu > button { display: flex; align-items: center; gap: 9px; background: none; border: none; border-radius: 999px; padding: 3px; }
.user-menu > button:hover { background: rgba(47, 158, 68, .08); }
.user-menu .chev { transition: transform .18s; color: var(--muted); }
.user-menu.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-hard);
  border: 1px solid var(--line-soft); min-width: 238px; overflow: hidden;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .16s, transform .16s;
}
.user-menu.open .dropdown { opacity: 1; transform: none; pointer-events: auto; }
.dropdown .dd-head { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(135deg, var(--primary-soft), #F4F9EC); }
.dropdown .dd-head strong { display: block; font-size: .95rem; }
.dropdown .dd-head span { font-size: .8rem; color: var(--muted); }
.dropdown a, .dropdown button.dd-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 16px; font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  background: none; border: none; transition: background .13s, color .13s, padding-left .13s;
}
.dropdown a:hover, .dropdown button.dd-item:hover { background: var(--primary-soft); color: var(--primary-dark); padding-left: 20px; }
.dropdown .dd-item.danger { color: var(--danger); }
.dropdown .dd-item.danger:hover { background: var(--danger-soft); }

.burger { display: none; background: none; border: none; color: var(--ink); }

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 23px; border-radius: 999px; border: none;
  font-weight: 650; font-size: .95rem; line-height: 1.2; letter-spacing: .01em;
  transition: transform .13s, box-shadow .2s, background .2s, filter .2s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:active { transform: scale(.96); }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn:hover::after { transform: translateX(130%); }
.btn .ic { transition: transform .18s; }
.btn:hover .ic.arrow { transform: translateX(3px); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 22px -9px rgba(30, 107, 51, .65); }
.btn-primary:hover { box-shadow: 0 16px 32px -9px rgba(30, 107, 51, .7); filter: brightness(1.06); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, #8ACB67, #55A235); color: #fff; box-shadow: 0 10px 22px -9px rgba(124, 194, 78, .6); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary-dark); border: 1.6px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); background: rgba(47, 158, 68, .07); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.btn-light:hover { transform: translateY(-1px); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #F7DCD6; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn .ic { width: 18px; height: 18px; }

/* ---------------- Badges & puces ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 650; letter-spacing: .02em;
}
.badge-green { background: var(--primary-soft); color: var(--primary-dark); }
.badge-gold { background: var(--gold-soft); color: #8F6208; }
.badge-blue { background: #E3F2FD; color: #1565C0; }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-gray { background: var(--bg-soft); color: var(--muted); }
.badge-airtel { background: #FDEBEB; color: var(--airtel-dark); }

/* ---------------- Cartes ---------------- */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft);
}

/* Carte de formation */
.course-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary));
  opacity: 0; transition: opacity .22s;
}
.course-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(47, 158, 68, .38); }
.course-card:hover::before { opacity: 1; }
.course-card .cc-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.course-card .cc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .cc-cover img { transform: scale(1.07); }
.course-card .cc-cover .badge:not(.badge-prov) { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(4px); z-index: 3; }
.course-card .cc-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 46, 27, .45));
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.course-card:hover .cc-cover::after { opacity: 1; }
.course-card .cc-body { padding: 18px 18px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card .cc-cat {
  font-size: .75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .09em;
}
.course-card h3 { font-size: 1.05rem; line-height: 1.35; }
.course-card h3 a:hover { color: var(--primary-dark); }
.course-card .cc-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .82rem; margin-top: auto; }
.course-card .cc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card .cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--line-soft); margin: 4px 18px 16px;
}
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); }
.price.free { color: #55A235; }
.course-card .cc-author { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }

.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); }
.stars .ic { width: 15px; height: 15px; }
.stars .n { color: var(--muted); font-size: .8rem; margin-left: 3px; }

/* ---------------- Formulaires ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink-soft); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px;
  border: 1.6px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-family: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: #C9D6C0; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 158, 68, .14);
}
.textarea { min-height: 110px; resize: vertical; }
.file-drop {
  border: 2px dashed var(--line); border-radius: var(--radius-sm);
  padding: 22px; text-align: center; color: var(--muted);
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
  font-size: .9rem;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); background: rgba(47, 158, 68, .06); transform: translateY(-1px); }
.file-drop.selected { border-style: solid; border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }

/* ---------------- Modales ---------------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 22, 12, .64); backdrop-filter: blur(5px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-back.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: 22px; width: min(580px, 100%);
  max-height: 92vh; overflow: auto; box-shadow: var(--shadow-hard);
  transform: translateY(16px) scale(.97); transition: transform .2s cubic-bezier(.2, .8, .3, 1.1);
}
.modal-back.show .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px 0; }
.modal-head h3 { font-size: 1.2rem; }
.modal-close { background: var(--bg-soft); border: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s, transform .15s; }
.modal-close:hover { background: var(--danger-soft); color: var(--danger); transform: rotate(90deg); }
.modal-body { padding: 18px 24px 24px; }

/* ---------------- Toasts ---------------- */
.toast-zone { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary-deep); color: #fff; padding: 13px 18px;
  border-radius: 14px; font-size: .92rem; font-weight: 500;
  box-shadow: var(--shadow-hard); max-width: 380px;
  border-left: 4px solid var(--accent);
  animation: toast-in .3s cubic-bezier(.2, .8, .3, 1.15);
}
.toast.ok { background: var(--primary-dark); }
.toast.err { background: var(--danger); border-left-color: #FFD0C6; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------------- Divers ---------------- */
.section { padding: 68px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 560px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.kicker .ic { width: 15px; height: 15px; color: var(--gold); }

.grid-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  border: 2px dashed var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .55);
}
.empty .ic { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--accent); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }

.spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 4px solid var(--primary-soft); border-top-color: var(--primary);
  animation: spin .8s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.divider { height: 1px; background: var(--line-soft); border: none; margin: 18px 0; }

/* ---------------- Bouton contact / paiement Airtel Money (toutes les pages) ---------------- */
.contact-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-family: var(--font-body);
}
.contact-fab .fab-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px; border: none; cursor: grab;
  background: linear-gradient(135deg, #E40000, #B00000); color: #fff;
  font-weight: 650; font-size: .85rem;
  box-shadow: 0 12px 26px -10px rgba(228, 0, 0, .55);
  transition: transform .15s, box-shadow .2s, filter .2s;
  touch-action: none;      /* le glisser-doigt déplace la bulle, ne fait pas défiler la page */
  user-select: none; -webkit-user-select: none;
}
.contact-fab .fab-toggle:active,
.contact-fab .fab-toggle.grabbing { cursor: grabbing; }
body.fab-dragging { user-select: none; -webkit-user-select: none; }
body.fab-dragging .contact-fab .fab-toggle { transform: scale(1.05); box-shadow: 0 18px 34px -10px rgba(228, 0, 0, .6); }
/* La carte s'ouvre au-dessus de la bulle quand celle-ci est basse dans l'écran */
.contact-fab.above { flex-direction: column-reverse; }
.contact-fab .fab-toggle:hover { transform: translateY(-2px); filter: brightness(1.08); }
.contact-fab .fab-toggle svg { color: #fff; }
.contact-fab .fab-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 16px; box-shadow: var(--shadow-hard);
  padding: 16px 18px; width: 262px;
  opacity: 0; transform: translateY(8px) scale(.97);
  pointer-events: none; transition: opacity .18s, transform .18s;
}
.contact-fab.open .fab-card { opacity: 1; transform: none; pointer-events: auto; }
.contact-fab .fab-card > strong { font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.contact-fab .fab-sub { font-size: .78rem; color: var(--muted); margin: 3px 0 10px; }
.contact-fab .fab-number {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; letter-spacing: .02em;
  color: var(--airtel-dark);
  padding: 9px 12px; border-radius: 12px;
  background: #FDEBEB; border: 1.6px solid #F3C9C9;
  transition: background .15s, transform .15s;
}
.contact-fab .fab-number:hover { background: #FBDBDB; transform: translateY(-1px); }
.contact-fab .fab-actions { display: flex; gap: 8px; margin-top: 10px; }
.contact-fab .fab-actions .btn { flex: 1; }
.contact-fab .fab-note { font-size: .74rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 620px) {
  .contact-fab { left: 12px; bottom: 12px; }
  .contact-fab .fab-toggle span { display: none; }
  .contact-fab .fab-toggle { padding: 12px; border-radius: 50%; }
  .contact-fab .fab-card { width: min(262px, calc(100vw - 24px)); }
}

/* ---------------- Pied de page ---------------- */
.footer { background: var(--primary-deep); color: #C4D6C6; margin-top: 70px; position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary), var(--gold));
}
/* Bande photographique discrète en fond du pied de page */
.footer .footer-photo {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/img/photos/general.jpg') center 30%/cover no-repeat;
  opacity: .1; mix-blend-mode: luminosity;
}
.footer::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(180, 227, 138, .07) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
}
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; position: relative; z-index: 1; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer a { display: block; padding: 5px 0; color: #A3BCA7; font-size: .93rem; transition: color .15s, transform .15s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer .brand { color: #fff; }
.footer .pay-chip {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 9px 14px; font-size: .8rem; color: #E8F2E6;
}
.footer .pay-chip strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .84rem;
  color: #8FA693; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  position: relative; z-index: 1;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 4%; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-hard);
    animation: nav-drop .22s ease;
  }
  @keyframes nav-drop { from { opacity: 0; transform: translateY(-8px); } }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 12px; }
  .burger { display: grid; place-items: center; margin-left: auto; }
  .nav-actions .btn-ghost.hide-mobile { display: none; }
}
@media (max-width: 620px) {
  .footer-inner { grid-template-columns: 1fr; }
  .grid-courses { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
