/* Campus Étudiant — nouveau design v2.0
   Tout est préfixé #the7-body pour passer devant le thème The7, WPBakery et les <style> en ligne de Toolset. */

:root {
  --ce-ink: #0b2530;
  --ce-ink-2: #12394a;
  --ce-text: #44565f;
  --ce-muted: #74868f;
  --ce-teal: #00acc2;
  --ce-teal-600: #0893a6;
  --ce-teal-50: #e8f8fa;
  --ce-yellow: #ffcb2b;
  --ce-bg: #f6f9fa;
  --ce-line: #e3ecef;
  --ce-r: 24px;
  --ce-r-sm: 14px;
  --ce-shadow: 0 1px 2px rgba(11, 37, 48, .04), 0 8px 28px rgba(11, 37, 48, .07);
  --ce-shadow-lg: 0 2px 6px rgba(11, 37, 48, .05), 0 24px 60px rgba(11, 37, 48, .14);
  --ce-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ce-ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   BASE (tout le site)
   ========================================================= */
#the7-body,
#the7-body #page,
#the7-body #content,
#the7-body #content p,
#the7-body #content li,
#the7-body #content td,
#the7-body #content th,
#the7-body #footer,
#the7-body .masthead,
#the7-body .main-nav > li > a .menu-text,
#the7-body .mobile-main-nav .menu-text {
  font-family: var(--ce-font) !important;
}
#the7-body #content h1, #the7-body #content h2, #the7-body #content h3,
#the7-body #content h4, #the7-body #content h5 {
  font-family: var(--ce-font) !important;
  color: var(--ce-ink);
  letter-spacing: -.02em;
}
#the7-body #page { background: #fff !important; }
#the7-body.ce-design { word-spacing: .06em; }
#the7-body.ce-design h1, #the7-body.ce-design h2, #the7-body.ce-design h3 { word-spacing: .1em; }
#the7-body ::selection { background: var(--ce-yellow); color: var(--ce-ink); }

/* ---------- Barre du haut ---------- */
#the7-body .top-bar {
  background: var(--ce-ink) !important;
  min-height: 0 !important;
}
#the7-body .top-bar, #the7-body .top-bar a, #the7-body .top-bar .mini-contacts {
  color: rgba(255, 255, 255, .78) !important;
  font: 500 13px/1 var(--ce-font) !important;
}
#the7-body .top-bar .soc-ico a { background: transparent !important; }
#the7-body .top-bar-bg, #the7-body .top-bar .top-bar-bg { background: var(--ce-ink) !important; }
#the7-body .top-bar .mini-contacts::before, #the7-body .top-bar .mini-contacts i { color: var(--ce-yellow) !important; }

/* ---------- En-tête ---------- */
#the7-body .masthead:not(.side-header) {
  background: rgba(255, 255, 255, .86) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--ce-line) !important;
}
#the7-body .main-nav > li > a .menu-text {
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--ce-ink) !important;
}
#the7-body .main-nav > li > a { position: relative; }
#the7-body .main-nav > li > a .menu-item-text::before,
#the7-body .main-nav > li > a .menu-item-text::after { display: none !important; }
#the7-body .main-nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ce-teal); transform: translateX(-50%) scale(0);
  transition: transform .25s var(--ce-ease);
}
#the7-body .main-nav > li.act > a::after,
#the7-body .main-nav > li > a:hover::after { transform: translateX(-50%) scale(1); }
#the7-body .main-nav > li.act > a .menu-text,
#the7-body .main-nav > li > a:hover .menu-text { color: var(--ce-teal-600) !important; }

#the7-body .masthead .microwidget-btn {
  border-radius: 999px !important;
  font: 700 14px/1 var(--ce-font) !important;
  padding: 13px 22px !important;
  transition: transform .2s var(--ce-ease), box-shadow .2s var(--ce-ease), background .2s !important;
}
#the7-body .masthead .header-elements-button-1 {
  background: transparent !important; color: var(--ce-ink) !important;
  border: 1.5px solid var(--ce-line) !important;
}
#the7-body .masthead .header-elements-button-1 span { color: var(--ce-ink) !important; }
#the7-body .masthead .header-elements-button-2 {
  background: var(--ce-ink) !important; border-color: var(--ce-ink) !important;
}
#the7-body .masthead .header-elements-button-2 span { color: #fff !important; }
#the7-body .masthead .microwidget-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 37, 48, .15); }

/* ---------- Titres de page (pages intérieures) ---------- */
#the7-body .page-title, #the7-body #fancy-header.fancy-header {
  background: var(--ce-ink) radial-gradient(1200px 400px at 85% -20%, rgba(0, 172, 194, .55), transparent 60%) !important;
  padding: 72px 0 64px !important;
  min-height: 0 !important;
  border: 0 !important;
  position: relative; overflow: hidden;
}
#the7-body .page-title::after, #the7-body #fancy-header.fancy-header::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px;
  border-radius: 50%; border: 50px solid rgba(255, 203, 43, .12); pointer-events: none;
}
#the7-body .page-title .wf-wrap, #the7-body #fancy-header .wf-wrap { min-height: 0 !important; position: relative; z-index: 1; }
#the7-body .page-title h1, #the7-body .page-title .entry-title,
#the7-body #fancy-header .fancy-title, #the7-body #fancy-header .fancy-title span {
  font: 800 clamp(30px, 4.6vw, 52px)/1.1 var(--ce-font) !important;
  letter-spacing: -.02em !important; word-spacing: .1em !important;
  color: #fff !important;
}
#the7-body .page-title .breadcrumbs, #the7-body .page-title .breadcrumbs *,
#the7-body #fancy-header .breadcrumbs, #the7-body #fancy-header .breadcrumbs * {
  color: rgba(255, 255, 255, .6) !important; opacity: 1 !important;
  font: 500 13px/1.4 var(--ce-font) !important;
}
#the7-body .page-title .page-title-breadcrumbs { margin-top: 10px; }

/* ---------- Boutons génériques ---------- */
#the7-body .vc_btn3.vc_btn3-style-custom,
#the7-body #content .btn,
#the7-body .wpv-filter-form input.btn {
  border-radius: 999px !important;
  font-family: var(--ce-font) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: transform .2s var(--ce-ease), box-shadow .2s var(--ce-ease), background-color .2s !important;
}
#the7-body #content .btn:hover { transform: translateY(-1px); }

/* ---------- Pied de page ---------- */
#the7-body #footer {
  background: var(--ce-ink) !important;
  border-top: 0 !important;
  padding-top: 24px;
}
#the7-body #footer .wf-container-footer { padding-top: 56px !important; padding-bottom: 32px !important; }
#the7-body #footer .widget-title {
  font: 700 13px/1.4 var(--ce-font) !important;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255, 255, 255, .5) !important;
}
#the7-body #footer, #the7-body #footer p, #the7-body #footer .textwidget, #the7-body #footer li {
  color: rgba(255, 255, 255, .78) !important; font-size: 15px !important; line-height: 1.7 !important;
}
#the7-body #footer a { color: #fff !important; text-decoration: none !important; transition: color .2s; }
#the7-body #footer a:hover { color: var(--ce-yellow) !important; }
#the7-body #footer .menu li, #the7-body #footer .custom-menu li { border: 0 !important; padding: 5px 0 !important; }
#the7-body #footer .menu li a::before, #the7-body #footer .custom-menu li a::before { display: none !important; }
#the7-body #bottom-bar {
  background: #071a22 !important; border: 0 !important;
}
#the7-body #bottom-bar, #the7-body #bottom-bar * { color: rgba(255, 255, 255, .5) !important; font: 500 13px/1.6 var(--ce-font) !important; }

/* reCAPTCHA : seulement là où il y a un formulaire */
#the7-body:not(.ce-has-form) .grecaptcha-badge { visibility: hidden !important; }
#the7-body .ce-hidden { display: none !important; }

/* =========================================================
   PAGE D'ACCUEIL (gabarit accueil-sections.php)
   ========================================================= */
