/*
 * ============================================================
 *  CAP AVENIR JEUNES CI — Couche d'animations & composants vivants
 *  Couleurs Côte d'Ivoire : Orange #EC753A · Blanc #FFFFFF · Vert #036D00 / #037100
 *  Chargé après ci-theme.css sur toutes les pages publiques.
 * ============================================================
 */

:root {
  --ci-orange: #EC753A;
  --ci-orange-dark: #d4612a;
  --ci-orange-soft: #fff1ea;
  --ci-white: #ffffff;
  --ci-green: #036D00;
  --ci-green-2: #037100;
  --ci-green-soft: #eaf6e9;
  --ci-ink: #13230f;
  --ci-muted: #5b6658;
  --ci-radius: 18px;
  --ci-shadow: 0 10px 30px rgba(19, 35, 15, .08);
  --ci-shadow-hover: 0 22px 48px rgba(236, 117, 58, .22);
  --ci-ease: cubic-bezier(.22, 1, .36, 1);
  --ci-flag: linear-gradient(90deg, var(--ci-orange) 0 33.33%, #fff 33.33% 66.66%, var(--ci-green) 66.66% 100%);
  --ci-heading-font: "Poppins", "Inter", sans-serif;
}

/* ------------------------------------------------------------------ */
/* 0. Barre de progression de lecture (tricolore)                      */
/* ------------------------------------------------------------------ */
.ci-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--ci-flag); background-size: 100vw 100%;
  z-index: 100000; box-shadow: 0 0 10px rgba(236, 117, 58, .5);
  transition: width .1s linear;
}

/* ------------------------------------------------------------------ */
/* 1. Bandeau tricolore agrandi                                        */
/* ------------------------------------------------------------------ */
.ci-flagband {
  display: flex; height: 14px; width: 100%; position: relative; z-index: 9999; overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}
