/*
Theme Name: Trafic Formation
Theme URI: #
Author: Trafic Formation
Author URI: #
Description: Thème WordPress custom pour Trafic Formation - Formation professionnelle en marketing digital
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trafic-formation
Domain Path: /languages
*/

/* =================================
   CSS VARIABLES & COLOR PALETTE
   ================================= */
:root {
  --petrol: #063E58;
  --coral: #EE7768;
  --black: #181918;
  --white: #F7F8F8;
  --powder: #FBF2EE;
  --bluegrey: #E3E6ED;
  --muted: #6f7d84;
}

/* =================================
   RESET & BASE STYLES
   ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, Arial, sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* =================================
   TYPOGRAPHY
   ================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(28px, 8vw, 52px); }
h2 { font-size: clamp(24px, 6vw, 44px); }
h3 { font-size: clamp(20px, 4vw, 36px); }
h4 { font-size: clamp(16px, 2.5vw, 28px); }

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1em;
}

a {
  color: var(--petrol);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--coral);
}

.tf-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.tf-team-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 96px 1fr;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(6, 62, 88, 0.08);
  box-shadow: 0 16px 42px rgba(6, 62, 88, 0.08);
}

.tf-team-card__portrait {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--petrol), #0c597f);
  color: var(--white);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 36px;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tf-team-card__content h3 {
  margin-bottom: 8px;
}

.tf-team-card__role {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--powder);
  color: var(--petrol);
  font-size: 13px;
  font-weight: 700;
}

.tf-team-card__list {
  margin-top: 14px;
}

.tf-team-card__list li {
  margin-bottom: 8px;
}

.tf-summary-visual {
  margin: 8px 0 14px;
  min-height: 88px;
  border-radius: 18px;
  padding: 14px;
  background-color: rgba(6, 62, 88, 0.08);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tf-summary-visual img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tf-summary-visual strong {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 34px;
  letter-spacing: 0.08em;
  color: var(--petrol);
}

@media (max-width: 720px) {
  .tf-team-card {
    grid-template-columns: 1fr;
  }

  .tf-team-card__portrait {
    width: 84px;
    height: 84px;
  }
}

/* =================================
   TOPBAR
   ================================= */
.topbar {
  background: var(--petrol);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(6, 62, 88, 0.1);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.topbar strong {
  color: white;
}

@media (max-width: 680px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* =================================
   HEADER & NAVIGATION
   ================================= */
.site-header {
  background: rgba(247, 248, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 62, 88, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 215px;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 52px;
  display: block;
}

.main-navigation {
  flex: 1;
  position: static;
}

.primary-menu,
.main-navigation > div > ul,
.main-navigation > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--petrol);
}

.primary-menu li {
  position: relative;
  list-style: none;
}

.main-navigation a,
.menu-link,
.sub-menu-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-link,
.sub-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-link-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  line-height: 1;
  font-size: 0.95em;
}

.menu-item-icon-fa i {
  font-size: 0.92em;
  line-height: 1;
}

.menu-link-text {
  line-height: 1.2;
}

.primary-menu > li > .menu-link .menu-link-text {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-navigation a:hover,
.main-navigation a.active,
.primary-menu > .current-menu-item > .menu-link,
.primary-menu > .current_page_item > .menu-link {
  color: var(--coral);
}

.menu-caret {
  font-size: 11px;
  line-height: 1;
}

.primary-menu .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 18px);
  min-width: 240px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(6, 62, 88, 0.1);
  box-shadow: 0 22px 55px rgba(6,62,88,.12);
  border-radius: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  z-index: 40;
  display: grid;
  gap: 12px;
}

.primary-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.primary-menu > li > .menu-link:hover + .sub-menu,
.primary-menu > li:hover > .sub-menu,
.primary-menu > li > .sub-menu:hover,
.primary-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.primary-menu .sub-menu li {
  width: 100%;
}

.primary-menu .sub-menu .menu-link,
.primary-menu .sub-menu .sub-menu-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--petrol);
}

.primary-menu > li.menu-item-mega-parent {
  position: static;
}

