:root {
  --blue:       #27509B;
  --blue-dark:  #1a3570;
  --blue-light: #3d6abf;
  --bg-light:   #f5f7fc;
  --text:       #2c3e50;
  --text-light: #666;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(39, 80, 155, 0.12);
}

/* ── Base ── */
* {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  line-height: 1.75;
}

/* ── Header ── */
header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%) !important;
  padding: 20px 40px 52px;
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  height: 56px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.header-logo-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-michelin-logo {
  width: 160px;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.header-center-col {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-talent-logo {
  max-width: 380px;
  width: 100%;
  border-radius: 0;
}

.header-right-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-ninja-logo {
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  .header-michelin-logo { width: 110px; }
  .header-talent-logo   { max-width: 260px; }
  .header-ninja-logo    { max-width: 240px; }
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%) !important;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

footer h6 {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.9;
  margin: 0;
  color: #fff;
}

/* ── Sections ── */
.w3-light-grey {
  background-color: var(--bg-light) !important;
}

/* ── Titres ── */
h1 {
  color: var(--blue) !important;
  font-size: 1.75rem;
  font-weight: 700;
}

h1 .fa {
  margin-right: 8px;
}

/* Retrait de la balise font dépréciée */
h1 font {
  color: inherit !important;
}

/* ── Liens ── */
a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ── Bouton CTA ── */
a.btn-cta {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(39, 80, 155, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  font-size: 1rem;
  margin: 10px 0;
}

a.btn-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 80, 155, 0.45);
  opacity: 1;
}

/* ── Section contacts ── */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-list li {
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border-left: 3px solid var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.contact-list li:hover {
  box-shadow: 0 4px 16px rgba(39, 80, 155, 0.18);
  transform: translateX(4px);
}

.contact-region {
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.contact-name {
  color: var(--text-light);
}

/* ── Images ── */
.w3-image {
  border-radius: var(--radius);
}

/* ── Liste formations ── */
ul.training-links {
  list-style: none;
  padding: 0;
}

ul.training-links li {
  padding: 9px 0;
  border-bottom: 1px solid #dde4f0;
}

ul.training-links li:last-child {
  border-bottom: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  footer { flex-direction: column; padding: 20px; }
}