/* ══════════════════════════════════════════════════════
   CHROME PARTAGÉ — header, footer, barre langue
   Team PL Coaching · palette : #031c27 (navy) · #fdd000 (jaune) · #efefef
   ══════════════════════════════════════════════════════ */

:root {
  --pl-navy: #031c27;
  --pl-yellow: #fdd000;
  --pl-light: #efefef;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pl-light);
  font-family: 'Hanken Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── HEADER ─── */
.pl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(3, 28, 39, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(253, 208, 0, 0.18);
}
.pl-header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pl-header__logo img { height: 40px; width: auto; display: block; }
.pl-header__logo-txt {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pl-light);
  line-height: 1;
}
.pl-header__logo-txt em { color: var(--pl-yellow); font-style: normal; }

.pl-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.pl-nav a {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(239, 239, 239, 0.7);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.pl-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--pl-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.pl-nav a:hover,
.pl-nav a.is-active { color: var(--pl-light); }
.pl-nav a:hover::after,
.pl-nav a.is-active::after { transform: scaleX(1); }

.pl-nav__cta {
  padding: 9px 18px !important;
  background: var(--pl-yellow);
  color: var(--pl-navy) !important;
  font-weight: 700 !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.pl-nav__cta::after { display: none; }
.pl-nav__cta:hover { background: #fff; }

/* ─── BARRE LANGUE (intégrée au header) ─── */
.pl-lang {
  display: inline-flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(253, 208, 0, 0.22);
  border-radius: 30px;
  padding: 3px;
}
.pl-lang-btn {
  padding: 5px 11px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}
.pl-lang-btn.active { background: var(--pl-yellow); color: var(--pl-navy); }

/* Menu burger mobile */
.pl-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.pl-burger span { display: block; width: 24px; height: 2px; background: var(--pl-yellow); margin: 5px 0; border-radius: 2px; transition: 0.28s cubic-bezier(0.23,1,0.32,1); }
.pl-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pl-burger.is-active span:nth-child(2) { opacity: 0; }
.pl-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .pl-header__logo-txt { display: none; }
  .pl-burger { display: block; }
  .pl-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(3, 28, 39, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--pl-yellow);
    padding: 6px 22px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s cubic-bezier(0.23,1,0.32,1), opacity 0.25s ease;
  }
  .pl-nav.is-open { max-height: 360px; opacity: 1; pointer-events: auto; }
  .pl-nav a {
    display: block;
    padding: 15px 2px;
    font-size: 15px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .pl-nav a::after { display: none; }
  .pl-nav__cta {
    margin-top: 14px;
    text-align: center;
    padding: 15px !important;
    border-bottom: none;
  }
  .pl-lang { align-self: flex-start; margin-top: 16px; }
}

/* ─── FOOTER ─── */
.pl-footer {
  background: var(--pl-navy);
  color: var(--pl-light);
  padding: 56px clamp(20px, 5vw, 60px) 0;
  border-top: 4px solid var(--pl-yellow);
}
.pl-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.pl-footer__brand img { height: 48px; margin-bottom: 18px; }
.pl-footer__brand p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.55);
  line-height: 1.7;
  max-width: 320px;
}
.pl-footer__col h4 {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pl-yellow);
  margin: 0 0 18px;
  font-weight: 400;
}
.pl-footer__col a,
.pl-footer__col span {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.pl-footer__col a:hover { color: var(--pl-yellow); }
.pl-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(239, 239, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pl-footer__bottom span {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.35);
  letter-spacing: 0.5px;
}
.pl-footer__bottom a {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(239, 239, 239, 0.45);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.pl-footer__bottom a:hover { color: var(--pl-yellow); }

@media (max-width: 680px) {
  .pl-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