.menu-item-mega-parent > .mega-menu-panel {
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  transform: none;
  width: auto;
  max-width: none;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-radius: 0;
  border-top: 1px solid rgba(6, 62, 88, 0.08);
  box-shadow: 0 24px 48px rgba(6, 62, 88, 0.14);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.primary-menu > li.menu-item-mega-parent > .menu-link:hover + .mega-menu-panel,
.primary-menu > li.menu-item-mega-parent > .mega-menu-panel:hover,
.primary-menu > li.menu-item-mega-parent.is-mega-open > .mega-menu-panel,
.primary-menu > li.menu-item-mega-parent:focus-within > .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

@supports selector(.primary-menu > li.menu-item-mega-parent:has(> .menu-link:hover)) {
  .primary-menu > li.menu-item-mega-parent > .mega-menu-panel:hover,
  .primary-menu > li.menu-item-mega-parent > .menu-link:hover + .mega-menu-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .primary-menu > li.menu-item-mega-parent:has(> .menu-link:hover) > .mega-menu-panel,
  .primary-menu > li.menu-item-mega-parent:has(> .mega-menu-panel:hover) > .mega-menu-panel,
  .primary-menu > li.menu-item-mega-parent.is-mega-open > .mega-menu-panel,
  .primary-menu > li.menu-item-mega-parent:focus-within > .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

.menu-item-mega-parent > .mega-menu-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.menu-item-mega-parent > .mega-menu-panel > li {
  padding-top: 4px;
  border-top: 1px solid rgba(6,62,88,.14);
}

.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu-link,
.menu-item-mega-parent > .mega-menu-panel > li > .menu-link {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5f8b71;
}

.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu {
  position: static;
  min-width: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .sub-menu-link,
.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .menu-link {
  display: grid;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #1b1b1b;
}

.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .sub-menu-link .menu-link-label,
.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .menu-link .menu-link-label {
  align-items: flex-start;
}

.menu-item-visual {
  display: block;
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(6,62,88,.12);
  background: #f3f6f8;
}

.menu-item-visual img {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .sub-menu-link::after,
.menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .menu-link::after {
  content: attr(title);
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(24,25,24,.62);
}

.header-cta {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .primary-menu,
  .main-navigation > div > ul,
  .main-navigation > ul {
    display: none;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 74px;
  }
  
  .brand-logo {
    height: 44px;
  }
  
  .header-cta {
    display: none;
  }
}

/* =================================
   CONTAINERS & LAYOUT
   ================================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  min-height: 60vh;
}

/* =================================
   HERO SECTION
   ================================= */
.hero {
  position: relative;
  padding: 82px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 14%, rgba(238,119,104,.18), transparent 30%), linear-gradient(180deg, #fff 0%, var(--white) 100%);
  z-index: -3;
}

.hero::after {
  content: "";
  position: absolute;
  width: 820px;
  height: 520px;
  right: -210px;
  top: -120px;
  background-image:
    url("shared-assets/icone-bleue.svg"),
    url("shared-assets/icone-orange.svg");
  background-size: 158px 158px, 158px 158px;
  background-position: 0 0, 79px 79px;
  background-repeat: repeat;
  border-radius: 44px;
  background-attachment: fixed;
  opacity: .13;
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
}

.hero h1 {
  font-size: clamp(54px, 7vw, 96px);
  line-height: .96;
  margin-bottom: 18px;
}

.hero h1 strong {
  color: var(--coral);
  font-weight: 400;
}

.hero .lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.58;
  color: rgba(24,25,24,.84);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(6,62,88,.1);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--petrol);
  box-shadow: 0 10px 28px rgba(6,62,88,.06);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.dashboard {
  position: relative;
  background: var(--petrol);
  color: white;
  border-radius: 42px;
  padding: 34px;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
  overflow: hidden;
  min-height: 470px;
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 42%, rgba(255,255,255,.11) 42%, rgba(255,255,255,.11) 46%, transparent 46%),
    linear-gradient(-45deg, transparent 42%, rgba(238,119,104,.12) 42%, rgba(238,119,104,.12) 46%, transparent 46%);
  background-size: 62px 62px;
  opacity: .45;
}

.dashboard > * {
  position: relative;
  z-index: 1;
}

.visual-card {
  background: white;
  color: var(--black);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(0,0,0,.15);
}

.visual-card.big {
  width: 78%;
  margin-left: auto;
  margin-bottom: 20px;
}

.visual-card h3 {
  color: var(--petrol);
  font-size: 38px;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
}

.visual-card p {
  font-size: 15px;
  color: rgba(24,25,24,.76);
  margin-bottom: 12px;
}

.visual-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.visual-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(24,25,24,.84);
  font-weight: 600;
}

.floating-card {
  position: absolute;
  left: 4px;
  bottom: 38px;
  width: 48%;
  background: var(--coral);
  color: var(--white);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 24px 45px rgba(0,0,0,.2);
  transform: rotate(-4deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.floating-card .display {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 52px;
  color: var(--white);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.floating-card p {
  font-size: 15px;
  color: var(--white);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.mini-map {
  position: absolute;
  right: -10px;
  bottom: -22px;
  width: 45%;
  background: var(--powder);
  color: var(--petrol);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
  transform: rotate(3deg);
  z-index: 1;
}

.mini-map strong {
  display: block;
  font-size: 15px;
  color: var(--petrol);
  margin-bottom: 8px;
  font-weight: 700;
}

.map-line {
  width: 2px;
  height: 28px;
  background: var(--coral);
  margin: 12px 0;
  position: relative;
}

.map-line::after {
  content: "";
  position: absolute;
  left: -8px;
  top: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid #fff;
}

.mini-map p {
  font-size: 13px;
  font-weight: 700;
  color: var(--petrol);
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    min-height: 400px;
  }
  
  .dashboard {
    min-height: 350px;
  }
  
  .visual-card.big {
    width: 100%;
    margin-left: 0;
  }
  
  .floating-card {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero h1 {
    font-size: clamp(36px, 6vw, 54px);
  }
  
  .hero-badges {
    flex-direction: column;
    gap: 8px;
  }
  
  .badge {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =================================
   CTA BUTTONS
   ================================= */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #E85650;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(238, 119, 104, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--petrol);
}

.btn-secondary:hover {
  background: var(--powder);
  transform: translateY(-2px);
}

/* =================================
   CARDS & GRIDS
   ================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.card {
  background: var(--white);
  border: 1px solid rgba(6,62,88,.09);
  border-radius: 26px;
  padding: 26px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 265px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(6,62,88,.07);
}

.card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 110px;
  height: 110px;
  background: var(--powder);
  border-radius: 50%;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--powder);
  border-radius: 22px;
  border: 1px solid rgba(6,62,88,.12);
  margin-bottom: 8px;
  overflow: hidden;
}

.card-icon img {
  width: 52px;
  height: 52px;
  display: block;
}

.card-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bluegrey);
  color: var(--muted);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
}

.card h3 {
  font-size: 32px;
  margin: 0;
  margin-bottom: 13px;
  color: var(--petrol);
}

.card p {
  font-size: 15.5px;
  color: rgba(24,25,24,.76);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--coral);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  margin-top: 18px;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--petrol);
}

.card:hover {
  background: var(--petrol);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
  transform: translateY(-4px);
}

.card:hover h3,
.card:hover p {
  color: var(--white);
}

.card:hover .card-tag {
  background: rgba(255,255,255,.2);
  color: white;
}

.card:hover .card-link {
  color: var(--white);
}

/* =================================
   FORMATION CARD SPECIFIC
   ================================= */
.formation-card {
  background: var(--white);
  border: 1px solid rgba(6,62,88,.12);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.icon-line {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 2px solid rgba(6,62,88,.22);
  background: var(--powder) url("../../../shared-assets/icone-bicolore.svg") center / 31px 31px no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bluegrey);
  color: var(--muted);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.formation-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--black);
}

.formation-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.formation-card:hover,
.formation-card:focus-within {
  background: var(--petrol);
  border-color: rgba(6,62,88,.28);
  box-shadow: 0 20px 40px rgba(6,62,88,.24);
  transform: translateY(-4px);
}

.formation-card:hover h3,
.formation-card:focus-within h3 {
  color: #fff;
}

.formation-card:hover p,
.formation-card:focus-within p {
  color: rgba(255,255,255,.80);
}

.formation-card:hover .tag,
.formation-card:focus-within .tag {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.12);
}

/* =================================
   SECTION SPACING
   ================================= */
section {
  padding: 60px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--petrol);
}

section p.intro-text {
  font-size: 16px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

/* =================================
   FOOTER
   ================================= */
.site-footer {
  background: var(--petrol);
  color: var(--white);
  padding: 60px 20px 20px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, 1fr));
  gap: 32px;
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-about {
  display: grid;
  gap: 14px;
}

.footer-brand-link {
  display: inline-flex;
  width: fit-content;
}

.footer-about-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.65;
  max-width: 360px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-bottom span {
  font-size: 12px;
  opacity: 0.8;
}

@media (max-width: 680px) {
  .footer-logo {
    height: 30px;
  }
  .site-footer {
    padding: 40px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-about-text {
    max-width: none;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
  }

  section {
    padding: 40px 20px;
  }
}

/* =================================
   SECTION HEADERS
   ================================= */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header h2 {
  margin: 0;
  color: var(--petrol);
}

.section-header p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1060px) {
  .section-header {
    display: block;
  }
  .section-header p {
    margin-top: 14px;
  }
}

/* =================================
   SMALL LABEL
   ================================= */
.small-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 14px;
}

.small-label::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--coral);
  border-radius: 20px;
  display: inline-block;
}

