/* GIFED powered by Lingoda — V144 premium front-end refinement */

:root {
  --gifed-navy: #0A213C;
  --gifed-deep: #061729;
  --gifed-violet: #6B22D5;
  --gifed-violet-soft: #F1E9FD;
  --gifed-yellow: #F4C542;
  --gifed-paper: #F4F5F8;
  --gifed-line: #E7EAF0;
  --gifed-slate: #63708A;
  --gifed-display: "Archivo", "Inter", Arial, sans-serif;
  --gifed-body: "IBM Plex Sans", "Inter", Arial, sans-serif;
  --gifed-mono: "IBM Plex Mono", Consolas, monospace;
}

html { scroll-behavior: smooth; }

#dc-root {
  color: var(--gifed-navy);
  font-family: var(--gifed-body) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#dc-root :is(p, a, button, input, select, textarea, label, li, blockquote, address, small, strong, em, summary, figcaption, dt, dd) {
  font-family: var(--gifed-body) !important;
}

#dc-root :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--gifed-display) !important;
  font-synthesis: none;
}

#dc-root :is(code, .g94-eyebrow, .g142-course-kicker, .gf-c119-eyebrow, .gf-c119-step-label, .gf-c119-level-code, .g142-wizard-progress-head, .g142-wizard-stage i) {
  font-family: var(--gifed-mono) !important;
}

#dc-root :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--gifed-yellow) !important;
  outline-offset: 3px !important;
}

/* Navigation */
#dc-root header {
  border-bottom: 1px solid rgba(10, 33, 60, .08) !important;
  box-shadow: 0 6px 22px rgba(6, 23, 41, .035);
  backdrop-filter: saturate(130%) blur(12px);
}

#dc-root header > div {
  max-width: 1440px !important;
  height: 74px !important;
  padding-inline: clamp(20px, 4vw, 56px) !important;
}

#dc-root header a[aria-label*="accueil"] img {
  height: 38px !important;
  max-width: min(220px, 42vw) !important;
}

#dc-root header nav[aria-label="Navigation principale"]:not(#menu-mobile) {
  gap: 4px !important;
}

#dc-root header nav[aria-label="Navigation principale"]:not(#menu-mobile) a {
  min-height: 42px;
  padding: 0 12px !important;
  display: inline-flex;
  align-items: center;
  border-radius: 9px !important;
  transition: background-color .18s ease, color .18s ease;
}

#dc-root header nav[aria-label="Navigation principale"]:not(#menu-mobile) a:hover,
#dc-root header nav[aria-label="Navigation principale"]:not(#menu-mobile) a[aria-current="page"] {
  background: var(--gifed-violet-soft) !important;
  color: var(--gifed-violet) !important;
}

/* Partnership banner on the home page */
#dc-root .g142-partnership-banner {
  max-width: 1280px !important;
  margin: 18px auto 0 !important;
  padding: 15px clamp(18px, 2.5vw, 28px) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 15px !important;
  background: var(--gifed-deep) !important;
  box-shadow: 0 12px 30px rgba(6, 23, 41, .09);
}

#dc-root .g142-partnership-brand strong { font: 700 21px/1 var(--gifed-display) !important; }
#dc-root .g142-partnership-brand span { font: 600 12px/1.2 var(--gifed-body) !important; }
#dc-root .g142-partnership-copy p { max-width: 54ch; font-size: 13px !important; line-height: 1.45 !important; }
#dc-root .g142-partnership-campaign { font: 600 12px/1.2 var(--gifed-body) !important; }

/* Home page: editorial whitespace, adult learner photography, clear action */
#dc-root .g94-hero {
  max-width: 1280px !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
  gap: clamp(34px, 5vw, 68px) !important;
  padding-top: clamp(46px, 5.5vw, 78px) !important;
  padding-bottom: clamp(48px, 5.5vw, 76px) !important;
}

#dc-root .g94-hero h1 {
  max-width: 11ch;
  font-size: clamp(48px, 5.3vw, 72px) !important;
  line-height: .99 !important;
  letter-spacing: -.045em !important;
  color: var(--gifed-navy) !important;
}

