/* IA Center — original redesign in a minimalist black/white/lime editorial style.
   Hand-written CSS; not extracted from any third-party site. Self-hosted
   open-license fonts (Inter, Plus Jakarta Sans). Placeholder graphics only —
   no third-party photography. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/plusjakarta-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/plusjakarta-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/plusjakarta-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/plusjakarta-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/plusjakarta-800.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 300; font-style: normal; font-display: swap;
  src: url("fonts/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}

:root {
  --ac-ink: 0 0% 5%;
  --ac-paper: 0 0% 100%;
  --ac-mist: 0 0% 96%;
  --ac-line: 0 0% 88%;
  --ac-muted: 0 0% 42%;
  --ac-lime: 217 85% 58%;
  --ac-lime-ink: 222 68% 15%;
  --ac-radius-pill: 999px;
  --ac-radius-lg: 28px;
  --ac-radius-md: 18px;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ---------- global type + surface ---------- */
body {
  font-family: var(--font-body);
}
.ac-scope, .ac-scope * {
  font-family: var(--font-body);
}
.ac-scope h1, .ac-scope h2, .ac-scope h3, .ac-scope h4,
.ac-scope .ac-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: hsl(var(--ac-ink));
}

.ac-scope { background: hsl(var(--ac-paper)); color: hsl(var(--ac-ink)); }

.ac-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--ac-muted));
}
.ac-kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: hsl(var(--ac-lime));
  border-radius: 2px;
  display: inline-block;
}

.ac-section {
  padding: 96px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.ac-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.ac-section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 14px 0 16px;
}
.ac-section-head p {
  color: hsl(var(--ac-muted));
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- buttons ---------- */
.ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--ac-radius-pill);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.ac-btn:hover { transform: translateY(-2px) scale(1.02); }
.ac-btn-dark {
  background: hsl(var(--ac-ink));
  color: #fff;
}
.ac-btn-dark:hover { box-shadow: 0 14px 30px -10px rgb(0 0 0 / .45); }
.ac-btn-lime {
  background: hsl(var(--ac-lime));
  color: #fff;
}
.ac-btn-lime:hover { box-shadow: 0 14px 30px -10px hsl(var(--ac-lime) / .6); }
.ac-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: hsl(var(--ac-ink));
  color: #fff;
  flex-shrink: 0;
}
.ac-btn-dark .ac-btn-icon { background: hsl(var(--ac-lime)); color: hsl(var(--ac-lime-ink)); }