/* =================================
   BADGES
   ================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--black);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

/* =================================
   HERO BADGES
   ================================= */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* =================================
   BUTTON ROWS
   ================================= */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* =================================
   BUTTONS
   ================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 14px 28px rgba(238,119,104,.28);
}

.btn-secondary {
  background: white;
  color: var(--petrol);
  border-color: rgba(6,62,88,.15);
}

/* =================================
   APPROACH SECTION
   ================================= */
.approach-section {
  padding: 82px 0;
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 58px;
  align-items: center;
}

.approach-grid h3 {
  color: var(--petrol);
  font-size: 32px;
  margin-bottom: 12px;
}

.approach-grid p {
  color: rgba(24,25,24,.76);
  margin-bottom: 24px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(6,62,88,.07);
  border: 1px solid rgba(6,62,88,.08);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--petrol);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
}

.step h3 {
  color: var(--petrol);
  font-size: 30px;
  margin-bottom: 7px;
}

.step p {
  font-size: 15.5px;
  color: rgba(24,25,24,.72);
}

.visual-panel {
  position: relative;
  min-height: 330px;
  z-index: 1;
  background: var(--petrol);
  border-radius: 42px;
  padding: 30px;
  color: white;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  height: 28px;
  background: var(--coral);
  transform: skewY(-3deg);
}

.visual-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  color: white;
}

.visual-panel-content .display {
  font-size: 84px;
  color: var(--coral);
  font-family: 'Bebas Neue', Impact, sans-serif;
  margin: 0;
  line-height: 1;
}

@media (max-width: 1060px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   FORMATIONS SECTION
   ================================= */
.formations-section {
  padding: 82px 0;
  background: white;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1060px) {
  .cards-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .cards-4 {
    grid-template-columns: 1fr;
  }
}

.formation-card {
  position: relative;
  min-height: 310px;
  background: var(--white);
  border: 1px solid rgba(6,62,88,.09);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 26px rgba(6,62,88,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
  text-decoration: none;
  color: inherit;
}

.formation-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(238,119,104,.12);
  z-index: 0;
}

.formation-card:hover {
  transform: translateY(-4px);
  background: var(--petrol);
  color: white;
}

.formation-card:hover .card-tag {
  background: rgba(255,255,255,.2);
  color: white;
}

.formation-card:hover h3 {
  color: white;
}

.formation-card:hover p {
  color: rgba(255,255,255,.8);
}

.formation-card:hover .card-link {
  color: var(--coral);
}

.card-icon-line {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 2px solid rgba(6,62,88,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petrol);
  background: var(--powder) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 31"><path fill="%23063E58" d="M15.5 0C6.94 0 0 6.94 0 15.5S6.94 31 15.5 31 31 24.06 31 15.5 24.06 0 15.5 0z"/></svg>') center / 31px 31px no-repeat;
  z-index: 1;
  position: relative;
  margin-bottom: 20px;
}

.card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--coral);
  position: relative;
  z-index: 1;
}

.formation-card h3 {
  color: var(--petrol);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 32px;
  margin-top: 0;
}

.formation-card p {
  color: rgba(24,25,24,.74);
  font-size: 15.5px;
  position: relative;
  z-index: 1;
}

.card-link {
  color: var(--coral);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: auto;
  padding-top: 22px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1060px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .cards-4 {
    grid-template-columns: 1fr;
  }
}

/* =================================
   FORMATS SECTION
   ================================= */
.formats-section {
  padding: 82px 0;
  background: var(--powder);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  background: white;
  border-radius: 28px;
  padding: 30px;
  border-top: 8px solid var(--petrol);
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
  text-align: center;
}

.format-card:nth-child(2) {
  border-top-color: var(--coral);
}

.format-card:nth-child(3) {
  border-top-color: var(--bluegrey);
}

.format-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.format-card h3 {
  color: var(--petrol);
  font-size: 24px;
  margin-bottom: 12px;
}

.format-card p {
  color: rgba(24,25,24,.76);
  font-size: 15px;
}

@media (max-width: 1060px) {
  .formats-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   AUDIENCE SECTION
   ================================= */
.audience-section {
  padding: 82px 0;
  background: white;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.audience-card {
  background: var(--powder);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(6,62,88,.08);
}

.audience-card h3 {
  color: var(--petrol);
  font-size: 24px;
  margin-bottom: 12px;
}

.audience-card p {
  color: rgba(24,25,24,.76);
  font-size: 15px;
}

@media (max-width: 1060px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   FINANCEMENTS SECTION
   ================================= */
.financements-section {
  padding: 82px 0;
  background: white;
}

.geo-box {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: center;
  background: var(--petrol);
  color: white;
  border-radius: 42px;
  padding: 44px;
  overflow: hidden;
  position: relative;
}

.geo-box::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 340px;
  height: 340px;
  background: var(--coral);
  border-radius: 50%;
  opacity: .18;
}

.geo-box h3 {
  color: white;
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.geo-box p {
  color: rgba(255,255,255,.80);
  position: relative;
  z-index: 1;
}

.geo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.geo-list span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  color: white;
}

.geo-illustration {
  position: relative;
  min-height: 330px;
  z-index: 1;
  background: var(--white);
  border-radius: 34px;
  padding: 30px;
  color: var(--petrol);
  box-shadow: 0 24px 52px rgba(0,0,0,.18);
}

.geo-route {
  position: absolute;
  inset: 74px 62px 80px 62px;
  border: 5px solid rgba(6,62,88,.16);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 60% 30% 40% 60%;
  transform: rotate(-10deg);
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(238,119,104,.16);
}

.pin::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  left: 7px;
  top: 7px;
}

.pin.cluny { left: 45%; top: 43%; }
.pin.macon { left: 60%; top: 60%; }
.pin.chalon { left: 48%; top: 18%; }

.place {
  position: absolute;
  font-size: 13px;
  font-weight: 900;
  color: var(--petrol);
  background: white;
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 10px 20px rgba(6,62,88,.1);
}

.place.cluny { left: 42%; top: 50%; }
.place.macon { left: 66%; top: 66%; }
.place.chalon { left: 50%; top: 9%; }

@media (max-width: 1060px) {
  .geo-box {
    grid-template-columns: 1fr;
  }
}

/* =================================
   ORGANISME SECTION
   ================================= */
.organisme-section {
  padding: 82px 0;
  background: var(--powder);
}

.organisme-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: start;
}