#dc-root .g94-hero h1 .g105-hero-word { color: var(--gifed-violet) !important; }
#dc-root .g94-lead { max-width: 52ch; margin-top: 20px !important; color: #40516A !important; font-size: 18px !important; line-height: 1.6 !important; }
#dc-root .g94-actions { gap: 12px 22px !important; margin-top: 26px !important; }
#dc-root .g94-primary { min-height: 52px !important; padding-inline: 22px !important; border-radius: 10px !important; box-shadow: 0 8px 18px rgba(107, 34, 213, .14); }
#dc-root .g94-secondary { min-height: 48px; }

#dc-root .g94-hero-media {
  min-height: clamp(390px, 38vw, 500px) !important;
  border: 1px solid rgba(10, 33, 60, .05);
  border-radius: 24px !important;
  box-shadow: 0 22px 58px rgba(10, 33, 60, .13) !important;
}

#dc-root .g96-float-badge {
  border: 1px solid rgba(10, 33, 60, .06) !important;
  border-radius: 13px !important;
  box-shadow: 0 10px 24px rgba(6, 23, 41, .12) !important;
}

#dc-root .g94-location-card {
  border: 1px solid rgba(10, 33, 60, .08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(6, 23, 41, .1) !important;
}

#dc-root .g99-next {
  max-width: 1280px !important;
  padding-top: clamp(32px, 4vw, 52px) !important;
  padding-bottom: clamp(36px, 4.5vw, 60px) !important;
}

#dc-root .g99-next-head h2,
#dc-root .g96-testimonials-head h2 {
  color: var(--gifed-navy) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
}

#dc-root .g99-next-list { gap: 14px !important; }
#dc-root .g99-next-link {
  min-height: 154px !important;
  padding: 22px !important;
  border: 1px solid var(--gifed-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(6, 23, 41, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#dc-root .g99-next-link:hover { transform: translateY(-3px); border-color: #CBB4F1 !important; box-shadow: 0 14px 30px rgba(6, 23, 41, .08); }
#dc-root .g99-next-link .n { color: var(--gifed-violet) !important; font-family: var(--gifed-mono) !important; }
#dc-root .g99-next-link strong { font: 650 20px/1.25 var(--gifed-display) !important; color: var(--gifed-navy) !important; }
#dc-root .g99-next-link em { color: var(--gifed-slate) !important; font-style: normal !important; }

#dc-root .g96-testimonials { max-width: 1280px; margin-inline: auto; }
#dc-root .g96-testimonial-card {
  overflow: hidden;
  border: 1px solid var(--gifed-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(6, 23, 41, .05);
}

/* Course page: a light, calm hero that keeps the course offer easy to scan */
#dc-root .g142-course-hero {
  background: #fff !important;
  color: var(--gifed-navy) !important;
  border-bottom: 1px solid rgba(10, 33, 60, .06);
}

#dc-root .g142-course-hero::before { display: none !important; }

#dc-root .g142-course-hero-inner {
  max-width: 1280px !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr) !important;
  gap: clamp(38px, 5vw, 72px) !important;
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 4vw, 52px) !important;
}

#dc-root .g142-course-copy { max-width: 740px; }

#dc-root .g142-course-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--gifed-violet-soft);
  color: var(--gifed-violet) !important;
  font: 600 11px/1 var(--gifed-mono) !important;
  letter-spacing: .055em;
}

#dc-root .g142-course-title {
  max-width: 14ch !important;
  margin: 0 !important;
  color: var(--gifed-navy) !important;
  font: 700 clamp(42px, 5vw, 66px)/1.01 var(--gifed-display) !important;
  letter-spacing: -.045em !important;
}

#dc-root .g142-course-title-accent { color: var(--gifed-violet) !important; }
#dc-root .g142-course-lead { max-width: 54ch; margin: 16px 0 20px !important; color: #40516A !important; font-size: 17px !important; line-height: 1.58 !important; }