#the7-body.ce-accueil #main-slideshow,
#the7-body.ce-accueil .page-title,
#the7-body.ce-accueil #fancy-header { display: none !important; }
#the7-body.ce-accueil #main { padding: 0 !important; }
#the7-body.ce-accueil #main > .wf-wrap { max-width: none !important; width: 100% !important; padding: 0 !important; }
#the7-body.ce-accueil .wf-container-main { margin: 0 !important; display: block !important; }
#the7-body.ce-accueil #content.ce-home { width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; }

.ce-home { color: var(--ce-text); font-size: 16px; line-height: 1.65; }
.ce-home *, .ce-home *::before, .ce-home *::after { box-sizing: border-box; }
.ce-home img { max-width: 100%; display: block; }
.ce-home a { text-decoration: none !important; }
.ce-home .ce-ic { width: 1.15em; height: 1.15em; flex: none; }
.ce-wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
.ce-center { text-align: center; margin-top: 48px; }

#the7-body .ce-home h1, #the7-body .ce-home h2, #the7-body .ce-home h3 { margin: 0; color: var(--ce-ink); }
#the7-body .ce-home h2 { font: 800 clamp(30px, 3.8vw, 48px)/1.1 var(--ce-font) !important; letter-spacing: -.022em !important; word-spacing: .1em !important; }
#the7-body .ce-home h3 { font: 700 19px/1.3 var(--ce-font) !important; letter-spacing: -.015em !important; }
#the7-body .ce-home p { margin: 0; color: var(--ce-text); }
.ce-home h2 em, .ce-home h1 em { font-style: normal; color: var(--ce-teal-600); }

.ce-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--ce-font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ce-teal-600); margin-bottom: 16px;
}
.ce-kicker::before { content: ""; width: 22px; height: 2px; background: var(--ce-yellow); border-radius: 2px; }
.ce-head { max-width: 720px; margin-bottom: 56px; }
#the7-body .ce-head p { font-size: 18px; margin-top: 18px; color: var(--ce-muted); }
.ce-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Boutons */
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 var(--ce-font); padding: 16px 26px; white-space: nowrap;
  transition: transform .2s var(--ce-ease), box-shadow .2s var(--ce-ease), background .2s;
}
.ce-btn:hover { transform: translateY(-2px); }
.ce-btn--lg { padding: 19px 32px; font-size: 16px; }
#the7-body .ce-btn--primary { background: var(--ce-teal); color: #fff !important; box-shadow: 0 10px 24px -8px rgba(0, 172, 194, .7); }
#the7-body .ce-btn--primary:hover { background: var(--ce-teal-600); }
#the7-body .ce-btn--ghost { background: #fff; color: var(--ce-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ce-line); }
#the7-body .ce-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ce-ink); }
#the7-body .ce-btn--yellow { background: var(--ce-yellow); color: var(--ce-ink) !important; }
#the7-body .ce-btn--glass { background: rgba(255, 255, 255, .12); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.ce-btn .ce-ic { transition: transform .2s var(--ce-ease); }
.ce-btn:hover .ce-ic { transform: translateX(3px); }

#the7-body .ce-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ce-ink) !important; }
#the7-body .ce-link:hover { color: var(--ce-teal-600) !important; }
#the7-body .ce-link--muted { color: var(--ce-muted) !important; font-weight: 600; }

/* ---------- Héros ---------- */
.ce-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #f2fbfc 0%, #fff 100%); }
.ce-hero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.ce-hero__bg span:first-child { width: 520px; height: 520px; background: #bdeef4; top: -180px; left: -160px; }
.ce-hero__bg span:last-child { width: 420px; height: 420px; background: #fff1c2; bottom: -160px; right: 10%; }
.ce-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ce-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--ce-line); border-radius: 999px;
  padding: 8px 16px; font: 600 14px/1 var(--ce-font); color: var(--ce-ink);
  box-shadow: var(--ce-shadow);
}
.ce-eyebrow .ce-ic { color: var(--ce-teal); }
#the7-body .ce-hero__title {
  font: 800 clamp(42px, 6vw, 74px)/1.04 var(--ce-font) !important;
  letter-spacing: -.028em !important; word-spacing: .12em !important; margin: 26px 0 22px !important; color: var(--ce-ink);
}
.ce-hero__title em { position: relative; white-space: nowrap; color: var(--ce-ink) !important; z-index: 0; }
.ce-hero__title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--ce-yellow); border-radius: 6px; z-index: -1; transform: skew(-8deg);
}
#the7-body .ce-hero__lead { font-size: 19px; line-height: 1.6; max-width: 540px; color: var(--ce-text); }

.ce-search {
  margin-top: 34px; background: #fff; border-radius: 22px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px;
  box-shadow: var(--ce-shadow-lg); border: 1px solid var(--ce-line); max-width: 640px;
}
.ce-search__field { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 14px; transition: background .2s; margin: 0; cursor: pointer; }
.ce-search__field:hover { background: var(--ce-bg); }
.ce-search__field + .ce-search__field { border-left: 1px solid var(--ce-line); }
.ce-search__field span { font: 700 12px/1.4 var(--ce-font); text-transform: uppercase; letter-spacing: .1em; color: var(--ce-muted); }
#the7-body .ce-search select {
  border: 0 !important; background: transparent !important; padding: 2px 0 !important; margin: 0 !important;
  font: 600 16px/1.4 var(--ce-font) !important; color: var(--ce-ink) !important; height: auto !important;
  box-shadow: none !important; outline: none; cursor: pointer; width: 100%;
}
.ce-search .ce-btn { border-radius: 16px; }

.ce-hero__links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }

.ce-hero__visual { position: relative; }
.ce-hero__photo {
  border-radius: 200px 200px 32px 32px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--ce-shadow-lg); position: relative;
}
.ce-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ce-float {
  position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--ce-shadow-lg); display: flex; flex-direction: column; gap: 2px;
  animation: ce-float 6s ease-in-out infinite;
}
.ce-float strong { font: 800 26px/1 var(--ce-font); color: var(--ce-ink); letter-spacing: -.03em; }
.ce-float span { font: 600 13px/1.3 var(--ce-font); color: var(--ce-muted); max-width: 150px; }
.ce-float--a { left: -36px; bottom: 18%; }
.ce-float--b { right: -18px; top: 16%; background: var(--ce-ink); animation-delay: -2s; }
.ce-float--b strong { color: var(--ce-yellow); }
.ce-float--b span { color: rgba(255, 255, 255, .7); }
.ce-float--c { right: 8%; bottom: -22px; flex-direction: row; align-items: center; gap: 10px; animation-delay: -4s; }
.ce-float--c .ce-ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--ce-teal); color: #fff; }
.ce-float--c span { color: var(--ce-ink); max-width: none; }
@keyframes ce-float { 50% { transform: translateY(-10px); } }

/* ---------- Logos ---------- */
.ce-logos { padding: 64px 0 60px; border-block: 1px solid var(--ce-line); background: #fff; }
#the7-body .ce-logos__label {
  text-align: center; margin: 0 auto 40px !important;
  font: 700 clamp(20px, 2.2vw, 26px)/1.3 var(--ce-font) !important; letter-spacing: -.015em; word-spacing: .08em;
  color: var(--ce-ink) !important;
}
#the7-body .ce-logos__label span { color: var(--ce-teal-600); }
.ce-marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ce-marquee__track { display: flex; gap: 24px; width: max-content; animation: ce-marquee 80s linear infinite; }
.ce-marquee:hover .ce-marquee__track { animation-play-state: paused; }
.ce-logo {
  width: 200px; height: 120px; flex: none; display: grid; place-items: center;
  border-radius: 20px; background: #fff; padding: 14px;
  border: 1px solid var(--ce-line); transition: transform .3s var(--ce-ease), box-shadow .3s;
}
.ce-logo:hover { transform: translateY(-3px); box-shadow: var(--ce-shadow); }
.ce-logo img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
@keyframes ce-marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (max-width: 680px) {
  .ce-logos { padding: 44px 0 40px; }
  #the7-body .ce-logos__label { margin-bottom: 26px !important; padding: 0 18px; }
  .ce-logo { width: 150px; height: 92px; border-radius: 16px; padding: 10px; }
  .ce-logo img { max-height: 70px; }
}