/* ---------- hero ---------- */
.ac-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  background:
    radial-gradient(120% 90% at 15% 0%, hsl(217 85% 55% / .5), transparent 60%),
    radial-gradient(120% 90% at 85% 10%, hsl(213 70% 32% / .3), transparent 55%),
    linear-gradient(180deg, rgb(5 7 10 / .55) 0%, rgb(5 7 10 / .82) 55%, rgb(5 7 10 / .96) 100%),
    url('../images/stock/hero-couloir-bleu.jpg');
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, center 38%;
  background-repeat: no-repeat;
  color: #fff;
  padding: 160px 24px 120px;
  text-align: center;
}
.ac-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(hsl(0 0% 100% / .05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 20%, black, transparent);
  pointer-events: none;
}
.ac-hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.ac-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
}
.ac-hero p {
  color: hsl(0 0% 100% / .72);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.ac-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* orbiting card carousel — cards swing purely left/right around a vertical
   axis, one by one, growing at center-front and shrinking as they recede
   to the back, like a planet orbit seen edge-on. */
.ac-orbit {
  position: relative;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-orbit-ring { position: relative; width: 1040px; max-width: 100%; height: 100%; }
.ac-orbit-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 210px; height: 220px;
  margin: -110px 0 0 -105px;
  border-radius: 22px;
  overflow: hidden;
  background-color: hsl(0 0% 16%);
  background-size: cover;
  background-position: center;
  animation: ac-orbit-move 13s ease-in-out infinite;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  text-decoration: none;
  cursor: pointer;
}
.ac-orbit-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .88) 0%, rgb(0 0 0 / .32) 48%, transparent 78%);
  pointer-events: none;
}
.ac-orbit-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}
.ac-orbit-title::before {
  content: "";
  display: block;
  width: 22px; height: 3px;
  border-radius: 2px;
  background: hsl(var(--ac-lime));
  margin-bottom: 12px;
}
@keyframes ac-orbit-move {
  0%    { transform: translateX(0px)    scale(1.08) rotate(0deg);  opacity: 1;   z-index: 6; box-shadow: 0 26px 50px -14px hsl(217 85% 45% / .5), 0 6px 18px -6px rgb(0 0 0 / .35); }
  12.5% { transform: translateX(283px)  scale(.9)   rotate(4deg);  opacity: .85; z-index: 4; box-shadow: 0 18px 36px -14px rgb(0 0 0 / .4); }
  25%   { transform: translateX(400px)  scale(.68)  rotate(0deg); opacity: .55; z-index: 3; box-shadow: 0 14px 28px -14px rgb(0 0 0 / .35); }
  37.5% { transform: translateX(283px)  scale(.46)  rotate(-4deg); opacity: .35; z-index: 2; box-shadow: 0 10px 20px -12px rgb(0 0 0 / .3); }
  50%   { transform: translateX(0px)    scale(.32)  rotate(0deg);  opacity: .2;  z-index: 1; box-shadow: 0 8px 16px -12px rgb(0 0 0 / .25); }
  62.5% { transform: translateX(-283px) scale(.46)  rotate(4deg);  opacity: .35; z-index: 2; box-shadow: 0 10px 20px -12px rgb(0 0 0 / .3); }
  75%   { transform: translateX(-400px) scale(.68)  rotate(0deg); opacity: .55; z-index: 3; box-shadow: 0 14px 28px -14px rgb(0 0 0 / .35); }
  87.5% { transform: translateX(-283px) scale(.9)   rotate(-4deg); opacity: .85; z-index: 4; box-shadow: 0 18px 36px -14px rgb(0 0 0 / .4); }
  100%  { transform: translateX(0px)    scale(1.08) rotate(0deg);  opacity: 1;   z-index: 6; box-shadow: 0 26px 50px -14px hsl(217 85% 45% / .5), 0 6px 18px -6px rgb(0 0 0 / .35); }
}
.ac-reduced-motion .ac-orbit-card { animation-play-state: paused; }
@media (max-width: 900px) {
  .ac-orbit { height: 260px; }
  .ac-orbit-ring { transform: scale(.6); }
}
@media (max-width: 560px) {
  .ac-orbit { height: 215px; }
  .ac-orbit-ring { transform: scale(.46); }
}
@media (max-width: 400px) {
  .ac-orbit { height: 165px; }
  .ac-orbit-ring { transform: scale(.34); }
}
@media (max-width: 340px) {
  .ac-orbit { height: 140px; }
  .ac-orbit-ring { transform: scale(.29); }
}

/* ---------- logo marquee ---------- */
.ac-logo-strip { padding: 48px 24px; }
.ac-logo-track { display: flex; gap: 88px; align-items: center; }
.ac-logo-track img { height: 56px; width: auto; }