.organisme-content h3 {
  color: var(--petrol);
  font-size: 32px;
  margin-bottom: 12px;
}

.organisme-content p {
  color: rgba(24,25,24,.76);
  margin-bottom: 18px;
  font-size: 16px;
}

@media (max-width: 1060px) {
  .organisme-content {
    grid-template-columns: 1fr;
  }
}

/* =================================
   QUALITY SECTION
   ================================= */
.quality-section {
  padding: 82px 0;
  background: white;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.quality-card {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  border-top: 8px solid var(--petrol);
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
}

.quality-card:nth-child(2) { border-top-color: var(--coral); }
.quality-card:nth-child(3) { border-top-color: var(--bluegrey); }

.quality-card h3 {
  color: var(--petrol);
  font-size: 34px;
  margin-bottom: 10px;
}

.quality-card p {
  font-size: 16px;
  color: rgba(24,25,24,.76);
}

@media (max-width: 1060px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   FINAL CTA SECTION
   ================================= */
.final-cta {
  padding: 88px 0;
  background: var(--coral);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  color: white;
  max-width: 820px;
  margin: 0 auto 18px;
}

.final-cta p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,.88);
  font-size: 19px;
}

.final-cta .btn-row {
  justify-content: center;
}

/* =================================
   FORMATS SECTION
   ================================= */
.formats-section {
  background: var(--petrol);
  color: var(--white);
}

.formats-section .section-header h2 {
  color: var(--white);
}

.formats-section .section-header p {
  color: rgba(255,255,255,.88);
}

.formats-section .small-label {
  color: var(--white);
}

.formats-section .small-label::before {
  background: var(--coral);
}

.formats-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: stretch;
}

.format-main {
  background: var(--petrol);
  color: var(--white);
  border-radius: 34px;
  padding: 36px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
}

.format-main h3 {
  color: var(--white);
  font-size: 50px;
  margin: 0 0 16px 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
}

.format-main p {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  margin: 0;
  max-width: 660px;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.format-tags span {
  display: inline-block;
  background: rgba(255,255,255,.16);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.20);
}

.format-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.format-small {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.format-small h3 {
  color: var(--coral);
  font-size: 36px;
  margin: 0 0 8px 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
}

.format-small p {
  color: rgba(255,255,255,.80);
  font-size: 16px;
  margin: 0;
}

@media (max-width: 900px) {
  .formats-grid {
    grid-template-columns: 1fr;
  }
  .format-side {
    grid-template-rows: auto auto;
  }
}

/* =================================
   FORMATIONS ARCHIVE CARDS
   ================================= */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.formation-card {
  position: relative;
  min-height: 310px;
  background: var(--white);
  border: 1px solid rgba(6,62,88,.09);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 26px rgba(6,62,88,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.formation-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(238,119,104,.12);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.icon-line {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 2px solid rgba(6,62,88,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--powder) url('shared-assets/icone-bicolore.svg') center / 31px 31px no-repeat;
}

.tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--coral);
}

.formation-card h3 {
  color: var(--petrol);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
  font-size: 32px;
}

.formation-card p {
  color: rgba(24,25,24,.74);
  font-size: 15.5px;
  position: relative;
  z-index: 1;
}

.card-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.meta-pill {
  background: white;
  border: 1px solid rgba(6,62,88,.08);
  color: var(--petrol);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.card-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--coral);
  font-weight: 800;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}

.formation-card:hover,
.formation-card:focus-within {
  background: var(--petrol);
  border-color: rgba(6,62,88,.28);
  box-shadow: 0 20px 40px rgba(6,62,88,.24);
  transform: translateY(-4px);
}

.formation-card:hover::after,
.formation-card:focus-within::after { background: rgba(255,255,255,.12); }

.formation-card:hover h3,
.formation-card:focus-within h3 { color: white; }

.formation-card:hover p,
.formation-card:focus-within p { color: rgba(255,255,255,.80); }

.formation-card:hover .tag,
.formation-card:focus-within .tag { color: rgba(255,255,255,.88); }

.formation-card:hover .meta-pill,
.formation-card:focus-within .meta-pill {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.20);
}

.formation-card:hover .card-link,
.formation-card:focus-within .card-link { color: white; }

.formation-card:hover .icon-line,
.formation-card:focus-within .icon-line {
  background-color: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.55);
}

/* =================================
   MOTIF SCROLL BACKGROUND PATTERN
   ================================= */
.motif-scroll {
  position: relative;
  overflow: hidden;
}

.motif-scroll::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .09;
  background-image:
    url("shared-assets/icone-bleue.svg"),
    url("shared-assets/icone-orange.svg");
  background-size: 164px 164px, 164px 164px;
  background-position: 0 0, 82px 82px;
  background-repeat: repeat;
  background-attachment: fixed;
  pointer-events: none;
}

.motif-scroll > * {
  position: relative;
  z-index: 1;
}

/* =================================
   APPROCHE PÉDAGOGIQUE SECTION
   ================================= */
.approach-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 510px;
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 30px;
  background: linear-gradient(140deg, #F7F8F8 0%, var(--white) 100%);
  box-shadow: 0 16px 34px rgba(6,62,88,.12);
}

.visual-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  height: 28px;
  background: var(--coral);
  transform: skewY(-3deg);
}

.visual-panel-content {
  position: absolute;
  inset: 72px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  color: var(--petrol);
}

.visual-panel-content .display {
  font-size: 84px;
  color: var(--coral);
  font-family: 'Bebas Neue', Impact, sans-serif;
  line-height: 1;
}

.visual-panel-content p {
  font-size: 17px;
  color: rgba(255,255,255,.88);
}