#dc-root .g142-course-highlights {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin: 22px 0 18px !important;
}

#dc-root .g142-course-highlight {
  min-height: 44px !important;
  justify-self: stretch !important;
  gap: 9px !important;
  padding: 5px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #304159 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

#dc-root .g142-course-highlight img { width: 31px !important; height: 31px !important; flex: 0 0 31px; padding: 7px; border-radius: 50%; background: var(--gifed-violet-soft); }

#dc-root .g142-course-pricing {
  max-width: 740px !important;
  gap: 11px !important;
  margin-top: 16px !important;
}

#dc-root .g142-course-pricing article {
  min-height: 102px;
  padding: 15px 16px !important;
  border: 1px solid var(--gifed-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(6, 23, 41, .045);
  grid-template-columns: 1fr !important;
  gap: 5px !important;
}

#dc-root .g142-course-pricing article > strong { color: var(--gifed-violet) !important; font: 600 12px/1.2 var(--gifed-mono) !important; }
#dc-root .g142-course-pricing article > span { gap: 7px !important; align-items: baseline; }
#dc-root .g142-course-pricing article b { color: var(--gifed-navy) !important; font: 700 23px/1.1 var(--gifed-display) !important; }
#dc-root .g142-course-pricing article small { color: var(--gifed-slate) !important; font: 400 12px/1.3 var(--gifed-body) !important; }
#dc-root .g142-course-pricing article em { grid-column: 1 !important; color: var(--gifed-slate) !important; font: 400 11px/1.35 var(--gifed-body) !important; }

#dc-root .g142-course-actions { gap: 10px 20px !important; margin-top: 18px !important; }
#dc-root .g142-course-primary {
  min-height: 52px !important;
  padding: 0 21px !important;
  border: 1px solid var(--gifed-violet) !important;
  border-radius: 10px !important;
  background: var(--gifed-violet) !important;
  box-shadow: 0 8px 18px rgba(107, 34, 213, .15);
  font-size: 14px !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
#dc-root .g142-course-primary:hover { transform: translateY(-2px); background: #5918BC !important; box-shadow: 0 12px 22px rgba(107, 34, 213, .2); }
#dc-root .g142-course-secondary { min-height: 46px; color: var(--gifed-navy) !important; font-size: 14px !important; text-underline-offset: 4px; }

#dc-root .g142-course-media {
  display: block !important;
  max-width: 460px;
  aspect-ratio: .94 !important;
  overflow: hidden;
  border: 1px solid rgba(10, 33, 60, .08);
  border-radius: 22px !important;
  background: var(--gifed-paper) !important;
  box-shadow: 0 22px 54px rgba(10, 33, 60, .16) !important;
}

#dc-root .g142-course-media picture img { object-position: center 38% !important; }
#dc-root .g142-course-media::after { background: linear-gradient(180deg, transparent 58%, rgba(6, 23, 41, .46)) !important; }
#dc-root .g142-course-arc { opacity: .42 !important; }
#dc-root .g142-course-date { border: 1px solid rgba(6, 23, 41, .08); border-radius: 999px !important; background: var(--gifed-yellow) !important; color: var(--gifed-deep) !important; font-weight: 600 !important; }