/* ---------- Sections ---------- */
.ce-section { padding: 112px 0; }
.ce-section--tint { background: var(--ce-bg); }

/* Bento */
.ce-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 20px; }
.ce-card {
  background: #fff; border: 1px solid var(--ce-line); border-radius: var(--ce-r); padding: 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ce-ease), box-shadow .3s var(--ce-ease), border-color .3s;
}
.ce-card:hover { transform: translateY(-4px); box-shadow: var(--ce-shadow-lg); border-color: transparent; }
.ce-card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ce-teal-50); color: var(--ce-teal-600); margin-bottom: 8px;
}
.ce-card__icon .ce-ic { width: 26px; height: 26px; }
#the7-body .ce-card p { font-size: 15.5px; color: var(--ce-muted); }
.ce-card--feature {
  grid-column: span 2; grid-row: span 2; padding: 40px;
  background: var(--ce-ink) radial-gradient(600px 300px at 100% 0%, rgba(0, 172, 194, .45), transparent 60%);
  border: 0; justify-content: flex-end;
}
#the7-body .ce-card--feature h3 { color: #fff; font-size: 30px !important; letter-spacing: -.02em !important; }
#the7-body .ce-card--feature p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 440px; }
.ce-card--feature .ce-card__icon { background: rgba(255, 255, 255, .1); color: var(--ce-yellow); width: 64px; height: 64px; margin-bottom: auto; }
#the7-body .ce-card--feature .ce-link { color: #fff !important; margin-top: 14px; }
#the7-body .ce-card--feature .ce-link:hover { color: var(--ce-yellow) !important; }
.ce-card--accent { background: var(--ce-yellow); border: 0; }
.ce-card--accent .ce-card__icon { background: rgba(11, 37, 48, .08); color: var(--ce-ink); }
#the7-body .ce-card--accent p { color: rgba(11, 37, 48, .72); }

/* Étapes */
.ce-steps { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ce-steps::before {
  content: ""; position: absolute; top: 54px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ce-teal) 0 8px, transparent 8px 16px); opacity: .5;
}
.ce-steps li {
  list-style: none !important;
  position: relative; background: #fff; border-radius: var(--ce-r); padding: 30px 26px 28px;
  border: 1px solid var(--ce-line); margin: 0 !important; transition: transform .3s var(--ce-ease), box-shadow .3s;
}
.ce-steps li:hover { transform: translateY(-4px); box-shadow: var(--ce-shadow-lg); }
.ce-steps__n {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ce-ink); color: var(--ce-yellow); font: 800 18px/1 var(--ce-font);
  margin-bottom: 22px; position: relative;
}
#the7-body .ce-steps p { font-size: 15.5px; color: var(--ce-muted); margin-top: 8px; }

/* Écoles */
.ce-schools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ce-school {
  position: relative; display: flex; flex-direction: column; border-radius: var(--ce-r);
  background: #fff; border: 1px solid var(--ce-line); overflow: hidden;
  transition: transform .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
}
.ce-school:hover { transform: translateY(-6px); box-shadow: var(--ce-shadow-lg); }
.ce-school__img { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--ce-bg); }
.ce-school__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ce-ease); }
.ce-school:hover .ce-school__img img { transform: scale(1.06); }
.ce-school__logo {
  position: relative; z-index: 1; margin: -32px 0 0 18px;
  width: 64px; height: 64px; border-radius: 16px; background: #fff; padding: 6px;
  box-shadow: var(--ce-shadow); display: grid; place-items: center;
}
.ce-school__logo img { max-height: 100%; object-fit: contain; }
.ce-school__body { padding: 12px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ce-school__body strong { font: 700 17px/1.3 var(--ce-font); color: var(--ce-ink); letter-spacing: -.01em; }
.ce-school__meta { display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1.3 var(--ce-font); color: var(--ce-muted); }
.ce-school__meta .ce-ic { color: var(--ce-teal); }

.ce-domains { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.ce-domains__label { font: 700 14px/1 var(--ce-font); color: var(--ce-ink); margin-right: 6px; }
#the7-body .ce-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--ce-bg); color: var(--ce-ink) !important; font: 600 14px/1 var(--ce-font);
  border: 1px solid var(--ce-line); transition: background .2s, border-color .2s, color .2s;
}
.ce-chip small { font-size: 12px; color: var(--ce-muted); background: #fff; border-radius: 999px; padding: 3px 7px; }
#the7-body .ce-chip:hover { background: var(--ce-ink); color: #fff !important; border-color: var(--ce-ink); }

/* Témoignages */
.ce-section--dark { background: var(--ce-ink) radial-gradient(900px 400px at 10% 0%, rgba(0, 172, 194, .3), transparent 60%); }
#the7-body .ce-section--dark h2 { color: #fff; }
.ce-section--dark h2 em { color: var(--ce-yellow) !important; }
.ce-section--dark .ce-kicker { color: var(--ce-teal); }
.ce-nav { display: flex; gap: 10px; }
.ce-nav__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.ce-nav__btn:hover { background: #fff; color: var(--ce-ink); border-color: #fff; }
.ce-nav__btn[data-dir="-1"] .ce-ic { transform: rotate(180deg); }
.ce-videos {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.ce-videos::-webkit-scrollbar { display: none; }
.ce-video { margin: 0; scroll-snap-align: start; }
.ce-video__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; cursor: pointer;
  border-radius: 20px; overflow: hidden; background: #000;
}
.ce-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s var(--ce-ease), opacity .3s; }
.ce-video__btn:hover img { transform: scale(1.05); opacity: 1; }
.ce-video__play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: var(--ce-yellow); color: var(--ce-ink); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 203, 43, .25); transition: transform .3s var(--ce-ease);
}
.ce-video__play .ce-ic { width: 26px; height: 26px; margin-left: 4px; }
.ce-video__btn:hover .ce-video__play { transform: scale(1.08); }
.ce-video iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 20px; display: block; }
.ce-video figcaption { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.ce-video figcaption strong { font: 700 17px/1.3 var(--ce-font); color: #fff; }
.ce-video figcaption span { font: 500 14px/1.4 var(--ce-font); color: rgba(255, 255, 255, .55); }

/* FAQ */
.ce-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.ce-faq__aside { position: sticky; top: 120px; }
#the7-body .ce-faq__aside > p { margin-top: 18px; font-size: 17px; color: var(--ce-muted); }
.ce-contact { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
#the7-body .ce-contact a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: var(--ce-bg); color: var(--ce-ink) !important; font: 700 16px/1.3 var(--ce-font);
  border: 1px solid var(--ce-line); transition: border-color .2s, background .2s;
}
#the7-body .ce-contact a:hover { background: #fff; border-color: var(--ce-teal); }
.ce-contact .ce-ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--ce-teal); color: #fff; }
.ce-contact span { display: flex; flex-direction: column; }
.ce-contact small { font: 600 12px/1.4 var(--ce-font); color: var(--ce-muted); text-transform: uppercase; letter-spacing: .08em; }
.ce-faq__list { display: flex; flex-direction: column; gap: 12px; }
.ce-qa { border: 1px solid var(--ce-line); border-radius: 20px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.ce-qa[open] { box-shadow: var(--ce-shadow); border-color: transparent; }
.ce-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font: 700 17px/1.4 var(--ce-font); color: var(--ce-ink);
}
.ce-qa summary::-webkit-details-marker { display: none; }
.ce-qa__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ce-bg); color: var(--ce-ink); flex: none; transition: transform .3s var(--ce-ease), background .3s; }
.ce-qa[open] .ce-qa__icon { transform: rotate(45deg); background: var(--ce-yellow); }
.ce-qa__a { padding: 0 26px 24px; }
#the7-body .ce-qa__a p, #the7-body .ce-qa__a li { font-size: 16px; color: var(--ce-text); }
.ce-qa__a ul { margin: 0 !important; padding-left: 20px !important; }
.ce-qa__a li { margin: 4px 0 !important; }