.ci-flagband > span { flex: 1; position: relative; }
.ci-flagband .is-orange { background: linear-gradient(180deg, #f18a55, var(--ci-orange)); }
.ci-flagband .is-white  { background: linear-gradient(180deg, #ffffff, #f4f4f4); }
.ci-flagband .is-green  { background: linear-gradient(180deg, var(--ci-green-2), var(--ci-green)); }
.ci-flagband::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22%; left: -25%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: ciShine 4.5s ease-in-out infinite;
}
@keyframes ciShine { 0% { left: -25%; } 60%, 100% { left: 110%; } }

/* ------------------------------------------------------------------ */
/* 2. Annonces défilantes                                              */
/* ------------------------------------------------------------------ */
.ci-ticker {
  position: relative; z-index: 9998; display: flex; align-items: stretch;
  background: #fff; border-bottom: 1px solid rgba(3, 109, 0, .12);
  box-shadow: 0 6px 18px rgba(19, 35, 15, .06); min-height: 44px; overflow: hidden;
}
.ci-ticker__label {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 22px 0 16px;
  background: linear-gradient(135deg, var(--ci-orange), var(--ci-orange-dark)); color: #fff;
  font-family: var(--ci-heading-font); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  position: relative; z-index: 2;
}
.ci-ticker__label i { font-size: 18px; animation: ciRing 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes ciRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.ci-ticker__live { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); animation: ciPulse 1.6s infinite; }
@keyframes ciPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.ci-ticker__viewport {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ci-ticker__track { display: flex; align-items: center; white-space: nowrap; will-change: transform; animation: ciMarquee var(--ci-ticker-duration, 40s) linear infinite; }
.ci-ticker:hover .ci-ticker__track { animation-play-state: paused; }
@keyframes ciMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ci-ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; color: var(--ci-ink); font-size: 14.5px; font-weight: 500; }
.ci-ticker__item a { color: var(--ci-ink); transition: color .2s; }
.ci-ticker__item a:hover { color: var(--ci-orange); }
.ci-ticker__chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.ci-ticker__sep { display: inline-flex; gap: 2px; }
.ci-ticker__sep b { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.ci-ticker__sep b:nth-child(1) { background: var(--ci-orange); }
.ci-ticker__sep b:nth-child(2) { background: #d9d9d9; }
.ci-ticker__sep b:nth-child(3) { background: var(--ci-green); }
@media (max-width: 575px) {
  .ci-ticker__label span.ci-ticker__text { display: none; }
  .ci-ticker__item { font-size: 13px; padding: 0 18px; }
}

/* ------------------------------------------------------------------ */
/* 3. Apparition au défilement (reveal)                                */
/* ------------------------------------------------------------------ */
.ci-reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s var(--ci-ease), transform .8s var(--ci-ease); transition-delay: var(--ci-delay, 0ms); }
.ci-reveal[data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.ci-reveal[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.ci-reveal[data-reveal="zoom"] { transform: scale(.88); }
.ci-reveal[data-reveal="flip"] { transform: perspective(800px) rotateX(18deg) translateY(30px); transform-origin: 50% 100%; }
.ci-reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* 4. Titres de section                                                */
/* ------------------------------------------------------------------ */
.section__title__heading h2, .section__title__heading__2 h2, .section__title__heading__3 h2,
.populerarea__heading h2, .ci-section-title {
  font-family: var(--ci-heading-font); letter-spacing: -.01em;
}
.ci-underline { position: relative; display: inline-block; }
.ci-underline::after {
  content: ""; position: absolute; left: 0; bottom: -10px; height: 5px; width: 0; border-radius: 99px;
  background: var(--ci-flag); transition: width 1.1s var(--ci-ease) .2s;
}
.is-visible .ci-underline::after, .ci-underline.is-visible::after { width: 90px; }
.ci-gradient-text {
  background: linear-gradient(90deg, var(--ci-orange), #f2a173, var(--ci-green-2), var(--ci-orange));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: ciGradientMove 8s ease infinite;
}
@keyframes ciGradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.default__small__button {
  position: relative; overflow: hidden;
  background: var(--ci-orange-soft) !important; color: var(--ci-orange-dark) !important;
  border-radius: 999px !important; font-weight: 700 !important; letter-spacing: .04em;
}
.default__small__button::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--ci-green); animation: ciPulseGreen 2s infinite; vertical-align: middle; }
@keyframes ciPulseGreen { 0% { box-shadow: 0 0 0 0 rgba(3, 109, 0, .55); } 100% { box-shadow: 0 0 0 9px rgba(3, 109, 0, 0); } }

/* ------------------------------------------------------------------ */
/* 5. Boutons : brillance + onde                                       */
/* ------------------------------------------------------------------ */
.btn, .service__button, .herobannerarea__button__1, .headerarea__button a, .ci-btn, .gridarea__heading h3 a, button[type="submit"] {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ci-ease), box-shadow .25s var(--ci-ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after, .service__button::after, .herobannerarea__button__1::after, .ci-btn::after, button[type="submit"]::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
  transition: left .7s var(--ci-ease); pointer-events: none;
}
.btn:hover::after, .service__button:hover::after, .herobannerarea__button__1:hover::after, .ci-btn:hover::after, button[type="submit"]:hover::after { left: 140%; }
.btn:hover, .ci-btn:hover, .service__button:hover, .herobannerarea__button__1:hover { transform: translateY(-2px); }
.btn:active, .ci-btn:active { transform: translateY(0) scale(.98); }
.ci-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .55); animation: ciRipple .65s ease-out forwards; pointer-events: none; z-index: 0; }
@keyframes ciRipple { to { transform: scale(4); opacity: 0; } }

.ci-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; text-decoration: none;
}
.ci-btn--orange { background: linear-gradient(135deg, var(--ci-orange), var(--ci-orange-dark)); color: #fff !important; box-shadow: 0 10px 24px rgba(236, 117, 58, .35); }
.ci-btn--orange:hover { box-shadow: 0 16px 34px rgba(236, 117, 58, .45); color: #fff !important; }
.ci-btn--green { background: linear-gradient(135deg, var(--ci-green-2), var(--ci-green)); color: #fff !important; box-shadow: 0 10px 24px rgba(3, 109, 0, .3); }
.ci-btn--green:hover { box-shadow: 0 16px 34px rgba(3, 109, 0, .4); color: #fff !important; }
.ci-btn--ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); color: #fff !important; backdrop-filter: blur(6px); }
.ci-btn--ghost:hover { background: #fff; color: var(--ci-green) !important; }
.ci-btn--outline { background: #fff; border-color: var(--ci-orange); color: var(--ci-orange) !important; }
.ci-btn--outline:hover { background: var(--ci-orange); color: #fff !important; }
.ci-btn i { transition: transform .25s var(--ci-ease); }
.ci-btn:hover i.icofont-arrow-right, .ci-btn:hover i.icofont-long-arrow-right { transform: translateX(4px); }

/* Boutons bootstrap re-teintés */
.btn-primary { background: linear-gradient(135deg, var(--ci-green-2), var(--ci-green)) !important; border-color: var(--ci-green) !important; }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(3, 109, 0, .3); }
.btn-outline-primary { color: var(--ci-green) !important; border-color: var(--ci-green) !important; }
.btn-outline-primary:hover { background: var(--ci-green) !important; color: #fff !important; }
.btn-outline-secondary:hover { background: var(--ci-orange) !important; border-color: var(--ci-orange) !important; color: #fff !important; }

/* ------------------------------------------------------------------ */
/* 6. Cartes génériques                                                */
/* ------------------------------------------------------------------ */
.gridarea__wraper, .single__service, .single__testimonial__wraper, .ci-card {
  border-radius: var(--ci-radius) !important; box-shadow: var(--ci-shadow);
  transition: transform .45s var(--ci-ease), box-shadow .45s var(--ci-ease), border-color .3s;
  border: 1px solid rgba(3, 109, 0, .06); background: #fff; position: relative;
}
.gridarea__wraper:hover, .single__service:hover, .single__testimonial__wraper:hover, .ci-card:hover {
  transform: translateY(-8px); box-shadow: var(--ci-shadow-hover); border-color: rgba(236, 117, 58, .35);
}
.gridarea__wraper::before, .ci-card::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 4px; border-radius: 0 0 6px 6px;
  background: var(--ci-flag); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ci-ease); z-index: 3;
}
.gridarea__wraper:hover::before, .ci-card:hover::before { transform: scaleX(1); }
.gridarea__img, .ci-card__media { overflow: hidden; border-radius: calc(var(--ci-radius) - 4px); position: relative; }
.gridarea__img img, .ci-card__media img { transition: transform 1.1s var(--ci-ease), filter .6s; }
.gridarea__wraper:hover .gridarea__img img, .ci-card:hover .ci-card__media img { transform: scale(1.1) rotate(.6deg); filter: saturate(1.15); }
.gridarea__img::after, .ci-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 35, 15, .45)); opacity: .6; transition: opacity .4s;
}
.gridarea__wraper:hover .gridarea__img::after { opacity: 1; }

/* Service / parcours */
.single__service { overflow: hidden; }
.single__service::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 117, 58, .16), transparent 70%); transition: transform .6s var(--ci-ease);
}
.single__service:nth-child(even)::after { background: radial-gradient(circle, rgba(3, 109, 0, .14), transparent 70%); }
.single__service:hover::after { transform: scale(1.6); }
.single__service .service__img { transition: transform .5s var(--ci-ease); }
.single__service:hover .service__img { transform: translateY(-6px) rotate(-4deg); }
.single__service .service__icon { animation: ciFloat 4s ease-in-out infinite; }
@keyframes ciFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Formulaires de filtres */
.ci-filter-card {
  background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 18px 50px rgba(19, 35, 15, .09);
  border: 1px solid rgba(3, 109, 0, .08); position: relative; overflow: hidden;
}
.ci-filter-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--ci-flag); }
.ci-filter-card .form-label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ci-muted); }
.ci-filter-card .form-control, .ci-filter-card .form-select, .ci-filter-card .ts-control {
  border-radius: 12px !important; border-color: #e3e8e1 !important; min-height: 46px; transition: border-color .2s, box-shadow .2s;
}
.ci-filter-card .form-control:focus, .ci-filter-card .form-select:focus, .ci-filter-card .ts-wrapper.focus .ts-control {
  border-color: var(--ci-orange) !important; box-shadow: 0 0 0 4px rgba(236, 117, 58, .15) !important;
}
.ci-input-icon { position: relative; }
.ci-input-icon > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ci-orange); font-size: 18px; z-index: 2; }
.ci-input-icon > .form-control { padding-left: 42px; }