/* Guided course journey */
#dc-root .g142-wizard-progress { background: var(--gifed-paper) !important; }
#dc-root .g142-wizard-progress-inner { max-width: 1280px !important; padding-top: clamp(22px, 3vw, 34px) !important; }
#dc-root .g142-wizard-progress-head > span { color: var(--gifed-slate) !important; font-family: var(--gifed-mono) !important; }
#dc-root .g142-wizard-track { height: 5px !important; background: #DFE3EB !important; }
#dc-root .g142-wizard-track > span { background: var(--gifed-violet) !important; }
#dc-root .g142-wizard-stage i { border-color: #D6DCE6 !important; color: var(--gifed-slate) !important; }
#dc-root .g142-wizard-stage.g142-stage-active i { border-color: var(--gifed-violet) !important; background: var(--gifed-violet) !important; color: #fff !important; }
#dc-root .g142-wizard-stage.g142-stage-done i { border-color: var(--gifed-navy) !important; background: var(--gifed-navy) !important; color: #fff !important; }
#dc-root .g123-course-entry, #dc-root .gf-c121-builder { background: var(--gifed-paper) !important; }
#dc-root .g123-course-entry { padding-top: 16px !important; }
#dc-root .g123-course-entry .gf-c121-wizard-card { border: 1px solid var(--gifed-line) !important; border-radius: 18px !important; box-shadow: 0 12px 30px rgba(6, 23, 41, .055) !important; }
#dc-root .gf-c119-step.gf-c121-step { border-color: var(--gifed-line) !important; border-radius: 17px !important; box-shadow: 0 8px 24px rgba(6, 23, 41, .04) !important; }
#dc-root .g142-included-wrap { background: var(--gifed-paper) !important; }

/* Consent stays clear and compact without hiding its choices */
#dc-root .gf-consent-banner {
  left: 50% !important;
  right: auto !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  width: min(820px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: none !important;
  padding: 16px 20px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 7px 24px !important;
  overflow: visible !important;
  transform: translateX(-50%) !important;
  border: 1px solid rgba(10, 33, 60, .11) !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 42px rgba(6, 23, 41, .18) !important;
}
#dc-root .gf-consent-banner > div:first-child { grid-column: 1; grid-row: 1; gap: 8px !important; }
#dc-root .gf-consent-banner > div:first-child p { color: var(--gifed-navy) !important; font: 650 15px/1.25 var(--gifed-display) !important; }
#dc-root .gf-consent-banner > p { grid-column: 1; grid-row: 2; margin: 0 !important; color: #52617A !important; font: 400 13px/1.45 var(--gifed-body) !important; }
#dc-root .gf-consent-banner .gf-consent-actions { grid-column: 2; grid-row: 1 / span 2; display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 8px !important; }
#dc-root .gf-consent-banner button, #dc-root .gf-consent-banner a { min-height: 42px !important; padding: 0 14px !important; border-radius: 9px !important; font: 600 13px/1.2 var(--gifed-body) !important; white-space: nowrap; }