/* Appel à l'action */
.ce-cta-wrap { padding: 0 0 112px; }
.ce-cta {
  border-radius: 36px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--ce-teal) radial-gradient(700px 300px at 100% 100%, rgba(11, 37, 48, .45), transparent 60%);
  position: relative; overflow: hidden;
}
.ce-cta::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .1); left: -90px; top: -120px; }
#the7-body .ce-cta h2 { color: #fff; position: relative; }
#the7-body .ce-cta p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-top: 14px; max-width: 560px; position: relative; }
.ce-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Apparition au défilement */
.ce-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ce-ease), transform .8s var(--ce-ease); }
.ce-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ce-reveal { opacity: 1; transform: none; transition: none; }
  .ce-marquee__track, .ce-float { animation: none; }
}

/* =========================================================
   FORMATIONS (vue Toolset)
   ========================================================= */
#the7-body .js-wpv-view-layout .row { gap: 24px !important; }
@media (min-width: 992px) {
  #the7-body .js-wpv-view-layout .row > .col-md-4 {
    flex: 0 0 calc((100% - 48px) / 3) !important; max-width: calc((100% - 48px) / 3) !important; width: auto !important;
  }
}
#the7-body .js-wpv-view-layout .card {
  box-sizing: border-box; width: 100%;
  border-radius: var(--ce-r) !important; overflow: hidden;
  border: 1px solid var(--ce-line) !important; box-shadow: none !important; background: #fff !important;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
}
#the7-body .js-wpv-view-layout .card:hover { transform: translateY(-6px); box-shadow: var(--ce-shadow-lg) !important; }
#the7-body .js-wpv-view-layout .card .card-image { overflow: hidden; }
#the7-body .js-wpv-view-layout .card .card-image .background-img { transition: transform .6s var(--ce-ease); }
#the7-body .js-wpv-view-layout .card:hover .card-image .background-img { transform: scale(1.06); }
#the7-body .js-wpv-view-layout .card .card-image .logo { border-radius: 14px !important; overflow: hidden; box-shadow: var(--ce-shadow); }
#the7-body .js-wpv-view-layout .card-content { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px !important; }
#the7-body .js-wpv-view-layout .card-content h1 {
  font: 700 18px/1.3 var(--ce-font) !important; letter-spacing: -.015em !important;
  color: var(--ce-ink) !important; margin: 0 0 18px !important;
}
#the7-body .js-wpv-view-layout .card-content .description:has(> .cp-load-after-post:only-child),
#the7-body .js-wpv-view-layout .card-content .description:empty { display: none; }
#the7-body .js-wpv-view-layout .card-content .buttons { margin-top: auto !important; display: flex !important; gap: 10px; }
#the7-body .js-wpv-view-layout .card-content .buttons .btn {
  flex: 1 1 0; text-align: center; padding: 12px 14px !important; font-size: 14px !important; margin: 0 !important; border: 0 !important;
}
#the7-body .js-wpv-view-layout .card-content .buttons .btn-primary { background: var(--ce-ink) !important; color: #fff !important; }
#the7-body .js-wpv-view-layout .card-content .buttons .btn-secondary { background: var(--ce-bg) !important; color: var(--ce-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ce-line); }
#the7-body .js-wpv-view-layout .card-content .buttons .btn-primary:hover { background: var(--ce-teal) !important; }

#the7-body .filtre .wpv-filter-form { background: #fff; border-radius: var(--ce-r); border: 1px solid var(--ce-line); padding: 14px 10px 20px; }
#the7-body .filtre .accordion-header { border-bottom: 1px solid var(--ce-line) !important; padding: 16px 14px !important; }
#the7-body .filtre .accordion-header label { font: 700 15px/1.3 var(--ce-font) !important; color: var(--ce-ink) !important; }
#the7-body .filtre .checkbox label { font: 500 14.5px/1.5 var(--ce-font) !important; color: var(--ce-text) !important; }
#the7-body .filtre input[type="checkbox"] { accent-color: var(--ce-teal); }
#the7-body .wpv-filter-form .wpv-submit-trigger { background: var(--ce-teal) !important; color: #fff !important; padding: 12px 22px !important; border: 0 !important; }
#the7-body .wpv-filter-form .wpv-reset-trigger { background: transparent !important; color: var(--ce-muted) !important; border: 1.5px solid var(--ce-line) !important; padding: 11px 18px !important; }
#the7-body #content .wpb_text_column h2 { font-weight: 800 !important; letter-spacing: -.03em !important; }

/* =========================================================
   FICHES ÉCOLES
   ========================================================= */
#the7-body.single-ecole #main { padding: 56px 0 96px !important; }
#the7-body .container-global {
  border-radius: 32px !important; overflow: hidden; box-shadow: var(--ce-shadow-lg);
  min-height: 560px !important; padding: 48px !important; display: flex !important; justify-content: flex-end; align-items: center;
  background-position: center !important; background-size: cover !important; position: relative;
}
#the7-body .container-global::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 37, 48, .35), transparent 60%); pointer-events: none; }
#the7-body .container-global .content-section {
  position: relative !important; margin: 0 !important; border-radius: 26px !important;
  background: rgba(255, 255, 255, .94) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--ce-shadow-lg); padding: 36px 38px !important;
  display: flex; flex-direction: column; gap: 4px; max-width: 520px; width: 100%; box-sizing: border-box; border: 0 !important;
}
#the7-body .container-global .content-section > p { margin: 0 !important; }
#the7-body .container-global .logo-container { text-align: left !important; margin: 0 0 14px !important; }
#the7-body .container-global .logo-container .logo {
  height: 80px !important; width: auto !important; max-width: 220px !important; object-fit: contain;
  border-radius: 14px; background: #fff; padding: 8px; box-shadow: var(--ce-shadow);
}
#the7-body .container-global .info-section { margin: 12px 0 !important; }
#the7-body .container-global .info-title {
  font: 700 12px/1.4 var(--ce-font) !important; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ce-teal-600) !important; margin-bottom: 8px !important;
}
#the7-body .container-global .info-content { color: var(--ce-text) !important; font: 500 15px/1.65 var(--ce-font) !important; }
#the7-body .container-global .ce-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#the7-body .container-global .ce-chips span {
  background: var(--ce-bg); border: 1px solid var(--ce-line); color: var(--ce-ink);
  border-radius: 999px; padding: 4px 12px; font: 600 13px/1.6 var(--ce-font);
}
#the7-body .container-global .ce-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
#the7-body .container-global .candidater-btn {
  position: static !important; display: inline-flex !important; align-items: center; justify-content: center; flex: 1 1 auto;
  padding: 16px 26px !important; border-radius: 999px !important;
  font: 700 15px/1 var(--ce-font) !important; text-transform: none !important; letter-spacing: 0 !important;
  background: var(--ce-ink) !important; color: #fff !important; border: 0 !important; margin: 0 !important; float: none !important;
  transition: transform .2s var(--ce-ease), background .2s !important;
}
#the7-body .container-global .candidater-btn:hover { background: var(--ce-teal) !important; transform: translateY(-2px); }
#the7-body .container-global .ce-actions .ce-secondary { background: var(--ce-bg) !important; color: var(--ce-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ce-line); }
#the7-body .container-global .button-section { margin: 0 !important; padding: 0 !important; }

/* =========================================================
   CALENDRIER
   ========================================================= */
