/* ═══════════════════════════════════════════════════════════════
   LEVELUP FORMATION — Couche de finition « pro » + responsive
   Chargée après style.css. Préfixe lvl- pour éviter les conflits.
═══════════════════════════════════════════════════════════════ */

:root {
  --lvl-radius: 14px;
  --lvl-shadow: 0 10px 30px rgba(22, 36, 62, .08);
  --lvl-shadow-hover: 0 18px 45px rgba(22, 36, 62, .14);
  --lvl-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ── Base ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 100px; }
:focus-visible { outline: 3px solid rgba(19, 76, 179, .35); outline-offset: 2px; }

.lvl-skip { position: absolute; left: 12px; top: -60px; z-index: 100000; background: var(--theme-color2); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.lvl-skip:focus { top: 12px; color: #fff; }

button.scroll-to-top { border: 0; padding: 0; cursor: pointer; }

/* ── Top bar ──────────────────────────────────────────── */
.lvl-topbar { font-size: 14px; }
.lvl-topbar .list-style-one li { margin-right: 32px !important; }
.lvl-topbar .list-style-one a:hover { color: #fff; opacity: .85; }
.lvl-topbar .top-right { display: flex; align-items: center; gap: 22px; }
.lvl-topbar__badge { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); padding: 4px 12px; border-radius: 999px; }
.lvl-topbar__badge i { color: #6fd3a3; }
@media (max-width: 1199.98px) { .lvl-hide-lg { display: none !important; } }

/* ── Header : barre blanche classique ─────────────────── */
.lvl-header .header-lower { background: #fff; border-bottom: 1px solid #e9ecf2; box-shadow: 0 4px 18px rgba(22, 36, 62, .05); position: relative; z-index: 5; }
.lvl-header .header-lower .auto-container { max-width: 1320px; }
.lvl-header .header-lower .main-box { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }

/* Logo : plus de bloc bleu incliné */
.lvl-header .header-lower .logo-box { flex: 0 0 auto; min-width: 0 !important; margin-right: 0 !important; padding: 12px 0 !important; }
.lvl-header .header-lower .logo-box .logo { width: auto !important; }
.lvl-header .header-lower .logo-box::before { display: none !important; }
.lvl-header .header-lower .logo-box .logo a { display: block; line-height: 0; }
.lvl-header .lvl-logo { width: auto !important; height: 66px !important; max-width: none !important; }
.lvl-header .lvl-logo-sticky { width: auto !important; height: 46px !important; max-width: none !important; }

/* Navigation */
.lvl-header .header-lower .nav-outer { display: flex; align-items: center; flex: 1 1 auto; justify-content: flex-end; gap: 28px; width: auto; }
.lvl-header .main-menu .navigation { display: flex; align-items: center; margin: 0; }
.lvl-header .header-lower .main-menu .navigation > li,
.lvl-header .sticky-header .main-menu .navigation > li { margin: 0 4px !important; padding: 0 !important; }
.lvl-header .main-menu .navigation > li > a { position: relative; display: block; padding: 34px 14px !important; font-family: var(--title-font);
  font-size: 15px; font-weight: 600; letter-spacing: .2px; color: var(--theme-color2) !important; text-transform: none; line-height: 24px; }
.lvl-header .sticky-header .main-menu .navigation > li > a { padding: 22px 14px !important; }
.lvl-header .main-menu .navigation > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; top: auto !important; bottom: 24px; width: auto !important; height: 2px; opacity: 1 !important; visibility: visible !important;
  background: var(--theme-color1); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--lvl-ease); }
.lvl-header .sticky-header .main-menu .navigation > li > a::after { bottom: 14px; }
.lvl-header .main-menu .navigation > li:hover > a,
.lvl-header .main-menu .navigation > li.current > a { color: var(--theme-color1) !important; }
.lvl-header .main-menu .navigation > li:hover > a::after,
.lvl-header .main-menu .navigation > li.current > a::after { transform: scaleX(1); }
.lvl-header .main-menu .navigation > li.dropdown > a, .lvl-header .sticky-header .main-menu .navigation > li.dropdown > a { padding-right: 32px !important; }
.lvl-header .main-menu .navigation > li.dropdown > a::before { content: "" !important; position: absolute; left: auto !important; right: 13px !important; top: 50%; width: 7px; height: 7px;
  margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; font-size: 0; }
.lvl-header .main-menu .navigation > li.dropdown:hover > a::before { transform: rotate(225deg); margin-top: -2px; }

/* Sous-menu */
.lvl-header .main-menu .navigation > li > ul { min-width: 300px; padding: 10px 0; background: #fff; border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--theme-color1); box-shadow: 0 18px 40px rgba(22, 36, 62, .14); }
.lvl-header .main-menu .navigation > li > ul > li { border: 0 !important; }
.lvl-header .main-menu .navigation > li > ul { width: auto !important; }
.lvl-header .main-menu .navigation > li > ul > li { width: auto !important; }
.lvl-header .main-menu .navigation > li > ul > li > a::before, .lvl-header .main-menu .navigation > li > ul > li > a::after { display: none !important; }
.lvl-header .main-menu .navigation > li > ul > li > a { white-space: nowrap; text-transform: none !important; line-height: 22px !important; padding: 12px 24px !important; font-size: 15px; font-weight: 500; color: var(--theme-color2) !important;
  background: transparent !important; transition: background .2s, color .2s, padding-left .2s; }
.lvl-header .main-menu .navigation > li > ul > li > a:hover { background: #f3f6fc !important; color: var(--theme-color1) !important; padding-left: 30px !important; }

/* Actions à droite */
.lvl-header .outer-box { display: flex; align-items: center; gap: 18px; padding-left: 24px; border-left: 1px solid #e9ecf2; margin-left: 4px; }
.lvl-header-phone { display: flex; align-items: center; gap: 10px; color: var(--theme-color2); line-height: 1.2; font-weight: 700; font-family: var(--title-font); white-space: nowrap; }
.lvl-header-phone:hover { color: var(--theme-color1); }
.lvl-header-phone__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(19, 76, 179, .08); color: var(--theme-color1); transition: background .25s, color .25s; }
.lvl-header-phone:hover .lvl-header-phone__icon { background: var(--theme-color1); color: #fff; }
.lvl-header-phone__txt small { display: block; font-size: 12px; font-weight: 500; color: var(--text-color); font-family: var(--text-font); }
.lvl-header-cta { padding: 12px 24px !important; white-space: nowrap; border-radius: 8px !important; font-size: 14px !important; }

/* Sticky */
.lvl-header .sticky-header { box-shadow: 0 6px 24px rgba(22, 36, 62, .1); border-bottom: 1px solid #e9ecf2; }
.lvl-header .sticky-header .inner-container { display: flex; align-items: center; justify-content: space-between; }

/* Bouton burger */
.lvl-header button.mobile-nav-toggler { background: none; border: 0; padding: 0; width: 46px; height: 46px; border-radius: 10px;
  display: none; align-items: center; justify-content: center; color: var(--theme-color2); font-size: 26px; background-color: #f2f4f8; }
.lvl-header button.mobile-nav-toggler:hover { background-color: rgba(19, 76, 179, .1); color: var(--theme-color1); }

@media (max-width: 1399.98px) {
  .lvl-header-phone__txt { display: none; }
  .lvl-header .main-menu .navigation > li > a { padding-left: 11px !important; padding-right: 11px !important; }
}
@media (max-width: 1199.98px) {
  .lvl-header-phone { display: none; }
  .lvl-header .outer-box { border-left: 0; padding-left: 0; }
}
@media (max-width: 991.98px) {
  .lvl-header .header-lower .main-box { min-height: 72px; }
  .lvl-header .lvl-logo { height: 52px !important; }
  .lvl-header .header-lower .main-menu { display: none !important; }
  .lvl-header-cta { display: none !important; }
  .lvl-header button.mobile-nav-toggler { display: inline-flex !important; }
}
@media (max-width: 575.98px) {
  .lvl-header .header-lower .main-box { min-height: 64px; }
  .lvl-header .lvl-logo { height: 46px !important; }
}

/* Menu mobile : panneau blanc classique */
.mobile-menu .menu-box { background: #fff !important; box-shadow: -10px 0 40px rgba(1, 13, 76, .18); }
.mobile-menu .menu-backdrop { background: rgba(1, 13, 76, .45) !important; }
.mobile-menu .upper-box { border-bottom: 1px solid #e9ecf2; padding: 18px 20px !important; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .nav-logo img { width: auto !important; height: 46px !important; max-width: none !important; }
.mobile-menu .close-btn { position: static !important; width: 40px; height: 40px; border-radius: 10px; background: #f2f4f8; color: var(--theme-color2) !important;
  display: grid; place-items: center; cursor: pointer; font-size: 18px; transform: none !important; }
.mobile-menu .close-btn:hover { background: rgba(19, 76, 179, .1); color: var(--theme-color1) !important; }
.mobile-menu .close-btn .icon { color: inherit !important; }
.mobile-menu .navigation { border-top: 0 !important; padding: 8px 0; }
.mobile-menu .navigation li { border-top: 0 !important; border-bottom: 1px solid #eef1f6 !important; }
.mobile-menu .navigation li > a { text-transform: none !important; color: var(--theme-color2) !important; font-family: var(--title-font); font-weight: 600; font-size: 16px; padding: 14px 22px !important; }
.mobile-menu .navigation li > a:hover, .mobile-menu .navigation li.current > a { color: var(--theme-color1) !important; }
.mobile-menu .navigation li > a::before { display: none !important; }
.mobile-menu .navigation li.dropdown .dropdown-btn { color: var(--theme-color2) !important; border-left: 1px solid #eef1f6 !important; height: 52px !important; width: 52px !important; top: 0 !important; }
.mobile-menu .navigation li > ul { background: #f7f9fc; }
.mobile-menu .navigation li > ul > li > a { font-weight: 500; font-size: 15px; padding-left: 34px !important; }
.mobile-menu .contact-list-one { padding: 22px !important; margin: 0 !important; }
.mobile-menu .contact-list-one li .title { color: var(--text-color) !important; }
.mobile-menu .contact-list-one li .text, .mobile-menu .contact-list-one li .text a { color: var(--theme-color2) !important; }
.mobile-menu .contact-list-one li .icon { color: var(--theme-color1) !important; }
.mobile-menu .social-links li a { color: var(--theme-color2) !important; }

/* ── Boutons ──────────────────────────────────────────── */
.theme-btn { transition: transform .25s var(--lvl-ease), box-shadow .25s var(--lvl-ease), background-color .25s; }
.btn-style-one:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19, 76, 179, .28); }
.lvl-btn-light { display: inline-flex; align-items: center; padding: 15px 34px; line-height: 32px; border-radius: 7px; font-weight: 600;
  letter-spacing: .8px; color: var(--theme-color2); background: #fff; border: 1.5px solid rgba(22, 36, 62, .15); margin-left: 12px; }
.lvl-btn-light:hover { color: var(--theme-color1); border-color: var(--theme-color1); transform: translateY(-2px); }

/* ── Hero ─────────────────────────────────────────────── */
.banner-section-two { overflow: hidden; }
.banner-section-two .content-columnn .content-box .title { font-size: clamp(36px, 5.2vw, 72px); letter-spacing: -1.5px; text-transform: none; }
.banner-section-two .content-columnn .content-box .sub-title { display: inline-block; background: rgba(19, 76, 179, .08);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.banner-section-two .content-columnn .content-box .text { margin-bottom: 40px; max-width: 560px; }
.banner-section-two .btn-box { display: flex; flex-wrap: wrap; gap: 12px; }
.banner-section-two .btn-box .lvl-btn-light { margin-left: 0; }
@media (max-width: 991.98px) {
  .banner-section-two { padding: 80px 0 60px; }
  .banner-section-two .content-columnn .content-box .text { margin-left: auto; margin-right: auto; }
  .banner-section-two .btn-box { justify-content: center; }
}
@media (max-width: 575.98px) {
  .banner-section-two { padding: 56px 0 40px; }
  .banner-section-two .content-columnn .content-box .title { font-size: 34px; letter-spacing: -.5px; }
  .banner-section-two .btn-box .theme-btn { width: 100%; justify-content: center; }
  .banner-section-two .image-column .icon-dots-3 { display: none; }
}

/* ── Cartes formations ────────────────────────────────── */
.service-block-two .inner-box { border-radius: var(--lvl-radius); overflow: hidden; box-shadow: var(--lvl-shadow);
  transition: transform .35s var(--lvl-ease), box-shadow .35s var(--lvl-ease); background: #fff; height: 100%; }
.service-block-two .inner-box:hover { transform: translateY(-6px); box-shadow: var(--lvl-shadow-hover); }
.service-block-two .inner-box .image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--lvl-ease); }
.service-block-two .inner-box:hover .image img { transform: scale(1.04); }
.service-block-two .read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--theme-color1); }
.service-block-two .read-more i { transition: transform .25s; }
.service-block-two .read-more:hover i { transform: translateX(4px); }
.services-section-two .row > [class*="col-"] { margin-bottom: 30px; }

/* ── Images de section ────────────────────────────────── */
.about-section-two .image img, .faqs-section-two .image img, .contact-section-two .image img { border-radius: var(--lvl-radius); }

/* ── FAQ ──────────────────────────────────────────────── */
.accordion-box .block { border-radius: 12px; overflow: hidden; }
.accordion-box .acc-btn { cursor: pointer; }

/* ── Formulaire contact ───────────────────────────────── */
.contact-form-two input, .contact-form-two select, .contact-form-two textarea {
  border-radius: 10px !important; transition: border-color .2s, box-shadow .2s; }
.contact-form-two input:focus, .contact-form-two select:focus, .contact-form-two textarea:focus {
  border-color: var(--theme-color1) !important; box-shadow: 0 0 0 4px rgba(19, 76, 179, .12); outline: none; }

/* ── Footer ───────────────────────────────────────────── */
.lvl-footer .widgets-section { padding-top: 90px; padding-bottom: 50px; }
.lvl-footer__logo { display: inline-block; margin-bottom: 20px; }
.lvl-footer__logo img { max-width: 180px; height: auto; }
.lvl-footer__text { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
.lvl-footer__badges { list-style: none; padding: 0; margin: 0; }
.lvl-footer__badges li { color: #fff; font-size: 14px; line-height: 1.6; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.lvl-footer__badges i { color: #6fd3a3; }
.lvl-footer .widget-title { color: #fff; position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.lvl-footer .widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--theme-color1); }
.lvl-footer .user-links li a { transition: color .2s, padding-left .2s; }
.lvl-footer .user-links li a:hover { padding-left: 4px; color: #fff; }
.lvl-footer__contact { list-style: none; padding: 0; margin: 0; }
.lvl-footer__contact li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.lvl-footer__contact i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; }
.lvl-footer__contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.lvl-footer__contact a:hover { color: #fff; }
.lvl-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.lvl-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.lvl-footer__legal a, .lvl-footer__legal button { color: rgba(255, 255, 255, .7); font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.lvl-footer__legal a:hover, .lvl-footer__legal button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
  .lvl-footer .widgets-section { padding-top: 60px; padding-bottom: 20px; }
  .lvl-footer .footer-column { margin-bottom: 30px; }
}
@media (max-width: 767.98px) {
  .lvl-footer__bottom { justify-content: center; text-align: center; }
  .lvl-footer__legal { justify-content: center; }
}

/* ── Responsive général ───────────────────────────────── */
@media (max-width: 767.98px) {
  .sec-title h2 { font-size: clamp(26px, 7vw, 36px); line-height: 1.25; }
  .about-section-two, .services-section-two, .faqs-section-two, .contact-section-two { padding-top: 70px; padding-bottom: 70px; }
  .about-section-two .image-column, .faqs-section-two .image-column { margin-bottom: 30px; }
  .faqs-section-two .info-box { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; margin-top: -40px; }
  .contact-section-two .outer-box { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 575.98px) {
  .auto-container { padding-left: 16px; padding-right: 16px; }
  .theme-btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHIE UNIFIÉE — même échelle sur toutes les pages
   (thème + pages Tailwind). Titres : Jost · Texte : Kumbh Sans
═══════════════════════════════════════════════════════════════ */
:root {
  --lvl-fs-h1: clamp(34px, 4.2vw, 54px);   /* titre principal (hero) */
  --lvl-fs-h2: clamp(28px, 3vw, 40px);     /* titre de section */
  --lvl-fs-h2s: clamp(21px, 2vw, 24px);    /* titre de bloc */
  --lvl-fs-h3: 18px;                       /* titre de carte / module */
  --lvl-fs-lead: 18px;                     /* chapeau / intro */
  --lvl-fs-body: 16px;                     /* texte courant */
  --lvl-fs-small: 14.5px;                  /* texte secondaire */
  --lvl-fs-label: 12.5px;                  /* étiquettes / badges */
  --lvl-lh-body: 1.7;
  --lvl-lh-title: 1.2;
}

body, main, main p, main li, main input, main select, main textarea, main button, main label {
  font-family: var(--text-font) !important;
}
main h1, main h2, main h3, main h4, main h5, main h6,
main .sec-title h2, main .title, .lvl-cookie__title, .lvl-cmodal__title {
  font-family: var(--title-font) !important;
  letter-spacing: -.01em;
}

/* Titres */
main h1, main h1[class*="text-"] {
  font-size: var(--lvl-fs-h1) !important; line-height: var(--lvl-lh-title) !important; font-weight: 700 !important; letter-spacing: -.02em !important;
}
main .banner-section-two .content-columnn .content-box .title { font-size: var(--lvl-fs-h1) !important; line-height: var(--lvl-lh-title) !important; }

main .sec-title h2, main h2[class*="text-2xl"], main h2[class*="text-3xl"], main h2[class*="text-4xl"], main h2[class*="text-5xl"] {
  font-size: var(--lvl-fs-h2) !important; line-height: var(--lvl-lh-title) !important; font-weight: 700 !important;
}
main h2[class*="text-xl"], main h2[class*="text-lg"], main h2[class*="text-base"], main .lvl-h2s {
  font-size: var(--lvl-fs-h2s) !important; line-height: 1.3 !important; font-weight: 700 !important;
}
main h3, main h3[class*="text-"], main .service-block-two .title, main h4.title {
  font-size: var(--lvl-fs-h3) !important; line-height: 1.35 !important; font-weight: 600 !important;
}

/* Texte courant */
main p, main li { font-size: var(--lvl-fs-body); line-height: var(--lvl-lh-body); }
main .text { font-size: var(--lvl-fs-body) !important; line-height: var(--lvl-lh-body) !important; }
main .sec-title .text, main .sec-title p, main .banner-section-two .content-box .text,
main h1 + p, main p[class*="md:text-base"], main p[class*="text-lg"] {
  font-size: var(--lvl-fs-lead) !important; line-height: 1.65 !important; font-weight: 400 !important;
}

/* Normalisation des tailles Tailwind (trop petites) */
main .text-sm, main p.text-sm, main span.text-sm, main div.text-sm { font-size: var(--lvl-fs-body) !important; line-height: var(--lvl-lh-body) !important; }
main p.text-xs, main span.text-xs, main div.text-xs, main li.text-xs, main .text-xs { font-size: var(--lvl-fs-small) !important; line-height: 1.6 !important; }
main [class*="sm:text-sm"] { font-size: var(--lvl-fs-body) !important; }
main .text-base { font-size: var(--lvl-fs-body) !important; }

/* Étiquettes en capitales : restent compactes */
main .uppercase, main .uppercase.text-xs, main [class*="tracking-widest"] {
  font-size: var(--lvl-fs-label) !important; line-height: 1.4 !important; letter-spacing: .08em !important; font-weight: 700 !important;
}
main .sub-title, main .cat { font-size: var(--lvl-fs-label) !important; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; }

/* Graisses harmonisées */
main .font-extrabold { font-weight: 700 !important; }
main .font-light { font-weight: 400 !important; }

/* Gros chiffres décoratifs et prix : on conserve leur taille */
main .text-4xl:not(h1):not(h2), main .text-5xl:not(h1):not(h2) { font-family: var(--title-font) !important; }

/* Boutons et formulaires */
main .theme-btn, main button, main a[class*="rounded-xl"][class*="font-"] { font-family: var(--title-font) !important; }
main input, main select, main textarea { font-size: 15px !important; }

/* Mobile */
@media (max-width: 575.98px) {
  :root { --lvl-fs-lead: 16.5px; --lvl-fs-body: 15.5px; --lvl-fs-small: 14px; }
}