/* Pagination */
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border: 0; color: var(--ci-green); font-weight: 600; transition: all .2s; }
.pagination .page-link:hover { background: var(--ci-orange-soft); color: var(--ci-orange); transform: translateY(-2px); }
.pagination .page-item.active .page-link { background: linear-gradient(135deg, var(--ci-orange), var(--ci-orange-dark)); color: #fff; box-shadow: 0 8px 18px rgba(236, 117, 58, .35); }

/* Badges utilitaires */
.ci-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.ci-chip--orange { background: var(--ci-orange-soft); color: var(--ci-orange-dark); }
.ci-chip--green { background: var(--ci-green-soft); color: var(--ci-green); }
.ci-chip--dark { background: rgba(19, 35, 15, .75); color: #fff; backdrop-filter: blur(4px); }
.ci-chip--white { background: rgba(255, 255, 255, .92); color: var(--ci-ink); }

/* ------------------------------------------------------------------ */
/* 7. Bannière animée des pages (B → F + détails)                      */
/* ------------------------------------------------------------------ */
.ci-page-hero {
  position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden;
  padding: 90px 0 110px; color: #fff; background: var(--ci-green);
}
.ci-page-hero--detail { min-height: 320px; padding: 70px 0 100px; }
.ci-page-hero__slides { position: absolute; inset: 0; z-index: 0; }
.ci-page-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; overflow: hidden; }
.ci-page-hero__slide.is-active { opacity: 1; }
.ci-page-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.ci-page-hero__slide.is-active img.fx-kenburns { animation: ciKen 12s ease-out both; }
.ci-page-hero__slide.is-active img.fx-zoom { animation: ciZoom 10s ease-out both; }
.ci-page-hero__slide.is-active img.fx-pan { width: 118%; max-width: none; animation: ciPan 14s linear both; }
@keyframes ciKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.18) translate(-2.5%, -2%); } }
@keyframes ciZoom { from { transform: scale(1); } to { transform: scale(1.22); } }
@keyframes ciPan { from { transform: translateX(0); } to { transform: translateX(-14%); } }
.ci-page-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(212, 97, 42, .92) 0%, rgba(236, 117, 58, .72) 28%, rgba(10, 30, 8, .35) 60%, rgba(3, 109, 0, .8) 100%);
}
.ci-page-hero__overlay::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.ci-page-hero .container { position: relative; z-index: 3; }
.ci-page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px);
  font-weight: 600; font-size: 13.5px; letter-spacing: .04em; margin-bottom: 18px; color: #fff;
}
.ci-page-hero__eyebrow i { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--ci-orange); font-size: 16px; }
.ci-page-hero__title {
  font-family: var(--ci-heading-font); font-weight: 800; color: #fff !important; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.1;
  margin: 0 0 14px; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); max-width: 820px;
}
.ci-page-hero__title .ci-word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: ciWordIn .9s var(--ci-ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes ciWordIn { to { opacity: 1; transform: none; } }
.ci-page-hero__subtitle { font-size: clamp(15px, 1.5vw, 19px); color: rgba(255, 255, 255, .92); max-width: 640px; margin: 0 0 24px; opacity: 0; animation: ciFadeUp .9s var(--ci-ease) .7s forwards; }
@keyframes ciFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.ci-page-hero__crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 8px 18px; border-radius: 999px; background: rgba(0, 0, 0, .22); backdrop-filter: blur(6px); opacity: 0; animation: ciFadeUp .9s var(--ci-ease) .9s forwards; }
.ci-page-hero__crumbs li { color: rgba(255, 255, 255, .85); font-size: 14px; }
.ci-page-hero__crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ci-orange); font-weight: 800; }
.ci-page-hero__crumbs a { color: #fff; font-weight: 600; }
.ci-page-hero__crumbs a:hover { color: #ffd2bd; }
.ci-page-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; opacity: 0; animation: ciFadeUp .9s var(--ci-ease) 1.05s forwards; }
.ci-page-hero__stat { background: rgba(255, 255, 255, .95); color: var(--ci-ink); border-radius: 14px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 26px rgba(0, 0, 0, .15); }
.ci-page-hero__stat strong { font-size: 22px; font-family: var(--ci-heading-font); color: var(--ci-orange); line-height: 1; }
.ci-page-hero__stat span { font-size: 12.5px; color: var(--ci-muted); line-height: 1.2; }
.ci-page-hero__dots { position: absolute; right: 28px; bottom: 92px; z-index: 4; display: flex; gap: 8px; }
.ci-page-hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: all .35s var(--ci-ease); cursor: pointer; }
.ci-page-hero__dots button.is-active { width: 30px; background: #fff; }
.ci-page-hero__shape { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; }
.ci-page-hero__shape--1 { width: 340px; height: 340px; right: -90px; top: -110px; border: 46px solid rgba(255, 255, 255, .08); animation: ciSpin 30s linear infinite; }
.ci-page-hero__shape--2 { width: 26px; height: 26px; right: 22%; top: 24%; background: var(--ci-orange); box-shadow: 0 0 0 10px rgba(236, 117, 58, .25); animation: ciBob 5s ease-in-out infinite; }
.ci-page-hero__shape--3 { width: 16px; height: 16px; right: 12%; bottom: 34%; background: #fff; animation: ciBob 6s ease-in-out infinite reverse; }
.ci-page-hero__shape--4 { width: 120px; height: 120px; left: 46%; bottom: 60px; border: 2px dashed rgba(255, 255, 255, .35); animation: ciSpin 22s linear infinite reverse; }
@keyframes ciSpin { to { transform: rotate(360deg); } }
@keyframes ciBob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12px, -18px); } }
.ci-page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.ci-page-hero__wave svg { width: 100%; height: 80px; display: block; }
.ci-page-hero__wave .w1 { fill: rgba(255, 255, 255, .35); animation: ciWave 9s ease-in-out infinite alternate; }
.ci-page-hero__wave .w2 { fill: var(--bodyBg, #fff4e8); }
@keyframes ciWave { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@media (max-width: 767px) {
  .ci-page-hero { min-height: 320px; padding: 60px 0 90px; }
  .ci-page-hero__dots { display: none; }
  .ci-page-hero__shape--1, .ci-page-hero__shape--4 { display: none; }
}

/* ------------------------------------------------------------------ */
/* 8. Fond décoratif (bulles flottantes)                               */
/* ------------------------------------------------------------------ */
.ci-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ci-blobs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: ciBob 9s ease-in-out infinite; }
.ci-blobs span:nth-child(1) { width: 180px; height: 180px; left: -60px; top: 10%; background: radial-gradient(circle, rgba(236, 117, 58, .35), transparent 70%); }
.ci-blobs span:nth-child(2) { width: 240px; height: 240px; right: -80px; top: 40%; background: radial-gradient(circle, rgba(3, 109, 0, .25), transparent 70%); animation-delay: -3s; }
.ci-blobs span:nth-child(3) { width: 120px; height: 120px; left: 40%; bottom: 0; background: radial-gradient(circle, rgba(236, 117, 58, .25), transparent 70%); animation-delay: -6s; }
.ci-section { position: relative; }
.ci-section > .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ */
/* 9. Accessibilité : mouvement réduit                                 */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ci-reveal { opacity: 1; transform: none; }
  .ci-ticker__track { animation: none; }
}

/* ------------------------------------------------------------------ */
/* 10. Composants partagés (cartes établissements, concours, emplois…) */
/* ------------------------------------------------------------------ */
.ci-btn--sm { padding: 8px 16px; font-size: 13px; }
.ci-btn--lg { padding: 16px 32px; font-size: 16px; }
.ci-link { color: var(--ci-orange); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.ci-link i { transition: transform .25s var(--ci-ease); }
a:hover .ci-link i, .ci-link:hover i { transform: translateX(5px); }
.ci-round-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ci-orange); background: #fff; color: var(--ci-orange); font-size: 22px; line-height: 1; transition: all .25s var(--ci-ease); }
.ci-round-btn:hover { background: var(--ci-orange); color: #fff; transform: scale(1.08); }

.ci-section-head { margin-bottom: 38px; }
.ci-section-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; color: var(--ci-ink); margin: 14px 0 12px; }
.ci-section-lead { color: var(--ci-muted); max-width: 620px; margin: 18px auto 0; font-size: 16.5px; }

/* simple slider (images d'établissement) */
.simple-slider { position: relative; width: 100%; height: 220px; overflow: hidden; }
.simple-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.simple-slider .slide img { width: 100%; height: 220px; object-fit: cover; display: block; }
.simple-slider .slide.active { opacity: 1; }
.simple-slider .slider-prev, .simple-slider .slider-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ci-ink); font-size: 20px; line-height: 1; opacity: 0; transition: opacity .25s, background .25s; padding: 0; }
.simple-slider:hover .slider-prev, .simple-slider:hover .slider-next { opacity: 1; }
.simple-slider .slider-prev:hover, .simple-slider .slider-next:hover { background: var(--ci-orange); color: #fff; }
.simple-slider .slider-prev { left: 10px; } .simple-slider .slider-next { right: 10px; }

.ci-etab-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ci-etab-card__media { display: block; border-radius: var(--ci-radius) var(--ci-radius) 0 0; }
.ci-etab-card__chips { position: absolute; left: 14px; top: 14px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; }
.ci-etab-card__logo { position: absolute; right: 16px; bottom: -26px; z-index: 6; width: 58px; height: 58px; border-radius: 16px; background: #fff; padding: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); transition: transform .4s var(--ci-ease); }
.ci-etab-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.ci-etab-card:hover .ci-etab-card__logo { transform: rotate(-6deg) scale(1.06); }
.ci-etab-card__media::after { z-index: 3; }
.ci-etab-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.ci-etab-card__sigle { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ci-orange); }
.ci-etab-card h3 { font-family: var(--ci-heading-font); font-size: 18.5px; font-weight: 700; margin: 4px 0 12px; line-height: 1.3; }
.ci-etab-card h3 a { color: var(--ci-ink); transition: color .2s; }
.ci-etab-card h3 a:hover { color: var(--ci-green); }
.ci-etab-card__meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ci-etab-card__meta li { font-size: 13.5px; color: var(--ci-muted); display: inline-flex; align-items: center; gap: 5px; }
.ci-etab-card__meta i { color: var(--ci-green); }
.ci-etab-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed #e4e9e2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-etab-card__price { font-weight: 800; color: var(--ci-ink); font-size: 16px; }
.ci-etab-card__price small { font-weight: 500; color: var(--ci-muted); font-size: 11.5px; }

/* carrousel horizontal */
.ci-carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 26px; margin: -10px -4px 0; }
.ci-carousel::-webkit-scrollbar { display: none; }
.ci-carousel__item { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
@media (max-width: 1199px) { .ci-carousel__item { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 991px) { .ci-carousel__item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 575px) { .ci-carousel__item { flex-basis: 86%; } }

.ci-concours-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--ci-radius); overflow: hidden; box-shadow: var(--ci-shadow); transition: transform .45s var(--ci-ease), box-shadow .45s var(--ci-ease); color: var(--ci-ink); }
.ci-concours-card:hover { transform: translateY(-8px); box-shadow: var(--ci-shadow-hover); color: var(--ci-ink); }
.ci-concours-card__media { position: relative; height: 170px; overflow: hidden; }
.ci-concours-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ci-ease); }
.ci-concours-card:hover .ci-concours-card__media img { transform: scale(1.1); }
.ci-date-badge { position: absolute; left: 14px; top: 14px; width: 58px; padding: 6px 0; border-radius: 14px; background: #fff; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ci-muted); box-shadow: 0 8px 18px rgba(0, 0, 0, .15); line-height: 1.1; }
.ci-date-badge b { display: block; font-size: 22px; color: var(--ci-orange); font-family: var(--ci-heading-font); }
.ci-countdown { position: absolute; right: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--ci-green); color: #fff; font-size: 12.5px; font-weight: 700; }
.ci-countdown.is-hot { background: var(--ci-orange); animation: ciHot 1.6s ease-in-out infinite; }
.ci-countdown.is-closed { background: #6b7280; }
@keyframes ciHot { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 117, 58, .6); } 50% { box-shadow: 0 0 0 8px rgba(236, 117, 58, 0); } }
.ci-concours-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ci-concours-card__body h3 { font-family: var(--ci-heading-font); font-size: 17px; font-weight: 700; margin: 10px 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-concours-card__body ul { list-style: none; padding: 0; margin: 0 0 14px; }
.ci-concours-card__body li { font-size: 13px; color: var(--ci-muted); padding: 3px 0; display: flex; gap: 6px; }
.ci-concours-card__body li i { color: var(--ci-green); }
.ci-concours-card__body .ci-link { margin-top: auto; }

.ci-job-card { display: flex; align-items: center; gap: 16px; padding: 20px; color: var(--ci-ink); height: 100%; }
.ci-job-card:hover { color: var(--ci-ink); }
.ci-job-card__logo { flex: 0 0 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--ci-orange), var(--ci-green)); transition: transform .4s var(--ci-ease); }
.ci-job-card__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ci-job-card:hover .ci-job-card__logo { transform: rotate(-8deg) scale(1.05); }
.ci-job-card__body { flex: 1; min-width: 0; }
.ci-job-card__body strong { display: block; font-size: 16.5px; font-family: var(--ci-heading-font); }
.ci-job-card__body small { color: var(--ci-muted); }
.ci-job-card__go { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ci-orange-soft); color: var(--ci-orange); font-size: 18px; transition: all .3s var(--ci-ease); }
.ci-job-card:hover .ci-job-card__go { background: var(--ci-orange); color: #fff; transform: rotate(-45deg); }

.ci-module-card { overflow: hidden; color: var(--ci-ink); height: 100%; }
.ci-module-card:hover { color: var(--ci-ink); }
.ci-module-card .ci-card__media { border-radius: var(--ci-radius) var(--ci-radius) 0 0; height: 200px; }
.ci-module-card .ci-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ci-module-card__cat { position: absolute; left: 14px; top: 14px; z-index: 4; }
.ci-module-card h3 { font-family: var(--ci-heading-font); font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.ci-module-card p { color: var(--ci-muted); font-size: 14.5px; margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  .ci-ticker__viewport { overflow-x: auto; }
}

/* ------------------------------------------------------------------ */
/* 11. Menu principal : liens compacts + soulignement tricolore animé   */
/* ------------------------------------------------------------------ */
@media (min-width: 992px) {
  .headerarea__main__menu nav ul { display: flex; justify-content: center; flex-wrap: nowrap; }
  .headerarea__main__menu nav ul > li a { padding: 28px 11px; font-size: 15px; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .headerarea__main__menu nav ul > li a { padding: 22px 7px; font-size: 13px; }
}
.headerarea__main__menu nav ul > li a::after {
  content: ""; position: absolute; left: 50%; bottom: 18px; height: 3px; width: 0; border-radius: 3px;
  background: var(--ci-flag); transform: translateX(-50%); transition: width .35s var(--ci-ease);
}
.headerarea__main__menu nav ul > li:hover > a::after, .headerarea__main__menu nav ul > li > a.active::after { width: 60%; }
.headerarea__main__menu nav ul > li > a.active { color: var(--ci-green) !important; }
.header__sticky.sticky { box-shadow: 0 10px 30px rgba(19, 35, 15, .1); backdrop-filter: blur(10px); }

/* ------------------------------------------------------------------ */
/* 12. Pages listes : filtres, résultats, états vides                  */
/* ------------------------------------------------------------------ */
.ci-filter-card__title { font-family: var(--ci-heading-font); font-size: 19px; font-weight: 700; margin: 0; color: var(--ci-ink); display: flex; align-items: center; gap: 10px; }
.ci-filter-card__title i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ci-orange-soft); color: var(--ci-orange); }
.ci-filter-toggle { border: 0; background: var(--ci-green-soft); color: var(--ci-green); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; transition: all .25s; }
.ci-filter-toggle:hover, .ci-filter-toggle[aria-expanded="true"] { background: var(--ci-green); color: #fff; }
.ci-filter-toggle i { transition: transform .4s var(--ci-ease); display: inline-block; }
.ci-filter-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ci-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ci-ease), opacity .35s; opacity: 0; }
.ci-collapse > * { overflow: hidden; }
.ci-collapse.is-open { grid-template-rows: 1fr; opacity: 1; }
.ci-collapse.is-open > * { overflow: visible; }
.ci-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(3, 109, 0, .08); }
.ci-results-bar__count { font-family: var(--ci-heading-font); font-size: 22px; color: var(--ci-orange); }
.ci-parcours-alert { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; background: linear-gradient(90deg, var(--ci-green-soft), #fff); border-left: 5px solid var(--ci-green); }
.ci-parcours-alert__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--ci-green); animation: ciFloat 3s ease-in-out infinite; }
.ci-empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: 24px; box-shadow: var(--ci-shadow); }
.ci-empty i { font-size: 54px; color: var(--ci-orange); display: inline-block; animation: ciFloat 3s ease-in-out infinite; }
.ci-empty h4 { font-family: var(--ci-heading-font); margin: 14px 0 6px; }
.ci-empty p { color: var(--ci-muted); margin-bottom: 20px; }
.ts-wrapper.multi .ts-control > div { background: var(--ci-orange-soft) !important; color: var(--ci-orange-dark) !important; border-radius: 999px !important; padding: 2px 10px !important; }
.ts-dropdown .active { background: var(--ci-orange-soft) !important; color: var(--ci-orange-dark) !important; }
.ci-quick-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ci-quick-filters a { padding: 6px 14px; border-radius: 999px; background: #f4f6f3; color: var(--ci-muted); font-size: 13.5px; font-weight: 600; transition: all .25s var(--ci-ease); }
.ci-quick-filters a:hover { background: var(--ci-orange-soft); color: var(--ci-orange-dark); transform: translateY(-2px); }
.ci-quick-filters a.is-active { background: var(--ci-orange); color: #fff; box-shadow: 0 8px 18px rgba(236, 117, 58, .3); }
.ci-module-card__premium { position: absolute; right: 14px; top: 14px; z-index: 4; }

/* ------------------------------------------------------------------ */
/* 13. Questionnaire d'orientation                                     */
/* ------------------------------------------------------------------ */
.ci-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.ci-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--ci-shadow); }
.ci-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--ci-orange); font-weight: 800; font-size: 20px; z-index: 2; animation: ciNudge 1.6s ease-in-out infinite; }
@keyframes ciNudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(5px, -50%); } }
.ci-step__num { position: absolute; top: -10px; left: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--ci-green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(3, 109, 0, .3); }
.ci-step__icon { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--ci-orange-soft); color: var(--ci-orange); }
.ci-step strong { display: block; font-family: var(--ci-heading-font); color: var(--ci-ink); }
.ci-step small { color: var(--ci-muted); }
@media (max-width: 767px) { .ci-steps { grid-template-columns: 1fr; } .ci-step::after { display: none; } }