@media (max-width: 980px) {
  #dc-root .g142-course-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .74fr) !important; gap: 28px !important; }
  #dc-root .g142-course-title { font-size: clamp(38px, 5vw, 54px) !important; }
  #dc-root .g142-course-highlight { padding: 9px 10px !important; font-size: 12px !important; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  #dc-root header > div { height: 66px !important; padding-inline: 14px !important; }
  #dc-root header a[aria-label*="accueil"] img { height: 32px !important; max-width: min(180px, 45vw) !important; }
  #dc-root .g142-partnership-banner { margin: 12px 12px 2px !important; padding: 13px 15px !important; gap: 6px !important; }
  #dc-root .g142-partnership-brand strong { font-size: 19px !important; }
  #dc-root .g142-partnership-copy p { font-size: 12px !important; }

  #dc-root .g94-hero { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; padding: 36px 18px 34px !important; }
  #dc-root .g94-hero h1 { max-width: 12ch; font-size: clamp(43px, 11vw, 60px) !important; line-height: .99 !important; }
  #dc-root .g94-lead { margin-top: 14px !important; font-size: 16px !important; }
  #dc-root .g94-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; margin-top: 20px !important; }
  #dc-root .g94-primary, #dc-root .g94-secondary { width: 100% !important; justify-content: center; }
  #dc-root .g94-hero-media { min-height: 300px !important; border-radius: 18px !important; }
  #dc-root .g99-next { padding: 30px 18px 36px !important; }
  #dc-root .g99-next-list { grid-template-columns: minmax(0, 1fr) !important; gap: 9px !important; }
  #dc-root .g99-next-link { min-height: 112px !important; padding: 18px !important; }
  #dc-root .g96-testimonials { padding-inline: 18px !important; }

  #dc-root .g142-course-hero-inner { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; padding: 32px 17px 26px !important; }
  #dc-root .g142-course-copy { max-width: none; }
  #dc-root .g142-course-kicker { min-height: 27px; margin-bottom: 12px; font-size: 10px !important; }
  #dc-root .g142-course-title { max-width: 14ch !important; font-size: clamp(36px, 9.5vw, 47px) !important; line-height: 1.01 !important; }
  #dc-root .g142-course-lead { margin: 12px 0 14px !important; font-size: 15px !important; }
  #dc-root .g142-course-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px !important; margin: 16px 0 14px !important; }
  #dc-root .g142-course-highlight { min-height: 48px !important; gap: 7px !important; padding: 4px 0 !important; font-size: 11px !important; }
  #dc-root .g142-course-highlight img { width: 27px !important; height: 27px !important; flex-basis: 27px; padding: 6px; }
  #dc-root .g142-course-pricing { gap: 7px !important; margin-top: 12px !important; }
  #dc-root .g142-course-pricing article { min-height: 91px; padding: 11px 10px !important; border-radius: 11px !important; gap: 4px !important; }
  #dc-root .g142-course-pricing article > strong { font-size: 10px !important; }
  #dc-root .g142-course-pricing article b { font-size: 19px !important; }
  #dc-root .g142-course-pricing article small { font-size: 10px !important; }
  #dc-root .g142-course-pricing article em { font-size: 9px !important; }
  #dc-root .g142-course-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 5px !important; margin-top: 13px !important; }
  #dc-root .g142-course-primary { width: 100% !important; min-height: 49px !important; justify-content: center; }
  #dc-root .g142-course-secondary { min-height: 42px; justify-content: center; text-align: center; }
  #dc-root .g142-course-media { width: 100% !important; max-width: none; aspect-ratio: 1.7 !important; border-radius: 15px !important; }
  #dc-root .g142-course-media picture img { object-position: center 34% !important; }
  #dc-root .g142-course-date { left: 10px !important; right: 10px !important; bottom: 10px !important; padding: 8px 10px !important; text-align: center; font-size: 11px !important; }
  #dc-root .g142-wizard-progress-inner { padding: 18px 14px 10px !important; }
  #dc-root .g142-wizard-stages { gap: 2px !important; }
  #dc-root .g142-wizard-stage i { width: 26px !important; height: 26px !important; flex-basis: 26px !important; }
  #dc-root .g123-course-entry { padding: 10px 12px 14px !important; }
  #dc-root .g123-course-entry .gf-c121-wizard-card { padding: 18px !important; border-radius: 15px !important; }

  #dc-root .gf-consent-banner {
    left: 10px !important;
    right: 10px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    padding: 13px 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    transform: none !important;
    border-radius: 14px !important;
  }
  #dc-root .gf-consent-banner > div:first-child { grid-column: 1; grid-row: 1; }
  #dc-root .gf-consent-banner > div:first-child p { font-size: 14px !important; }
  #dc-root .gf-consent-banner > p { grid-column: 1; grid-row: 2; font-size: 12px !important; }
  #dc-root .gf-consent-banner .gf-consent-actions { grid-column: 1; grid-row: 3; width: 100% !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important; margin-top: 3px; }
  #dc-root .gf-consent-banner button, #dc-root .gf-consent-banner a { min-width: 0 !important; min-height: 42px !important; padding: 0 8px !important; white-space: normal; text-align: center; }
  #dc-root .gf-consent-banner .gf-consent-actions > a { grid-column: 1 / -1; min-height: 30px !important; }
}

@media (max-width: 380px) {
  #dc-root .g142-course-hero-inner { padding-inline: 14px !important; }
  #dc-root .g142-course-title { font-size: 35px !important; }
  #dc-root .g142-course-highlight { font-size: 10px !important; }
  #dc-root .g142-course-pricing article b { font-size: 17px !important; }
  #dc-root .g142-course-pricing article { padding-inline: 8px !important; }
}

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