.steps {
  display: grid;
  gap: 32px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 48px;
  color: var(--coral);
  line-height: 1;
  font-weight: 700;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step p {
  font-size: 16px;
  color: rgba(24,25,24,.76);
}

@media (max-width: 900px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .visual-panel {
    min-height: 280px;
  }
}

/* =================================
   GEO / ANCRAGE LOCAL SECTION
   ================================= */
.geo-section {
  background: var(--petrol);
  color: white;
  padding: 88px 0;
}

.geo-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.geo-box > div:first-child {
  max-width: 550px;
}

.geo-box h2 {
  color: white;
  margin-bottom: 16px;
}

.geo-box p {
  font-size: 17px;
  color: rgba(255,255,255,.84);
  margin-bottom: 20px;
}

.geo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.geo-list span {
  padding: 10px 14px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.geo-illustration {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.geo-illustration h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 8px;
}

.geo-route {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 20%;
  top: 50%;
  transform: translateY(-50%);
  border: 3px solid rgba(238,119,104,.3);
  border-radius: 50%;
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--coral);
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  z-index: 3;
}

.pin.chalon { left: 30%; top: 70%; }
.pin.cluny { left: 45%; top: 35%; }
.pin.macon { left: 58%; top: 48%; }

.place {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: rgba(6,62,88,.4);
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 4;
}

.place.chalon { left: 32%; top: 82%; }
.place.cluny { left: 47%; top: 20%; }
.place.macon { left: 60%; top: 58%; }

@media (max-width: 900px) {
  .geo-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .geo-illustration {
    min-height: 280px;
  }
}

/* =================================
   AUDIENCES / POUR QUI SECTION
   ================================= */
#publics {
  background: var(--powder);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card {
  background: var(--white);
  border-radius: 28px;
  padding: 26px;
  border-left: 8px solid var(--coral);
  box-shadow: 0 16px 34px rgba(6,62,88,.06);
}

.audience-card h3 {
  color: var(--petrol);
  font-size: 30px;
  margin: 0 0 14px 0;
}

.audience-card p {
  font-size: 15.5px;
  color: rgba(24,25,24,.75);
  margin: 0;
}

/* =================================
   APPROCHE PÉDAGOGIQUE SECTION
   ================================= */
.approach-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 510px;
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.visual-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  height: 28px;
  background: var(--coral);
  transform: skewY(-3deg);
}

.visual-panel-content {
  position: absolute;
  inset: 72px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  z-index: 1;
}

.visual-panel-content .display {
  font-size: 84px;
  color: var(--coral);
  font-family: 'Bebas Neue', Impact, sans-serif;
  margin: 0;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(6,62,88,.07);
  border: 1px solid rgba(6,62,88,.08);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--petrol);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  flex-shrink: 0;
}

.step h3 {
  color: var(--petrol);
  font-size: 30px;
  margin: 0 0 7px 0;
}

.step p {
  font-size: 15.5px;
  color: rgba(24,25,24,.72);
  margin: 0;
}

/* =================================
   FINANCEMENTS SECTION
   ================================= */
.financements-section {
  padding: 60px 0;
  background: white;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.quality-card {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  border-top: 8px solid var(--petrol);
  box-shadow: 0 22px 55px rgba(6, 62, 88, .15);
}

.quality-card:nth-child(2) {
  border-top-color: var(--coral);
}

.quality-card:nth-child(3) {
  border-top-color: var(--bluegrey);
}

.quality-card h3 {
  color: var(--petrol);
  font-size: 34px;
  margin: 0 0 10px 0;
}

.quality-card p {
  font-size: 16px;
  color: rgba(24,25,24,.76);
  margin: 0;
}

/* =================================
   UTILITIES
   ================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =================================
   SINGLE FORMATION PAGE
   ================================= */

/* --- SECTION OBJECTIFS PÉDAGOGIQUES --- */
.section-objectifs {
  padding: 72px 0;
  background: white;
}

.objectifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.objectif-card {
  padding: 24px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(6, 62, 88, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.objectif-card::before {
  content: '+';
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--coral);
  font-size: 24px;
  opacity: 0.5;
}

.objectif-card h3 {
  color: var(--petrol);
  font-size: 30px;
  margin: 0 0 10px;
  font-weight: 900;
  padding-right: 32px;
}

.objectif-card p {
  margin: 0;
  color: #4d626b;
  font-size: 15.5px;
  line-height: 1.5;
}

/* --- SECTION PROGRAMME --- */
.section-programme {
  padding: 72px 0;
  background: var(--powder);
}

.programme-grid {
  display: grid;
  gap: 16px;
}

.programme-module {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  background: white;
  border: 1px solid rgba(6, 62, 88, 0.15);
  border-radius: 24px;
  padding: 20px;
  align-items: start;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.programme-module-number {
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--petrol), #0b5677);
  color: white;
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
}

.programme-module h3 {
  margin: 0 0 8px;
  color: var(--petrol);
  font-size: 30px;
  font-weight: 900;
}

.programme-module p {
  margin: 0 0 10px;
  color: #4d626b;
  font-size: 15.5px;
  line-height: 1.5;
}

.programme-module ul {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.programme-module li {
  color: #4d626b;
  font-size: 15px;
  margin: 4px 0;
}

/* =================================
   FORMATS & MODALITES
   ================================= */
.tf-page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.tf-page-hero--formats {
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  color: var(--white);
}

.tf-page-hero--detail {
  background: linear-gradient(120deg, rgba(251,242,238,0.7), rgba(247,248,248,0.95));
}

.tf-page-hero--organisme-detail {
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  color: var(--white);
}

.tf-page-hero--pourqui-detail {
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  color: var(--white);
}

.tf-page-hero--formats::before,
.tf-page-hero--detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 18%, rgba(238,119,104,0.16), transparent 30%);
  pointer-events: none;
}

.tf-page-hero--organisme-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 18%, rgba(238,119,104,0.2), transparent 34%);
  pointer-events: none;
}

.tf-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.tf-page-hero--detail .tf-breadcrumbs {
  color: var(--muted);
}

.tf-page-hero--organisme-detail .tf-breadcrumbs {
  color: rgba(255,255,255,0.84);
}

.tf-page-hero--pourqui-detail .tf-breadcrumbs {
  color: rgba(255,255,255,0.84);
}

.tf-breadcrumbs a {
  color: inherit;
}

.tf-page-hero__content {
  position: relative;
  z-index: 1;
}