.ci-quiz-card { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: 26px; background: #fff; box-shadow: var(--ci-shadow); position: relative; overflow: hidden; transition: transform .45s var(--ci-ease), box-shadow .45s var(--ci-ease); }
.ci-quiz-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -120px; top: -120px; opacity: .14; transition: transform .7s var(--ci-ease); }
.ci-quiz-card--orange::before { background: var(--ci-orange); }
.ci-quiz-card--green::before { background: var(--ci-green); }
.ci-quiz-card:hover { transform: translateY(-10px); box-shadow: var(--ci-shadow-hover); }
.ci-quiz-card:hover::before { transform: scale(1.5); }
.ci-quiz-card.is-disabled { opacity: .8; }
.ci-quiz-card__top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.ci-quiz-card__icon { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #fff; animation: ciFloat 4s ease-in-out infinite; }
.ci-quiz-card--orange .ci-quiz-card__icon { background: linear-gradient(135deg, var(--ci-orange), var(--ci-orange-dark)); box-shadow: 0 12px 26px rgba(236, 117, 58, .35); }
.ci-quiz-card--green .ci-quiz-card__icon { background: linear-gradient(135deg, var(--ci-green-2), var(--ci-green)); box-shadow: 0 12px 26px rgba(3, 109, 0, .3); }
.ci-quiz-card h3 { font-family: var(--ci-heading-font); font-size: 19px; font-weight: 700; margin: 8px 0 0; position: relative; }
.ci-quiz-card p { color: var(--ci-muted); margin: 0; position: relative; }
.ci-quiz-card__list { list-style: none; padding: 0; margin: 4px 0 14px; }
.ci-quiz-card__list li { font-size: 14px; padding: 3px 0; color: var(--ci-ink); }
.ci-quiz-card__list i { color: var(--ci-green); margin-right: 6px; }
.ci-quiz-card__soon { text-align: center; padding: 12px; border-radius: 999px; background: #f4f6f3; color: var(--ci-muted); font-weight: 600; }

/* Pied de page : liens lisibles sur fond vert */
.footerarea__content a, .footerarea__copyright a, .footerarea__copyright span { color: #ffc9a8 !important; font-weight: 600; }
.footerarea__list ul li a { transition: color .2s, padding-left .25s var(--ci-ease); }
.footerarea__list ul li a:hover { color: #ffc9a8 !important; padding-left: 6px; }