#the7-body #page .wpb_accordion .wpb_accordion_section { margin-bottom: 14px; }
#the7-body #page .wpb_accordion .wpb_accordion_header a {
  padding: 22px 26px !important; border-radius: 20px !important; background: var(--ce-ink) !important;
  display: flex !important; align-items: center; gap: 16px;
}
#the7-body #page .wpb_accordion .wpb_accordion_header a::before {
  top: 0 !important; flex: 0 0 40px; width: 40px; height: 40px; padding: 0 !important; text-align: center;
  font: 800 17px/40px var(--ce-font) !important; background: var(--ce-yellow) !important; color: var(--ce-ink) !important; margin: 0 !important;
}
#the7-body #page .wpb_accordion .wpb_accordion_header a span { width: auto !important; font: 700 20px/1.3 var(--ce-font) !important; letter-spacing: -.02em; }
#the7-body #page .wpb_accordion .wpb_accordion_header.ui-state-active a { border-radius: 20px 20px 0 0 !important; }
#the7-body .wpb_accordion .wpb_accordion_content .vc_column-inner { border-radius: 0 0 20px 20px; border: 0 !important; background: var(--ce-bg) !important; }
#the7-body .wpb_accordion table { border-collapse: separate; border-spacing: 0; width: 100% !important; height: auto !important; }
#the7-body .wpb_accordion table th { font: 700 12px/1.4 var(--ce-font) !important; color: var(--ce-muted) !important; text-transform: uppercase; letter-spacing: .1em; }
#the7-body .wpb_accordion table td { border-color: var(--ce-line) !important; }
#the7-body .wpb_accordion table td:first-child { font-weight: 700; color: var(--ce-ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .ce-hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .ce-hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .ce-schools { grid-template-columns: repeat(2, 1fr); }
  .ce-bento { grid-template-columns: repeat(2, 1fr); }
  .ce-steps { grid-template-columns: repeat(2, 1fr); }
  .ce-steps::before { display: none; }
  .ce-videos { grid-auto-columns: calc((100% - 24px) / 2); }
  .ce-faq { grid-template-columns: 1fr; gap: 40px; }
  .ce-faq__aside { position: static; }
  .ce-cta { flex-direction: column; align-items: flex-start; padding: 48px; }
}
@media (max-width: 680px) {
  .ce-wrap { width: calc(100% - 36px); }
  .ce-hero { padding: 40px 0 72px; }
  #the7-body .ce-hero__lead { font-size: 17px; }
  .ce-search { grid-template-columns: 1fr; padding: 8px; }
  .ce-search__field + .ce-search__field { border-left: 0; border-top: 1px solid var(--ce-line); }
  .ce-search .ce-btn { width: 100%; padding: 18px; }
  .ce-hero__links { gap: 16px; flex-direction: column; }
  .ce-float--a { left: -6px; }
  .ce-float--b { right: -6px; }
  .ce-float strong { font-size: 21px; }
  .ce-section { padding: 76px 0; }
  .ce-head { margin-bottom: 36px; }
  .ce-bento { grid-template-columns: 1fr; }
  .ce-card--feature { grid-column: auto; grid-row: auto; }
  .ce-card--feature { min-height: 340px; padding: 30px; }
  .ce-steps { grid-template-columns: 1fr; }
  .ce-schools { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ce-school__body { padding: 10px 14px 16px; }
  .ce-school__body strong { font-size: 15px; }
  .ce-school__logo { width: 52px; height: 52px; margin: -26px 0 0 12px; }
  .ce-school__meta { font-size: 12.5px; }
  .ce-videos { grid-auto-columns: 82%; }
  .ce-cta-wrap { padding-bottom: 76px; }
  .ce-cta { padding: 36px 26px; border-radius: 28px; }
  .ce-cta__btns { width: 100%; }
  .ce-cta__btns .ce-btn { flex: 1 1 100%; }

  #the7-body .page-title, #the7-body #fancy-header.fancy-header { padding: 48px 0 40px !important; }
  #the7-body .container-global { padding: 220px 0 0 !important; display: block !important; min-height: 0 !important; background-size: 100% auto !important; background-position: top center !important; background-repeat: no-repeat !important; background-color: #fff !important; }
  #the7-body .container-global::before { display: none; }
  #the7-body .container-global .content-section { max-width: none; border-radius: 26px 26px 0 0 !important; padding: 26px 22px !important; box-shadow: none; }
  #the7-body .wpb_accordion table, #the7-body .wpb_accordion tbody, #the7-body .wpb_accordion tr, #the7-body .wpb_accordion td { display: block; width: 100% !important; }
  #the7-body .wpb_accordion tr:first-child:has(th) { display: none; }
  #the7-body .wpb_accordion tr { padding: 12px 0; border-bottom: 1px solid var(--ce-line); }
  #the7-body .wpb_accordion td { border: 0 !important; padding: 2px 0 !important; }
  #the7-body #page .wpb_accordion .wpb_accordion_header a span { font-size: 17px !important; }
}

.ce-steps li::marker { content: none; }
.ce-steps li::before { display: none !important; }

/* Titres sur fond sombre / coloré : passer devant « #content h2 » du thème */
#the7-body #content .ce-section--dark h2,
#the7-body #content .ce-cta h2,
#the7-body #content .ce-card--feature h3 { color: #fff !important; }

/* En-tête mobile : logo à taille raisonnable */
#the7-body .mobile-header-bar .mobile-branding img,
#the7-body .mobile-header-bar .preload-me { max-height: 44px !important; width: auto !important; }
@media (max-width: 680px) { .ce-domains .ce-chip:nth-of-type(n+9) { display: none; } }

/* =========================================================
   PAGE CONTACT (gabarit contact-sections.php)
   ========================================================= */
.ce-pagehero {
  position: relative; overflow: hidden; padding: 96px 0 150px; text-align: center;
  background: var(--ce-ink) radial-gradient(1000px 420px at 80% -10%, rgba(0, 172, 194, .55), transparent 60%);
}
.ce-pagehero__bg { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 203, 43, .1); left: -120px; bottom: -200px; }
.ce-pagehero .ce-wrap { position: relative; max-width: 820px; }
.ce-eyebrow--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.ce-eyebrow--dark .ce-ic { color: var(--ce-yellow); }
#the7-body #content .ce-pagehero h1 {
  color: #fff !important; margin: 24px 0 18px !important;
  font: 800 clamp(36px, 5vw, 62px)/1.06 var(--ce-font) !important; letter-spacing: -.028em !important; word-spacing: .12em !important;
}
.ce-pagehero h1 em { font-style: normal; color: var(--ce-yellow) !important; }
#the7-body .ce-pagehero p { color: rgba(255, 255, 255, .75); font-size: 19px; max-width: 620px; margin: 0 auto; }

.ce-contactpage { padding: 0 0 112px; margin-top: -90px; position: relative; }
.ce-contactpage__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.ce-contactpage__info { display: flex; flex-direction: column; gap: 14px; }
#the7-body .ce-infocard {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--ce-r);
  background: #fff; border: 1px solid var(--ce-line); box-shadow: var(--ce-shadow); color: var(--ce-ink) !important;
  transition: transform .25s var(--ce-ease), box-shadow .25s var(--ce-ease);
}
#the7-body .ce-infocard:hover { transform: translateY(-3px); box-shadow: var(--ce-shadow-lg); }
.ce-infocard__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ce-teal-50); color: var(--ce-teal-600); flex: none; }
.ce-infocard__icon .ce-ic { width: 24px; height: 24px; }
.ce-infocard__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ce-infocard__txt small { font: 700 12px/1.3 var(--ce-font); text-transform: uppercase; letter-spacing: .1em; color: var(--ce-muted); }
.ce-infocard__txt strong { font: 700 17px/1.35 var(--ce-font); color: var(--ce-ink); overflow-wrap: anywhere; }
.ce-infocard__txt span { font: 500 15px/1.3 var(--ce-font); color: var(--ce-text); }
.ce-infocard__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ce-bg); color: var(--ce-ink); flex: none; transition: background .2s, color .2s; }
#the7-body .ce-infocard:hover .ce-infocard__go { background: var(--ce-ink); color: #fff; }
#the7-body .ce-infocard--wa { background: var(--ce-teal); border-color: var(--ce-teal); }
.ce-infocard--wa .ce-infocard__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.ce-infocard--wa .ce-infocard__txt small, .ce-infocard--wa .ce-infocard__txt span { color: rgba(255, 255, 255, .8); }
.ce-infocard--wa .ce-infocard__txt strong { color: #fff; }
.ce-infocard--wa .ce-infocard__go { background: var(--ce-yellow); }

.ce-shortcuts { margin-top: 10px; padding: 26px; border-radius: var(--ce-r); background: var(--ce-bg); border: 1px solid var(--ce-line); display: flex; flex-direction: column; }
#the7-body .ce-shortcuts__title { font: 700 13px/1.4 var(--ce-font); text-transform: uppercase; letter-spacing: .1em; color: var(--ce-muted); margin-bottom: 8px; }
#the7-body .ce-shortcuts a {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--ce-ink) !important;
  font: 600 15.5px/1.35 var(--ce-font); border-bottom: 1px solid var(--ce-line);
}
.ce-shortcuts a:last-child { border-bottom: 0; padding-bottom: 0; }
.ce-shortcuts a .ce-ic:first-child { color: var(--ce-teal-600); }
.ce-shortcuts a .ce-ic:last-child { margin-left: auto; opacity: .4; transition: transform .2s, opacity .2s; }
#the7-body .ce-shortcuts a:hover { color: var(--ce-teal-600) !important; }
.ce-shortcuts a:hover .ce-ic:last-child { transform: translateX(3px); opacity: 1; }