.tf-page-hero__content--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: start;
}

.tf-page-hero__main h1 {
  margin-bottom: 18px;
}

.tf-page-hero__main p {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
}

.tf-page-hero--formats .tf-page-hero__main h1,
.tf-page-hero--formats .tf-page-hero__main p {
  color: var(--white);
}

.tf-page-hero--organisme-detail .tf-page-hero__main h1,
.tf-page-hero--organisme-detail .tf-page-hero__main p {
  color: var(--white);
}

.tf-page-hero--pourqui-detail .tf-page-hero__main h1,
.tf-page-hero--pourqui-detail .tf-page-hero__main p {
  color: var(--white);
}

.tf-kicker--light {
  color: rgba(255,255,255,0.88);
}

.tf-page-hero__actions,
.tf-cta-section__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tf-page-hero--detail .tf-page-hero__actions {
  justify-content: center;
}

.tf-page-hero--organisme-detail .tf-page-hero__actions {
  justify-content: flex-start;
}

.tf-cta-section__actions {
  justify-content: center;
}

.tf-pill-button {
  border-radius: 999px;
  padding-inline: 26px;
}

.tf-pill-button--light {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}

.tf-page-hero--detail .tf-pill-button--light {
  background: var(--white);
  color: var(--petrol);
  border: 1px solid rgba(6,62,88,0.12);
}

.tf-page-hero--organisme-detail .tf-pill-button--light {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}

.tf-page-hero--pourqui-detail .tf-pill-button--light {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}

.tf-kicker,
.tf-summary-panel__eyebrow,
.tf-detail-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.tf-kicker::before,
.tf-summary-panel__eyebrow::before,
.tf-detail-card__eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.tf-anchor-nav {
  position: sticky;
  top: 82px;
  z-index: 18;
  background: rgba(247,248,248,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(6,62,88,0.05);
  border-bottom: 1px solid rgba(6,62,88,0.08);
}

.tf-anchor-nav__inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 20px;
}

.tf-anchor-chip {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(6,62,88,0.14);
  background: var(--white);
  color: var(--petrol);
  font-size: 13px;
  font-weight: 700;
}

.tf-anchor-chip:hover {
  background: var(--petrol);
  color: var(--white);
}

.tf-section {
  padding: 76px 0;
}

.tf-section--powder {
  background: var(--powder);
}

.tf-section__narrow {
  max-width: 780px;
}

.tf-section-title {
  margin-bottom: 18px;
}

.tf-section-intro {
  max-width: 840px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tf-formats-grid,
.tf-process-grid,
.tf-reassurance-grid,
.tf-detail-cards-grid,
.tf-practical-grid,
.tf-faq-grid {
  display: grid;
  gap: 24px;
}

.tf-formats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tf-pourqui-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tf-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tf-reassurance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tf-detail-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tf-practical-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tf-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tf-format-card,
.tf-process-card,
.tf-reassurance-card,
.tf-highlight-card,
.tf-detail-card,
.tf-practical-card,
.tf-faq-card,
.tf-summary-card,
.tf-funding-box,
.tf-resource-box {
  background: var(--white);
  border: 1px solid rgba(6,62,88,0.09);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(6,62,88,0.08);
}

.tf-format-card,
.tf-process-card,
.tf-reassurance-card,
.tf-highlight-card,
.tf-detail-card,
.tf-practical-card,
.tf-faq-card,
.tf-funding-box,
.tf-resource-box {
  padding: 24px;
}

.tf-format-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.tf-format-card::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(238,119,104,0.12);
}

.tf-format-card > * {
  position: relative;
  z-index: 1;
}

.tf-format-card h3,
.tf-process-card h3,
.tf-detail-card h3,
.tf-faq-card h3,
.tf-funding-box h3,
.tf-resource-box h3 {
  margin-bottom: 12px;
  color: var(--petrol);
}

.tf-format-card p,
.tf-process-card p,
.tf-highlight-card p,
.tf-detail-card p,
.tf-practical-card p,
.tf-faq-card p,
.tf-summary-card span,
.tf-funding-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.tf-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tf-process-card {
  position: relative;
  padding-top: 80px;
}

.tf-process-card__badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--petrol) 0%, #0d5676 100%);
  color: var(--white);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 24px;
}

.tf-reassurance-card {
  text-align: center;
  border: 2px solid rgba(238,119,104,0.26);
}

.tf-reassurance-card strong,
.tf-practical-card strong,
.tf-summary-card strong,
.tf-highlight-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tf-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tf-resource-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(6,62,88,0.1);
  font-size: 13px;
  font-weight: 700;
}

.tf-summary-panel {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(6,62,88,0.08);
  box-shadow: 0 18px 44px rgba(6,62,88,0.12);
}

.tf-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tf-summary-card {
  padding: 18px;
}

.tf-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.tf-bullet-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.tf-bullet-list li {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(6,62,88,0.09);
  box-shadow: 0 12px 32px rgba(6,62,88,0.08);
  color: var(--petrol);
  font-weight: 600;
}

.tf-bullet-list--plain {
  margin: 0;
  padding: 0;
}

.tf-bullet-list--plain li {
  border: 0;
  box-shadow: none;
  background: rgba(6,62,88,0.03);
  color: var(--muted);
  font-weight: 600;
}

.tf-highlight-card {
  max-width: 680px;
}

.tf-funding-box,
.tf-resource-box {
  margin-top: 24px;
}

.tf-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(238,119,104,0.18), transparent 22%),
    linear-gradient(180deg, #fff 0%, var(--powder) 100%);
  color: var(--petrol);
  padding: 84px 0;
  text-align: center;
  border-top: 1px solid rgba(6,62,88,0.08);
  border-bottom: 1px solid rgba(6,62,88,0.12);
}

.tf-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("shared-assets/icone-bleue.svg"),
    url("shared-assets/icone-orange.svg");
  background-size: 158px 158px, 158px 158px;
  background-position: 0 0, 79px 79px;
  background-repeat: repeat;
  opacity: 0.09;
  pointer-events: none;
}

.tf-cta-section .container {
  position: relative;
  z-index: 1;
}

.tf-cta-section h2,
.tf-cta-section p {
  color: var(--petrol);
}

.tf-cta-section p {
  max-width: 760px;
  margin: 0 auto 28px;
  opacity: 1;
  color: rgba(24,25,24,0.76);
}