/* ---------- card + sliding image panel (Nos Atouts) ---------- */
.ac-slide-row {
  display: flex;
  gap: 10px;
  height: 320px;
}
.ac-slide-pair {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid hsl(var(--ac-line));
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  cursor: pointer;
  transition: flex-grow .6s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.ac-slide-pair:hover {
  flex-grow: 2.3;
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .18);
}
.ac-slide-card {
  flex: 0 1 260px;
  min-width: 168px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
.ac-slide-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.ac-slide-card p { color: hsl(var(--ac-muted)); font-size: .9rem; line-height: 1.5; margin: 0; }
.ac-slide-image {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: hsl(var(--ac-ink));
}
.ac-slide-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .45s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.ac-slide-pair:hover .ac-slide-image img { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .ac-slide-row { flex-direction: column; height: auto; }
  .ac-slide-pair { flex-basis: auto; }
  .ac-slide-image { flex-basis: 0; }
  .ac-slide-pair:hover .ac-slide-image { flex-basis: 140px; }
}

/* ---------- card grid (services / financing) ---------- */
.ac-grid-frame {
  background: hsl(var(--ac-mist));
  border-radius: var(--ac-radius-lg);
  padding: 10px;
  display: grid;
  gap: 10px;
}
.ac-grid-frame-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ac-grid-frame-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ac-grid-frame-3 { grid-template-columns: 1fr; } }
.ac-card {
  background: #fff;
  border-radius: var(--ac-radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.ac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .18);
}
.ac-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: hsl(var(--ac-ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.ac-card:hover .ac-card-icon {
  transform: scale(1.1) rotate(-4deg);
}
.ac-card h3 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.ac-card p { color: hsl(var(--ac-muted)); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.ac-card-photo {
  border-radius: var(--ac-radius-md);
  min-height: 220px;
  background:
    radial-gradient(120% 120% at 20% 10%, hsl(var(--ac-lime) / .5), transparent 55%),
    linear-gradient(140deg, #14161a, #05070a);
  display: flex; align-items: flex-end; padding: 20px;
  color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  opacity: .85;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, opacity .3s ease;
}
.ac-card-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .3);
  opacity: 1;
}
.ac-card-photo img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.ac-card-photo:hover img {
  transform: scale(1.08);
}

/* ---------- stats ---------- */
.ac-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.ac-stat b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; display: block; }
.ac-stat span { color: hsl(var(--ac-muted)); font-size: 0.9rem; }

/* ---------- testimonial cards ---------- */
.ac-testi-card {
  background: hsl(var(--ac-mist));
  border-radius: var(--ac-radius-md);
  padding: 28px;
  min-width: 320px;
  max-width: 360px;
}
.ac-testi-card p { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
.ac-testi-card .ac-testi-name { font-weight: 600; }
.ac-testi-card .ac-testi-role { color: hsl(var(--ac-muted)); font-size: 0.85rem; }

/* ---------- blog preview cards ---------- */
.ac-blog-card {
  border: 1px solid hsl(var(--ac-line));
  border-radius: var(--ac-radius-md);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ac-blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgb(0 0 0 / .25); }
.ac-blog-thumb {
  height: 140px;
  background: linear-gradient(135deg, #101215, #05070a);
  position: relative;
}
.ac-blog-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 30% 20%, hsl(var(--ac-lime) / .35), transparent 60%);
}
.ac-blog-body { padding: 20px; }
.ac-blog-body .ac-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: hsl(var(--ac-lime-ink));
  background: hsl(var(--ac-lime) / .35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ac-blog-body h3 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.ac-blog-body p { font-size: 0.85rem; color: hsl(var(--ac-muted)); margin: 0; }

@media (max-width: 720px) {
  .ac-section { padding: 64px 20px; }
  .ac-hero { padding: 130px 20px 90px; }
}
@media (max-width: 480px) {
  .ac-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

/* ---------- scroll reveal (pop + fade + slide) ---------- */
.ac-reveal { opacity: 0; transform: translateY(26px) scale(.94); will-change: transform, opacity; }
.ac-reveal.ac-in-view {
  animation: ac-fade-up .6s cubic-bezier(.16,1.4,.4,1) forwards;
  animation-delay: var(--ac-reveal-delay, 0s);
}
@keyframes ac-fade-up {
  0%   { opacity: 0; transform: translateY(26px) scale(.94); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Reduced motion: keep a scroll-triggered fade so something still visibly
   happens, just without the scale/slide pop. */
.ac-reduced-motion .ac-reveal { transform: none; transition: opacity .5s ease; }
.ac-reduced-motion .ac-reveal.ac-in-view { animation: none; opacity: 1; }

/* ---------- mixed stat card grid (about/stats section) ---------- */
.ac-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ac-stat-card { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; min-height: 300px; }
.ac-stat-card-photo {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, hsl(217 70% 48%), hsl(217 70% 30%));
}
.ac-stat-card-photo .ac-stat-topbar { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.ac-stat-card-photo .ac-stat-float {
  margin-top: auto; position: relative; z-index: 1;
  background: hsl(0 0% 100% / .95); border-radius: 20px; padding: 20px;
}
.ac-stat-card-gray { background: hsl(var(--ac-mist)); }
.ac-stat-card-gray .ac-stat-avatars { display: flex; margin-top: 20px; }
.ac-stat-card-gray .ac-stat-avatars span {
  width: 40px; height: 40px; border-radius: 999px; border: 2px solid #fff;
  margin-left: -10px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: #fff;
}
.ac-stat-card-gray .ac-stat-avatars span:first-child { margin-left: 0; }
.ac-stat-right { display: flex; flex-direction: column; gap: 18px; }
.ac-stat-card-lime { background: hsl(var(--ac-lime)); flex: 1; }
.ac-stat-card-dark { background: hsl(var(--ac-ink)); color: #fff; flex-direction: row !important; align-items: center; justify-content: space-between; min-height: auto; padding: 24px 28px; }
.ac-stat-card-outline {
  background: #fff; border: 2px solid hsl(var(--ac-ink)); color: hsl(var(--ac-ink));
  flex-direction: row !important; align-items: center; justify-content: space-between;
  min-height: auto; padding: 22px 26px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.ac-stat-card-outline:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .2); }
.ac-stat-card-outline .ac-btn-icon {
  width: 38px; height: 38px;
  animation: ac-arrow-nudge 1.1s ease-in-out infinite;
}
@keyframes ac-arrow-nudge {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(12px) scale(1.08); }
}
.ac-stat-big { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; }
.ac-stat-label { color: hsl(var(--ac-muted)); font-size: .9rem; margin-top: 4px; }

@media (max-width: 900px) {
  .ac-stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .ac-stat-card-dark, .ac-stat-card-outline { flex-direction: column !important; align-items: flex-start !important; gap: 14px; }
}


/* ---------- financing highlight card ---------- */
.ac-card-highlight { background: hsl(var(--ac-lime)) !important; }
.ac-card-highlight h3 { color: #fff; }
.ac-card-highlight .ac-card-icon { background: #fff; color: hsl(var(--ac-lime)); }
.ac-card-highlight p { color: hsl(0 0% 100% / .85); }

/* ---------- financing cards (logo + checklist) ---------- */
.ac-card-finance { padding: 32px; }
.ac-card-finance-logo {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.ac-card-finance-logo img { max-height: 100%; max-width: 82%; object-fit: contain; }
.ac-card-finance-logo.ac-card-finance-icon { color: hsl(var(--ac-lime)); }
.ac-card-highlight .ac-card-finance-logo img { filter: brightness(0) invert(1); }
.ac-check-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 11px; }
.ac-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; line-height: 1.5; color: hsl(var(--ac-muted)); }
.ac-check-dot {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 999px;
  background: hsl(var(--ac-ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ac-card-highlight .ac-check-dot { background: #fff; }
.ac-card-highlight .ac-check-list li { color: hsl(0 0% 100% / .85); }

/* ---------- newsletter ---------- */
.ac-newsletter-input {
  background: hsl(0 0% 100% / .08); border: 1px solid hsl(0 0% 100% / .18);
  border-radius: 999px; padding: 12px 18px; color: #fff; font-size: .9rem; flex: 1;
}
.ac-newsletter-input::placeholder { color: hsl(0 0% 100% / .4); }

/* =====================================================================
   Site-wide retheme for pages that keep their existing (Tailwind-based)
   body markup. Overriding the design-system CSS variables the original
   build already used (--primary, --secondary, --radius, etc.) restyles
   every existing button/card/link across every page in one place,
   without needing to hand-rewrite each page's markup.
   ===================================================================== */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 5%;
  --primary: 217 85% 58%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 42%;
  --border: 0 0% 88%;
  --ring: 217 80% 50%;
  --radius: 1.1rem;
}

body {
  font-family: "Inter", sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  letter-spacing: -0.02em;
}

/* pill-shaped primary/dark CTA buttons everywhere */
a.inline-flex.items-center.justify-center.rounded-md,
button.inline-flex.items-center.justify-center.rounded-md {
  border-radius: 999px !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  letter-spacing: 0.03em;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
a.inline-flex.items-center.justify-center.rounded-md:hover,
button.inline-flex.items-center.justify-center.rounded-md:hover {
  transform: translateY(-2px) scale(1.02);
}
a[class*="bg-primary"]:hover, button[class*="bg-primary"]:hover { box-shadow: 0 14px 30px -10px hsl(var(--primary) / .6); }
a[class*="bg-foreground"]:hover, a[class*="bg-blue-600"]:hover { box-shadow: 0 14px 30px -10px rgb(0 0 0 / .4); }
a[class*="bg-blue-600"], button[class*="bg-blue-600"] { background: hsl(var(--ac-ink)) !important; color: #fff !important; border-color: transparent !important; }

/* card corner harmonization */
[class*="rounded-xl"], [class*="rounded-lg"] { border-radius: 20px; }
nav[class*="rounded"] { border-radius: 0; }

/* neutralize the legacy rainbow icon-chip pattern (bg-blue-100/text-blue-600,
   bg-green-100/text-green-600, etc.) left over on course/about pages — force
   every one back to the site's actual black-chip / blue-glyph icon language,
   without needing to hand-edit markup on every page that uses it. */
[class*="bg-blue-100"], [class*="bg-green-100"], [class*="bg-purple-100"],
[class*="bg-orange-100"], [class*="bg-yellow-100"], [class*="bg-pink-100"],
[class*="bg-indigo-100"], [class*="bg-red-100"], [class*="bg-teal-100"] {
  background-color: hsl(var(--ac-ink)) !important;
}
[class*="text-blue-600"], [class*="text-green-600"], [class*="text-purple-600"],
[class*="text-orange-600"], [class*="text-yellow-600"], [class*="text-pink-600"],
[class*="text-indigo-600"], [class*="text-red-600"], [class*="text-teal-600"],
[class*="text-blue-500"], [class*="text-yellow-500"] {
  color: hsl(var(--ac-lime)) !important;
}
[class*="from-green-50"], [class*="from-blue-50"], [class*="from-purple-50"],
[class*="to-blue-50"], [class*="to-purple-50"], [class*="to-green-50"],
[class*="from-yellow-50"], [class*="to-yellow-50"], [class*="from-orange-50"], [class*="to-orange-50"] {
  background-image: none !important;
  background-color: hsl(var(--ac-mist)) !important;
}

/* ---------- course facts grid (duration / format / audience / financing) ---------- */
.ac-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: hsl(var(--ac-line));
  border: 1px solid hsl(var(--ac-line));
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  margin: 32px 0;
}
.ac-fact { background: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.ac-fact-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--ac-muted)); }
.ac-fact-value { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: hsl(var(--ac-ink)); display: flex; align-items: center; gap: 8px; }
.ac-fact-value svg { color: hsl(var(--ac-lime)); flex-shrink: 0; }

/* ---------- curriculum module list ---------- */
.ac-module-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.ac-module { display: flex; gap: 18px; padding: 22px; background: hsl(var(--ac-mist)); border-radius: var(--ac-radius-md); align-items: flex-start; }
.ac-module-num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: hsl(var(--ac-lime)); flex-shrink: 0; min-width: 46px; }
.ac-module h4 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; color: hsl(var(--ac-ink)); }
.ac-module p { font-size: .9rem; color: hsl(var(--ac-muted)); line-height: 1.55; margin: 0; }

/* ---------- FAQ accordion ---------- */
.ac-faq { border: 1px solid hsl(var(--ac-line)); border-radius: var(--ac-radius-md); overflow: hidden; margin-bottom: 12px; background: #fff; }
.ac-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: .98rem;
  color: hsl(var(--ac-ink)); background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.ac-faq-q svg { flex-shrink: 0; transition: transform .3s ease; color: hsl(var(--ac-lime)); }
.ac-faq.ac-faq-open .ac-faq-q svg { transform: rotate(180deg); }
.ac-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 22px; color: hsl(var(--ac-muted)); font-size: .92rem; line-height: 1.6; }
.ac-faq-a p { margin: 0 0 20px; }
.ac-faq.ac-faq-open .ac-faq-a { max-height: 400px; }

/* ---------- course card (catalog + featured homepage) ---------- */
.ac-course-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid hsl(var(--ac-line)); border-radius: var(--ac-radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.ac-course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgb(0 0 0 / .25); border-color: transparent; }
.ac-course-card-media { height: 160px; position: relative; overflow: hidden; background: hsl(var(--ac-ink)); }
.ac-course-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.ac-course-card:hover .ac-course-card-media img { transform: scale(1.06); }
.ac-course-card-cat {
  position: absolute; top: 14px; left: 14px; background: hsl(0 0% 100% / .92); color: hsl(var(--ac-ink));
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px;
}
.ac-course-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ac-course-card-body h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.ac-course-card-body p { font-size: .88rem; color: hsl(var(--ac-muted)); line-height: 1.5; margin: 0; flex: 1; }
.ac-course-card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .74rem; color: hsl(var(--ac-muted)); }
.ac-course-card-meta span { display: flex; align-items: center; gap: 4px; background: hsl(var(--ac-mist)); padding: 4px 10px; border-radius: 999px; }
.ac-course-card-cta { margin-top: 6px; font-size: .85rem; font-weight: 600; color: hsl(var(--ac-lime-ink)); display: flex; align-items: center; gap: 6px; }

/* ---------- category cards (homepage) ---------- */
.ac-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ac-category-card { padding: 32px 28px; border-radius: var(--ac-radius-lg); background: hsl(var(--ac-mist)); transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease, color .3s ease; }
.ac-category-card:hover { transform: translateY(-4px); background: hsl(var(--ac-ink)); color: #fff; }
.ac-category-card:hover h3 { color: #fff; }
.ac-category-card:hover p { color: hsl(0 0% 100% / .7); }
.ac-category-card .ac-card-icon { margin-bottom: 4px; }
.ac-category-card h3 { font-size: 1.05rem; font-weight: 600; margin: 12px 0 8px; }
.ac-category-card p { font-size: .85rem; color: hsl(var(--ac-muted)); line-height: 1.5; margin: 0; transition: color .3s ease; }

/* ---------- audience split (Entreprises / Particuliers) ---------- */
.ac-audience-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ac-audience-card {
  position: relative; overflow: hidden; border-radius: var(--ac-radius-lg); padding: 32px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff;
  background-size: cover; background-position: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.ac-audience-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgb(5 7 10 / .25) 0%, rgb(5 7 10 / .55) 45%, rgb(5 7 10 / .92) 100%);
  transition: background .35s ease;
}
.ac-audience-card > * { position: relative; z-index: 1; }
.ac-audience-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -22px rgb(0 0 0 / .45); }
.ac-audience-card:hover::before { background: linear-gradient(190deg, rgb(5 7 10 / .15) 0%, rgb(5 7 10 / .45) 45%, rgb(5 7 10 / .88) 100%); }
.ac-audience-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ac-audience-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: hsl(var(--ac-ink)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ac-audience-count {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: hsl(0 0% 100% / .16); backdrop-filter: blur(6px);
  padding: 6px 13px; border-radius: 999px; color: #fff;
}
.ac-audience-card h3 { font-size: 1.55rem; font-weight: 600; margin: auto 0 10px; font-family: var(--font-display); color: #fff; }
.ac-audience-card p { font-size: .92rem; color: hsl(0 0% 100% / .8); margin: 0 0 20px; max-width: 380px; line-height: 1.55; }
.ac-audience-cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .85rem; }
.ac-audience-cta .ac-btn-icon { background: hsl(var(--ac-lime)); color: #fff; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.ac-audience-card:hover .ac-audience-cta .ac-btn-icon { transform: translateX(5px); }
@media (max-width: 720px) { .ac-audience-row { grid-template-columns: 1fr; } .ac-audience-card { min-height: 260px; } }

/* ---------- "comment ça marche" steps ---------- */
.ac-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ac-step-num {
  width: 40px; height: 40px; border-radius: 999px; background: hsl(var(--ac-ink)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  margin-bottom: 16px;
}
.ac-step h3 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.ac-step p { font-size: .85rem; color: hsl(var(--ac-muted)); line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .ac-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ac-steps { grid-template-columns: 1fr; } }

/* ---------- catalog: search + filters ---------- */
.ac-catalog-toolbar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.ac-catalog-search {
  width: 100%; max-width: 420px; margin: 0 auto;
  padding: 13px 20px; border-radius: 999px; border: 1px solid hsl(var(--ac-line));
  font-size: .9rem; font-family: var(--font-body); background: #fff;
}
.ac-catalog-search:focus { outline: none; border-color: hsl(var(--ac-lime)); }
.ac-filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ac-filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid hsl(var(--ac-line)); background: #fff;
  font-size: .82rem; font-weight: 600; color: hsl(var(--ac-muted)); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  font-family: var(--font-body);
}
.ac-filter-btn:hover { border-color: hsl(var(--ac-lime)); color: hsl(var(--ac-ink)); }
.ac-filter-btn.ac-filter-active { background: hsl(var(--ac-ink)); color: #fff; border-color: hsl(var(--ac-ink)); }
.ac-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ac-catalog-empty { text-align: center; color: hsl(var(--ac-muted)); padding: 60px 20px; }

/* ---------- certification badge (logo + title + description link) ---------- */
.ac-cert-badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 22px 12px 14px; border-radius: 999px;
  border: 1px solid hsl(var(--ac-line)); background: #fff;
  text-decoration: none; color: hsl(var(--ac-ink));
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.ac-cert-badge:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgb(0 0 0 / .22); border-color: transparent; }
.ac-cert-badge img { height: 44px; width: auto; flex-shrink: 0; }
.ac-cert-badge-text { display: flex; flex-direction: column; text-align: left; gap: 2px; }
.ac-cert-badge-text strong { font-size: .95rem; font-weight: 600; font-family: var(--font-display); }
.ac-cert-badge-text small { font-size: .78rem; color: hsl(var(--ac-muted)); }
.ac-cert-badge .ac-btn-icon { margin-left: 2px; }

/* ---------- mobile navigation ---------- */
.ac-nav-toggle { display: none; width: 40px; height: 40px; border: none; background: none; align-items: center; justify-content: center; cursor: pointer; color: hsl(var(--ac-ink)); padding: 0; }
.ac-mobile-scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .4); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.ac-mobile-scrim.ac-open { opacity: 1; pointer-events: auto; }
.ac-mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 82vw); background: #fff; z-index: 100;
  padding: 110px 28px 32px; display: flex; flex-direction: column; gap: 2px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22,1,.36,1);
  box-shadow: -20px 0 50px -20px rgb(0 0 0 / .3);
}
.ac-mobile-panel.ac-open { transform: translateX(0); }
.ac-mobile-panel a { padding: 14px 4px; font-size: 1.05rem; font-weight: 500; color: hsl(var(--ac-ink)); text-decoration: none; border-bottom: 1px solid hsl(var(--ac-line)); }
.ac-mobile-panel .ac-btn { margin-top: 20px; justify-content: center; }
.ac-mobile-panel .ac-btn-dark { color: #fff; }
.ac-mobile-panel-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid hsl(var(--ac-line)); }
.ac-mobile-panel-brand img { height: 32px; width: auto; }
.ac-mobile-panel-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: hsl(var(--ac-ink)); }
.ac-nav-links { display: flex; gap: 32px; }
@media (max-width: 780px) {
  .ac-nav-links { display: none; }
  .ac-nav-toggle { display: flex; }
}
.ac-reduced-motion .ac-mobile-panel, .ac-reduced-motion .ac-mobile-scrim { transition: none; }

/* nav / footer replaced by ac-nav / ac-footer already; hide any leftover
   default nav/footer if the replace script could not run on a page */

/* ---------- blog preview grid (homepage) ---------- */
.ac-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .ac-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ac-blog-grid { grid-template-columns: 1fr; } }

/* ---------- footer 4-column grid (sitewide) ---------- */
.ac-footer-grid { max-width: 1180px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 780px) { .ac-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 480px) { .ac-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