.ce-formcard { background: #fff; border-radius: 32px; padding: 44px; box-shadow: var(--ce-shadow-lg); border: 1px solid var(--ce-line); }
#the7-body #content .ce-formcard h2 { font: 800 30px/1.15 var(--ce-font) !important; letter-spacing: -.02em !important; word-spacing: .08em; color: var(--ce-ink) !important; }
#the7-body .ce-formcard__lead { margin: 8px 0 26px !important; color: var(--ce-muted) !important; font-size: 15px; }
.ce-formcard .wpcf7-form > p { margin: 0 0 18px !important; }
#the7-body .ce-formcard .wpcf7-form label {
  display: block; width: 100%; font: 700 14px/1.4 var(--ce-font) !important; color: var(--ce-ink) !important;
}
.ce-formcard .wpcf7-form label br { display: none; }
.ce-formcard .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
#the7-body .ce-formcard input[type="text"], #the7-body .ce-formcard input[type="email"], #the7-body .ce-formcard input[type="tel"],
#the7-body .ce-formcard select, #the7-body .ce-formcard textarea {
  width: 100% !important; box-sizing: border-box; margin: 0 !important;
  background: var(--ce-bg) !important; border: 1.5px solid var(--ce-line) !important; border-radius: 14px !important;
  padding: 14px 16px !important; height: auto !important; min-height: 52px;
  font: 500 16px/1.4 var(--ce-font) !important; color: var(--ce-ink) !important; box-shadow: none !important;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
#the7-body .ce-formcard textarea { min-height: 150px; resize: vertical; }
#the7-body .ce-formcard select { appearance: none; -webkit-appearance: none; padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230b2530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 16px center !important; }
#the7-body .ce-formcard input:focus, #the7-body .ce-formcard select:focus, #the7-body .ce-formcard textarea:focus {
  outline: none; border-color: var(--ce-teal) !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(0, 172, 194, .14) !important;
}
#the7-body .ce-formcard .wpcf7-submit {
  width: 100%; border: 0 !important; border-radius: 999px !important; cursor: pointer;
  background: var(--ce-ink) !important; color: #fff !important; padding: 18px 28px !important; height: auto !important;
  font: 700 16px/1 var(--ce-font) !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: background .2s, transform .2s var(--ce-ease) !important;
}
#the7-body .ce-formcard .wpcf7-submit:hover { background: var(--ce-teal) !important; transform: translateY(-2px); }
#the7-body .ce-formcard .wpcf7-not-valid-tip { font: 600 13px/1.4 var(--ce-font); color: #d13c3c; margin-top: 6px; }
#the7-body .ce-formcard .wpcf7-response-output { border-radius: 14px; margin: 18px 0 0 !important; padding: 14px 16px !important; font: 500 15px/1.5 var(--ce-font); }
#the7-body .ce-formcard .wpcf7-spinner { display: block; margin: 12px auto 0; }

@media (max-width: 980px) {
  .ce-contactpage__grid { grid-template-columns: 1fr; }
  .ce-contactpage__info { order: 2; }
}
@media (max-width: 680px) {
  .ce-pagehero { padding: 56px 0 120px; }
  #the7-body .ce-pagehero p { font-size: 17px; }
  .ce-formcard { padding: 28px 22px; border-radius: 26px; }
  .ce-contactpage { padding-bottom: 76px; }
}

/* =========================================================
   PAGE FORMATIONS (gabarit formations-sections.php)
   ========================================================= */
.ce-pagehero--formations { padding-bottom: 110px; }
.ce-bigsearch {
  margin: 34px auto 0; max-width: 640px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 999px; padding: 6px 8px 6px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  cursor: text;
}
.ce-bigsearch .ce-ic { width: 22px; height: 22px; color: var(--ce-teal-600); }
#the7-body .ce-bigsearch input {
  flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none;
  font: 500 17px/1.4 var(--ce-font) !important; color: var(--ce-ink) !important; padding: 14px 8px !important; margin: 0 !important; height: auto !important;
}

.ce-catalog { padding: 0 0 112px; margin-top: -56px; position: relative; }
.ce-catalog__grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }

/* Filtres */
.ce-filters {
  position: sticky; top: 110px; background: #fff; border-radius: var(--ce-r); border: 1px solid var(--ce-line);
  box-shadow: var(--ce-shadow-lg); padding: 8px 0 12px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: thin;
}
.ce-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px 12px; }
.ce-filters__head strong { font: 800 18px/1 var(--ce-font); color: var(--ce-ink); }
#the7-body .ce-filters__reset { background: none; border: 0; padding: 0; font: 600 14px/1 var(--ce-font); color: var(--ce-teal-600); cursor: pointer; }
.ce-filters__reset:hover { text-decoration: underline; }
.ce-filters__close, .ce-filters__apply, .ce-filters__open, .ce-filters__backdrop { display: none !important; }
.ce-fgroup { border-top: 1px solid var(--ce-line); }
.ce-fgroup summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 18px 22px;
  font: 700 15px/1.3 var(--ce-font); color: var(--ce-ink);
}
.ce-fgroup summary::-webkit-details-marker { display: none; }
.ce-fgroup summary .ce-ic { margin-left: auto; transition: transform .25s var(--ce-ease); color: var(--ce-muted); }
.ce-fgroup[open] summary .ce-ic { transform: rotate(180deg); }
.ce-fgroup__n { background: var(--ce-teal); color: #fff; font: 700 11px/1 var(--ce-font); border-radius: 999px; padding: 4px 7px; }
.ce-fgroup__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 20px; }
.ce-fgroup__opts.is-list { flex-direction: column; flex-wrap: nowrap; gap: 2px; max-height: 260px; overflow: auto; padding-bottom: 16px; }
#the7-body .ce-fgroup__find {
  display: block; width: calc(100% - 44px) !important; margin: 0 22px 10px !important; box-sizing: border-box;
  background: var(--ce-bg) !important; border: 1.5px solid var(--ce-line) !important; border-radius: 12px !important;
  padding: 10px 14px !important; font: 500 14px/1.3 var(--ce-font) !important; height: auto !important; box-shadow: none !important;
}
.ce-opt { position: relative; margin: 0 !important; cursor: pointer; }
.ce-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ce-opt span { font: 600 14px/1.2 var(--ce-font); color: var(--ce-ink); }
.ce-opt small { font: 600 11.5px/1 var(--ce-font); color: var(--ce-muted); }
/* domaine & pays : pastilles */
.ce-fgroup__opts:not(.is-list) .ce-opt {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px;
  border: 1.5px solid var(--ce-line); background: #fff; transition: background .15s, border-color .15s, color .15s;
}
.ce-fgroup__opts:not(.is-list) .ce-opt:hover { border-color: var(--ce-ink); }
.ce-fgroup__opts:not(.is-list) .ce-opt:has(input:checked) { background: var(--ce-ink); border-color: var(--ce-ink); }
.ce-fgroup__opts:not(.is-list) .ce-opt:has(input:checked) span { color: #fff; }
.ce-fgroup__opts:not(.is-list) .ce-opt:has(input:checked) small { color: var(--ce-yellow); }
/* villes : liste à cases */
.ce-fgroup__opts.is-list .ce-opt { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 10px; }
.ce-fgroup__opts.is-list .ce-opt:hover { background: var(--ce-bg); }
.ce-fgroup__opts.is-list .ce-opt::before {
  content: ""; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c6d3d8; flex: none; background: #fff center/14px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.ce-fgroup__opts.is-list .ce-opt:has(input:checked)::before {
  background-color: var(--ce-teal); border-color: var(--ce-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.ce-fgroup__opts.is-list .ce-opt small { margin-left: auto; }
.ce-opt.is-zero { opacity: .4; }
.ce-opt:has(input:focus-visible) { outline: 2px solid var(--ce-teal); outline-offset: 2px; }

/* Résultats */
.ce-results__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 56px; margin-bottom: 22px; padding-top: 70px; }
#the7-body .ce-results__bar > p { font: 600 16px/1 var(--ce-font); color: var(--ce-muted); margin: 0; }
.ce-results__bar > p strong { font: 800 26px/1 var(--ce-font); color: var(--ce-ink); margin-right: 4px; }
.ce-active { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
#the7-body .ce-active button {
  display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; border-radius: 999px;
  background: var(--ce-teal-50); color: var(--ce-teal-600); font: 600 13.5px/1 var(--ce-font); padding: 9px 12px;
}
.ce-active button .ce-ic { width: 14px; height: 14px; }
#the7-body .ce-active button:hover { background: var(--ce-ink); color: #fff; }

.ce-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ce-ecard {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ce-line);
  border-radius: var(--ce-r); overflow: hidden; transition: transform .3s var(--ce-ease), box-shadow .3s var(--ce-ease);
  animation: ce-in .4s var(--ce-ease) both;
}
.ce-ecard[hidden] { display: none; }
.ce-ecard:hover { transform: translateY(-6px); box-shadow: var(--ce-shadow-lg); }
@keyframes ce-in { from { opacity: 0; transform: translateY(10px); } }
.ce-ecard__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(135deg, var(--ce-teal-50), var(--ce-bg)); }
.ce-ecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ce-ease); }
.ce-ecard:hover .ce-ecard__media img { transform: scale(1.06); }
.ce-ecard__logo {
  position: relative; z-index: 1; margin: -30px 0 0 20px; width: 60px; height: 60px; border-radius: 16px;
  background: #fff; padding: 6px; box-shadow: var(--ce-shadow); display: grid; place-items: center;
}
.ce-ecard__logo img { max-height: 100%; object-fit: contain; }
.ce-ecard__body { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
#the7-body #content .ce-ecard h3 { font: 700 17.5px/1.3 var(--ce-font) !important; letter-spacing: -.01em !important; margin: 0 !important; }
#the7-body .ce-ecard h3 a { color: var(--ce-ink) !important; }
#the7-body .ce-ecard h3 a:hover { color: var(--ce-teal-600) !important; }
#the7-body .ce-ecard__meta { display: flex; align-items: center; gap: 6px; font: 500 14px/1.3 var(--ce-font); color: var(--ce-muted); margin: 0; }
.ce-ecard__meta .ce-ic { color: var(--ce-teal); }
.ce-ecard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ce-ecard__tags span { font: 600 12.5px/1 var(--ce-font); color: var(--ce-ink-2); background: var(--ce-bg); border: 1px solid var(--ce-line); padding: 6px 10px; border-radius: 999px; }
.ce-ecard__tags .is-more { background: transparent; color: var(--ce-muted); }
.ce-ecard__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.ce-ecard__actions .ce-btn { flex: 1 1 0; padding: 13px 14px; font-size: 14px; }
#the7-body .ce-btn--dark { background: var(--ce-ink); color: #fff !important; }
#the7-body .ce-btn--dark:hover { background: var(--ce-teal); }
#the7-body .ce-btn--soft { background: var(--ce-bg); color: var(--ce-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ce-line); }
#the7-body .ce-btn--soft:hover { box-shadow: inset 0 0 0 1.5px var(--ce-ink); }

.ce-empty { text-align: center; padding: 72px 24px; border: 1.5px dashed var(--ce-line); border-radius: var(--ce-r); }
.ce-empty__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--ce-teal-50); color: var(--ce-teal-600); }
.ce-empty__icon .ce-ic { width: 28px; height: 28px; }
#the7-body .ce-empty p { max-width: 420px; margin: 10px auto 24px; color: var(--ce-muted); }

@media (max-width: 1180px) { .ce-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .ce-catalog__grid { grid-template-columns: 1fr; }
  .ce-results__bar { padding-top: 76px; }
  .ce-filters__open { display: inline-flex !important; margin-left: auto; }
  .ce-badge { background: var(--ce-yellow); color: var(--ce-ink); border-radius: 999px; font-size: 12px; padding: 3px 7px; }
  /* Panneau coulissant */
  .ce-filters {
    position: fixed; z-index: 100001; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh;
    border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform .35s var(--ce-ease); padding-bottom: 96px;
  }
  .ce-filters.is-open { transform: none; }
  .ce-filters__close { display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ce-bg); margin-left: 10px; }
  .ce-filters__head { position: sticky; top: 0; background: #fff; z-index: 1; }
  .ce-filters__head strong { margin-right: auto; }
  .ce-filters__apply { display: flex !important; position: fixed; left: 18px; right: 18px; bottom: 18px; }
  .ce-filters__backdrop { position: fixed; inset: 0; z-index: 100000; background: rgba(11, 37, 48, .45); opacity: 0; pointer-events: none; transition: opacity .3s; display: block !important; }
  .ce-filters.is-open ~ .ce-filters__backdrop, .ce-catalog.is-filtering .ce-filters__backdrop { opacity: 1; pointer-events: auto; }
}
@media (max-width: 620px) {
  .ce-cards { grid-template-columns: 1fr; }
  .ce-bigsearch { padding-left: 18px; }
  #the7-body .ce-bigsearch input { font-size: 16px !important; }
}

/* Domaines : 10 visibles, le reste sur demande */
.ce-fgroup.is-collapsed .ce-opt.is-extra:not(:has(input:checked)) { display: none !important; }
#the7-body .ce-more { background: none; border: 0; padding: 4px 0; margin: -8px 22px 18px; font: 700 14px/1 var(--ce-font); color: var(--ce-teal-600); cursor: pointer; }

/* Pied de page : police partout */
#the7-body #footer *, #the7-body #bottom-bar * { font-family: var(--ce-font) !important; }
#the7-body #footer .ce-footer-about { max-width: 360px; }
#the7-body #footer .widget-info { line-height: 2 !important; }
#the7-body #footer .widget-info strong { color: rgba(255, 255, 255, .55); font-weight: 600; }

/* =========================================================
   PAGE CALENDRIER (gabarit calendrier-sections.php)
   ========================================================= */
.ce-cal { padding: 0 0 96px; margin-top: -70px; position: relative; }
.ce-cal__tabs {
  display: flex; gap: 8px; padding: 8px; background: #fff; border-radius: 22px; border: 1px solid var(--ce-line);
  box-shadow: var(--ce-shadow-lg); max-width: max-content; margin: 0 auto 32px; flex-wrap: wrap; justify-content: center;
}
#the7-body .ce-cal__tab {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; border: 0; cursor: pointer;
  background: transparent; color: var(--ce-ink); font: 700 15.5px/1.3 var(--ce-font); text-align: left; transition: background .2s, color .2s;
}
#the7-body .ce-cal__tab:hover { background: var(--ce-bg); }
#the7-body .ce-cal__tab[aria-selected="true"] { background: var(--ce-ink); color: #fff; }
.ce-state { display: inline-flex; align-items: center; font: 700 11.5px/1 var(--ce-font); padding: 6px 9px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.ce-state--passee { background: #eef1f3; color: var(--ce-muted); }
.ce-state--encours { background: var(--ce-yellow); color: var(--ce-ink); }
.ce-state--avenir { background: var(--ce-teal-50); color: var(--ce-teal-600); }
.ce-cal__tab[aria-selected="true"] .ce-state--passee { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); }

.ce-cal__notice {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin: 0 auto 32px; max-width: 980px;
  border-radius: 20px; background: #fff8e1; border: 1px solid #ffe7a3;
}
.ce-cal__notice > .ce-ic { width: 28px; height: 28px; color: #b8860b; flex: none; }
#the7-body .ce-cal__notice p { margin: 0; color: var(--ce-ink-2); font-size: 15.5px; flex: 1; }
.ce-cal__notice .ce-btn { flex: none; }

.ce-cal__panel { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; animation: ce-in .4s var(--ce-ease) both; }
.ce-cal__panel[hidden] { display: none; }

.ce-deadline {
  position: sticky; top: 120px; border-radius: 28px; padding: 32px; color: #fff; overflow: hidden;
  background: var(--ce-ink) radial-gradient(500px 260px at 100% 0%, rgba(0, 172, 194, .55), transparent 60%);
}
.ce-deadline__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ce-yellow); color: var(--ce-ink); margin-bottom: 22px; }
.ce-deadline__icon .ce-ic { width: 24px; height: 24px; }
#the7-body .ce-deadline__label { color: rgba(255, 255, 255, .7); font: 600 14px/1.4 var(--ce-font); margin: 0 0 6px; }
#the7-body .ce-deadline__date { color: #fff; font: 800 34px/1.1 var(--ce-font); letter-spacing: -.02em; margin: 0; }
#the7-body .ce-deadline__left { display: inline-block; margin: 14px 0 0; padding: 7px 12px; border-radius: 999px; background: rgba(255, 203, 43, .16); color: var(--ce-yellow); font: 700 13px/1 var(--ce-font); }
.ce-deadline.is-past .ce-deadline__left { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.ce-deadline__progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); margin: 28px 0 10px; overflow: hidden; }
.ce-deadline__progress span { display: block; height: 100%; background: var(--ce-yellow); border-radius: inherit; }
#the7-body .ce-deadline__steps { color: rgba(255, 255, 255, .65); font: 500 13.5px/1.4 var(--ce-font); margin: 0 0 24px; }
.ce-deadline .ce-btn { width: 100%; }