.tf-cta-section .tf-pill-button--light {
  background: rgba(255,255,255,0.78);
  color: var(--petrol);
  border: 1px solid rgba(6,62,88,0.14);
}

/* =================================
   PREMIUM FORMATEUR PROFILES
   ================================= */
.tf-profile-page {
  background:
    radial-gradient(circle at 5% 2%, rgba(238,119,104,0.08), transparent 26%),
    linear-gradient(180deg, #f9fbfc 0%, #f7f8f8 100%);
}

.tf-page-hero--profile {
  padding-bottom: 96px;
}

.tf-page-hero--profile::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 300px;
  right: -220px;
  bottom: -110px;
  border-radius: 120px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(238,119,104,0.18));
  transform: rotate(-8deg);
  pointer-events: none;
}

.tf-profile-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -2px 0 22px;
}

.tf-profile-hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.94);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tf-profile-hero-tags strong {
  color: var(--powder);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tf-page-hero--profile .tf-summary-panel {
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(170deg, rgba(255,255,255,0.16), rgba(255,255,255,0.09));
  box-shadow: 0 28px 60px rgba(1, 25, 38, 0.3);
  backdrop-filter: blur(5px);
}

.tf-page-hero--profile .tf-summary-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(6,62,88,0.1);
}

.tf-page-hero--profile .tf-summary-visual {
  border: 1px solid rgba(6,62,88,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32);
}

.tf-page-hero--profile .tf-summary-visual strong {
  font-size: 40px;
}

.tf-section--profile-showcase .tf-section-title,
.tf-section--profile-process .tf-section-title,
.tf-section--profile-links .tf-section-title,
.tf-cta-section--profile h2 {
  letter-spacing: 0.01em;
}

.tf-formats-grid--profile .tf-format-card {
  border-radius: 26px;
  border: 1px solid rgba(6,62,88,0.12);
  box-shadow: 0 18px 36px rgba(6,62,88,0.11);
  min-height: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tf-formats-grid--profile {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tf-formats-grid--profile .tf-format-card::before {
  right: auto;
  left: -36px;
  top: auto;
  bottom: -36px;
  width: 140px;
  height: 140px;
  background: linear-gradient(145deg, rgba(238,119,104,0.2), rgba(6,62,88,0.08));
}

.tf-formats-grid--profile .tf-format-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6,62,88,0.24);
  box-shadow: 0 22px 45px rgba(6,62,88,0.15);
}

.tf-formats-grid--profile .tf-format-card h3 {
  line-height: 1.1;
}

.tf-section--profile-process {
  position: relative;
  overflow: hidden;
}

.tf-section--profile-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 16%, rgba(6,62,88,0.08), transparent 26%);
  pointer-events: none;
}

.tf-process-grid--profile {
  position: relative;
}

.tf-process-grid--profile {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tf-process-grid--profile .tf-process-card {
  border-radius: 28px;
  border: 1px solid rgba(6,62,88,0.12);
  box-shadow: 0 18px 40px rgba(6,62,88,0.1);
}

.tf-process-grid--profile .tf-process-card__badge {
  width: 52px;
  height: 52px;
  font-size: 26px;
  box-shadow: 0 10px 20px rgba(6,62,88,0.18);
}

.tf-resource-links--profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tf-resource-links--profile a {
  min-height: 56px;
  border-radius: 16px;
  justify-content: flex-start;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  border: 1px solid rgba(6,62,88,0.13);
  box-shadow: 0 14px 28px rgba(6,62,88,0.08);
  font-size: 13px;
}

.tf-resource-links--profile a:hover {
  border-color: rgba(6,62,88,0.28);
  transform: translateY(-2px);
}

.tf-cta-section--profile {
  background:
    radial-gradient(circle at 12% 20%, rgba(238,119,104,0.24), transparent 24%),
    linear-gradient(145deg, rgba(6,62,88,0.95), #0b5272 70%);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.tf-cta-section--profile::before {
  opacity: 0.12;
  mix-blend-mode: screen;
}

.tf-cta-section--profile h2,
.tf-cta-section--profile p {
  color: var(--white);
}

.tf-cta-section--profile p {
  color: rgba(255,255,255,0.86);
}

.tf-cta-section--profile .tf-pill-button--light {
  background: rgba(255,255,255,0.16);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.34);
}

.tf-section--profile-proof,
.tf-section--profile-audiences,
.tf-section--profile-evidence,
.tf-section--profile-focus {
  padding-top: 28px;
}

.tf-profile-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  border: 1px solid rgba(6,62,88,0.12);
  box-shadow: 0 16px 34px rgba(6,62,88,0.08);
}

.tf-profile-proof .tf-section-intro {
  margin-bottom: 0;
  max-width: none;
}

.tf-profile-proof__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tf-profile-proof__item {
  position: relative;
  display: block;
  padding: 12px;
  padding-top: 50px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(6,62,88,0.1);
}

.tf-profile-proof__index {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(238,119,104,0.2);
  color: var(--coral);
  font-weight: 700;
  font-size: 13px;
}

.tf-profile-proof__item > div {
  text-align: left;
}

.tf-profile-proof__item h3 {
  margin: 2px 0 4px;
  color: var(--petrol);
  font-size: 24px;
}

.tf-profile-proof__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.tf-profile-audiences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--petrol) 0%, #0b5575 100%);
  color: var(--white);
}

.tf-profile-audiences__intro .tf-section-title {
  margin-bottom: 8px;
  color: var(--white);
}

.tf-profile-audiences__intro p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

.tf-profile-audiences__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tf-profile-audiences__tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.96);
  color: var(--petrol);
  font-size: 12px;
  font-weight: 700;
}

.tf-profile-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.tf-profile-evidence__cards {
  display: grid;
  gap: 12px;
}

.tf-profile-evidence__card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(6,62,88,0.1);
}

.tf-profile-evidence__card h3 {
  margin: 0 0 4px;
  color: var(--petrol);
  font-size: 26px;
}

.tf-profile-evidence__card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tf-profile-timeline {
  display: grid;
  gap: 10px;
}

.tf-profile-timeline__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.tf-profile-timeline__dot {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(238,119,104,0.16);
}

.tf-profile-timeline__item h3 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  color: var(--petrol);
  font-size: 24px;
}

.tf-profile-timeline__item h3 small {
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tf-profile-timeline__item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tf-profile-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 18px;
  background: #fbf2ee;
  border: 1px solid rgba(238,119,104,0.2);
}

.tf-profile-focus .tf-section-title {
  margin-bottom: 8px;
}

.tf-profile-focus p {
  margin: 0;
  color: #4d626b;
}

@media (max-width: 1100px) {
  .tf-formats-grid,
  .tf-pourqui-grid,
  .tf-detail-cards-grid,
  .tf-practical-grid,
  .tf-reassurance-grid,
  .tf-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-page-hero__content--split,
  .tf-two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tf-page-hero,
  .tf-section,
  .tf-cta-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .tf-anchor-nav {
    top: 74px;
  }

  .tf-formats-grid,
  .tf-pourqui-grid,
  .tf-process-grid,
  .tf-reassurance-grid,
  .tf-detail-cards-grid,
  .tf-practical-grid,
  .tf-faq-grid,
  .tf-summary-grid {
    grid-template-columns: 1fr;
  }

  .tf-page-hero--profile {
    padding-bottom: 72px;
  }

  .tf-profile-hero-tags span {
    width: 100%;
    justify-content: flex-start;
  }

  .tf-resource-links--profile {
    grid-template-columns: 1fr;
  }

  .tf-profile-proof,
  .tf-profile-audiences,
  .tf-profile-evidence,
  .tf-profile-focus {
    grid-template-columns: 1fr;
  }

  .tf-formats-grid--profile,
  .tf-process-grid--profile {
    grid-template-columns: 1fr;
  }

  .tf-profile-proof__list {
    grid-template-columns: 1fr;
  }

  .tf-profile-audiences__tags {
    justify-content: flex-start;
  }
}

@media (max-width: 1280px) {
  .tf-formats-grid--profile,
  .tf-process-grid--profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =================================
   CONTACT PAGE
   ================================= */
.tf-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.tf-contact-panel {
  background: var(--white);
  border: 1px solid rgba(6, 62, 88, 0.09);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(6, 62, 88, 0.08);
  padding: 28px;
}

.tf-contact-form {
  display: grid;
  gap: 18px;
}

.tf-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tf-contact-form label {
  display: grid;
  gap: 8px;
}

.tf-contact-form label span {
  font-size: 13px;
  color: var(--petrol);
  font-weight: 700;
}

.tf-contact-form input,
.tf-contact-form select,
.tf-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 62, 88, 0.2);
  border-radius: 14px;
  padding: 11px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--black);
}

.tf-contact-form input:focus,
.tf-contact-form select:focus,
.tf-contact-form textarea:focus {
  outline: 2px solid rgba(238, 119, 104, 0.26);
  border-color: rgba(6, 62, 88, 0.42);
}

.tf-contact-message,
.tf-contact-consent {
  grid-column: 1 / -1;
}

.tf-contact-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.tf-contact-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.tf-contact-consent span {
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.tf-contact-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 10px;
}

.tf-contact-alert--ok {
  background: #eef7f2;
  border: 1px solid #b9dec8;
  color: #17563a;
}

.tf-contact-alert--error {
  background: #fff3f2;
  border: 1px solid #f4c3bf;
  color: #8c2b24;
}

.tf-contact-aside {
  display: grid;
  gap: 14px;
}

.tf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .tf-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tf-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   MOBILE NAV & RESPONSIVE HARDENING
   ================================= */
.mega-menu-heading {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(24, 25, 24, 0.62);
}

.nav-toggle,
.mobile-nav-backdrop,
.subnav-toggle {
  display: none;
}

.nav-close {
  display: none;
}

@media (max-width: 1060px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-inner {
    min-height: 74px;
    gap: 14px;
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 44px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(6, 62, 88, 0.2);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle__bar {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--petrol);
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 420px);
    height: 100dvh;
    background: #fff;
    border-left: 1px solid rgba(6, 62, 88, 0.14);
    box-shadow: -16px 0 38px rgba(6, 62, 88, 0.14);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    z-index: 120;
    overflow-y: auto;
    padding: 90px 18px 28px;
  }

  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 18px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(6, 62, 88, 0.2);
    border-radius: 10px;
    background: #fff;
    color: var(--petrol);
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .main-navigation.is-open {
    transform: translateX(0);
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 28, 39, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
    border: 0;
    z-index: 110;
    pointer-events: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    pointer-events: auto;
  }

  .main-navigation > div > ul,
  .main-navigation > ul,
  .main-navigation.is-open > div > ul,
  .main-navigation.is-open > ul,
  .main-navigation.is-open .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu > li {
    border-bottom: 1px solid rgba(6, 62, 88, 0.08);
    padding: 2px 0;
  }

  .primary-menu > li > .menu-link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 6px;
    font-size: 14px;
  }

  .primary-menu > li > .menu-link .menu-link-text {
    text-transform: uppercase;
  }

  .menu-caret {
    display: none;
  }

  .subnav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(6, 62, 88, 0.16);
    background: #fff;
    color: var(--petrol);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin: 8px 0 10px 8px;
  }

  .primary-menu .sub-menu,
  .menu-item-mega-parent > .mega-menu-panel,
  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    margin-top: 0;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .primary-menu li.is-submenu-open > .sub-menu,
  .primary-menu li.is-submenu-open > .mega-menu-panel,
  .menu-item-mega-parent > .mega-menu-panel > li.is-submenu-open > .sub-menu {
    display: grid;
  }

  .primary-menu .sub-menu::before,
  .menu-item-mega-parent > .mega-menu-panel::before,
  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .sub-menu-link::after,
  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .menu-link::after {
    display: none;
    content: none;
  }

  .menu-item-mega-parent > .mega-menu-panel > li {
    padding-top: 0;
    border-top: 0;
  }

  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu-link,
  .menu-item-mega-parent > .mega-menu-panel > li > .menu-link,
  .primary-menu .sub-menu .sub-menu-link {
    display: flex;
    width: 100%;
    padding: 10px 6px;
    margin-top: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--petrol);
  }

  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .sub-menu-link,
  .menu-item-mega-parent > .mega-menu-panel > li > .sub-menu > li > .menu-link {
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 5px;
  }

  .menu-item-icon {
    width: 1.1em;
    height: 1.1em;
  }

  .menu-item-visual {
    max-width: 220px;
  }
}

@media (max-width: 900px) {
  .formations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cards-grid,
  .formations-grid {
    grid-template-columns: 1fr;
  }

  .geo-box,
  .geo-illustration {
    overflow: hidden;
  }

  .tf-anchor-nav {
    overflow: hidden;
  }

  .tf-anchor-nav__inner {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
}