.ce-timeline { list-style: none !important; margin: 0 !important; padding: 0 !important; position: relative; }
.ce-timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--ce-line); }
.ce-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin: 0 0 16px !important; list-style: none !important; }
.ce-step::marker { content: none; }
.ce-step__dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--ce-line); color: var(--ce-teal-600);
}
.ce-step__dot .ce-ic { width: 24px; height: 24px; }
.ce-step.is-fait .ce-step__dot { background: var(--ce-teal); border-color: var(--ce-teal); color: #fff; }
.ce-step.is-encours .ce-step__dot { background: var(--ce-yellow); border-color: var(--ce-yellow); color: var(--ce-ink); box-shadow: 0 0 0 8px rgba(255, 203, 43, .25); }
.ce-step__card {
  background: #fff; border: 1px solid var(--ce-line); border-radius: 22px; padding: 22px 26px;
  transition: transform .25s var(--ce-ease), box-shadow .25s var(--ce-ease);
}
.ce-step__card:hover { transform: translateX(4px); box-shadow: var(--ce-shadow); }
.ce-step.is-encours .ce-step__card { border-color: var(--ce-yellow); box-shadow: 0 10px 30px rgba(255, 203, 43, .18); }
.ce-step.is-fait .ce-step__card { background: var(--ce-bg); }
.ce-step__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ce-step__n { font: 700 12px/1 var(--ce-font); text-transform: uppercase; letter-spacing: .12em; color: var(--ce-muted); }
.ce-step__period { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--ce-teal-50); color: var(--ce-teal-600); font: 700 13px/1 var(--ce-font); }
.ce-step__period .ce-ic { width: 14px; height: 14px; }
#the7-body #content .ce-step h3 { font: 700 19px/1.3 var(--ce-font) !important; margin: 0 0 6px !important; }
#the7-body .ce-step p { margin: 0; color: var(--ce-text); font-size: 15.5px; }
.ce-step.is-fait h3, .ce-step.is-fait p { opacity: .75; }

@media (max-width: 980px) {
  .ce-cal__panel { grid-template-columns: 1fr; gap: 28px; }
  .ce-deadline { position: static; }
  .ce-cal__notice { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .ce-cal__tabs { flex-direction: column; width: 100%; max-width: none; }
  #the7-body .ce-cal__tab { justify-content: space-between; }
  .ce-timeline::before { left: 21px; }
  .ce-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .ce-step__dot { width: 44px; height: 44px; }
  .ce-step__dot .ce-ic { width: 20px; height: 20px; }
  .ce-step__card { padding: 18px; }
  #the7-body .ce-deadline__date { font-size: 28px; }
}
/* Carte « date limite » : textes clairs (passer devant « .ce-home p ») */
#the7-body #content .ce-deadline__label { color: rgba(255, 255, 255, .72) !important; }
#the7-body #content .ce-deadline__date { color: #fff !important; }
#the7-body #content .ce-deadline__left { color: var(--ce-yellow) !important; }
#the7-body #content .ce-deadline.is-past .ce-deadline__left { color: rgba(255, 255, 255, .75) !important; }
#the7-body #content .ce-deadline__steps { color: rgba(255, 255, 255, .65) !important; }

/* Carte « Des formations reconnues » : photo en fond */
.ce-card--feature { position: relative; overflow: hidden; isolation: isolate; }
.ce-card--feature .ce-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ce-ease);
}
.ce-card--feature.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 37, 48, .25) 0%, rgba(11, 37, 48, .55) 45%, rgba(11, 37, 48, .94) 100%);
}
.ce-card--feature.has-photo:hover .ce-card__bg { transform: scale(1.05); }
.ce-card--feature.has-photo .ce-card__icon { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Fiche école : la carte photo reste dans la colonne (les marges intérieures ne s'ajoutent plus à la largeur) */
#the7-body .container-global { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
#the7-body.single-ecole .entry-content > p:empty { display: none; }

/* =========================================================
   PAGE « COMMENT ÇA MARCHE ? » (gabarit comment-sections.php)
   ========================================================= */
.ce-center--row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ce-how { padding: 0 0 96px; margin-top: -60px; position: relative; }
.ce-how__pills { list-style: none !important; margin: 0 auto 56px !important; padding: 8px !important; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--ce-line); border-radius: 999px; box-shadow: var(--ce-shadow-lg); width: max-content; max-width: 100%; }
.ce-how__pills li { list-style: none !important; margin: 0 !important; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  font: 700 14.5px/1 var(--ce-font); color: var(--ce-ink); background: var(--ce-bg); }
.ce-how__pills .ce-ic { color: var(--ce-teal-600); }

.ce-howsteps { list-style: none !important; margin: 0 auto !important; padding: 0 !important; max-width: 920px; position: relative; counter-reset: none; }
.ce-howsteps::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--ce-teal) 0 8px, transparent 8px 16px); opacity: .45; }
.ce-howstep { list-style: none !important; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; margin: 0 0 20px !important; }
.ce-howstep::marker { content: none; }
.ce-howstep__n { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ce-ink); color: var(--ce-yellow); font: 800 22px/1 var(--ce-font); box-shadow: 0 0 0 8px #fff; margin-top: 14px; }
.ce-howstep__card { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--ce-line); border-radius: 24px; padding: 28px 30px;
  transition: transform .3s var(--ce-ease), box-shadow .3s var(--ce-ease), border-color .3s; }
.ce-howstep__card:hover { transform: translateX(6px); box-shadow: var(--ce-shadow-lg); border-color: transparent; }
.ce-howstep__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--ce-teal-50); color: var(--ce-teal-600); flex: none; }
.ce-howstep__icon .ce-ic { width: 26px; height: 26px; }
.ce-howstep__label { font: 700 12px/1 var(--ce-font); text-transform: uppercase; letter-spacing: .12em; color: var(--ce-muted); }
#the7-body #content .ce-howstep h3 { font: 700 21px/1.3 var(--ce-font) !important; margin: 8px 0 8px !important; }
#the7-body .ce-howstep p { margin: 0; color: var(--ce-text); font-size: 16px; line-height: 1.65; }
.ce-howstep:last-child .ce-howstep__n { background: var(--ce-yellow); color: var(--ce-ink); }

@media (max-width: 620px) {
  .ce-how__pills { border-radius: 24px; width: 100%; }
  .ce-how__pills li { flex: 1 1 100%; justify-content: center; }
  .ce-howsteps::before { left: 21px; }
  .ce-howstep { grid-template-columns: 44px 1fr; gap: 14px; }
  .ce-howstep__n { width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 6px #fff; margin-top: 18px; }
  .ce-howstep__card { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .ce-howstep__icon { width: 48px; height: 48px; border-radius: 14px; }
}
